![background image](http://html1.mh-extra.com/html/ifm/ac1401/ac1401_programming-manual_3896314113.webp)
113
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
9.1.3
Enumeration types and complex variables
Enumeration types (ENUM)..................................................................................................................113
Complex variables (STRUCT) ..............................................................................................................115
15986
In addition to the standard data types, the CODESYS package from ifm electronic also features the
following enumeration types (ENUM) and complex variables (STRUCT):
>
Enumeration types (ENUM)
16176
The library
ACnnnn_Utils
provides the following enumeration types (ENUM):
>
ASI_ADDRESS_MODE (ENUM)
16177
Designation
Description
Variable
Data type Value
ASI_ADDRESS_MODE
AS-i autoaddressing mode
Auto_address_enable
INT
0
Auto_address_disable
INT
1
>
ASI_MASTER (ENUM)
16178
Designation
Description
Variable
Data type Value
ASI_MASTER
Identifier for AS-i masters
Master_1
INT
1
Master_2
INT
2
>
ASI_MASTER_MODE (ENUM)
16179
Designation
Description
Variable
Data type Value
ASI_MASTER_MODE
Operating mode of the AS-i master
Closed_mode
INT
0
Project_mode
INT
1