Omron sysmac NX102-9 Series Owner's Manual page 302

Machine automation controller, cpu unit built-in ethernet/iptm port
Table of Contents

Advertisement

8 CIP Message Communications
Specification Example for Structure Members and Array Elements
0x91 0x05"VarAA"0x00
This example shows how to specify VarAA[1].MemB[1.2] for the following structure variable.
struct
{
UINT
BOOL
} VarAA[3];
Variable Name Specification Format
BYTE
91 hex
BYTE
05 hex
Array of
'V'
octet
'a'
'r'
'A'
'A'
Octet
00 hex
BYTE
28 hex
USINT
01 hex
BYTE
91 hex
BYTE
04 hex
Array of
'M'
octet
'e'
'm'
'B'
BYTE
28 hex
USINT
01 hex
BYTE
28 hex
USINT
02 hex
Specification Example for Structure Array
0x91 0x05 "VarAA" 0x00
8-46
0x91 0x04"MemB"
VarAA.memB[1.2]
VAR://VarAA.member[1][2]
MemA;
MemB[10][10];
0x28 0x01
VarAA[1].memB[1.2]
VAR://VarAA.member[1][2]
0x28 0x01
0x28 0x02
ANSI Extended Symbol Segment
Length of variable name in bytes
Variable name
Pad
Logical Segment (Member ID)
Array index
ANSI Extended Symbol Segment
Length of variable name in bytes
Variable name
Logical Segment (Member ID)
Array index for first element
Logical Segment (Member ID)
Array index for second element
0x91 0x04 "MemB"
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
0x28 0x01
0x28 0x02

Advertisement

Table of Contents
loading

Table of Contents