SmartPLC SafeLine AC4S with fieldbus interfaces
194
>
10.3.4
CtrlLocalInputs
43259
Function block type:
Function block (FB)
Library:
sf_io.library
Symbol in CODESYS:
>
Description
43311
Function block (FB) to control the logical device for two input channels of the local I/O interface
(IN_Channel_A, IN_Channel_B)
The programmer can carry out the following actions via CtrlLocalInputs:
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:
Logical values of the two input channels (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 FB can be instanced as often as required within the limits of CODESYS.
>
Input parameters
42978
Parameter
Data type
Description
Possible values
Enable
BOOL
FB activation
FALSE
FB is deactivated.
TRUE
FB is activated.
IN_Channel_A
INT
Local input to which sensor
channel A is connected.
1
...
8
Local input IN1
...
local input IN8
IN_Channel_B
INT
Local input to which sensor
channel B is connected.
1
...
8
Local input IN1
...
local input IN8
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
>