beautypg.com

HEIDENHAIN TNC 335 Technical Manual User Manual

Page 495

background image


7-116

TNC 360

4 PLC Modules

8/95

Possible errors:
The transferred axis does not exist.

Call:

PS

B/W/D/K (0 to 3 for X/Y/Z/4)

CM9122
PL

B/W/D

Bit 0: 1= Axis is auxiliary axis
Bit 1: 1= Axis has traversed the reference point
Bit 2: 1= Axis is positioned
Bit 3: 1= Axis direction is negative
Bit 4: 1= Positioning error has occurred

Error status after call: M3171

= 0: Status was transferred
= 1: Faulty execution

4.9.9 Module 9123 Traverse the reference point of an auxiliary axis

This module starts a positioning movement in a given direction that continues until a reference point
has been traversed or the positioning movement has been canceled with the module 9121. Because
of the possible problems finding a target position during referencing (direction reversal, etc.) it is
necessary to stop when the reference point has been found.

Constraints:

The entered axis must have been activated through MP10 and declared as auxiliary axis through

MP60.

The values for rapid traverse, analog voltage for rapid traverse, acceleration etc. must be

correctly set in the machine parameters.

There is no monitoring to prevent violation of the limit switch limits!

The axis must be stationary. Any movement must first be canceled with module 9121.

Feed rate override is not accounted for.

The condition "reference mark not yet traversed" is set for the axis.

An already existing reference point in this axis is erased, but not the position value of the axis.

This is not re-initialized until the reference point has be traversed.

If the modules 9120, 9121 and 9122 are called repeatedly for the same axis during a PLC scan,

the last command is executed.

If in this axis the "positioning error" status is set, it is erased.

The positioning movement is immediately canceled when the reference point is reached. Due to

the braking path of the axis, however, it stops somewhat behind the reference point in the
direction of traverse.