Siemens SINUMERIK 840D sl Function Manual page 336

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

Advertisement

Data Description
8.4 System variables
System variables $A_OUTSED[1,2]
The external status signals can be addressed by the NCK-SPL in a double-word-
serial fashion using these system variables:
$A_OUTSED[1] corresponds to $A_OUTSE[1...32]
$A_OUTSED[2] corresponds to $A_OUTSE[33...64]
These system variables can be read by the user program and written into by
SAFE.SPF.
System variables $A_MARKERSI[1...64]
Up to 64 status bits of the SPL can be flagged using these system variables. The
markers are read and written directly into the NCK-SPL.
Programming example:
N1030
IDS = 03 DO $A_MARKERSI[2] = $A_OUTSI[1] AND $A_INSE[2]
N1040
IDS = 04 DO $A_OUTSE[1] = $A_MARKERSI[2]
System variables $A_MARKERSID[1,2]
The SPL status bits can be addressed in a word-serial fashion using these system
variables.
$A_MARKERSID[1] corresponds to $A_MARKERSI[1...32]
$A_MARKERSID[2] corresponds to $A_MARKERSI[33...64]
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
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.
8-336
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) – 03.2006 Edition
$A_TIMERSI[1] = 0.0 $A_TIMERSI[1] = –1.0
$A_MARKERSI[2] = 1
© Siemens AG, 2006. All rights reserved
03.06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics s120

Table of Contents