SmartPLC SafeLine AC4S with fieldbus interfaces
79
8.4
Use safety functions of CODESYS
43026
3S provide several libraries in the programming environment CODESYS Safety. They contain certified
function blocks (FB) by means of which the programmer can create safe applications for the fail-safe
PLC of AC4S. The libraries are automatically loaded during the creation of a safety project by means
of AC4S (
→
Create new project with AC4S
(
)). The user can access the elements of the
libraries via the library manager in the safety extension area of the device tree.
Following libraries are available:
SafetyStandard library
(
SafetyPLCopen library
(
SafetyFSoEMaster library
(
>
8.4.1
SafetyStandard library
43044
The library
SafetyStandard.lib
provides safe versions of standard functions (counters, timers,
triggers, bistable functions). The library contains the following functions:
Function block
Description
SF_RS
Safe bistable function block with dominant setting
SF_SR
Safe bistable function block with dominant resetting
SF_CTD
Safe counter (down)
SF_CTUD
Safe counter (up)
SF_TOF
Safe timer with switch-off delay
SF_TON
Safe timer with switch-on delay
SF_TP
Safe timer with clock generator
SF_F_TRIG
Safe trigger with falling-edge detection
SF_R_TRIG
Safe trigger with rising-edge detection
The developer is responsible for the use of the safety standard function blocks provided in
CODESYS.
► Observe availability of the FBs (→
Supported program organization units (POUs)
(
The complete documentation of the
SafetyStandard.lib
can be accessed via the online
help of CODESYS Safety:
→ Online help > Add-Ons > CODESYS Safety > Libraries > SafetyStandard