Professional Documents
Culture Documents
c 10 November 21,89
c
List of current issues
INl/l April 4. 89
_ IWl April 4, 89
IN3/1 April 4, 89
Issue
April 4. 89
List of current
c T3/7
T3/8
April 4, 89
April 4. 89
T3/9 April 4. 89
T3/10 April 4. 89
T3lll November 21, 89
T3/12 April 4, 89
T3/13 April 4, 89
T3/14 April 4, 89
T3/15 April 4, 89
T4/1 April 4, 89
T4/2 April 4, 89
T4/3 November 21, 89
T414 November 21, 89
T4/5 February 8, 90
T4/6 February 8. 90
Issue
contenta
February 8. 90
List of current issues
Ml/l April 4. 99
Ml/2 April 4. 89
Ml/3 April 4. 89
Ml/4 April 4. 89
Ml/5 April 4. 89
WI April 4. 89
W2 April 4, 89
WI3 April 4, 89
M4/1 April 4. 89
M5/1 April 4. 89
M5/2 April 4. 89
Me/l April 4. 89
M7ll February 8, 90
MJ/2 February 8. 90
M8/1 February 8, 90
M8/1 .I February 8. 90
M8f2 February 8, 90
Iewe
February 8, 90
List of current issues
ISSUe
Februan/ 8. 90 contente
I
Sheet I sue Shee Issue Sheet Issue
UOll pril 4; 89
WI ril 4, 89
w2 ril 4. 89
w3 ril 4. 89
) U3l1
U3/2 bp ril 4.89
prll 4.89
List current issue
I I
Dl/l
Dl/2
D1/3
D1/4
D1/5
D1/8
DV7
Dll8
WI
’ D2Q
D2J3
D7J4
W6
D2/8
D2/7
D3/1
D3/2
AIssue
Dril 4, ,89 I
I I
bINue
Fe wan/ 8,90 I
Sheet ssue Shedi Sheet Issue
PsO/l ovember 21.89
Struotun of anurl
+
IN3
bD INUO
ril 4, 89 I
SOOtlOll
IN0 “;”
stion. electrtoal connection. commissioning and PLC-programming of the
101HEIDENHAIN TNC 365. Ever naehine tool buldar installing HLFlDENHAIN numerical controls can obtain
in issuing TNC-bulletins for ginal equipment manufacturers has now been superseded by this manual.
future sufspiiis of TNC-control: irillno longer be accompanfad by the individual instruction manuals for
acing and the PLC-description. I important infonnatlon for the machina tool builder is contained in this
tot iposeible to suppfy a copy with each control unit.
n of pages from this manual, or 18 part of the machine tool builder, for tha compilation of specific machine
is. of course, permitted.
strw
The
contents the manual are subdivided into
A basic own d of the contents is indicated 01 Ne!iling index (see Contents, pa@ 0).
A list of cant 3 is provided at the beginning c 3ch chapter detailing the indMdual sections.
byout of in nlatblleheete
Main secti
Sub-sectior
The heading aach sheet indicates the main s ion in bold let&and the specific topic beneath.
The title bloc the bottom of each sheet cwr s the date of issue, qhapter title, section number and page number.
g instructions”-sheet.
‘T I
Sheeta for the “Update information”-chapter art sdiin accordance with the@sue date. since these have no section and
page numbers in the title block.
ctions” should always be retair in the manual so that, in the event of enquiries, the latest issue level is
list of contents a “List of ( ‘am isauaa’. i.e. for ,,all., shreta &thin this manual, including the issue dates
also updated with every lplementary issue of ~informatlon.
I I
Ieeur SWtlOll
pi oril 4. 89 I IN3 sp”
Contents
Section Page
Technical Data Tl 1
Hardware components T2 1
) 5-axis contouring control with spindle orientation (since March 1989) T2 2.1
Connections T3 1
Issue Section me
Technical desoription
November 21. 89 TO 1
Contehts
‘age
Evslusthm
ojmforenoe
marks T5 1
Linear encode s with one reference mark at the end of the traversing range T5 3
Aocseeorkw T6
Dimensions ! T7
sofhusrs rvlow T8
NC-software umbers T8
?
NC-software rtleases T8
control veflip lNC 366 with visual display unit BE 4128 (12 inch. monochrome)
including programmable logic controller (PLC)
i ISSUe Section Me
November 21. 89 I Tl 1
Technjcal data
TNC 365 C (S) (Export version TNC 355 G M )I)
Ccntml vsmk$r lNC 366 with visual display unit BE 4128 (12 inch, monochrome)
including programmable logic controller (PLC)
j Issue section hv
Technical deaorlption
November 21, 89 Tl 3
I
Hardware components
4-axis contouring control with spindle orientation
The hardware of the TNC 355 with 4 axes consists of the following components:
The logic unit LE 355 contains the control logic for the 4.aws contouring control wth spindle orientation and graphics
It IS available VI four versions:
LE 355 F Export version” LE 355 W Export version” Visual display unit BE 4128
connected to the logic unit wa special
cable
I: ,.:-.:.
!
I
i :. “” ..
,:
Until Aug ‘89 lti -Nr. 237660. Until Aug ‘89 Id.-Nr, 238324 Id -Nr 24184501
Since Sept ‘89 Id.-Nr 254581 Stnce Sept ‘89 Id -Nr 254582 I
%
1 :, ‘.‘. ‘.
-2. ‘L, ‘L i* .I
Until Aug ‘89 Id.-Nr. 237 66102 Until Aug ‘89 Id -Nr 24196401 Until Aug ‘89 Id -Nr 24289401
Since Sept. ‘89 Id.-Nr 25501501 Smce Sept. ‘89 Id:Nr 25501601 Since Sept ‘89 Id -Nr 2438RG03
The logic unit LE 355 contains the control logic for the 5-axis contouring control with graphics.
It IS wallable in four versions:
LE 355F Export version’i LE 355 W Export version” Visual display unit BE 4128
connected to the logic unit via special
cable.
Issue
November 21. 89
Technical description
I Section
T2 /
Page
2
Hardware components
5-axis contouring control with spindle orientation
The hardware of the TNC 355 with 5 axes consists of the following components:
The logic unit LE 355 contains the control logic for the 5.axis contouring control with graphics.
It is available in four versions:
LE 3556 Export version” LE 355Y Export version’~ Visual display unit BE 412B
connected to the logic unit via special
cable.
Until Aug ai! ICI-Nr. 246813 Until Aug ‘i’s id:Nr 248055 Id -Nr 24184501
Smce Sept. ‘89 Id:Nr 254819 Since Sept ‘89 Id -Nr 254820
Until Aug. ‘89 Id -Nr 23766103 Until Aug ‘89 Id ~Nr. 24196402
Since Sept. ‘89 Id.-Nr. 25501503 Since Sept. ‘89 Id -Nn 25501602
I
Issue Section we
Technical description
November 21. 89 T2 21
Hardware components
5-axis contouring control with spindle orientation
0
Up to 5 encoders with squarewave signals can be connected to the TNC 355CR (SR).
The hardware of the TNC 355 with 5 axes consists of the following components:
The logic unit LE 355 contains the control logic for the 5-axis contouring control with graphics.
It is avatlable in four versions:
LE 355GR Export version” LE 355YR Export versionli Visual display unit BE 4128
connected to the logic unit via special
cable.
squarewave signals is used for the 6’” axis. This eliminates the possibility of having spindle
is provided for the Sm axis.
without spindle orientation will be superseded bY the LE 355C (S) in the first quarter of 1989.
LE 36bC (S)
5-axis contou ing control with spindle orientation.
The conrol is quipped with 4 inputs for encoders having sinusoidal signals and 2 inputs for encoders with squarewave
signals. Furth rmore, the LE is equipped with 2 additional inputs for connection of the new touch probe system TS 120 and
the electronic andwheel with axis selection keys. This handwheel will be available as of mid-19BY.
1
the 5-axis contouring controls (TE 355C (D)) has, instead of the &key. a key for the programming of
NXY ~
The above rsplay signifies that a datum shift is programmed in the axes X and Y and that the X-axis has been mirror-
imaged. 1
ys the last axis to traverse the reference mark.
tool axis (Tool Call)
functions do not apply to axis V:
Issue Seotlon me
Teohnioal deaoription T2 3
Fe ruan/ 8, 90
locations on LE 355 B (Q) (unti~tAugust ‘89)
Closed Pmcessor
loop board board
CfOSOdlOOp:
Xl = Encoder 1
X2 = Encoder 2
Standard allocation
X3 = Encoder 3 (switchover via machine
parameters 253 257)
X4 = Encoder 4
X5 = Encoder 6,I
x21 = PLC-output
X22 = PLC-input
Power aupp1y:
ISSUO section me
Techniaal dosaription T3 1
November 21. 89
Conn&tions
Conne/ctor locations on LE 355B (Q) (since Sept. ‘89)
X2 = Encoder 2
Standard allocation
X3 = Encoder 3 (switchover via machine
parameters 253 257)
X4 = Encoder 4
X5 = Encoder 5
S = Signal ground
Power supply:
Xl, X2, X3, 4 4 Enceder 1, 2,3,4 with rinu5oid5l5Ignal X6 Encoder 6 with squamwave signal input
input ~ (tW rpindb iSI or fcr a machlna axis)
3 +5 v (Ud -
Uasnot included
4 0 v (UN) 7 Iui
I 9 ! Internal screen 2 +5V (sensor line)”
Housing i External screen = Unit housing 12 +5 v (UP)
11 0 V (sensor line)”
X8 Nominal lue output for X, Y, 2 IV, V, S for the X10 Refwemx pulse inhibitor
5-axis conto ring oontml
Flange socket, female (g-pole)
The nominal v lue output for axis V is located on connector
X8, pins 4 an 1 6.
‘I Only for LE 35$ with Id.-Nr. 237660. .: 238324. .: 242408. .: 242407.. (untilAug. ‘89)
I8SU0 Seotion me
Teohniosl dumrlption T3 3
Nov mber 21, 89
on LE 355C (S)
Xl = Encoder 1
X2 = Encoder 2
X5 = Encoder 5
X6 = Encoder S I
B = Operational ground
-r:
Power eupply:
~ Ieeue Section me
Teohnlcal domiption
No mber 21. 89 T3 3.1
I
on closed’ loop board LE 355 C (S)
Xl, X2, X3.4 Encoder 1,2,3,4 with dnwoidal rl~nal X7 6lsotmnio hsndwhwl HR 160, HR 260
input !
Flange socket female (g-pole)
Flange socket.lfemale (g-pole)
cofjtwt No. 1 Allowtlan
Contact No. 1 I Allacstlon 1
5 90”f
6 900-
7 RI+
8 1 RC
9 1 Internal screen (0 volts)
3 I
I +5 v (UP) Housing 1 External screen = Unit housing
4 0 v NJ,) ) do not assian
’ 9 / Internal screen
Housing I External screen = Unit housina
Isum Section
Technical dowrlptlon T3 TY
pril 4, 89
closed loop board of LE 355C (S)
X9 Visual dl play unit BE 4111) Xl2 Touob probe system TB 120 (TB 1lliTB 611 only via
1 oabk adapter)
Flange socket female (15pole)
Flange socket, female (male] 15-p&
Contact No. 1 Allocation
1.8.11 I Iov co~ct-No. 1~Allocation
I
2.7 ~ +24 V (not used) 1 0 V screen
I 3 Standby
9 1 V SYNC
10 H SYNC 4 Start
12 1 LIGHT/DARK 5 + 15 v
1
13 VIDEO 6 +15...+19v(up)
I1 I
7 Battew wamino
I
Housing I External screen = Unit housing
3 to 6,14,15 I 1 do not assign 8 OVWN)
9 Trigger signal
I
10 Trigger signe12’
X10 Referen pulse inhibitor
+ 2, 11to 15 do not assign
Flange socket female (g-pole)
4 + 12 v
5 I -15v
6 DTR
7 I RxD
1. 8. 9 I do not assicln
Housing 1 External screen
I
ISSUe
Technical dworiptlon
Fe ruarv 8. 90 I
on ‘LE 355,CR (SR)
X6 = Encoder S t
B = Operational ground
Rocuror:
43
443
44
” Power supply:
I Ieeue secuon me
Nohmber 21. 89 I T3 3.4
:ctors on closed loop board of LE 355CR (SR)
D Xl Encoda 1 with slnuadded slgnsl input X6,XBl%nwdw6,Swithrq- s-1 -Jwl
Flange sockei. female (g-pole)
Flange socket female (12~pole)
Contscl No.j 1 Allocstion
1 I 00’
20 U&
21 ov
9 i&i
q10 i&Y
11 G
12 IU
Encoder 2
13 do not assign
, Housing I 1 External screen
1
1 lssus Section
Technioal dmctlptlon
4pril4, 89 T3 FE8
Conn dons
Conn t ;ctors on closed loop board of LE 355CR (SR)
B I
x8 Nomiwi WIUO 0tiput x, Y, 2, IV, v, s Xl0 Refwanw pulse inhlbitor
I
Flange sock? female (15.pole) Flange socket. female (g-pole)
i ISSUO Section me
Teohnical dawription 3.6
Nov mbar 21.89 T3
processor board
B
x2lPLGo+ut
12 ~ All
13 1 Al2
14 i Al3
15 i Al4
16 1 Al5
17 1 Al6
18 1 Al7
19 I Al8
20 1 A19
21 i A20
22 ’ A21
23 ! A22
1 24 A23
25 A24 2’
26 A25 *’
27 A26 *’
28 A27 ‘I
29 A28 ”
30 I A29 *I
31 1 A30 *’
32,33 j do not assign
34 Control operational
35, 36, 37 24 V via external EMERGENCY STOP
disconnectible (PLC ‘I)
Housina External screen
” If required. the upply voltage for the disconnectible outputs can be assigned to connector X24. pin I
” not disconnecti le via external EMERGENCY STOP
I A0 A23 are b isconnenible via enemal EMERGENCY STOP
3’ Al... A? dupli+aad on X27. Machine operating panel
I
IO E9
11 1 (El0
I
12 ~ El1
13 ! (El2
15 ~ /El4
16 (El5
17 ~ El6
18 ~ IEl7
20 ~ El9
21 E20
22 ~ E21
1 23 E22
24 E23
29 ~ 1 E28
30 ~ 1 E29
31 ~ I E30
32 ~ 1 E31
33,34 1I do not assign
35. 36. 37 ~ 1 0 V M-C,‘)-
~ El28
1 El29
11 1 El30
12 i El31
13 ~ El32
14 I El33
15 1 El34
16 ~ El35
17 ) El38
18 1 El37
19 ‘~ ( El38
-
20 ~ 1 OUT0
Connection terminals
I
Contest No. Mocntion
28 1 1 El39 1 +24 V EMERGENCY STOP disconnectible”
29 ~ 1 El40 2 1 +24 V EMERGENCY STOP
~ +15 V (Supply for buttons on machine not disconnectible
/ operating panel) 3 0 PI
21 ( El48
8 to 19 ~ do not assign
22 I f149
B 20 1 DSR
23 El50
21 to 25 ~ do not assign
24 f151
Housina ~ External screen
25 El52
20 AO*’
27 Al”
X27 Machin operating panel 28 AZ?
29 A3”
are insufficient inputs on the 30 A4”
31 A5”
Contact No. ~ I Allocation 32 A#’
1 : ( El28”
2 1 1 El29”
3 ! E130” 35 0 v (PLC)
4 ~ El31’) 36 +24 V (PLC)
L 5 i E132” 37 +24 V (PLC)
‘( X.31 Power
Tamdnal
supply for logic unit (LE)
1 Allocation
I ov
+ 1 +24V
Section me
T3 7
Corm !cAions
Connc ztors for input/output board PL 300
II 366Q b gtipped wtth an additional board # 300.
i b.k3
Technicaldnaripth section me
pril 4. 89 T3 8
ctor layouts for input/output board PL 300
xl x4
Contact No.i Allocation Contaot No. Alloodon
1 I A32 1 El26
2 ~ A33 2 E74
3 ~ A34 3 E73
4 ~ A35 4 E72
5 ~ A36 5 E71
6 ~ A37 6 E70
7 ~ A38 7 E69
8 ~ A39 8 E88
9 ~ A40 9 E67
10 i A41 10 E66
11 ) A42 11 E66
12 not assigned 12 E64
I, ~
X6
Contaot No. j Allooatlon
Contnct No. AllooaUon
1 I A43
1 E86
2 ~ A44
2 E85
3 ~ A45
3 E84
4 ~ A46
4 E83
5 ~ A76
5 E82
6 ~ A48
6 E81
7 I A49
7 E80
8 I A50
8 E79
9 A51
9 E78
10 ~ A52
10 E77
11 ~ A53
11 E76
12 ~ not assianed
12 E75
1 x3
Contoot No. ~ 1 Allooatlon X6
1 Contoot No. Allooatlon
1 1 A54
2 1 E98
‘~ A55
2 E97
3 ~ A56
4 ! A57 3 E98
I
5 ; ( A58 4 E95
6 E94
6 ~ 1 A59
6 E93
7 1 A60
7 E92
8 ( A61
8 E91
9 ~ A62
9 E90
10 ~ Control operational
10 E89
11 1 do not assign
12 11 E88
~ +24 V not via external EMERGENCY STOP
disconnectible” 12 E87
x, ~
Conteot No AllOC4ltiOll
1 ~ El10
2 ~ El09
3 ~ El08
4 ~ El07
5 El06
6 ~ El05
7 i El04
8 I El03
9 ~ El02
10 ~ El01
11 ~ El00
10 ~ El13
) 11
12
x9
Conteot No. i Allooetion
1 do not assign
2 do not assign
3 do not assign
4 El25
5 ~ El24
6 El23
I -.--
Issue Seotion me
Technical descdption T3 11
November 21.89 I
Conn dons
Conn ,’ ctors for TNC-keyboard unit TE 355
) ~
X2 For conb#ctlon of the kgk unit LE 366
I
RLO
2 RLl
3 RL2
9 El28
10 El29
11 El30
12 El31
13 El32
14 El33
15 El34
18 El35
17 1 El36
18 1 El37
19 I El38
32 El42
33 El43
34 , Stindle overMe P.vipar)
35 1 Feed rate override (wiper)
36’ +12 V Override potentiometer
37 ) 0 V Override cotentiometer
Ieum Seotion
Teohnkd dnoriptkn T3 T
pril 4. 89
Cgnn ions
Conn ” ctor for
B HEIDqNHAIN machine operating panel MB 301
HEIDENHAIN offers a universal machine operating panel. The connection of the operating panel is via connector Xl on the
TNC-keyboar unit (cable, refer to sheet M3/l4).
1
The operatrnA panel has 15 pushbuttons which are connected to the control via PLC-inputs.
Allocation of t he 15 operating buttons to the pins of the connector and the PLC-inputs:
a El33
IQ
I Axis direction button
9 El32
I0
10 El31
IO
11 El30
I@ SPINDLE STOP
112 ‘~ El29
I@
COOLANT ON
13
,,
El28
lb
I
TOOL UNCLAMP
22 +15 v
(suPPfY)
!
23 El43 I0
24 El42
I@
14to21 ~ do not assign
Mains fuse
I
Xl for connection of
the logic unit LE 355
x2 Power supply
selectable for 110 V-
or 220 v-
F&ion test
V- or 220 V-
ksue Section me
Tschnksl dsscription T3 14
April 4. 89
of PLC-inputs and outputs
B
LO@ unit 366
El28 to El43 are also located on the connector for the TNC-keyboard unit
These inputs may onlv be circuited against the internal 15 V-voltage.
Nominal value of power supply: 24 V-;
Voltage ranges: ‘1’~Signal: Ue = 13 V to 30.2 V;
“0”~Signal: Ue = - 20 V to 3.2 V;
Current ranges: ‘1’~Signal: le = 3.7 mA to 9.1 mA:
W-Signal: le = 1.5 mA at Ue = 3.2 V:
1
Pw-wtpul tsl 32 outputs on connector for PLC-outputs
(A0 to A30 and “control operational”);
A0 to A7 are also located on the connector for the machine operating panel;
PLC-Input/ ltboaKlPL300
SW@ SectIon m@
Technical dascriptbn T3 15
.il 4. 89
Lineal and rotary en&
I
B
The maximu input frequency of the sinusoidal input is 25 kHz. This permits a maximum traversing speed of
.30 m/min (11 1 ipm) for linear encoders with a grating period of 20 pm and
15 m/min (5 0 ipm) for linear encoders with a grating period of 10 pm.
B
The maximu input frequency of the squarewave signal input is 260 kHz. This value permits traversing speeds of up to
30 m/min (11 1 ipm) - also for a 2-fold evaluation of the encoder signal. However, in this case, the maximum traversing
speed applic ble to input X5 is limited by the maximum input frequency of the external interpolation and digitizing a1eCtronic.s
j
WE). ,
The encoder Inputs can be randomly allocated to the machine axes (see sheet T4/2),
The sinusoid I signal inputs (Xl to X4) always undergo a 5-fold interpolation. The interpolation factor of the external
electronics ( 4 E) should be taken into consideration for the squarewave signal input (X5).
The addition? signal evaluation can be determined for each axis via machine parameters.
Encoder input r for sinusoidal signals and squarawave signals are located on the logic unit. The encoder inputs can be
allocated to th machine axes vie MP 263 to MP 257.
1 .
If “0” is enterJd for MP 253 MP 257, the standard allooetbn applies as follows:
Encoder input Xl
Encoder input X2
Encoder input X3
Encoder input X4
Encoder input X5
If, for example the squerawave input X5 is to be employed for an X-axis”, the machine parameters ara to be programmed es
follows: !
6 A Encoder Input X6
2 A Encoder input X2
MP 265 Axis 2 3 p Encoder input X3
4 A Encoder input X4
1 0 Encoder Input Xl
hotion paw
TechnIcal douxiptlon T4 2
1~ ,:, ~,
Linea and rotary encoders
Linear jand rotary encoders for sinusoidal inputs
The TNC controls the actual position with a digital step of 0.001 mm or O.OOl” and subdivides the grating period of the
encoders by 20 x or 10 x.
Linear enoodbm
Incremental linear encoders with a 20 pm or 10 urn grating period such as
When using lieear encoders with distance-coded reference marks (LS 107C. L3 704C. L3 403C. L3 404C). the absolute
position value can be recovered after a traverse of max. 20 mm.
If accuracy requirements permit, measurement with e.Q. a rotary encoder type ROD 450 directly connected to the ballscrew.
is possible. The required number of lines for the encoder is calculated as follows:
ball screw pitch [mm/rev]
line number/revolution =
0.001 [mm] x signal interpolation x gear ratio
The signal evafuation can be selected via machine parameter (see sheet T4/l).
Example:
20-fold signal interpolation without grating
line number/rev = 50 x ball screw pitch
(with axes N, V) rotary encoder types ROD 250 and ROD 700 as well as RON 255 and RON 705
with 18000 or!36000 lines are available.
The above formulae assume direct coupling of the rotary encoder to the ballscrew. If intermediate gears are being used, the
line numbers have to be correspondingly calculated.
I
Lineatj and rotary encoders
Linear pnd rotary encoders for squarewave signal inputs
I
To inputs inteided for squarewave signals. only encoders having either separate or integral digitizing electronics may be
connected”. i
For orientation! of the main spindle, the rotary encoder ROD 4288 with 1024 lines and monitoring signal is recommended,
The max. rpmiof the ROD 4288, and hence the spindle, is 12000 rpm.
The max. freq’ ency response of the encoder, 300 kHz, and the limiting frequency of the signal input of the TNC-control,
250 kHz, lie a i !ove the mechanical slewing speed permitted by the bearing assembly.
The cable lendth between ROD 4288 and LE 355 must be limited to 20 m (66 ft) to ensure adequate power.
Issue SUCtiOll me
Nov&nber 21.89 I T4 4
Lineatj and rotary encoders
Linear kmd rotary encoders for squarewave signal inputs
I
Enoodero for binear machine axes
The allocation 0f the encoder inputs to the axes via parameters MP 253 to MP 257 offers further possibilities (see sheet T4/2).
If, for instancej a machine is equipped with en X-axis greater than 3040 mm traverse, thus necessitating the use of LB 326
with an EXE-unit. an encoder input for squarewave signals can be allocated to the X-axis.
I
iB 326 EXE 816. 25-fold 50 m/l64 ft connecting cable
EXE 839. 25-fold Id.-Nr. 233764
Id.-Nr. 246510
EXE 650. 25-fold 10 m (33 ft) connecting cable
Id.-Nr. 246510 _.
LB 326 /
Connecting cable compl.
I 1r LiYcY (10 x 0.14) + (2 x 0.5)
3m/lOft -- 233 764
L8 326
I i I
3 m/10 ft Z3
or 50sfold
LB 326
i Issue Seotion mm
Teohnical deaodption T4 5
February 8. 90
Linea4 and rotary enccbrs
Linear land rotary encoders for squarewave signal inputs
,
If a rotary encbder is being connected to a squarewave signal input, interpolation and’digitizing of the encoder signals via
EXE-electronic+ is required.
When using ROD-integral electronics or the external digitizing electronics EXE 602D. the power supply for the digitizing
electronics anti the encoder is supplied by the TNC 355.
I
In order to en$ure the correct supply voltage. the total length of the connecting cable between EXE and the control is limited
to 10 m/32 ft.
ROD2
0
ROD7 ! 0 LiYCY (IO X 0.14) + (2 x 0.5)
233 764..
1 m/3 ft
: Iesuo Section
Teohnicgl desoription T4 7
February 8, 90
I
Evalujdion of reference marks
- BY pressing/the external start button, the axis sequence being determined via machine parameters.
- With the adernal direction buttons, after entry of the code number 84189. The axis sequence is determined by the
machine operator.
The behavioui of the control during reference mark evaluation is determined via the definition of machine parameters.
The traversingi direction for reference mark approach can be separately programmed for each axis
The axis sequence for reference mark approach is determined bY MP 59 for the axes X. Y, 2 and IV.
Axis V is always the last axis to be traversed.
fhe axis sequence determined bY MP 69 can be altered via markers within the PLC-program. This is
advantageous for operation on machines with changing tool axes.
Via the code number 84169 the operator can traverse the axes over the reference marks in any desired
sequence via the external axis direction buttons, e.g. for backing-off the tool after a power failure.
Entry values for MP 59 determine the sequence for reference mark approach as follows:
OAXY 2 IV 12pzx Y N
,l &X Y IV z 13AZX NY
i2AX z Y IV 14PZY x N
3AXZ IVY 15AZY IVX
:4Ax IV Y z 16&Z N x Y
:5Ax IV z Y 17bZiVY x
6&Y x z IV 1BAlVXY Z
7AYX NZ 19PIVXZ Y
:8&Y Z X IV 2OP IV Y x z
;9AYZ NX 21 AIV Y z x
1OAY IV x z 22P IV z x Y
11PY IVZ x 23 AIV Z Y X
On C-type endoders” with distance-coded reference marks a reference mark track is located adjacent to the incremental track
on the scale. :
By counting the measuring steps from one mark to the next. the absolute position can be determined.
When using lieear encoders, this version reduces the traversing distance for the reference mark routine to only 20 mm
With distancejcoded reference marks. software limits and positioning procedures with M91, M92 are referenced to the
so-called “zero-reference mark”. The zero-reference mark on a linear encoder is the first reference mark which is located
5 mm from the beginning of the measuring length. (On rotary encoders, the zero-reference mark is indicated).
Encoders haviig one reference mark can be used in conjunction with the distance-coded versions on the same machine
If. for examplei the distance-coded reference marks of the Z-axis are traversed after switching the power on. the axis will stop
after only 20 mm. Backing-off the tool from the workpiece is therefore only manually possible, via a code number.
An encoder without distance-coded reference marks can, therefore, also be installed for the Z-axis
From machine parameters, the control determines if encoders with distance-coded reference marks are being used.
I’ LS 107C. G 7OAC. LS 403C. Ls 404C. ROD 26OC. ROD 271C. RON 26.X. RON 276C. ROD 700C. ROD 8OOC
~ hue
November 21, 89
Technical description
I-I T5
hw
2
I
Evalu+tion of reference marks
Linear lencoders with one reference mark at the end of the
traversing range
Behaviour during reference mark approach depends on MP 69.
MP69=0
After traversing the reference marks. the axes traverse to the software limits (MP 44 to MP 61). lf the axis position is past the
reference mark when switching-on. the machine traverses to the EMERGENCY STOP switch. To prevent this, the reference
mark must be; located outside the software limit.
Reference mark
MP69El
After traversing the reference mark each axis returns to that reference mark. In this case, the reference mark location must be
inside the sof&vare limit.
~ VT ~~~~e~~~n the
EMERGENCY STOP limit switches
Reference mark
If, in the secoed case, the spindle head is between the reference mark and the software limit when starting the reference
mark routine, the machine traverses to the EMERGENCY STOP switch.
Issue Section me
Technical deactiption T5 3
April 4. 89
Evalu tion of reference marks
Cams “Ior reference end position
If the axis poskion is past the reference mark. i.a. just before the software limit. the EMERGENCY STOP limit switch is
automatically approached when performing the reference mark routine.
In this case the axis must be manually traversed in the opposite direction. prior to the reference mark routine.
For the operation sequence of automatic reference mark approach with ‘reference end position” sac flow diagram on
sheet T5/6.
Software limit
Range between the
EMERGENCY STOP limit switches
Linear encoder
Open
Switch %sfarence and position”
“reference end position” any required number of vacant inputs can be assigned via the PLC-program.
end position function is executed bY markers M2556 to M2559 (see sheet P3/22).
~ Issue SectlOll me
April 4. 69 T5 4
tion of reference marks
measurement via ballscrew and rotary encoder
If measureme t IS berng performed with a rotary encoder and ballscrew. a reference mark is traversed with every rotation of
theencoder.
$I’rth the ard of the control inputs “reference pulse inhibitors” at connection X10, undesired reference mark
signals can be suppressed by means of a cam. Inputs for reference pulse inhibitors must be activated via machine
parameters.
MP 20 Entry values:
MP21 Bit 1
NIP 22 + 0 A Reference pulse inhibitor inactive
MP 23 + 2 A Reference pulse inhibitor active
MP 239 is 8
MP 330 is v
c 4 Software limits
Range between
EMERGENCY STOP limit switches
Possible reference pulses from
AAAAA rotary encoder
ired~reference pulse
I Cam
I I I “Reference end position”
,I
/
SWitCh YES
“Reference end position. I
1 I
Machin in programmed Machine traverses opposite
direction [ achine parameters to programmed direction
16.17.1 ,19) towards the (machine parameters 16.17.
cam ” eference end 19.19) way from cam
position’ i ntil the reference “Reference end position-.
marlj is traversed.
J I I
I
I
NO
switch opens reference
mark is traversed.
YES
Machine stops.
Ibun
pril 4. 99
asmment via bakcrew and rotary encoder
The special pr &we for reference mark approach is only required if there ara several reference marks within the axis
traversing ran e (e.g. when employing rotary encoders for feedback) and there ere no additional cams installed for reference
pulse suppres r ion, but only one cam for the reference end position. The special procedure for reference mark approach can
be activated via MP 69.
In this case. tde switch for the reference pulse inhibitor is also used for the reference end position. Since e number of
reference mar can be covered by the “reference end position” cam, the axes which are located within the range of the
reference end PposItIon
” must be backed-off from the reference end position cam prior to approaching the reference marks.
The display a ss over X,NlZ/lV reference mark” for the axes on the reference end position cams is displayed in inverse
characters. If.p$u ring the backing-off procedure. reference marks are traversed, they are not evaluated. When all axes are off
the reference bnd position cams. the reference mark approach is carried out as normal and. in each case, the lst reference
mark after thejclosing of the switch “reference end position’ is evaluated. After traversing the reference mark. the axis is
stopped (see {low diagram, sheet T5/8).
i- -l Sofhwre limit
Range between
EMERGENCY STOP limit switches
A A A &A Possible pulses from
quired reference pulse ‘~ rotary encoder
-
I
) I! Cam “reference end position”
closed I I open Switch “reference end position”
I II
Switch ‘Reference pulse inhibitor”
closed
must be a normally closed configuration. driving the “reference pulse inhibit’ input directly. This avoids any
clay associated with the PLC-program.
For recognitioti of the reference end position the signal must be inverted via the PLC.
I
~ kmle section
Techt$cal de8erimtbn T5 ?
qprit 4. 89
suremen * ix&crew and rotary encoder
ND YES
MaFhine stops.
~ Ieeue Seotion me
Technical dwcriptkm
hpril 4. 89 T5 8
Acce ories
Electra7 ic handwheels
Portable hand+heel with magnetic fasteners. Conne&ible via cable adapter (see sheet T7/8):
tiR 330 Axis selection via axis keys in handwheel housing. Additional keys for emergency stop, rapid
traverse and traverse direction are integral on HR 330.
Handwheel fad incorporation in machine operating panel: connectible via extension cable or directly onto the LE 355
(see sheet Mq4)
A machine pa ameter must be set to correspond to the handwheel model employed. This is possible only with a special
software avail a:ble from HEIDENHAIN.
MP171 ~
Machine vibrations can be transmitted to the handwheel and therefore lead to unwanted axis movement. The response
sensitivity can ibe reduced via machine parameter MP 247.
~issue SWllOll me
Novkmber 21. 89 I T6 1
Acce ries
T probe systems
3D-Tovch
The touch probe system can only be used if marker 2503 has been reset in the PLC. Locking of the spindle. especially for the
application of hhe 3D-touch probe system TS 111or TSl20. should be provided by the machine tool builder.
MP 171 ~=$n,d*fw’-w-s
I z P, TS 111or TS 120
MP *” k Z$O?%lO [mm/min]
ff the measuring point is not reached within the measuring range, the following error message is displayed:
The axes are positioned in rapid traverse (MP 251) until the safety clearance is reached. Probing is then
executed at a programmed feed rate (MP 215).
1
1. Dimensions LE 3568
1
2. Dimensions LE 3650
.’
,,
.,,
‘,
,‘ ‘,
Issue Section me
Technical description T7 2
April 4. 89
Dimensions mm/INCH
3. Dimensions TE 355AJC
_1
::: -:‘.:
;i,;:, .i
:,,
::,
Issue Section me
Technical description
Februaw 8. 90 T7 3
Dimensions mm/INCH
4. Dimensions TE 3558/D
.,
.;,:.: ,,
,,
ISSUS
Technical description
February 8.90
Dimensions mm/INCH
6. Dimensions BE 4128
ISSUB
Technical description
April 4. 89
Dimensions mm/INCH
8. Dimensions Adapter
-
Installation hole f&wall thickness S < 4/.157 Installation hole for wall thickness S > 4/.157
Cableade+rforHR330 ~5 , -
Id.-Nr. 2491889 . . I I
Installation hole for wall thickness S < 41.157 Installation hole for wall thickness S > 4/.157
Id.&. 23916801
Issue Section me
Technical description
November 21. 89 I T7 8
Dimensions mm/INCH
,,
., .’
Issue Section mw
Technical description
November 21, 89 I T7 9
Standard an export version
In addition to the standard software which contains all capability features of the TNC 356. an export version is offered.
Until sofM’ar versions 12 (4 axes) and 06 (5 axes) the following functions were not included in the export version:
- 3D interpol tion
- blockwise t ansfer end simultaneous execution
- automatic ompensation in one axis, dependent on another axis.
Beginning wit software version 13 (4 axes) and 7 (5 axes), the only inhibited function is the -automatic compensation in one
axis depende t on another axis.” This function is also called axis sag compensation (see sheet X2/6.1).
1
TNC 366 for 4 axes with spindle odemtation
Standard vers n (TNC 3558/Q and C/S (CR/%)) Export version (TNC F/W and G/Y (GFWR))
Section F‘age
Pmvlskns f+ installation Ml
Electrical intei-ference Ml
Temperature Ml
Air humidity ~ Ml
Mechancial vibration Ml
Connecting t& TNC-keyboard unit TE 355 and the machine operating panel M3 13
Potwsrsup& M5 1
,
Logic unit LE 355 and PL 300 M5 1
Dsslgnatlon b units M6 1
chmrvkwof~bks M7 1
Gmunding d(ngram M8 1
-
; Issue Section hw
Mountlngandekctrk?ll-ion
November 21,89 MO 1
Remember, a atironic equipment with faster signal processing and increasing responsiveness is also more susceptible to
interferencel erefore. protect the equipment against interference by following the instructions and recommendations given
in this manua i”
Int~ivotta80 is mainly produced and transmitted through cap8&hm or induc%s v stray pickup can
be caused vi4 power lines and equipment inputs and outputs.
uwea note::
) When leyin8 bll LE 355 signal lines together with other interference-conducting cables in metal cable ducts, sufficient
decoupling cE(n be attained through a grounded partition.
Lay signal lines as short as possible and. if possible. without I~rmodlnta clamp twmlnal&~
For nominal value connections to a transfer unit, only HEIDENHAIN cable should be used.
Always use HklDWHAlN plug connector and wuplings for connecting signal lines.
flaaw note :
Follow the mbly kwttuctions for plugs and couplings (see diagram page M3/3).
.If there are Tpl g connections within a line, coincidental contacts between plug/coupling housing and other metal parts must
be preventedje.1. either lnaulate or sacurn connactor hourlngl
Besides cablaishielding. matal howims of encoders. digitizing electronics, controls etc. also serve as shielding.
They must ha’e aqua1 potential and be connected to a common opwatlonal ground via the machine housing or a
separate pota 1.trel equalization line.
In thls ragad, note the special twnarka In the IndMdual sections.
I
The potantlal~ equalization lines of the appropriate units must have cross-sections of at laaot 6 mm’ Cu.
The potantialjaquallzatlon Ilna of the LE 355 must be connected to the terminal on the LE 355 and to the pmtecUw
ground. I
Remember ‘hat the mlkblllty cd ekctronk equlp~nt d ocmaas# greatly during prolonged operation at high
tampamtu I
Use appropri4 te procautlans to ensure compliance to permissible ambient tamperaturas:
Maintain the #ree space necessary for adequate air circulation (see sheet M1/3).
When mounting. refer to figs. on sheets M2/2: M2/3; Ml/3 regarding temperature
maw nota
Select a mou/lting location that provides good air circulation for the LE 355.
.LE 355 muat /not be located in the flow of pre-heated air from another source.
The control cabinet must be dustproof. i.e. cable grommets. the cabinet door etc. must be properly sealed against penetration
of dust.
b :
For olowd &ml hourings wlthout artlflcial coolly the Mndard v&to for heat extractIon ir sppmx. 3 W/m*
surfaw and br o C tsmomtum rka betwean Intarnal end oxtwnal air.
Plww note:1
When calcule ing the excess temperature the total power dlsslpatlon oi all lnetrumenta that are operating in the control
cabinet must bi e included.
A further impdovement for heat removal can be attained through the UI of a heat exchange# (with separate external and
internal circuljtion).
Cooling by o changing exterior with interior air in the control ablnet: If this cooling method is intended, the ventilator
must be mou 1ted such, that it extracts the air from the control cabinet and that only flltemd external air can flow into the
control cabin ‘.
HElDENHAl I$ advlsea against this cooling method, since the functional reliability of electronic components is endangered
by air contaminants (fine dust. vapours, etc.).
I Moreover, in ddition to the abovementioned disadvantages, an inadequetly maintained filter causes a progressive decrease in
cooling efficie1 cy
Regular maltjtenance of the filter Is therafom im~rativel
i issue SWtlOll kw
Mounting and dwtdwl oonnactlon Ml 2
April 4. 89
ions for installation
recommended not to turn the control off, if the danger of condensation on the FCBs exists!
the control itself prevents condensation and has no other disadvantages.
I IesuO SOCtlObl
Mounting and hotriaal connoedon Ml ?
pril 4, 89
‘.
Provi Ions for installation
Mech 1! nical vibration ~’
) I
Fwnlleelble
~htlo”:s 0.6g
b / \
mcommends the horizontal mounti~ attitude for I.6 366, see illustration sheet M2/2
6ectlon me
Mounting and electrical connaotlon 1
M2
ing the logic unit LE 355
ontd mounting
Minimum clearanc
recommended: =
approx. 250 mm/l0 in
Identification plate
Maintain clearance
for screwdriver
swivel movemen
of the control
Illustration of
max. swivel range.
The minimum angle of
:?%&%!;:valuld
be at least 900
.yr-‘ .
\\.\ \\ 8” \ ‘\
\\ _----_- 1
fl!fL
L.;.
Use only HEI ENHAIN double shielded cable with twisted wire pairs. Id.-Nr. 200775.., as extension cable for the X, Y, 2 and
N encoder a s!
.The inner shi Id (pin 9) must have no electrical contact with the outer shield (plug housing)1
.The outer shif Id of the encoder cable must be connected to the ground connection of the LE 355 (see Grounding diagram
section M8). ~
.The encoder ib grounded via its mechanical fixings; with sealed linear encoders via the mounting block and the scale housing
(see Groundi g diagram section M8).
, The maximu cable length between the encoder scanning unit and LE 355 (or the EXE-unit) is 20 m/65 ft. with the standard
cable (Id.-Nr. ” 0077502) and 30 m/98 ft. with the special cable (Id.-Nr. 22856701).
Use only HEI ENHAIN single shielded cable, Id.-Nr. 246512.. as extension cable for the encoder connection X5.
.The shield m st be electrically connected to the LE 355 via the plug housing and to the machine housing via the ground
connection of9 the LE 355 (sea Grounding diagram sheet M8/l).
i
With external tiigltmng electronics (EXE). the ground connection must be electricalh/ connected to the machine housing
Required crosk-section 2 6 mm’.
1 Ieeue Swtlon me
Mounting and elwtrlc3l oonnwtion M3 1
Fedwary 8. 90 I
Electr =a1connection of the logic unit LE 355
Conne ting the encoders
Please note:
Check electric connection between the mounting block of the scanning unit and the scale unit housing. Since the encoder
connector an’ he mounting block of the scanning unit are connected via the external shield of the cable, this check can be
made betwef the encoder connector and encoder housing.
During this cl :k, no connection should be made to the LE 355.
?
Elect1 cal connection of the IOgic unit LE 355
Conm sting the encoders
1 Aeeembllna
M Plug connector 228661..
Y Couplln(l228682..
Fig.
9 Assemble part F.
lrue 8ectlon mm
Mounthg and electrlcel oonnectlon
lril 4. 89 M3 3
connection of the bgic unit LE 355
,cting the electronic handwheel
be connected directly to the logic unit LE 355. The HR 250 must be connected to the logic unit LE 355 via
An extension can be made with the original HEIDENHAIN encoder extension cable (Id.-Nr. 235806. .)
blue
1 red,
I
grw
1 pink
9 white/brown
The maximu cable length between LE 355 and HR 250 is 20 m/65 ft. i.e. with a
3 m/10 h cab e on the HR 250 the cable adapter may have a max. length of
1
l7 m’55 ft. )
HR 330lHR 130
Is HR 130 and HR 330 can only be connected to the LE 355W and LE 355CWSR (see sheet T6/1).
n be connected directly to the TNC. The HR 330 must be connected to the TNC via the HEIDENHAIN cable
adapter.
I
Cable ada’ ter for HR 330
Id.-Nr. 24 1,889
Mounting /
When mounti g. refer to the mounting instructions of the touch probe system being employed!
1
Ekotrkal i kenoe
k?-%f&ii+ E TNC3566(Q)
Id.-Nr. 232984
! Issue Sectlon
Mounting and alectrloal wnnegtion
February 8, 90 M3 T
_
Elect1 A connection of the logic unit LE 355
Contx ting the touch probe systems
Ts 120
The interfacf fctronics (APE) are incorporated within the touch probe system TS 120.
ls611 !
Mount the trahsmitterlreceiver unit SE 510 insulated or electrically conductive with the machine!
L;
1
ISWe Seotlon ml@
Mounting and deotrlal oonnectbn
pril 4, 89 M3 5.2
,, ..,~
Electr(cal connection of the ,aogic unit LE 355
Connefzting the nominal value outputs
,
SpdflCSti0n
Nominal value output 0 - 9v
t max.loadZmA
max. capacitance 4.7 nF
lue outputs must not have more than one Intennodl~ twnlnel clamp.
clamp must be either in the control cabinet or in a grounded metal terminal box1 This is necessary if
necessan/ to servo-inputs with remote location. This is the only possibility for sufficiently grounding the lines
lnternwdiete terminal connections with a grounded terminal box wlthln thy intetfece ceblnet
4 in.“nschieldad
LE355
I
caution
HEIDENHAIN ecommends the connection of motor regulators with nominal value difference input.
1
If required. ter/ninal boxes are available from HEIDENHAIN, Id.-Nr. 25124901.
!
beus seotbn
Mounting and electrlcel cOmwcUon M3 T
November 21. 89
Electr’d connection of the logic unit LE 355
Conne 1ting the nominal value outputs
LE 355
SERVO
Layout:
-renninal I
13
14
Screens
15
16 I
YIssue
No ember 21. 89 I Mountlng and elwWcnl connection
Swtlon
M3
Me
6.1
connection of the logic u:nit LE 355
the nominal value outputs
n LE 365 and terminal box with lCpole8, female lnoludlw transfer unlt
only applicable if the distance between the transfer unit and the input of the servo-amplifier is not greater then
Transfer uni
PHOENIX C NTACT Type FLKM-D 15 SUB/S Order No. 22811131
I Murrelektro Type UGSub 15 S Order No. 54031 + 2-off 54079
Murrelektronik
Fabrikstr. 10
7155 OppenweilevWest, Germany
.Tel. (07191) 470
FAX: (07191) 4730
Layout: ~
CF
Assembly
.* Layout. see below
ol cormrotor
1’
1 = brown ~ Outer insulation removed Screen folded back
2=vacant ~
3 = yellow ~
4 = red/blue1
5 = pink
6 = greY/pin
7 = red 1
3 Insulation removed, not tinned
8 = violet ~
9 = white ~
10 = vacant l-T=-
11 = green
12 = vacant
13=grey
14 = blue
15=black
I 12 Cable sleeve over screen and cable
external RS-232Gdata transmission cable Id.-Nr. 24286901 with 3 m/10 ft is being used, the internal
transmission cable may have a max. length of 17 m/65 ft.
RS-232XJV.24 adapter
In the RS-232kC/V.24 adapjter the pins of the sockets are Id.-Nr. 239 75801
connected one-to-one.
Issue ~ 6aotlon Me
Mounting and eIocbioal connectbn M3 8
April 4. 89 ~
I
connection of the logic unit LE 355
the PLC-inputs and outputs
/
Cable /layout
To connect th PLC-input/outputs to the LE 355, use one of the following cables (see sheet M3/lO):
Permissible ble length: S 20 m/66 ft, with cross-section of core Z 0.14 mm* Cu.
4
terminals of the PLC-input/outputs of the PLC board PL 200 sre indiiidualh, wired
le length: S 20 m/66 ft with cross-section Z 0.6 mm* Cu.
against i~rhmnca
urces of interference (e.g. breakers. relays, solenoid valves. etc.) can be significantly reduced through an
es etc. in and outside of the control cabinet - even those that are not used or triggered
provided with en interference rejagion circuit (e.g. a quenching diode).
lfiwtlws when udng an IWmnco mjwtkm dmultl
aIasw
pril 4, 89 I
Mountl~ and dwtrlwl connwtlon
connedion of the logic unit LE 355
the PLC-inputs and outputs
Cable be “LE3Flbox ,, I.
Id.-Nr. 244 05
I IsaIm SMtlOlt m@
Mounting anll electrical connectkat M3 10
#pril 4. 89
connection of the kq#c wit LE 355
the PLC-inputs and outputs
aleeoe
oril 4. 89
Electrkal cqmmction of tb Iq#c unit LE 355
Inputs for reference pulse inhibitors
I
A g-pole plug connector can be supplied by HEIDENHAIN for the connection of the reference pulse inhibitor.
Screening an! gmmding must be executed as per the grounding diagram on sheet ME/l. \
The machine ‘perating panel can be connected to the LE 355 ekher directly or via the TN&keyboard unit (TE 355).
j
HEIDENHAIN &commends the following cables and also offers a connector, should the operator be compelled to manufacture
his own cable./
- tiE% FG and
is assembled after
the cable has
been installed.
Connector. 7-pole
Id.-Nr. 2439 “b 7ZY see assembly instructions sheet M3/11 max. cable length 20 m/65 R
Connector Xl on TE 355
,owAo Pin 18
lf no PLC-out iuts ars required and 16 PLC-inputs ere adequate, the machine operating panel can be connected to the LE 355
via a short ce le which extends to the TNC-keyboard unit.
HEIDENHAIN % ffers a universal machine operating panel.
luus Saction BY
Mountkg and aketrksl ccnnsctlon M4 1
ril 4, 89
nit LE 355 and PL 300
ust not ba supplied by the machine control voltagel The LE 366 needs its own, external. separately generated
to VDE 0551.24 V DC-voltage with a permissible oscillated AC-component of 1.5 Vpp (recommended filter
0 uF/4O V-).
c
t
and outputs of the LE 356 and PL 300) is operated on the 24 V control vokge of the machlne
according to VDE 0550.
oscillated AC components which derive from an uncontrallad three-phase non-filtered bridge circuit with a
DIN 40110/10.75.Section 1.2) of 5% ara permitted. This results in a maximum absolute value of 33.4 V for
limit and a minimum absolute value of 19.5 V for the lowar limit.
20.4 V
18.5V
The 0 V-llma of the two power sources must be connaotul tog@h#r (0 ZzB mm2) and to the central opamtlng ground
of the .ma&l a ( + q
) via an earth ground (0 Z 6 md).
ISWO Section
Mounting snd docbkel cowmoth
P,pril 4. 89 M5 p”p
../i
POW6 SUPPlY
Visual lisplay unit BE 412B
The visual d sy unit BE 412B is supplied by an AC mains voltage. The operating voltage can be sat from two ranges via the
voltage sale1 : Before connecting the VDU. check the voltage selected and the mains fuse rating.
I=
Supply VOH ) Voltage range Frequency range Power consumption Mains fuse
IlOV- 85V--132V- M2A
46 62 Hz approx. 40 W
220 v- 17OV--264V- M 1.25 A
Mains fuse
Mains voltage selector
!rom LE 355 (X9)
I
Power supply
(Mains voltage)
Fun&on test
1
’ lwue Section ble
Mounting and dootrhl connwtlon
pril 4, 89 M5 2
Desigeation of units
ossibilities are available for the designation of the units with numbers (e.g. A.. .):
~ ~wY+.. B z%%For
I
I
Recomr+ended -
Q Fiug connector
@ 243937zY
Ill
~ mv m TJi%tT~~Or
’ lrurue Section me
Mounting and ebctrkal connectIan M7 1
Fe wary 8, 90
Ovendew of cables
” If requireh. the machine operating panel may be connected via the TE 355;
Connectir/g cable see sheet M3/14.
2’ RS-23% .24-connection to peripheral units 3 m/10 ft long Id.-Nr. 24286901 (sheet M3/8)
3’ Instead o the HR adapter the flush-mounted handwheel HR 150 or HR 130 can be connected (sheet M3/4)
r
41 Separate ~connector housing included.
Issue Seotlon mw
Mounting and ektrioal connection
Fe wary 8. 90 M7 2
rounding diagram TNC 355B (0)
S55B (0) with Id.-Nr. 237660.,
238324..
242408..
242407..
.- -- ..-. i ._I
a- A!-!- .- -- -.-.-.-
l-
*ounding diagram TNC 355C (S)
r
--
Febr
-.-.-.-
..l.-...-.
+iJ
t
r? 7
L.-.-.
1
Issue Section me
Mounting and electrical connection
February 8. 90 Ma 2
Contents
Section ‘age
Machine panmetm Cl 1
General Cl 1
Edit protection for machine parameters Cl 1
Entry values for muiiiple functions of machine parameters Cl 2
Isrue S6CtlOll me
Commimioning 1
April 4. 89 co
Cont&ts
Section ‘age
TNC switch-o c3 9
Buffer battery I c3 I1
c3 I2
NC-axes c4 1
c4 2
Ieaue Section me
Commi8donlng
ril 4. 89 co 2
Section IPage
KISKIONING ERROR c4 35
c5 1
c5 1
c5 2
c5 4
c5 10
Issw SSCtiOll mw
Commidoning
April 4, 89 co 3
parameters
ne can correctly execute programmed instructions the control must know specific machine data. e.g.
determined by the machine manufacturer and entered into the control via machine parameters,
functions which ten be made possible with the TNC, but are onh/ characteristic of specific machine types.
via machine parameters e.g. an automatic toolchanger.
‘User-parameters” certain machine parameters can be easiN accessed. e.g. to change over from
lain language to ISO. The user-parameters being accessible via the MOD-function are determined by the
anufacturer. See description sheet Cl/29
are summated entry values which are calculated through the combination of several functions (multiple
aIuue
pril 4. 89 I I
Section
Cl I Yge
parameters
Max. 8 fun& ns can be activated by bit O-7. The entry value results from the sum of the decimal numerical values of the
bits for the fu ctions requested.
.
2s 24 23 22 2’ 2s
Decimal I I 128 I 64 I 32 I 16 I 8 I 4 I 2 I 1
numerical value I I - I
-----L--
Example: Del ermination of entry values for machine parameter 92
Parameter
Functhan Entry value8
NO.
Issue Bectlon hw
Commiuioning 2
April 4, 89 Cl
Rapid traverse X 0 80”’ 29998’05’ [mm/min]
Rotiy axis:
-2 :- &, I 29998(05’ fOm
N 3
Manuel feed X 4 80 29998”s’ [mm/min] w3
Y 5 Rotary axis:
; 80 29998”s’ [O/min]
L 6
IV 7
Speed when approaching X 8
reference marks Y 9
2 10
ii 11
Signal evaluation, input Xl 12 1 A 4-fold T4/1
x2 13 (max. traversing speed 30 [mlmin]) T4/3
x3 14 2 A Z-fold
x4 15 (max. traversing speed 15 [m/min])
Traversing direction when X 16 0 A Positiie direction 1
approaching reference marks Y 17 1 A Negative direction 1
2 18 (with correct programming of parameter 1
Iv 19 Nos. 20 to 27) 1
Machine parameters with X
mukipie fkwtions Y ;: i
Z 22
ii 23 :
-- --- -- .---- -- --- -- _--.
Counting direction 8ii C3/16
0 + 0 A Positive counting direction
+ 1 A Negative counting direction
----- -- .------ --- -- _--.
Enable for reference pulse T5/5
inhibit 1 + 0 A Ref. pulse inhibit inactive
+ 2 A Ref. pulse inhibit active
-- ,-- -- --- --
Enable for non-linear axis WI 2 + 0 A Inactive CZl6.2
error compensation +4AActwe
----- -- --- -- --- -- .--.
109) + 0 A Output of 2.44 mV, when calculated W5.1
Output of smallest possible 3
vokage increment of 2.44 mV. nominal value is equal to, or greater
than 1.22 mV.
+ 8 A Output of 2.44 mV. when calculated
nominal value is greater than 0.
FUnction
No. entry veluie ewehAt
Polarity of nominal X 0 A Pas. with pas. traverse direction WI6
value voltage Y 2 1 A Neg. with pas. traverse direction
Z 26
IV 27
Integral factor X 0 65535 w3
Y ;: C4l5: C4f6
Z 30 c4m c4l9
N 31 c4f21
Factor for difference value X 32 0 65.535 C4/5; C4J6
Y c4/ll
Z E w9
N 35
L
Backlash compensation X 36 - 1.000 + 1.000 [mm] ‘36
Y 37
Z
N ii Rotary axis - l.COO _. + l.ooO [“I
Correction factor for linear X 40 - 1.ooo + 1.00J [mm/m] W6
compensation Y 41
Z 42
Iv 43
Software limit switch ranges X+ 44 - 30000.000.. + 3OOOO.ooO [mm]
X- 45
Y+ 46
Y- 47
z+ 4%
Z- 49
PJ+ Rotaryaxis:
N- - 30cOO.000 + 30000.000 [“I
- Analcgue voltage at rapid. X-axis + 4.5 + 9 M I W-lo: W24
Approach speed in precontrol mode 53 0.1 10 [mlmin] w5
34f9: al/l9
I Optim*ed
No. sntw values assshwt
Acceleration p5l 54 I.001 3.0 [m/s*] C2/3;C3/8;C4/3
GWl6: C4l24
Position supervision
for opera&n with (erasable) 56 MO1 .30 [mm] C3Jl4; c4/9
spead precontrol (Emergency-stop] 57 Cdil6:C4/23:C4/3:
Position window X Y. Z 58 cz!4
Axis sequence for reference 59 T5/1
mark approach c3/16
15AZY NX
16&Z IV X Y
17AZ Iv Y x
6AYX Z IV 18AlVXYZ
7AYX IVZ 19ANXZY
80YZ X Iv 20orV Y x z
9AYZ NX 21AlVYZX
1IOAY N x z 22AlVZXY
1IlbYlvZ x 230lVZYX
soeed orecontrol 30 ( )Aon 1 AOff C4fl . . .. C4f24
Output of tool numbers or 31 ( )~Nooutput
tool pocket numbers 1I A output 0nb when tool number changes gl;
2! P output of tool number with awv
tool call
I A Outout of tool occket number
(ii tiP 225 2 lj
32 C) A No output of spindle rpm c5/1
---- -- -- ------ --- ---
Coded output of spindle speed 1l A coded output only when rpm :5/2
changes
2! P Coded output with every tool call
-- -- ------ --- --_
Analogue output of spindle speed l A Gear switching signal only when gear :5/4
range changes
1I A Gear switching signal with every
tool call
Ei 0 Without gear switching signal
RPM code limit 33 t )199l A No limit 2513: C5l4
Oscill. behaviour during acceleration 34 CLO1- 0.999 x/4/5; c4/lo;
in orecontrol mode wl2: CM7
Wlmlnary optlmll Deacllptlon
mtw valu6s mtNvahma seesheet
OAl l.trn 145vm C2n: C4/6
Enter 0
0 65.535 [s]
Memory function for direction buttons 68 OAOff 1 Aon C2/8
Approach to reference marks 69 0 A After approaching the reference marks T513
the axes automatically traverse to the
I
software limit switches
Maximum
---j-F-
Minimum
-- --
Designation for axis N
l&B 4av
2AC 5AW
Constant contouring speed at 91 0 179.999 [“I
comers
Muhiple parameter function
Bit
1
--- ---- -- --
Decimal character - - - --t 0 + 0A Decimal comma t c2/7; D1/6
1A Decimal point
--- ------ -- --
Dialogue language - - - 0A First dialogue WI0
2A Second dialogue (English) --
--- ------ --
Memory test when switching on 0A Memory test is carried out c-m
-3
4A No memory test
---
Checksum test when switching on
---
(RAM + EPROM)
---
---
0A
+ 16
------
80 A lntemmtion
No checksumat test
---
Checksum test is carried out
current blodc t
--
-- -- CzmJ
--
-- w9
--
5
+ 0 A The precalculated contour is
completed (up to 14 blocks)
----
+ 0etiz&o”“ts0...298!39.999[01
+32oAxiilVmunts0...359.999[01-0
--
--l -- C2/7
axis
Activation of functions for 6107’ + 0 P No Hitth coupling
Hirth coupling on axis IV + 64 A Hitth coupling employed
Activation of functions for 7’04’ + 0 A No Hirth coupling
Hirth coupling on axis V +128 A Hirth coupling employed
N 162
Feed rate for parameter X 163 80 _. 29998 [mm/min] P3/7
Nos. 126 to 156 Y 164
z 165
N 166
Displav of current feed rate before 167 0 A No display w7
1 p Display
-i
-
Erasure of status display and
Q parameters with M02. M30 and
prowam end
Position supervision in
trailing operation Emergency-stop
173
174
0 A Status display not to be erased
1 p Status display to b-s erased
O...lOO[mm)
=---I
rl
erasable 175
Multiplication factor for Kwfactor
Kv-factor for trailing 0.100 lo.m C4/24
iii
196
197
198
199
200
201
202
203
-----_
~~
206
207
208
Activation of PLC-macro commands 209 0 9999 ‘3147
(Setting of markers 3200 3263) 210
211
212 I
I
‘Scaling factor’ cyc!e effective 213 OA3axes(3D) :2/m
for 2 or 3 axes 1 4 2 axes fworkino olane)
Output of M- and S-functions 214 :2,m
Bit
---- -- .- --- --
Programmed stop with MO6 0 0 A F’rogrammed stop with MO6
1 0 No programmed stop with MO6
---- -- -- ---- --- --
output of M89 1 0 p Normal output at the beginning
of the block
2 A Modal cycle call at the end of
theblock
---- -- .- ------ --- -- --
Axis halt if spindle rpm only is 2 +OAAxishatl w9
changed with a TOOL CALL +4ANoaxishalt
---- -- .- ---_-_ --- -- --
Axis standstill with output of an 3 +OAAxishatl 32nl
M-function +8oNoaxishait
Emepthm: The axis halts with
M-functions resuiting in a programmed
stop (as MOO. MO2 .) or with a
STOP or a CYCL-CALL-blo&
Funotlor~
Pammater I -range I Reliminaw I- IDeeoriDtlon I
No.
Touch probe svstem: orobina weed I215 80 3COO Imm/minl
. _ 1 T6/2
Touch probe system: measuring range 216 0 .19 999.999 [mm] 1 T6/2
BE
Programming language changeover, 217 0 A HEIDENHAIN-dialogue
HEIDENHAIN-dialogue/SO-format 1 A IS0 (G-codes)
Tansfer Blockwise” 218 0...65535
ASCII-character for data input
Transfer Blockwise’ 219 0...65535
ASCII-character for data output
‘Pansfer Blockwise” 220 0...12079
ASCII-character for beginning and end
0 12079
orobina
--- ----
Graphics: Projection of 0 P German standard”
View in three planes- 1 a U.S. standard”
--- --- ------ ----
Coordinate system rotation of ll 0 Nn rn+a+inn
machining plane
Activation of axis S for J A Axis inactive
spindle orientation 1 A Axis serves in orienting main spindle,
without oosition disolav
1 2 A As enti value 1. hokever with
I I position display (is displayed instead
I I of axis N) I
Kv-factor for axis S (spindle) 238 0.100 lO.COO Cl/10
Counting direction and reference pulse 239
inhibit for spindle orientation axis 8ii
---- -- ----- ---------
Gnmtlng direction 0 +o~Pcsiilve c5/10
+ 1 A Negative
---- -- --------------
Reference pulse inhibit 1 + 0 A Inactive T5/5: c5/lo
+2AActFve
Position value of reference mark for 240 0 360.000 WlO
axis S (spindle)
hliminary
Function ?ntry value
Cycles for milling variable contour
pockets
--
E
269
269
270
271
272
273
274
275
276
277
278
279
-
Function Preliminary Optlmlsed Desdption
,’ Wmnge entrv-w entryvalues seeehaut
PLC: predetermined counter value for I... 65535
counters 16 to 31
(u”
--
OkA
l^B
2AC
3AU
4&V
5&W
--jr-
Rapid traverse for axis V 80”’ 29998 lmmlminl
Rotary axis: -
80”’ 29998 [O/min]
Manual feed axis V 80 .29998 [mm/min] *
Rotary axis:
Speed when approaching reference
80 29998 [O/min]
marks
Feed rate for PLC-positioning of axis V
Software limit switch ranges V + - 30000.000 + 30000.000 [mm]
Rotary axis:
V- 326 - 30000.000.. + 30000.000 [ol
Signal evaluation. input X5 327 1 A 4-fold
2 A 2-fold
(max. traversing speed limited by
EXE-input freqtiency)
Spacing of reference marks for 328 0 65535
distance-coded encoder on axis V 0 ic No distance-coded reference marks
1000 A Linear encoders with 20 pm
grating period or angle encoder with
36 reference marks and 18000 lines
Traversing direction when approaching 329 0 A Positive direction
reference marks 1 p Negative direction
(with correct programming of machine
parameters 330 and 331)
Pmliminary
entrY values
--
----------
Reference pulse inhibit of axis V
- -
Enable for non-linear axis
error compensation in axis V
------
-
2’09’
3’09’
--
+ 0 A Inacitve
+ZOActive
----L_
+ 0 A Inactive
----
+ 4 A Compensation effective
----- --
+ 0 A Output of 2.44 mV. when calculated
---
---
---
--
--
C2f6.2
--
C4l5.1
I
increment of 2.44 mV for axis V nominal value is equal to. or greater
than 1.22 mV.
+ 8 p Output of 2.44 mV, when calculated
nominal value is greater than 0.
Polarity of nominal value voltage 331 0 p Positive with positive traversing direction C3/16
1 p Negative with positive traversing direction
I
Factor for difference value CD
332 0 65.535 C4/5; C4f6;
c419 u
K\rfactor for trailing operation 333 0.100 1o.ooo
Datum set via axis key V 334 0 p Inacdve, datum is transferred from
MP 337
1 AActIve
Acceleration of axis V 335 0.001 3.0 [m/s21
I
g the first commissioning of a certain mnchlne type the machine parameters are determined in the given
entered manually, values which are already known can be externally stored via the RS-232~C/V.24
interface and transferred to other machines of the same type. if required.
External storage of machine parameters is also recommended for the end customer as this permits - if need be - the quick
exchange of a control unit,
ElER PROGRAMMING
Elm MP 07
MPO:
Subsequently, the values are entered manually or read-in from the external data medium via the data interface
Plwse note: With this code number the PLC-markers M 1000 M 2000 are also reset to logical “0”.
lf values are only to be edited, or missing values supplemented, this is performed by entering the code number via the
MOD-functionj
After pressing the list of entry values is displayed commencing with MP 0.
Machine parameters can be read-in and out via the RS-232~QV.24 data interface. normally from or to an FE 401 or ME 1011
JO2 from HEIDENHAIN. The transfer from a non-HEIDENHAIN peripheral unit, e.g. paper tape punch/reader is also possible.
The RS-232-C&.24 data interface of the TNC can be converted for the following operating modes via the MOD-function key.
FE: Data interface for the HEIDENHAIN Floppy Disc Unit FE 401. The machine parameters are stored as an NC-program
under e progmm number.
ME: Data interface for the HEIDENHAIN Magnetic Tape Unit ME 101 or ME 102. The Baud rate is set to 2400 Baud.
Standard datr~format: 7 data bits
1 stop bii (2 stop bits for 110 Baud)
Even Parity
EXlr Data interface convertible via machine parameters, see sheet Dl/B
Data entry with erased memory has limited possibilities in this operating mode. See next page.
Swticn pa80
Cl 23
Machine parameters
Entry of machine parameters
The machine @ammeters can either be entered manually or read-in via the external data interface
AfierMAlNSjZ? WER,- ON and MEMORY TEST the operating mode ME is ~lutomatiicsliy presalected by the TNC.
If read-in IS d #slrad I” another mode, selection is made via the MOD-function key (sheet D1/2).
Since no machine parameters have been entered, the RS-232~QV.24 interface cannot Yet be modified in the DCT operating
mode.
For EXT the styndard data format is therefore valid: 7 data bits
1 stop bii (2 stop bii for 110 Baud)
Even Pa&y
In contrast to LE-operation the transmission rate can be set from 110 to 9600 Baud via the operating mode EXT.
If. therefore, aj punched tape reader with standard data format is to be used for reading-in machine parameters, this is
possible in thq DCT operating mode.
~ Issue Seotion me
April 4. 89 Cl 24
Mach ne parameters
Entry 4,f machine parameters
1 Entry with e&d memoly
Display:
OPEf4ATlNQ PARAMEIERS ERASED -
Display:
hlAC(iINE PARAMETER PROQRAMMINQ
~CHINE PARAMEIER MPD T
MPO:
YES
1
I I
After antr;stameters
Display:
MAC#lINE PARAMEIER PROQRAMMINQ
~ PROQRAM NUMBER =
Enk program number and press
Display:
~ EXTERNAL DATA INPUT
I
i Issue SSOtkUl
Commkdonlng
April 4. 89 Cl T
I
Machine parameters
Entry c/f machine parameters
Reed-in and itlng with a programmed memory
lf stored machine parameters are to be amended. supplemented or completely overwritten by external entry. proceed as
Display:
VACANT BLOCKS
Display:
CODE NUMBER -
4
Enter code number 95 149 and
press
Display:
MACHINE PARAbAElER PROQRAMMINQ
MACHINE PARANWER MPO 7
and comolete oarameter list
1
Display:
MACHINEj PARAMETER PROQRAMMING
EftlERNAL DATA INPUT
1 After;:;sentry /
if certain machine parameters are altered within a test phase several times, one after the other, the entry of the code number
may be avoided to save time.
If the mains ia not switched-off. the machine parameter list can be selected again by pressing in the manual operating
mode. After mains power-off, this is no longer possible.
Seotlon paw
Commhbnlng
&K39 Cl 26
I
External etcr/age cf machine pramaten
After final defihition, the machine parameters must always be stored on an external data storage unit
The machine #arameter list is selected via the MOD-key with the code number or. as described, on sheet Cl/26 , with the
-key in the manual operating mode.
Data format aed interface adaptation have to be carried out as described on sheets Cl/23 and D1/2.
Display:
MACHINE PARAMEIER PRQQRAMMIN~
MACHINE PARAMerajl MW 7
and complete parameter list.
Press m.
Is the J
RS-232~VI.24 operating mode
Display:
MACHINiPARAMETW PROQRAMMINQ
PROQRAM NUMBER =
Enter pr;zgber and
Display:
EXTERNAl. DATA OUTPUT
After transmisgion. the TNC automatically switches to the manual operating mode.
i Inu0
Avril 4, 99 I-I Cl 2
parameters
e parameters as user-parameters
Up to 16 mat ine parameters can be made accessible to the machine user via the MOD-function. The user-parameters can
be assigned fY the machine manufacturer as required.
Assignment bf user-pfimmetem
0
If a machine parameter is be made accessible to the user the P -key has to bs additionally pressed during programming.
The following r message appears if it is attempted to program more then 16 user parameters.
The following dialogue texts for the dialogue display of the user-parameters are stored in the PLC-EPROM:
Machine pammeter
Machine parameters with the lowest parameter number
USER PAR.
USER PAR. i
USER PAR. 4
USER PAR. .fj
USER PAR.
USER PAR. 9:
USER PAR. 8 Machine parameters arranged according to increasing parameter numbers
USER PAR.
USER PAR. 1
USER PAR. 1)
USER PAR. 1
USER PAR. 1i
USER PAR. 14
USER PAR. 16
USER PAR. 16 Machine parameters with highest parameter number
Instead of US R PAR. 1 etc. any text with up to 16 positions can be displayed. This requires an alteration of the standard
PLC-EPROM. e PLC-EPROM is altered at our works in Traunreut. West Germany. Please contact HEIDENHAIN in Traunreut or
one of our for j ign representations.
flwae note: I
The dialogue USER PAR. 1 to USER PAR. 16 are stored in the PLC-EPROM under the addresses of the PLC error messages
PLC ERROR PLC ERROR 99. If error messaaes are rewired instead of the disolavs for user-oarameters. the corresoond-
in the PLC-EPROM have to be Changed (address of USER PAR> lo= address of PLC: ERRGd 64 etc.).
ues for user-parameters were defined in the customized PLC-program, the allocation ot the texts to the
eter No. is shifted if further user-parameters are ru~smnkly inserted.
~ IlJsue SClCtiObl mP
April 4. 69 Cl 28
Desctjption of machbe parameters
The descript’ of machine parameters for related functions can be found in the pertinent sections.
The sections $ ire listed in the machine parameter list (see Sheets Cl/3 to Cl/22).
eters which cannot be clearly assigned to a section of the manual are compiled and described on the
+ Z-direction,
middle finger
+ Y-direction.
-m ,4 forefinger
“Right-Hand-Rule”:
The coordinate directions are
represented by the fingers.
mung. only the tool mowment is considered (relative movement of tool), i, e. whilst programming the operator
the tool is moving.
With the universal milling machine as illustrated above, the
milling tool should. for example, traverse in a positive direc-
tion in the X-axis. However. due to the table moving in this
Movement of mill + X axis and not the tool, the table must move in the left-hand
- direction. The relative movement of the tool is therefore in
the right-hand ~direction. i.e. in the oositive X-direction. In this
case-the traversing direction of the table is designated to
DIN 66217 as + X’.
-L Movement of table + X
the fourth axle is to be used for a rotary table or as an additional linear axis and
the display screen:
*z
*”
+w
t
iv
ILL-
-*” +x
: I88ue Seation
Comml88lonlng c2 ??@@
Aqil 4. 89
of machine parameters
parameters for the axes
Rapid tram+
The maximumi traversing speed of an axis (rapid traverse) is defined via machine parameters. The respective rapid traverse
has to be adlqsted with 9 Vat the input of the servo-amplifier.
The minimum ientty value depends on the acceleration entered in MP 54. MP 297, MP 298. MP 299, MP 335
(see sheets C&3: CWl6).
3
_ 2.777
2.083
1.388
w
80 500 1000 1500 2000 2161
Min. entry value for rapid traverse [mm/min]
Manual feed :
The maximum’ feeds in “Manual” can be limited via separate machine parameters.
Pa&ion wlnqlow
MP 68
,*2 bsition window for axis x, Y, 2
ition window for axis IV
MP 336 FE ition window for axis V
Entry ranbe:
b.001 2.000 [mm] or [“I
MP 246 bition whlow for axi s
Entry range:
1 65535 [increments]
The position v#indcw determines the limits in which the control considers the position as being achieved. After having reached
the position window. the control begins with the execution of the next block. The entry of 0.05 means, for example, that the
machine ccns(ders a position as reached if the actual value of the position reaches the nominal value to within f 0.05 mm.
Although the $cntrcl begins with the execution of the next block. it continues in trying to position the machine exactly to the
nominal pcsitibn value.,The entry value for the position window should not be less than 0.01 mm. If the entry value is too
small, the pcslticning time and thus, the transition from program block to program block may be prolonged.
By setting maChine parameters it is possible to determine whether the current actual value should be transferred as a nominal
value after an /external EMERGENCY STOP. By not having a transfer of the actual value, possible drifting of the axis after an
EMERGENCY STOP can be corrected. k should be noted that an axis drift which is greater than the position window leads to
the error mesiege “Gross positioning error”.
The position ldcp for each axis may be separately inhibited by means of bits 0 to bit 4 of MP 72.
In addition, th reference signal evaluation can be cancelled via MP 76. The position display and encoder supervision can be
cancelled via $4
: P 76.
: .__-_
lasue Sotion f+w
-0mmi~ioning l-3 A
Nov&mber 21. 89 I
Descrjption of machine parameters
Machine parameters for the axes
The position display and the encoder supervision of axes inhibited by MP 72 can be ,oancelled by means of bii 0 of MP 76
The supervision of encoder inputs can be separately switched off for each axis by means of bit 1 to bit 6. This applies to both
inhibited and enabled axes. The position display remains active if Bit 1 = 0.
The axis designation is determined with MP 90 for axis N and with MP 320 for axis V. Axis designation A, 8 or C signifies
that the axis is to be used for the control or for the display of a rotary axis. In this case, this axis is excluded from mm/inch-
conversion and can operate with one of the other axes in linear interpolation without tool compensation. If U. V or W is used.
the axis is defined as an additional linear axis. The mm/inch-changeover is applicable and can operate either in linear inter-
polation with ane or two of the other axes. or with one of the other axes including tool radius compensation.
ISSUe Seotion me
Commimaioning c2 5
November 21. 89
Descr/ption of machine parameters
Machihe parameters for the axes
The special functions for a Hirth coupling in the fourth or fifth axis are activated by MP 92, Bit 6 or Bit 7. Activation of Hirth
coupling is only appropriate if the fourth or fifth axis is a rotary axis.
After activatioh. the display step from MP 260 or MP 342 takes effect.
Via MP 261 or MP 343 a shift of the Hirth coupling with respect to the encoder reference mark can be. entered.
.Traversing with external directional buttons: after releasing a direction button the axis moves to a position which corresponds
to the next multiple of the display step
Datum set: lf a value which is not a multiple of the display step is entered, it is automatically rounded-off upwards or
downwards.
When programming, nominal position values which are not a multiple of the display step may also be entered. During
execution of the block, the ermr message “ENTRY VALUE INCORRECT” is displayed.
j Issue Ssotion me
commlesloning c2 6
November 21,89
ption of machine parameters
e parameters for the axes
Backlash oo+pnnaation
With a linear measurement via spindle and rotary ancoder a slight amount of play between table movement and rotary
encoder can be compensated for bY machine parameters. An entry value of 50 pm should however, not be exceeded.
Linear compe$sation of individual axes can be programmed by machine parameters. The correction either extends or
shortens the measuring range.
Note: The linear compensation is only effective if the non-linear axis error compensation is not.
In all axes, no!-linear corrections can be made at 64 points in each axis. These corrections are stored and edited via tables
The relationship of the correction of a certain axis can be randomh/ programmed to the same axis or to any other axis
/ \
axis to be corrected erroneous axis
The axis in brdckets is the erroneous axis, the deviation of which, is corrected bY the axis which is to be compensated.
On a machine:having an overhanging horizontal Y-axis, the deflection of this axis can be compensated for via the Z-axis.
i ~SW section
CommMonlng C2 2
Fetiruaty 8. 90
I
ption of machine rs
e parameters for the axes
Depending on the correction value list, 64 correction points can be stored for each axis.
Wish the code number 106296, the dialogue for entry of the correction value list is initiated.
1” line X=F(m)
3” line + DIST 1
After calling-up the correction value list via the code number axis X = F (X) is displayed corresponding to the ballscrew error
compensation; for the axis in the 1” line. The enoneous axis (X) is displayed in inverted characters.
By pressing the appropriate axis key the erroneous axis can be changed.
means 2 = F (X).
Individual lines are selected via the cursor kevs As of line 4, them-key can also be used
em
The datum is the starting point for compensation of the erroneous sxis. This point is entered in absolute and is referenced to
the reference mark. The correction value of the datum is stored under the address 0.
The datum shpuld be allocated such, that corrections increase in the positive counting direction. If. for example. the datum is
located to the:left of the reference mark. the distance to the datum is entered as a negative value.
The spacing i&xement for the 64 correction points is entered as an indice to the base of 2. The entry range is 1 20
corresponding 2 pm 1048 m
Example: Fiiqpre$ spacing 32 pm
t
the&fore. entry value for DIST = 5
As of the 4’” $x& up to 64 correction values can be stored in addresses 0 to 63 for each table. Only the kink-points of the
error curve h&e to be entered. means that an entry is not made). Linear interpolation exists between the kink-points.
La
It should be &ted that the maximum possible gradient of the compensation curve of 1 mm/m should not be exceeded,
otherwise the;error message COMP. VALUE DIFFERENCE MCESSIVE is displayed.
0.013
A b
f-7 10 10 12.048 14.css
IS.144 18.192 20.24022.288 24.33828.384 28.432 SO.480 Y [mm1
Refdrence mark
I
Datum
The editing procedure is ended by pressing However, for every correction point, the keys must be pressed:
l/ii. 4
otherwise the ierror message “COMP. VALUE DIFFERENCE EXCESSNE’ is displayed.
Input and o&wt ol co-n lists via the RS-232~CN.24 data intwfaw
In addition to manual entry, the tables can be read-in via the RS-232~QV.24 data interface. Similar to the machine parameter
list, this program is called-up via a program number. Date transmission is carried out, as normal. via the m-key.
i Issue Commls8ionlng
SWtiW mw
April 4. 89 c2 6.3
of machine parameters
parameters for displays
The 5 urn display step is normally sufficient for milling and boring.
The optimisation of approach behaviour is carried out with a 1 pm display step
Bit 0 of MP 92 influences the decimal sign of the position display as well as the decimal sign for data output via the
RS-232~1X.28 data interface (see sheet D1/6).
Bit6 punting mode If the axis IV operates aa poeitlon display for a rotary table
+ 0 P Axis IV counts 0 29999.999 [“I
+ 32 A Axis IV counts 0 359.999 [“I - 0
If the axis IV operates as a position display for a rotary table and is always rotated in the same direction. the counter will over-
flow after 29d99.9990. The position display after 359.999O is reset to 0 by setting bit 5 of MP 92.
If a display of ‘the momentary feed is requested. and if the feeds in MP 4 to MP 7 and MP 322 vary, the feed in all axes is
reduced to the lowest value within MP 4 to MP 7 and MP 322,“s’
1 AOn
of machine parameters
paramters for machine operation
:I Aon
MP 68 activates the memory function for the external direction buttons which can be realised via marker 2450 and
complement marker 2466 (see sheet P3/22).
The memory function permits continuous traverse of axes even after the release of the external direction bunons.
Bii 0 m override If the rapid traveme button is preswd in opwatlng mode “Program run”
+ 0 P Override inactive
+ 1 A Override active
Bit 2 Faad override if the rapid travwse button and the external dhactlon buttons are pressad in the
“manual” mode
+ 0 P Override inactive
+ 4 A Override active
The datum of:axis V can either be set via axis key V or MP 337.
: Issue seotlon
Commiwionlng c2 77
April 4, 89
I
of machine parameters
parameters for control programming
The TNC 355 ican be used as a programming station without additional wiring.
When compilihg programs directly at the machine, we recommend programming according to the HEIDENHAIN-dialogue-
concept.
With external icompilation of programs. the ISO-format (G-codes) can be advantageous, since postprocessors in the
ISO-format ar6 often less expensive to create.
When changidg over, all NC-programs contained in the TNC-memory are translated into the appropriate programming
language.
,
MP 236 pphiw
Bii 0 Changeover ol the “PmjecUon in three plan&
+ 0 A German standard
4 1 A U.S. standard
“Projection in three planes’ can be changed over from the U.S. standard to the German standard with bit 0.
Bit1 ’
rotation of the coordinate system by 90’ in’the working plane
jt 0 A No rotation
p 2 A Coordinate system rotated
With bii 1 the bking plane can be rotated by 900 in the graphics display. This is convenient if e. g the Y-axis operates as the
tool axis.
g-7
Bit 1 = b
T---+
8iil=l
1
i lwue -6@
Commiaaionlng c2 9
ril 4. 89
I
of machine parameters
parameters for program run
ines the angle with which a contour corner is milled at e constant contouring speed.
aremeter is effective for operation with speed precontrol as well as in trailing operation.
MPW Multiple
: function parameter
Blt4 hango from program run single blook to program run full aaquenca when machining oonthwourr
t3 ntoun
b 0 A The precalculated contour is completed (up to 14 blocks)
+ 16 A Interruption of current block
MP 93 detemjines the stepover factor for the tool path in the canned cles “Pocket Milling” and “Circular Pocket’. The feed
during rough-cut milling is calculated according to the formula:
MP 93 is not effective with the cycle “Rough-out” for variable contour pocket milling.
MP 173 ~rssurs of the status display wlth MO2, MS0 and program end
9 A Status display is not erased
1 A Status display is erased
If MP 173 is programmed with “1”. the coordinate conversions, the current tool and the Q-parameters are erased at the end of
a machining program.
~ Ismm Bedkm Me
April 4. 89 c2 10
ption of machine meters
e parameters for program run
MP213
Bit2 &s haIt if spindle rpm only ia ohangod with a TOOL CALL
+ 0 A Axis halt
+ 4 A No axis hail
Axis halt cannbt be cancelled with M-functions which resuk in a programmed stop (as MOO. MO2 .) or by a STOP or by a
CYCL-CALL-blbck,
of machine parameters
parameters for program run
------
r '--7
I
r-----i r---- 1
I
I II I I
I
I
L---l L---J I
Bit 2 = 0: (Eritry + 0) The Control roughs-out out pockets Bit 2 - 1: (Entry + 4) The control roughs-out out pockets
separately, sinbe the corrected contours (the paths of the tool simukaneously since the incorrected contours are combinea
centre) do noi intersect. Material remains at the internal and intarsect. No material remains at the internal corners. For
corners. the combining of incorrected contours the control requires
more computing time than that for the combining of
corrected contours.
: Irw SWUW me
Commlmkming 12
April 4. 89 c2
,ption of mach~ine parameters
e parameters for program run
If function M$2 is programmed in a positioning block, the nominal value of the position is not referenced to the workpiece
datum, but td a position which is defined by MP 186 to MP 189. (The entry velues are referenced to the reference point of the
appropriate a*is).
Three datum borrections can be entered for all axes via MP 303 to MP 314 and MP 339 to MP 341.
These datum icorrections are activated by markers (see sheet P3/38).
M2817 ~2816
p No datum correction
: !I 1B1 Datum correction
0 2sd Datum correction
1 ;1 3”’ Datum correction
After activatioh. the position display indicates the position now referenced to the shied datum
Example: :
If M2819 is nbw set, the datum value from MP 303 is added to the value in the actual position display.
This results ini an actual value display for the X-axis = 120.
This correspo(ids to a datum correction (displacement) of the X-axis bv - 20.
The 1”. 2”d or!3ti datum correction is always added to the original actual value being displayed (100 in this example).
MP 73 Advanced switchpoint for switch-off time of spindle during ‘tapping’ cycle (oniy effective with ND-output of
bpindle rpm)
MP 183
~~g$yg~!g wkh “wwing’ cwh
.
liming d&g ie m for “tapping” cycle with analogua output of rplndlo rpm
Feed F of A
tool axis
I
MO3
MO4
I
MO5 f
Feedback signal
/ I!Mue Sectlcn m@
Cmnmldonh3g c2 14
4pril 4, 89
Descr ption of machine parameters
Machi; I, e parameters for canned cycle “Tapping”
Timing diagrpm for “tapplng’ cycle with BCDsoded output oi eplndle rpm
CYCLE CYCLE
START STOP
Entry value “3” is only significant if the central tool file has been addressed by MP 225.
MP 157 Activation d next tool number, programmable with TOOL CALL . ./. or the following tool pocket
number, programmable with TOOL DEF
0 A No output of next tool number
1 - Output of next tool number only when tool number (TOOL CALL ./. ) is changed
2 ^ Output of next tool number with every tool call (TOOL CALL ./. .]
3 ^ Output of next tool pocket number. programmable wrth TOOL DEF.
The entry value “3” is only significant if the central tool file has been addressed by MP 225.
The number of tools of the central tool file is entered into MP 225. The central tool file is therefore automatically addressed.
Depending on what IS selected for MP 61 and MP 157 the control transmits either the tool number or the tool pocket number
to the intetgral PLC when the central tool file is active, i e. tool magazines with
.fixed tool r,ocket addressing and
.flexible adrbsssing
can be carstrolled.
Via PLC-inputs tool and pocket numbers can be read-in in ECD-code and stored in the central tool file. e g. for automatic
.~ me
insetiron into ., toor magazrne
MP 61 iEnt!y value 1 or 2
If MP 61 contains entry value 1 or 2, the central tool file does not aton, tool pocket numbers. The NC-part of the control only
transmits theftool number to the integral PLC. Therefore, a tool magazine with faced tool pocket addressing can be controlled.
MP 167 3ntryvelw1w2
ff MP 157 contains the entry values 1 or 2 the entry of the number for the next tool is requested when programming a tool
call. The VDY display:
During a tool call, the control therefore outputs the number of the current tool and. in addition. the number of the subsequent
tool.
MP 61 ;&try value ‘3
If MP 61 and /MP lb7 contain the entry value 3 the control takes over the administration of the tool pocket numbers. The
NC-part of th control transmits the tool pocket number to the integral PLC. thus enabling a tool magazine with flexible
addressing to,be
f controlled. Flexible addressing means that during machining the next tool is being sought in the toolchanger
and, with a subsequent toolchange, the old tool is exchanged for a new tool. The control remembers whiih tool number is
stored under which tool pocket number. The tool being sought is programmed via TOOL DEF.
Tools which -i due to their size - occupy three tool pockets are considered as special tools. A special tool is either always
stored in a pdrmanent pocket or is exchanged for another special tool (depending on marker 2601). A special tool is
programmed y setting the cursor to the dialogue question
SPECIALTO L?
and respondi ! #g with the -key.
For safety reasons. with special tools, the preceding and following tool pocket numbers should be erased by setting the
cursor end pressing the m- key Instead of an erased tool pocket number a 0 is displayed.
“S” for specia( tool and “P” for tool pocket number are only displayed if the value 3 was entered in MP 61 and MP 157.
When using special tools, PO (spindle) - or another pocket in the magazine - has to be vacant1
Tl T2 T& T6
P tool pbcket numbers
within the magazine
SP7 tool pocket number
for spixial tool
: Irue Section mw
Commiuloning c2 17
April 4. 89
Comrfiissioning the machine
Code pumbers for commissioning
1
Certain oper4ting conditions and functions are selected by code numbers
Coda numb;! entry is via the u-key. After pressing wand m the dialogue
CODE NlJM+lER
is displayed.
961026 PLC-mode
Exit via the -key
cautionl
Before switc!+ng-on the interface cabinet. the 24 V-supply voltage from the NC-part and the PLC-pert of the TNC 355, as well
as the mains!supply of the VDU have to be disconnected at the terminals.
Furthermore, we recommend that all servo-amplifiers be separated from the power supply prior to switching-on the interface
cabinet.
IsaW SSCtiOll me
Commissioning
April 4. 89 c3 2
I
Commissioning the machine
Check/j subsequent to switching-on the intetface cabinet
1
Checking t+ supply voltage for the LE and PLC
The voltage frjom both power supply units have to correspond with the definition on sheet M5ll
The visual display unit BE 4128 is supplied by an AC mains voltage. The operating voltage can be set from two ranges via the
voltage selecibr. Before connecting the VDU. check the voltage selected and the mains fuse rating.
Supply voltabe Voitage range Frequency range Power consumption Mains fuse
IlOV- ‘; 85V-- 132V- M2A
48...62Hz approx. 40 W
220 v- j 17OV--264V- M 1.25 A
Mains fuse
Mains voltage selector
f”m LE 355 (X9)
I I
Power supph/
(Mains voltage)
F&ion test
; Ime Section me
Commhsloning c3 3
dpril 4. 89
Com@sioning the machine
Descrijption of position loop
I Issue Bection me
Commidoning
hpril 4. 89 c3 4
I
Corn issioning the machine
DescriT tion of position loop
B
A position lo p consists of
.tha regulator $ nd
.the- regulatin path.
j
For NC-machines the regulator is specified as a cascade regulator. The
is subordinatq to the
irpm regulator
and the i
1 The regulaUr/g path is constituted by the machine with motor and axis slide.
Commissioni g has to be carried out in the following sequence for all servo-amplifiers:
l Aouv5t5 ul5toren5bl5
Disconne b ! regulator enable at the servo-amplifier and wire externally
l &MY r SuPPlY
APPLY PO
Y/f I supply at the servo-amplifier.
l 005rs5 adjustment
If tiie axis* eves. adjust offset potentiometer such, that the axis comes to a standstill. After the offset adjustment, remove
the short-dircuit bridge at the nominal value input again.
l co5rs5s‘ 5fJ~ustmsrtt
connect cry to the nominal value input.
Adjust 9 FV at the battery and tune the driving motor via the tacho-potentiometer to the nominal rpm. The nominal rpm can
be determ/ned with a tachometer at the drive motor.
0 o5t5rmi~lon of accelemtlon
(see sheet\C3/8)
For the co&l lhe regulated path consists of a servo-amplifier, motor and axis slide.
Before optimiiing the position loop of the control. the regulated path has to be optimised first.
A step functidn (9 V) is applied at the input of the servo-amplifier with a battery-operated unit. The step response of the
n be displayed with an oscilloscope. When determining the step response. the axis should be loaded with the
ight of the workpiece.
Given step
function
.
T t b-1
loops (current regulator and rpm regulator) must be optimised such, that the step response displays
m the tacho-signal picture.
/ Issue ssotion
Commk8ionlng
horil 4. 89 c3
Comrpissioning the machine
Com&ssioning the servo-amplifier
Several overshoots
/
cc
1 lmsl
I
1
\ P-part of the subordinate position loops too low or I-part loo high
i IaaW SectiOn ma
April 4. 89 Commisdoning
c3 7
Compissioning the machine
Comt$issioning the servo-amplifiers
The maximu(n acceleration can be determined from the step response. For simplicity it is assumed that the Who-signal
shows a linepr characteristic.
I
I I
I
I
T t h-f=1
-I
The acceleration time T can be derived from this diagram,
Therefore:
1 T’ = 1.1x T ‘1
The values determined for the acceleration are also the entry valuea for MP 64, MP 297, MP 298, HP 299 and MP 336.
1
Issue CornmIssioning
seotion me
April 4. 89 c3 8
issioning the mach,ine
itch-on
Switch-off in i-face cabinet after checking the supply voltages and adjusting servo-amplifiers, Connect supply vokaga to the
NC and the x C-parts of the TNC and the VDU and also connect the nominal value lines to terminals.
After switch-$n, the TNC carries out a RAM memow test and check sum test for EPROM and RAM. This test can be
selectively capcelled via MP 92. Waiting time during commissioning can therefore be avoided if the mains has to be
switched-off pften.
POWER INTEfiRUPTED.
If the machin+specific PLC-program is not stored in the KC-EPROM. the PLC-program has to be entered into the
RAM-memory. as described in section P4.
: Issue Section me
Commissioning c3 9
November 21. 89
Comtfnissioning the machine
Selecding the dialogue language
After switch&g-on the control. plain language dialogues appear in the first language on the screen.
English is cohtained as a second dialogue language in every TNC 355. The following dialogue languages are available:
~ Issue Commlasioning me
&xi1 4. 99 c3 10
I
issioning the machine
The buffer ttery is the voltage backup source of the RAM-memory for NC-programs, PLC-programs and machine
parameters. %il en the control is switched-off.
If the messabe
= EXCHANGE BUFFER BAlTERY =
is display&/the batteries have to be exchanged.
The batterieg are located behind a screwed m-gland within the power supply unit of LE 355.
In addition td the batteries. an accumulator is used with the TNC 355 for backup of the memory content.
The mains w$kage can therefore be switched-off when exchanging the batteries. The accumulator buffers the memory
content, witijout batteries, for approx. 2 weeks. The accumulator is onh/ charged when the TNC is switched-on.
IEC-designbtion .LRG”:
Racommdndation: Philips type LR6 1.5
A malfunctioh of the control or the machine is displayed by this function. All important conditions of the control electronics,
encoders and machine are monitored.
A flashing error message is displayed simultaneously when switching-off the control voltage externally.
The condition Control non-operational” can only be cancelled by switching-off the mains supply for the TNC 355 after
rectification ef the fault.
If a malfunct/on of the control or the machine is discovered, the output “Control operational” is opened. At the same time,
all PLC-outputs are switched-off, i.e., opened. This also applies to the outputs which are supplied via the non-disconnectible
24 V voltage/
b f a fault. the output “Control operational” should switch-off the 24 V-supply voltage in the machine interface.
for safety, this output is monitored by the control for every mains voltage switch-on,
Both directions of this output are monitored when swftching-on the control (see flow diagram, sheet C3/l4).
I I
TNC 355
Electrical switch is momentarily opened 2 times by microprocessors
when control voltage is switched on.
X22/4
Acknowledgement
Control
switched off operational
h---
Emergency
OFF buttons kl
-J
Power on.
Erase POWER INTERRU~ED with the’@.
II t t
Control opens the “operational” contact
at LE X21. Pin 34 and PL 300 X3. Pin 10)
via monoflop of position loop processor.
I
24 volts switched-off
YES
I I
Switch-off mains power. Fault display
I I RELAY EXT-DC VOLTADE MISSINQ I
I
t t
I I I
Rectify fault. Switch-on control voltage.
Machine operational.
ISEW 8aouon
Commlaakmi~
&xi1 4. 89 c3 77
Corn issioning the machine
Outp I;”t “Control operational”
D ~
I ‘%_
(i
Timing dia ram
hult dlrplay
1. Wait for cdntrol v&age RELAY EXT.DC VOLTAQE MISSINQ
2. The contrd voltage has to switch-off within 174 ms, other&e EMERQENCY STOP DEfECTwE
3. Wait for c+-ttrol voltage RELAY EXT-DC VOLTAGE MISSINQ
4. The contr voltage has to switch-off within 124 ms, otherwise EMERQENCY STOP D-
5. Wait for c ntrol voltage REIAY EXT-DC VOLTADE MlS8lND
6. Control-e&nal process switches-off control voltage EXTERNAL EMEROENCY STOP
The external qmergency stop is evaluated by the control es an external stop. If the external Emergency stop is activated
during an axi$ movement, the axis moved is decelerated as with an external stop. If the servo-amplifiers are blocked b an
and the programmed values from machine parameters 56 to 175 (position supervision erasable).
parameters 57 or 174 (position supervision EMERGENCY STOP) are exceeded, the error message
or GROSS POS~IONING ERROR A is displayed.
-hl I S0CtlOll
c3 I?
Corn issioning the machine
Chec lr,ing the external emergency-stop circuit
alrue
pril 4, 89
Commlselonlng
SeotiOhl
c3
me
15
issioning the machine
g the traversing and counting directions
Mains voltage on.
t
Erase error message:
POWER INlERftUPTED
with@.
t
Emergency-stop routine.
t
Display:
PASS OVER REFERENCE MARK -
(sequence from MP 59).
direction of axis
Counting direction NO
1
Error message after approx. 30 s:
QROSS POSlllONlNQ ERROR
4
Axis lies in any position Mains voltage on
within position loop. and off again.
1
Erase arror massage:
POWER INTERRUITED
with a.
The flow diagram has to be followed for each axis1 Emergency-stop routine.
I
the value prog ammed in machine parameters 16,17, 18,19 or 329
(0 + direct1.bn, 1 - direction) with respect to the defined Correct MP 20 to MP 23.
directions of the machine. The counting direction is correct if it and MP 330. I
corresponds to the defined machine directions.
; Ieeue Section
Commidoning
&ril 4. 89 c3 2
Corn issioning the madMe
Softw ql re limit switch ranges
*,
/ Issue Section
Commlwionlng c3 7
,$pril 4. 99
Optinjising the NC-axes
Precondition
For precise a d fast positioning of the machine axes. the machine parameters have to be optimised for acceleration and
approach, at {t e control.
With machine’parameter 60 it can be selected as to whether the control operates with speed precontrol or with trailing error,
MP 60 speed m”tml
0 0 Speed precontrol on
‘I A Speed precontrol off. operation with trailing error
/ leeus 6ection me
April 4. 89 c4 1
NC-axes
In the modes IManual’. “Programming and editing- and “Electronic handwheel”, operation with trailing error is always
selected, independently of machine parameter 60.
In the operatiqg modes Teach-in”, Program run single block” and “Program run full sequence” machine parameter 80 has to
be programmed with “1’ for operation with trailing error.
Adw*ges:!
.High computi g speed
.Function M 9:t- Constant contouring speed on corners” is effective,
Therefore both make the operation with trailing error suitable for 3Dcontouring operation,
Contouring edors can occur with high traversing speeds: a programmed circle radius will become smaller, depending on the
Kv-factor and fhe traversing speed.
Commbekning
ising the NC-axes
operation
63 I
0 The control calculates the nominal value of the speed every 6 ms taking the entered acceleration into consideration (MP 54,
VP 297. MP 298. MP 299. MP 335).
@ The nominal value of the travel is determined every 6 rns from the nominal value of the speed.
$=so+“xbt s = nominal value of traval
sg = previous nominal value of travel
v = nominal value of speed
At = cycle time for the closed loop (6 ms)
@I jiw nominal value of the travel is separated in X- and Y- p necessary Z-) components.
0 The axis-related nominal value of the travel is compared with the actual value of the position and the trailing error S. is
@ Fe trailing error is multiplied by the K.-factor and is transferred as the nominal value of the speed (analogue voltage) to the
$qrvo-amplifier.
~‘XNOMIW = Kv x Sax VN~M~N~L = nominal value of the speed for the X-axis
KV = position loop gain factor
S.X = trailing wror for the X-axis
@ With stationary axes. the integral factor is additionally effective: it effects an offset adjustment.
In the operatirig modes “Positioning with manual input”. ” Program run single block” and “Program run full sequence” machine
parameter 60 /has to be programmed with “0” for operation with speed precontrol.
Advantage: j
High contoui$g accuracy with high speed
Disadvantag :
Less suitable f or 3D-contour machining.
Please note: i
Operation witq trailing,error is always effective for manual operating modes.
Sectlon ma@
Commladoning c4 4
‘ising the NC-axes
with speed precontrol
Integral factor
(MP 28. MP 29, MP 30. MP 31)
KV determined by difference factor (MP 32. MP 33. MP 34, MP 35, MP 332)
I
Q par operation with speed precuntml. the nominal value of the speed (analogue voltage to servo-amplifier) is generated by
g~~dWO~~~:
Q fhe speed component allows operation with a trailing error dose to ‘0”. which means in most cases, the nominal value of
ihe position corresponds to the actual position value.
@ p deviations around the actual position value ark compensated for as described in “Operation with trailing error”.
0 $Wiih stationan/ axes the integral factor is additionally effective; it effects an offset adjustment.
j leeue Section mP
Commlssionlng
April 4. 89 c4 5
opti I* n the w-am
Voltag T
increment at nominal value output
The nominal ‘alue outputs of the TNC 355 are equipped with a 12 bit digital-analogue converter. i.e. 2’* - 1 = 4095 steps
can be outp The maximum voltage of the analogue outputs is 10 V, thus resulting in a smallest voltage increment of
10 v : 4095 j 2.44 mv.
By sening ma/chine parameters it can be determined as to when the smallest possible voltage increment is outpUt for a small
nominal value1deviation.‘“’
By entering ti-je value + B e nominal value voltage is output, even with the slightest deviation of the nominal value (i.e. one
counting pulse from the encoder.
/ Issue Section
Commiwhlng 2
pril 4. 89 c4
Optit@sing the NC-axes
Fine o#set adjustment at the servo-amplifier
Iswe Section me
/ Commieslonlng
April 4. 89 c4 6
,~
set adjustment at the servo-amplifier
I
I
Exit from MOD-operating mode with a,
I
,
Switch on t$ling error display and select operating mode “Program nm”
1
Dialogue display:
POSITION DISPLAY
carryoutfinedhet ndjuetment
Turn offset potentiometen until trailing error display
show “0’ or symmetrically oscillate about “0”.
1 Ieeue Commluioning
SSCtlOll
4pril 4, 89 c4 7
set adjustment through the control
ffset adjustment can be carried out by entering code number 76386. The control displays the offset values in
e in the sequence X Y, Z. IV, (V) in 2.44 mV-units. e.g.
A duration cad be programmed via machine parameter 252, after which the automatic offset adjustment is repeated
fulfilled:
.i
The automstyoffset adjustment is carried out 1 the given duration has lapsed and the following conditions have been
Moreover. en ffset adjustment is immediately carried out after approaching the reference marks.
With controlle traversing sn adjustment is also possible within the duration between “Nominal value in target’ and “Actual
value not in th target windov\r, providing the nominal value is in the target for longer than 5 s.
“.
With every off et-adjustment 2.44 mV are compensated. lf the offset voltage is greater than 2.44 mV, it is completely
compensated fter several adjustment cycles.
ge
The maximum admrssrble offset voltage is 100 mV. If this voltage is reached or exceeded. the error massage
I ”
= GRGSS IllONlNG ERROR E -
*
is displayed. j
The integral fa or (MP 28. MP 29. MP 30. MP 31) also carries out an automatic offset adjustment. The effect and the
optimisation o1P the integral factor is explained in C4/21..
ral factor is oontinuously in operation, this could lead to an instabilii of the closed loop if the drives have~a
HEIDENHAIN therefore recommends the integral factor 0 in this case.
Opti ising the NC-axes
Speed“t adjustment through the control
Check entry v$ues for the following machine parameters:
Funotion
Integral factor!
!
X
rm- En(ryvcll-
28 0
r
IV
Factor for diff$rence value X
;
/
53 1
Acceleration j 54 value from tha adjustment sheet C3/8
57
56 ii
80 0
Acceleration I Y 297 values from adjustment, sheet C3/8
Z 298
! N 299
Diff. factor forrspeed precontrol V 332
Acceleration I V 335 from adjustment. sheet .C3/8
i
Repeat adjustment for all the other axes.
I Issue Commbaioning
Section
April 4, 89 c4 T
ising the NC-axes
operation with speed precontrol
Diirence*r
The difference factor is the multiplier for the voltage dllerence per urn position deviation from the nominal value
Example: ~
.with D = 1 iposition deviation 2.44 mV is output per urn
.with D = 0.5 bositfon deviation 2.44 mV is output per 2 pm
.with D = 2 iposition deviation 4.88 mV is output per urn (double converter step).
The effect of ihe difference factor with various entry values is shown by the following diagram:
Voltage
steps t D=2
[2.44 mVj
-
1 234567 Position deviation [urn]
i Iaeuo section ww
Commbbning 11
April 4, 89 c4
I
ising the NC-axes
ing operation with speed precontrol
Difference factor
MP 32 to MP 35, MP 332
If the Kv-facto- and the rapid traverse of a machine are known. the difference factor can be taken from the following table
(explanation o‘ Kv-factor see sheet C4/25).
Minimal
Rapid [m/min] voltage step Kv= 1 1.2 1.4 1.6 1.8 2
1 Z 4.88 mV/pm 3.68 4.42 5.16 5.90 6.63 7.37
2 2.44 mV/pm 1.84 2.21 2.58 2.95 3.31 3.68
3 1.22 1.47 1.72 1.96 I 2.21 2.45
4 2.44 mV/2 pm 0.92 1 1.10 1.29 1.47 1.65 1.84
5 0.73 0.88 1.03 1.18 1.32 1.47
6 0.61 0.73 0.86 0.98 1.10 1.22
7 0.52 0.63 0.73 0.84 0.94 1.05
8 bad regulating 0.45 1 0.55 0.64 0.73 0.82 0.91
9 behaviour
standstill at 0.40 0.49 1 0.57 0.66 0.73 0.81
10 0.36 0.44 1 0.51 0.59 0.66 0.73
11 0.34 0.40 0.47 1 0.54 0.60 0.67
12 0.31 0.37 0.43 0.49 1 0.55 0.61
13 0.28 0.34 0.40 0.45 1 0.51 0.58
14 0.26 0.32 0.37 0.42 0.47 1 0.53
15 0.25 0.30 0.34 0.39 0.44 0.49
16 0.23 0.28 0.32 0.37 0.41 0.46
The different factor can be calculated for higher traversing speeds and higher Kv-factors. For intermediate values it can be
calculated as allows:
Sa = 4 m m’n Sa = 3.333 mm
1.2 “, in
++!I?
AU = umx
Sa AU = Voltage step par pm position deviation
U mBx= Output voltage with rapid traverse
Sa = Trailing error (lag)
1
A” = 9000 bhl
3333 [Lpi
au = 2.7 [Trn
q
D = Difference factor
AU = Voltage step per urn position deviation
D=2:& - i
D = 1.1
Pleaasnote:
The best regu ating behaviour resuits from a
I I Difference factor Z 1. I
If the differen al factor is substantially less than 1. operation with trailing error (lag) and characteristic kink is recommended
(see C4/2). ti
out as follows:
Pressext. start
in operating mode
PROGRAM RUN SlNDll! BLOCK m
Machine runs.
t [msl
belle Commiwbnlng
April 4. 89
ising the NC-axes
operation with speed precontrol
I
,
Diierenca factor MP 32: Reduce entry value until no oscillations can be detected.
I
I .
Repeat adjustment procedure for axes Y. 2 IV and V.
I I
AP?&l Comm~jdoning
SectIon
c4
me
15
ising the NC-axes
ing operation with speed precontrol
acceleration of the regulated path could not be determined with the batten/-operated unit as dectibed on
acceleration has to be optimised as follows:
4
Entry of following values for
position wow&ion
t
Enter following program
in operating mode
PROQRAMMINQ AND
EhlNQq
LBL 1
Xl00 RO F 29998
X 0 RO F 29998
CALL LEL 1 Rep lOO/lOO
t
MP54
Increase “Acceleration’
in small steps. t-
t
Press ext. start
in operating mode
F’ROQRAM RUN 8lNQl.E BLOCK
Machine runs.
I
POSlllONlNQ ERROR
YES
AIeeue
pril 4, 89
ising the NC-axes
ing operation with speed precontrol
Radial ao&ation
MP 66 bdlal aocalaration
intry range: 0.001 3.0 m/s*
The machine parameter for radial acceleration limits the feed for circular movements via the following formula:
v = Maximum feed for circular movements
v=JrxMP55 r = Circle radius
For MP 55 HqlDENHAlN recommends a value ranging between half and the total value of MP 54,
Tacho
voltag
MP 64 correct
b . . . . . . . . MP 64 too small
t bl
Since MP 64 effective for all axes. the worst axis determines the entry value. Overshoot should not occur in any axis
Pressext. start
in the operating mode
PRDQRAM RUN SlN0l.E BLOCK
Machine runs
b t [msl
beue Seotbn
c4nnlnbebnlng c4 ?r
pril 4, 89
ising the NC-axes
ing operation with speed precontrol
MP 53 influences the gradient of the deceleration characteristic in the vicinity of the nominal position.
MP 53 correct
Since MP 53 s effective for all axes, the worst axis determines the entry value. No nominal position of any axis should be
traversed.
Aoaae note:
lf the entry fo MP 53 is too small. the positioning durations into the nominal position substantially increase. Therefore
optimise MP I 3 carefully!
i
Press ext. start
in operating mode
PRGGRAM RUN SiNW BLOCK a
aIeeua
oril 4. 89 I Sectbn
c4 I?
ising the NC-axes
ing operation with speed precontrol
I
I
UMA MP 53: Increase entry value until the position is clearly traversed when approaching.
Tacho ltage The overshoot can also be observed in the actual value display.
+
I
~ n m
t ml
1
uM A MP 53: Reduce entry value until the position ceases to be traversed.
b
t h-1
I I
Control the Y-, Z-, IV- and V-axis and correct MP 53,
if necessary.
Issue Sb pace
Commia&hg
ril 4. 89 c4 20
ising the NC-axes
ing operation with speed precontrol
lntegralle rx,Y,z,IV
The integral f ctcr (MP 28 to MP 31) affects an automatic offset adjustment for standstill with slight position deviations (the
offset adjust ant of the servo-amplifier has to be carried cut before determining MP 28 to MP 31).
I
The function 4f the Integral factor for various entry values is shown in the following diagram:
12345 6
Example:
Position devi a io8” from nominal position value: 1 pm.
Entry value f 0 ilntegral factor 333: the control compensates with 2.44 mV after l/2 second.
Entry value f 0 ilntegral factor 83: the control compensates with 2.44 mV after two seconds.
i
1
MP 28 (for X-axis):
Increase entry value” until closed loop condition
distinctly changes (observe etiual value display).
factor is possible in connection with the automatic offset adjustment with MP 252, can only be judged by
whole machine. The optimum solution should be found during commissioning.
IeeUO Se&on m@
Commbdoning
April 4. 89 c4 22
with speed precontrol
ksllion
*” rion for the pmcontrol mode
MP 65
MP 67
T rasable
Entry range: 0.001 30 [mm]
Emergenn/-step I
MP 57. ranges for constant positioning supervision of the machine are determined. This supervision is
as the machine axes are being held in closed loop by the control. When the limits of parameter 56 are
stops (error message POSlllONlNQ ERRQR). while the control initiates an -Emergency-stop” if the
are exceeded. The error message FOSlllONINQ ERROR can be cancelled with whereas the
a3
has to be switched-off every time for “Emergency-stop” end the reference marks have to be
entry values:
Position supervision
for operation with (erasable) 0.5
speed precon rol (emergency-stop) E; 10”
Section me
Commidoning
c4 23
ising the NC-axes
ing of operation with lag
In trailing ope ation the acceleration is proportional to the KV-factor, i.e. a higher acceleration automatically results from a
higher Kv-fa r. To avoid this effect. TNC 355 operates with an acceleration limitation.
The accelerati n is limited by MP 54, MP 297, MP 298, MP 299 and MP 335, i.e. by the same machine parameters which
are effective f r speed precontrol (same entry values).
‘B
gain: K&actor
the traversing speed of an axis with a determined trailing error, The KV-factor is calculated according
Issue SBCtiOll
Commldonlng
April 4. 89 c4 77
Opti ising the NC-axes
Optimi” ing of operation with lag
JMA
- KV correct
MP 177 to MP 180.
---- KV too large
MP297 to MP299.
. .. . KV too small
- t [sl
it is also advantageous if at least one voltage step is output for each urn position deviation,
factor” (see sheet C4/ll.. .) it is explained that the control outputs 4095 voltage steps for 10 V
this corresponds to 3685 steps for 9 V analogue voltage.
par urn position deviation is output. the trailing error should not exceed 3.685 mm:
I Sa 5 3.685 mm 1 Sa=trailingerrorfor9V
Wah increesin trailing error, a greater position deviation is required for a voltage step. With smaller trailing error, several
voltage steps re output per urn position deviation.
Example:
with 9a = 7.3 0. 2.44 mV are output per 2 urn position deviation.
Wah 3a = 1.8 2. 4.88 mV are output per 1 pm position deviation,
I
r by which a voltage step can be output per 1 urn position deviation is normally calculated to the following
Example:
Kv=l:VE= 4 m/min;MP52=9V
Sa=~;sa
I f [mm] : Sa = 2000 pm
Kv-factor cannot be increased for machines having high rapid traverse speeds such, that an optimum
results for the machining speed or standstill. Therefore, a characteristic kink can be entered in most
the characteristic kink is determined via MP 181. The Kv-factor is multiplied within the upper range by the
176.
UM4
.High Kv-factor in the lower range, i.e. a higher voltage step per pm position deviation
.Lower Kv in th upper range
Plsaes n&e:
The characteri ic kink must lie above the highest machining feed.
I”
Ieum me
pril 4. 89 Commbabnlng c4 27
ising the NC-axes
ing of operation with lag
Optlmising s K&mdor
To detemline he optimum position loop gain (Kv-factor) in the lower range, the adjustment has to be initially carried out with
the machinin I feed. In a second adjustment the Kv-factor is determined for rapid traverse.
MP 181 0
Kv-factor, determined by
MP 177 to MP 188 (MP 333)
* t bl
AIssue
pril 4. 89
Seotion
c4
ising the NC-axes
ing of operation with lag
i
Enter following program
in operating mode
PROQRAMMtNQ MD EDtllNQ m
LBL 1
X 1OO”...RO F”
X 0 RO F”
CALL LBL 1 Rep lOwlO
1
Press ext. start
in operating mode
PROQRAM RUN StNQlB BLOCK
Machine runs.
Note: Set feed override to 100%.
MP 177: I& ease entn/ value until position loop oscillates or until an overshoot occws after the acceleration ramp.
0 Machinirg feed
I
chining feed.
tulle Sectbn m.
Commtdonlng c4 29
April 4. 89
ising the NC-axes
ing of operation with lag
PIwee note:
The Kv-factor as to be the same for axes which commonly interpolate. In this case, the worst axis determines the entry
value. I
I
Iwue Section
Commlwbning
April 4, 89 c4 7
ising the NC-axes
ing of operation with lag
1
Enter following program
in operating mode
PROQRAMMINO AND EDITINQ 81
LBL 1
X 100” RO F 29.998
X 0 RO F 29.998
CALL LBL 1 Rep lOO/lOO
1 YES
1 NO
please note:
The worst axi I determines the entry value for MP 176.
beue Seotion
Comm*rbnhg ?z
pril 4. 89 c4
isihg the NC-axes
ision of positioning
limit of parameter 174 leads to an emergency-stop of the control; the fleshing error message QROSS
is diplaved. This error message can only be cancelled by switching-off the mains voltage for the
For operation tiith precontrol, the ranges for position supervision are determined bv MP 56 (erasable) and MP 57
(Emergency-s:op).
Switching the residual nominal value voltage when ormr manago “Posltlonlng ermf is displayed.
lf blocked axe cause the error message “POSKIONING ERROR’ a residual voltage may remain at the nominal velue output,
A duration ca be determined via MP 185, after which, this residual nominal value voltage is switched-off with the error
message “PO ioning error”.
MP 186 clay for cutout of tu&lual nominal value voltage when wmr mouage “Positioning errof is
ieplaysd.
.: ntly range: 0 65.535 [s]
Seotion mm
Oommieslonlng
c4 33
Optidising the NC-axes
Supervision of positioning
The maximum admissible deviation of the analogue voitage is monitored by the given voltage of the nominal value as per
MP 234. If ths maximum admissible deviation is exceeded. the error message Q%SS ~IllONlPlQ ERROR is displayed
““t
With parameter 169 the range is determined in which the non-controlled axes may be moved. If the programmed limit is
exceeded, the control goes into emergency-stop and displays the flashing error message
OR088 PDSltKlNlNQ ERROR D.
Iasua Sectbn
Cemmbsbdng c4 ~2
April 4. 89
,.
Opti ising the NC-axes
Overvi w of error messages
GROS POSlTlONING ERROR
”
The error me sage GROSS POSIllONINQ ERROR can be displayed for various reasons
Emw cause
Position supervision MP 67 or MP 174 exceeded.
ONINO ERROR 6 lo-volt nominal value voltage of control for precontrol operation exceeded.
the main spindle is controlled via M-functions M03. MO4 and MO5 by means of a closed loop. The main
e oriented via a PLC-positioning.
eeds can be output either BCD-coded or via an analogue voltage output having up to 8 programmable gear
Iroe Section
Commirloning
pril 4, 89 c5 T
Optitlsing the ma,in spindle
Codec output of spindle speeds
The spindle s ed is programmed in the NC-block in rpm.The S-function is transferred
viamarkerZ( 1 (Bit 0, Isb) to marker 2071 (Bit 7. msb). with coded output of spindle rpms;
and 8CD-cud in two decades via the strobe marker 2064 of the NC-parttothe controlofthe PLC-part of the control.
The NC-part the control awaits the continuation of program run until the acknowledgement is given via marker 2481that
the gear was banged.
uetofootk i-functlone
Coding
of & ncliona
45
I0101
0101
0101
0001
0010
0011
so4 S 64 60 0101 0100
so5 S65 0101
SO6 s 66 0110
so7 S67 0111
SO8 S68 1000
s 09 S 69 1001
-
s IO S60 0000
Sll S 61 112 I 0110 0001
s12 $62 126 0110 0010
s13 S63 140 0110 0011
s14 S64 160 0110 0100
s15 S66 180 0110 0101
S16 S66 200 0110 0110
s17 S67 224 0110 0111
S18 S68 250 0110 1000
s 19 S 69 280 0110 1001
- I
s20 1 0010 s70 315 0111 0000
s 21 1.12 0010 s 71 355 0111 0001
s22 1.25 0010 0010 S72 400 0111 0010
S23 1.4 0010 0011 s73 450 0111 0011
S 24 1.6 0010 0100 s74 600 0111 0100
S25 1.8 0010 0101 S76 560 0111 0101
S26 2 0010 0110 S76 630 I 0111 0110
S27 2.24 0010 0111 s77 710 0111 0111
S28 2.5 0010 1000 S78 800 0111 1000
s 29 2.8 0010 1001 s 79 900 0111 1001
-
s30 3.15 0011 1000 1000
s31 3.55 0011 z E 1120 1000 E%
S32 4 0011 0010 S82 1250 1000 0010
s33 4.5 0011 0011 1400 1000 0011
0011 0100 iti 1600 1000 0100
E E.6 0011 0101 S86 1800 1000 0101
S36 6.3 0011 0110 S86 t
2000 1000 0110
s37 7.1 0011 0111 S87
S38 0011 1000
s 39 0011 1001 :z
-
IO 0100 0000
E 11.2 0100 oool E
S42 12.5 0100 0010 s 92
s43 14 0100 0011 s 93 4600
16 0100 0100 s 94 I5000
2 18 0100 0101 s 95 I5600
S46 0100 0110 S 96 ,5300
s47 E.4 0100 0111 s 97 7100
25 0100 1000 S 98 I
E 28 0100 1001 s 99 z%i
-
Section
C6 Y
Opti ising the main spWk
Codedm output of spindle speeds
PM coda llmlt
Number of
decades S-code number
Min. rpm 2 00 - 99
I
Max. rpm 12 1 00 - 99
Step .._..._.. 1.. 11 I l- 9
tared as an rpm-code; i. 8.. the minimum spindle speed is determined on S 20 (1 rpm). the maximum spindle
(1000 mm). The range is defined more precisely by indicating that only every second rpm is programmed.
If an rpm whi lies between two standard table values is programmed in the NC-block, it is automatically rounded-off to the
next lower rp
AIssue
pril 4. 89
ising the main spin&e
ue. output of spindle speeds
quipped with an S-override potentiometer. The minimum and maximum voltage values can be programmed
MP 63
P 63 has to be programmed with OODSl for analogue output of spindle speeds!
MP 78 ear range 1
$
MP 79 Clear range 2
MP 80 Gear range 3
MP 82 Gear range 5
is entered for each gear range with S-override 100%. Gear ranges which am not required are deleted by
with MP 82 to MP 86
in MP 82 MP 85 have to be smaller than the entry values in MP 78 MP 81; hence the control
speed supervision has to be carried out.
lnsnm suctkul
timmlrloning “;p”
April 4. 89 c5
ising the main spindle
ue output of spindle speeds
I 07 (4 axes)/04 (5 axes), MP 168 only determines the ramp for the acceleration of the spindle.
le deceleration is defined by MP 316.
S-analogue voltage
: positive; M04: negative
p M03: negative; M04: positive
0 MO3 and M04: positive
A MO3 and M04: negative
I ISSW
Nov mber 21,89 I
Section
C5
me
5
Opti ising the main spindle
Analo ue output of spindle speeds
I
speed
ran
c with four gwr ranges ii MP 88 - MP 87
UM
21 w,.,r I, i I I I I *
‘88N g g 8 1000 1500 2000 3ooo 4000
n Lwml
ISSUO Section me
Commlrrloning
ril 4. 89 c5 6
ising the main spi~ndk
ue output of spindle speeds
UMA
-8 “.-- --l--- -
c
250 500 750 1000 1250 2Om 2600 3ooo 3750 4ooo 5000
n [rpml
SOOtlOll
Issue -knhrg c5 ?
April 4, 89
ising the main spindle
ue output of spindle speeds
Umlteth oi S-override
MP 88 aximum
ntry range: 0 150%
MP 88 inimum
my range: 0 150%
I
UM
Gear range 2: MP 79
t t- 1 I
Issue Section we
CommMoning c5 a
lril 4. 89
ising the main spindle
ue out.put of spindle speeds
!
MP 74 Feed and spindle override
F
MP 190 ramming or rpm 8 = 0 permitted
A S = 0 permitted
1 p S = 0 not permitted
a voltage value in MP 184 can be leas with MP 190.
A ISSU0
pril 4, 89
the main spinc#e
tion of main spindle
An orientation of the main spindle can be programmed via the position loop for the axis S. This is, e.g.. important for an
automatic tool hange or when using a TS 511/E 120 3D-touch probe with infra-red signal transmission.
ROD 428 wit / 1024 lines (see sheet T4/4) is a suitable rotary encoder.
Spindle orien tion is principally carried out as a PLC-positioning. The nominal value of the position for orientation is either
determined vi
1
1
.the orientatio cycle or
.via MP 126 to,MP 156.
The position v Iue on the reference mark for the axis S is entered via MP 240, since the setting of a datum is not possible via
an axis key. a
1
MP 237 hmtlcn cf axle s for rpirKh olhtatirlll
A Axis inactive
A Axis active, without position display
p As entry value 1. however, with position display
is displayed instead of axis IV)
MP 239 nting direction and refannco p&e InhibW for spindle odmtatbn axis
P
ElfI 0 0 A Positive counting direction
! 1 A Negative counting direction
Bit 1 0 P Reference pulse inhibit inactive
2 A Reference pulse inhibit active
;
Ul 1
Ul 2
Ul 4
Ul 5
u3 1
laeue Sootion mm
pril 4, 89 U~-fJN- uo 1
I
Prog mming of user-cycks
*
re NC-programs in which variable program data are programmed via O-parameters (see Operating,Manual).
of user-cycles within the NC-program marnon/ is performed with program numbers 99999968 to 99999999
re tested in the NC-program memory and can be subsequently assigned to an EPROM. This is carried out by
EPROM is especialfv important if YOUdo not wish to reserve program memory for user cycles. The PLC EPROM
32 different user cycles with a total of 2100 program ,blocks.
A maximum f 100 customer-specific dialogue texts for the cycle description and entry parameters can be stored in the
control.
via CYCL CALL or with the cycle definition CYCL DEF. This is determined during compila-
ser-cycle with CYCL DEF in only performed if a standard cycle is to be called via CYCL CALL within a user-cycle.
8lockwfse mode with simultaneous machining, application of user-n/cles is not possible, since the correspond-
the ‘dialogue block” is only possible with program numbers 99999968 to 99999999.
of the necessary plain language dialogues, two possibilities are offered:
After dialogu initiation for the definition of plain language dialogues using the mend -keys. the following dialogue
question is ‘splayed:
a
DLQ-CALL = NO ENT
-DEF” and “DLG-CALL” user-cycles can be dontained in a main program, Q-parameters for the dialogues
rn separate Q-address locations.
LL”-block are assigned to program parameters Ql to 014. With the ‘DLG-DEF”-block the
a Q-paramaters Q (1 + MP 263) to 0 (14 + MP 283).
e in machine parameter 263 = 50. the cycle parameters (of a cycle with “DLG-DEF’) are assigned to the
eters as follows:
As with stan ard dialogues. user-cycles can also be displayed in two languages
The antsy val e for machine parameter MP 259 is added to the dialogue number of the original language. The English text of
the appropri 4 e dialogue is stored under this dialogue number.
to whether original or English dialogue - automatically takes place simultaneously to the selection of the plain
dialogue via machine parameter MP 92.
are still stored within the NC-program memory can also be recalled via PGM-call. For testing, the operating
lock” is also possible.
L all Cl-parameters are globally effective).
are stored as Q-parameters (see Operating Manual). Wiihin a user-cycle calculations may Lx?
After a return jump into the main program, the original entry values are again valid i.e..
can be altered localty.
Entry range: b 50
ber of globally effective O-parameters can be defined by MP 262. “Globally effective” means that the contents
are transferred from the program being called to the user-cycle and altered if required. These altered
the program being called after completion of the user-cycle and can be altered or used as required.
40 is entered for MP 262. the Q-parameters CBO” 099 are global.
- Program rt repeats
Program rt repeats cannot be executed in user-cycles which have been stored within the EPROM.
Program art repeats can, however, be easily programmed via Q-parameters (see following example “Bolt Hole Circle’)
”
- Program II-ups
Program II-ups via PGM-CALL are not permitted within user-cycles,
- @cle 14 ” ontour”
Cycle 14 ” ontour” must be defined within the main program,
must be located within the main program or within the central tool file
, the programming of functions which interrupt the cycle sequence is not permltted. e.g. M-functions or tool
rminate the cycle.
Urr-cyclsr
mming of user-cydes
dialogues
dialogues texts for the cycle description and the entry parameters are stored in the PLC-EPROM:
USER CYCL
CYCL PARAMETER 1
CXL PARAMEFR 2
Instead of th se standard dialogues. HEIDENHAIN can store up to 100 different customer-specific dialogues in the
PLC-EPROM.
-t ISSUCA Section me
Urr-oyob8
pril 4, 89 Ul 5
4
Exam1Iple for a user-cycle
The followin user-cycle serves as an example. This cycle is not stored within the control.
The user-cy a 68 -Bolt hole circle” requires the following entn/ parameters:
r-
-t
The first holle of the pitch circle is located on the W-axis of the X-Y-coordinate system. The variable parameter program which
is stored deNri I 9s the hole spacing from the total number of holes and executes machining.
For the use, vcle “Bolt hole circla”. the following dialogues must be stored within the EPROM:
I
Iseue Section ble
Ueer-cyolee u2 1
pril 4, 89
Example for a user-cycle
Programming of a user-cycle within the NC-program
1 mem Vy
Operethg mode
Dialogue inttlatlon
1 ENDPGM @SD99968
User-cycles re output in binary with the PLC-program (output of PLC-program. see PLC-description).
ML PROQRAMS ?
in programs are to be
-ENl/END=NOENl
Should dz ta output from the EPROM The control finally reads-out the user-cycles
be completed: from the RAM.
issue UWHWClOS
Section
April 4. 99 u2 7
User-/cycles within a machining program
CYCI. Dl
I-
Tool definition
Tool call-up
Irue Ssotlon
UWr-k?YCkd
.hpril 4. 99 u3
,~ .,,
Contc its
Section ‘age
3tandmd di hterface RS-232-CN.24 Dl 1
Switchover < IE-FE-EXT transfer modes Dl 2
Tinnefef bl cwlw- D2
Graphlee pm .OUt D3
or data can be loaded down from the control memory to an external storage unit such as e
unit, floppy disc unit or another peripheral unit e.g. a printer.
(ME-operation, FE-operation or operation with another peripheral unit) must be set before
ACKDJAK-protocol
hoet computer requirea an wpedaliy camplled wftwam In order execute data tmnefer to and from
of the matrix via the machine parameters of TNC 366 as per the instruction manual of the
ing connected. Detailed description sheet D3/l,
Issue hction me
Dete intdeoo R&232~WV.24
April 4, 89 Dl 1
Stand rd data interface RS-232-C/V.24
Switch ver of ME-FE-EXT transfer modes
ion. the TNC 355 can be stitched to the following 3 operating modes via the MOD-key:
ction of the HEIDENHAIN floppy disc unit FE 401 end the IBM-EC.”
smission, such as read-in, read-out or transfer blockwfse is performed via a special protocol for data
n. Data format and Baud rate 9600 are adapted to the FE.
tion of transmission to other peripheral units in standard data format as well as in transfer blockwise.
ce for data transmission is adapted via machine parameters and the Baud rate is freely selectable.
several times until the mode RS-232~C/V.24-INTERFACEwith display ME, FE or EXT appears,
til desired mode is displayed.
ontrol automatically switches to the EXT-mode, regardless of the mode which has already been
itrue Section me
Data Intwfece RS-232~WV.24 Dl
April 4. 89 2
Standard data interface RS-232~C/V.24
Floppy disc unit FE 401
With very long programs, which exceed the memory capacity of the control, “transfer blockwise* is possible with
SlmultaneOuS program run.
A further advantage against the magnetic tape units ME lOliME 102 is the greater storage capacity For example. up to
256 programs with a total of approx. 25000 program blocks can be stored. This corresponds to a storage capacity of approx.
790 ItBytes.
Moreover, the FE 401 is equipped with 2 disc drives for the copying of disc information.
EE
DSR
GND
SR 20 DTR
s s2c
DTR
Lw20
u
cabk between Is5 366 and RS-232~CN.24 adnpter
2-C-V.24 adapter block (Id.-Nr. 23976O.J the data lines and control lines are
the layout conforms to the data transmission unit.
the cable between the LE 355 and the RS-232~C/V.24 adapter, the layout at the
Terminal Unit. The external units can. therefore. be connected by the standard
Id.-Nr. 24286901).
AIaeue
pril 4. 89 I Data interface RI232~CN.24
SWth
Dl I
me
4
Standard data interface ,RS-232~WV.24
for external programming and
protocol
Data transmis and control via the RS-232-C/V.24 interface is governed by ASCII-characters. The following table indicates
the character
coda m coda
Character DEC BINARY Character DEC BINARY Chfaaotar DEC BINARY
NUL 000 0000000 ' 0101100 x 088 1011000
SOH 001 0000001 - iii 0101101 Y ii: 1011001
3-X 002 0000010 E 0101110 2 1011010
ETX 003 0000011 / 0101111 [ 091 1011011
EOT 004 0000100 0 E 011owo 092 1011100
ENQ 005 0000101 1 0110001 ] 093 1011101
ACK 006 0000110 2 050 01 IWIO 094 1011110
EEL 007 0000111 3 051 0110011 - 095 1011111
8s 008 0001000 4 052 0110100 ' 096 1100000
F 010
009 0001010
0001001 56 053
054 0110101
0110110 eb 097
098 1100001
1100010
Issue
pril 4. 89 I DataintufaceRS-232~WV.24
SectIOn
Dl
ma
5
ard data interface FBZ32-C/V.24
e parameter for data transmission in EXT-mode
g mode “Standard data interface”, machine parameters MP 216 to MP 221 and MP 224 (see sheet D2/5) are
standard data interface is only being used, 0 can be entered for this machine parameter.
The character for “program end” is transmitted in all cases regardless of whether a “standard data interface” or Transfer
blockwise’ is eing used. The character for “Program beginning’ is only transmitted in Transfer blockwise’.
wto-7 7 9 6 4 3 2 1 0
Value 126 64 32 16 6 4 2 1
Insert 0 or 1 as appropriate 0 0 0 0 0 0 1 1
Bit8- 15 16 14 13 12 11 10 a 8
Value 32769 16394 6192 4096 2049 1024 512 256
Insert 0 or 1 as appropriate 0 0 0 0 0 0 1 0
Entn/ value: 1
2
+ 512
515
either a decimal comma or a decimal point for numerical values. When reading-in,
ines the data format. Bit 1 is only significant for “Transfer block-wise’
r the standard data interface.
Farema
Entry value
No.
Data format a d transmwron stop 222
* Bit
---A---- --
0 + 0 A 7 data biis (ASCII-code with Brh bn = parity)
+ 1 4 8 data bits (ASCII-code with 8’” bit = 0.
-- !P bii = periky)” +
--- ------_- --
Block Check Character 1 + 0 p BCC at randoms’
+ 2 p BCCnot control characters1 +
--- -- .----- -- --
Transmission stop through RTS“’ 2 + 0 p Inactive
+ 4pActive +
-- --- .---- --- --
Transmission stop through DC3 3 + 0 p Inactive
+ BpActive +
-- .--- ---__ --
4 + 0 p Even
+ 18ADdd +
.-----_- --
5 + 0 p Not required
+ 32 p Required +
.- -- ---_ --
‘Numbertop= - - 617 7 If3
Y--r
00 0b 12 l/2 stop bits
1 stoo bit
I I I 1 stop bit
Setting of bit 6: + 64 +
Setting of Bii 7: + 128 +
I Entrv value
the BCC with “Transfer blockwise’ results in a number less than 20 HEX (control character), a character
is transmitted before ETB. This ensures that the BCC is always greater than 20 ,HEXand therefore not a
switches the RTS-output to 0 V, the output DTR is simultaneously switched to 0 V (connected to the
the peripheral unit). If the DSR-input of the peripheral unit is not allowed to be switched to 0 V during data
, a logical “r should be circuited to DSR via a bridge connection.
a dotamhation of the entry value
Bite-7 7 6 6 4 3 2 1 0
Value 128 64 32 16 8 4 2 1
Insert 0 or 1 as appropriate 1 0 1 0 1 0 0 0
.The and of the “program end”-block must finish with CR LF or CR FF or FF and additionally EXT (control C) or instead of EXT a
character entered with machine parameter 71”.
.When reading-in ISO-blocks. the “*‘-character at the end of the block is unnecessary.
.When reading-in NC-programs, comments which are marked with “a” or “:” are overread.
interface machining programs can be transferred from an external storage unit or the FE-unit and executed.
ed in the PROGRAM RUN-mode with “transfer blockwlse’ and permits the execution of machining programs
capacity of the control memory.
The data inte ace can be programmed via machine parameters. The RS-232-C/V.24 interface of the TNC must be adapted to
either axtemal or FE-operation1
”
-key in the operating mode single block/automatic program run, data transmission can be started from an
it. The control stores the program blocks in the storage space which is available and interrupts data
the vacant storage space is exceeded.
discontinues to show program blocks until either the available storage space is full or the complete
are not being displayed. program run can be started via the external @-button.
only short program blocks are executed when working with an external storage unit. In order to avoid
of program run after start, a substantial number of program blocks should be stored as a buffer.
dvantageous to wait until the available storage space is full.
After start, the executed blocks are erased and further blocks are continually called-up from the external store.
from HEIDENHAIN blockwise transfer to end from en IBM-PC is possible; also from the PC to FE 401
ileble from HEIDENHAIN.
Ieeue
JA
pfil 4, 99 I Data interface RS-292-CPJ.24
Section
D2
me
2
transfer
blockwise” via EXT-mode
ected to the external computer via the RS-232~QV.24 data interface in the operating mode “W. Control
mputer link-up are specified by machine parameters.
ion can be started from the TNC 355. After starting, the control transmits a heading block to the external
contains the program number and infomlation specifying whether transmission is to be from
vice-versa. Transmission of this heading block is followed by the machining program,
ich has been transferred, is checked by e “block check character BCC”. This is an important check procedure
blockwise’ mode, since there are no further checks of the machining program possible between data
d program execution.
ram block has been recognized as error-free, the next block is called up. An erroneous block has to be
are read into a buffer memory in the TNC 355. and can be executed from this memory During program
blocks are deleted and new blocks replenish the memory
wing operation, without interruptions is therefore possible.
II-characters are used for control of data transmission (as per ISD R 646):
CII-characters (substitute characters) with decimal code from 1 to 47 may substitute the above
DC3 L lnterru t data transmission (Device Control 3). Binary code 00010011
DC3 interrupts/ data transmission.
AIs6uo I
oril 4. 89
Data intetfaw RS-232-ClV.24
section
D2
me
3
with “Block Check Character BE”
program execution requires date check procedures (IS0 1166 and IS.0 2111).For this
blockwise’ mode of the TNC 356, a perky check of the complete transmitted block (length perky)
addition to the perky check of the individual characters (cross pa@). This is performed wfth the ‘Block Check
, which completes the individual biis of the transmitted character of a data block for an even length parity
block. the control checks data trensmission via the BCC. For this, the TNC 356 generates a BCC and
th the BCC being received. If the generated BCC and the received BCC are identical, the control signals ACK to
not identical. the control signals NAK. and the block muat be re-transmitted to the peripheral unit. This
3 times and the following error message is then displayed:
With data out ut the control can transmit a BCC to the peripheral unit. The TNC 365 then waits for the signal NAK or ACK
from the peri eral unit. If the peripheral unit transmits ACK. the next program bbck is transmitted.
If, however, th peripheral unit transmits NM. the program block is repaated. The control repeats the same block up to
3 times. If the peripheral unit transmits NAK each time, the following error message is displayed:
f
a ISSUO
pril 4. 89 I Data intaface RS-PSQV.24
I-I D2
m@
4
I ,.
Tmns w blockwise
Mach e parameters for ,,lansfer blockwise” in EXT-mode
The determil on of entry values is described under parameter 71 (see sheet Dl/6).
FUllCtiOll Entlyvsl~for:
0 7 ETX or random ASCII-character. Character for program end. ETX end SlX
8 .._ 15 STX or random ASCII-character. Character for program 515
beginning.
218 H or random ASCII-character. Transmitted within heeding H and E:
block for data Input before program number. 17736
E or random ASCII-character. Transmitted within heading
block for data Input after ororxam number.
H or random ASCII-character. Transmitted within heading H and A:
block for date output before program number. 16712
A or random ASCII-character. Transmitted within heading
block for data output after program number.
220 ET8 or substitute character (decimal code 1 - 47) Ff8 and SOH:
is transmitted at the end of the hoadlng block. 279
SOH or substitute character (decimal code 1 - 47)
is transmitted at the bogInning of the hssdlng block.
221 ACK or substitute character (decimal code 1 - 47) ACK and NAK:
positive acknowledgement is transmitted when data block 5382
is received as wwect.
8 _.. 15 NAK or substitute character (decimal code 1 - 47)
negative acknowledgement is transmited when data block
is received as ermnwue.
224 0...7 EOT or substitute character (decimal code 1 - 47) EOT:
is transmitted at end of data transmission. 4
Issue
Data interfaoe RS-232~WV.24 Section page
rril 4. 89 D2 5
LCCKWISE in SINQLE BLDWAUTOMATIC PRDQBAM RUN
.z
data transmis ion from the peripheral unit to tt MC 355 is
Dotafmm
lNc+
rformed as follows:
Datofrom
sham1
Romorke
EOT u
Fleaee note:
CR. LF at prog am beginning and CR. LF or LF or FF after every block are not required for Transfer blockwise-. This function is
carried out by he control character.
F
P! ISWe
pril 4. 89 I Data htetfaw BB-232-CtV.24
Sootion
D2 7
I
Tmn er blockwise
% w of control characters in various modes
Over-vi
The lNC trahrmtte the following heading b4ock for Block format Roemm PromlNCat
actbeth of entry: end endof
The lNC transmit8 the Mowing heading block Bbck ionnat Roeram
before every program: end
SOH/H/Progrsm NoJAjETB/BCC/DCl SlWBlock text/ETB/BCC El-%
(Program No. max. B digits) (control waits for NAK or
ACK after every block)”
For MP 222 enter value 169 and for MP 223 enter value 0.
leeue sactlon me
Data intariam R8-232-CN.24
ril 4. 89 D3 1
Graplr cs printout
EPSON matrix printers
Entry value
222 169
223 0
226 795
227 13080
228 0
229 0
230 1805
231 2587
232 10757
233 2
-
ON
ON ON
. EPSON printer
2 3 im
-
3 2 RXD
4 RTS
57 CTS
6 20 DSR
7 GND
8f
20 ---LH DTR
.
Section I‘age
t Pl 1
Section Page
Markers for C-keys P3 17
Operating mode-code P3 17
Decoded operating mode-code P3 17
Currentiy whated axi* key:X. Y. Z. N P3 18
Code ‘or external selection of TNC-keys P3 18
Markersfor inhibiting TNC-keys P3 20
Markers for termining axis sequence upon approaching the reference marks P3 33
Markers for I first PLC-program cycle after switch-on or interruption of the PLC-program P3 40
Miscellanec markers P3 41
Macro-prog Iming P3 47
Markers for the c&up of macro-programs P3 47
Macro-prcgrams for the confml of tc&h.qers P3 48
Mechanical layout and functioning of o to&hanger P3 50
Extension
Ofthe PLC-memory P3 52
Co”“ten P3 53
nmers P3 55
”
Section ‘age
PLC-mcdw 1 P4 1
PLC-editing m3de P4 2
Kqbosrd lbpd for PLC-programming P4 3
Key designations P4 4
ProgrammingFiC-commands P4 5
Call-upof a specific PLC-command P4 5
Sequmtial checkingof PLC-commands P4 6
Weting WC-commands P4 6
EntedngPLC-commandsinto an existing pmgnm P4 6
DeletingB PLC-program P4 7
TmnsferOf B Fit-program frcm EmOM to RAM stcmge P4 7
Input/output of PLC-pqmms on disc. magnetictape or printer .. P4 8
Binaryoutput of uw-c&s for compiling a FiC EFROM P4 9
PLC-trace moale ” P4 10
PLC-tables .E/&WT//M” P4 11
&chahge of C EPROM’s P5 1
P7 1
P7 1
PLC-input801 input/output board PL 300 P7 2
P7 3
P7 4
P7 5
I !,
Isrue sectkul
PLC-Deeuiptlon
April 4. 89 Pu T
lntrodluction
The PLC (Pro rammable Logic Control) is a programmable interface for the control of signals between the machine tool and
the TNC.
For such cant 01a large number of logical combinations (PLC-commands) of inputs, outputs and markers may by necessary
These combi tions are achieved by the PLC-program.
This program as great flaxibilii and enables TNC controls to be fifed to a variety of machine tools,
The HEIDENH IN TNC 355 control has an integral PLC which gives the following advantages:
.The PLC-prog am can be entered via the keyboard of the control. no external programming station being necessary
.After the pro ramming of PLC-functions. an immediate test is possible.
.During machi e operation, error messages can be displayed on the screen of the control.
.The hardwareI for connecting the control to the machine is simplified.
A PLC-prcgra will. irrespective of length. cycle every 20 ms (with selection of th extra 1000 commands this increases to
22 ms. sea s eat P3/54).
This results in the inputs being interrogated and the outputs and markers being updated once every 20 ms (22 ms).
In the followi f sections, the PLC-commands, pre-assigned markers and PLC-operating modes are described in detail.
i hue Section
PLC-Desdption
ril 4. 99 Pl p9p”
‘mm&g of the HEIDENHAIN PLC
can consist of up to 3072 wmmantls. Each individual logic command combines two input values, of which
of the previous logic gate and the second is self-addressed with the logic command. Gates with inputs
are pbssible using a series string of multiple commands.
Command Abbmhtion
No Operation NOP
=
iN
1
:N
X0
Exclusive OR with negative operand (exclusive NOR) XON
Set marker or output if result of previous logic gate S
is logic “1”
Set marker or utput if result of previous logic gate SN
is logic “0
Reset marker r output if result of previous logic gate R
is “1” ,”
Reset marker r output if result of previous logic gate RN
0
is “0
No Opmtio : NOP
No Operation 1 esignates an empty memory location in the command memory
Every memo4 location in the command memory which is not occupied by another command. functions as a NOP-command.
Command Abbmviatlon
No operation ~ 1 NOP
Aeaignmenti=
The preceding logic circuit is assigned to a marker or output: a logic sequence is interrupted.
d: U
the U-command. two input variables can be gated according to the logical AND-function.
;II;~~ input~variable is
the logic resull of an immediately preceding gating operation (U. UN. 0. ON: X0. XON)
Or
logic “1” in th event of an immediately preceding operation being S, SN, Ft. RN or =.
“i
The second inbut variable is self-addressed with the UN-command and imrerted.
Seotion MP
Fuxb0dption P2 2
on the HEIDENHAIN PLC
tion of the PLC-commands
OR-wmman :o
Wiih the aid $ the O-command. two input variables can be gated according to the logical OR-function
z;fF inpti~variabla is
the logic resuI/ of an immediately preceding gating operation (U. UN, 0, ON, X0. XON)
!
pdsic “V in the event of an immediately preceding operation being S. SN, R, RN or =,
Or
the logic resuij of an immediately preceding gating operation (U, UN. 0, ON, X0, XON)
Exclurlve OR
With the aid o X0-command. two input variables can be gated according to the logical Exclusive OR-function.
Or n
the logic resu of an immediately preceding gating operation (U, UN, 0, ON, X0, XON)
El1 --L1_1
Note:
An Exclusive R-function generates a logic “1” at the output, when only 0110input is set to logic “1”. If both inputs are logic
“1’ or logic “0?, the output generates a logic “0’.
logic “0” in the event of an immediately preceding operation being S. SN. Ft. RN or =,
The second input variable is self-addressed with the XON-command and Iwrta~I.
AIssue
oril 4. 89
PLC-Oescription
!hCtiOll
P2
of the HEIDENHAIN PLC
ming of logic sequences
The logic combends of the PLC can be arranged in chains to form a logic sequence.
Logic sequanc/es are interrupted by the PLC-commands: S. SN, Ft. RN or =: a new logic sequence begins after these
commands. ~
with Ucommnndo
U-commands effects a series switching of contacts. These contacts are normally open.
b)
The lamp Ll is/ connected to the output 43 The relay Kl should energise, in the event of the contacts Sl.
The closing oflthe contacts Sl should result in the S2 and S3 closing simultaneously.
illumination of Ithe lamp. The contacts are connected to input
E27 of the PL$ PLC-program: U E28
U E29
PLC-program: iU E27 U E30
k A43 =A44
This PLC-progkm effects the following switching: The PLC-program effects a series switching of the contacts
! Sl, S2 and S3:
+2&v
t
Sl
\
52
\
53
K1
4.
I Ieeuo SectiOn
PLC-Dwcription
dpril 4, 89 P2
mming of the HEmAIN PLC
of logic sequences
with UN-commands
rice with UN-commands effects a series switching of contacts. These contacts are normally closed,
an AND gate with invened operands.
ted from the truth table that this logic element is beheving es a NOR-function.
the mathematical rules governing Boolean algebra:
wxE=El E2
Examplea:
a) t bl
+2LV
I
+
The lamp L31 /should illuminate when the contact S14 is The relay K17 should only energise when all three contacts
opened. S7, S9 and S16 are open.
PLC-program:~UN El9 PLC-program: UN El 3
I= A53 UN E26
UN E83
= A56
This PLC-progkam effects the following stitching: This PLC-program effects the following switching:
t +2L”
51L
L31
lY---i
Iswe Sectlcn Paw
pril 4. 89 P2 6
mming of the H~EIlXWHA N PLC
ming of logic sequences
with o-ocmmande
with O-commands effects a parallel switching of contacts. These contacts are normally open.
This corresponds to an OR-gate.
Examples: ’
a) b)
The relay K8 should energise when the contact SQ. S15. S21
or any combination thereof sre simultaneously closed.
PLC-program: 0 El 1
0 El8
0 E29
=A32
This effects the following switching: This PLC-program effects a parallel switching of contacts S9.
S15 and S21:
+ 24v
Ill
59 51s 521
ccl
T K8
sectbn
A ISSUO
pril 4. 89
PLC-Oeec*n P2
mming of the HBD~A~N PLC
ming of logic sequences
with ON-commands
with ON-commands effects a parallel switching of contacts. These contacts are normally closed.
an OR-gate with inverted operand.
from the truth table that this logic element is behaving as a NAND-function.
the rules governing the Boolean Algebra:
Examples: ’
a)
51L
El9
A33
L31
k
Lamp L31 sho/rld illuminate in the avant of contact S14 being The relay K14 should energise when contact S4, Sll, or both.
open. are open.
This PLC-proglam effects the following stitching: This PLC-program effects the following switching:
t +2LV
su.
L3l
f-4
issue PLO-OssuipUon
Seotion
April 4, 89 P2
‘mming of the HEUXENHAIN PLC
n-iing of logic sequences
Example:
A 3 bit binary ‘” umber is to be checked for parity with the aid of a logic sequence consisting of X0-commands.
I
FtC-PrcgmmJ Oatha look lhth table
X0 El 1 I
= Al
38
T
The logic se,
I me produces a logic 7” for odd parity and a logic -0” for awn p&y.
The parity-cl 18Ic can also be carried out using a logic sequence consisting of XON-commands.
In
PLC-PmQrcl -I
4
Oeting IOQIC Wth table
XON El
XON E2
XON E3
= Al
I E3 Al 1
1
:1
1
01
1 lo
01
t
The logic sa,clwrice produces a logic ‘0” for odd parity and a logic “1” for even parity.
lrue
oril 4. 89
secucn
P2 I
ml@
9
mming of the HEbDEwtlmN PLC
ming of logic sequences
Example: U E27
01 El3
following switching:
1
” ”
E27
El3
E23
El8 A27
issue Secucn
PLC-Ducripticn
pril 4. 89 P2
mmhg of the Alhi PLC
and resetting of a marker
With the aid o the command S or SN. a marker can be set. dependent upon the preceding logic result.
With the aid o the command R or RN, a marker can be reset, dependent upon the preceding logic result.
er
U E25
U M33
U M61
S M300
If input 25 an marker 33 and 61 are logic “1’. then marker 300 wil be stito “1”. In contrast to the = -functions, marker 300
remains set e en if the logic result in the next PLC-program cycle produces logic -0”. Normally the marker is reset by the
command R o RN.
”
b)
Resetting of a memory location
PLC-program: U El8
U E30
R M300
ISSWJ Saatbn mP
PIGDwatiption
ril 4. 89 P2 11
,,
designations for markers, timers, countars,
puts and PLC-outputs
AI#SU@
Drii 4. 89
PLC-Dewtiption
Section
P3
ption of the rmrkers
for axes X, Y, Z, IV
The markers fpr axis enable are set by the NC-part as follows:
I I I
NC supply switch-on:
clear the error message “MR IMMRWlED”
.PLC-supply switch-on
After PLC-supply switch-on the markers 2000 - 2003
(and marker 2016) are automatically set.
The axis enab markers remain set to 1” after the PLC-supply switch-on in order that the control holds the machine axe
closed loop.
Note:
The axis enab markers are reset if the control loop is opened from the PLC-part of the control (e.g. for axis clamping, I
sheet P3/4).
Iaslm Section mP
PLC-Daoliptlon P3 2
pril 4, 89
,. ,,.,, ,..
Desc ption of the markerrs
Marke” s for axes X, Y, Z, IV
Y, Z or N are moving and are not within the positioning-window: the corresponding markers are reset to
of the control (this also applies during the reference mark approach procedure).
in position” is not set for contours which can be machined at a constant contouring speed
Waveming of ax88
Markor No. FUMtkMl Signal dim&ion
2128 X-axis traversing NC-PLC
2129 Y-axis traversing
2130 Z-axis traversing
2131 IV-axis traversing
lhveme d&ion
Function Signal dlradon
0 Traverse direction X+ NC - PLC
1 Traverse direction X-
2161 0 Traverse direction Y+
1 Traverse direction Y-
2162 0 Traverse direction Z+
1 Traverse direction Z-
2163 0 Traverse direction N +
1 Traverse direction N - I
pen loop control (after a positioning procedure) generelh/ implies a longer delay in switching axes ovar. Since
unnecessary for machines with permanently activated live servo control loops, the marker “Enable control
2492 to 2496) has been made available. Only when these markers are set, does the NC-part of the control
signal “Open ocmtrol loop” (markan 2844 to 2S47). when the marker “Axis In Fwlth” (markers
the NC-part of the control has been set (see W&examples’).
out “Enable Opening of Cuntrol Loop’: the awttchlng over from one axh to anothr takes place as
be opened (e.g. for clamping of axes), the markers are set as follows:
I
The axis is in position (marker 2008 to marker 2011)
and the control loop should be opened: corresponding
markers 2544 to 2647 must be sat.
I
Control loop should be closed again: reset corresponding
markers 2544 to 2547.
Descr ption of the markers
Marke t s for axes X, Y, Z, IV
Nate:
The transfer oI actual position to nominal is possible only in manual mode or during an MST-strobe,
The markes 2100 - 2103 correspond to the current tool axis defined by the Tool Call’ function
IWll8 Ssotkm me
PLC-Daeorlptlon
pril 4, 89 P3 5
Descr ption of the markers
Marke,s
t for axes X, Y, Z, IV
pm-units. i.a. to obtain the entry value, the required traversing distance in pm (microns) is to be divided by
Example: ~
Required trave/rsing distance: 100000000 Mm
Entry value: 100000000 pm ~1526
65 536 pm
When the trahrse limit for an axis is exceeded, the corresponding lubrication pulse-marker is then set to “I’ by the NC-part
of the control. I
I
The summatioh of the traverse sections covered can ba reset to zero by the Pi/Z-program using the following markers.
1 Isaue SeatIon MO
PKi-Desorlptlon P3 6
pril 4, 89
Descr tion of the markers
Marke for axes X, Y, Z, IV
Marker
No. Function I Error meumg* $/gMHI( dhucth
With machin rameters 126 to 156 (see sheet Clill). 31 position values can be programmed, a. g. for return to toolchange
position. The ,kers for PLC-positioning are only active during the output of a G-M-S-T signal (G = gear rangesignal.
M = auxiliary ction, S = spindle speed. T = tool number).
Simultaneous :-positioning and spindle orientation is possible.
Note:
.Software limi inches are not taken into account.
.Tool compen 1”s ara not considered.
.A PLC-positic 1 procedure automatically ends path compensation
i
Start the PLC-positioning by setting the marker 2462
and resetting the complement marker 2468.
+
If the “PLC-position’ is reached,
the NC-parl of the control then resets the marker 2452
‘start PLC-Positioning’.
The complemented marker 2468 ia correspondingly set.
Termination $f PLC-podtioning
a PLC-positioning the markers for “start PUSpositioning” (M 2452. M 2453, M 2454, M 2455) ere
plemented start PLC-positioning” (M 2468, M 2469, M 2470, M 2471) are set.
Note: i
The feedrate for the PLC-positioning is specified in machine parameters 163 to 166 (see sheet Cl/l2). In the event of
simultaneous IPLC-positioning (up to 3 axes), the PLC-positions will ba approached in a straight line,at the lowest of the
specified feeddates.
/ Issue Section bw
PLC-won P3 8
pril 4, 89
Descr tion of the inarkem
Marke for M-S-T code outputs
coded
MS- xle output
Marker
No.
2032
2033 2. Bit T-Code
2034 3. Bit T-Code
2035 4. Bit T-Code
2036 5. Bit T-Code
2037 6. Bit T-Code
2038 7. Bit T-Code
2039 8. Bit T-Code (msb)
The markers f rt he M-S-T outputs and the markers for the strobe signals are set by the NC-part of the control when an
auxiliary func ti“0n (M), coded spindle R.P.M. (S). or tool number (T) is programmed.
Note:
The output oif ihe S- and T-functions can be suppressed by machine parameters 61 and 62
(see sheet Cll/b).
I
The program, and unsuppressed S- and T-functions are, in the event of a tool call, output in the following sequence by
the NC-part ( e control:
.first the tool I ber T
.finally the spi RPM S
With an auto c toolchanger it may be necessary to output a second tool number for the next tool after changing of the
current tool. second T-code is activated by machine parameter 157 (see sheet Cl/V) and is output after the feedback
“first T-code pleted”. A search can then be made in the tool magazine for the next tool prior to the next toolchange.
coded
M-8-11zode output
The setting i and
resetting of the corresponding markers proceeds as follows:
1
After the PLC-programme has recoginised the strobe
signal as logic “1’. the M-S-T code must be decoded in
the PLC-part of the contml and output.
The NC-pan of the control waits for the feedback signal
M-S-T coda complete.
1
After the function has been executed. the marker
corresponding to the “Feedback Auxiliary Function
Complete” must be set in the WC-part of the control.
The NC-part of the control resets the marker for the
strobe signal (The markers for the M-S-T code remain
set until the next output of a M-S-T code).
Note:
The timing hor tl mecode output must be implemented via the PLC.
i Ieeue
pril 4. 99
DeSCXption of the markers
Marke s for M-S-T code outputs
I l&ue SectIon
FiC-Description P3
kri14. 89
D-1 rtion of the mh
Marks for M-S-T code outputs
Mallw
No.
1953 Auxilian/ function M53
1954 Auxiliary function MS4
1955 Auxiliarv function MS5
1956 r-
/ Auxiliary function M56
1957 Auxiliary function M57
1958 Auxilian/ function MS8
1959 Auxiliary function M59
1960 Auxiliaw function M60
1961 Auxilian/ function M61
1962 Auxiliary function M62
1963, Auxiliaw function M63
1964 Auxiliary function M64
1965 Auxiliary function MB5
1966 Auxiliary function MB6
1967 Auxiliary function M67
1968 Auxilian/ function M68
1969 Auxiliary function M69
1970 Auxiliary function M70
1971 Auxiliary function M71
1972 Auxiliary function M72
1973 Auxiliary function M73
1974 Auxiliary function M74
1975 Auxiliary function M75
1976 Auxiliary function M76
1977 Auxiliary function M77
1978 Auxiliary function M78
1979 Auxiliary function M79
1980 Auxiliary function M80
1981 Auxiliary function M81
1982 Auxiliary function M82
1983 Auxiliary function M83
1984 Auxiliary function M84
1985 Auxiliarv function M85
1986 Auxiliary function M86
1987 Auxiliarv function M87
1988 Auxiliary function M88
1989 Auxiliary function M89
2496 Release marker for decoded M-code ‘LC - NC
output
If the markerI 214916is set the programmed M-functions are output in decoded form via markers 1900 to 1989. The release
marker 24% 3 is necessary since the markers 1900 to 1989 are located within the range of user markers. lf markers 1900 -
1989 are ret IUret I for other functions, marker 2496 must be reset.
Note:
There is no r It with markers MS0 to MSS.
aua Seotion
PLC-Description P3
F, try 8,90
of the maskurs
speed
is to be used. then there are only four gear ranges available for the analogue output of the spindle speed.
are defined via machine paramtar 78 . 81.
in machine parameters 82 85 must be smaller than the entry values in machine parameters 78 81.
ar range (machine parameters 78 81) the associated value in machine parameters 82 86 is not reached.
06 is set (see PLC-examples).
in machine parameters 82 85 are greater than the entry values in machine parameters 78 81. then
are considered gear ranges and marker 2006 is not sat.
output of spindle speed (9analogue activated by machine parameter 62) the speed range for each gear is
hine parameters (machine parameters 78 - 86).
Iaaue Sootion
-it ril 4. 89 I I P3 I Tr
DeSCl rtion of the maekws
Marks ; for spindle speed
Analogw 0 rtofrphnaepnd
When a spin speed requiring a new gear range, is programmed, the markers till be set as follows:
I
After the PLC-programme has recognized the strobe
signal as logic “l”. the gear range code must be decoded
in the PLC-part of the control end output.
The NC-part of the control waits for the feedback
“gear code complete”.
t
An analogue voltage can be output for changing gear.
For this purpose the markers 2490 and 2491 must
be correspondingly set in the PLC-part:
the markers initiate the rotation of the spindle in a
clockwise (marker 2491) or in an anticlockwise
(marker 2490) direction, the analogue voltage level is
set in machine parameter 70.
I
After the gei ange is complete, the control outputs the relevant analogue voltage (determined by machine parameters 86.
87. 88. 89. ! rheet Cl/8).
For an exarr of the programming of the analogue spindle speed see Pi-C-examples.
Imus Saction me
ril 4. 89 -Drcrlptlm P3 15
mwkws
speed
Markor
2080
No. Funotlon
1. Bit for min. mm (Isb)
) Sbnol dhotlon
NC+RC
2081 2. Bit for min. rpm
2082 3. Bit for min. rpm
2083 4. Bit for min. rpm
2084 6. Bit for min. rpm
2085 6. Bit for min. rpm
2086 7. Bit for min. rpm
2087 8. Bit for min. rpm (msb)
2088 1. Bii for step width (Isb)
2089 2. Bii for step width
2090 3. Bit for step width
I
2091 4. 8ii for step width (msb)
The minimum rpm and the step width from the machine parameter “limitation of rpm-code’ (machine parameter 63) is trans-
ferred into the markers 2080 to 2091 (see sheet C5/3).
Issue Sootion
Pl.c--rlption P3 7
April 4, 89
w=-w~--
MarkerNa /Fundon pknrranotian
2176 1 1.8it for the aoeratino mode-cc& Abb I’ NC - PLC
2177 2. Bit for the iper& mode-cock+
2178 3. Bit for the operating mode-code
2179 4. Bit for the operating mode-codw@~.sb)
The operating mode code is determined by the s&zted 0-g mode. The operating modes are coded as follows:
cc Programme entry and editing
EY = Manual operation
0010 = Electronic ha&wheel
0011 = Single block positioning with MD
0100 = Program run, single block
0101 = Program run full sequence
0110 = Program test
Marker No.
2049 Programming during program run NC - PLC
2050 Program entry end editing
2051 Manual operation
2052 Electronic handwheel
2053 Single block positioning with MDI
2054 Program run, single block
2055 Program run full sequence
2056 Program test
2057 Aooroach to reference point
Markers 204 9
t tc) 2057 depend on the operating mode which has been selected and are set accordingly.
Issue P3
)ril 4, 89
of the markers
These marked identih/ -the cunentlv activated TNC-axis key: The corresponding symbol will be displayed on the VDU-screen
can. for example. be employed for an external handwheel display. An external handwheel control panel can ba
markers in conjunction with the markers for external operation of the TNC-keys
Marker No.
2800
I Function
1. 8it TNC key code (Isb)
Slgnal dlreoUon
PLC - NC
2801 2. 8ii TNC key code
2802 3. Bit TNC key code
2803 4. 8ii TNC key code
2804 5. 8ii TNC key code
2805 6. Bit TNC key code
2806 7. Bit TNC key code
2807 8. Bit TNC key code (msb)
2808 Strobe for kev code
on the front panel of the TNC can be simulated bv an external signal via the markers for the TNC-key
f a key code, onlv one PLC-cycle may be set, otherwise the same key till be simulated several times
of the function the control resets the key code strobe. After reset of the MC-kev code strobe, a new press of
I
Issue seotlon paw
PLC-Ddpth P3 18
November 21, 89
Descr ption of the markers
Marke i s for TNC-keys
The keys are coded as follows:
KW code w code
msb lab mab bb
0110 oooo
0110 0001
0110 0010
0110 0011
0110 0100
0110 0101
0110 0110
0110 0111
0110 1000
0110 1001
0110 1110
0110 1111
0111 0000
0111 oool
0111 0010
0111 0011
0111 0100
0111 0101
0111 0110
0111 0111
0111 loo0 (Graphics)
0111 1001
0111 1010
0111 1011
0111 1100
0111 1101
0111 1110
0111 1111
lesw SectIon hP
April 4, 89 =Ducriprion P3 19
Desc ption of the markers
Marke” s for TNC-keys
Inhibit
Inhibit
Inhibit
2861 I I Inhibit
Inhibit
1 lnhibii
2864 I I Inhibit
2865 I I Inhibit
2867 I I Inhibit
2872 I I Inhibit
2873 I I Inhibit
2874 I I Inhibit
2880 I I Inhibit
2881 I I Inhibit
Inhibit
Inhibit
Inhibit
Inhibit
2886 I I Inhibit
2887 I I Inhibit
Inhibit
Inhibit
2890 I I Inhibit
Inhibit
IMUCI Seotlon
PLC-Duoorlptlon P3 T
F,pril 4, 89
c
n
‘ii
2897
The keys on the TNC front panel can be inhibited by setting the corresponding markers an Inhibited TN&key is
pressed. the NC-part signals this by setting the marker 2182.
Issue
PLC-Description
April 4. 89
tion of the rl-mdms
Marke for external buttons and switches
IIBsw Section
PKi-Doaoflption P3 7
a ruat-y 8.90
4
Descr ption of the markers
Marke i s for external buttons and switches
external buttons and switches must set the corresponding markers in the PLC-program and generate the
markers with the inverted information in the same PLC-Q&J. Should both markers not be correctly set or
is displayed.
4
The displayed letter A, 8. C etc. indicates at which marker the fault lies (see list above).
Example:
The NC-start utton is provided with two normally open contacts. The markers are then set as follows:
b
u El8 (first contact of the NC-start button)
= M2448
If onlv one Nd-start contact exists. the program may be written in tha following way:
UN M2448
= M2464
Adsfsctin memory cell M2448 oannot bs reco@nlzsd with this method of pmgrsmmlngl
of the markers
7
2931
2932
2933
Error message
Error message
Error message
7
a
9
2934 Error message 10
2935 Error message 11
2936 Error message I2
2937 Error message 13
2938 Error message I4
2939 Error message I5
2940 Error message 16
2941 Error message I7
2942 Error message Ia
2943 Error message 19
2944 Error message 20
5
2945
2945
2947
Error message
Error message
Error message
21
22
23
2948 Error message 24
2949 ~ Error message 25
2950 Error message 26
2951 I Error message 27
2952 Error message 28
2953 Error message 29
2954 ~ Error messaae 30
Errdr message 31
Error message 32
Error message 33
Error message 34 .
Error message 35
Error message 36
Error message 37
Error message 38
Error message 39
Error message 40
Error message 41
Error message 42
Error message 43
Error message 44
Error message 45
Error message 46
Error message 47
Error message 48
Error message 49
Error message 50
Ermr messaoe 51
Error mess& 52
ISSUO ml.
pu;- P3 24
April 4, 89
of the markers
the control can display error messages from the RC-part. The NC-error messages are selected via markers
.
The error messages are coded from O-83. When a marker for a PLC-error message is set, the following error message is
displayed. e. g
FLC : ERROR 69
on the VDU-screen of the control.
Plain language error messages can also be displayed instead of the coded error messages (e.g. Oil pressure too low).
The error messages O-83 may have up to 32 characters. The error messages 84-99 may have up to 16 characters as user
parameters.
Should you require specific plain language error messages. please contact your nearest HEIDENHAIN agency.
A PLC-error rressage during program run freezes the screen block display but the program will continue to run. After erasure
of the error msssage with the current block will again be displayed. If the program run should be stopped by an error
‘(9
message, this must be done by the PLC-program.
The setting of the marker 2916 results in the markers 2924 to 3023 being checked. If one of these markers is set, then the
error message will be shown as a flashing display. Should none of the markers for the PLC-error messages be set, then
EMEROENCY STOP PLC
is shown as a flashing dislplay.
I
Ieeue Saotion me
PLC-DWCdptiOn 25
Nov mber 21.89 P3
ption of the madcars
parameters can be made accessible to the machine operator via the MOD-function. These user-parameters
the machine tool builder at his own discretion,
The following dialogue texts are contained in the PLC-EPROMfor the dialogue display of user-parameters.
USER PAR. 1 to USER PAR. 16 are stored in the FLC-EPROM under the address of the FLC ERROR84 to
however, error messages are required instead of dialogues. the corresponding dialogue texts within the
ust be revised (Address of USER PAR. 1 = Address of PLC: ERROR84 etc.).
Out of the ASCII signs, the signs from HD( 20 to HEX 5F are permissible for error messages and dialogues.
ption of the markers
displays
L
Markam for &atua dbplay and othar diakguaa
I
Madcar No. Fumtlon SIgnal dhwtlon
2508 Isb; PLC-NC
2657 msb for the display of a second auxiliary function
M2508 Display
19 (first coolant off)
/7 (second coolant off)
18 (first coolant on)
/K (second coolant on)
bsua -.-- . .. al mw
ril 4, 89 P3 27
I
Description of the markers
Screen displays
The NC-part of the control signals a program interruption to the PLC via marker 2183 (display flashes). The initial status is
signalled via the marker 2184 (display on or flashing).
When both markers are reset, the program run has been terminated.
Issue PLC-Description
April 4. 89
ption of the markers
displays
i
Markem for htur dbplay and other dialoguea
M2508 Display
0 /9 (first coolant off)
0 17 (second coolant off)
1 /8 (first coolant on)
1 /K (second coolant on)
/ ,
ISUl@ sectlon
FIGDWCrlptlOIl F3 7
ril 4. 89
of the markers
for the transfer of numerical values
With the following markers, coded numerical values can be transferred via PLC-inputs to parameters Q 100 to 0 107
(see PLC-examples).
Flwee note:
Markers 2560 to 2576 have now been assigned double functions1
These markers are already being used for PLC-positioning.
Markers 2810. 2811 and 2812 determine the data format of the numerical value which is to be transferred.
At present, the following data format can be defined:
M2810=0
M2811 =0
M2812=0
8y resetting tte markers 2810, 2811 and 2812 it can determined that the information of markers 2560 to 2576 corresponds to
a numerical value with 4 decades, BCD-code with sign.
Markers 28113.2817 and 2818 determine to which Q-parameter (Cl 100 to Q 107) the numerical value should be assigned.
2816 0 1 0 1 0 1 0 1
2817 0 0 1 1 0 0 1 1
2818 0 0 0 0 1 1 1 1
Parameter Q 100 Q 101 cl 102 cl 103 0 104 Q 105 Q 106 cl 107
Transfer of the numerical value is effected by setting the marker 2809 if an M, S or T-function has been output.
Marker 250: reset by the NC-part of the control, if a probing function has been started. The control waits before execution
of the probir unction until the PLC has reset the marker 2503 (see PLC-examples.)
For instance. s marker can suppress the beginning of a measuring procedure if the spindle has not be cleaned with
prior to insertion of the touch probe.
If the touch , ,e stylus is deflected prior to starting a probing cycle. marker 2023 is set by the NC-part of the control.
If the stylus eflected during a probing procedure, marker 2025 is set.
If the probin! ocedure is COmpbSed (touch probe has returned to the safety clearance), marker 2026 is set. Marker 2026 is
also set if
For TS 511tt is an additional markers 2024 for the message “Touch probe system ready” and 2027 in the event of
insufficient b !ry power. The marker 2024 is logically “1” if the touch probe is not ready after starting a probe cycle.
The marker : 7 is logically “1’ if the batten/ voltage is too low.
The jog posii g can ba activated via the integrated pLC. In this way it is possible to additionally enter a step distance in
the operatin< le “electronic handwheel”. When an axis direction is pressed the corresponding axis moves bY the distance
entered (see .examp!es).
SOCtiOll me
FLC--iOn P3 32
Dew Ition of the markers
Marks for determining axis sequence upon approaching
the re -ence marks
Markar No. Function SIgnal dhotion
2602 If the marker is set, the .referenca marks PLC * NC
will be approached in the sequence set
by markers 2603 - 2607. if it is reset, tiS
seauence is as defined in MP 59.
2603 Axis sequence for approaching the PLC - NC
reference marks (Isb)
2604 Axis sequence for approaching the
reference marks
2605 Axis sequence for approaching the
reference marks
2606 Axis sequence for approaching the
reference marks
2607 Axis sequence for approaching the
reference marks (msb)
The axis sequence may be changed
if an axis has alreadv moved.
The markers a60:3 to 2607 determine the axis sequence upon approaching the reference marks:
IrlSU8 Sactlon me
Apriil 4, 89 f%C-Daaoripth P3 33
of the markers
for switching from X, Y or Z axis to the 4th axis
With the markers 2526, 2542, 2590. 2591 axis moves in X. Y or 2 may be switched to the 4’” axis.
The axis that i to be changed is determined via markers 2590 and 2591 as follows (sea PLC-examples):
7
1
1
:,
1
Z-axis
4’” axis
After the markers 2590 and 2591 are set the change is executed with markers 2526 and 2542 (complement).
If for example in a program the position nominal vslues for the Y-axis are to be processed with the fourth axis, then the
markers are tc be set as follows:
n be reactivated through
ISMe Section me
FIGDeeoriptlon
April 4. 89 P3 34
of the markers
a percentage factor on the
Wiih the following markers the spindle voltage may be limited to a defined percentage of maximum:
Flww note:
M 2816 has more than one function (datum shift. transfer of numerical values to Q-parameters)
hum 86CtiObl me
PLC-Dwcription P3 36
April 4, 89
ption of the markers
for the transfer of a datum correction
With the follo+ng markers a datum correction, previously defined in machine parameters. may be activated:
M2817 MF816
0 Datum correction cancelled
i la datum correction
1 :, Znddatum correction
1 1 3rd datum correction
--I
00100
00101
00110 I
130
131
132
00111 133
01000 134
01001 135
01010 136
01011 137
01100 138
01101 139
01110 140
01111 141
10000 142
10001 143
10010 144
10011 I 145
10100 146
10101 147
10110 148
10111 ,*!a
11000 150
11001 151
11010 152
11011 153
11100 I/ 154
11101 155
11110 156
was not processed in the program run, the spindle positions to the reference mark.
with the rotation direction (MO3 or MO4) last programmed. if the spindle is at standstill, then
accordance with the status of marker 2656.
I
Issue Section me
FLC-Deecripth P3 37
Nov mber 21.89
ion of the markers
LC-markers that are used for spindle orientation with a 4 axis control version are used alternatively for the
I
Marker No. Function Signal dimctlon
M 2507 I I Open control 100~axis V PLC - NC
M 2522 Start PLC-positioning axis V PLC - NC
M 2538 Complement start PLC-positioning axis V PLC-NC
M 2580 PLC-position axis V (Isb) PC-NC
M 2581 PLC-position axis V
M 2582 PLC-position axis V
M 2583 PLC-position axis V
M 2584 PLC-position axis V (msb)
M 2016 Axis V release NC - PLC
M 2017 Axis V in position NC - PLC
M 2668 NO standstill supervision for axis V when control loop opened PLC + .NC
(see sheet P3/3)
M 2148 Currently activated TNC-axis key V NC + PLC
M 2500 Activation closed loop opening axis V PLC - NC
M 2505 Actual value transfer axis V WC-NC
M 2506 Reference end position axis V PLC * NC
M 2520 Start jog positioning axis V + PLC * NC
M 2521 Start jog positioning axis V -
M 2536 Complement start jog positioning axis V +
M 2537 Complement start jog positioning axis V -
M 2524 Manual traverse V + PLC - NC
M 2525 Manual traverse V -
M 2540 Complement manual traverse V +
M 2541 IIC amp‘1emant manual traverse V -
ISUB Section
PLC-Dwxiption
I4,89 P3
of the markers
by machine parameters
Markers can be sat or reset via machine parameters 156, 249 and 250.
The contents of these markers can be utilisad to activate various PLC-program routines. It is therefore possible to employ one
PLC-program ‘or various machines. In the event, for example. that machines of a particular series are fined with different gear
ranges. a common PLC-program can be employed for these machines. The different PLC-program routines for the decoding
the gear ranges are selected by appropriate entry values in the machine parameters.
The values of he markers which are to be sat for a machine are simply added and the resultant numerical value is entered as
a machine parameter.
Example:
The marker 21 3, 2199 and 2206 should be set. The entry value for machine parameter 158 is established as follows:
I
Marker No. 2193:
a Value 2
Marker No. 2199: Value 128
Marker No. 2 06: Value 16394
Entry valaua 16514
Note:
These marker should not be set in the PLC-program. Setting and resetting should, without exception. take place via machine
parameter 15:
Issue Section mw
PLC-Dascdptlon
pril 4. 89 P3 42
Descr ption of the markers
Marke s affected by machine parameters
Value 64
Value 128
Value 256
Value 512
Value 1024
Value 2048
IValue 4096
Value 8192
Value 16384
Value 32768
Issue : Saction me
PLC-Dascription
pril 4. 89 P3 43
Dew tion of the markers
Marke for the activation of user-cycles
la
uua
riI 4.89
PIG-Wption
Section
P3
ik
Descl tion of the markers
Mar-kc!rs for toolchanger support
Marker
No. Function SIgnal dlmction
2093 “1’ signifies: rlc - PLC
A change from a special tool to a normal
tool or vice versa is programmed and the
first pocket number is output.
This “1” signifies, that a second pocket
number follows.
2600 “1’ signifies: ‘LC - NC
With special tools, the pocket for the new
tool is output first. and then the pocket for
the old tool (effective only for active central
tool file and flexible pocket addressing).
Note:
io
Markers 256 to 2567 or 2672 to 2579 already have the following functions: markers for PLC-positioning or markers for
transfer of a n+m erical value from the PLC to the NC.
laW”O PLGDe8odption
hOtlOll me
a pri I 4,89 P3 45
Descri rtion of the markers
Markel ; for*toolchanger support
a
ISSUO
lril 4. 89
FLC-Deeuiption
be equipped with customer-specific macro programrnes e.g. for the control of toolchangers with fired or
If the standard PLC-memory capacity is insufficient up to 300 PLC-commands may be stored in a macro.
Marken 3Ct4 - 3199 are used for messages from the macro-programs to the PLC or vice versa.
Entry values i 1the machine parameters 209 to 212 are transferred to the macros via the marken 3200 - 3263,
lf PLC-functiOS are to be stored as macros, contact your nearest HEIDENHAIN sales office.
If an undefir 18
1 macro is called, the error message *Error in PLC-program Q’ is displayed.
Iat aua
pril 4. 89
PIGDwcfiption Paw
48
4
Descr ption of the markers
Macro programming
F
I !
The following markers are also required for the macro-programs for control of a toolchanger:
Markers for nominal values of pocket numbers:
M 3024 l* bit (lsb)
M 3025 I 2”d bit
M 3026 3rd bit
M 3027 4’” bii
M 3028 5’h bit
M 3029 6rh bit
M 3030 7’” bit
M 3031 8’” bit (msb)
Interrogation markers
M 3040 “1” if actual value = nominal value
M 3041 “1. if distance between pocket number actual/nominal value is less or equal to distance for speed
reduction (machine parameter 209)
M 3042 “1” if the shortest distance from pocket number actual value to nominal value is positive
(direction l-2-3-4 etc.)
M 3043 “1” if T-code (M 2032 - M 2039) = 0
M 3044 “1” if T-code greater than the max. pocket number (machine parameter 209)
With machine parameter 209. the maximum number of tool magazine pockets and the distance to the speed reduction is
determined. -~
(Distance to s oeed reduction x 256) + max. number of magazine pockets = machine parameter 209.
Example:
Number of magazine pockets = 36
Distance to speed reduction = 2 (places)
2 x 256 + 36 = 548
Issue SecHOll me
PLC-DOsC+tflM
pril 4. 89 P3 49
ption of the markers
programming
Tool magazine
Gripper arm
\
.Wih the first 001 call, the tool magazine is rotated to the reference position (proximity switch S 2).
On reaching the proximity switch, the markers for the actual value of the pocket number (M 3032 to M 3039) is set.
.The tool number (T-code) in the markers M 2032 to M 2039 is converted BCD-to-dual by setting the marker M 3264 and
transferred to the markers for the nominal value of ihe pocket number (M 3024 to M 3031). lf marker M 3264 is set, the
nominal and actual values are compared and the interrogation markers M 3043 and M 3044 are automatically set by the PLC.
T-code = 0 means that no tool is to be searched for, since the tool call with number 0 only eliminates tool compmsation.
If the T-code is greater than the maximum value, an error message can e.g. be displayed.
Plea80 nota:
Markers M 3043 and M 3044 are not automatically raaat
Reset must ta (e place within the PLC-program.
.By setting the marker M 3267. the actual value (M 3032 to M 3039) of the tool position is compared with the nominal value
(Mu3024 to N 3031).
.If the distance actual/nominal value is less than or equal to the distance to the speed reduction, marker M 3041 is set to 1’.
If the shorter distance from actual-to-nominal value is positive (direction 1 - 2). marker M 3042 is set to “1’.
Iswe Section me
PKxaw&tioll
April 4, 89 P3 50
I
of the markers
.If the direction of rotation is defined (marker M 3042). the tool which is called-up can be searched for via the shortest
distance.
The actual valJe of the magazine position can assume the values 1. 2. 3. 4 maximum value.
Depending or the rotation direction of the magazine, the actual value of the magazine position after even/ signal of the
proximity swijch S 1 must be either increased by one value or reduced by one value.
New actual wlue = old actual value + 1. if the actual value is less than the maximum value.
New actual wlue = 1, if the actual value is greater or equal to the maximum value.
New actual vslue = old actual value - 1. if the actual value is greater than 1.
between the actual and nominal value is less than or equal to the speed reduction distance (i.e. marker
rotation speed of the magazine should be reduced.
lue = nominal value (i.e. marker M 3040 = 1) the magazine should be stopped as the selected tool is in the
Isrue Sootion me
pril 4. 89 P3 51
Descr ption of the markers
Macro programming
i
55 the PLC-memoly may be extended by 1024 commands to give a total memory capacity of 3072
mmands are activated by the 6etting of marker M 3279. If marker M 3279 is set, there is no CRC twt of
checksum test ol the RAM end machine peremeten. The PLC-cycle time is also increased to 22 ms.
only be used for functions thet do not need to bs pem~enently eotive, with
when neceeeery.
be run from RAM or EPROM is selected with machine parameter 77 (bit 2).
S6CtiOil
P3
Oescr tion of the markers
Countt .5
The FtC has :ounters at its disposal. each of the 32 counters being controlled through two special markers with the
identification lhether or not the counter status has reached “0. can be interrogated by the use of an additional marker,
also represen by the identification Z. The counter is set to the entry value programmed in the corresponding machine
parameter (rr 55536) and counts backwards to the counter status “0’. The counter is decremented by 1 with every cycle
of the PLC-pr Irn that the counter pulse release is set to 1’.
The corresl3or-uling machine parameter has been set to 5 [e.g. machine parameter 94)
Set counts
Gm
Counter stt nus
not equal ts0 zei
(ZW
Counter pu
release
(ZW #
II
Apri
of the markers
95 96 97 98 99 ii%- isi- 102 103 104 105 106 107 108 ii%-
- I
- - - - - - - I
217 Fir z19 220 221 222 223224 225 226 227 228 229 230 z-i
265 266 267 Z68 269 270 271272 273 274 275 276 277 278 279
281 282 283 284 285 286 287288 289 290 291 292 293 294 295
- - ! i - - -
ls!m8 Section
PLC-Doscrlptlon
pril 4, 89 P3 Tr
of the markers
The corresp
Timer
status
Timer
start
Timer
- ‘t [ms]
lssua sa0U0n me
P&-DUOtiptl0n 55
April 4, 89 P3
ption of the markers
I Iemm
I
PLC-DdptlOll
I
seotlon
I
pril 4. 89 P3
PLC-modes
Selection and exit of PLC-modes
The control offers the possibility of programming the PLC at the machine and subsequent testing of the program.
s&wage translation:
1ABELLE E/A/Z/l/M = TABLES E-inputs/A-outputs/Z-countersTT-timers/M-markers
PLC-PROGRAMM TRACE-FUNKIION = PLC TRACE MODE
PLC-EDITIER-FUNKTION= PLC EDITING MODE
Issue PLC-Description
Apill 4. 89
PLC-modes
PLC-editing mode
In /,/, ., “r
When compiling the PLC-program ai the control. the PLC-program is stored internally in RAM (Random Access Memory).
A PLC-program can be copied from the control onto a ME 101/102 cassette, FE 401.floppy disc or drectly 1n10an EPROM
programming unit. A master EPROM with the PLC-program IS complied by HEIDENHAIN from the media containing the PLC-
program. Program admwvstration IS also carried out by HEIDENHAIN
In the control, there is a socket provided for the EPROM, MachIne parameter 77 selects whether the machine should utilise
the PLC-program in RAM or EPROM.
For editing purposes. a program can be copied from EPROM Into RAM
Machine parameter 77
Bit 0 1” and Yd K commands from RAM or EPROM
+ 0 ^ 1” and 2”” K commands from RAM
-i- 1 6 1”’ and 2”’ K commands from EPROM
Note:
The PLC-program in the RAM-memow IS checked after control switch-on. An erroneous program is erased and the following
error message IS dIsplayed:
Key designation is
TNC-Symbol PLC-Symbol
value (0 3023)
Programming PLC-eammands
Message translation:
GOT0 PGM-ZEILE = GOT0 PGM LINE
-
Issue PLC-Description
Februarv 8. 90
PLC-modes
PLC-editing mode
I
i
Issue PLC-Description
April 4, 89
PLC-modes
PLC-editing r node
Deleting B PLC-program
Press m key.
YES
Message translation:
PLC-PROGRAMM LOESCHEN= ERASE PLC PROGRAM
PROGRAMM AuS EPROM UEBERNEHMEN = TRANSFER PROGRAM FROM EPROM
II “ldl”y”e
_’
u,sIJ,q. CA I ErllYC “HI CI”-C\“J”WIDE
Issue Section me
PLC-Description
April 4. 89 P4 8
/ I 1
- ENT = EXTERNAL INPLIT/OLlTWT ENT/NO - ENT
ENT/NO - ENT
Inue Bootion
lril 4, 89 P4
Binary out of user-cyolea for compiling a PKSEPROM
*
Please nota: I
f the HEIDENHAIN magnetic tape unit, floppy disc unit or another peripheral unit, program sections within the
be shifted. For this, the program section to be shifted has to be read-out. With a new read-in. the program
ed to the command number which has been entered in response to the dialogue question “INPUT FROM
Issue Section
PLC-Decwiptlon
Fe wary 8. 90 P4
PLC-modes
PLC-trace mode
The PLC-trace mode is accessed via the mode key (see sheet P4/1).
G!
The PLC-trace mode may be used during machine operation. First the NC-program must be started and then PLC-trace mode
accessed via entry of the code number 951026.
Select the “Operand display” mode by pressing the key (see sheet P4/1).
TABELLE E/ARil/M
Inputs : kev
Outputs : kev
Counters : kev
Timers : W
Markers : W
are displayeci on the VDU.
In the PLC-mode “TAEELLE E/NW/M” the buttons can be used to set and reset inputs. outputs. counters.
timers and markers.
Message translation:
TABELLE VA/UT/M = TABLES E-lnputs/A-outputs/Z-coufl~ers/T-timers/M-markers
of the PLC
An off-line pr is not currenth/ available from HEIDENHAIN. This section provides information as to the
format of the so that off-line programming terminal suppliers can develop a terminal for the HEIDENHAIN-PLC
if necessary.
NOW
Wiiliexternal rogramming, comments following PLC-commands must be separated from the PLC-command by the cherac-
ter l .
PLC-comma fompt
Every PLC-co mand requires a 16 bit word i:e 2 bytes are defined in the PLC-command memory.
An command consists of a 4 bit KC-operation code and the 12 bit PIGaddress. The PLC-operation code defines the binary
instruction an the PfX-address calls a memory location for the operands which are to be processed.
a
4 Bit 12 Bit
I
PtC-operation code Pi&Address
Abblwlath 1 Plkqmthoede
NOP I 0000
U 0001
UN 0010
:N 0100
0011
X0 0101
XON 0110
s 0111
SN 1000
RN
= 1011
NOP I1111
EPROM-Address 4094
EPROM-Address 4095
Address 8191
AIssue
Dril 4, 89
Section
P4
of the PLC
ion
for
PIGEPROM
stored within an EPROM HN 27512.
0000 -iK$zxl
1000 Assembler command: Return jump into main program
1002 Jump addresses for macro-programs
1042 ascending as of address 1042
2000
2CBo
3900
39oc
FDEC
FFEC vat nt
FFFE CR -sums
FFFF l-7
lawe SSlOtiOll me
PLGDasoription * P4 14
pril 4, 89
Exchange of PLC-EPROM’s
The PLC-program together with internal PLC-software and PLC-dialoaue messaoes ” are .~~
oefmanantlv
~I stored
~~~ on an EPROM type
HN 27512 (address locations see sheet P4/14).
The EPROM is found on the first circuit board under the control cov’er plate. It car&$ the desianation 6 (the
spaces represent variable characters).
Note:
The PLC-software number can be displayed in “MOD” mode (see operating manual).
The EPROM location can be seen in the following diagrams:
I
Customer specific PLC-programs can be fined beiore deiivey of the control I: no par;icular PLC-program IS specified the
control will be delivered with the HEIDENHAIN standard PLC-program.
For more detailed information contact your local HEIDENHAIN office.
issue PLC-Description
Section Page
Aor 4. 89 P5 1
markers for signal exchange between
0 to M 1999 are either user markers of markers for signal exchange between PLC and NC depending on the
M 2496 (see sheet P3/l2).
2032
2033 1. Bit T-Coda (Isb)
11 2. I P3/9 1
2034 3. Bii T-Code w9
2035 4. Bit T-Code w9
2036 5. Bit T-Coda I
P3/9
~‘~
I
II
2180
0101 = Program run full sequence
18’PLC-cycle run after power on 7
P3/40
I
Issue s&Ion -90
PLC-DoBulption P6 3.1
April 4. 99
List 0 markers for signal exc~hange between
PLC a Id NC
Marker NC Function
Markers influenced by machine parameter 158
2192 (value 1) P3/42
2193 (Value 2) P3/42
2194 (Value 4) P3/42
2195 (Value 8) P3/42
2196 (Value 16) P3/42
2197 (Value 32) P3/42
2198 (Value 64) P3/42
2199 (Value 128) P3/42
2200 (Value 256) P3/42
2201 (Value 512) P3/42
2202 (Value 1024) P3/42
2203 (Value 2048) P3/42
2204 (Value 4096) P3/42
2205 (Value 8 192) P3/42
2206 (Value 16384) P3/42
2207 (Value 32768) P3l42
Markers affected by machine parameter 249
(Value 1) P3/43
2209 Wslue 21 P3/43
2210 (Value 4) P3/43
I ~’
2211 (Value 8) 1 P3143
2212 (Value 16) I P3143
2213 (Value 32) P3143
2214 (Value 64) P3143
2215 (Value 128) P3/43
2216 (Value 256)
2217 (Value 512)
2216 (Value 1024) P3/43
2219 (Value 2048) P3143
2220 (Value 40961 P3/43
I -’ ~-
2221 (Value 8 192) P3/43
2222 (Value 16384) I P3143
2223 (Value 32768) P3/43
Markers affected by machine parameter 250
2224 (Value 1) P3/43
2225 (Value 2) P3/43
2226 (Value 4) PM3
2227 (Value 8) p3143
2228 (Value 16) p3/43
2229 (Value 32) P3/43
2230 (Value 64) P3/43
I
2231 (Value 128) 1 P3/43
IWO Sootion me
PLC-Dercriptloil
ril 4, 89 m 4
markers for signal exchange between
I
Ieulo PLC-Dwcrlpuon ‘3ectlon
ril 4, 99 P6 T
markers for signal exchange between
d MC
ISWO seotlon
FLC-Deaorlption
April 4, 89 P6 7
markers for signal exchange between
d NC
Function sacuon/mge
Y- Complement marker for jog positioning P3/32
Z+ Complement marker for joa positioning P3/32
Z- Complement marker for jog positioning P3/32
IV+ Complement marker for jog positioning P3/32
N- Complement marker for jog positioning P3/32
V+ Complement marker for jog positioning P3/38
V- Complement marker for jog positioning P3/38
Complement PLC-positioning V-axis (NC-axis) P3/38
Complement manual traverse V+ W38
Complement manual traverse V- P3/38
2542 Complement marker for marker 2526 P3/34
2643 Complement PLC-positionina V-axis (spindle orientetionl P3/37
2544 Open control loop X-axis P3/4
2545 Open control loop Y-axis p3/4
2546 Open control loop Z-axis P3/4
2547 Open control loop IV-axis P3/4
2548 Reset accumulated distance in X-axis for trawl-deoendent lubrication P3/6
Reset accumulated distance in Y-axis for trevel-dependent lubrication W6
Reset accumulated distance in Z-axis for travel-dependent lubrication P3/6
Reset accumulated distance in IV-axis for travel-dependent lubrication I=316
Transfer actual position value X-axis P3/5
Transfer actual oosition value Y-axis P3/5
Transfer actual position value Z-axis P3/5
Transfer actual position value IV-axis P3/5
2556 Reference end position X-axis P3/22
2557 Reference end position Y-axis P3/22
2558 Reference end oosition Z-axis P3/22
Reference end position N-axis P3/22
PLC-position X-axis (Isb): tool number 1” decade (Isb): P3/7; P3/46; P3/29
numerical value 1’ decade (Isb)
PLC-position X-axis; tool number 1” decade: P3/7: P3/46; P3/29
numerical value 1” decade
PLC-position X-axis; tool number 1” decade; P3/7; P3/46; P3/29
numerical value 1” decade
PLC-position X-axis; tool number 1” decade (msb): P3/7; P3/46; P3/29
numerical value 1” decade (msb)
PLC-position X-axis (msb); tool number 2”d decade (Isb): P3/7: P3/46; P3/29
numerical value 2”d decade (Isb)
PLC-position Y-axis (Isb); tool number 2”d decade; P3/7: P3/46: P3/29
numerics1 value 2”’ decade
PLC-position Y-axis; tool number 2”d decade; P3/7: P3/46: P3/29
numerical value 2”d decade
luua Section ww
PIGDwctiption
April 4, 89 p6 8
List 0 markers for signal exchange between
PLCa Id NC
Section Me
FLC-Deeoription
ril 4. 89 p6 9
markers for signal exchange between
P3/16
P3/18
P3/18
P3/18
P3/18
!=3/18
2821 11Strobe for central tool file update (from NC No. 06) P3/46
2822 11Strobe for %-factor of spindle analogue (from NC No. 07) I P3/35
t 2823 11Selection of soindle analowe ramps (from NC No. 09) P3ll4
Issue Section me
PLC-Description
April 4. 89 P6 11
List of markers for signal exchange b&w
PLC and NC
P3/20
P3/20
/ P3/21
IO 0010 P3/21
/
/ / /
/ P3/21
P3/2 1
P3/21
2903 /m Inhibit 01
2905 1m Inhibit 01
Function 1 Kev-C&
2916
/
Errormessa9e 15 P3/24-
Error message 16 P3/24
Error meSSaae 17 I I P3124
markers for signal exchange between
d NC
Issue Seotlon
PLGDwodptlon
April 4, 89 P8 2
uts on logic unit LE 355
EO
El
E2
E3
E4
E.5
E6
E7
I
E8
E9
E 13
E 14 I I
E 15
E 16
E 17
E 18
E 19
E 20 I I
E 22 I I
E 27
E 28
E 29
E 30
E 31
E 128
kue sotkul
PLC-Deecription
pril 4, 89 P7
ramming sheets
on input/output board PL 300
E 75 El15
E 78 E 116
E 77 E 117
E 78 E 118
E 79 El19
E80 E 120
E 81 E 121
E82 E 122
E 83 E 123
E84 E 124
E 85 E 125
E 88 I
E 126
E 87
E 88
1 E89 I II t
E 90
E 91
E 92
E 93
E 94
E 95
E 96
E 97
E 98
I
E 99
E 100 I
lrue Section
PLGDesorlptlon P7 T
pril 4. 89
sheets
PLC-outputs on
input/output board PL 300
I output I I Comments I OvtpM 1 Oommsnte
A0 A32 I
Al A33
‘A2 A34 I
A3 A 36
A4 A 36
I
A5 A 37
A6 I A 38
A7 A 39
A8 A40
A 41
A 42
A43
A44
A 45
A 14 A46
Al5 A 47
A 16 A48 !
A 17 A 49
A 18 A 50 I
I
A 19 A 51
A 20 A 52
A 21
A 22
A 23
A 24
A 25
A 26 A 58
A 27 A 59
A 28 A 60
A 29 A 61 I
A 30
ISSUO Section me
FW-DO9OtiptiOll
ril 4. 89 P7 3
sheets
I
8 8
I
9 9
0 0
1
7 II
8 6
9 9 I
0
1 1
2 I I 2
3 3 I
I
4 4
5
6
7
8
9 I
7 I I
9 I
0 0 I
Isum Section
PLC-mrlption P7
&ril 4. 89
sheets
3
4
5
6
7
8
9
0
1
2 I
3
4 I I I
6
7 I
8
9
0
I
Ieeuo PLC-DuaiptiOll
SSOtbll
April 4, 89 P7
Cont nts
8 .*
Section Page
General info math PSl 1
Issue
Nov mber 21.89 I
Ftc-etandrrd pfowm
I-I PSO
hoe
1
I I I
Gene$l Information
The statement list is provided with commentaries marked with an asterisk “*I, The commentaries are not stored in the TNC,
The statement are numbered sequentialh/
- - ,
No
IIIbelle
Iber 21, 89
PLC-standard program
Statetlnent list
ed M-functions
2496 l Enable marker decoded M-code output Ml 900-l 999
* Enable marker decoded M-code output M 1900-l 999
. ..**...*.... ..~.~....~...~...f...“..~“...~..~...~..~~.....~..~..
4
. .~*~.r*...*.,.*...+*.*....**..*..**..*..~~..**..*.*..*.*..**...**
* CNC Stop k ys invert depending on MP 158
eIuue
Nov mber 21, 89 I
plsutfandard pmgmn
Stateinent list
* Enable X-axis
’ Enable X-axis
* Enable Y-axis
* Enable .Y-axis
* Enable 4m axis
‘00 u
* 00 =
* ..*...*...‘.+.*..~.“.~~“.*“...*..*~..**..**.**..*...~..~“.~....*.
l Manual tra I of tool axes through the machine operator
* e.g. with ht nd crank
* Manual activation
l Activation control loop inhibit for the X-axis
* Activation control loop inhibit for the Y-axis
* Activation control loop inhibit for the Z-axis
* Activation control loop inhibit for the 4’” axis
* Activation control loop inhibit for the 5’” axis
. . ..~*..*.*ff*.f*..l*..*~..*~.**..**..~..~~..*~.**~.*..~*..*...*..
’ Inhibit the control loops for the XNjZf4’h/5’h axis if it is in position and manual activation is active,
42 U M919 * Manual activation
43 U M 2008 * The X-axis is in position
44 = M 930 l Manual and X-axis in position
an indirect OR gating
* Triggering of timer 15 MP 125 in 20 ms units
* Triggering of timer 15 MP 125 in 20 ms units
* **..*..**..* .***..~..f...f~*.**.**..**.~*..~~.~*..*,..*..*.*.*..
l Teach-in in nominal value if marker 2206 = 1
l activated t rough MP 158
64 UN 930 l Manual and X-axis in position
ISWe Section me
PLC-etandard program 4
Nov mber 21. 89 PS2
Statebent list
. ~.**.***..**.‘lf..**.“.*...~~.*~.**~.**..**.~~~.~~...*~..**.*....~
* Spindle stop and feed stop
.
* Delay time 1 1 TE 1
’ 2 sW$b!;play
Spindle stop and feed stop
l Triggering of timer 16 MP 193 in 20 ms units
145 UN T 64 * Timer 16 running (delay time spindle feed stop)
146 = ,M 915 l Spindle stop via input E 130 on keyboard
I
Issue t%OtiOll me
November 21, 89 PS2 6
Statebent list
. ***.*.*.***. f~..*..ff..ff*..f*.f*..**~**..*****~.*~..*..*.**~..*
.&=s5dir;ctio button X+
l Manual operating mode
t M 908
216 U !M 138 ’ Direction button X+
217 UN E 133 * Direction button X-
218 S M 2456 l Manual traverse X+
219 R M 2472 * Complemented manual traverse X+
* 2; dircti
n button X-
M 908 l Manual operating mode
221 u 0E 133 * Direction button X-
222 UN E 138 * Direction button X+
223 S SM2457 ’ Manual traverse X-
224 R EM2473 * Complemented manual traverse X-
Issue Section
,3
Nov mber 21. 89 I
PLC-standad program PS2
State1 ent list
I8SUO Section
PLC-standard program
November 21, 89 Ps2 T
Statebent list
” **..**.**..* .**...*..*~..~..*.*f...*..**.~~~.~*..*~*.*..**..~..*
* Coolant ad4 ress of output for the coolant is set or reset in memop/
. Coolant ONI
265 0 ’ Decoded M function MO8
266 0 ’ Decoded M function Ml3
267 0 M 1914 * Decoded M function Ml4
268 U M 2045 l Change signal M code
* Coolant OF
270 0 l Decoded M function MO9
Issue Section
PIGetenderd pmgmm PS2
Novbmber 21.89 I
Statetjnent list
Issue section me
PLGetandard proDram PS2 10
Nov mber 21. 89
Statebent list
341 0 M 915 * Spindle stop through the input E 130 of the keyboard
342 Cl M 2043 * Change signal gear range code for S-analogue
343 = I M 2487 * Status display and algebraic sign of analogue output MO5
* Enabling t cutter spindle
344 0 M 922 * Buffered marker output MO3
345 0 M 923 * Buffered marker output MO4
346 ON M 2499 l lnhibii control loop spindle axis
347 UN M915 * Spindle stop through the input E 130 of the keyboard
340 ON 1 M 2005 l 1 = S-analogue is equal zero volt
349= IAl5 * Mill motor ON main spindle active
* *...I*.***.* ..f~..f...*..f*.““..~~.*...*...**..*..*..~..*....*..
* Strobe sign I formation for the M-code
* Acknowled ement of M-code
I
* Positive fla k from the M-strobe
350 u M 2045 * Change signal M-code
351 UN M 926 l 1” buffered marker change signal M
366 R ; ::
I! * Timer 12 running
* Output of -strobe
367 0 MM 1903 * Decoded M-function MO3
368 0 IM 1904 * Decoded M-function MO4
369 0 ‘M 1905 * Decoded M-function MO5
377 0 M 1913 l Decoded M-function Ml3
leeue Section me
PUhtmdard pmgnm PS2 11
Nowmber 21. 89
Statebent list
’ Timer 12 running
* Acknowledgement of auxiliary function (M-function)
2462 *~Acknowledgement M-code
t of M function MOO/02/08/09/30
06 * Decoded M-function MO6
’ Decoded M-function M03/04/05/l3/14
45 * Change signal M-code
l Triggering of timer 12 MP 122 in 20 ms units
’ Timer 12 running
2482 * Acknowledgement M-code
M function MO6
* Decoded M function MO6
403 R ::6 * Tool release kev was NOT pressed with MO6 output
404 s tvl905 * Tool is released in the spindle
410 R W 906 * Tool release key was NOT pressed with MO6 output
411 R w 905 l Tool is released in the spindle
. *...*.*.*.*f..***.*..****.**...**..*..*~..*”..*~.....~~..*.*.*...
l Spindle jog Aen gear changing with S analogue
416 U M 2043 * Change signal gear code for S enalogue
417 UN VI968 l Buffered marker T13 running
438 = M ii91 * Spindle clockwise for gear change with G-code - now always
. t*..**..**..l~..*...*~..~*..**~.”~”.~*~..~..~*..*...*..‘...~~.~~.
* Spindle pos tioning with the M-function Ml9
439 u M 1919 l Decoded M function Ml9
440 U M 2045 ’ Change signal M code
441 UN M 970 * Buffered marker for Ml9
442 u M 2204 ’ Set through MP 159 significance 4096
443= M 971 l Positive edge of Ml9
Itsue Section
PLC-etenderd pmgrem
Nov mber 21. 89 PS2
Statednent list
2527 * Start PLC positioning spindle axis (only with G/M/S/T code)
2543 l Complement start PLC positioning spindle axis
* .*......a.* *...I..~~...~..*..**..*...~...**.*..*..~...*......
control loop of spindle axis
1900 l Decoded M-function MOO
1902 l Decoded M-function MO2
1903 * Decoded M-function MO3
* Decoded M-function Ml 3
1914 l Decoded M-function Ml4
2527 * Start PLC positioning spindle axis (only with G/M/S/T code)
2543 l Acknowledgement M code
ctive MP 62 = 5 ?I
2043 l Change signal gear code for S analogue
2924 l Error message 0
ISWe sootion
PLC-standefd program
. Nowmber 21. 89 PS2 T
Statebent list
IEUle
Nov mber 21,89
ns of markers, in:puts, outputs and timers
of markers
ed M function MOO
ed M function MO2
ed M function MO3
ed M function MO4
ed M function MO5
ed M function MO6
ad M function MO8
ed M function Ml4
ed M function Ml 9
ed M function M30
I
lsaue 8WtiOll me
PLC-standard program Ps3 1
November 21.89
I
Function of markers, Sutputs and timers
Functidn of markers
em NC rapid traverse
ement store function for manual traverse
lement feed enable
lement manual traverse X+
lement manual traverse X-
lament manual traverse Y+
lement manual traverse Y-
lement manual traverse i!+
lement manual traverse Z-
lement manual traverse 4+
lement manual traverse 4-
wfedgement M code
display and algebraic sign of the analog output MO3
display and algebraic sign of the analog output MO4
display of the analog output MO5
op low active 0 = stop 1 = no stop
le counterclockwise for gear change with G code - now always
le clockwise for gear change with G code - now always
Issue section
PLC-standard .progmm P.33 ?F
Nov mber 21. 89
of markers, inputs, outputs and timers
markers
I
lesue section
PLC-stendard program PS3
November 21. 89
Fur%t~ons of markers, in~puts, outputs and timers
Functic)n of outputs
A 0
A 1
A 2
ii
A 6
A 15
A 16
A 17 die counterclockwise
A 18
A 19
A 21
Ieeue section
pLc-etendarcl pmgmm PS3
Ncv mber 21. 89
of markers, inputs, outputs and timers
I
I8slm section mw
PLC-standard program PS3 6
November 21, 89
lists
eference list for markers
M
M
0
901
=
=
495
0 0 -168
UN- 496
ON-169
M 902
= 17 U -134 UN-196
M =
903 20 UN- 197
M 904
S -412 u -413 R -415
M 905
UN- 399 ‘S -404 u -407 R -411
M 906
s - 390 RN-396 U -398 R -403 U -406 R -410
M 907
= - 373 u - 374 u -378 UN- 384
M = - 10
908 U - 211 U - 215 U - 220 U - 225 U - 230 U - 235 U - 240
U - 245 U - 250 U - 255 U - 260 U - 291 U - 295
M 909 = -
M 910 -2: R - 276 U - 279 R - 282 UN- 284 S - 287 U - 289
M 911 Z - 278 u - 280 R - 283 u - 285 R - 288
M 912 = - 294 UN- 297 0 -302
M 913 UNi 293 = - 298 0 - 309
M 914 UN 135 S -136 U -140 R -141 U -143 UN-148 U -152 R -154
M 915 = 146 R - 155 UN-331 UN- 336 0 -341 UN-347
M 916 S 137 U -147 R -151 R -156 UN-164
=-
0 -3::
U - 36 U - 42 U - 46 U - 50 U - 54 U - 58
M 920 U - 200 = -204
M 921 U - 206 = - 210
M 922 S - 303 R -310 R -320 R -327 U -330 0 - 344
M 923 R - 304 S -311 R -321 R - 328 U - 335 0 - 345
M 924 R - 305 S -312 R -322 R - 282 U -340
M 926 UN- 351 = - 354
M 930 = - 44 UN- 64 U - 97 u -100
M 931 S - 45 U - 65 R - 69
M 932 = - 48 UN- 70 U - 104 u -107
M 933 S - 49 U - 71 R - 75
UN- 76 U -111 u -114
M 935
934 =S - :; u - 77 R - ai
M 936 = r 56 UN- a2 u -ii8 u -121
u - a3 R - a7
M 938
937 =S - El UN- 88 U -125 U - 112
u - a9 R - 93
M 940
939 S
= L- :A 0 -102 0 -109 0 -116 0 -123 0 -130
M 951 U - 301 U - 308 = -352 U - 355
M 968 UN- 417 S -423 U - 425 R -431
M 970 UN-441 = -446
M 971 = - 443 u -447 u - 450 u - 453
Ml900 0 -272 0 -313 0 -461 0 -483
Ml902 0 -299 0 -314 o-462 O-484
Ml903 0 -271 0 - 367 0 -463 0 -485
Ml904 0 -306 0 - 368 0 -464 0 -486
M 1905 0 -315 0 - 369 0 -465 0 -487
M 1906 0 -316 UN- 383 u -391 0 -488
Ml908 0 -265 0 -489
Ml909 0 -270 0 - 490
M 1913 0 - 266 0 - 300 0 - 370 0 -466 0 -491
M 1914 0 - 267 0 - 307 0 -371 0 -467 0 -492
M 1915 U -323 u -439 u - 444 u - 474 0 - 493
Ml930 0 r273 0 -317 0 -468 0 -494
I
lewe Seotion paw
PLGetenderd pmOnm 1
November 21. a9 Fsl
Cross reference lists
r
Cross eference list for markers
M 2051
M 2052
M 2053 0 - 11
M 2054
M 2055 :- - 12
13
M 2056 :- - 9
M 2180
M 2184 UN- 15:
M 2185
M 2191 : - 27; 0 - 326
M 2204 U - 325 U - 442 U - 476
M 2205 UN-448 U -451
M 2206 U - 66 U - 72 U - 76 U - 84 U - 90
M 2207 XOq 16 XON 19
M244.8 R - 170 s - 201
M 2449 R - 171 S -207
M 2450 R - 172 S -213
M 2451 R - 158 RN- 159 S - 166
M 2456 R - 173 S -218
M 2457 R -174 S -223
M 2458 R 175 S - 228
M 2459 R 176 S - 233
M 2460 R 177 S -238
M2461 R -178 S -243
M2462 R -179 S -248
M2463 R -180 S -252
M2464 S -183 R -202
M2465 S -184 R -208
M2466 S - 185 R -214
M2467 S -160 SN-161 R -167
M2472 S - 186 R -219
M2473 S -187 R -224
M2474 S -188 R -229
M2475 S -189 R -234
M2476 S -190 R -239
M2477 S -191 R -244
M2478 S -192 R -249
M2479 S -193 R -254
M 2462 R - 363 S -382 S - 388 S -414 S -478
M2485 = -333
M2486 = -338
M 2487 = - 343
M2488 = -198
M 2490 = -436
M 2491 = -438
M 2492 = - 37
M 2403 = -
M 2494 = - ::
M 2495 = - 40
Ieslm SOOtiOhl me
PLC-atmdord pmgnm 2
November 21. 89 Ps4
Cross reference lists
Cross reference list for markers
l&3UO SectiOll me
PLC-Mndtlld program 3
NW mber 21.89 I ps4
Cross reference lists
Cross eference list for inputs
,I
E 5
E 128 389 U - 397 U - 405
E 129 277 U - 281 U - 286
E 130
E 131
E 132 139 U - 199 U -203 U -212
E 133
E 134
E 135
E 136
E 137
E 138
E 139
E 140 247 U - 251
E 141
E 142
E 143
E 144
E 145
E 146
E 147 257 U - 261
Issue Seotlon
PIGstandard pmgmm PS4
Noumber 21.89
Cross reference lists
Cross ?ference list for outputs
A 0 = 22
A 24
A : i-
3 = ;:
:: 4 = 30
A 6 s -1
101 R - 409
-:
A 15 = I49
A 16 = -:
334
A 17 = -2
139
18 = -i !90
it 19 = -2
I93
A 21 = -:
177
No\
Cross eference l~ists
Cross rk ference list for timers
T 10 = -359
T 11 = -360
T 12 = - 361 UN- 379 UN- 386
T 13 UN-418 = -422 UN-426
T 14 UN-419 = -427 = -430
T 15 R - 62 RN- 63 S - 68 S - 74 S 80 S - 86 S - 92 0 - 94 UN- 162
T 16 R -132 RN-113 S -138 S -142 S 144 UN-144 UN-149
T 17 = -402
T 18 SN-394 R -395
T 58 UN- 356 R - 364 UN- 375
T 59 UN- 357 R -365 U - 376
T 60 UN- 358 R - 366 UN- 380 UN- 387
T 61 UN-420 UN-428 R -433 U -435
T 62 UN-421 UN-429 R -434 ti -437
T 63 0 - 95 UN- 163
T 64 UN- 145 UN- 150
T 65 UN- 408
T 66 UN- 400
ISSUB section
PLC-andard pmgrml
Now ber 21. 89 Ps4 7