User's Manual

Rockwell Automation Publication 56RF-UM001D-EN-P - November 2021 81
Chapter 9 RSLogix 5000 Code Examples
In the following example routine, the initialization in Rung 1 sets the address,
length, the Data[0]to the Option Flag, and sets the command value to 0. The
BlockSize, Reset, Timeout, UIDLow, and UIDHi are set to 0 in the output
image table.
Example Results
Figure 20 shows an example of results where the Option Flag was set to 1,
which reads the UUID.
The UUID is loaded into Data[0] through Data[7]. The user data (1, 2, 3, 4, 5, 6…)
begins in Data[8]. Figure 20
only shows a partial listing of the user data. The
command read in 112 bytes of data.
Figure 20 - Input Image Table - User Data