10/15
Note
All language commands, which are not listed in this table, result in NC alarms
15189 "Channel %1 Block %2 Error when executing SAFE.SPF" and 15420
"Channel %1 Block %2 Instruction in current mode not allowed".
Additional information on the complete NCK language scope can be found under:
References: Programming Manual Fundamentals, Chapter 16 "Tables".
7.5.7
Diagnostics/commissioning
The system variables $A_INSIP(D), $A_OUTSIP(D), $A_INSEP(D) and $A_OUT-
SEP(D), and $A_MARKERSIP(D) are only used for diagnostics and commission-
ing the NCK--SPL. These system variables represent the input data for crosswise
data comparison on the PLC side. They are updated every IPO cycle. They can
also be used to access the CDC on the PLC side from the NC. This helps when
commissioning the SPL:
S Crosswise data comparison function can be temporarily bypassed
S NCK--SPL can be simulated to the process and to the NCK monitoring channel.
To do this, the relevant PLC images are written to the variables $A_OUTSED
and $A_OUTSID as long as there is no NCK--SPL. This means that the NCK--
SPL can be commissioned step--by--step. This data may only be accessed
during the commissioning phase.
In order to allow the SPL to be commissioned without the crosswise data compari-
son function constantly responding, the following "minimum NCK--SPL" can be
installed in this phase:
; Simulate external SPL interface
IDS = 03 DO $A_OUTSED[1]
IDS = 04 DO $A_OUTSED[2]
; Simulate internal SPL interface
IDS = 07 DO $A_OUTSID[1]
IDS = 08 DO $A_OUTSID[2]
; Emulate PLC markers (for all markers used in the PLC)
IDS = 09 DO $A_MARKERSID[1]
IDS = 10 DO $A_MARKERSID[2]
; End of program
M17
These instructions simulate the output interfaces of the NCK--SPL and therefore
"short--circuit" the crosswise data comparison.
© Siemens AG 2015 All Rights Reserved
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) - - 10.2015 Edition
Connecting Sensors/Actuators
7.5 Safe programmable logic (SPL)
=
$A_OUTSEPD[1]
=
$A_OUTSEPD[2]
=
$A_OUTSIPD[1]
=
$A_OUTSIPD[2]
=
$A_MARKERSIPD[1]
=
$A_MARKERSIPD[2]
7-307