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 #144 background imageLoading...
Page #144 background image
3 Safety-Related Functions 11.03
3.10 Safe programable logic (SPL) (840D SW 4.4.18)
© Siemens AG 2003 All Rights Reserved
3-144 SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
3.10.3 Starting the NCK-SPL from the PLC user program
The NCK-SPL can also be started by the PLC user program. As soon as the
NCK-SPL is started, crosswise data comparison is activated in the system
program (NCK and PLC basic program).
The NCK-SPL program must be started as an asynchronous sub-routine. For
this, the interrupt number and channel must first be assigned via FB4 using
function ASUP (asynchronous subroutine), via parameter
PIService="PI.ASUP".
As soon as FB4 has been successfully completed (output parameter
"Done"=TRUE) the program is executed via FC9 "ASUP".
The PLC-SPL has started in the PLC user program in conjunction with the start
of the NCK-SPL via FB4/FC9 if the FC9 has signaled successful execution and
identified that the end of SAFE.SPF has been reached via a signal in
SAFE.SPF (e.g. $A_PLCSIOUT variable, M function or, from SW 6.4.15
onwards, SPL status bit 13 (DB18.DBX137.5)).
There is an additional bit in the SPL status that can be used to synchronize
NCK-SPL execution and the start of the PLC-SPL.
DB18.DBX137.5 (status bit 13) (from SW 6.4.15)
This bit is set if the end of the SAFE.SPF program is identified. In conjunction
with this, the end IDs M02, M17 or M30 are permissible for SAFE.SPF as end
of program.
If an error occurs while executing SAFE.SPF, and the end of the program is not
reached (e.g. M17), then bit 13 is not set in the SPL status.
This bit can be used in the PLC user program to start the PLC-SPL. This
means that the PLC-SPL only starts if the NCK-SPL was completely execution.
FB 4 may only be started in the cyclic mode (OB 1)
Table 3-62 Parameterizing FB 4
Signal Type Value range Meaning
Reg
PIService ANY PI.ASUP Assign interrupt
Unit INT 1 to 10 [1] Channel
WVar1 INT [1] Interrupt number
WVar2 INT [1] Priority
WVar3 INT 0/1 [0] LIFTFAST
WVar4 INT 0/1 [0] BLSYNC
Addr1 STRING '/_N_CST_DIR/' NCK-SPL path name
Addr2 STRING '_N_SAFE_SPF' NCK-SPL program name
[values in brackets are default values for the call]
Table 3-63 Parameterizing FC 9
Signal Type Value range Remarks
Start I Bool
ChanNo I Int 1 to 10 [1] No. of NC channel
IntNo I Int 1 – 8 [1] Interrupt no.
Active O Bool 1 = active
Program start
Starting the PLC-SPL
SPL status signals
Parameterizing FB 4
Parameterizing FC 9

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