Specifying Variable Names In Request Paths - Omron NY532-5400 User Manual

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

8-4-5

Specifying Variable Names in Request Paths

Variable Names
A variable name is specified as a symbolic segment (ANSI extended symbol segment).
Variable Name Specification Format
BYTE
91 hex
BYTE
Length in BYTE
Array of
:
octet
Variable_name
:
Octet
(pad)
Variable Names
Variable names are encoded in UTF-8.
Structure Member Names
Structure member names are specified in the same way as variable names. (Store UTF-8 character
codes in the ANSI extended symbol segment.)
Array Indices
Specify the array index in a logical segment that is set as a member ID. You can specify an array index
([x]) in a variable name.
Specification Method 1: 8-bit Index
BYTE
28 hex
USINT
Index
Specification Method 2: 16-bit Index
BYTE
29 hex
octet
00 hex
UINT
Index
Range Specifications with the Num of Element Field
There is a Num of Element field in the request data for the variable read and variable write services.
You can use these services to access the specified range of an array with the following specifications.
• Specify the first element in the range of elements to access in the array variable as the variable to
read or write.
• Specify the number of elements to access in the Num of Element field.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
8 CIP Message Communications
ANSI Extended Symbol Segment
Length of variable name in bytes
Variable name encoded in UTF-8
00 hex. One byte is padded if the variable name
length is an odd number of bytes.
Logical Segment (Member ID)
Array index from 0 to 255
Logical Segment (Member ID)
Pad
(L)
Array index from 0 to 65,535
(H)
8
8-37

Advertisement

Table of Contents
loading

Table of Contents