EasyManua.ls Logo

NUM 1020 - Page 85

Default Icon
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating Subroutines Called by G Functions
en-938872/2 5 - 9
5
Example 2
Creating a special cycle with function G177 (subroutine %10177).
The cycle below is given only for guidance.
It is used to execute a profile by back and forth passes with the possibility of radius
correction if required.
Cycle syntax and parameters
G177 N.. N.. ER..
G177 Machining by back and forth passes.
N.. N.. Numbers of the first and last blocks defining the profile
(when the blocks are in reverse order, machining of the
profile is reversed).
ER.. Argument forcing or cancelling radius correction:
ER 40 : machining to tool centre
ER 41 : offset on the left of the profile
ER 42 : offset on the right of the profile
Main machining programme
%77
N10 G0 G52 Z0
N20 T1 D1 M06 (TOOL R5)
N30 S2000 M40 M03
N40 G0 X-20 Y0
N50 G92 R1
N60 Z-10
N70 G79 N160
N80 G1 X-20 Y0
N90 EA20 ES
N100 EA50
N110 G2 I60 J25 X75 Y25
Profile
N120 G1 ET
definition
N130 G2 I95 J10
N140 G3 I120 J15 X120 Y5
N150 G1 G40 X140
N160 G177 N80 N150 ER42
Forward cycle
N170 G59 Y20
Zero offset

Table of Contents

Related product manuals