Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 42

Advertising
background image

36

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

Appendix A MSG_CIPSYMBOLIC Function Block

SymbolicCfg

Input

CIPSYMBOLICCFG

Information of symbol to Read/Write. This is a structured data type. It consists of the following
elements:

SymbolicCfg.Service (USINT)

Read/Write service
0 - Read (Default)|
1 - Write

SymbolicCfg.Symbol (STRING)

Name of the variable to Read/Write. This field cannot be empty.
Maximum 80 characters can be entered.

Example 1: to read an array MyArray[1..100] then we should put
SymbolicCfg.Symbol := ‘MyArray’;

Example 2: to read an array MyArray[1..100], Start from 5th element of array then
SymbolicCfg.Symbol := ‘MyArray[5]’;

SymbolicCfg.Count (UINT)

Number of variable elements to Read/Write.
1...65535, 1 is used if this value is set as 0 (default).

SymbolicCfg.Type (USINT)

Data type value of Data being Read/Write. This field cannot be empty for Write.
For Read, function block execution fills this field with received data type. For Write, user
specifies the data type to be written. See

CIP Message Data Types on page 47

.

SymbolicCfg.Offset (USINT)

Reserved for future use.
Byte offset of variable to Read/Write. This field is used to Read/Write a large size of variable
which cannot be processed in one message.
Range: 0...255.

MSG_CIPSYMBOLIC Parameters

Parameter

Parameter
Type

Data Type

Description

Advertising
This manual is related to the following products: