beautypg.com

9 plc axes, 1 start plc axis (module 9120) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 632

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-171

4.9 PLC Axes

4.9.1 Start PLC Axis (Module 9120)

Axis positioning is started by defining a target position (in the reference system), a feed-rate and a
flag register. The axis is positioned totally independently of other control sequences, specifically
there is no contour interpolation with other axes.

Constraints:
- The specified axis must be activated by MP10 and declared by MP60 as a PLC axis.
- The values for rapid traverse, analogue voltage for rapid traverse, acceleration etc. must be set

correctly in the machine parameters.

- For axes with automatic reduction (modulo value in MP810.x) the axis always traverses to the

target position in the direction of the shorter traverse path unless the target position has been
specified as an incremental value.

- The system does not check for limit switch overshoot!
- The axis must be stationary. Any ongoing positioning must first be aborted with Module 9121.
- There is no feed-rate override.
- If the axis was previously in the "Search Reference Point" mode, this mode is cancelled.

Positioning always starts from the current register contents.

- 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.

- Any "Positioning error" status that is set in this axis is cancelled.

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.
- An absolute target position outside the range (0 .. modulo value) has been specified for a modulo

axis.

- The axis is already positioning.

Call:
PS

B/W/D/K

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

PS

B/W/D/K


(in reference system, format 0.0001 mm)

PS

B/W/D/K

(mm/min)

PS

B/W/D/K


Bit 0 = 1: Target position incremental

CM

9120

PL

B/W/D


0: Positioning has started
1: Non-existent axis specified
2: Axis not configured as PLC axis
3: Axis is already positioning
4: Absolute position outside modulo range

Error status after call: M3171 =

0: Positioning has started
1: Error condition see above