Omron Sysmac NJ-series User Manual page 292

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents