SmartPLC SafeLine AC4S with fieldbus interfaces
145
>
Set_AddressMode
42565
Function block type:
Function block (FB)
Library:
ACnnnn_Utils.library
Symbol in CODESYS:
>
Description
42425
The FB activates/deactivates the parameter "Automatic addressing" for the selected AS-i master.
>
Input parameters
42587
Parameter
Data type
Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
Don't execute FB
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
enAuto_Address_Mode ASI_ADDRESS_MODE Parameter
activates/deactivates the
automatic addressing mode.
Auto_address_disable Automatic
addressing inactive
Auto_address_enable Automatic
addressing active
>
Output parameters
42530
Parameter
Data type
Description
Possible values
xReady
BOOL
Signal indicates whether the execution
of the FB is completed.
FALSE
FB is inactive or being
executed.
TRUE
FB execution is completed.
xBusy
BOOL
Signal indicates whether the FB is
being executed.
FALSE
FB is deactivated or FB
execution is completed.
TRUE
FB execution has started but is
not yet completed.
xError
BOOL
Signal indicates whether errors
occurred while the FB was executed.
FALSE
FB is disabled or is being
executed or FB was executed
without error.
TRUE
An error occurred while the FB
was executed.
wDiagnostic
WORD
Diagnostic information
→ List below (Diagnostic codes)
Diagnostic codes:
0x0000
No specific error is set
>