8-63
8 CIP Message Communications
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
8-7 Variable Data Types
8
8-7-1 Data Type Codes
8-7 Variable Data Types
This section provides the data types of variables that can be used with CIP message communications.
The following codes are given to variable data types.
* “CIP Common” indicates codes that are defined in the CIP Common Specifications. “Vendor Specific” indicates
codes that are assigned by OMRON.
8-7-1 Data Type Codes
Data Type Code(Hex) Group*
Boolean (bit) C1 CIP Common
SINT (1-byte signed binary) C2 CIP Common
INT (1-word signed binary) C3 CIP Common
DINT (2-word signed binary) C4 CIP Common
LINT (4-word signed binary) C5 CIP Common
USINT (1-byte unsigned binary) C6 CIP Common
UINT (1-word unsigned binary) C7 CIP Common
UDINT (2-word unsigned binary) C8 CIP Common
ULINT (4-word unsigned binary) C9 CIP Common
REAL (2-word floating point) CA CIP Common
LREAL (4-word floating point) CB CIP Common
STRING D0 CIP Common
BYTE (1-byte hexadecimal) D1 CIP Common
WORD (1-word hexadecimal) D2 CIP Common
DWORD (2-word hexadecimal) D3 CIP Common
TIME (8-byte data) DB CIP Common
LWORD (4-word hexadecimal) D4 CIP Common
Abbreviated STRUCT A0 CIP Common
STRUCT A2 CIP Common
ARRAY A3 CIP Common
UINT BCD (1-word unsigned BCD) 04 Vendor Specific
UDINT BCD (2-word unsigned BCD) 05 Vendor Specific
ULINT BCD (4-word unsigned BCD) 06 Vendor Specific
ENUM 07 Vendor Specific
DATE_NSEC 08 Vendor Specific
TIME_NSEC 09 Vendor Specific
DATE_AND_TIME_NSEC 0A Vendor Specific
TIME_OF_DAY_NSEC 0B Vendor Specific
Union 0C Vendor Specific