beautypg.com

Module 9120: position an auxiliary axis – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 493

background image


7-114

TNC 360

4 PLC Modules

8/95

4.9.6 Module 9120 Position an auxiliary axis

A positioning movement is started by entering a target position (in the reference system), a feed
rate, and a flag register. The axis is positioned in complete dependence on other processes in the
control. However, it's path is not interpolated with other axes.

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.

For axes with automatic display value reduction (modulo value in MP810.x) the axis is always

moved in the direction of the shorter path to the target position, except when the target position
is entered as an incremental value.

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.

If the axis was in reference run mode, this condition is canceled. The positioning movement is

always added to the current counter value.

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.

Possible errors:

The transferred axis does not exist.

The transferred axis was not declared through MP10 and MP60 to be an auxiliary axis.

The axis is already being positioned.

Call:

PS

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

PS

B/W/D/K

(in the reference system, format 0.001 mm)

PS

B/W/D/K

(mm/min)

PS

B/W/D/K

Bit 0

= 1: Target position incremental
= 0: Target position absolute

CM9120
PL

B/W/D


0: Positioning was started
1: The transferred axis does not exist
2: The axis is not configured as an auxiliary axis
3: The axis was already positioned
4: The absolute position is outside the modulo range

Error status after call: M3171

= 0: Positioning was correctly started
= 1: Faulty positioning