11.03
4 Data Descriptions
4.4 System variable
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
4-267
The system variables are only set as reference if crosswise data comparison
errors occur.
The system variables are updated whether or not the SI monitoring functions
are active or not active.
The Stop F error codes that result in the system variables being set are listed in
Chapter 4.4.
Axial system variable that contains the current stop. In the case of a value of 2,
a Stop E is active for this axis.
Global system variable that uses a value not equal to 0 to indicate that a Stop E
is active on one of the axes.
The status signals of the NCK monitoring channel in the NCK-SPL can be used
via these system variables. Each of the system variables $A_INSI[1...64] can
be assigned any safety-relevant output signal or the AND operation of several
signals via axial MD $MA_SAFE_xxx_OUTPUT. These system variables can
only be read by the user program.
Parameterizing example
- $MA_SAFE_CAM_PLUS_OUTPUT[0] = 04010101H
=> SGA "Cam 1+" can be evaluated in the SPL via system variable
$A_INSI[1].
For a precise description of MD parameterization refer to Chapter 4, "Machine
data for SINUMERIK 840D".
Programming example
:
; Copying an SGA from the internal SPL interface
; into the external SPL interface (NCK I/O)
N1010 IDS = 01 DO $A_OUTSE[1] = $A_INSI[1]
These system variables can only be read by the user program.
The status signals of the NCK monitoring channel in the NCK-SPL can be
evaluated double-word-serial via this system variable:
$A_INSID[1] corresponds to $A_INSI[1...32]
$A_INSID[2] corresponds to $A_INSI[33...64]
These system variables can only be read by the user program.
The control signals of the NCK monitoring channel can be addressed from the
NCK-SPL via these system variables. Each of the system variables
$A_OUTSI[1...64] can be assigned any one or several safety-relevant input
signals simultaneously via the axial MD $MA_SAFE_ xxx_INPUT.
Parameterizing example
- $MA_SAFE_VELO_SELECT_INPUT[0] = 04010204H
=> SGE "SG selection, bit0" is controlled in the SPL via system variable
$A_OUTSI[36].
Programming example
:
; SGA "Cam 1+" (see above) controls SG selection
;
N1020 IDS = 02 DO $A_OUTSI[36] = $A_INSI[1]
System variable
$VA_STOPSI
System variable
$A_STOPESI
System variables
$A_INSI[1...64]
System variables
$A_INSID[1,2]
System variables
$A_OUTSI[1...64]