Turning Macro Reference

4 - ROUGH TURN CYCLE

Recommended Syntax

%MACRO=4=..=Rough Turn Cycle=4,5,7,10,12,30,31,21,40,41,84,

Note that 12 is optional and enables the Constant Offset modifier in the cycle dialog.
 

System Variables Modified

System Variable Description

DEGR

Degression factor used to calculate depth of cut

DEPTH

Depth of Cut

ENDSUB

End Subroutine Block Number

FEED

Feedrate

FIELD2

Link Type

1 = Rapid

2 = Feed

FIELD7

Billet Z co-ordinate (only if FIELD9=1)

FIELD8

Billet X co-ordinate (only if FIELD9=1)

FIELD9

Billet selection:

0 = Start point specified by current tool position

1 = Billet specified by digitised position
(co-ordinates held in fields 7 & 8)

2 = Geometric or toolpath billet selected

FIELD10

Corner Type

0 = Round corners

1 = Square corners

FIELD11

Rough Cuts Only modifier

0 = Not selected

1 = Selected

FIELD12

Cycle Finish position

1 = Finish at cycle start

OFFSETX

X Axis Offset Value

OFFSETZ

Z Axis Offset Value

PATHTRACE

Controller Canned Cycle Flag

SPEED

Spindle Speed

STARTSUB

Start Subroutine Block Number

SUBFUNCT

Drive Condition

SUBROUTINE

Subroutine identifying number

XEND

X Axis End Position of profile

XSTART

X Axis Start Position of profile

ZEND

Z Axis End Position of profile

ZSTART

Z Axis Start Position of profile

 Important Note

For the Retract and Approach angles to work correctly, you must use a suitably modified Code Generator file.

The line (in the Code Generator source file) containing the Rough Turn macro must be modified as follows:

%MACRO=4=RT=Rough turn area clearance=5,7,10,30,31,21,40,41,135