Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 603 -
- Mirror image state #3007 (Attribute : R)
By reading #3007, the mirror image (setting or DI) state at that time can
be checked for each axis.
Value number Value name Description
#3007 [#_MRIMG] Mirror image state
In the binary representation below, each bit corresponds to an axis.
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
n-th axis
- 1514131211109 8 7 6 5 4 3 2 1
When a bit is set to 0, mirror image is disabled for the corresponding
axis. When a bit is set to 1, mirror image is enabled for the
corresponding axis.
[Example] When #3007 is set to 3, mirror image is enabled for the first
and second axes.
- Program restart state #3008 (Attribute : R)
By reading #3008, whether the program is being restarted at that time
can be checked.
Value number Value name Description
#3008 [#_PRSTR] 0 : Program not being restarted
1 : Program being restarted
- Time information #3011, #3012 (Attribute : R)
By reading system variables #3011 and #3012, year, month, day, hours,
minutes, and seconds information can be checked. It is not possible to
write to these variables. To update the year, month, day, hours, minutes,
and seconds information, use the timer screen.
Value number Value name Description
#3011 [#_DATE] Year/month/day
#3012 [#_TIME] Hours/minutes/seconds
[Example] Seventeen minutes five seconds past four PM on May 20,
1998
#3011 = 19980520
#3012 = 161705
- Cutting time #3016 (Attribute: R/W)
By using the custom macro system variable #3016, the cumulative
cutting time parameters (No. 103, No. 104) can be read and preset. The
range of values is 0.0 to 1666666.65, and the unit is hours. When
presetting is performed, a value less than one minute is treated as 0.
The clock precision is 16 ms.
Variable No. Variable name Description
#3016 [#_CUTTM] Reads and presets the cumulative
cutting time parameters (No. 103, No.
104).
NOTE
Programmable mirror image state is not reflected in
this variable.

Leave a Reply

Your email address will not be published. Required fields are marked *