Siemens Sinumerik 840D sl Function Manual page 302

Sinumerik safety integrated
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Connecting Sensors/Actuators
7.5 Safe programmable logic (SPL)
-- SAFE.SPF is edited until the program can be executed without any alarms
with the restricted language scope.
-- MD $MC_PROG_EVENT_MASK, Bit 5=1
-- MD10095 $MN_SAFE_MODE_MASK, bit 2=0
-- SAFE.SPF is called when the system boots and with the restricted language
scope is executed error--free.
Configuration
The function is activated using machine data 20108 $MC_PROG_EVENT_MASK,
Bit 5=1. An existing SAFE.SPF call in a PROG_EVENT.SPF power on section or
in an ASUB can be removed. If the function is active, then only the restricted
language scope is possible in a SAFE.SPF. If the function is not active, then the
complete language scope is permitted in a SAFE.SPF. If MD
$MC_PROG_EVENT_MASK, Bit 5=0, then SAFE.SPF is not executed when the
system boots and errors are present.
Table 7-9
Block structure
Nxxx
XYZ:
/
;
Beginning of the program
PROC SAFE
Attributes, which are programmed in the PROC line
SBLOF
DISPLOF
ACTBLOCNO
DISPLON
SBLOF is always active, even if SBLOF is not programmed
Variable definition
DEF
DEFINE
Assignments
Values are assigned to variables with an = character. The value being assigned can either
be a constant or an algorithm If the value is a constant, the binary, hexadecimal or expo-
nential notation is possible.
'B0000001'
'H3C7F'
4.1EX--3
7-302
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) - - 10.2015 Edition
Permissible language commands for SAFE.SPF
;Block number
;Labels
;Skip, block skip
;Comment characters
;Empty line
;First operation in the program
;Single block skip
;Skip, block display
;For DISPLOF, for an alarm output the number of the
actual block
;Activate block display
;Creating GUDs
;Creating macros
;Binary notation
;Hexadecimal notation
;Exponential notation
© Siemens AG 2015 All Rights Reserved
10/15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics s120

Table of Contents