ABB AC500-S Safety User Manual page 148

Hide thumbs Also See for AC500-S:
Table of Contents

Advertisement

Configuration and programming
System configuration and programming > Programming of AC500-S safety CPU
7.
148
Start programming your safety application.
NOTICE!
ST, FBD and LAD are the only IEC 61131 languages supported by the
safety CPU for safety programming. Pay attention to CODESYS Safety
programming guidelines
guidelines" on page 172. ST with a subset defined in
equivalent to the limited variability language, as defined in IEC 61508.
NOTICE!
Do not create global variable lists using names beginning with the prefix
"S_Module_". Global variable lists starting with "S_Module_" will be auto-
matically updated by the CODESYS Safety and may lead to the loss of
the user information.
For the safety PLC, it is important that all F-Devices are successfully initialized before pro-
gram logic execution starts. F-Devices start in FV_activated mode
PROFIsafe F-Host stack: Chapter 4.6.3 SafetyBase_PROFIsafe_LV200_AC500_V22.lib
on page 187. To realize a simultaneous start, we recommend using an own special POU,
similar to SF_Startup explained below, which handles various possible start-up scenarios
in PROFIsafe specification
normal safety program logic execution. As you can see from the implementation below, it
is enough if at least one of the channels in DI581-S module has PROFIsafe diagnostic bit
set to 1, meaning that normal process values can be delivered.
Declaration part
FUNCTION_BLOCK SF_Startup
VAR_OUTPUT
Ready: BOOL; (* Set to TRUE if all safety modules are
initialized *)
END_VAR
VAR
bTempReady: BOOL; (* Set to TRUE if DI581-S safety module is
ready *)
END_VAR
VAR CONSTANT
_TRUE: BOOL := TRUE; (* Constant because TRUE is a literal *)
_FALSE: BOOL := FALSE; (* Constant because FALSE is a literal
*)
wdNull: WORD := 16#0000; (* Constant for Safety I/O
initialization *)
END_VAR
VAR_EXTERNAL
DI581_S: PROFIsafeStack; (* External declaration *)
END_VAR
Implementation part
(* Check if operator acknowledge is required for F-Device *)
3ADR025091M0208, 12, en_US
Ä Chapter 4.4 "CODESYS Safety programming
Ä [3] and then gives "Ready" output as a trigger for further
Ä Chapter 4.4 is
Ä more details on
2020/06/19

Advertisement

Table of Contents
loading

Table of Contents