Machine-related protection zones
A machine-related protection zone or its contour is defined using the geometry axis, i.e. with
reference to the basic coordinate system (BCS) of a channel. In order that correct protection-
zone monitoring can take place in all channels in which the machine-related protection zone
is active, the basic coordinate system (BCS) of all affected channels must be identical (position
of the coordinate point of origin with respect to the machine zero point and orientation of the
coordinate axes).
3.3.8
Checking for protection zone violation, working area limitation and software limit
switches (CALCPOSI)
Function
As of the start position, the CALCPOSI() function checks whether active limits have been
violated along the traversing distance in the workpiece coordinate system (WCS) with regard
to the geometry axes.
If the distance cannot be fully traversed because of limits, a positive, decimal-coded status
value and the maximum possible traversing distance are returned.
Definition
INT CALCPOSI(VAR REAL[3] <Start>, VAR REAL[3] <Dist>, VAR REAL[5]
<Limit>,
VAR REAL[3] <MaxDist>, BOOL <System>, INT <TestLim>)
Syntax
<Status> = CALCPOSI(VAR <Start>, VAR <Dist>, VAR <Limit>, VAR
<MaxDist>, <System>, <TestLim>)
Meaning
CALCPOSI:
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Test for limit violations with regard to the geometry axes.
Preprocessing
No
stop:
Alone in the block:
Yes
A3: Axis Monitoring, Protection Zones
3.3 Protection zones
149