66
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Output parameters
16120
Parameter
Data type
Description
Possible values
dwLDS_SA_Slaves
DWORD
List of detected S/A slaves. Each bit
represents an AS-i address:
Bit 0 (LSB) = address 0
...
Bit 31 (MSB) = address 31/31A
Per bit:
0
no slave detected
1
slave detected
dwLDS_B_Slaves
DWORD
List of detected B slaves. Each bit
represents an AS-i address:
Bit 0 (LSB) = not used
Bit 1 = address 1B
...
Bit 31 (MSB) = address 31B
Per bit:
0
No slave detected
1
Slave detected
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
>