beautypg.com

12 spindle orientation (module 9171) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 638

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-177

4.12 Spindle orientation (Module 9171)

Module 9171 makes it possible to define the velocity, angle and the direction of rotation for spindle
orientation. Marker M2712 is set as long as the spindle is being oriented.

Constraints:
-

If Marker M2712 and Module 9171 are set in the same scan, the tool is oriented with the
parameters from the module call.

-

If the module is called several times in the same scan, the tool is oriented with the parameters
of the last call.

-

If the module is called while the tool is still being oriented from a previous PLC scan, the call is
ignored.

-

The module works only in the cyclic PLC program.

-

If the module is called while the spindle is turning, the transferred direction is ignored. The
spindle is always oriented in the direction in which it is already turning.

-

When the values +2 to +4 are transferred it is possible to start an orientation to the angle last
defined in CYCL DEF 13. The transferred angle is added to the value from CYCL DEF 13. An
additional spindle preset, therefore, can be transferred from the PLC.

-

The nominal position during tool measurement with TT 110 is transferred exactly as with CYCL
DEF 13

-

If 0 is transferred as the spindle speed, the speed is taken from MP3520.1.

-

The module can function only if M2719 = 1 (word processing).

Possible errors:
-

The module was called from a SUBMIT Job.

-

The parameter for the direction is erroneous.

-

The spindle is already being oriented.

-

A negative spindle speed was transferred.

Call:

PS

B/W/D/K

[1/10 000 °]
or additional preset with value from CYCL DEF 13

PS

B/W/D/K

[1/1 000 revolution per minute] 0 = value from MP3520.1

PS

B/W/D/K

–1: Negative direction (M04)

0: Direction of the shortest path
1: Positive direction (M03)
2: Same as –1 but with angle from CYCL DEF 13
3: Same as 0 but with angle from CYCL DEF 13
4: Same as +1 but with angle from CYCL DEF 13

CM 9150

Error status after call:

M3171 = 0

Spindle is being oriented (M2712 = 1)

M3171 = 1

See above error conditions