SmartPLC SafeLine AC4S with fieldbus interfaces
73
>
8.2.1
Supported program organization units (POUs)
42982
The programming code is entered in the POUs (program organization unit). CODESYS Safety
provides 2 POU types for safe programming. They differ in the scope of usable functions.
Usable elements
Basic POU
Extended POU
General elements
Network, assignment, input
Network, assignment, input, jump, return
Boolean operators
AND, OR
AND, OR, XOR, NOT
Other operators
–
SEL, MUX
Mathematical operators
–
ADD, SUB, MUL, DIV, EQ, NE LT, LE, GT,
GE
Safety standard functions
(safetystandard.lib)
SF_CTD, SF_CTUD, SF_CTU, SF_TOF,
SF_TON, SF_TP
SF_RS, SF_SR, SF_CTD, SF_CTUD,
SF_CTU, SF_TOF, SF_TON, SF_TP,
SF_F_TRIG, SF_R_TRIG
Safety PLCopen functions
(safetyplcopen.lib)
All
All
For using extended POUs the developer must be a member of the user group
"Safety.ExtendedLevel" (
→
Create user account
(
The use of extended POUs requires a more complex verification process due to the higher
complexity of the program code.
► If possible, only use basic POUs to create a safe application.
The "SafetyPOU" created during the creation of the safety project is of type Basic POU
(
→
Objects of a safe application
(
>
8.2.2
Available safety libraries
43262
To create safe applications the programmer can use the following libraries with certified safety
functions:
Library
Description
Reference
sf_io.library
Device-specific safety function blocks
→
Use safety functions of the ifm AS-i
package
(
→ S.
safetystandard.library
Safe standard function blocks
(bistable function blocks, counters, timers, triggers)
→
SafetyStandard library
(
→ S.
safetyplcopen.library
Safety function blocks of PLCopen Safety
→
SafetyPLCopen library
(
→ S.
safetyfsoemaster.library
Function block for FSoE transmission
→
SafetyFSoEMaster library
(
→ S.
>
8.2.3
Supported programming languages
43021
Following table shows which programming languages according to IEC 61131-3 are supported by
certified safety libraries: