Linkage of coordinate systems

New coordinate transformations may be formed by combining ACS and CS.

The combination of ACS and CS permits machining on an inclined plane with a slanted clamped workpiece.
The combination of ACS and CS permits machining on an inclined plane with a slanted clamped workpiece.

Several ACS and CS are linked separately in the sequence they are selected. The resulting ACS is then linked to the resulting CS for overall transformation. Linkage always takes place with the ACS first irrespective of programming.

A maximum of 10 ACS/CS combinations can be linked to form an overall transformation.

Individual ACS’s are deselected in the opposite sequence to selection. The same applies to the CS. To simplify this, #(A)CS OFF is programmed without an ID parameter (see the two figures in.Defining a machining coordinate system (#CS DEF, #CS ON/OFF, #CS MODE ON/OFF)).

Programing Example

prg_example

Linkage of coordinate systems

N100 #CS ON [1]              (                    CS[1])

N110 #ACS ON [2]             (ACS[2] o            CS[1])

N120 #ACS ON [1]             (ACS[2] o ACS[1] o   CS[1])

N130 #CS ON [2]              (ACS[2] o ACS[1] o   CS[1] o CS[2])

N140 #ACS OFF                (ACS[2] o            CS[1] o CS[2])

N140 #CS OFF                 (ACS[2] o            CS[1])

N150 #ACS OFF                (                    CS[1])

N160 #CS OFF

M30

Activating or changing the ACS without deselecting the CS’s which are already active
Activating or changing the ACS without deselecting the CS’s which are already active

It must be noted that the relative linkage of ACS or CS may in general result in a changed sequence of selection and lead to different results (see figure below).

Result of a CS linkage depending on the sequence of selection (CS[1] - CS[2] or CS[2] - CS[1]).
Result of a CS linkage depending on the sequence of selection (CS[1] - CS[2] or CS[2] - CS[1]).

The CS (or ACS) with the same ID may also be selected several times and linked to itself.

Programing Example

prg_example

Linkage of coordinate systems

N10 #CS DEF[1][0,0,0,0,0,20]

N20 LL TEILEPRG                     (Contour in the system X-Y)

N30 #CS ON[1]

N40 LL TEILEPRG                     (X'-Y')

N50 #CS ON[1]

N60 LL TEILEPRG                     (X''-Y'')

N70 #CS OFF

N80 #CS OFF

M30

Linkage of coordinate systems
Linkage of coordinate systems

The following NC commands store the currently active overall transformation:

Syntax:

#CS DEF ACT [<CS_ID>]

#ACS DEF ACT [<ACS_ID>]

As opposed to sequential deselection of the (A)CS by (A)CS OFF, the following NC commands can directly deselect the partial transformations formed from the linkage of CS or ACS.

Syntax:

#CS OFF ALL

Deselect all CS

#ACS OFF ALL

Deselect all ACS

Programing Example

prg_example

Linkage of coordinate systems

N10 #CS ON[3]

N20 #CS ON[4]

N30 #CS DEF ACT[5]           (Store CS[3] o CS[4] in CS[5])

N31 #CS OFF ALL              (Deselect all CS)

N32 #ACS ON[3]

N33 #ACS ON[4]

N34 #ACS DEF ACT[5]          (Store ACS[3] o ACS[4] in CS[5])

N35 #ACS OFF ALL             (Deselect all ACS)

N36 X0 Y0 Z0

N360 #CS ON [5]

N370 #ACS ON[5]

N380 #CS DEF ACT[1]          (Store ACS[5] o CS[5] in CS[1])

N390 #ACS OFF ALL

N400 #CS OFF ALL

N500 #CS ON                  (Select CS[1])

N510 #CS OFF

M30