DISTANCE mode
- In DISTANCE mode, the location of the STOP is specified by the “dist_prog_start” control unit.
- "dist_prog_start" is the absolute path travelled from program start and is monotonically increasing. This means that each program position can be uniquely identified.
- The "dist_prog_start" value can be reset with the NC command #DISTANCE PROG START CLEAR.
- Return values from the CNC to the PLC (display data) are the axis positions of the first three axes and the "dist_prog_start" at the next/current STOP.
- A STOP that is set absolute or a one-off relative STOP is cleared during forward/reverse rotation. Relative iterative STOPs are retained.
The table below shows the possible combinations of the parameter “dist_or_pos” and the parameter “rel_abs_mode” and the resulting behaviour of the CNC for DISTANCE mode (`axis_nr `= 0):
Specified dimension (rel_abs_mode) | Distance (dist_or_pos) | CNC behaviour |
relative iterative (0) | =0 | a possibly set STOP that is not yet reached is cleared |
<0 | immediate one-off STOP at current distance | |
>0 | (possibly interrupt) new STOP relative to the current distance, automatic new relative STOPs after continuation of the previous STOP. | |
absolute (1) | =< current distance | immediate STOP at current distance |
> current distance | STOP at commanded distance | |
relative one-off (2) | =< 0 | immediate STOP at current distance |
> 0 | (possibly interrupt) and insert a STOP relative to current distance |