EasyManuals Logo
Home>Omron>Controller>NX102-12 Series

Omron NX102-12 Series User Manual

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
Page #352 background imageLoading...
Page #352 background image
The following data format is used.
Data Format
USI
NT Data Type
Data type of array elements (A1 hex is not used.)
USINT 00 hex
UINT Num of Elem (L) Gives the number of elements in the array.
(H)
Data
:
Data
The actual data for the elements of the array
are
given in order in the same format as when the
elements are accessed individually.*
*1. For STRING data, the output format differs from the format when accessing individual elements in the
following ways.
• There are no fields for the text string lengths. Only the text strings (including NULL) are given.
• The transferred data length is not the combined lengths of the text strings, but the memory
size that is allocated to the STRING variable.
• Upper and lower bytes are reversed.
Example: The outputs will be as follows for a STRING array named s that has two elements (with the data
quantity per element is set to 4 bytes)
when s[0]=
"ab", and s[1] is "d".
Individual [0]: D0 00 03 00 61 62 63 (hex)
Entire array: D0 00 62 61 ?? 00 00 64 ?? ?? (hex) (??: Invalid data.)
• Handling Multi-dimensional Array
Elements for a multi-dimensional array are given in order from the deepest elements.
For example, the data is read in the following format when V
ar is specified for a variable defined
with UINT Var[2][2].
Data Format
USINT C7 hex Data type code for UINT
USINT 00 hex
UINT Value of Var[0][0] (L)
(
H)
UINT Value of Var[0][1
] (L)
(H)
UINT Value of Var[1][
0] (L)
(H)
UINT Value of Var[1][1
] (L)
(H)
The following data format is used for a BOOL array (using BOOL b[2][3] as an example).
Data Format
USINT C1 hex (data type code for BOOL)
USI
NT 00 hex
(WORD)
rsv rsv rsv rsv rsv rsv rsv rsv
rsv rsv b[
1][2] b[1][1] b[1][0] b[0][2] b[0][1] b[0][0]
• Exceptions When Specifying the Num of Element Field
8 CIP Message Communications
8-90
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX102-12 Series and is the answer not in the manual?

Omron NX102-12 Series Specifications

General IconGeneral
BrandOmron
ModelNX102-12 Series
CategoryController
LanguageEnglish

Related product manuals