![background image](http://html1.mh-extra.com/html/ifm/ac1401/ac1401_programming-manual_3896314086.webp)
86
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Output parameters
16138
Parameter
Data type
Description
Possible values
abList_SA_Slave
ARRAY[0..31]
OF BYTE
List of output parameters of S/A
slaves in the selected AS-i master.
Each byte contains the output
parameters of an AS-i slave.
– byte 0 (LSB) = res.
– byte 1 = slave with address 1(A) ...
– byte 31 = slave with address 31(A)
Per byte:
Bits 0...3:
P0-P3
abList_B_Slave
ARRAY[0..31]
OF BYTE
List of output parameters of B slaves
in the selected AS-i master. Each byte
contains the output parameters of an
AS-i slave.
– byte 0 (LSB) = res.
– byte 1 = slave with address 1B
...
– byte 31 = slave with address 31B
Per byte:
Bits 0...3:
P0-P3
xReady
BOOL
Signal indicates if the execution of the
FB is terminated.
FALSE
FB is inactive or being
executed.
TRUE
FB execution is terminated.
xBusy
BOOL
Signal indicates if the FB is executed.
FALSE
FB is deactivated or FB
execution is terminated.
TRUE
FB execution is started but not
yet terminated.
xError
BOOL
Signal indicates if errors occurred
while the FB was executed.
FALSE
FB is disabled or presently
executed or FB was executed
without error.
TRUE
An error occurred when the FB
was executed.
wDiagnostic
WORD
Diagnostic information
→ List below (Diagnostic codes)
Diagnostic codes:
0x0000
No specific error is set
0x0F01
Unknown error
0x0F02
Unknown/invalid target
0x0F03
Unknown command ID
0x0F04
Invalid parameters
0x0F05
Timeout during processing