13. Program Support Functions
13.5 User Macro Specifications
329
Feed hold, feedrate override, G09 valid/invalid
By substituting the values below in variable number #3004, it is possible to make the feed hold,
feedrate override and G09 functions either valid or invalid in the subsequent blocks.
Bit 0
Bit 1
Bit 2
#3004
Contents (value)
Feed hold
Feedrate override
G09 check
0 Valid
Valid
Valid
1 Invalid
Valid
Valid
2 Valid
Invalid
Valid
3 Invalid
Invalid
Valid
4 Valid
Valid
Invalid
5 Invalid
Valid
Invalid
6 Valid
Invalid
Invalid
7 Invalid
Invalid
Invalid
(Note 1)
Variable number #3004 is set to zero by NC reset.
(Note 2)
The functions are valid when the above bits are 0 and invalid when they are 1.
(Note 3)
When the feed hold is set to invalid with #3004, the following will occur when the feed hold
switch is pressed.
●
During thread cutting, block stop will be carried out at the end of the next block of the
block where thread cutting is completed.
●
During tapping with tap cycle, block stop will be carried out after the operation of R point
return.
●
In the case other than above, block stop will be carried out after termination of the
currently executing block.
Message display and stop
By using variable number #3006, the execution is stopped after the previous block has been
executed and, if message display data have been commanded, then the corresponding message
will be indicated on the operator message area.
Format
#3006 = 1 ( TAKE FIVE ) :
1
Fixed value (Nothing is displayed if a value other than 1 is set.)
TAKE FIVE
Message
The message should not be longer than 31 characters and it should be enclosed within round ( )
parentheses.
Mirror image
By reading variable number #3007, it is possible to ascertain the status of mirror image at a
particular point in time for each axis.
The axes correspond to the bits of #3007.
When the bits are 0, it means that the mirror image function is not valid; when they are 1, it means
that it is valid.
#3007
Bit 15
14
13
12
11
10
9
8
7
6
5
4 3 2 1
0
nth
axis 6
5
4
3
2
1