How clear last state "RS LOGIX 5000"

Zigu

Member
Join Date
Jun 2014
Location
Finland
Posts
16
Hi,


I have program where naturally comes I/O data. Now if I plug out I/O, stays last I/O data on controller.

How can I clear I/O data if connection fails to I/O?
(in this case I/O comes by ethernet)

Am I right that, Rockwell see if ethetnet cable is unplugged from the I/O-module? If its so, how can i use this info/data?
 
I'm not quite sure what you are asking. If it about Ethernet connected remote I/O, you can use the GSV instruction periodically (NOT EVERY SCAN) to determine if the remote module or comms adapter is connected and running, then take appropriate action if it isn't.

Query each module and comms adapter with the class "Module", the Instance Name is the Module name in the I/O tree, and the attribute would be "EntryStatus". MVM the result with 61440. If the final result is EQU 16384, the module is running.

You can query other things too, like "FaultInfo", "FaultCode" and such.
 
You could also use a GSV to simply monitor the state of the IO Status LED to determine whether an IO System fault exists. An Exclusive Or instruction may be used to clear all bits within an array.
 
Yes I have Ethernet connected remote I/O. That GSV block seems like what I´m looking for. Many thanks.


Can you Bit_Bucket_07 tell me more about using exclusive or instruction to clear arrays.
 
Anything XOR'ed with itself becomes zero.
That is an older trick from trying to squeeze every possible cycle out of a processor ! ;)

Why not just move a zero to the register to clear it?
 
Yes I have Ethernet connected remote I/O. That GSV block seems like what I´m looking for. Many thanks.


Can you Bit_Bucket_07 tell me more about using exclusive or instruction to clear arrays.


What rdrast said. Make the same array both operands of the XOR and also the result of the XOR, or simply move a constant value of zero into the array.
 

Similar Topics

Hi, Experts: We have 20 + years old GE PLC series 90-30 stop running (the run led not on and battery led not on) and HMI showing that "PLC has...
Replies
7
Views
196
Hi everyone, recently i worked with a cmore panel and have the question that how can clear alarm list whit remote form,right now only can with...
Replies
0
Views
107
Hi guys, I have a data table as REAL type VALUES_TABLE[32,100]. I want to clear this table. For that i created a REAL type CLEAR_DATA tag with...
Replies
8
Views
562
Hi, I have bought a used 1756-L73S and SP, it is running firmware 30.013 and safety locked, im running Logix Designer 30.01.00. The controller...
Replies
10
Views
1,663
First time using a panelview. I have all of my alarms mapped to bits of dints. How do I get the alarm panel to popup when an alarm happens...
Replies
6
Views
2,122
Back
Top Bottom