Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
Misery no longer loves company. Nowadays it insists on it.
-- Russell Baker
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the ING department...
Error Processing Modbus Gateway (EDW-100) Westermo
Human-Machine Interface and SCADA. topic
Posted by Keane on 5 January, 2009 - 8:27 am
Hi guys,

I am connecting a PLC (ICP Con) to a Citect SCADA via a Modbus TCP-Serial Converter (Westermo EDW100). The PLC is configured as a Slave (via Modbus RTU) and Citect is a Client (via Modbus TCP). The Citect is connected to the PLCs via 2 network lines (redundancy). There is a Modbus converter on each line. The functionality of this system is fine and all data can be sent/monitored from Citect...

My problem is I am unable to do any error processing on the Citect in the event that any PLC is down. I need help to "talk" to the Modbus converter from Citect to know if any of the PLCs (Slaves) are down/non-functional... Can this be done? Is there any C-code that I can incorporate into Citect to interface to the Modbus converter?

Thanks...


Posted by Nathan Slider on 8 January, 2009 - 2:08 pm
Just use the built in CiCode functions: IODeviceInfo() or CitectInfo() to return the status of the Standby IODevices that you have defined in your project.

Cheers,
Nathan Slider


Posted by Fred Loveless on 9 January, 2009 - 9:25 am
The gateway should respond with an exception code 11 (0x0B) Gateway target device failed to respond. This lets the TCP/IP driver know that the remote serial device is down or unaccessible.

An OPC server that is talking to the remote device would then mark the data quality for the items on that device as bad. It should also have a status variable for the devices that indicates it is not communicating.

Fred Loveless
Senior Application Engineer
Kepware Technologies
http://www.kepware.com

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2009 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Control Engineering magazine subscription
advertisements
Find the right Modbus device for your project... or list your Modbus device on the largest online Modbus device directory.
Servo, steppers, analog, digital & web HMI - Fully Integrated!
Servo, stepping motor control, analog & web HMI in one system!
What end users are looking for. Strengthen vendor programs.
Time to incorporate data handling, web HMI and motion in one system!
Our Advertisers
Help keep our servers running...
Patronize our advertisers!