
B–63523EN–1/03
14. MEASUREMENT
1755
G81 T_ L_ ; (EGB mode on)
G31.8 G91 a 0 P_ Q_ R_ ; (EGB skip command)
P: The top number of the consecutive custom macro variables in
which the machine coordinate positions of the EGB axis (work-
piece axis) at the skip signal inputs are stored.
a: EGB axis (Workpiece axis)
Q: The maximum allowable number of the skip signal inputs.
(Range of command value: 1 – 200)
R: The number of the custom macro variable in which the total
number of the inputs is stored.
This data is usually the same as the value specified by Q.
Therefore this is not necessarily specified. Specify it when the
total number should be confirmed.
G31.8 is a one–shot G code.
During the execution of the G31.8 block, the machine coordinate
positions of the EGB
axis (work axis) at the skip signal inputs are stored in the consecutive
custom macro variables where the top number of the variables is specified
by P and the maximum allowable number of the skip signal inputs is
specified by Q.
The total number of the skip signal inputs (i.e. the same value specified
by Q) is stored in
the variable specified by R.
Example
G81 T200 L2 ; (EGB mode on)
X_ ;
Z_ ;
G31.8 G91 C0 P500 Q200 R1 ; (EGB skip command)
After 200 times of skip signal inputs, 200 machine coordinate positions
of the C axis are stored respectively in the consecutive custom macro
variables #500 – #699.
The total number of skip signal inputs (i.e. 200) is stored in the custom
macro variable #1.
See Subsections 14.3.1 and 14.3.2.
#7
6200
#6
SRE
#5 #4
HSS
#3 #2 #1 #0
[Data type] Bit
HSS 0 : The skip function does not use high–speed skip signals.
1 : The skip function uses high–speed skip signals.
SRE When a high–speed skip signal is used:
0 : The signal is considered to be input at the rising edge (0 to 1).
1 : The signal is considered to be input at the falling edge (1 to 0).
Format
Signal
Parameter