EasyManua.ls Logo

Omron NX102-12 Series

Omron NX102-12 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
Loading...
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.
Y
ou can specify an array index ([x]) in a variable name.
(Specification Method 1: 8-bit Index)
BYTE 28 hex L
ogical Segment (Member ID)
USINT Index Array index from 0 to 255
(Specification Method 2: 16-bit Index)
BYTE 29 hex L
ogical Segment (Member ID)
octet 00 hex Pad
UINT Index (L) Array index from 0 to 65,535
(H)
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.
Y
ou 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.
Specification Examples
This example shows how to specify VarAA.MemB[1.2] for the following structure variable.
struct
{
UINT MemA;
BOOL MemB[10][10];
} VarAA;
V
ariable Name Specification Format
8 CIP Message Communications
8-44
NJ/NX-series CPU Unit Built-in EtherNet/IP Port Users Manual (W506)

Table of Contents

Related product manuals