
B-63944EN/02 PROGRAMMING 16.CUSTOM MACRO
- 391 -
NOTE
1 The status of a programmable mirror image is not
reflected on this variable.
2 When the mirror image function is set for the same
axis by the mirror image signal and setting, the
signal value and setting value are ORed and then
output.
3 When mirror image signals for axes other than the
controlled axes are turned on, they are not read
into system variable #3007.
- Status during restart of a program #3008 (Attribute: R)
Whether a program is restarting can be determined by reading #3008.
Variable number Variable name Description
#3008 [#_PRSTR] 0: Program is not restarting.
1: Program is restarting.
- Time #3011, #3012 (Attribute: R)
Year/month/date and hour/minute/second can be obtained by reading
system variables #3011 and #3012. This variable is read-only. To
change year/month/date and hour/minute/second, use the timer screen.
[Example] May 20, 2004, PM 04:17:05
#3011 = 20040520
#3012 = 161705
- Total number of parts and the number of required parts #3901 and #3902
(Attribute: R/W)
The number of required parts and the number of machined parts can
be displayed on the screen by using the operation time and part
number displaying function. When the (total) number of machined
parts reaches the number of required parts, a signal indicating the fact
is sent to the machine (PMC side).
The system variables can be used to read or write the total number of
parts and the number of required parts.
Variable number Variable name Description
#3901 [#_PRTSA] Total number of parts
#3902 [#_PRTSN] Number of required parts