K2: Axis Types, Coordinate Systems, Frames
10.5 Frames
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
771
10.5.6.3
Adapting active frames
The geometry axis configuration can change during program execution or on
RESET
. The number of available
geometry axes can vary from zero to three. With unavailable geometry axes, components in the active frames
(e.g., rotations) can lead to the active frames for this axis configuration becoming invalid. This is indicated by the
alarms below:
Channel %1 block %2 rotation programmed for non-existent geometry axis
This alarm remains present until the frames have been changed accordingly.
The machine data below can be used to switch on the automatic adaptation of active frames, thus preventing
alarm 16440:
MD24040 $MC_FRAME_ADAPT_MODE
Bitmask for adapting the active frames with reference to the axis constellation.
The following settings apply:
N1690 endif
N1700 if $P_IFRAME <> $P_UIFR[1]
N1710 setal(61000)
N1720 endif
N1730 if $P_ACTFRAME <>
TRANS(X,21,Y,34,Z,33,CAX,11,B,44,C,20):CROT(X,10,Y,20,Z,30):CMIRROR(X,CAX,C)
N1740 setal(61001)
N1750 endif
N1760
N1770 TRAFOOF
N1780
N1790 if $P_BFRAME <> CTRANS(X,10,Y,20,Z,30,B,40,C,15)
N1800 setal(61000)
N1810 endif
N1820 if $P_BFRAME <> $P_CHBFR[0]
N1830 setal(61000)
N1840 endif
N1850 if $P_IFRAME <>
TRANS(X,1,Y,14,Z,3,B,4,C,5):CROT(X,10,Y,20,Z,30):CMIRROR(X,C)
N1860 setal(61000)
N1870 endif
N1880 if $P_IFRAME <> $P_UIFR[1]
N1890 setal(61000)
N1900 endif
N1910 if $P_ACTFRAME <>
TRANS(X,11,Y,34,Z,33,B,44,C,20):CROT(X,10,Y,20,Z,30):CMIRROR(X,C)
N1920 setal(61002)
N1930 endif
N1940
N1950 m30