Build and download the project to controller a – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 35

Advertising
background image

Rockwell Automation Publication 2080-QS002A-EN-E - April 2013

29

Use CIP Generic Client Messaging Chapter 3

4. Set the value for the

A_TargetCfg input variable as
shown.
See

TargetCfg on page 40

for

parameter details and
description.

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, there is no need
to assign values to the input variables, A_ ReqData and A_ReqLength.

See

ReqData on page 40

and

ReqLength on page 40

for parameter

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

ResData on page 41

for parameter details and description.

Advertising
This manual is related to the following products: