Siemens SINUMERIK 840D Description Of Functions page 269

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

Advertisement

11.03
System variables
The external status signals can be addressed double-word-serial from the
$A_OUTSED[1,2]
NCK-SPL via 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 and written by the user program.
Up to 64 status bits of the SPL can be flagged via these system variables. The
System variables
$A_MARKERSI[1...64]
markers are read and written directly in the NCK-SPL.
Programming example:
N1030 IDS = 03 DO $A_MARKERSI[2] = $A_OUTSI[1] AND
N1040 IDS = 04 DO $A_OUTSE[1] = $A_MARKERSI[2]
System variables
The SPL status bits can be addressed word-serial via these system variables.
$A_MARKERSID[1,2]
$A_MARKERSID[1] corresponds to $A_MARKERSI[1...32]
$A_MARKERSID[2] corresponds to $A_MARKERSI[33...64]
System variables
Up to sixteen timer stages can be programmed using these system variables.
$A_TIMERSI[1...16]
Programming example:
; Set marker once after two seconds, reset
; timer value and stop timer.
N1050 IDS = 05 WHENEVER $A_TIMERSI[1] > 2.0 DO
System variable
This system variable can be used in the NCK-SPL to evaluate whether, in the
$A_STATSID
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 special synchronous
actions.
Programming example:
; For crosswise data comparison error, set the ext. output
N1060 IDS = 06 WHENEVER $A_STATSID <> 0 DO $A_OUTSE[1] = 1
The user program can only read this system variable.
System variable
The system variable can be used to increase the time up to 10 s for the signal
change monitoring in the crosswise data comparison between NCK and PLC.
$A_CMDSI[1]
This extension is used, among other things, to carry-out the test stop function
that must be separately perform for the NCK and drive monitoring channel.
Signal differences between the NCK and PLC system variables up to a period
of 10s are tolerated without Alarm 27090 being output.
This system variable can be read and written by the user program.
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
$A_INSE[2]
$A_TIMERSI[1] = 0.0 $A_TIMERSI[1] = -1.0
$A_MARKERSI[2] = 1
4 Data Descriptions
4.4 System variable
4-269

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simodrive 611 digital

Table of Contents