Publication ERSC-1521 Rev 1.0 – February 2019
Connecting to Rockwell PLCs
ENABLING THE MODULE FOR OPERATION
Before using the AOI in your program, you need to add some logic to enable the outputs on the physical module.
Both the ZPA and PLC I/O connections defined in the EDS file use the “with reset Protection” assemblies that require
the PLC to instruct the Ai2 module to process output data coming from the PLC.
The Reset Protection topic is covered in publication ERSC-1500 ConveyLinx-Ai2 PLC Developer’s
Guide
Another function that is built-in when you created the module is indication of whether the PLC is communicating
with the module. For example, for the ZPA module we created (Ai2_Conveyor_1); if you look in the Controller tags
for the input data coming from the module, there is a Boolean value that indicates “Connection Faulted”.
From our example, when you expand
the Ai2_Conveyor_1 structure, there is
a BOOL that indicates Connection
Faulted. This tag can be used in your
logic to assure connection is OK prior to
enabling the module.
We recommend a simple rung of logic for each module that will allow the module to be enabled when its connection
is OK and when “the system is OK” to allow the Ai2 module to respond to data being written to it. This “system OK”
state is wholly up to you as the programmer to determine or omit as desired.