Omron NX-series User Manual page 104

Safety network controller communication control unit built-in function
Hide thumbs Also See for NX-series:
Table of Contents

Advertisement

8 CIP Message Communications
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
USINT
Index
(Specification Method 2: 16-bit Index)
BYTE
29 hex
octet
00 hex
UINT
Index
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
BOOL
} VarAA;
Variable Name Specification Format
8 - 8
(L)
(H)
MemA;
MemB[10][10];
NX-series Communication Control Unit Built-in Function User's Manual (Z396)
Logical Segment (Member ID)
Array index from 0 to 255
Logical Segment (Member ID)
Pad
Array index from 0 to 65,535

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nx-csg series

Table of Contents