Language Scope For Safe.spf - Siemens SINUMERIK 840D sl Function Manual

Safety integrated
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Connecting sensors and actuators
8.5 Safe programmable logic
Parameterizing FC9
Signal
Start
ChanNo E
IntNo
Active
Done
Error
[values in brackets are standard values required for the call]
8.5.6

Language scope for SAFE.SPF

Precondition
In order that no NC alarms are output when the SINUMERIK control boots, which prevent a
started SAFE.SPF being completely executed, it is necessary to define a restricted language
scope for SAFE.SPF. It is not permissible that commands are programmed which access the
PLC or drives.
If a SAFE.SPF is tested or commissioned with a restricted language scope, then every Alarm
15189 "Channel %1 Block %2 Error when executing SAFE.SPF" requires a power on. To
prevent this, MD10095 $MN_SAFE_MODE_MASK bit 2 can be set = 1.
Now, the restricted language scope is active each time that SAFE.SPF is called using the
command CALL<path name>. For instance, the call can be made from MDI or
PROG_EVENT.SPF at reset. For commands, which are not included in the language scope,
only Alarm 15420 "Channel %1 Channel %2 Instruction in current mode not allowed" is output
and not Alarm 15189. Alarm 15420 can be cleared with a reset.
In order to change over an existing SAFE.SPF to a restricted language scope, it is possible to
proceed as follows for example:
● MD20108 $MC_PROG_EVENT_MASK, bit 5 = 0
● In the PROG_EVENT.SPF, remove the SAFE.SPF call from the power on section or the
SAFE.SPF call from the ASUB.
● MD10095 $MN_SAFE_MODE_MASK, bit 2 = 1
● SAFE.SPF is not called when the system boots
● SAFE.SPF is now called with CALL "_N_CMA_DIR_/_N_SAFE_SPF" e.g. from MDI or
PROG_EVENT at RESET. The
can be cleared with RESET.
● SAFE.SPF is edited until the program can be executed without any alarms with the
restricted language scope.
270
In‐
Type
Value range
put
or
out
put
E
Bool
Int
1 to 10 [1]
E
Int
1 - 8 [1]
A
Bool
A
Bool
A
Boo
Remark
No. of the NC channel
Interrupt No.
1 = active
1 = ASUB completed
restricted language scope is now active, alarms that occur
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
Safety Integrated

Advertisement

Table of Contents
loading

Table of Contents