Siemens SINUMERIK 840D sl Function Manual page 516

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

Advertisement

Data descriptions
9.7 System variable
$A_MARKERSID[2] corresponds to $A_MARKERSI[33...64]
$A_MARKERSID[3] corresponds to $A_MARKERSI[65...96]
$A_MARKERSID[4] corresponds to $A_MARKERSI[97...128]
$A_MARKERSID[5] corresponds to $A_MARKERSI[129...160]
$A_MARKERSID[6] corresponds to $A_MARKERSI[161...192]
System variables $A_TIMERSI[1...16]
Up to sixteen timers can be programmed using these system variables.
Programming example:
; set marker once after two seconds, reset the timer value and stop
the timer.
N1050 IDS = 05 WHENEVER $A_TIMERSI[1] > 2.0 DO
$A_TIMERSI[1] = 0.0 $A_TIMERSI[1] = -1.0
$A_MARKERSI[2] = 1
System variable $A_STATSID
This system variable can be using in the NCK-SPL to evaluate whether, in the crosswise data
comparison between NCK and PLC, an error was detected in the two-channel control/
processing of the control and status signals. This gives the user the opportunity to respond to
this error with specific synchronous actions.
Bit 0... 5=1: Error in I/O signals, markers or dynamic data of the F_SENDDP-/F_RECVDP
Bit 26=1:
Bit 27 = 1:
Bit 28 = 1:
Bit 29 = 1:
Bit 30 = 1:
Programming example:
; for a crosswise data comparison error, set ext. output
N1060 IDS = 06 WHENEVER $A_STATSID <> 0 DO $A_OUTSE[1] = 1
These system variables can only be read by the user program.
System variable $A_CMDSI[1]
This system variable can be used to increase the time up to 10 s monitoring the signal changes
in the crosswise data comparison between NCK and PLC.
516
communication.
PROFIsafe communication error occurred.
Error in CDC static data.
Crosswise data comparison error "SPL protection status" (status $MN_PRE‐
VENT_SYNACT_LOCK not equal to DB18.DBX36.0 (SPLReady)).
Time error in the communications between NCK and PLC (in 5 s, all ext. NCK-
SPL outputs are set to zero, the PLC goes to stop).
PLC signals a stop to the NCK.
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
Safety Integrated

Advertisement

Table of Contents
loading

Table of Contents