Selecting/deselecting corner deceleration (G12/G13)
Syntax: | ||
G12 | Deselecting corner deceleration | modal, initial state |
G13 | Selecting corner deceleration | modal |
An error message is output if G13 is programmed without previously defining the corner deceleration parameter.
An error message is output if G12 and G13 are programmed at the same time in an NC block.
These G functions are modal. The initial state after system start-up is "Corner deceleration inactive” (G12).
No error message is output if corner deceleration (G13) and end of program (M30) are selected. The initial position G12 is selected before the program is started.
An error message is output at a corner distance of 0.
Programing Example
Selecting and deselecting corner deceleration (G12/G13)
:
N10 G01 G90 X10 Y10 F1000
N15 #CORNER PARAM[DIST=10 UNIT=PERCENT FEED=50] ;Corner distance 10mm
;Corner feed 50%
N20 G13 ;Activate
N30 X50 ;Corner deceleration active
N40 Y50 ;Corner deceleration active
N50 G12 ;Deselect
N60 X30 Y30
N70 M30
Please note that corner deceleration is not activated until block N030. The block transition N010/N030 is not affected by corner deceleration.
Similarly, corner deceleration is still active in block N040 because it was not deselected.
Deselecting corner deceleration must be programmed before or in the NC block in which corner deceleration should not longer be active.