beautypg.com

Module 9121: stop an auxiliary axis, Module 9122: poll the status of an auxiliary axis – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 494

background image


8/95

TNC 360

4 PLC Modules

7-115

4.9.7 Module 9121 Stop an auxiliary axis

A positioning movement that has been started with Module 9120 or Module 9123 can be canceled
at any point with Module 9121.

Constraints:

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

MP60.

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

the last command is executed.

Possible errors:

The transferred axis does not exist.

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

The entered axis is already stationary.

Call:

PS

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

CM9121
PL

B/W/D


0: Positioning movement is canceled
1: Transferred axis does not exist
2: Axis is not configured as an auxiliary axis
3: The entered axis was already stationary

Error status after call: M3171

= 0: Positioning movement is stopped

= 1: Faulty execution

4.9.8 Module 9122 Poll the status of an auxiliary axis

For a certain axis a bit-encoded status word is transferred that provides information on the
momentary condition of this axis.

Constraints:

Status changed resulting from commands sent by the PLC to control the auxiliary axes (Modules

9120, 9121, 9123) are not recognized until the next PLC scan.

After switch-on, Bit 1 (axis over reference point) is erased.

It is possible to position the axis even without first crossing over the reference mark.