7 Configuring example
11.03
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
7-388
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
7.3.6 Test
stop
The test stop is conducted at a suitable time (e.g. after eight hours have
elapsed and the protective door has been opened). In order to perform various
tests on the NC side, signals must be transferred from the PLC to the NCK.
In this example, this is implemented by connecting the PLC outputs to the NCK
inputs.
PLC
Q49.0
Test stop 1
NCK
Q49.1
Q49.2
Q49.3
Q49.4
I9
I10
I11
I12
I13
Test stop 2
Test: STOP A
Test: STOP C
Test: STOP D
Fig. 7-11
SGE wiring to select test stop
There are two ways of replacing this wiring by internal data transfer between
the PLC and NCK. These two methods are described below.
Version 1: Data transfer via the FC 21
An example using of the FC21 is provided in the FC97 for an automatic
EMERGENCY STOP acknowledgment after test stop phase III. The FC 21 is
used to transfer a byte (the smallest transferable data structure for the FC 21)
from the PLC to the NCK via the dual-port RAM (DPR).
An equivalent method to this is to define for each test stop step (test stop 1, test
stop 2, test STOP A, test STOP C, test STOP D) a byte value that corresponds
to the particular step.
Example:
Excerpt from an SPL program that shows how to proceed (this is not part of the
actual configuration example).
;DEFINITIONS (relevant sections only)
;
; ---- Internal interfaces: OUTSI -> SI-SGE;
;
N6500 DEFINE TESTSTOP_1 AS $A_OUTSI[9] ; vgl. MD 36975
N6600 DEFINE TESTSTOP_2 AS $A_OUTSI[10] ; vgl. MD 36975
;
; ---- Internal interfaces: Markers
;
N8700 DEFINE TEST_STOPA AS $A_MARKERSI[11]
N8800 DEFINE TEST_STOPC AS $A_MARKERSI[12]
N8900 DEFINE TEST_STOPD AS $A_MARKERSI[13]
;
Description
Circuit diagram
Supplying SGE to
select test stop (NCK)
without wiring