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:

Attention

attention

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.

Programing Example

prg_example

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

In this programming example, the contour look-ahead function is programmed within a real-time loop. The contour of the motion blocks 80 - 120 is logged once.

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

Programing Example

prg_example

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

In this programming example, the contour look-ahead is programmed outside a real-time loop. The contour of the motion blocks 80 to 120 is logged three times.

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]