Linkage of coordinate systems
By combination of ACS and CS new coordinate transformations may be built.
Several ACS and CS will be linked separately in the sequence of their activation. The resulting ACS will be linked with the resulting CS to the overall transformation than. The linkage takes place independent of the programming always beginning with the ACS (the maximum number of ACS and CS to be linked will be stated application specific [6]-5.7).
The deactivation of the single ACS takes place contrariwise, compared with the activation. The same applies to the CS. To simplify this, #(A)CS OFF is programmed without an ID-parameter (see Fig. 16.5, Fig. 16.6).
Programming example
%Linkage
.
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
It must be noted that the relative linkage of ACS or CS may have a different result dependent on the sequence of activation (see Fig. 16.9).
The CS (or ACS) with the same ID may also be activated plurally and linked with itself.
Programming example
N10 #CS DEF[1][0,0,0,0,0,20]
N20 LL TEILEPRG (contour in 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
By the following NC-commands the currently active overall transformation may be stored:
#CS DEF ACT [ <CS_ID> ]
#ACS DEF ACT [ <ACS_ID> ]
Contrary to sequential deactivation of the (A)CS by (A)CS OFF, with the following NC-commands the partial transformations, descendent from a linkage of CS or ACS, may be deactivated directly.
#CS OFF ALL Deselection of all CS
#ACS OFF ALL Deselection of all ACS
Programming example
N10 #CS ON[3]
N20 #CS ON[4]
N30 #CS DEF ACT[5] (Storage of CS[3] o CS[4] under CS[5])
N31 #CS OFF ALL (Deactivation of all CS)
N32 #ACS ON[3]
N33 #ACS ON[4]
N34 #ACS DEF ACT[5] (Storage of ACS[3] o ACS[4] under CS[5])
N35 #ACS OFF ALL (Deactivation of all ACS)
N36 X0 Y0 Z0
N360 #CS ON [5]
N370 #ACS ON[5]
N380 #CS DEF ACT[1] (Storage of ACS[5] o CS[5] under CS[1])
N390 #ACS OFF ALL
N400 #CS OFF ALL
N500 #CS ON (Activation of CS[1])
N510 #CS OFF
M30