HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 634

Advertising
background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-173

Call:

PS

B/W/D/K

<Axis> (0..4 for X/Y/Z/4/5)

CM

9122

PL

B/W/D

<Status>
Bit 0: 1= Axis is PLC axis
Bit 1: 1= Axis already over reference point
Bit 2: 1= Axis positioning
Bit 3: 1= Direction of motion is negative
Bit 4: 1= Positioning error

Error status after call: M3171 =

0: Status is reported
1: Error condition see above

4.9.4 Traverse Reference Marks for PLC Axis (Module 9123)

The module starts positioning in a defined direction and continues until a reference mark is found or
positioning is aborted by Module 9121. Owing to the possible problems with locating a target
position during the reference traverse (motion reversal etc.), stopping after locating the reference
point will be unavoidable!

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.

- 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.
- The "Search Reference Point" mode is set for the axis.
- An existing reference point on this axis is cancelled but not the numerical value of the axis. This is

not re-initialized until the reference point is located.

- 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.
- Positioning stops as soon as the reference point is reached. Depending on the braking distance of

the axis, the latter will be slightly beyond the reference point in the direction of motion.

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 axis is already positioning.

Advertising