SmartPLC SafeLine AC4S with fieldbus interfaces
188
>
10.3.1
CtrlASi_InSlave
43258
Function block type:
Function block (FB)
Library:
sf_io.library
Symbol in CODESYS:
>
Description
43297
Function block (FB) to control the logical device of a safe AS-i input slave (ASi_SlaveAdr,
ASi_Master).
The programmer can carry out the following actions via CtrlASi_InSlave:
Unlock the logical device and reset it from the locked error state S_ERROR to the initialisation
state S_INIT (RESET)
The FB provides the following state and diagnostic information as non-safe data:
Logical values of the two safe code half-sequences of the AS-i input slave (Chan_A, Chan_B)
State of the FB processing (ready)
Error state of the function block (Error)
Diagnostic information of the logical device (DiagCode)
The function block can be instanced as often as required within the limits of CODESYS.
>
Input parameters
42984
Parameter
Data type
Description
Possible values
Enable
BOOL
FB activation
FALSE
FB is deactivated.
TRUE
FB is activated.
ASi_SlaveAdr
INT
Address of the safe AS-i slave
1
...
31
Slave address 1
...
slave address 31
ASi_Master
INT
AS-i master to which the safe
AS-i slave is connected.
1
AS-i Master 1
2
AS-i Master 2
Reset
BOOL
Control signal to reset the logical
device from the locked error state
(S_ERROR) to the initialisation
state (S_INIT).
FALSE
TRUE
Control signal is transmitted
other
No changes
The safe AS-i slave that is to be controlled by means of the FB must be inserted in the device
tree.
>