Mounting Instructions and Interchange Circuit Control-Machine Heidenhain TNC 145C Controuring Control 22227723
Mounting Instructions and Interchange Circuit Control-Machine Heidenhain TNC 145C Controuring Control 22227723
Mounting Instructions and Interchange Circuit Control-Machine Heidenhain TNC 145C Controuring Control 22227723
1. General remarks 4
2. Technical specifications 4
2.1 Control inputs 4
2.2 Control relay outputs 4
2.3 Grounding diagram 4
2.4 Transducers 5
2.4.1 Transducers for TNC 145 CS 5
2.4.2 Transducers for TNC 145 CR 5
2
7. Operation set-up j 27
c.7
7.1 Operation set-up check-list -. L/
,’
8. Explanations for operation set-up check-list, s&Ion c) 30
8.1 Buffer battery switch-off 30
8.2 “Right-hand-rule” 30
8.3 Input of preliminary machine parameters 30
8.3.1 Entry flow-chart for machine parameters 31
8.3.1 .I Entry/Readout of machine parameters from TNC 145 C via Magnetic tape unit ME 101
or ME 102 32
8.3.2 List of preliminary parameters 34
8.4 Checking and correction of traversing and counting directions of individual axes 37
8.5 Software limit switch range setting 38
8.6 Optimization of machine positioning with speed pre-control 39
8.6.1 Offset adjustment 39
8.6.2 Fine adjustment of trailing error 40
8.6.3 Acceleration (linear and radial) 41
8.6.4 Oscillation upon acceleration 42
8.6.5 Approach speed 1 pm before nominal position 43
8.6.6 Integral factor X, Y, Z 44
8.7 Optimization of machine positioning with trailing error 45
8.7.1 Offset adjustment 45
8.7.2 Fine adjustment, trailing error 45
8.7.3 Acceleration (linear and radial) 46
8.7.4 KV-factor X, Y, Z 46
8.7.5 Multiplication factor for KV and ramp kinking point 47
8.7.6 Integral factor X, Y, Z 47
11. Dimensions 59
3
1. General remarks
Caution !
All TNC 145 inputs and outputs may only be connected to electric circuits with protective low voltage.
2. Technical specifications
Mains power supply selectable 10QJ.t20/140/200/220/240 V
+lO%/-l5%,48...62Hz
Power consumption approx. 60 W (with VDU)
Ambient temperature Operation 0 . . .45OC (32OF . . . 113OF)
Storage - 30 + 70°C (-- 32’F . . 158OF)
Weight TNC 145 C-control unit 11.2 kg
Visual display unit 6.8 kg
Dimensions see page 59
Caution !
Connect control O-volt for inputs and outputs of control to a common grounding point
(Operational ground & q
, see grounding diagram)!
Control
7---------I
Potential-free
. inputs and outputs
4
2.4 Transducers
If accuracy requirements are permitting, indirect measuring systems e.g. rotary encoders type ROD 450 may
be connected to the drive spindles. The required number of lines for the encoder is calculated as follows:
For angle measurement (only in metric mode) rotary encoder types ROD 250 and ROD 700 with 18.000 or
36.000 lines are available.
The cable length between transducer and TNC 145 must not exceed 20 m.
The max. permissible cable length between the transducer and the EXE-unit is 20 m. The max. permissible
length between the EXE and the TNC 145 CR is 50 m. Therefore, the max. total cable length is 70 m.
For direct measurement the LIDA 325 (measuring length approx. 30 m, grating pitch 100 pm) in conjunction
with an EXE 829 (3 axes and 25x subdivision) may be used.
The following EXE 829 versions are available:
Type Subdivision
For angle positioning, a rotary encoder can be used as with the TNC 145 CS. The encoder signal is subdivided
by e.g. 5 x in the EXE. Therefore, with 4x evaluation of the TNC rotary encoders with 18 000 lines per rev.,
e.g. ROD 250, are to be used.
3. Functions of control inputs / outputs
By means of the appropriate connection of these inputs, it is for example, possible to effect an external lock
when two controts are in operation on one machine. The required push-buttons for “Start” (closer) are in-
corporated into the machine pendant or console by the machine tool manufacturer.
The function of the “rapid traverse” button overrides all other programmed speeds i.e. on pressing the “rapid
traverse” button, the machine moves in rapid traverse regardless of any lower programmed feed rate.
It is left to the discretion of the machine tool manufacturer as to whether a “rapid traverse” button is to be
fitted. A “rapid traverse” can be programmed directly into the TNC 145 via ‘keyboard-entry
(“‘rapid traverse” = 9999 mm/min or 3936 inch/min.)
10
“Manual traverse” J5 5
Axis release X Jl 1
Axis release Y Jl 2
Axis release Z Jl 3
After TNC 145 C switch-on and cancellation of display “power interrupted” the axis releases X, Y and Z close:
closing takes place for each axis seperately after pressing the external start-button and before traversing to the
reference marks. The axis release relays remain permanently closed after crossing the reference marks so that
the machine is kept in a closed loop condition by the control.
Exception:
In the operating modes “Manual”, ” Electronic handwheel” and “Programming/Editing”, the axis release
contacts are opened (supply of + 24 volts control voltage at input for “Manual traverse”) e.g. with traverse of
machine in conventional mode with mechanical handwheels.
Caution !
Machines, on which axes could move out of position when the closed loop is off, must be fitted with a locking
facility.
By opening the input “feed rate release”, the speed can be ramped down to zero at any time, by means of the
“machine acceleration” which is entered as a machine parameter during initial dialogue entry.
3.4 Regulat:or release
The output “regulator release” is used for inhibiting the servo-amplifier when switching over axes (see section 4,
page 22).
3.5 M-, S- and T-functions, Strobe signals and feedback signal: “‘Auxiliary function completed”
5 . . . 20 J2 6
6 . . . 2l J2 7
7 . . . 22 Decade 2 J2 8
8 . . . 23 J2 9
Decoded outputs
M 03 J2 10
M 04 J2 11
M 05 J2 12
M 08 J3 1
M 09 J3 2
Gating signals
S-Strobe J3 3
M-Strobe J3 4
T-Strobe J3 5
M-, S- and T-functions are provided statically via the same relay outputs of the control. To differentiate
whether an M-, S- or T-function is at the output, pulsed strobe signals “M-Strobe”, “S-Strobe” and “T-Strobe”
are used.
7
3.5.1 Output of M-functions
M-functions operative at block-beginning.
Timing diagram:
Start
.
Static output: a) M-code, 8 bit BCD parallel
b) decoded M-functions
M-Strobe
Please note:
Tl, T2 and T3 are determined with machine parameter 58 (see section 9, page 48).
The M-code is provided as a static signal. The M-gating signal (M-Strobe) is provided with a duration of T2 ms
at Tl ms after start of M-code-value-output. T3 ms after start of M-signal-output, the control input is interrogated
for the feedback signal: “Auxiliary function completed”. When this input is at + 24 V, the M-code signals are
inactive and program run is resumed. If this input is inactive, (at 0 V), the M-code signals remain and program
run is interrupted until the input is re-activated (at 24 V).
The number of M-functions depends of the type of decoding in the machine interface.
a) Coded M-functions
Output is in 8-4-2-l BCD-code, 2 decades parallel. (Decoded M-functions are present with the corresponding
coded M-functions simultaneously). The table on page 9 shows which M-functions are operative at the be-
ginning or end of a block, and the appropriate coding.
8
Coding of M-functions
9
b) Decoded M-functions
9 M-functions can be provided directly via relay contact thus making decoding in the machine interface
unnecessary.
Caution!
The M-functions M 90 - M 99 may not be allocated!
HEIDENHAIN reserves the right to assign these M-functions.
An exact explanation of functions M 90 and M 95 - M 99 can be found in the TNC 145 C operation manual.
IO
3.5.2 Output of S- and T-functions within Tool Call-block
The output of S- and/or T-functions with the strobe signals can be inhibited through relevant machine
parameters iin the initial dialogue, see “Entry of prelimrnary machine parameters”, section 8.3, page 30.
Timing diagram
r
Start
I I I
I I ’( T3 I
T2 Tl T2h
I-
I
I/
1 \Auxiliary
I function completed” 4 , 1
Please note::
Tl , T2 and T3 are determined with machine parameter 58 (see section 9, page 48).
The TNC 145 C permits programming of tool numbers from 1 to 255. The tool numbers 1 - 99 in 8-4-2-BCD-code
are only output in the programmed tool call blocks; for tool numbers greater than 99, all 8 output-relays
pick-up. Next to the tool number, the tool call block contains the data for the spindle speed S.
If the same tool number is called several times, the output of the T-function only takes place with the first call.
The T-code is provided again only when the tool number has changed.
11
b) S-functions (Spindle speeds)
The S-code is a static signal. The S-Strobe is provided Tl ms after beginning of the S-code-value with T2 ms
duration.
T3 ms after the T-Strobe-signal, the control input “auxiliary function completed”, is interrogated. When this
input is at + 24 V the S-code is cut-out and the program is resumed. If the input is inactive (at 0 V) the S-code
signals are provided and the program remains interrupted until the input is re-activated (at + 24 V). (see also
diagram on page 11)
Spindle speeds are entered into the TOOL CALL program blocks with max. 4 digits in r.p.m. and automatically
rounded-off to the nearest standard speed by the control. The entered spindle speed is automatically coded by
the control in S-codes in accordance with German standard DIN 66025 page 3, in 100 steps - as listed on
page 13 (Output is in 2-decade BCD-code).
With the machine parameter “RPM-code”, the minimum and maximum permissible speed can be entered. The
RPM-steps can be set within the permissible RPM-range.
.i 2
Err $*
x x X
t
Example:
The RPM-code “2 0 8 0 2” is entered, i.e. the minimum spindle-RPM is therefore S 20 (1 RPM), the maximum
spindle RPM is S 80 (1000 RPM), the range is more closely defined by the specification that only every second
12
Coding of S-functions
S-function
RPM
Connector J 2
bit 1234 5678
S-function
RPM
1
Connector J 2
bit 1234 5678
1 = Contact closed
0 = Contact Open
13
3.6 Emergency Stop
Important functions of the TNC 145 C are under constant supervision through self-diagnostics (electronic
subassemblies such as microprocessors, the memory read/write-store, positioning systems, transducers etc.). If
a fault is detected, it is indicated as a flashing display in the plain language dialogue. On output of fault-
indication, the “emergency stop” contact opens.
The “Emergency Stop” condition can only be cancelled by switching off the mains voltage- provided that the
fault has been rectified. A special mains switch may be necessary for the control only!
The emergency stop contact must cut-out the 24 V auxiliary voltage in the machine interface.
Due to the great significance of the emergency stop contact for safety reasons, its function is monitored by
the control with each switch-on of power (see page 15).
14
Procedure for emergency stop supervision
Power on
; t mergency
If the + 24 V control voltage is cut-out by a procedure externally to the control, the TNC 145 C displays the
fault “Emergency Stop”. (This fault is not displayed as a flashing signal and can therefore be cancelled with
the CE -key).
0
Caution!
The external emergency stop is evaluated by the control as per an external stop. If the emergency stop is
activated during an axis traverse, the moving axis is decelerated as with an external stop. Should the external
emergency stop block the drive amplifier thus exceeding the programmed values for machine parameter 7
(position supervision, erasable) and machine parameter 8 (position supervision, emergency stop), the fault
“Positioning error” or “Gross positioning error” is displayed.
15
3.7 Input “Reference end position” and “Reference pulse inhibit”
After switching on the mains power of the TNC 145 C, all three machine axes must be traversed over. After
pressing the external Start-button, traversing over of the reference marks is performed automatically as per the
entered machine parameters.
After entry of the code number 84 159 and pressing of 0@ -key, the reference marks can also be traversed
over by means of the external direction buttons.
For location of reference points it is necessary for each machine axis to have a cam-switch (“Reference end
position”). The cam for this switch must be positioned such, that when travelling towards the cam, the switch
closes shortly before reaching the reference mark and remains closed whilst still traversing in the same
direction until the emergency stop switch.
If a reference mark is crossed with the “reference end position” switch open, the following error is displayed:
“Wrong reference point”.
3.7.1 Location of “Reference end position” - cam when using linear transducers
(Inputs for “Reference pulse - inhibit” are not required and remain disconnected).
closed open
Switch “Reference end position”
16
3.7.2 Location of “Reference end position” and .“Reference pulse inhibit” cams when using rotary encoders
With installation of rotary encoders, an additional cam switch per axis is necessary for reference pulse
supression (For controls with !dent-No. 217 330 . . . , the reference pulse suppression is inactive).
A rotary encoder produces one reference pulse per revolution, e.g. a spindle pitch of 10 mm will, after 10 ms
of travel, transmit one reference pulse. The control will evaluate a reference pulse only when the cam switch
“reference pulse inhibit” is open. In the example, the cam must be adjusted such, that the switch opens 5 mm
before the desired reference pulse and closes approx. 5 mm after the reference pulse.
17
3.7.3 Procedure for traversing over reference mark in an axis
NO YES
“Reference end position”
NO YES
Machine stops
18
3.9 External1 direction buttons and external feed rate potentiometer
X + direction J6 5
x-” J6 6
Y+” J6 7
y- ” J6 8
z+ “ J6 9
z -1’ J6 10
ext. potentiometer + 12 V J3 6
,I I,
J4 7
II I,
ov J4 8
By applying the 24 volt control voltage via an external direction button, the relevant machine axis can be
traversed in i:he modes: “Manual”, “Electronic handwheel”, “Programming”. The maximum speed (the same
for all axes) must be programmed as a machine parameter.
With a further machine parameter, the input for an external feed rate potentiometer (if available) with machine-
specific feed-scale can be activated. If no external feed rate potentiometer is available, the feed rate for the
direction buttons can be set via the override potentiometer with %-scale. The rapid traverse button is also
active together with a direction button.
If one or more direction buttons are held depressed and the external 0sTART button is activated, the traversing
direction is rnemorised. This motion can be stopped by pressing the external -button.
0STOP
Automatic mode 7
The contact “Automatic mode” is open in the “Manual mode”; in all other modes it is closed.
output 1,
The relay output “Lock for spindle on”, can be utilized for displaying when a tool change may take place
without endangering the machine operator.
The contact is open when a programmed “spindle stop” and a programmed “program stop” are simultaneously
operative.
The contact is closed in “Manual” mode.
19
3.12 Output “Control in operation”
m
Output Multipoint Terminal
connector
CIontrol in operation Jl
-
The relay pulls if the control is started in the q
@ , i or q mode.
If the external
0STOP-button is pressed, the contact breaks.
1 10 6000
2 5 3000
3 2.5 1500
2 1.25 750
s 0.625
6- 0.313
7 0.156
8 0.078
9 0.089
10 0.019
20
3.14 Nominal value-outputs
X + 10 volts J4 1
0 volt J4 2
Caution:
The O-volt nominal value-outputs must be grounded (see section 2.3, page 4)!
For interface wiring, shielded cables must be used for nominal value-voltages.
Ramp characteristic
When traversing, the machine traversing speed is controlled; in particular, during acceleration and deceleration.
For deceleration, the path speed - in relation to the nominal position - initially corresponds to a root-
characteristic and then a straight line-gradient in the vicinity of the nominal position. For this, the entry of
machine parameters is necessary (see “Optimization of machine positioning”, section 8.6, page 39).
21
4. Clamping and switch-over of axes
As of software version . .. . . . 07
On
Off
Axis relay
On
1 Off
Positioning loop (internal)
-4
Tl
Axis relay
Feed (internal)
Off On
T4
On
Axis relay, axis 1
Feed (internal)
The following parameters are required for clamping and switch-over of axes:
T 1 = AA x 20 ms
T4 = 66 x 20ms
T2 = CC x 20ms
T3 = DD x 20ms
MP73: AA BB
MP74: CC DD
Machine parameter 75
The clamping and switch-over axes are determined with MP 75
MP75: AB
If a peripheral unit with a different Baud rate is connected to the TNC 145 C (without interconnection of an
ME 101 or ME 102), the Baud rate of the TNC 145 C must be re-programmed. Refer to the following instructions:
Select “Manual” qfi mode
Press /$J , (p ro g rammed Baud rate will be displayed)
Enter new Baud rate (possible values: 110, 150, 300, 600, 1200, 2400 Baud)
Press 0@ for transfer into memory.
If the control is switched off with empty or missing buffer batteries, the programmed Baud rate is erased. With
new switch-on, the Baud rate is automatically re-set to 2400 Baud.
23
The following points should be observed when programming externally
a) A program must begin with the characters CR (Carriage Return) and LF (Line Feed). Both characters must
preceed the first block otherwise they will be overread when entering via tape.
c) The end of the last block must finish with CR, LF and ETX (Control C)
d) Every block must contain all information that is requested by the dialogue display when programming.
Please note:
As of software version . . . . . . 07:
With external entry of program blocks or machine parameters, the character CR may be neglected for end of
line. The end is recognised with “LF” or “FF”.
The following wiring diagram is recommended for connection of a peripheral unit (e.g. printer with paper
tape reader/punch).
CHASSIS GND 1 o 0
TXD2
im3zDcz:
RTS 4 0 4 Key to signals:
CTS 5 I 0 5
24
6. HEIDENHAIN ME 101 / ME 102 Magnetic tape cassette units
HEIDENHAIN offers special magnetic tape for external data storage.
The magnetic tape units ME 101 and ME 102 are equipped with two data in/output sockets. In addition to the
control, normal commercially available peripheral units can also be connected via the V.24 (RS-232-C) output
of the ME (Connection marked PRT).
The data transmission rate between control and ME is set at 2400 Baud. The transmission rate between the ME
and a peripheral unit can be matched with the aid of a stepping switch (110, 150, 300,600, 1200, 2400 Baud).
Detailed information concerning the use of the magnetic tape units can be obtained from the operating manual
ME 101 and ME 102.
a) Cable adaptor for attachement to the housing in which the TNC 145 C is mounted / data transmission cable
for connection to ME 101.
CHASSIS GND
Length 3 m
b] Connecting cable: ME 102 direct to the TNC.
CHASSIS GND
SIGNAL GND
c) Connecting cable for extension of the V.24 connection of the ME 102 unit (pendant type) into the
housing in which the ME 102 is mounted (operating panel)
Connection of
- peripheral unit.
Further information concerning the V.24 interface and external programming can be found in the
following publications:
‘IV.24 Data Transfer Connection”
“&lock format for the TNC 145-control”
Please ask for a copy!
26
7. Operation set-up
Operational set-up of the machine with TNC 145 C should be jn accordance with the following check list.
An explanation of individual points is provided in the check list if necessary.
Operation set-up can only be performed when the drive-servo-amplifiers are optimised and the desired rapid-
speeds are adjusted on the servo-amplifiers with a g-volt input voltage.
a.1 Check setting of the mains power switch and TNC-mains fuses:
For 100/120/140V-fuseT l.OA
For 200/220/240 V - fuse T 0.8 A 0
a.2 Remove covers from cooling slits.
(The housing must be protected from water spray) 0
a.3
The transducer connectors must have ,a conductive connection to the
machine via the outer shielding of the cable and via the scanning heads.
-------------- - - -
a) The connection
-----
is made for the X-axis
- ___ - - - - - --- 0
b) The connection
------------
is made for the Y-axis
--- 0
c) The connection is made for the Z-axis 0
a.4 The inner shield (pin 9) of the transducer connector must have no
conductive connection to the connector housing.
_-----p-p-- -- ---
.a) No connection
--------
on X-axis
--- --- 0
b) No connection
-----
on Y-axis
---- -- --- 0
c) No connection on Z-axis 0
a.5 All remaining transducer connector pins must have no conductive
connection with pin 9 or connector
-- -----
housing.
---
a) No connection
-----
on X-axis
- - ~ - - - -- 0
b) No connection
----
on ‘f-axis
- - ------ -- 0
c) No connection on Z-axis 0
a.6 The O-Volt return line of the external 24 V-auxiliary voltage must be grounded
to the common earthpoint. of the adaptor cabinet (see section 2.3, page 4). 0
a.7 The input of the servo-amplifiers must be directly connected to the
appropriate analogue output of TNC 145 C via shielded cables (intermediate
resistors etc. are not permitted).
0
a.8
The O-Volt-connections of the servo-inputs (connections
must be grounded (see section 2.3, page 4)
at J 4, pins 2/4/6)
0
27
b) Checks after switch-on of adaptor cabinet
-
b.1 Measure external D.C. voltage.
Does this meet the specified requirements?
+ 30 V max.
+ 15 V min. 0
1
0
------+ time t
-
b.2 Set-up of D.C. drive amplifiers.
The rapid traverse speeds must be adjusted with an external nominal
voltage of 9 V.
0
-
b.3
-
Check function of emergency stop - limit switch.
0
2%
c) Adjustment of HEIDENHAIN TNC 145 C - Control
The TNC 145 C can control the axes in two ways:
.with speed pre-control
.with trailing error (lag)
Both modes require different machine parameters to optimize positioning behaviour.
Operation with speed pre-control (parameter 21 ON) :
Position loop behaviour is determined with parameters 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 30 and 38
Operation with trailing error (lag) (parameter 21 OFF) :
Position loop behaviour is determined with parameters 6 (only effective when crossing reference marks), 10,
11, 12,38and60-66.
-- __----
parameter 21 ON)
------ --
Offset adjustment
---
Fine adjustment,
----
trailing error
(see section 8.6.1, p. 39)
__---- i- --- 0
Oscillation on acceleration
--___--
Approaching speed 1 urn before
nominal position
-----
(see section 8.6.5, p. 43)
--- -
0 -
___---
Offset adjustment
__- --
1 (see section 8.7.1, p. 45) I -w -
Fine adjustment,
------
trailing error
I- (see section 8.7.2, p. 45)
---
I- -- 0
Acceleration (linear and radial)
KV-factor X, Y, Z
29
8., Explanations for operation set-up check-list, section c)
8.2 “Right-hand-rule”
In order that tool radius compensation can function correctly, the machine axis X, Y and Z must be determined
with reference to the direction of travel so that a relative movement of the workpiece, away from the tool,
takes place in a positive direction. The counting direction can be determined by the “right-hand-rule”.
+ Z-direction
middle finger
+ Y-direction
index finger
30
8.3.1 Entry flow-chart for machine parameters
I Mains power on
I
t
Dialogue display:
NO Buffer batteries
YES
-1 )
I
/ Enter cog;ziJ48 in
I
1
programming” “Machine
parameter MPO”
VDU-screen:“Machine para-
Enter parameter and press ElENT meter programming” “Machine
With wrong entry machine
parameters already entered
can be selected and amended by I
pressing f
l-2
On completion of parameter
entry VDU displays:
“Program memory erased”
Cancell with 0CE . Machine
parameter display is cancelled.
J entry, press Ia
Machine parameter display is
cancelled. I
31
8.3.1.1 Entry/Readout of machine parameters from TNC 145 C via Magnetic tape unit
ME 101 or ME 102
ME-power on
Insert cassette
Please note:
As of software version . . . . . . 07:
If an error should occur when entering machine parameters with memory erased, the machine
parameters which have already been entered are not erased. The missing parameters may be entered
manually.
32
Transfer of machine parameters from TNC 145 C to magnetic tape/Entry of parameters from magnetic tape
I Mains power on
I
q)
Dialogue display “power
interrupted” cancel with CE
Emergency stop
routine see “Emergency stop”
NO
I
I
Display: “Machine
parameter programming” Enter code 95148 in -mode
“Machine parameter MPO”
Press EX
131
-1
Transfer data from control to tape Transfer data from tape to control
)I
33
8.3.2 List of preliminary parameters
The machine parameters marked * must be optimised or modified as follows:
34
Machine parameter No. Entry
35
-
Machine parameter No. Entry
-
Definition of timing procedure for clamping and 73 0
switch-over of axes (Tl, T2, T3, T4) If axes are to be clamped, see section 4,
page 22
74 0
1 If axes are to be switched-over, see section 4,
page 22
Definition of clamping and switch-over-axes 75 0
If axes are to be clamped or switched-over,
see section 4, page 22
Program end character 76 3
Clearing status display with MO2 and M30 77 0 c Status display not to be cleared
1 2 Status display to be cleared
Et-or display “Positioning error” if 78 0 - 65,636 s
programmed
- position has not been reached I I
Rapid traverse
(m/min) KV= 1 1‘2 I,4 I,6 13 2
36
8.4. Checking and correction of traversing and counting directions of individual axes
Mains power on
I
t
Fault display “power
interrupted cancel with
qCE
Emergency Stop routine
I 1
Display “Traverse over
reference marks” (sequence
NO
correct (switch ref. end
+
Interchange connections
to motor and tachogenerator
r-
+
Fault display “power
interrupted” cancel
with 0CE
a) Entry of the maximum possible traverse options of the TNC 145 C Control + 19999,999 mm given in the
above machine parameters.
c
The noted value is programmed as machine parameters 31 to 36.
-7
3%
8.6 Optimization of machine positioning with speed pre-control
Please note:
Machine parameter 21 must be programmed with ON.
By varying the machine parameters that are necessary for the HEIDENHAIN TNC 145 Control output
characteristics, the control can be optimized to the machine in question.
Mains power ON
t
I
I I
39
8.6.2 Fine adjustment of trailing error
1
I
t
40
8.6.3 Acceleration (linear and radial)
If the specific machine acceleration is unknown, the machine parameter 6 to be entered is determined as
follows:
c
Increase parameter 6 “Acceleration” in small steps
(until control s;ps machine). 1
t
I
c YES
t
I
Enter 0.7 to 0.9-fold of the determined value
into machine parameter 6.
I J
Machine parameter 38 “radial acceleration by circular movement”: enter half the value of machine parameter 6.
41
8.6.4 Oscillation upon acceleration
The configuration of the acceleration ramp is influenced by parameter 30.
I
- distance - distance
Condition 1: Condition 2:
Parameter 30: entered value large Parameter 30: entered value small
42
8.6.5 Approach speed 1 vrn before nominal position
Parameter 5 influences the gradient of the deceleration ramp in the vicinity of the nominal position.
Adjustment is carried out as follows:
In “programming” mode 9
following program:
q
enter
LBL 1
AX 100 RO F 9999
AX 0 RO F 9999
CALL LBL 1 REP lOO/lOO
t
I 1
Check positioning of Y and Z axes.
If necessary, amend parameter 5.
43
8.6.6 Integral factor X, Y, 2
The integral factor (parameters 10, 11, 12) provides an automatic offset adjustment with a minimum of
positional deviation (the offset adjustment of the servo-amplifier must already be carried out before setting the
parameters 10, 1 1, 12). The parameters are optimised as follows:
Parameter 37: ON
Vlachine stays within closed loop in position.
44
8.7 Optimization of machine positioning with trailing error
Please note:
Machine parameter must be programmed with OFF.
t
In programming mode @ enter following parameters:
0
LBL 1
LAX 100” AY 100” RO F 9999
LAX 0 AY 0 RO F 9999
CALL LBL 1 Rep lOO/lOO
45
8.7.3 Accelerat:ion (linear and radial)
The entry value for linear acceleration is only effective in trailing operation when approaching the reference
marks. If the Icontrol has been set-up with speed pre-control, this value remains; otherwise enter 0.2.
For “radial acceleration with circular motion (machine parameter 38)” half of the machine parameter 6
value is entered.
8.7.4 KV-factor X, Y, 2
The KV-factor (speed amplification) determines the amount of lag (positional deviation) with a certain speed.
It is calculated as follows:
With a KV-factor which is to small, acceleration and positioning takes place too slow.
For operation with lag, the KV-factor is entered directly into the machine parameter
46
8.7.5 Multilplication factor for KV-factor and ramp kinking point
The ramp characteristic has a kink (see sketch)
Kink-point MP 64
e. g. at 50 %
MP 60, MP 61, MP 62
The gradient of ramp 1 is determined by parameters 60, 61 and 62. Machine parameter 63 is a multiplication
factor for parameters 60, 61, 62 and determines the gradient of ramp 2.
The kink of the characteristic is determined by parameter 64. Entry is in % with reference to the analogue
voltage at rapid traverse (9 V) i.e.
9v 2 100%
eve 0%
If for example, the kink is to lie at 4,5 V, machine parameter 64 must be programmed with 50 %.
47
9. Entry of Freely selectable machine parameters
Machine parameter 9:
Positioning accwacy
The acceptable range which the control recognises as being “position achieved” can be entered with parameter
9.. For example, by entering 0.05, the machine accepts a position within + 0.05 (mm) of the nominal position
as being “position achieved”. Reduction of this positioning range increases the positional accuracy in point
control behaviour; thereby however, extending the approach time of the machine and the duration from block
to block in automatic program run.
48
Machine parameter 47:
Storage function for direction buttons
With machine parameter No. 47., the storage function of the direction buttons can be switched either on
or off via the ext. start/stop-key.
If the machine parameter No. 48 is programmed with “ON”, the special sequence is active as follows: I
Axes, which are located within the range of the reference end position, are traversed off of the reference end
/
position-cam before approaching the reference mark. The corresponding axes are indicated by the inverse I
dialogue “Pass over X/Y/Z reference mark”. Finally the reference marks are passed over as normal.
The cam-switches for “Reference end position” must each be fitted with a switch-over contact, When each
control input for “Reference end position” is at 24 V, the corresponding input “Reference pulse inhibit”
must be off and vise-versa.
0 none
Machine parameters 55 and 56 also determined whether the inhibited axes enable traversing to the
reference marks
or
49
Machine parameter 52:
Override when actuating the ext. “Rapid traverse”-button
Machine parameter No. 52 determines whether the “override’‘-potentiometer is active or inactive when
the ext. “Rapid traverse”-button is pressed.
The entered value is multiplied by the mill radius for the max. pecking depth in mm.
If this parame::er is programmed with ON (press q ), the control demands that the inhibited axes be
traversed over the reference marks after mains power switch-on. These axes must be manually traversed. If the
parameter is programmed with OFF (press q ), reference mark approach is not demanded for the inhibited
axes.
Supervision is inactive if the parameter is programmed with OFF. In this case, the inhibited axes are completely
inactive and ttle position displays cannot be used for position readout. A dummy connector for transducer
simulation is not required.
50
Machine parameter 57:
Constant contouring speed on external corners
This parameter is entered in degrees and determines which maximum angle of an external corner may be
traversed with a constant contouring speed.
Please note:
Large angles should not be entered! An angle which
IS too large can cause damage to the machine mechanics.
Tool path
o-9 00 - 99 o-9
\ ” ’ / \ J
Zl 22 23
Timing diagram
Start
T-Code, static
8 bit parallel BCD
I T-Strobe
. 1
wait for feedback
Tl T2 T3 “Auxiliary ftinction completed”
+-- F
Tl = Zl x 10ms
T2 = 22 x IOms
T3 = 23 x IOms
51
Machine paraimeter 59:
Standstill supervision
This machine parameter monitors the standstill behaviour of a stationary axis. If the entered limit is exceeded,
theerror “GROSS POSITIONING ERROR A“ is displayed. This error display cannot be cancelled by
pressing the CE -key.
El
Entry limits: 3,001 - 30 mm
“POSITIONIfJG ERROR”
This error is displayed by flashing and can only be cancelled by switching off the mains power.
M 83 = Start pecking
M 84 = Start tapping
and
M 80 = End pecking/tapping
If parameter 67 is programmed with OFF, the output of the abovementioned M-functions is non-automatic,
If the interface electronics provide an inverted reference end position signal (opener), this parameter must be
programmed with ON
52
Machine parameter 70:
Decimal poitnt or decimal comma output via the V.24-interface
For entry of programs via the external interface with TNC 145 CS, the decimal point or decimal comma is
evaluated the same as for numerical values. (With TNC 145 a decimal comma had to be programmed)
If a decimal point is required for numerical values with program output, this parameter is to be programmed
with ON; with decimal comma output, OFF.
If the parameter is altered during operation, a new start (display: “power Interrupted”) is performed.
As of software version .._ . . . 07 the following additional machine parar,leters are to be entered:
Machine parameters: 73,74,75:
Parameters for clamping and switch-over axes
see section 4, page 22
53
Machine parameter 76:
Program end character
VVith the aid of parameter 76, an additional character for “program end” can be selected in accordance with the
ISO-character code. Entry takes place in accordance with the value of the selected character and is derived from
the punch hole arrangement on the tape (without parity bit).
SOH 1 Y 89
STH 1 2 Z 90
ETX 3 C 91
EOT 4 \ 92
ENQ 5 1 49 3 93
ACK 6 2 50 *t t) 94
BEL 7 3 51 - (+) 95
BS 8 4 52 96
FIT i 9 5 53 97
L.F 10 6 54 98
VT 11 7 55 99
FF 12 8 56 100
ER 13 9 57 1 01
so I 14 58 1 02
SI 15 59 1 03
DLE 16 c 1 60 1 04
kl (X-ON) 17 = 1 61 105
DC2 (TAPE) 18 106
DC3 (X-OFF) 19 k 1 07
DC4 20 1 08
GAK -I 21 109
SYN 1 10
ETB 1 11
CAN D 1 68 1 12
EM E 1 69 1 13
SUB F 70 1 14
ESC G 71 s 1 15
FS H 72 t 1 16
ES I 73 ” 1 17
RS J 74 v 1 18
us K 75 w 1 19
SP 32 L 76 x 120
i- 33 M 77 Y 1 21
,, N 78 z 1 22
0 79 I 1 23
P 80 1 24
Q 81 3 1 25
R 82 (OLD MODE) 1 26
S 83
I 40 T 1 84
) 41 U 1 85
* 42 V 86
+ 43 w 87
44 X 88
With the abclve list, the value 3 can be entered for ETX (previous program end character).
54
Machine parameter 77:
Clearing of status display with M 02 and M 30
The status display on the TNC 145 C screen indicates program conditions which are necessary for re-entry into
an amended contour after an interruption of machine operation.
This display of program conditions be cleared at the end of the program via M 02 and M 30 depending on
MP 77.
Machine parameter 78
Error display: “Positioning error”, if programmed position is not reached
If, during program run, the programmed position cannot be reached, the error “positing error” is displayed in
accordance with the duration programmed with MP 78.
MP 78: 0 - 65,535 s
55
10. List of maclhine parameters including entry value ranges
56
Machine parameter No. Entry values
57
As of software version . . . . . . 07
Please note:
5%
11. Dimensions mm
0,8m
243 ,I,_
183 2
I nilI
Ansicht A
we A
view A
59
TNC 145 CS
Anic; A
view A
60
TNC 145 CR
259tO.S x 268+0,5
Frontplottenausschnitt
d&oupe de lapioque frontok
face plate opening
61
12. Connections of TNC 145 C
TNC 145 CS
Transducer inputs
‘Handwheel
62
TNC 145 CR
Handwheel
J2
1 - + 24 V Supply
2 - M-S-T Code Bit 1
3 - M-S-T Code Bit 2
4 LC M-S-T Code Bit 3
5 P M-ST Code Bit 4
6 w M-S-T Code Bit 5
7 - M-S-T Code Bit 6
8 * M-S-T Code Bit 7
9 M-S-T Code Bit 8
I-----y
10 M 03 Spindle clockwise
11 M 04 Spindle counter-clot
I____t
-12 M 05 Spindle Stop
J3
1 c M 08 Coolant on
2 L M 09 Coolant of
3 4 SStrobe
4 - MStrobe Gating signal
5 ------+ TStrobe I
6 - +12v A
7 Do not assign
8 Do not asign
9 Do not assign
10 Do not assign
11 Do not assign
- 12 Do not assign
J4
1 - +I-
o v Analogue output X
2 >
3
4
5 - +/-
z o ,, Analogue output Z
6 >
7 c--- Manual feed
8 - ov I
9 I - +15v
10 Do not assign
11 I Do not assign
-12 c OV Return line
I
sz “,‘,“:~dbt~~~~,:,e button
Do not assign
/^I, Manual activation (opens servo loop completed)
I ^I- Feed release
17 IId + Feedback auxiliary function
8 Feedback emergency stop check
9 Reference end position X
10 Reference end position Y
11 Reference end position Z
- IS Do not assign
4
J6
1
2
IL&-d+--
C-- Reference impulse inhibit
Reference impulse inhibit
X
Y
3 - Reference impulse inhibit Z
4 Do not assign
5 + Direction button X+
6 z- Direction button X-
7 + Direction button Y+
8
9
10 1 /- Direction button Z-
111
12
Do not assign
Do not assign
64
DR. JOHANNES HEIDENHAIN
D-8225 Traunreut
Telefon (08669) 31-O. Telex 56831