Siemens SINUMERIK 840D Description Of Functions page 389

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

Advertisement

11.03
; ----- TEST STOP TRIGGER via PLC
;
N9700 DEFINE TESTST_PLC
;
; ----- GENERAL DEFINITIONS
;
N9900 DEFINE BIT_0
N10000 DEFINE BIT_1
N10100 DEFINE BIT_2
N10200 DEFINE BIT_3
N10300 DEFINE BIT_4
N10400 DEFINE BIT_5
N10500 DEFINE BIT_6
N10600 DEFINE BIT_7
; PROGRAM EXCERPT (relevant sections only)
; Test stop (forced checking procedure / Phase 1/2)
N14000 IDS=41 EVERY TESTST_PLC == BIT_0 DO TESTSTOP_1 = 1
N14100 IDS=42 EVERY TESTST_PLC == BIT_1 DO TESTSTOP_2 = 1
; Test stop (external stops / STOP A/C/D)
N14200 IDS=43 EVERY TESTST_PLC == BIT_2 DO TEST_STOPA = 1
N14300 IDS=44 EVERY TESTST_PLC == BIT_3 DO TEST_STOPC = 1
N14400 IDS=45 EVERY TESTST_PLC == BIT_4 DO TEST_STOPD = 1
; The markers TEST_STOPA, TEST_STOPC, TEST_STOPD are also
combined into the STOP A, STOP C, STOP D de-selection in a similar way to
the SPL program of the configuration examples.
The byte in the dual port RAM ($A_DBB[5] "TESTST_PLC") is assigned the
value for the actual test step via the FC 21 from the PLC program, i.e. the
transfer FC 21 is active for the test stops.
Version 2: Data transfer via the simulated NCK-I/Os
It is also possible to replace the wiring by a bitwise (bit-serial) data transfer via
the DB 10.
Limitations
MD 10350
MD 10360
To use the function for data transfer, MD 10350 and 10360 must be set
depending on how many bytes are to be used for data exchange.
If real inputs and outputs are present, they can be used regardless of SI. In this
case, MD 10366 $MN_HW_ASSIGN_DIG_FASTIN and MD 10368
$MN_HW_ASSIGN_DIG_FASTOUT must be set in accordance with the
hardware configuration.
Data exchange can only be used for bytes for which there are no real inputs
and outputs.
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
$MN_FASTIO_DIG_NUM_INPUTS
Number of digital I bytes: 1...5 (standard value 1 - onboard inputs)
$MN_FASTIO_DIG_NUM_OUTPUTS
Number of digital Q bytes: 1...5 (standard value 0)
7.3 Safety Integrated with SPL
AS $A_DBB[5]
AS 1
AS 2
AS 4
AS 8
AS 16
AS 32
AS 64
AS 128
7 Configuring example
7-389

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simodrive 611 digital

Table of Contents