beautypg.com

Plc positioning, 7 plc positioning – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 129

background image


4-32

TNC 360

1 Machine Axes

8/95

1.7 PLC positioning

The four axes of the control can also be positioned by the PLC. The spindle, too, can be positioned
with the aid of the PLC (see section "Spindle"). The positions of the individual axes must be stored as
Doublewords (D528 to D540) before activating the positioning (M2704 to M2707).

The feed for positioning the individual axes is stored in W560 to W566.

The transfer of the positions and of the feed to the PLC is carried out, for example, by
machine parameters (MP4210.X, MP4220.X). All four axes can be traversed simultaneously
[simultaneous activation of all the strobe markers (M2704 to M2706)]. The PLC positioning can be
interrupted by resetting the strobe marker (M2704 to M2706).

The NC resets the strobe marker (M2704 to 2707) when:

the axes have reached the given position

NC STOP occurs in the Manual or Handwheel operating mode

NC STOP and "internal stop" occur in the automatic operating modes

an EMERGENCY STOP occurs

an error message occurs that results in a stop

The strobe markers M2704 to M2707 may be set only if an M/S/T strobe is present. The M/S/T
acknowledgment must not occur until the PLC positioning has been completed, i.e. markers M2704
to M2707 have been reset.

Example:

M2045

M2482

M2704

In the Manual mode of operation the strobe markers M2704 to M2707 cannot be set if an axis
direction key is depressed.

The Doublewords D528 to D540 have a multiple usage. They have the following meaning for the
PLC positioning:

Address

Function

D528

Position X axis [1/ 1000 mm]

D532

Position Y axis

D536

Position Z axis

D540

Position 4th axis

Feed rate for PLC positioning

W560

Feed rate X axis [mm/min]

W562

Feed rate Y axis

W564

Feed rate Z axis

W566

Feed rate 4th axis