Detailed description
2.2 Protection zones
Basic logic functions: Axis monitoring, protection zones (A3)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
53
Deactivation, preactivation, activation via part program
The activation status of a channel- or machine-specific protection zone is defined by the
corresponding subroutine:
• Channel-specific protection zone:
CPROT (n, state, xMov, yMov, zMov)
• Machine or NC-specific protection zone:
NPROT (n, state, xMov, yMov, zMov)
Parameters Type Description
n
INT Number of the protection zone
Activation status
0 Deactivated
1 Preactivated
state
INT
2 Enabled
xMov,
yMov, zMov
REAL Offset values of the previously defined protection zone in the geometry axes
Offsets
During preactivation or activation of the protection zone, an offset can be entered in 0 to 3
dimensions. The offset refers to:
• Workpiece-related protection zones: Machine zero
• Tool-related protection zones: Tool holder reference point F
Note
A protection zone cannot be activated in a single channel with different offsets
simultaneously.
Activation via PLC user program
A protection zone preactivated in the part program can be activated in the PLC user
program.
Preactivated protection zones
The NC indicates the preactivated protection zones:
DB21, ... DBX272.0 to 273.1 (machine-related protection zone 1 - 10 preactivated)
DB21, ... DBX274.0 to 275.1 (channel-specific protection zone 1 - 10 preactivated)
Protection-zone violation
Activated and preactivated protection zones that are or would be violated by the
programmed traversing motions of the current part-program block if the PLC user program
would activate the preactivated protection zone:
DB21, ... DBX276.0 to DBX277.1 (machine-related protection zone 1 - 10 violated)