N110 Writing of the settable data management frame $P_UIFR[1]:Moving the zero point of the Z axis to 10 mmMapping the axial frame data:Channel 1: Z ≙ AX1 ⇔ channel 2: Z ≙ AX4N120 / N220 Channel synchronization for consistent activation of new frame dataN130 / N230 Activating the new frame dataN140 / N240 Checking the zero point of the Z axis for: 10 mm10.5.7 Predefined frame functions10.5.7.1 Inverse frameTo round off the frame arithmetic, the part program provides a function which calculates theinverse frame from another frame. The chaining between a frame and its inverse frame alwaysproduces a zero frame.FRAME INVFRAME( FRAME ) ⇒ zero frameFrame inversion is an aid for coordinate transformations. Measuring frames are usuallycalculated in the WCS. If you should wish to transform this calculated frame into anothercoordinate system, i.e. the calculated frame should be entered into any desired frame withinthe frame chain, then the calculations below should be used.The new complete frame is a chain of the old complete frame and the calculated frame.$P_ACTFRAME = $P_ACTFRAME : $AC_MEAS_FRAMEThe new frame in the frame chain is therefore:Target frame is $P_SETFRAME:$P_SETFRAME = $P_ACTFRAME : $AC_MEAS_FRAME : INVFRAME($P_ACTFRAME) :$P_SETFRAMEThe target frame is the nth channel basic frame $P_CHBFRAME[n]:n = 0: TMP = $P_PARTFRAME : $P_SETFRAME : $P_EXTFRAME : $P_NCBFRAME[0..k]n <> 0: TMP = $P_PARTFRAME : $P_SETFRAME : $P_EXTFRAME : $P_NCBFRAME[0..k] :$P_CHBFRAME[0..n-1]k = $MN_MM_NUM_GLOBAL_BASE_FRAMES$P_CHBFRAME[n] = INVFRAME(TMP) : $P_ACTFRAME : $AC_MEAS_FRAME :INVFRAME($P_ACTFRAME) : TMP : $P_CHBFRAME[n]The target frame is $P_IFRAME:TMP = $P_PARTFRAME : $P_SETFRAME : $P_EXTFRAME : $P_BFRAME$P_IFRAME = INVFRAME(TMP) : $P_ACTFRAME : $AC_MEAS_FRAME :INVFRAME($P_ACTFRAME) : TMP : $P_IFRAMEApplication example:K2: Axis Types, Coordinate Systems, Frames10.5 FramesBasic FunctionsFunction Manual, 01/2015, 6FC5397-0BP40-5BA2 765