Siemens SINUMERIK 840D sl Function Manual page 233

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

Advertisement

05.08
;–––––––––––––––––––– Cycle definition ––––––––––––––––––
; Suppress single block, display
;––––––––––––––––––––––––––––––––––––––––––––––––––––––––
N100 PROC PROG_EVENT SBLOF DISPLOF
;
; NCK–SPL start
; –––––––––––––––––––––––––––––––––––––––––––––––––––––––
N200 IF ($P_PROG_EVENT == 4); Boot query
N300
N400 ENDIF
N500 ...
N600 ...
N700 M17 ; End of cycle
The part program SAFE.SPF is called if the system variable check
$P_PROG_EVENT indicated that the part program call PROG_EVENT.SPF was
called when the control system booted.
Example for SAFE.SPF
A simple example for SAFE.SPF will now be shown that is started using
PROG_EVENT when the system boots and includes steady–state synchronous
actions.
; File: SAFE.SPF
=============
; Definitions
DEFINE STOP_A_DISABLE AS $A_OUTSI[1]
DEFINE STOP_C_DISABLE AS $A_OUTSI[2]
DEFINE STOP_D_DISABLE AS $A_OUTSI[3]
;
DEFINE STOP_A_EXT AS $A_INSE[6]
DEFINE STOP_C_EXT AS $A_INSE[7]
DEFINE STOP_D_EXT AS $A_INSE[8]
DEFINE STOP_A_XT AS $A_INSE[9]
;
; Program section
N10 IDS=01 DO STOP_A_DISABLE=STOP_A_EXT
N20 IDS=02 DO $A_OUTSE[1]=NOT $A_OUTSE[1]
N30 M17
© Siemens AG 2008 All Rights Reserved
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) – 05.2008 Edition
CALL "/_N_CST_DIR/_N_SAFE_SPF"
Connecting Sensors/Actuators
7.3 Safe programmable logic (SPL)
7-233

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics s120

Table of Contents