EasyManuals Logo

Siemens SINUMERIK 840D Description Of Functions

Siemens SINUMERIK 840D
494 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #143 background imageLoading...
Page #143 background image
11.03 3 Safety-Related Functions
3.10 Safe programable logic (SPL) (840D SW 4.4.18)
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
3-143
; -------------------------------------------------------
; System variable $P_PROG_EVENT can be used to
; interrogate as to which event activated the call:
; ( ) start of program --> $P_PROG_EVENT == 1
; ( ) end of program --> $P_PROG_EVENT == 2
; ( ) operator panel reset --> $P_PROG_EVENT == 3
; (x) run-up --> $P_PROG_EVENT == 4
;
;-------------------- Cycle definition ------------------
; Suppress single block, display
;--------------------------------------------------------
N100 PROC PROG_EVENT SBLOF DISPLOF
;
; NCK-SPL start
; -------------------------------------------------------
N200 IF ($P_PROG_EVENT == 4); interrogate run-up
N300 CALL "/_N_CST_DIR/_N_SAFE_SPF"
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 PROG_EVENT.SPF was
called when the control system ran-up.
A simple example for SAFE.SPF will now be shown that is started via
PROG_EVENT when the system runs-up and includes status 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
Example for SAFE.SPF

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals