10
12.97 Motion-Synchronous Action
10.3 S
ecial real-time variables for s
nchronized actions
10
840 D
NCU 571
840D
NCU 572
NCU 573
FM-NC
810D
CCU2
840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10-353
10.3 Special real-time variables for synchronized actions
The real-time variables listed below can be used in
synchronized actions:
10.3.1 Flags/counters $AC_MARKER[n]
Function
Flag variables can be read and written in
synchronized actions.
Channel-specific flags/counters
$AC_MARKER[n]
Data type: INTEGER
A channel-specific flag variable exists under the
same name once in each channel.
Example:
WHEN ... DO $AC_MARKER[0] = 2
WHEN ... DO $AC_MARKER[0] = 3
WHEN $AC_MARKER == 3 DO $AC_OVR=50
10.3.2 Timer variable $AC_TIMER[n], as from SW 4
Function
(not 840D NCU 571, FM-NC)
The system variable $AC_TIMER[n] allows actions
to be started following defined waiting times.
Data type: REAL
Units: s
n: Number of the timer variable
•
Set timer
A timer variable is incremented via value
assignment $AC_TIMER[n]=value