15
04.00 Tables
15.2 List of s
stem variables
15
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
15-543
Identifier Type Description: System variable/value range/index Part pro Sync O S
$P_PATH
STRIN
G
$P_PATH[0] returns the directory of the current main program,
e.g. "_N_WCS_DIR/_N_SHAFT_WPD"
The variable is used to store a subroutine generated with WRITE, for
example, in the same directory where the calling program resides:
DEF INT ERROR
WRITE (ERROR, $P_PATH[$P_STACK – 1] << _N_LIST_MPF, "X10
Y20")
If the current program is called from the main program directory, a
new file /_N_MPF_DIR/_N_LIST_MPF is created
Defines the program level from which the program path is to be read
R5
.
1
$P_ACTID
BOOL $P_ACTID[n]
Modal synchronized action with ID n active if TRUE
n: 1–16
R2
15.2.24 Channel statuses
$AC_STAT
INT $AC_STAT
–1: Invalid
0: Channel in reset mode
1: Channel interrupted
2: Channel active
R4
$AC_PROG
INT $AC_PROG
–1: Invalid
0: Program in reset mode
1: Program stopped
2: Program active
3: Program waiting
4: Program interrupted
R4
$AC_SYNA_MEM
INT $AC_SYNA_MEM
Free memory for motion-synchronized actions
indicated how many elements of the memory occupied by
$MC_MM_NUM_SYNC_ELEMENTS are still free,
can be read from the part program and motion-synchronized actions
R4
$AC_IPO_BUF
INT $AC_IPO_BUF
Level of interpolation buffer,
can be read from the part program and motion-synchronized actions
The status is read from the part program without feedforward stop
while interpreting the block
R4
$AC_IW_STAT
INT $AC_IW_STAT
Position information of the articulated joints (transformation-specific)
for PTP travel
RS R 5
.
2