![Omron Sysmac NY512-1300 User Manual Download Page 235](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451235.webp)
8-39
8 CIP Message Communications
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
8-4 S
p
eci
fying
Req
u
est
Path
8
8-4
-5 S
pecifying V
ariable
Names in R
equest Paths
Specification Example for Structure Members and Array Elements
This example shows how to specify
VarAA[1].MemB[1.2]
for the following structure variable.
struct
{
UINT
MemA;
BOOL
MemB[10][10];
} VarAA[3];
Variable Name Specification Format
Specification Example for Structure Array
0x91 0x05“VarAA”0x00
0x91 0x04“MemB”
0x28 0x01
0x28 0x02
VAR://VarAA.member[1][2]
VarAA.memB[1.2]
BYTE
91 hex
ANSI Extended Symbol Segment
BYTE
05 hex
Length of variable name in bytes
Array of
octet
'V' Variable
name
'a'
'r'
'A'
'A'
Octet
00 hex
Pad
BYTE
28 hex
Logical Segment (Member ID)
USINT
01 hex
Array index
BYTE
91 hex
ANSI Extended Symbol Segment
BYTE
04 hex
Length of variable name in bytes
Array of
octet
'M'
Variable name
'e'
'm'
'B'
BYTE
28 hex
Logical Segment (Member ID)
USINT
01 hex
Array index for first element
BYTE
28 hex
Logical Segment (Member ID)
USINT
02 hex
Array index for second element
0x91 0x05 “VarAA” 0x00
0x91 0x04 “MemB”
0x28 0x01
0x28 0x02
VAR://VarAA.member[1][2]
VarAA[1].memB[1.2]
0x28 0x01
Summary of Contents for Sysmac NY512-1300
Page 459: ......