Rockwell Automation Publication 1766-UM001O-EN-P - September 2021 251
Appendix F MicroLogix 1400 Distributed Network Protocol
enabled, the controller enters a fault state (0x2A) when switching from
Program to Run mode.
When there is a change in configuration either from 6013…10000 event logs or
from 10000…6013 event logs in the last downloaded user program, a power
cycle is needed to apply the configuration, without which the controller enters
a fault state (0x2B) when switched to Run mode.
S:36/11 bit has to be set to one or zero in the user program prior to
downloading. This bit is read-only when the controller is in Program or Run
mode.
Control Generating Event
The controller checks all elements in the Object Data file for changes at the end
of a scan and generates events where needed.
The key method to turn on and off event generating by ladder logic is to assign
or un-assign the Class information bits in the Object Config Files.
The example below shows how to control the event generation condition by
ladder logic and implements Deadband for Analog Input Objects (which is only
necessary for MicroLogix 1400 Series A).
In this example, for 16-bit Analog Input point 0 (N11:0), if the absolute value of
the difference between the present value of N11:0 and the value that was most
recently queued as an event for that point exceeds the deadband value, then an
event is generated for that point.
Data File List
Name Number Type Scope Debug Words Elements Last
Output 0 O Global No 18 6 O:5
Input 1 I Global No 24 8 I:7
Status 2 S Global No 0 66 S:65
Binary 3BGlobalNo11B3:0
Timer 4 T Global No 3 1 T4:0
Counter 5 C Global No 3 1 C5:0
Control 6 R Global No 3 1 R6:0
Integer 7 N Global No 1 1 N7:0
Float 8 F Global No 2 1 F8:0
16-bit Analog Input Object File 11 N Global No 10 10 N11:9
Binary Output Object File 12 B Global No 10 10 B12:0
16-bit Analog Input Config File 21 B Global No 10 10 B21:9
A16I OLD 30 N Global No 10 10 N30:9
A16I DEADB 31 N Global No 10 10 N31:9
A16I Temp 32 N Global No 10 10 N32:9