EasyManuals Logo

Omron Sysmac NJ-series User Manual

Omron Sysmac NJ-series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #292 background imageLoading...
Page #292 background image
8 CIP Message Communications
8-46
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
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

Table of Contents

Other manuals for Omron Sysmac NJ-series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron Sysmac NJ-series and is the answer not in the manual?

Omron Sysmac NJ-series Specifications

General IconGeneral
BrandOmron
ModelSysmac NJ-series
CategoryComputer Hardware
LanguageEnglish

Related product manuals