36
AC30 EtherNet IP Option
Appendix B – Data Types
The relationship between AC30 parameter and CIP data type is given
in the table below.
AC30 Parameter
CIP
Data Type
Description
Data Type
Bytes
BOOL
Boolean
BOOL
1
SINT
Short integer
SINT
1
INT
Integer
INT
2
DINT
Double integer
DINT
4
USINT
Unsigned short integer
USINT
1
UINT
Unsigned integer
UINT
2
UDINT
Unsigned double
integer
UDINT
4
REAL
Floating point
FLOAT
4
TIME
Duration
UDINT
4
DATE
Date
UDINT
4
TIME_OF_DAY
Time of day
UDINT
4
DATE_AND_TIME
Date and time of day
UDINT
4
STRING
String
SHORT_STRING**
n
BYTE
Bit string length 8
USINT
1
WORD
Bit string length 16
UINT
2
DWORD
Bit string length 32
UDINT
4
** SHORT_STRING consists of a single-byte length field followed by the
actual character data.
The Data Type Code returned using explicit messaging via vendor specific
object A2h, attribute 2 is given in the table below.
AC30 Data Type
Data Type Code
BOOL
0
SINT
1
INT
2
DINT
3
USINT
4
UINT
5
UDINT
6
REAL
18
TIME
6
DATE
6
TIME_OF_DAY
6
DATE_AND_TIME
6
STRING
7
BYTE
4
WORD
5
DWORD
6
USINT
(enumerated)
8
Содержание AC30 series
Страница 2: ......
Страница 9: ...Appendix A Array Parameter Numbers 35 Array Example 35 Appendix B Data Types 36...