Contour look-ahead and real-time loops

There are two programming options to obtain contour elements in a real-time loop (#RT WHILE/ ENDWHILE) in Mode 1:

  1. Only one geometry is provided when programming #CONTOUR LOOKAHEAD LOG ON/OFF within a real-time loop. It has the properties of the entry loop, which means the parameter "tangent_variation" has the angle to the motion block before the loop.
  2. If #CONTOUR LOOKAHEAD LOG ON/OFF is programmed outside the real-time loop, the elements are supplied three times to obtain all the properties of the possible transitions. The transitions are:

Notice

Do not program the NC command #CONTOUR LOOKAHEAD CLEAR within a real-time loop.

If the command is programmed within the real-time loop, error ID 22073 is output.

Programming Example

Behaviour of contour look-ahead within a real-time loop

N060 #RT WHILE
N070 #CONTOUR LOOKAHEAD LOG ON [PARAM=1]
N080 G1 X4 Y4
N120 G1 X0 Y0
N130 #CONTOUR LOOKAHEAD LOG ON [PARAM=8]
N140 #RT ENDWHILE

Programming Example

Behaviour of contour look-ahead outside a real-time loop

N060 #CONTOUR LOOKAHEAD LOG ON [PARAM=1]
N070 #RT WHILE
N080 G1 X4 Y4
N120 G1 X0 Y0
N130 #RT ENDWHILE
N140 #CONTOUR LOOKAHEAD LOG ON [PARAM=8]