![background image](http://html1.mh-extra.com/html/omron/sysmac-nx1p2-10-1-series/sysmac-nx1p2-10-1-series_user-manual_1633435306.webp)
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.
You can specify an array index ([x]) in a variable name.
(Specification Method 1: 8-bit Index)
BYTE
28 hex
Logical Segment (Member ID)
USINT
Index
Array index from 0 to 255
(Specification Method 2: 16-bit Index)
BYTE
29 hex
Logical 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.
You 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;
Variable Name Specification Format
8 CIP Message Communications
8-44
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Summary of Contents for Sysmac NX1P2-10 1 Series
Page 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Page 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 577: ......