Diagnostics/Commissioning - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

G04 F
End of program
ENDPROC
RET
M17
M02
M30
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".
8.5.7

Diagnostics/commissioning

The system variables $A_INSIP(D), $A_OUTSIP(D), $A_INSEP(D) and $A_OUTSEP(D), and
$A_MARKERSIP(D) are only used for diagnostics and commissioning 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:
● Crosswise data comparison function can be temporarily bypassed
● 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 comparison 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 $AOUTSED[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]= $A_MARKERSIPD[1]
IDS = 10 DO $A_MARKERSID[2]= $A_MARKERSIPD[2]
Safety Integrated
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
;Dwell time (group 2)
;End line of program with start line PROC
;Without output to the PLC
;The RET command without parameter can now be programmed in a
;main program.
;No output to the PLC
;No output to the PLC
;No output to the PLC
= $A_OUTSEPD[1]
= $A_OUTSEPD[2]
= $A_OUTSIPD[1]
= $A_OUTSIPD[2]
Connecting sensors and actuators
8.5 Safe programmable logic
275

Advertisement

Table of Contents
loading

Table of Contents