
DOC-0017-10-EN: AC20 Series PROFINET IO Option
40 (47)
DOC-0017-10-EN-B 04.04.2023
APPENDIX A: Data types
The relationship between AC20 parameter and PROFINET data type is given in the table below.
AC20 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.
Arrays
Some parameters have multiple elements and are classified as parameter arrays. A parameter array has a
parameter number that accesses the
whole
of the array. It also has parameter numbers that represent
each
element
of the array.
Array Example: A parameter array called
VHZ_USER FREQ
has 11 elements.
Parameter Number
Parameter - VHZ_USER FREQ
0145
whole array
0146
index 0
0147
index 1
…
…
0157
index 10
If the parameter number of the whole array is 0145, then the parameter number of the element index 0 of
the array will be 0134, the parameter number of the element index 01 will be 0147, etc.
String
A string parameter may be accessed via its parameter number. This is in the format of a SHORT_STRING.
String arrays may not be accessed as a whole array but may be accessed via each element. Each element
has its own parameter number.