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]
16
Feature Request / Re: MELSEC Drivers ? FX series PLC's
« on: November 25, 2014, 02:24:55 AM »
FX PLCs can be added with Modbus port .
By using ModbusRTU driver in AdvHMI you can easily communicate with these PLCs .

17
Hello Archie ,

As i mentioned earlier ,I am reading register arrays in Timer events . Since user writing data to PLC is asynchronous (e.g. clicking start command to PLC ), if comm interfaces are busy in reading activity , I get various errors randomly (Connection error , packet error or TNS being NULL anything as such).
I try to avoid such errors by putting TRY catch blocks in drivers code .
The drivers in Advanced HMI take care of software errors but field related errors throw exception .

If we have to deploy this as unattended application then big issue . For Operator use HMI , there is always option to close and restart .
Well , so far so good . We have come long way and drivers are now much more reliable .

Regards,
Shriram Pendse

18
Dear Archie,
Thanks for the solution .

I tested the configuration as follows :-

PC IP address 192.168.0.54 . Subnet as 255.255.254.0
MLX 1400 PLC address 192.168.0.53 so configured same address to EthernetIPPLCSLCMICRO.
ModbusTCPcom1 192.168.0.1
ModbusTCPcom2 192.168.0.2
ModbusTCPcom3 192.168.0.3
ModbusTCPcom4 192.168.0.4
ModbusTCPcom5 192.168.0.5
ModbusTCPcom6 192.168.0.6

I can read 100 registers (N7:0) from PLC by using read command in timer with interval of 500 mSec.
Similarly from every ModTCP device I am reading 16 HoldingRegisters at 1000 mSecs interval .
Occasionally I get error if I use write to device methods.
I generally don't map device address to AdvHMI controls on screen , rather read values and pass value to to controls value field.

About adding two IP address to LAN port on PC :-

If we goto advance properties of LAN adapter , we can add another IP address to same Physical Lan port .
In an another application Last time I required that PC should be  on companies Intranet with some IP and for connecting to PLC I needed different IP for same physical LAN port . I used above method and simultaneously PC is on Intranet as well as connects to PLC .

warm regards,
Shriram Pendse





19
Hello ,
I want to connect MLX1400 PLC (IP 192.168.0.1 ) and ModbudTCP Controller (IP 192.168.1.1 ) to PC running Advanced HMI application thru single wired Ethernet port on PC .
I added two IP addresses  to single ethernet port , namely 192.168.0.10 and 192.168.1.10 .

I wish EthernetIPPLCSLCMICRO driver IP 192.168.0.10 should talk to MLX1400 PLC (IP 192.168.0.1 ) .

And ModbusTCP driver 192.168.1.10  should talk to ModbudTCP Controller (IP 192.168.1.1 ).

In the driver vb code I could not find where to mention HOST port IP address or port no .

Is above configuration logically possible ? In another two days my hardware will arrive , then I can check this .
Expert advice requested to make it feasible or any other alternative welcome .

Thanks ,
Shriram Pendse

20
Support Questions / Adv HMI with Mitsubishi PLCs over EtherNet
« on: September 10, 2014, 03:27:41 AM »
Hello Archie ,

By reading Ethernet communication manual of FX3GE PLC (Pls google for jy997d45801d and download , refer page no 65 onwards),
and  by referring various other posts on net , I could communicate with FX PLCs.

I can read 64 registers on each request , writing Registers is also OK.

If you want  to make driver in Advanced HMI for Mitsubishi PLC on Ethernet I can send the code .

My Code is not as robust as AdvHMI drivers , since it only makes a connection , reads / writes data and disconnects , no diagnostics etc .
But it will be useful for developing on the lines of other drivers that you have written .

Regards,
Shriram Pendse
Pune , India.




21
When there is operator sitting at Advanced HMI application , he may respond to messages and take corrective action for errors .
But when we want to deploy it as unattended application (eg datalogger , reporting station etc) we have to cater for every eventuality.  I tried using try catch where ever possible  in HMI drivers code . I created various anomalies like PLC not responding , network error , so far so on and where ever code stopped  , I inserted try catch block . This way many exceptions were eliminated . But this is crude method , there must be better way to do this . Some " Guru " on AdvHMI would give better solution .

22
Support Questions / Previous version S7 1200 Adv HMI ReadAny problem
« on: April 09, 2014, 04:28:48 AM »
Hi,
This previous version can display PLC MW variables read over TCP port from S7 1200 PLC . Writing thru Basic Label is also OK .
But I am unable to get any data by using Readany function
       Dim addr As String = "MW12"
        mw = SiemensPLCsComm1.ReadAny(addr, 2)
        TextBox1.Text = mw(0)
        TextBox2.Text = mw(1)
I always get 0 values even though these register values are correctly displyed on ADV HMI controls like digital panel meter .
I tried various variations of address and number of registers combination , No Joy .
No errors are indicated . When I read buffer returned by the SiemensPLCsComm1 function I can debug that these values are received in the BUFFER . But somehow these dont get populated in MW string array.
Any sugestion what is wrong with above code ? 

Thanks,
Shriram Pendse

23
Support Questions / Re: AdvHMI V361 ModTCP error 20
« on: February 22, 2014, 05:33:52 AM »
Hi,
Most of the errors are due to communication , network , Received data in incorrect format .
Very strong exception handling is required to overcome these and make application robust .
Some of the experts may give guidelines how the application would continue even after exceptions
(handled or unhandled ) .


24
Support Questions / AdvHMI V361 ModTCP error 20
« on: February 20, 2014, 09:10:17 AM »
Hi,

I am using AdvHMI V361 ModTCP driver for reading/writing to ModTCP PLC . For a while comm is OK , after some time randomly I get

" com fail " exception 20 at Read function at this line
   
Else
            Throw New MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException("Com Fail - " & result)
        End If
 
What could be the reason & way to solve this issue ?

Shriram Pendse


Pages: 1 [2]