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.


Messages - ShriramPendse

Pages: [1] 2
1
Support Questions / Re: Detect PLC connection lost in VB
« on: April 21, 2017, 01:45:18 AM »
Hello ,

Read an autoincrementing integer from PLC . In AdvHMI keep checking its value , if it is unchanged for certain time , you know comm is in trouble .

Comm driver too has error status which you can monitor .

2
Open Discussion / Re: New Version 3.99v Now Available
« on: February 24, 2017, 12:53:42 AM »
Unable to download 3.99V from sourceforge. Tried with two different machines . May be specific problem on my browser . Download starts , shows thanks for downloading , but nothing downloaded . Previously never had any issue with ADVhmi . Will try later.

3
Support Questions / Re: Problem with multidrop Modbus
« on: December 24, 2016, 05:16:38 AM »
@It may have something to do with the way the driver was written and how it handle communication with two or more devices at the same time.  /// You are right .

While using ModbusRTU (means on serial lines , not ethernet) , you will have issues to use Adv HMI controls directly talking to RTU slaves .

I use a timer on form and read required addresses from slaves . The values received are passed on to the controls on form . This way you have total control on what registers are read , from which slave,  at what interval etc.
It complicates the matters, but works .

4
Support Questions / ModbusRTUCOM driver multiple Nodes not communicating
« on: September 24, 2016, 03:21:46 AM »
Hello Archie ,

With earlier versions before 399 , we could change station address property and communicate with multiple ModbusRTU stations .
Here if any station does not respond , Read write to other stations was not affected , screen continues to show other station registers.

But With version 399 onwards , if any station does not respond within timeout period , communication to alll nodes (stations ) stops .

Trying to find out reason , still no joy .

Nodes 1 ,2,3 ,4 ,5 ,6 ,7 all working ok ...
Now if node 4 stops responding (In real field situation it can happen, that machine may be down), initially 4 ,5 , 6, 7 stop responding , and then 1,2,3 also stop resp,onding .
I tried to debug with Mod R Sim  found that AdvancedHMI stops polling if any one device is unresponsive . Earlier it wasnt this way .

5
Support Questions / Re: Poll multiple stations from one COM port
« on: June 27, 2016, 05:44:48 AM »
In one of my applications , ADVhmi talks to 8 controllers on serial Modbus .
I never connect controls on screen to PLC registers , rather use timed read function from drivers to read and write data .

  response = {0}
        ModbusRTUCom1.StationAddress = NumericUpDown1.Value
        Try
            response = ModbusRTUCom1.Read("400001", 63)
' move response array data to controller data array
        Catch ex As Exception
        End Try
'  now change NumericUpDown1.Value to next controllers node address


 response = {0}
        ModbusRTUCom1.StationAddress = NumericUpDown1.Value
        Try
            response = ModbusRTUCom1.Read("400001", 63)
' move response array data to netx controller data array
        Catch ex As Exception
        End Try

' and so on .


6
Open Discussion / AdvancedHMI & WPF
« on: June 14, 2016, 01:38:33 AM »
Hi ,

Since long we are with AdvancedHMI and quite comortable with windows forms . I came across some Scada forums saying WPF is better than win forms in terms of presentation and attractive UI developement .
Is that so ?
Can we use AdvancedHMI with WPF ?


7
Application Showcase / Re: AdvHMI with ModTCP , ASP.net & SQL
« on: February 06, 2016, 04:13:37 AM »
Sure ,

I am still working on it . Once it comes to workable form I will post code .

But meanwhile others can try how this is organised .

AdvHMI at local PC has application to communicate with PLC and works as a  usual SCADA station.

This PC has SQL Server database having a table with only one row as latest values all tags that you need to monitor on WebClients .
AdvHMI appln UPDATES these values after reading those from PLC at whatever interval you desire (100 tags every 500 Ms or so).
There is another table, "commands" ,  having three Columns , TagID , Address and value .
Our AdvHMI appln keeps looking for "Commands" table for any new commands issued by clients . If it sees new commands , it writes these to PLC . After executions these could be marked done or simply deleted .
 

A simple web application made in ASP.net gets data from the SQL database values table and displays on screen. It is deployed on IIS .

Now comes tricky part ,  user actions on web page to write to PLC , actually write to SQL commands table .

Our AdvHMI appln keeps looking for "Commands" table for any new commands issued by clients . If it sees new commands , it writes these to PLC . After executions these could be marked done or simply deleted .

This mechanism WORKS , now to make it deployable various checks and balances are to be made . It is quite OK within company network over LAN. Over internet there are issues like static IP , Firewall ,  security , reliable connection etc.

Hoping for the best .




8
Application Showcase / AdvHMI with ModTCP , ASP.net & SQL
« on: February 01, 2016, 01:13:32 AM »
Hi ,

A very basic prelim application trial using AdvHMI as Server connected to ModTCP PLC , SQL server for dataexchange  between ASP.net clients and PLC .

Runs OK to some extent , but lot of further development required to make it Deployable & reliable enough to give it to client.

Screenshot attached.

9
Scenario:
AdvHMI being used to communicate with multiple PLCs on ModbusTCP or Modbus RTU.
If any machine (PLC ) switches off , application goes unresponsive .
In-stead it should gracefully switch off communication to non responsive PLC and continue servicing other healthy PLCs.
Thanks .

10
Yes ,

In configuration , select screen number register in PLC in control block , write thru PLC prg whatever screen number you want to be displayed . HMI will will display that screen number .

By the way , this question should have been posted on Delta automation Europe forum .


11
Open Discussion / Getting VS2013 community edition
« on: May 21, 2015, 09:16:02 PM »
Not an issue with AdvHMI .
But regarding VS2013 community that is needed for working with AdvHMI new versions.
Since long I am trying to get and install VS2013 community . 7 GB download is quite difficult to download , even after downloading extracted versions are corrupt . When rest everything is OK , install fails with error KB2827760 . When searched on net there are host of others who could not manage to get and install VS2013 community .
On this forum any other members facing same issue ? any solution ?

12
Nice to know that .
Once tested I would post the results .

Thanks a lot .

13
Hello Archie ,

Would following configuration work ?

I had CompactLogix L32e PLC and  FactoryTalk SE 25 Screen SCADA connected with Ethernet/IP . Both working OK .
On same PC I tested AdvancedHMI on ethernet/IP driver to read/write tags with L32E , works OK (when SE SCADA was not installed yet).

Since customer has purchased only SE and no SQL or Vantage point , I was finding a way out . Every few seconds , I would read few tags from L32E into AdvancedHMI and then INSERT these into SQL table .
Since AdvnacedHMI and SE Scada would be Clients to same L32E , would it be a problem ?
With SE RT licence , RSLinx OPC is not provided else it would have been much easier .

Thanks ,
Shriram Pendse

14
Feature Request / Re: Siemens Drivers
« on: March 19, 2015, 09:06:02 AM »
Old version already had s7 1200 driver .
I had connected it to S1200 PLC over ProfiNet . It could read PLC tags as shown in sample . I suppose writing to PLC was problem.
Now I dont have that PLC , else I would have retested that .
Now most Siemens PLCs will come ProfiNet so this old driver should serve the purpose .



15
Open Discussion / Merry Xmas and a prosperous New Year
« on: December 25, 2014, 06:04:46 AM »
Merry Xmas and a prosperous New Year to all ardent fans of Advanced HMI .

Pages: [1] 2