Using EthernetI/P status in RSLogix 5000

Andrew_W

Member
Join Date
Oct 2009
Location
Edmonton
Posts
38
Good Day all,

I have a site where I'm using a Compactlogix L33ER Version 21.11 to connect to a Wiedmuller U-Connect I/O Rack setup using the Generic Ethernet Device, It's been installed and working fine for several months, however for some reason last night the PLC lost connection to the Remote I/O Rack. I was wondering if there is anyway to use the Ethernet connection Status in the Ladder logic to enable a warning message, or shutoff related equipment when this happens, I know I could enable a Major Fault on the loss of I/o, however that would produce undesirable results on other systems. So is there a way to have a status bit to tell the PLC wether there is a good connection or not? I've attached a screen couple of screen shots so you can see the configuration of the module in question



Thanks in advance for all your help

prntscr1.jpg prntscr2.jpg
 
A possibel solution is using a GSV instruction and reading the FaultCode from the module. If the FaultCode (INT) is not zero then you have a problem (mostly a comm problem).
 
Use A GSV file for Bringing back the modules fault code. Use the "module" for the class and the 'instance' would be the generic module you are wanting to get the fault code from. Attribute would be faultcode. the destination is a tag you create (Dint). You would then compare the value in destination (Dint) to the value you think it should be. The generic module I believe will be at 0 Zero if communicating.
After setting up your GSV you could unplug the module and see what value populates into the destination tag and use that value to trigger an alarm.

Man I hope that made sense
 

Similar Topics

Hi I'm very new to PLC programming and I'm trying to find out if this library (Tc2_NcFifoAxes) is necessary for our task In our case we need to...
Replies
0
Views
37
I have a project to automate four generator sets. The system will monitor and store the load demand of the factory. Once there's Power outage, the...
Replies
0
Views
72
Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
133
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
233
Hi, I'm trying to use the IO Device Library (Product Versions) which is configured to work with the 1756-EN4TR & 1756-EN2TR but my system uses...
Replies
0
Views
78
Back
Top Bottom