Received by PM

Steve Bailey

Lifetime Supporting Member + Moderator
Join Date
Apr 2002
Location
The boondocks of Western Massachusetts USA
Posts
8,587
I received the following by PM from Misel00. I don't do private consultations without a purchase order, so I'm reposting here as it may be of general interest.

I'm working currently on a Modbus TCP application with a GE Quickpanel, and haven't been able to find how to read the current state of communications with a device connected via ethernet and using the Modicon tcp/ip driver.

I'm guessing there is a specific internal variable that monitors this communications, but cannot find any references on this. I would appreciate if you could guide on this, since it's the missing point to finish a project I'm working on.


There is no system bit or word in a Quick Panel that gives information about the state of any of the device communications drivers. If you need one, you'll have to roll your own. There are many ways to handle it. If the Modbus slave has a clock variable that changes regularly, you could monitor that and failure to change within a reasonable amount of time is an indicate of a communications fault.

If you have the ability to program the Modbus slave, you could add a "handshake" bit monitored by the Quick Panel. Have the Modbus slave turn the bit on whenever it detects that it is off and the Quick Panel turn the bit off whenever it detects that it is on. On the Quick Panel side, if it remains off for too long, you have a communications fault. On the Modbus side, if the bit remains on too long the Modbus device knows there is a problem.
 
Steve,
You are too kind. I generally ask the person to re-post in the public forum and hopefully someone will be able to help them.

:)
 

Similar Topics

Were those the only files? Megabasic files have the suffix .bas You can probably get along without PCOP. Termf is sufficient to do whatever you...
Replies
3
Views
172
I received this by PM. I prefer to keep the discussion on the forum. Hello ! I managed to connect to PLC GE 90-30. I don't know the Proficy...
Replies
1
Views
1,140
I just got this via PM I prefer to keep the discussion on the forum. Can you be a little more specific? What is the nature of your trouble? Are...
Replies
0
Views
660
I got this PM this morning. I prefer to keep the discussion on the forum. There are two default passwords in a PanelMate. I would try them...
Replies
0
Views
865
I got this request via PM. I prefer to answer in the forum instead of in private. Hello Steve! How are you? Hope you are good right now. I saw...
Replies
0
Views
865
Back
Top Bottom