ID 90050

Emptying of the NC channel within selected state of tool radius compensation not permitted.

Description

NC commands, which cause an emptying of the channel, are not permissible while TRC is active. These commands include, for example, the #FLUSH command.

 

The error only occurs when the TRC is already deselected. This may occur when the direct or indirect deselect method is used and when G05 is used.

In this two methods, tool radius compensation requires a motion block after G40 to reduce the offset built up by the tool radius.

 

Test program with occurrence of the error:

N100 G139         ( indirect selection mode)

N110 G41 G01X100 Y100 ( select TRC )

N120 G01 X140 Y20 F2000

N130 G03 X160 Y40 R20

N140 G01 X200

N150 G01 X220 Y20

N160 G40                ( deselect TRC )

N170 #FLUSH

N180 G01 X0Y0

Corrected test program :

N100 G139         ( indirect selection mode)

N110 G41 G01X100 Y100    ( select TRC )

N120 G01 X140 Y20 F2000

N130 G03 X160 Y40 R20

N140 G01 X200

N150 G01 X220 Y20

N160 G40 G01 X0 Y0       ( Deselect TRC )

N170 #FLUSH

The decisive difference between the two test programs is the path motion after deselection with G40, since the distance between the tool to the programmed contour is only cancelled after this motion.

 

In order to avoid the error, a motion block must be positioned between G40 and the command triggering the flushing of the channel when direct (G138) or indirect (G139) deselection are used.

 

[PROG Section: Flushing NC channel]

Response

Class

2

Abort NC program processing.

Solution

Class

6

Check and modify the NC program.

Insert a motion block after G40 similar to the example program above.

Error type

Abort NC program processing.