119
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
ASI_ANALOG_IN (STRUCT)
15994
The structure contains the process data of the analogue input slave as well as the transmitted status
flags.
Designation
Data type
Description
Possible values
chan_1
INT
Analogue value channel 1:
S or A input slave
corresponds to the 1st to 4th word of an
area comprising 5 words in the acyclic data
records 3 and 4 (DS3+4)
→
DS3 – Analogue inputs of slaves 1(A)...15(B)
→
DS4 – Analogue inputs of slaves 16(A)...31(B)
chan_2
INT
Analogue value channel 2:
S or A input slave
chan_3
INT
Analogue value channel 3:
S or B input slave
chan_4
INT
Analogue value channel 4:
S or B input slave
flags
ASI_ANALOG_OUT_
FLAGS
Status flags
→
ASI_ANALOG_IN_FLAGS (STRUCT)
(
→ p.
>
ASI_ANALOG_IN_FLAGS (STRUCT)
15996
The structure contains the status flags of the analogue input slave.
Name
Data type
Description
Possible values
V0
BOOL
Valid bit, channel 1
corresponds to the fifth word of an area
comprising 5 words in the acyclic data
records 3 and 4 (DS3+4)
→
DS3 – Analogue inputs of slaves 1(A)...15(B)
→
DS4 – Analogue inputs of slaves 16(A)...31(B)
O0
BOOL
Overflow bit, channel 1
V1
BOOL
Valid bit, channel 2
O1
BOOL
Overflow bit, channel 2
V2
BOOL
Valid bit channel 3
O2
BOOL
Overflow bit, channel 3
V3
BOOL
Valid bit, channel 4
O3
BOOL
Overflow bit, channel 5
na1
BOOL
--
TOA
BOOL
Transfer output, S/A slave
na2
BOOL
--
TOB
BOOL
Transfer output, B slave
na3
BOOL
--
TIA
BOOL
Transfer input, S/A slave
na4
BOOL
--
TIB
BOOL
Transfer input, B slave