Detailed Description
2.4 Frames
Axis Types, Coordinate Systems, Frames (K2)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-67
• $P_PARTFRAME
In the part program, the variable $P_PARTFRAME can be used to read and write the
current system frame for TCARR and PAROT for toolholders with orientation capability.
If the system frame has not been configured using machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK,
the variable returns a zero frame.
• $P_TOOLFRAME
In the part program, the variable $P_TOOLFRAME can be used to read and write the
current system frame for TOROT and TOFRAME.
If the system frame has not been configured using machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK,
the variable returns a zero frame.
• $P_WPFRAME
In the part program, the variable $P_WPFRAME can be used to read and write the
current system frame for setting workpiece reference points.
If the system frame has not been configured using machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK,
the variable returns a zero frame.
• $P_CYCFRAME
In the part program, the variable $P_CYCFRAME can be used to read and write the
current system frame for cycles.
If the system frame has not been configured using machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK,
the variable returns a zero frame.
• $P_TRAFRAME
In the part program, the variable $P_TRAFRAME can be used to read and write the
current system frame for transformations.
If the system frame has not been configured using machine data
MD28082 $MC_MM_SYSTEM_FRAME_MASK,
the variable returns a zero frame.
2.4.6.8 $P_ACTFRAME
The resulting current complete frame $P_ACTFRAME is now a chain of all system frames,
basic frames, the current settable frame and the programmable frame. The current frame is
always updated whenever a frame component is changed.
The current complete frame is calculated according to the formula below:
$P_ACTFRAME = $P_PARTFRAME : $P_SETFRAME : $P_EXTFRAME :
$P_ACTBFRAME : $P_IFRAME :
$P_TOOLFRAME : $P_WPFRAME : $P_TRAFRAME :
$P_PFRAME : $P_CYCFRAME