beautypg.com

5 offset adjustment, 2 bcd-coded output of spindle speed – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 229

background image


4-104

TNC 407/TNC 415/TNC 425

4 Main Spindle

01.98

4.1.5 Offset adjustment

Spindle orientation is followed by automatic offset adjustment. To give the spindle sufficient time to
recover, offset adjustment does not start until the spindle has been in position for at least two
seconds. Offset is then compensated cyclically by 0.152 mV at one second intervals.

4.2 BCD-coded output of spindle speed

For coded output of the spindle speed an S-code is entered in Word W258 by the NC. At the same
time strobe marker M2044 is set by the NC. The signals are static. The NC delays the continuation
of program run until marker M2481 gives the acknowledgement that the new spindle speed has
been activated. On acknowledgement the strobe marker M2044 is reset. The S-code is not altered
until the next S-output.

A spindle speed is entered in the TOOL CALL-block with a maximum of four figures in rpm, if
necessary, rounded off by the NC to the nearest standard value. Spindle speeds of 0 to 9 000 are
possible. The spindle speed which has been entered is put out by the control as S-Code according to
DIN 66025, as shown in the list of S-Codes.
With MP3020 the minimum and maximum spindle speeds and the desired spindle-speed steps can
be defined.

The entry value is a 5-figure number, derived as follows:

Minimum spindle speed 00 to 99

(see S-code-table)

Maximum spindle speed 00 to 99

(see S-code-table)

Spindle-speed step

1 to 9

Example:

The minimum spindle speed is to be 1 rpm (S-code 20), the maximum spindle speed is to be
1000 rpm (S-code 80). Only every second spindle speed should be programmable. This gives an
entry value of 20802 for MP3020. An entry value of 991 would mean no limit.
The S-code is stored in the PLC in Word W258. The minimum spindle speed from MP3020 is stored
in Word W1008.

Marker

Function

Set

Reset

M2044

S-code change signal

NC

NC

M2481

S-code acknowledgement

PLC

PLC

W258

S-code

NC

NC

W1008

S-code for minimum spindle speed

NC

MP3020

Definition of the spindle speed range
Entry: 1 to 99,999