Programmable Frame $P_Pframe - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

K2: Axis Types, Coordinate Systems, Frames
10.5 Frames
MD20110 $MC_RESET_MODE_MASK, bit0 = 1 and bit14 = 1
● Bit 1 = 0: Default value ⇒ reset behavior corresponding to the setting of the further bits
● Bit14 = 0: The basic frames are completely deselected with reset.
● Bit14 = 1: With reset, the machine data settings are taken over in the system variables and
the basic frames selected therein become active:
– $P_NCBFRMASK = MD10613 $MN_NCBFRAME_RESET_MASK
– $P_CHBFRMASK = MD24002 $MC_CHBFRAME_RESET_MASK
Example
Programming
Basic frame masks
The basic frames that are linked to form the complete basic frame are selected via the basic
frame masks $P_NCBFRMASK and $P_CHBFRMASK.
The appropriate basic frame is selected by setting a bit in the basic frame mask:
● $P_NCBFRMASK, bit 0, 1, 2, ... n ⇒ $P_NCBFRAME[0, 1, 2, ... n]
● $P_CHBFRMASK, bit 0, 1, 2, ... n ⇒ $P_NCHFRAME[0, 1, 2, ... n]
The basic frame masks $P_NCBFRMASK and $P_CHBFRMASK can only be read/written in the
NC program. The basic frame masks can be read via the OPI.
After writing a basic frame mask, the active complete basic frame $P_ACTBFRAME and
complete frame $P_ACTFRAME are recalculated.
Example
Program code
$P_NCBFRMASK = 'H81'
10.5.5.7

Programmable frame $P_PFRAME

Programmable frames are available only as active frames.
This frame is reserved for the programmer.
The programmable frame remains at RESET, if:
MD24010 $MC_PFRAME_RESET_MODE (reset mode for programmable frame) = 1
This functionality is especially important after a RESET if one still wants to retract out of an
oblique hole.
736
Machine data setting
$P_NCBFRMASK = MD10613 $MN_NCBFRAME_RE‐
SET_MASK = 'H81'
Active basic frames
$P_NCBFRAME[0] :
$P_NCBFRAME[7]
Comment
; Active NCU-global basic frames: $P_NCBFRAME[0] :
$P_NCBFRAME[7]
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents