Build and download the project to controller a – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual
Page 39
Rockwell Automation Publication 2080-QS002A-EN-E - April 2013
33
Use CIP Generic Client Messaging Chapter 3
4. Set the value for the
A_TargetCfg input variable as
shown.
See
for
parameter details and
description.
Note that for a single controller
program, the initial value for
A_TarCfg.Path is '0,0'. The
previous read program involving
Controller A and Controller B,
initial value for for this variable
is '4,192.168.1.19'.
5. Build and download the project
to Controller A.
TIP
ReqData and ReqLength Input Variables
As this project only needs to read the destination value, you do not need
to assign values to the input variables, A_ ReqData and A_ReqLength.
details and description.
IMPORTANT
ResData Input Variable
This is an output parameter that stores the response data in USINT
array format.
In our example, we are reading the catalog number string. When it
is stored as USINT array, it will follow the ODVA short string
format which is the first element in the array that will specify the
string length. The next array elements will store the string
character’s HEX value.
For a string the maximum number of character is 80, plus the
length element, so we could define the A_ResData as 1 dimension
array with 81 elements.
See
for parameter details and description.