Effectively program complex contours
Contour programming in programGUIDE (Example Milling)
Contour programming is the solution for effectively programming complex contours in turned and milled workpieces. With the aid of the integrated contour editor and the corresponding machining cycles in SINUMERIK Operate, contours can be created and processed directly on the CNC control system. We briefly demonstrate the possibilities using the example of contour programming during milling in conjunction with programGUIDE.
- The contour definition and machining are available in the program editor via the “Contour Milling” soft key.
- The “Contour” soft key defines the contour and programs the contour call-up.
- The other soft keys represent the cycles for the defined contour, for example, the cycles for path milling and for pocket and stud machining.
Contour definition and contour call-up in the program
Several options are available for contour definition. The contour is contained either in the main program or in the subprogram. The contour call-up also varies accordingly: a contour created in the main program is created in a label, whereas a contour in a subprogram is created within a label in the subprogram.
Options contour call
The following control structures can be used in the SINUMERIK CNC high-level language:
Main Program:
- Name contour
- Labels
Subprogram: - Contour in subprogram
- contour in subprogram between labels
Call-up using contour name
- Call-up of the contour named “CONTOUR_1” using CYCLE62 (call-up cycle).
- Machining cycle (e.g., CYCLE63 milling studs); this relates to the previous CYCLE62.
- Contour defined using the contour editor; this may also be before M30.
Call-up using label
- Call-up of the program code in the label
- Machining cycle (e.g., CYCLE63 milling studs); this relates to the previous CYCLE62
- LAB1_START: and LAB2_STOP: form the start and end point of the contour
Call-up using subprogram
- Call-up of the program code (or contour) contained in the subprogram “SUB_CONT“.
- Machining cycle (e.g., CYCLE63 milling studs); this relates to the previous CYCLE62.
Call-up using label in subprogram
- Machining of the contour contained in the subprogram “SUB_CONT” between the two labels “LAB_SUB_START” and “LAB_SUB_END”.
- Machining cycle (e.g., CYCLE63 milling studs); this relates to the previous CYCLE62.
Label in subprogram
(See description above)