Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - aquilmustafa

Pages: [1] 2 3
1
Open Discussion / Read Siemens logo csv file to AHMI
« on: November 16, 2021, 10:27:27 PM »
Hi All,

I've Siemens Logo 6ED-1052-1MD08-OBA1 PLC and I'm logging data to *csv file to SD Card. I'd like to read that csv file in AHMI. Is there anyway to do it. If Any one could help me out please.

2
Open Discussion / RASPBERRY PI GIO
« on: October 16, 2021, 01:25:15 PM »
Hi all,

I'm using AHMI to read data from Siemens PLC via Modbus-TCP in Raspberry Pi. That's working like a charm.
Now the issue is I also need to control the Rpi GPIO's. Anythying that could help me. I've been going through lots of data on google but could'nt find anything. Please help me guy's

3
Open Discussion / LITTLE HELP
« on: June 22, 2021, 10:28:31 PM »
Hi Guys,

I'm stuck in one of my project and need your help

1. Unable to get AdvancedHMI controls properties to form's control collection.
2. How to add drivers to a form at runtime.

4
Open Discussion / sick sensor
« on: April 01, 2021, 02:06:33 AM »
Hi All,

I've Sick sensor whose data I'd like read in my AHMI. Sick sensor uses COLA-2 protocols to read data in ASCII format.

My question is will GenericTCPClient driver work with Sick OD5000 distance sensor.

5
Open Discussion / Modbus-TCP
« on: March 10, 2021, 06:43:31 AM »
Hi,

I'm stuck into project where I'm reading data from Siemens PLC and moving it to Modbus-TCP on virtual port 127.0.0.1.

When I run it in my PC everything runs fine but when I put it in DCS system it stops moving data to Modbus-TCP slave.

Can some one guide as to what might be the problem with existing system and what could be done to rectify it.

P.S: DCS SCADA is Emerson Make.

6
Open Discussion / Very Old AHMI ModbusTCP
« on: March 03, 2021, 01:00:39 PM »
Hi Guys,

I've a very old AHMI installed where I'm using Siemens PPI and Twincat drivers to read PLC data. Now I need to upgrade the project to add ModbusTCP protocol to existing Application.

Now the problem arrives when I try reading Float Vriables. Though it does support the Long format but there is nothing to support Float format.

Can some-one guide what could be done to convert these long values to float.

7
Open Discussion / Modbus-RTU help
« on: January 20, 2021, 08:10:58 AM »
Hi All,

I'm looking for Modbus-RTU Slave communication. I've tried using Shortbus but failed drastically. Can some one please guide me in right direction or help me figure out with Modbus-RTU slave comms. in vb.net.

I've designed siemen's drivers around Advanced HMI using libnodave successfully. I'm collecting the data also. Now that data needs to be shared with other scada using either OPC DA/UA server or Modbus-RTU/TCP slave. I cannot find support to any of these drivers over here. Can some one please help me.

8
Open Discussion / Increasing speed of DataSubscription
« on: November 17, 2020, 07:42:13 AM »
Hi,

I've designed communication protocol for modified Modbus-RTU protocol designed by local programmer in STM-32 micro-controller. I've tried designing protocol with SUBSCRIPTIONS as in AHMI. Problem is my system gets slower as the no. of components increases. Can anyone suggest a better alternative then the timers which will not hang my system and make it fast just like original AHMI.

9
Open Discussion / Help with GDI+
« on: January 30, 2020, 09:51:52 AM »
Hi..

I've been stuck Please help me.

My project contains a recipe where there are parameters

1. Line length
2. Angle
3. Direction

Every recipe has maximum 10 steps. Every time an length is written the program draws the line and every time an angle and direction is introduced the x,y co-ordinate will draw a line at the given angle, in a given direction, at a given length from the point where the last drawn line has finished.

Now the problem is I'm able to do all the things and draw but certain times my lines go out of the control{Picture Box}.

I hope some one here might help me with this.

10
Open Discussion / Siemens-ISOTCP Digital read problems
« on: January 17, 2020, 02:04:45 AM »
Hi All,

Some time before I've used AdvancedHMI updated by Bryan Goose for Siemens PLC communication via Ethernet.

I was able to communicate with S7-1200 P.L.C. And able to get Read and Write all the variables data.

The problem starts when recently the customer changed the PLC program.

Originally the Bryan Goose Siemens Wrapper around AdvancedHMI using Libnodave had problems that it was unable to read Digital M bits after M0.0 i,e. from M0.0 to M0.7

I've tried and was able to update it and extend it from M0.0 to M2.7. But as I try to extend it further I'm unable to extend it. No error is thrown and it always shows 0. It is even unable to change the state.
The only problem is with writing of digital Tags.


I hope some1 might be able to help me with that...

Quote
    '*********************************************************************************
    '* Parse the address string and validate, if invalid, Return 0 in FileType
    '* Convert the file type letter Type to the corresponding value
    '* Reference page 7-18
    '*********************************************************************************
    Private RE1 As New Regex("(?i)^\s*(?<DataArea>([IQMTCSV]))(?<DataType>([BWD]))?(?<Offset>\d{1,4}).?(?<BitNumber>\d{1,3})?\s*$")

    Private RE2 As New Regex("(?i)^\s*\w{2}?(?<DBDataBase>\d{1,4}).\w{2}(?<DataType>([BWD]))?(?<Offset>\d{1,4}).?(?<BitNumber>\d{1,3})?\s*$")
    'Private RE2 As New Regex("(?i)^\s*(?<FileType>[SBN])(?<FileNumber>\d{1,3})(/(?<BitNumber>\d{1,4}))\s*$")
    Private Function ParseAddress(ByVal DataAddress As String) As ParsedDataAddress

        Dim result As New ParsedDataAddress

        result.DataArea = 0  '* Let a 0 indicate an invalid address
        result.BitNumber = 99  '* Let a 99 indicate no bit level requested

        '*********************************
        '* Try all match patterns
        '*********************************
        Dim mc As MatchCollection

        If DataAddress.Chars(0) = "D" Then 'If address atarts with D then use the DB version of Match
            mc = RE2.Matches(DataAddress)
            result.DataArea = "D"
        Else
            mc = RE1.Matches(DataAddress)
            result.DBDataBase = 1
        End If


        If mc.Count <= 0 Then
            'mc = RE2.Matches(DataAddress)
            'If mc.Count <= 0 Then
            Return result
            '    End If
        End If

        '*******************************************************************
        '* Keep the original address with the parsed values for later use
        '*******************************************************************
        result.PLCAddress = DataAddress


        '*********************************************
        '* Get elements extracted from match patterns
        '*********************************************
        If mc.Item(0).Groups("BitNumber").Length > 0 Then
            result.BitNumber = mc.Item(0).Groups("BitNumber").ToString
        End If

        '* Was an element number specified?
        If mc.Item(0).Groups("Offset").Length > 0 Then
            result.Offset = mc.Item(0).Groups("Offset").ToString
        End If

        '* Get DataArea
        If mc.Item(0).Groups("DataArea").Length > 0 Then
            result.DataArea = mc.Item(0).Groups("DataArea").ToString
        End If

        '* Get DataType
        If mc.Item(0).Groups("DataType").Length > 0 Then
            result.DataType = mc.Item(0).Groups("DataType").ToString
        End If

        '* Get DataBase
        If mc.Item(0).Groups("DBDataBase").Length > 0 Then
            result.DBDataBase = Convert.ToInt16(mc.Item(0).Groups("DBDataBase").ToString)
        End If


        '**************************************************************************
        '* Was a bit number higher than 15 specified along with an element number?
        '** To let wrapper select bits from M0.0 to M2.7 [15 was replaced to 32 by MUSTAFA]
        '**************************************************************************
        If result.BitNumber > 32 And result.BitNumber < 99 Then
            '* IO points can use higher bit numbers, so make sure it is not IO
            If result.DataArea <> &H8B And result.DataArea <> &H8C Then
                result.Offset += result.BitNumber >> 3
                result.BitNumber = result.BitNumber Mod 8
            End If
        End If

        Return result
    End Function


11
Open Discussion / ModbusTCP Write Function
« on: September 27, 2019, 02:24:45 AM »
Trying to Write Data to ModbusTCP Simulator ModRSsim2 software at 127.0.0.1

I'm using a button to call write function

ModbusTCPCom1.Write("400002", "100")

but the values don't get written to it.
Something I'm missing or doing wrong. Can anyone help me please...

12
Open Discussion / SQL Help
« on: December 26, 2018, 02:42:46 AM »
Hi,

I've used AHMI latest version with sql server 2014 express edition. i have total 4 AHMI SCADA running in 4 diffrent pc's. I've created tables in one of the 4 pc's and all AHMI's log data to that table.

Initially it worked fine but after some months data logging speed decreased drastically. I've cleared the tables to check if that increases the speed.

Can u help me with my problem or guide me to the right direction.

13
Support Questions / .Net Framework Error
« on: December 24, 2017, 11:11:06 PM »
Hi,

I have a machine which has AHMIv3.99X. The AHMI Application is running on NComputing Thin-Client device which is connected to the machine. The problem is after several operations the Application pops up a .Net Framework Error.

The Machine is running Windows-10 pro OS

Is there any way to avoid these recurring issues.

14
Support Questions / EthernetIPforClx delays tag reading
« on: August 10, 2017, 12:24:04 AM »
Hey Guys,

I've been using AHMIv399w for a Project where we are reading around 1000 tags. I've 4 Data-Subscriber-2 to read 60 tags, each Data-Subscriber has 15 Tags. Now the problem is at initialisation and for another 4 to 5 hours everything is working fine but after that the tag reading delay starts to set in and the delay increases from 1 sec to 8 sec in 6th hour and it keeps increasing gradually. Is this a delay in Tag reading and has anyone of you encountered it or is it just some glitch in my program. Cause I've checked the program time and again but I couldn't find any problems into it.

Please guide and help me if you can.

15
Support Questions / Omron HostLink Serial Read/Write W0.0 bits problem
« on: January 15, 2017, 10:44:20 PM »
Hey Guys,

Archie Thanks for all help with Omron HostLink Serial Protocol.

I've just run into another problem. I'm unable to read/write W bits from AHMI3.99t Version. Any help or work around that would help me read and write would be appreciated.

Pages: [1] 2 3