Contour Statements
This part of NC code contains the axis motion blocks and before that it prepares the above blocks with all required parameters ready to process the contour. They are further classified as follows:
-
Stop Pre-processing (G61)
-
Contour Lead-In length (Lead_In)
-
Activate Kerf compensation (G41/G42)
-
Approach contour (G0/G1)
-
Laser ON function (M14)
-
Process contour (G1, G2, G3)
-
Laser OFF function (M15)
-
Cancel Kerf compensation (G40)
Stop Pre-processing
The G61 function can be used for temporarily stopping the block preparation of the interpreter. This means that the interpretation of the next block is stopped until the last block in the coarse interpolator’s job buffer has been processed.
Syntax: G61
Contour Lead-In length
In Laser technology, each contour is processed with some lead-in for better finish of the contour. It is possible to process the lead-in length with different laser parameters and it is activated via cutting method as explained above.
The lead-in length value is stored in the P-fields and for better understanding the P- field is globally declared internally in the program as follows:
#globdef Lead_In P1908
Syntax: Lead_In = 5.0
Activate Kerf compensation (G41/G42)
In Laser technology, the width of the beam diameter need to be compensated in order to achieve the perfect dimensions of the contour. Depends on the size of contour defined in the program, the kerf will be changed.
The Kerf-width value is stored in the P-fields and for better understanding the P- field is globally declared internally in the program as follows:
#globdef Kerf P1300
Syntax: G41 R = Kerf E0
Approach Contour (G0/G1)
The approach contour starts the actual motion of the axis and use the rapid traverse command G0 or Linear command G1 to position the axis to the piercing point. During this motion, the head is positioned along with the tool offset value (kerf width) The approach point can be reached with single statement by simultaneous interpolation of the axis, there may be a case where it may take more than one statement is also possible.
Syntax: G0/G1 X0 Y0
| The approach contour should be always followed by M14 command for the ‘Frog Jump’ function of head. |
Laser ON Function (M14)
The Laser ON function is called via M-command “M14”. The call of M14 will activate the following functions:
-
Switch on the Height regulation control
-
Switch on the Piercing Gas solenoid & pressure valve
-
Move the Z-axis to Piercing Position
-
Switch on the Laser beam for Piercing
-
Switch to the Cutting Gas parameters
-
Move the Z-axis to Cutting Position
-
Set focal position
-
Set Beam diameter
-
Set Laser power
-
Switch on the Laser beam for Cutting
Syntax: M14
Process Contour (G1, G2, G3…,)
The complete set of contour statements between M14 & M15 constitutes the process contour, where the actual laser technology take place. It is possible to identify the Acc/Dec phase, Corner, End of approach etc., for the complete process of contour.
Also, before the start of contour statements, it is possible to define the type of process as Cutting/Marking for DIN program display in HMI as dashed lines. Please refer Graphical Element topic for more details.
Syntax: G1 X124.5 Y35.5
G3 X115.5 Y35.5 I-4.5 J0
Laser OFF Function (M15)
The Laser OFF function is called via M-command “M15”. The call of M15 will activate the following functions:
-
Switch Off the Laser beam
-
Switch Off the Gas
-
Retract the Z-axis to defined position
No other M-function must be set before a M15. The M15 must always be set after a positioning block/contour block.
Cancel Kerf Compensation
The activated Kerf compensation at the start of contour need to be cancelled at the end in order to position the head for the next contour without compensation.
Syntax: G40 E1
