(M450: External Center XY)
( Find External Center XY)
M288 P4 L1 (Probe Z-)
G91 G0 Z#28 F#20 (Lift)
M109 (Sensor Protection)
G91 G0 X[-0.6*#50/100-#7075] F#20
G91 G0 Z[-1*[#27+#28]] F#22
(X Plus)
M288 P1 L0 (Axis X+)
G10 L81 P100 Q5021 ( store X1 position in reg Nr100 )
G91 G0 X[-1*[#25/100]] F#23(Rebound)
M109(Sensor Protection)
G91 G0 Z[#27+#28] F#20
G91 G0 X[#50/100+[2*[#25/100]]+#7075] F#20 (Move over)
G91 G0 Z[-1*[#27+#28]] F#22
(X Minus)
M288 P1 L1 (Axis X-)
G10 L81 P101 Q5021 ( store X2 position in reg Nr101 )
G91 G0 X[#25/100] F#23(Rebound)
M109(Sensor Protection)
G91 G0 Z[#27+#28] F#20
G10 L81 P102 Q100 ( #102 = X1 )
G10 L190 P102 Q101 ( #102 += X2 )
G10 L183 P102 Q2 ( #102 /= 2 )
G10 L190 P102 Q30 ( #102 += offsetX )
G04 P0.2(Pause)
G90 G28.9 X102 F#20 ( move to the middle X )
( Y axis )
G91 G0 Y[-0.6*#51/100-#7075] F#20
G91 G0 Z[-1*[#27+#28]] F#22
(Y Plus)
M288 P2 L0 (Axis Y+)
G10 L81 P100 Q5022 ( store Y1 position in reg Nr100 )
G91 G0 Y[-1*[#25/100]] F#23
M109(Sensor Protection)
G91 G0 Z[#27+#28] F#20
G91 G0 Y[#51/100+[2*[#25/100]]+#7075] F#20 (Move over)
G91 G0 Z[-1*[#27+#28]] F#22
(Y Minus)
M288 P2 L1 (Axis Y-)
G10 L81 P101 Q5022 ( store Y2 position in reg Nr101 )
G91 G0 Y[#25/100] F#23(Rebound)
M109(Sensor Protection)
G91 G0 Z[#27+#28] F#20
G10 L81 P102 Q100 ( #102 = Y1 )
G10 L190 P102 Q101 ( #102 += Y2 )
G10 L183 P102 Q2 ( #102 /= 2 )
G10 L190 P102 Q7506 ( #102 += offsetY )
G04 P0.2(Pause)
G90 G28.9 Y102 F#20 ( move to the middle Y )
G04 P0.2(Pause)
G90 G10L70 P#5220 X0Y0(reset work coordinates)
