97
ifm
Programming Manual AS-i Gateway AC14 (4.2.x)
12/2017
Appendix
Library ACnnnn_Utils.library
>
Set_ProjectAll
16023
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
16161
The FB starts the projection adaptation on the selected AS-i master.
>
Input parameters
16125
Parameter
Data type
Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
Stop FB execution
TRUE
Start one-time FB execution
enASi_Master
ASI_MASTER
Select AS-i master
Master_1
AS-i master 1
Master_2
AS-i master 2
>
Output parameters
17020
Parameter
Data type
Description
Possible values
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
0x0003
Slave with address 0 found (slave not detected)
0x0019
Master not in the projecting mode