SmartPLC SafeLine AC4S with fieldbus interfaces
170
>
10.1.3
Enumeration types and complex variables
Content
Enumeration types (ENUM)..................................................................................................................170
Complex variables (STRUCT) ..............................................................................................................172
42434
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)
42432
The library
ACnnnn_Utils
provides the following enumeration types (ENUM):
>
ASI_ADDRESS_MODE (ENUM)
42501
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)
42505
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)
42504
Designation
Description
Variable
Data type Value
ASI_MASTER_MODE
Operating mode of the AS-i master
Closed_mode
INT
0
Project_mode
INT
1