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-145
Done
O
Bool
1 = ASUB terminated
Error O
Bool
[values in brackets are default values for the call]
3.10.4
Linking the NCK-SPL to the I/O and monitoring channel
Access to the I/O and the link to the NCK monitoring channel are illustrated in
the diagram below.
NCK
monitoring channel
SBH/SG
SE
SN
per axis/spindle
internal
SGE
SGA
Monitoring
comparators
SPL_01.DSF
$A_INSE[1]
...
$A_INSE[64]
$A_OUTSE[1]
...
$A_OUTSE[32]
$A_OUTSE[33]
...
$A_OUTSE[64]
HW I/Os
external
I/Os
NCK-SPL
internal
I/Os
SGE...
SGE...
SGE...
SGE...
SGA...
SGA...
SGA...
SGA...
MD 10090: $MN_SAFE_IN_HW_ASSIGN[n], n = 0 ... 3
MD 10092: $MN_SAFE_OUT_HW_ASSIGN[n], n = 0 ... 7
$A_OUTSI[1]
...
$A_OUTSI[64]
$A_INSI[1]
$A_INSI[64]
...
I1
I2
...
In
O1
O2
...
On
Fig. 3-34
Input/output variables for the NCK-SPL
The following system variables are available for binary and double-word-
oriented access (32 bits) to the NCK-SPL interfaces:
Table 3-57
System variables for the NCK-SPL
System variables
Description
Binary Word-oriented
$A_INSE[1 ... 64]
$A_INSED[1..2]
System variable for external inputs
$A_OUTSE[1 ... 64]
$A_OUTSED[1..2]
System variable for external outputs
$A_INSI[1 ... 64]
$A_INSID[1..2]
System variable for internal inputs
$A_OUTSI[1 ... 64]
$A_OUTSID[1..2]
System variable for internal outputs
Note:
Reading/writing of wordwise (word-serial) variables is the same as access to the binary
variables.
The variables shown here and other variables are described later on in this section.
The following machine data is available for linking to the I/Os (external
inputs/outputs) (cf. diagram above):
Description
System variables
Linking to the I/Os