Publication ERSC-1521 Rev 1.0 – February 2019
Connecting to Rockwell PLCs
MESSAGE CONFIGURATION FOR READING AI2 ASSEMBLED REGISTERS
Read Assembly MSG Setup
• Select “CIP Generic” as the Message
Type
• Select “Get Attribute Single” as the
Service Type
• Class is always set to 4
• Instance is the Assembly number. In
this example the Instance is 105
corresponding to ZPA Inputs
Assembly
• Attribute is always set to 3
• Destination Element is the user
defined tag for the MSG instruction to
place the data it reads from the Ai2
module. In this example,
“ZPA_Inputs” is the user-defined tag
that is an array of INT that is equal to
the number of registers provided by
the Assembly
Please note that the data type of your Destination Element tag that you create must be
an INT array equal to the size of the Assembly. Please refer to section Parameters for
Each Assembly beginning on page
16 to determine the register array size required for
each Assembly. Please consult Allen-Bradley documentation for full description of MSG
instruction usage
Refer to Allen-Bradley reference documentation for the particular PLC processor being
used as to the proper usage and expected performance loading on the processor
communication channels due to multiple MSG instructions executing simultaneously.