SmartPLC SafeLine AC4S with fieldbus interfaces
199
>
10.3.7
SetLocalOutput
43136
Function block type:
Function block (FB)
Library:
sf_io.library
Symbol in CODESYS:
>
Description
43283
Function block (FB) for access to a non-safe output channel of the local I/O interface (OUT_Channel)
The programmer can carry out the following actions via SetLocalOutput:
Provide a non-safe Boolean value (OUT) at the selected output channel
The FB provides the following state and diagnostic information:
State of the FB processing (ready)
Error state of the function block (Error)
>
Input parameters
42974
Parameter
Data type
Description
Possible values
Enable
BOOL
FB activation
FALSE
FB is deactivated.
TRUE
FB is activated.
OUT_Channel
INT
Local output to which the
actuator is connected.
1
...
4
Local output OUT1
...
local output OUT4
OUT
BOOL
Required logical state of the local
output channel
FALSE
OFF
TRUE
ON
The outputs of the local I/O interface can only implement a maximum switching frequency of
25 Hz.
► When digital signals are generated at the local outputs, observe the minimum switch-on or
switch-off time of 20 ms.
>
Output parameters
43080
Parameter
Data type
Description
Possible values
Ready
BOOL
Status of the FB processing
(validity of the output signals)
FALSE
FB not completely processed or
deactivated; signals are invalid
TRUE
FB completely processed; signals are
valid
Error
BOOL
Error indication
FALSE
No error
TRUE
Error occurred during FB execution
>