beautypg.com

2 stop plc axis (module 9121), 3 status plc axis (module 9122) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 633

background image


7-172

TNC 407/TNC 415/TNC 425

4 PLC Modules

01.98

4.9.2 Stop PLC Axis (Module 9121)

A positioning sequence previously started with Module 9120 (Start PLC Axis) or Module 9123
(Traverse reference marks) can be aborted anywhere with Module 9121.

Constraints:
- The specified axis must be activated by MP10 and declared by MP60 as a PLC axis.
- If Modules 9120 (Start PLC Axis), 9121 (Stop PLC Axis) and 9122 (Traverse reference mark) are

called more than once for the same axis during a PLC cycle then only the last activated command
is executed.

Possible errors:
- A non-existent axis has been specified.
- An axis has been specified that is not declared as a PLC axis by MP10 and MP60.
- The specified axis is already stationary.

Call:

PS

B/W/D/K

(0..4 for X/Y/Z/4/5)

CM

9121

PL

B/W/D


0: Position is aborted
1: Non-existent axis specified
2: Axis not configured as PLC axis
3: Axis was already stationary

Error status after call: M3171 =

0: Positioning was stopped
1: Error condition see above

4.9.3 Status PLC Axis (Module 9122)

A bit-coded status word is specified for a certain axis and provides information about the current
operating mode of that axis.

Constraints:
- Status changes as a result of commands sent by the PLC to the controller of the PLC axes

(Modules 9120, 9121, 9123) are not detected until the next PLC cycle.

- After power-up Bit 1 (axis over ref.) is cancelled. It is also possible to traverse the axis without first

approaching the reference point.

Possible errors:
- A non-existent axis has been specified.