Examples
4.2 Coordinate systems
Basic logic functions: Axes, coordinate systems, frames (K2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
145
Part program in first channel
Code (excerpt) Comment
. . .
N100 $P_NCBFR[0] = CTRANS( x, 10 )
; Activation of the NC global basic frame
. . .
N130 $P_NCBFRAME[0] = CROT(X, 45)
; Activation of the NC global basic frame with rotation =>
alarm 18310, since rotations of NC global frames
are not permitted
. . .
Part program in second channel
Code (excerpt) Comment
. . .
N100 $P_NCBFR[0] = CTRANS( x, 10 )
; The NCU global basic frame is also active in second channel.
. . .
N510 G500 X10
; Activate basic frame
N520 $P_CHBFRAME[0] = CTRANS( x, 10 )
; Current frame of second channel is activated with an offset.
. . .