HEIDENHAIN TNC 335 Technical Manual User Manual

Page 19

Advertising
background image


1-4

TNC 360/TNC 335

Update information No. 1

9/93

Module 9120
Positioning an auxiliary axis

The positioning of an axis is started by presetting a target position (in the reference system), a
feed rate and a flag register. The axis is positioned without regard to other processes in the
control. There is no contour interpolation with other axes.

Conditions:
The given axis must be activated via MP10 and configured as an auxiliary axis via MP60.
The values for rapid traverse, analog voltage for rapid traverse, acceleration, etc., must be
properly set in the machine parameters.
For axes with automatic reduction (modulo value in MP810.x) the axis is always moved in the
shortest direction to the target position, unless the target position is entered as an incremental
value.
There is no checking for violations of the limit switch ranges!
The axis must be stationary. If the axis is already moving, the positioning must be terminated
beforehand with module 9121.
If the axis was in the reference point traversing mode, this state is canceled. The positioning
always builds on the momentary counter contents.
If the modules 9120, 9121 and 9122 are called several times during a PLC scan, only the last
instruction is executed.
If a "positioning error" status was set in this axis it is erased.

Potential errors:
A non-existent axis was transferred.
An axis was transferred that was not identified as an auxiliary axis in MP10 and MP60.
The axis is already moving.

Call:

PS

B/W/D/K <Axis>

(0 to 3 for X/Y/Z/4)

PS

B/W/D/K <Target position>

(in the reference system, Format 0.001mm)

PS

B/W/D/K <Feed rate>

(mm/min)

PS

B/W/D/K <Flag register>

Bit 0

= 1: incremental target position
= 0: absolute target position

CM9120
PL

B/W/D

<Error code>
0: Positioning was started
1: A non-existent axis was transferred
2: Axis is not configured as an auxiliary axis
3: The axis is already moving
4: Absolute position outside of the modulo range

Error status after call: M3171

= 0: Positioning was started correctly
= 1: Positioning was faulty

Advertising