Figure 4-22
4.6.3
Measuring with G31, P1 - P4
The function G31 P1 (.. P4) is different from G31 in that different inputs for the measuring
signal can be selected with P1 to P4. Several inputs can also be monitored on a rising edge
of a measuring signal simultaneously. The assignment of the inputs to the addresses P1 to
P4 is defined through machine data.
Format
G31 X... Y... Z... F... P... ;
X, Y, Z: End point
F...: Feedrate
P...: P1 - P4
Explanation
The digital inputs are assigned to the Addresses P1 to P4 via machine data as follows:
P1: $MN_EXTERN_MEAS_G31_P_SIGNAL[0]
P2: $MN_EXTERN_MEAS_G31_P_SIGNAL[1]
P3: $MN_EXTERN_MEAS_G31_P_SIGNAL[2]
P4: $MN_EXTERN_MEAS_G31_P_SIGNAL[3]
Explanations for selection (P1, P2, P3 or P4) can be found in the documentation of your
machine manufacturer.
ISO Milling
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
G31 is an absolute command for 2 axes
Additional functions
4.6 Measuring functions
121