Coordinate transformation (FRAMES)
5.3 Coarse and fine offsets (CFINE, CTRANS)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
293
5.3 Coarse and fine offsets (CFINE, CTRANS)
Function
Fine offset
A fine offset of the basic frames and of all other settable frames can be programmed with
command
CFINE (X, ..,Y, ...).
A fine offset can only be made if MD18600 $MN_MM_FRAME_FINE_TRANS=1.
Rough offset
The coarse offset is defined with
CTRANS(...).
&RDUVHRIIVHW
)LQHRIIVHW
5RWDWLRQ
6FDOLQJ
0LUURULQJ
)UDPHVWUXFWXUHZLWKILQHRIIVHW
Coarse and fine offset add up to the total offset.
Syntax
$P_UBFR=CTRANS(x, 10) : CFINE(x, 0.1) :
CROT(x, 45)
;Chaining of offset,
;fine offset and rotation
$P_UIFR[1]=CFINE(x, 0.5 y, 1.0, z, 0.1)
;The complete frame will be overwritten
;with CFINE including the coarse offset
Access to the individual components of the fine offset is achieved through component
specification FI (Translation Fine).
DEF REAL FINEX
;Definition of the FINEX variable
FINEX=$P_UIFR[$P_UIFNUM, x, FI]
;Fetching the fine offset
;using the FINEX variable
FINEX=$P_UIFR[3, x, FI]$P
;Fetching the fine offset of the X axis in the
;3rd frame using the FINEX variable