Page 1
Technical Manual TNC 426 CB/PB/M TNC 430 CA/PA/M NC Software 280 470-12 280 471-12 280 472-14 280 473-14 280 474-19 280 475-19 280 476-21 280 477-21 December 2001 343 734-21 · 10 · 12/2001 · Bi · Printed in Germany · Subject to change without notice (343 734-E6)
Page 2
PLC programming of HEIDENHAIN contouring controls. Every time the hardware or software of HEIDENHAIN's contouring control is updated, you will receive a set of supplementary pages free-of-charge. Always sort these pages into your Technical Manual immediately. In this way, your manual will always be up-to-date.
1 Update Information No. 6 1.1 Releases The following NC software was released: NC software 280 474-18 and 280 475-18 June 2001 NC software 280 474-19 and 280 475-19 August 2001 NC software 280 476-15 and 280 477-15 November 2000 NC software 280 476-16 and 280 477-16 December 2000 NC software 280 476-17 and 280 477-17...
Page 4
Bit 2 = 0: Do not monitor the ERR-IZ signal, or the inverter doesn't supply this signal (SIEMENS and INDRAMAT inverters, and HEIDENHAIN UE 2xx compact inverters). Bit 2 = 1: Monitor the ERR-IZ signal (HEIDENHAIN inverters except UE 2xx compact inverters). The minimum input value of MP7430 was changed from 0.1 to 0.001.
Page 5
Miscellaneous When the control starts, it checks whether there is enough space on the hard disk for system files. If not, the error message Too many setup files appears. In this event, delete any unnecessary NC software or setup files from the hard disk.
Page 6
The NC and PLC are no longer operable. Danger Hanging axes must be supported before the test in order to prevent damage to the machine in case of error. 1 – 4 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 7
C3F0 EnDat not found <axis> appears. Warning If you use the HEIDENHAIN standard motor table motor.mot and motors with EnDat encoders, you might have to change the entry for the motor in the SYS column (type of encoder) of the motor table or enter a new motor.
Page 8
TCTOOLMODE= in NCMACRO.SYS. This macro is called for tool oriented machining instead of the tool-change macro. If this macro is not defined in NCMACRO.SYS, a HEIDENHAIN standard macro is run. The HEIDENHAIN standard macro performs the following functions:...
Page 9
If the new motor table motor.mot is not available, the control looks for motor.asn and motor.sn. You can transfer asynchronous motors from motor.asn into motor.mot. To transfer synchronous motors into motor.mot, please contact HEIDENHAIN. 1.8 Hardware New receiver units...
The TNC 426 PB/M, TNC 430 PA/M features integral digital drive control and controls the power stages via PWM signals. Integration of the drive controller in the TNC 426 PB/M, TNC 430 PA/M offers the following advantages: All the software is contained centrally in the NC; this means that the individual components of the NC such as feed axes, spindle, NC or PLC are optimally matched.
Page 14
30 000 rpm. The TNC 426 M, TNC 430 M is designed for connection of a compact or modular inverter system. Thus, together with HEIDENHAIN motors, a complete control package including servo drive can be offered (see Technical Manual “Inverter Systems and Motors”).
2.2 Overview of Components LE 426 CB, LE 430 CA Logic Unit Logic unit Signal inputs ID numbers of LE for ID numbers of LE for BC 120 display unit BF 120 display unit LE 426 CB 5 position inputs (350 kHz) 312 001-xx 313 524-xx...
Page 16
(50 kHz) 1 spindle position input (350 kHz) 6 speed inputs Spindle 311 999-xx 313 526-xx up to 12 000 rpm Spindle 317 349-xx 318 177-xx up to 30 000 rpm 2 – 6 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 17
Logic unit Signal inputs ID numbers of LE for ID numbers of LE for BC 120 display unit BF 120 display unit LE 430 PA 5 position inputs (350 kHz) 311 049-xx 313 521-xx 1 spindle position input (350 kHz) 7 speed inputs 5 position inputs (50 kHz)
Page 18
324 996-xx 324 997-xx (6 EnDats) 10 speed inputs (10 EnDats) Note A BC 120 can also be attached to the LE for the BF 120 at the same time. 2 – 8 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 19
Logic unit Signal inputs ID numbers of LE for ID numbers of LE for BC 120 display unit BF 120 display unit LE 426 M with flash EPROMs 6 position inputs 11 µA /1 V (6 EnDats) 6 speed inputs /EnDat Spindle 344 958-xx...
Page 20
BC 120 Visual Display Unit 15-inch color screen (640 x 480 pixels) Id. Nr. 313 037-02 BF 120 Visual Display Unit 10.4-inch color flat panel display (640 x 480 pixels) Id. Nr. 313 506-02 2 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 21
Spindle start, spindle stop 7 keys for machine functions • Standard assignment: FN 1 to FN 5 • Assignment for HEIDENHAIN basic PLC program: Retract axis, Tool change, Unlock tool, Menu selection →, Unlock door, Rinse water jet, Chip removal Id.
Page 22
Connecting cable for cable adapter (metal armor) Id. Nr. 296 466-xx Adapter cable to LE Id. Nr. 281 429-xx Extension to adapter cable Id. Nr. 271 958-03 Dummy plug for emergency-stop circuit 2 – 12 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 23
HR 130 Handwheel Panel-mounted handwheel Id. Nr. 254 040-05 With ergonomic control knob, radial cable outlet December 2001 Overview of Components 2 – 13...
Page 24
The axes and the subdivision factor are selected via rotary switch. Id. Nr. 261 097-03 HRA 110 Id. Nr. 257 061-09 HR 150, radial cable outlet Id. Nr. 270 908-01 Handwheel selection switch 2 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 25
Key symbols for the spindle Designation Designation Print/Background Print/Background Id. Nr. Id. Nr. Spindle stop Spindle start White/Red White/Green 330 816-08 330 816-09 Spindle direction left Spindle direction right Black/Gray Black/Gray 330 816-40 330 816-41 Spindle stop Spindle start White/Red White/Green 330 816-47 330 816-46...
Page 29
Other key symbols Designation Designation Print/Background Print/Background Id. Nr. Id. Nr. No symbol No symbol –/Black –/Gray 330 816-01 330 816-61 NC start NC stop White/Green White/Red 330 816-11 330 816-12 NC start NC stop White/Green White/Red 330 816-49 330 816-50 Feed rate 1 Feed rate 2 Black/Gray...
Page 30
APE 652 interface electronics for connecting two EA 652 to the LE Id. Nr. 310 197-xx Adapter cable for connecting the EA 632 or the APE 652 with the LE 2 – 20 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 31
1 User’s Manual for conversational programming 1 User’s Manual for ISO programming 1 Pilot (brief user’s programming guide) The HEIDENHAIN inverters and motors for the TNC 426 M and the TNC 430 M are described in the Technical Manual “Inverter Systems and Motors.”...
TNC 430 PA: Position inputs for 3 additional axes with analog speed interface Position input for the 6th axis Digitizing with triggering touch probe Digitizing with measuring touch probe Ethernet interface 2 – 22 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 33
Specifications TNC 426 TNC 430 Display 15-inch CRT color screen 10.4-inch TFT color flat-panel display Program memory Hard disk with > 2 gigabytes Input resolution and display step Up to 0.1 µm for linear axes Up to 0.0001° for angular axes Interpolation Straight lines 5 of 5 axes...
Page 34
TNC 426 CB/PB, TNC 430 CA/PA: 3 ms TNC 426 M, TNC 430 M: can be set between 3 ms and 6 ms Cycle time for speed TNC 426 PB/M, TNC 430 PA/M: 0.6 ms Nominal feed rate TNC 426 PB/M, TNC 430 PA/M: 24000 ⋅...
Page 35
31 (additional outputs as option) Analog inputs ±10 V 3 (additional analog inputs as option) Analog outputs ±10 V TNC 426 PB/M: 13 TNC 430 PA/M: 13 TNC 430 CA: 3 with 9 NC axes plus spindle TNC 430 CB: 7 with 5 NC...
Page 36
Programming a contour on a cylindrical surface as if on a plane Feed rate in mm/min (M116) FK free contour programming FK free contour programming in HEIDENHAIN conversational format with graphic support for workpiece drawings not dimensioned for NC Subprogramming...
Page 37
User functions TNC 426 and TNC 430 Coordinate transformation Datum shift, rotation, mirroring Scaling factor (axis specific) Tilting the working plane Touch probe cycles Touch probe calibration Compensating workpiece tilt manually and automatically Setting the datum manually and automatically Automatic workpiece measurement Cycles for automatic tool measurement Digitizing cycles Mathematical functions =, +, –, *, /, sin α, cos α, angle α...
Page 38
Additional 64 PLC inputs and 31 PLC outputs as well as 4 analog inputs ± 10 V and 4 inputs for thermistors per PL PL 405 B: Additional 32 PLC inputs and 15 PLC outputs per PL 2 – 28 HEIDENHAIN Technical Manual TNC 426, TNC 430...
2.4 Hardware 2.4.1 Designation of the Logic Unit ID number of the logic unit: 312 001-27 Basic ID number Variant Options Hardware change The basic ID number indicates hardware differences. This first digit of the variant number indicates hardware changes. The second digit of the variant number specifies the option: Option Meaning...
If you press the MOD key in any operating mode, you can display the ID numbers of the NC software, the DSP software and the setup disks. If the hardware contains flash EPROMs, the letter “F” is displayed before the NC software Id. Nr. 2 – 30 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 41
340 436-xx 340 437-xx Due to restrictions on the export of the TNC, HEIDENHAIN can also supply a special export version. This export version differs from the standard control though the installed NC software version. HEIDENHAIN releases a new NC software version whenever it introduces extensive new functions.
2.5.3 PLC Software The PLC software is stored on the hard disk of the TNC. You can order a PLC commissioning program directly from HEIDENHAIN. With the PLC development software PLCdesign, the PLC program can very easily be adapted to the requirements of the machine.
TNC will not recognize these cycles, and will add ERROR blocks to the NC programs. These ERROR blocks must be deleted manually. After an NC software exchange, to be able to use the latest HEIDENHAIN cycles together with your existing customized cycles, you will need the PC software CycleDesign to insert the new cycles in your *.CDF file.
Page 44
CONVERSION BIN ASC FAILED A binary file has an incorrect format (e.g., binary format from an old NC software) CONVERSION ASC BIN FAILED An ASCII file on the hard disk is incorrect 2 – 34 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 45
NC software switch The software must be exchanged only by trained personnel. procedure on The READ_MP.A file on the provided floppy disks contains information on controls with machine parameters. The README.TXT file provides notes on the software EPROMs exchange. Warning Any contact with statically charged objects or handling without MOS protection can destroy the EPROMs! 7 7 7 7...
Page 46
7 7 7 7 On the PC, enter the command SETUP or SETUP32 to copy the NC dialogs, HEIDENHAIN cycles etc. from the provided setup disks. After setup the control carries out a RESET. • DOS and Windows in the DOS window: Use the SETUP command, followed by the number of the PC’s serial port (e.g., SETUP 2 for the...
Page 47
Position of EPROMs LE 426 CB/PB and LE 430 CA/PA LE 426 M and LE 430 M Software module for digitizing EPROMs Buffer battery December 2001 Software 2 – 37...
Page 48
Too many setup files appears. In this event, delete any unnecessary NC software from the hard disk. (See “Activating and deleting already existing NC software” on page 2 – 39.) 2 – 38 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 49
7 7 7 7 Complete or erase the machine parameters. Information about the machine parameters can be found on the READ_MP.A file on the first provided setup disk, or on the TNC in the directory PLC:\JH\. 7 7 7 7 Exit the machine parameter editor: Press the END key.
7 7 7 7 Confirm the confirmation question with the YES soft key. 2.5.5 Data Backup HEIDENHAIN provides a data backup program called TNCBACK.EXE free of charge. HEIDENHAIN recommends that the machine manufacturer use the software TNCBACK.EXE to save all his machine-specific data to a floppy disk, and that he supply the disk with the machine.
Input range of MP2500 and MP2501 increased to 1000 The maximum number of points of all compensation value tables was increased to 1280. Coded NC error messages are displayed in plain language 2 – 42 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 53
NC software Release: 2/97 280 470-06 (export Improvements: version 280 471-06) The datum is set with the keys A B, C, X, Y, Z, U, V, W, a, b, c, x, y, z, u, v, w The software also runs on the special hardware of the LE 426 PB with spindle speeds up to 24 000 rpm.
2.6.2 NC Software 280 472-xx and 280 473-xx NC software Release: 04/97 280 472-01 (export Improvements: version 280 473-01) New function “Fast contour milling”: Cycle 32 or G62 and MP1096 Automatic calculation of cutting data TCPM (Tool Center Point Management): With M128 you can superimpose manual axial machine movements during program run, whereby the offsets of the tilting axes are automatically compensated.
Page 56
Module 9096: Erasing a line in the tool table Module 9112: Transmitting ASCII characters via RS-232-C Module 9113: Receiving ASCII characters via RS-232-C Module 9151: Select traverse range and axis designation 2 – 46 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 57
Module 9200/9201: Expanded (PLC soft keys can be appended to NC soft- key rows) Module 9215: PLC pop-up window Module 9270: Read from OEM.SYS Module 9271: Write to OEM.SYS Automatic offset compensation of encoder signals Oscilloscope records can be saved in a file. MP7365.5: Selected channel in oscilloscope (input $00000FF) NC software Release: 07/97...
Page 58
FN18 ID220 NR4: Read current PLC datum shift Module 9008: Read certain inputs of PLC input/output unit Module 9009: Set certain outputs of PLC input/output unit Module 9145: Automatic actual and nominal value transfer 2 – 48 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 59
NC software Release: 07/98 280 472-08 (export Improvements: version 280 473-08) MP2510 and MP2511: Maximum input value reduced to 30 000 MP2191: Decelerating spindle at EMERGENCY STOP MP6161: M function for orienting infrared probe before measurement MP6162: Orientation angle MP6163: Minimum difference before executing an oriented spindle stop New strings S4 to S7 FN17 ID50: Overwrite data in tool table FN17 ID420: Effectiveness of cycles 7, 8, 10, 11, 26 and 19...
Page 60
280 473-13) NC software Release: 12/99 280 472-14 (export Improvements: version 280 473-14) When the control is shut down, the hard disk is put into sleep mode. MP2600: Input range changed 2 – 50 HEIDENHAIN Technical Manual TNC 426, TNC 430...
FN18 ID50: Read data from tool table FN18 ID220: Read current PLC datum shift M4065: All workpiece dimensions are OK M4066: Workpiece must be remachined M4067: Workpiece to be scrapped 2 – 52 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 63
New timers T96 to T143 New strings S4 to S7 W266: Index number of a programmed indexed tool D604: Maximum possible spindle speed Module 9008: Read certain inputs of PLC input/output unit Module 9009: Set certain outputs of PLC input/output unit Module 9088: Display M functions in status window Module 9091: Determine line number of tool in tool table Module 9145: Automatic actual and nominal value transfer...
Page 64
Face milling: With M128 in connection with LN blocks, the tool is held perpendicular to the contour. Peripheral milling: With M128 in connection with RR/RL, the negative radius oversize (DR) is compensated perpendicular to the machining and tool direction. 2 – 54 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 65
NC software Release: 06/98 280 474-05 (export Improvements: version 280 475-05) MP6150, MP6361, MP6550: Maximum input value increased to 20 000 MP7266.27: PLC value MP7600.0: Reserved MP7600.1: PLC cycle time Indication of position of machining plane expanded FN17 ID50: Write data to the PLC value column of the tool table FN18 ID50: Read data from PLC value column FN18 ID360: Read last datum of a manual touch-probe cycle or last touch point of the touch-probe cycle 0...
Page 66
Module 9247: All tables can be searched for contents in a field Module 9290: Select NC program Cycle 405: Correct workpiece angular tilt via C axis Cycle 420: Determine angle in the touch probe axis 2 – 56 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 67
NC software Release: 12/98 280 474-10 (export Improvements: version 280 475-10) MP1521: Transient response during acceleration and deceleration MP2360, MP2361: Time constant for deceleration of spindle at EMERGENCY STOP MP2391: Max. braking performance of spindle at EMERGENCY STOP MP6500 bit 13: Tilted system in which the tool is measured MP7160 bit 2: Spindle in position control loop during rigid tapping MP7245: Disable auxiliary cycles FN18 ID20: Determine index of active tool...
Page 68
Improvements: version 280 475-14) MP7500: Tilting-axis positioning during datum setting FN17 ID501: Write to REF-referenced datum table FN18 ID501: Read from REF-referenced datum table Module 9189: Shut down the control 2 – 58 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 69
NC software Release: 10/99 280 474-15 (export Improvements: version 280 475-15) MP2221: Monitoring of rotational direction for spindle with integral DSP Input range of the STR column in the motor tables expanded When operating two spindles, the speed encoder may be disconnected and reconnected Direction monitoring of digitally controlled spindles M4179: Control is shut down...
2.6.4 NC Software 280 476-xx and 280 477-xx NC software Release: 05/99 280 476-01 (export Improvements: version 280 477-01) MP340: External interpolation MP1097, MP1098: Input range expanded from 1 to 1000 [m/s ] to 0.1 to 1000.0 [m/s MP1150 expanded: MP1150.1 Time duration for which monitoring functions must remain switched off;...
Page 72
Error messages for the first spindle are marked with “S1,” and for the second spindle with “S2” DSP error messages were classified M112: Feed rate limit so that jerk is not exceeded, exception: F MAX is programmed 2 – 62 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 73
NC software Release: 05/99 280 476-02 (export Improvements: version 280 477-02) In the format instructions for the large PLC window, special characters can be entered with /xYY. Module 9281: Datum shift and datum set can still be carried out, even if the line is disabled by an entry in LOCK.
Page 74
Multiple empty coordinate fields in NC programs are skipped. If a company logo is displayed, the control description is no longer shown. NC software Release: 09/99 280 476-04 (export version 280 476-04) 2 – 64 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 75
NC software Release: 10/99 280 476-05 (export Improvements: version 280 477-05) MP2602, MP2604: Integral Phase Compensation - IPC Temperature compensation with M128 etc. through the description tables of the tilting-axis geometry The selected geometry description is indicated in the program management.
Page 76
Every NC setup is saved in its own directory and can be selected. M functions M0 to M999 are possible in Manual mode; M100 to M299 result in error messages 2 – 66 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 77
NC software Release: 02/00 280 476-07 (export Improvements: version 280 477-07) MP812: Software limit switches also with M94, modulo display and encoders with EnDat interface MP2606: Influence following error during the jerk phase MP3030: Zero spindle speed when switching to another gear range MP6500: Tool measurement with stationary spindle MP7261: Pockets in tool magazines 1 through 4 MP7267: Position of the comment from the tool table in the pocket table...
Page 78
When transferring measured values from the manual touch probe cycles to a datum table, they can be referenced to either the workpiece datum or the machine datum. 2 – 68 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 79
NC Software Release: 06/00 280 476-10 (export MP6165: New probing function for the TS 632 version 280 477-10) New password AXISNUMBER for OEM.SYS, to limit the number of machine parameter indexes NC software Release: 07/00 280 476-11 (export MP1087.x: Axis-specific jerk for Manual mode version 280 477-11) MP7680 bit 12: Behavior of Cycle 28 New error message for FN14...
Page 80
Release: 04/01 280 476-18 (export MP1060.x and MP1070.x: Input range expanded version 280 477-18) In volts-per-hertz control mode, W322 = 0 Improved behavior when using a speed encoder with EnDat interface 2 – 70 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 81
NC software Release: 07/01 280 476-19 (export MP2180 has been expanded into MP2180.0 to MP2180.8. version 280 477-19) MP2600.x: Input range expanded MP7160 bit 3: IPC and acceleration feedforward for Cycle 17 and 18 New error message Actual position saved <axis> when a calling of Module 9146 is not permitted In the MP7530 column and in the TEMPCOMP column of the description tables for the swivel axis geometry, a maximum of 16 variables can be used.
Page 83
3 Mounting and Electrical Installation 3.1 General Information ................ 3 – 5 3.1.1 Degrees of Protection ............... 3 – 5 3.1.2 Electromagnetic Compatibility ........... 3 – 5 3.1.3 Shipping Brace for Hard Disk (LE 426 M, LE 430 M) ....3 – 6 3.2 Ambient conditions .................
Page 84
Modular Energy Recovery HEIDENHAIN Inverter ..3 – 135 3.24.4 Grounding Diagram for TNC 426 M, TNC 430 M with HEIDENHAIN Compact Inverter UE 2xx B ....3 – 136 3.24.5 Grounding plan TNC 426 M, TNC 430 M with POWERDRIVE Inverter System .........
Page 85
Modular Energy-Recovery HEIDENHAIN Inverter ..3 – 142 3.25.4 Basic Circuit Diagram for TNC 426 M with HEIDENHAIN Compact Inverter UE 2xx with UV 102 ..3 – 143 3.25.5 Basic Circuit Diagram for TNC 426 M with UE 2xxB Nonregenerative HEIDENHAIN Compact Inverter .....
Page 87
Shielding according to EN 50 178 Potential compensating lines Ø 6 mm (see Grounding Diagram at end of chapter) Use only genuine HEIDENHAIN cables, connectors and couplings December 2001 General Information 3 – 5...
Page 88
The shipping brace for the hard disk is not required when the machine is the shipping brace? being transported. Should servicing become necessary (i.e. the LE is being shipped on its own), the hard disk must be secured with the shipping brace. 3 – 6 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 89
Use of a heat exchanger with separate internal and external circulation. HEIDENHAIN advises against blowing external air through the control cabinet to replace the internal air. Electronic assemblies may be adversely affected by fine dust or vapors. If no other method of cooling is possible, then ensure that the fan extracts the warmed air from the electrical cabinet and that the air drawn in is adequately filtered.
Page 90
(only LE 426 M, LE 430 M): 300 m/s , 11 ms 3.2.4 Mounting Position Warning When mounting, please observe proper minimum clearance, space requirements, and length of connecting cable. 3 – 8 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 91
Logic unit LE 426 CB, LE 430 CA >577 >22.72" >110 >4.33" Minimum clearance 3.15" 3.15" for servicing! recommended: = 1.57" 1.57" approx. 250 mm °C °C Air outlet °C Maintain clearance for screwdriver Connecting cables must not hinder swivel movement °C °C of the control...
Page 92
Free space for air circulation 3.27" Free space for servicing °C °C Illustration of max. swivel range. The minimum angle of swivel for exchange of subassemblies should be at least 90°. 1.57" 3 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 93
Logic unit LE 426 M, LE 430 M Leave space for air circulation! Temperatures of > 150 °C are possible with UE 21x B with integral braking resist or; Do not mount any temperature- sensitive components! Leave space for air circulation and servicing! Leave space for air circulation and...
Page 94
TNC 426 CB, TNC 430 CA: You can mount one PL on the logic unit. Additional PLs must be mounted separately in the electrical cabinet. TNC 426 PB/M, TNC 430 PA/M: The PLs must be mounted separately in the electrical cabinet. 3 – 12...
Page 95
3.3 Connection Overview 3.3.1 LE 426 CB Warning Do not engage or disengage any connecting elements while the unit is under power! X1 to Position encoder Analog output 1 to 6 Analog output 7 to 13 X12 Triggering touch probe for workpiece measurement X13 Triggering touch probe for tool measurement X14 Measuring touch probe (option) X21 RS-232-C/V.24 data interface...
Page 96
X46 Machine operating panel X47 PLC expansion X48 PLC analog input X50 Input for drive motor enabling X51 to X56 Output to axes motor power module X57 Reserved Signal ground Equipment ground (YL/GN) 3 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 97
3.3.3 LE 426 PB (Spindle up to 30 000 rpm) Warning Do not engage or disengage any connecting elements while the unit is under power! X1 to Position encoder X16 X15 Analog output 1 to 6 Analog output 7 to 13 X12 Triggering touch probe for workpiece measurement X13 Triggering touch probe for tool...
Page 98
X43 CRT screen or X49 Color flat-panel display X44 PLC supply voltage X45 TNC keyboard unit X46 Machine operating panel X47 PLC expansion X48 PLC analog input Signal ground Equipment ground (YL/GN) 3 – 16 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 99
3.3.5 LE 430 PA Warning Do not engage or disengage any connecting elements while the unit is under power! X1 to Position encoder X16 X15 Analog output 1 to 6 Analog output 7 to 13 X12 Triggering touch probe for workpiece measurement X13 Triggering touch probe for tool X18 X17...
Page 100
X46 Machine operating panel X47 PLC expansion X48 PLC analog input X51 to X56 Output to motor power module X65 to X67 Reserved X69 Power supply Signal ground Equipment ground (YL/GN) 3 – 18 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 101
3.3.7 LE 426 M (Spindle up to 30 000 rpm) Warning Do not engage or disengage any connecting elements while the unit is under power! X1 to Position encoder Analog output 1 to 6 Analog output 7 to 13 X12 Triggering touch probe for workpiece measurement X13 Triggering touch probe for tool measurement...
Page 102
X56 Output to motor power module X60 Encoder for spindle speed X61 Output to spindle motor power module X65 to X67 Reserved X69 Power supply Signal ground Equipment ground (YL/GN) 3 – 20 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 103
3.3.9 LE 430 M/9 Axes Warning Do not engage or disengage any connecting elements while the unit is under power! X1 to Position encoder Analog output 1 to 6 Analog output 7 to 13 X12 Triggering touch probe for workpiece measurement X13 Triggering touch probe for tool measurement...
Page 105
3.4 Power Supply 3.4.1 NC Power Supply for LE 426 CB/PB, LE 430 CA/PA Danger The dc-link power supply must be opened only by HEIDENHAIN service personnel! X31: NC supply Pin layout: voltage Cnnctn. Assignment LE 426 PB, LE 426 CB,...
Page 106
RES.PS PF.PS.ZK ERR.UZ.GR ERR.IZ.GR ERR.TMP RDY.PS ERR.ILEAK PF.PS.AC (not with UV 130, UE 2xx, UE 2xxB) Do not assign Do not assign Do not assign Reserved (SDA) Reserved (SLC) RES.LE 3 – 24 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 107
The LE monitors the rectified voltage: An overvoltage up to 720 V is permissible for 5 seconds. Over 720 V, the NC prevents a pulse release for the IGBT of the power module: the motors coast to a non-controlled stop and there can be no energy recovery to the dc link.
Page 108
Open the LE. The buffer battery may be found to the right beside the EPROMs of the NC software (see Position of EPROMs in Chapter 2). 7 7 7 7 Exchange the battery; the new battery can be inserted in only one position. 3 – 26 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 109
3.4.4 PLC Power Supply The PLC of the LE 426 CB/PB/M and LE 430 CA/PA/M logic units as well as the PL 410B/PL 405B are powered by the 24 Vdc control voltage of the machine (in accordance with VDE 0551). The control voltage must be smoothed with a minimum 1000 µF at a rated current capacity of 150 µF/A.
Page 110
Pt 100 thermistors. The power supply must comply with inputs on the EN 50 178, 5.88 requirements for “low voltage electrical separation.” PL 410B Terminal Assignment +24 Vdc as per EN 50 178, 5.88 +0 V 3 – 28 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 111
HEIDENHAIN inverter +24 V X72/1 X72/2 If you are using a non-HEIDENHAIN inverter system, X34 must be wired in accordance with the basic circuit diagrams at the end of the chapter. 3.4.7 Power Supply for Visual Display Units BC 120 Connection to line power via Euro connector.
Page 113
3.5 Encoders 3.5.1 Prerequisites HEIDENHAIN contouring controls are designed for use with incremental linear and angular encoders as measuring systems. The 1 V and 11 µA signals are interpolated by a factor of 1024. Encoders with one or more reference marks are permissible. HEIDENHAIN...
Page 114
LE 426 M / 30 000 rpm with flash EPROMs X1 to X6 LE 430 M/6 axes with flash EPROMs X1 to X6 LE 430 M/9 axes with flash EPROMs X1 to X6 3 – 32 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 115
X1 to X6, X35 to X38: Inputs for encoders with 11 µA Note The interfaces comply with the requirements of EN 50 178 for “low voltage electrical separation.” Pin layout for: LE 426 CB/PB: All inputs LE 430 CA/PA: All inputs LE 426 M, LE 430 M (xxx xxx-2x): All inputs LE 426 M, LE 430 M/6 axes (from xxx xxx-3x): X1 to X4 LE 430 M/9 axes (from xxx xxx-3x): X35 to X38...
Page 116
Yellow Do not assign 5 White/Brown (internal shield) Blue – +5 V Gray – Pink Do not assign 14 Do not assign 15 Housing External Housing Housing External shield shield 3 – 34 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 117
X1 to X6, X35 to Pin layout: X38: Inputs for encoders 1 to 10 with 1 V Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” AK 309 783-xx Encoder AK 310 199-xx Male Assignment Female...
Page 119
3.5.3 Speed Encoder (LE 426 PB/M, LE 430 PA/M) Maximum input Maximum input frequency of speed encoder inputs: frequency Input Max. input frequency X15 to X20 350 kHz X62 to X64 410 kHz to NC software 280 470-xx: 350 kHz Note Keep in mind the line count of the speed encoder when choosing the spindle motor:...
Page 120
White R– Black Black Green Green C– Brown Brown Gray Gray D– Pink Pink Do not assign Temperature– Violet Violet Hsg. Housing Hsg. External shield Hsg. Hsg. External shield Hsg. 3 – 38 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 121
X15 to X20, X62 to Pin layout: X64, X60: Inputs with EnDat interface Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” AK 336 376-xx VB 340 302-xx Male Assignment Female Color Female Male Color Female +5 V (U...
Page 122
The adapters adjust only the levels, not the signal shape. The contamination signal of the square-wave encoder cannot be evaluated. A square-wave signal can be subdivided no more than 4-fold. 3 – 40 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 123
Adapter connector Pin layout of D-sub connector (female) and D-sub connector (male): TTL (HEIDENHAIN)/ D-sub connctr. Assignment D-sub connctn. Assignment (female) 15-pin (male) 15-pin +5 V (U +5 V (U 0 V (U 0 V (U A– –U B– –U...
Page 124
+5 V (U +5 V (U 0 V (U 0 V (U 0°+ A– 0°– 90°+ B– 90°– +5 V +5 V R– R– Not assigned Not assigned Not assigned Not assigned 3 – 42 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 126
3.6 Connecting the Motor Power Module The LE 426 M and the LE 430 M can be operated with HEIDENHAIN and with non-HEIDENHAIN inverter systems. The LE 426 PB and the LE 430 PA can only be operated with non-HEIDENHAIN inverter systems.
Page 127
Pin layout of logic unit, connecting cable, and expansion board: Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” Logic unit Connecting cable Id. Nr. 289 208-xx Expansion board Id. Nr. 324 952-xx D-sub Assignment D-sub...
Page 128
0 V (–SH2) SH1B 0 V (SH1B) actl 1 –I actl 1 0 V (analog) actl 2 –I actl 2 0 V (analog) Do not assign Do not assign Temp. warning Ready 3 – 46 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 129
3.7 Analog Input The logic unit and the PLC input/output board PL 410B have analog inputs and inputs for Pt 100 thermistors. The PL 410B is available with and without analog inputs. The current values of the inputs can be requested with Module 9003. (See “Overview of Modules”...
Page 130
Do not assign Housing External shield X15 to X18: Analog Pin layout: input on the PL 410B Connecting Assignment terminals -10 V to +10 V 0 V (reference potential) Shield 3 – 48 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 131
X19 to X22: Pin layout: Connection for Pt 100 on the PL 410B Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” Connecting Assignment terminals I + Constant current for Pt 100 U + Measuring input for Pt 100 U –...
Page 132
The 0 V connections of the nominal-value-difference inputs must be connected with the signal ground. Cross section ≥ 6 mm Use only original HEIDENHAIN cables and connecting elements. 3 – 50 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 133
The following wiring plan is suggested for shielding the terminal box: Example for pin assignment in the terminal box: Connecting terminals Axis/Spindle Assignment Nominal value in X axis ±10 V Nominal value in Y axis ±10 V Nominal value in Z axis ±10 V Nominal value in axis 4 ±10 V Nominal value in axis 5 ±10 V Nominal value in...
Page 134
Analog output 2: 0 V Green Do not assign Analog output 3: 0 V Gray Analog output 4: 0 V Blue Analog output 6: 0 V Black Housing External shield Housing External shield 3 – 52 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 135
X9: Analog outputs For connecting cables, see “Cable Overview” at end of chapter. 7 to 13 Pin layout on logic unit and connecting cable: Logic unit Connecting cable D-sub Assignment D-sub Color connctn. connctr. (female) (male) 15-pin 15-pin Analog output 7: ±10 V Brown Analog output 13: ±10 V Brown/Green...
Page 137
3.9 Touch Probe Systems The following touch probes can be connected to the TNC: TS 220, a touch-trigger probe with cable connection for digitizing, workpiece setup and measurement during machining. TS 632, a touch-trigger probe with infrared transmission for workpiece setup and measurement during machining TT 130, a touch probe for tool presetting Measuring touch probe...
Page 138
White/ Brown Brown Gray Gray Yellow See TS 632 with Brown Brown EA 550 for the layout Blue Blue White White Green Green External Hsg. Hsg. Hsg. shield Hsg. Hsg. 3 – 56 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 139
3.9.2 Triggering Touch Probe for Tool Measurement X13: Connection of Pin layout of the logic unit: the touch probe Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” Pin layout on adapter cable and touch probe: AK 335 332-xx TT 130 296 537-xx...
Page 141
December 2001 Touch Probe Systems 3 – 59...
Page 142
Pink Pink Gray Blue Brown Signal Brown Blue 8 to 19, Do not 21 to 25 assign Housing Ext. Housing Ext. Housing Housing Housing Housing Ext. Housing shield shield shield 3 – 60 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 143
3.10.2 RS-422/V.11 Data Interface Please note: Maximum cable length 1000 m. To connect a peripheral device you must install an adapter cable either in the electrical cabinet or on the operating panel. See also “Dimensions” at the end of this chapter. For connecting cables, see “Cable Overview”...
Page 144
The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” RJ45 connection (female) 8-pin Assignment TX– REC+ Do not assign Do not assign REC – Do not assign Do not assign 3 – 62 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 146
3.11 Handwheel Input The following handwheels can be used with HEIDENHAIN contouring controls: HR 130 Panel-Mounted Handwheel HR 150 Panel-Mounted Handwheels via the HRA 110 handwheel adapter HR 410 Portable Handwheel X23: Handwheel Pin layout of the logic unit: input Note The interface complies with the requirements of EN 50 178 for “low...
Page 147
3.11.1 HR 410 Portable Handwheel The HR 410 is a portable electronic handwheel with the following functions: Keys for the selection of 5 axes Traverse direction keys Keys for 3 preset feed rates for latched traverse Actual-position-capture key 3 machine-function keys to be defined by the machine tool builder 2 permissive buttons EMERGENCY STOP button Holding magnets...
Page 149
3.11.2 HR 130 Panel-Mounted Handwheel Standard cable length for the HR 130 is 1 meter. Pin layout for extension cable and handwheel: Extension cable Id. Nr. 281 429-xx HR 130 Id. Nr. 254 040-xx D-sub cnnctr. Color D-sub connctr. D-sub cnnctr. Color (male) 9-pin (female)
Page 150
Pin layout on the HRA 110 for the HR 150: for HR 150 handwheels HRA 110 261 097-xx Connection (female) 9-pin Assignment – – – +5 V Internal shield Housing External shield 3 – 68 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 151
X23: Connection to Pin layout on the HRA 110: the logic unit HRA 110 261 097-xx D-sub connection (female) 9-pin Assignment + 12 V + 0.6 V (U Do not assign Housing External shield X31: Power supply Pin layout on the HRA 110: Warning The power supply of the PLC must not be used simultaneously for the HRA 110, otherwise the metallic isolation of the PLC inputs/outputs would...
Page 153
3.12 Input: Spindle Reference Signal If you have mounted a HEIDENHAIN rotary encoder directly on the spindle, i.e., without a mechanical transmission ratio, you must not connect this input. If you use the X30 input for evaluation of the reference signal, then adjust this function with MP3143.
Page 154
Connecting terminal Assignment +24 Vdc Do not assign Pin layout for logic units beginning with Id. Nr. xxx xxx-4x: Connecting terminal Assignment +24 Vdc 2 to 6 Do not assign 3 – 72 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 155
3.14 Switching Inputs 24 Vdc (PLC) 3.14.1 Input Signals and Addresses Input signals of the switching inputs on the LE and the PL 4xxB: Voltage range Logic unit PL 4xxB “1” signal: U 13 V to 30.2 V “0” signal: U -20 V to 3.2 V Current ranges Logic unit...
Page 156
0 V (PLC) Test output; Yellow/Pink do not assign 0 V (PLC) Test output; Violet do not assign 0 V (PLC) Test output; White do not assign Housing External shield Housing External shield 3 – 74 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 160
Logic unit X46 (machine operating panel) O32 to O62 First PLC input/output unit O64 to O94 Second PLC input/output unit O128 to O158 Third PLC input/output unit O160 to O190 Fourth PLC input/output unit 3 – 78 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 161
X41: PLC output on Pin layout on the LE: the logic unit Logic unit Connecting cable Id. Nr. 244 005-xx Id. Nr. 263 954-xx D-sub connctn. Assignment D-sub (female) connctr. 37-pin (male) 37-pin Supply via X44, pin 3; can be switched off with EMERGENCY STOP Gray/Red...
Page 162
Control is ready Brown Test output; do Yellow/Pink not assign Test output; do Violet not assign Test output; do White not assign Housing External shield Housing External shield 3 – 80 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 165
One PL can be mounted in the logic unit, additional PLs are mounted in the electrical cabinet. TNC 426 PB/M, TNC 430 PA/M: The PLs must be mounted separately in the electrical cabinet. The PL 410B is available with and without analog inputs.
Page 166
Serial OUT White/Pink Serial OUT Address 4 Black Address 4 Address 2 Gray Address 2 Address 0 White Address 0 Housing External Housing External shield Housing Housing External shield shield 3 – 84 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 167
X2: PLC expansion Pin layout of logic unit, connecting cable, and PL: PL 4xxB on the PL 410B PL 410B Connecting cable Id. Nr. 289 111-xx PL 4xxB D-sub Assignment D-sub D-sub D-sub Assignment cnnctr. cnnctr. cnnctr. cnnctn. (male) (female) (male) (female) 25-pin...
Page 169
3.17 Machine Operating Panel For machines with up to four axes, HEIDENHAIN offers the MB 420 machine operating panel. It is installed below the operating panel. There are two versions of the MB 420 available, one with a standard set of keys and the other with a set of keys to be selected and placed by the machine tool builder.
Page 170
Brown/Blue Via X4 Pink/Green Via X4 0 V (PLC) Brown 0 V (PLC) Yellow/Pink +24 V (PLC) Violet +24 V (PLC) White Housing External Housing External shield Housing Housing shield 3 – 88 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 174
Pin layout for the LE 426 CB/PB, LE 430 CA/PA with Id. Nr. xxx xxx-3x, the Unit BC 120 adapter, the connecting cable, and the visual display unit: Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” 3 – 92 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 175
Logic unit Adapter VL 312 878-xx BC 120 Id. Nr. xxx xxx-3x 313 434-02 D-sub Assignment 2-row/ D-sub D-sub D-sub connctn. 3-row connctr. connctr. connctr. (female) (male) (female) (male) 15-pin 15-pin 15-pin 15-pin 2-row 3-row 3-row 3-row Coax I red Do not Coax I green 2 assign...
Page 176
Coax S red Coax S GN Coax S blue Do not assign Gray Green Do not assign HSYNC Pink VSYNC Yellow Do not assign Housing External shield Housing External shield Housing Housing 3 – 94 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 177
X43: Visual display Pin layout for the LE 426 CB/PB, LE 430 CA/PA with Id. Nr. xxx xxx-3x and an unit BC 110B LE 426 M, LE 430 M, the connecting cable, and the visual display unit: Logic unit VB 250 477-xx BC 110B Id.
Page 178
VSYNC Yellow Do not assign Housing External Housing External Housing Housing Housing shield shield Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” 3 – 96 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 179
X49: BF 120 visual Pin layout for the logic unit, the connecting cable, and the visual display unit: display unit Note The interface complies with the requirements of EN 50 178 for “low voltage electrical separation.” Logic unit VB 312 876-xx VB 312 875-xx BF 120 D-sub...
Page 182
Signal at X3 Active keyboard Terminal 1 Terminal 2 At X4 +24 V At X5 X8: Supply voltage Pin layout on the BTS 120: for BTS 120 Connecting terminal Assignment +24 V 3 – 100 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 184
HEIDENHAIN supplies the optional PCBs separately. X14 Id.-Nr. 311 647 51 X38 Id.-Nr. 311 537 51 Id.-Nr. 294 130 51 Id.-Nr. 293 890 51 Danger The installation must be performed only by trained personnel. 3 – 102 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 185
3.22 Mounting the Optional PCBs in the LE 426 M, LE 430 M 3.22.1 Ethernet Interface Warning The installation must be performed only by trained personnel. December 2001 Mounting the Optional PCBs in the LE 426 M, LE 430 M 3 –...
Page 186
3.22.2 Digitizing with the Measuring 3-D Touch Probe Warning The installation must be performed only by trained personnel. 3 – 104 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 187
3.23 Dimensions Note All dimensions in [mm]. December 2001 Dimensions 3 – 105...
Page 188
3.23.1 LE 426 PB, LE 430 PA Weight: 8.8 kg 3 – 106 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 189
3.23.2 LE 426 CB, LE 430 CA Weight: 8.8 kg December 2001 Dimensions 3 – 107...
Page 190
3.23.3 LE 426 M, LE 430 M (Max. 6 Axes) Weight: approx. 8.5 kg 3 – 108 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 191
3.23.4 LE 430 M (Max. 9 Axes) Weight: approx. 9 kg December 2001 Dimensions 3 – 109...
Page 192
3.23.5 TE 420 Weight: 2.4 kg F: Front panel opening M: Mounting surface 3 – 110 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 193
3.23.6 MB 420 Weight: 0.9 kg F: Front panel opening M: Mounting surface December 2001 Dimensions 3 – 111...
Page 194
3.23.7 BC 120 Weight: 14 kg F: Front panel opening M: Mounting surface 3 – 112 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 195
3.23.8 BF 120 Weight: 3 kg F: Front panel opening M: Mounting surface December 2001 Dimensions 3 – 113...
Page 239
4 Machine Parameters 4.1 What is a Machine Parameter? ............4 – 3 4.2 Input and Output of Machine Parameters ........4 – 4 4.2.1 Input Format ................4 – 4 4.2.2 Activating the Machine Parameter List ........4 – 6 4.2.3 Changing the Input Values ............
Page 241
4 Machine Parameters 4.1 What is a Machine Parameter? A contouring control must have access to specific data (e.g., traverse distances, acceleration) before it can execute its programmed instructions. You define these data in machine parameters. This list of machine parameters is divided into groups according to topic. Machine parameters Topics 10 to 999...
Page 242
Each bit is assigned either to an axis or a function. 4.2 Input and Output of Machine Parameters If the machine parameters have not yet been entered in a HEIDENHAIN contouring control (e.g., before commissioning), the TNC presents the list of...
Page 243
Special case: Only for MP2020.x (linear distance of one motor revolution); starting with NC Entering a formula Software 280 476-01 also for MP7530.x (type of dimension for (As of NC software transformation). 280 472-01) You can enter a formula instead of a fixed value. When entering the formula, you must pay attention to the case of the letters (whether they are small or capital).
Page 244
END key, the TNC generates a standard machine parameter list (MP NAME). In this list the TNC is defined as a programming station with the HEIDENHAIN standard colors. In all other machine parameters a default value is entered.
Page 245
Manual input 7 7 7 7 Call the machine parameter editor through the MOD function ”code number”: • By entering the code number 95148, you gain access to the complete list of machine parameters. • By entering the code number 123, you gain access to a subset of machine parameters.
Page 246
4: Call was not in a submit or spawn job 5: Call during running program without strobe Error recognition: Marker Value Meaning M4203 MP was overwritten MP could not be overwritten 4 – 8 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 247
Module 9032 Read machine parameters With this module you can read the value of the given machine parameter from the active machine parameter file. The input value is transferred as a natural number with the decimal point shifted by the number of possible decimal places.
Page 248
7: MP is of the “string” type 8: No system memory Error recognition: Marker Value Meaning M4203 MP was read Error code in W1022 W1022 Module was not called in a spawn job or submit job 4 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 249
Module 9033 Select machine parameter file With this module you can select a new machine parameter file. If machine parameter files that set off a reset were changed, the control system will restart. Warning The module does not respect any existing safety problems when setting off a control reset (e.g., axes and spindle coasting to a stop).
Page 250
3: File is faulty / contains reset parameters 4: Incorrect string number was transferred (0 to 3) 5: Call was not in a submit job 6: Call during running program without strobe 4 – 12 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 251
4.3 List of Machine Parameters 4.3.1 Encoders and Machines Function and input Software Page version and behavior MP10 Active axes RESET 6 – 5 Format: %xxxxxxxxx Input: Bits 0 to 8 correspond to axes 1 to 9 0: Axis not active 1: Axis active MP20 Monitoring functions for the axes...
Page 252
X1 to X6 Bit 6 to bit 9: Position encoder inputs X35 to X38 With 1 V 0: 50 kHz 1: 350 kHz With 11 µA 0: 50 kHz 1: 150 kHz 4 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 253
Function and input Software Page version and behavior MP120.0-8 Assignment of speed encoder outputs to the axes 280 474-01 6 – 16 Input: 0: No servo-controlled axis RESET 1 to 6: Analog output 1 to 6 at terminal X8 7 to 13: Analog output 7 to 13 at terminal X9 51 to 59: Digital output X51 to X59 MP120.0-8...
Page 254
1 to 9 Input: 0.000 000 to 99.999 999 [mm] (digital: 0) MP720.0-8 Linear axis error compensation for axes 1 to 9 6 – 38 Input: -1 000 to +1.000 [mm/m] 4 – 16 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 255
Function and input Software Page version and behavior MP730 Selection of linear/nonlinear axis error compensation 6 – 38, 6 – 43 Format: %xxxxxxxxx Input: Bits 0 to 8 correspond to axes 1 to 9 0: Linear axis error compensation 1: Nonlinear axis error compensation MP750.0-8 Backlash in axes 1 to 9 6 –...
Page 256
Machine datum for axes 1 to 9 6 – 102, 6 – 224 Input: -99 999.9999 to +99 999.999 [mm] or [°] Values with respect to the scale reference point 4 – 18 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 257
4.3.2 Positioning Function and input Software Page version and behavior MP1010.0-8 Rapid traverse in axes 1 to 9 6 – 128 Input: 10 to 300 000 [mm/min] MP1020.0-8 Manual feed rate for axes 1 to 9 6 – 128 Input: 10 to 300 000 [mm/min] MP1030.0-8 Positioning window...
Page 258
Threshold from which movement monitoring is effective for 6 – 161 axes 1 to 9 Input: Analog axes: 0.030 to 10.000 [V] Digital axes: 0.030 to 10.000 [1000 min] Recommended: 0.030 [1000 min] 4 – 20 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 259
Function and input Software Page version and behavior MP1150 Delay time for erasing the nominal velocity value with the 6 – 130, erasable error message: EXCESSIVE SERVO LAG IN <AXIS> 6 – 157, 6 – 160 Input: 0 to 65.535 [s] Recommended: 0 s MP1150.0 Delay time for erasing the nominal velocity value with the...
Page 260
1: Operation with velocity feedforward control MP1396.0-8 Feedback control with velocity semifeedforward 280 476-09 6 – 127 for axes 1 to 9 Input: 0.001 to 0.999 1: Velocity feedforward control 4 – 22 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 261
4.3.3 Operation with Velocity Feedforward Control Function and input Software Page version and behavior MP1410.0-8 Position monitoring for operation with velocity feedforward 6 – 159 (erasable) for axes 1 to 9 Input: 0.0010 to 30.0000 [mm] Recommended: 0.5 mm MP1420.0-8 Position monitoring for operation with velocity feedforward 6 –...
Page 262
Multiplier for the k factor for axes 1 to 9 6 – 129 Input: 0.001 to 1.00000 MP1830.0-8 Kink point for axes 1 to 9 6 – 129 Input: 0.000 to 100.000 [%] 4 – 24 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 263
0: 2 [s] MP2180.0-8 PWM frequency of the axes 280 472-07 6 – 467 Input: 3000 to 7000 [Hz] 0 = 5000 Hz (for HEIDENHAIN inverters) MP2181 PWM frequency of the spindle 280 476-19 6 – 467 Input: 3000 to 7000 [Hz]...
Page 264
MP2360.0-8 Time constant for braking axes 1 to 8 or the second spindle 280 474-10 6 – 198 in an emergency stop Input: 0.01 to 5.00 [s] 0: Function inactive 4 – 26 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 265
Function and input Software Page version and behavior MP2361 Time constant for braking the first spindle in an emergency 280 474-10 6 – 198 stop Input: 0.01 to 5.00 [s] 0: Function inactive MP2391 Maximum power for braking the first spindle in an 280 474-10 6 –...
Page 266
Band-rejection filter damping for axes 1 to 8 6 – 137 Input: 0.0 to 18.0 [dB] MP2541 Band-rejection filter damping of the spindle 6 – 212 Input: 0.0 to 18.0 [dB] 4 – 28 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 267
Function and input Software Page version and behavior MP2550.0-8 Band-rejection filter center frequency for axes 1 to 8 6 – 137 Input: 0.0 to 999.9 [Hz] MP2551 Band-rejection filter central frequency of the spindle 6 – 212 Input: 0.0 to 999.9 [Hz] MP2560.0-8 Low-pass filter for axes 1 to 9 280 474-07...
Page 268
1: Master and slave axes have identical motors MP2930.0-8 Speed rating factor of the torque-master-slave control 280 474-04 6 – 97 (entry for the slave axis) Input: -100.00 to +100.00 [%] 4 – 30 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 269
4.3.6 Spindle Function and input Software Page version and behavior MP3010 Output of speed, gear range 6 – 180 Input: 0: No output of spindle speed RESET 1: Speed code if the speed changes 2: Speed code at every TOOL CALL 3: Nominal speed value always, G code if the gear range shifts 4: Nominal speed value always,...
Page 270
1 to 8 Input: 0 to 100 000 [V] Digital spindle: motor revolutions at rated speed for the gear ranges 1 to 8 Input: 0 to 100.000 [1000 rpm] 4 – 32 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 271
Function and input Software Page version and behavior MP3240.1 Analog spindle: Minimum nominal value voltage 6 – 187, 6 – 188 Input: 0 to 9.999 [V] Digital spindle: Minimum motor speed Input: 0 to 9.999 [1000 rpm] MP3240.2 Analog spindle: Spindle jog voltage for gear shifting (M4009/M4010) Input: 0 to 9.999 [V]...
Page 273
4.3.7 Integral PLC Function and input Software Page version and behavior MP4020 PLC compatibility with TNC 415 / TNC 425 RESET 6 – 394, 6 – 130, Format: %xxxxxxxxxxx 6 – 216, Input: Bit 0 = Change words (W1024 and subsequent) 6 –...
Page 274
7 – 37 Input: -99 999.9999 to +99 999.9999 MP4310.0-6 Setting a number in the PLC (W976 to W988, M4300 to 7 – 37 M4411) Input: 10 to 30 000 4 – 36 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 275
4.3.8 Configuration of the Data Interface Function and input Software Page version and behavior MP5000 Disable data interfaces 8 – 15 Input: 0: No interface disabled 1: RS-232-C/V.24 interface disabled 2: RS-422/V.11 interface disabled MP5020 Configuration of the data interface PLC, CN123 8 –...
Page 277
4.3.9 3-D touch probe Function and input Software Page version and behavior MP6010 Selection of the touch probe PLC, CN123 6 – 346 Input: 0: Touch probe with cable transmission 1: Touch probe with infrared transmission MP6120 Probing feed rate (triggering touch probe) PLC, CN123 6 –...
Page 278
MP6182.1 Y coordinate MP6182.2 Z coordinate MP6185 Distance of probing point below ring top surface during 280 472-05 6 – 353 calibration PLC, CN123 Input: +0.001 to +99 999.9999 [mm] 4 – 40 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 279
4.3.10 Digitizing with TS (option) Function and input Software Page version and behavior MP6200 Selection of triggering or measuring touch probe (only with PLC, CN123 6 – 346, “digitizing with measuring touch probe” option) 6 – 368 Input: 0: Triggering touch probe (e.g. TS 220) 1: Measuring touch probe MP6210 Number of oscillations in normal direction per second...
Page 281
4.3.12 Tool measurement with TT Function and input Software Page version and behavior MP6500 Tool measurement with TT 130 6 – 370, 6 – 371, Format: %xxxxxxxxxxxxxxx 6 – 373, Input: Bit 0 – Cycles for tool measurement 6 – 375, 0: Disabled 6 –...
Page 282
1: Tool is measured in a different tilt position Bit 14 – Tool measurement with number of teeth 0 0: Tool measurement with rotating spindle 1: Tool measurement with stationary spindle 4 – 44 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 283
Function and input Software Page version and behavior MP6505 Probing direction for tool radius measurement for 3 traverse PLC, CN123 6 – 372 ranges Input: 0: Positive probing direction of the angle reference axis (0° axis) 1: Positive probing direction in the +90° axis 2: Negative probing direction in the angle reference axis (0°...
Page 284
PLC, CN123 6 – 371 measurement Input: -1: Spindle orientation directly by NC 0: Function inactive 1 to 999: Number of the M function for spindle orientation by the PLC 4 – 46 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 285
Function and input Software Page version and behavior MP6570 Max. permissible surface cutting speed at the tooth edge PLC, CN123 6 – 376 Input: 1.0000 to 129.0000 [m/min] MP6572 Maximum permissible speed during tool measurement 280 476-09 6 – 376 Input: 1 to 1000 [rpm] PLC, CN123...
Page 286
Bit 2 – Spindle in position feedback control 0: Spindle operated without position feedback control 1: Spindle operated with position feedback control Bit 3 – IPC and acceleration feedforward control 0: Active 1: Not active 4 – 48 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 287
Format: %xxxxxxxx Input: 0: Do not disable 1: Disable Bit 0 - HEIDENHAIN programs .H Bit 1 – ISO programs .I Bit 2 – Tool tables .T Bit 3 – Datum tables .D Bit 4 – Pallet tables .P Bit 5 – Text files .A Bit 6 –...
Page 288
Time difference to Universal Time (Greenwich Mean Time) PLC, CN123 6 – 332 Input: -23 to +23 [hours] 0: Universal Time (Greenwich Mean Time) 1: Central European Time (CET) 2: Central European daylight-saving time 4 – 50 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 289
Function and input Software Page version and behavior MP7237 Displaying and resetting the operating times 6 – 329 MP7237.0 Display PLC operating times Input: Bits 0 to 7 represent PLC operating times 1 to 8 0: Do not display 1: Display MP7237.1 Resetting PLC operating times with the code number 857282...
Page 291
Function and input Software Page version and behavior MP7290.0-8 Position display step for axes 1 to 9 PLC, CN123 6 – 231 Input: 0: 0.1 mm or 0.1° 1: 0.05 mm or 0.05° 2: 0.01 mm or 0.01° 3: 0.005 mm or 0.005° 4: 0.001 mm or 0.001°...
Page 292
0 to 9999.00 (no. of the user parameter) MP7340.0-15 Dialog messages for user parameters 1 to 16 6 – 323 Input: 0 to 4095 (line number of the PLC dialog message file) 4 – 54 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 293
4.3.15 Colors Function and input Software Page version and behavior MP7350 Window frames 6 – 225 MP7351 Error messages 6 – 225 MP7352 “Machine” operating mode display 6 – 225 MP7352.0 Background MP7352.1 Text for operating mode MP7352.2 Dialog MP7353 “Programming”...
Page 295
Function and input Software Page version and behavior MP7366 Pop-up window (HELP key, pop-up menus etc.) 6 – 227 MP7366.0 Background MP7366.1 Text or foreground MP7366.2 Active line MP7366.3 Title bar MP7366.4 Scroll-bar field MP7366.5 Scroll bar MP7366.6-14 Reserved MP7367 Large PLC window 6 –...
Page 296
1: Tool moves only in the tool axis to the clearance height MP7430 Overlap factor for pocket milling PLC, CN123 6 – 291 Input: 0.001 to 1.414 4 – 58 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 297
Function and input Software Page version and behavior MP7431 Arc end-point tolerance PLC, CN123 6 – 326 Input: 0.0001 to 0.016 [mm] MP7440 Output of M functions PLC, CN123 6 – 47, 6 – 123, Format: %xxxxxxx 6 – 125, Input: Bit 0 –...
Page 298
PLC, CN123 Input: 0 to 300 000 [mm/min] MP7475 Reference for datum table PLC, CN123 6 – 302 Input: 0: Reference is workpiece datum 1: Reference is machine datum (MP960.x) 4 – 60 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 299
Function and input Software Page version and behavior MP7480 Output of the tool or pocket number 6 – 423 MP7480.0 With TOOL CALL block Input: 0: No output 1: Output of the tool number only when tool number changes 2: Output of the tool number with every TOOL CALL block 3: Output of the tool and pocket number only when tool number changes...
Page 300
0: The mechanical offset when changing the spindle head when calling M128, M114 or “tilted working plane” is compensated for 1: Mechanical offset during PLC datum shift is compensated for 4 – 62 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 301
Function and input Software Page version and behavior MP7500 Tilting working plane 6 – 81 Format: %xxxxxxxxx Bit 5 – 0: The active tilting-axis position, with respect to the machine datum, is included. 1: The tilting-axis position, which is entered with the 3D ROT soft key, is used. Bit 6 –...
Page 302
Transformation 1 to transformation 15 MP7550 Home position of the tilting element 280 474-01 6 – 82 Input: -99 999.9999 to +99 999.9999 MP7550.0 A Axis MP7550.1 B Axis MP7550.2 C Axis 4 – 64 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 303
4.3.17 Hardware Function and input Software Page version and behavior MP7600.0 Position controller cycle time = MP7600.0 · 0.6 ms 280 474-07 6 – 121 Input: 1 to 20 RESET (Proposed input value: 5) MP7600.1 PLC cycle time = position controller cycle time · MP7600.1 6 –...
Page 304
16: Axis V (MP410.4) MP7645.2 Assignment of a third handwheel via axis selector switch or MP7645.1 Input: 0: Assignment by axis selection switch according to MP7645.0 1: Assignment by MP7645.1 MP7645.3-7 No function 4 – 66 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 305
Function and input Software Page version and behavior MP7650 Counting direction for handwheel from 6 – 381 280 474-07 Format: %xxxxxxxxx bit-coded Input: 0: Negative counting direction 1: Positive counting direction MP7660 Threshold sensitivity for electronic handwheel 6 – 381 Input: 0 to 65 535 [increments] MP7670...
Page 306
Bit 7 – Inserting a defined rounding arc or spline 0: Defined rounding arcs are always inserted 1: Defined rounding arcs are always inserted if the acceleration from MP1060.x or MP1070 was exceeded 4 – 68 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 307
Function and input Software Page version and behavior MP7680 Machine parameter with multiple function 6 – 153, 6 – 155, Format: %xxxxxxxxxxxxx 6 – 293, Bit 8 – Inserting a rounding arc or 6 – 295, cubic spline 6 – 344, 0: Rounding arc is inserted 6 –...
Page 308
Bit 4 – Editing the active pallet table 0: Active pallet table cannot be edited 1: In the operating modes PROGRAM RUN, FULL SEQUENCE and PROGRAM RUN, SINGLE BLOCK, the active pallet table can be edited 4 – 70 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 309
Function and input Software Page version and behavior Bit 5 – AUTOSTART soft key 0: Do not display soft key 1: Display soft key Bit 6 – Display of pallet table and NC program 0: Both simultaneously in a split screen 1: Pallet table or NC program individually Bit 7 –...
Page 311
5 Modules, Markers and Words 5.1 Overview of Modules ..............5 – 3 5.2 Overview of Markers and Words..........5 – 10 December 2001 5 – 1...
Page 313
5 Modules, Markers and Words 5.1 Overview of Modules Module Function SW Vers. Page 9000/ Copy in the marker or word range 7 – 177 9001 9002 Reading all inputs of a PLC input/output 6 – 390 unit 9003 Reading in analog inputs 6 –...
Page 314
Erasing a line in the tool table 6 – 409 9097 Selecting the geometry description 280 476-03 6 – 66 9098 Finding the active geometry description 280 476-05 6 – 67 5 – 4 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 315
Module Function SW Vers. Page 9100 Assign data interface 8 – 31 9101 Release data interface 8 – 32 9102 Status of data interface 8 – 32 9103 Transmit string through data interface 8 – 33 9104 Receive string through data interface 8 –...
Page 316
6 – 267 9215 Activating a PLC pop-up window 6 – 279 9220 Renewed traversing of the reference 6 – 103 marks 9221 Starting a PLC positioning movement 6 – 34 5 – 6 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 317
Module Function SW Vers. Page 9222 Status request of PLC positioning 6 – 34 movement 9223 Free rotation 6 – 234 9225 Compensation value for the reference 280 474-04 6 – 99 mark 9230 Datum shift 6 – 399 9231 Compensation of thermal expansion 6 –...
Page 318
280 476-07 6 – 413 9310 Read the machine parameter from the run- 280 476-06 4 – 10 time memory 9320 Status of the NC program end 280 476-06 6 – 246 5 – 8 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 319
December 2001 Overview of Modules 5 – 9...
Page 320
6 – 186 position encoder on the spindle 4030 Cycle 2 or Cycle 17 active 6 – 207, 6 – 211 4031 Cycle 17 or Cycle 18 active 6 – 211 5 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 321
Marker Description Reset SW Vers. Page 4040 Status display M07, M08, and M09 6 – 238 highlighted 4041 Status display M07, M08, M09, MK 6 – 238 4042 Status display M07, M08, M09, MK 6 – 238 4050 Touch probe not ready, ready signal is 6 –...
Page 322
4177 Erasable error message is displayed 6 – 173 4178 Error message EMERGENCY STOP is 6 – 173 displayed 4179 Control is shut down 280 474-15 6 – 249 5 – 12 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 323
Marker Description Reset SW Vers. Page 4180 Rapid traverse programmed (FMAX) 6 – 237 4181 NC program selected 280 476-01 6 – 245 4182 AUTOSTART active 280 476-17 6 – 247 4183 Time from AUTOSTART expired 280 476-17 6 – 247 4200 Overflow during multiplication 7 –...
Page 324
Open all position control loops, NC stop, 6 – 130 activate “Approach position” 4586 Enable AUTOSTART 280 476-03 6 – 247 4587 Feed rate limit exceeded F MAX 280 476-09 6 – 128 5 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 325
Marker Description Reset SW Vers. Page 4590 Status fast PLC input from MP4130.2 7 – 21 4591 Status fast PLC input from MP4130.3 7 – 21 4592 Status fast PLC input from MP4130.4 7 – 21 4593 Status fast PLC input from MP4130.5 7 –...
Page 326
Traverse direction for free rotation 6 – 235 Enabling the high-speed PLC inputs 6 – 157 Double word with multiple function, here 6 – 399 data for transfer from PLC to NC 5 – 16 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 327
Marker Description Reset SW Vers. Page 528-544 Target position for PLC positioning 6 – 35 Datum shift for axis 1 6 – 399 Datum shift for axis 2 6 – 399 Datum shift for axis 3 6 – 399 Datum shift for axis 4 6 –...
Page 335
6 Machine Integration 6.1 Machine Axes 6.1.1 Selecting the Axes With MP10 you define which machine axes are to be operable. The bits may be changed during the run-time without a control reset. However, the bits to be changed must have been set before the control was switched on.
Page 336
The directions of the rotary axes A, B and C follow the “right-fist rule.” The fingers of the closed right hand point in the proper rotational direction of an axis when the thumb points in the direction of the associated linear axis: 6 – 6 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 337
Secondary linear The secondary linear axes U, V and W are parallel to the principal axes axes X, Y and Z. December 2001 Machine Axes 6 – 7...
Page 338
6.1.3 Encoders Position encoders report positions and movements of the machine to the control. HEIDENHAIN contouring controls work with incremental position encoders. The TNC 426 M and TNC 430 M contouring controls are also compatible with encoders with an EnDat interface.
Page 339
Example: LS 486C: Incremental linear encoder with distance-coded reference marks, grating period 20 µm (= one signal period covers 0.02 mm), nominal increment between reference marks is 20 mm. MP331.x = 0.02 MP332.x = 1 20 mm ---------------------------- MP334.x = =1000 (or 0) 0.02 mm MP331.0-8...
Page 340
The counting direction of the speed encoder signals is defined in the motor table (DIR column). If the error message C3B0 Motor <AXIS> does not rotate appears, you must change this value. 6 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 341
Encoder monitoring HEIDENHAIN contouring controls monitor the signal transmission from the encoders. With machine parameters MP20.x and MP21.x, you activate the monitoring function for the position encoders. The following criteria are checked: Criterion Error message Absolute position with distance- Encoder <AXIS> DEFECTIVE...
Page 343
<axis> appears. Warning If you use the HEIDENHAIN standard motor table motor.mot and motors with EnDat encoders, you must change the entry for the motor in the SYS column (Type of encoder) of the motor table or enter a new motor.
Page 344
Z1 track, and tries to read the track. If this is not possible, for example because it is actually an encoder with EnDat interface, the error message C3F0 DSP error in axis <axis> appears. 6 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 345
6.1.4 Assignment Axes With the following machine parameters you assign the position and speed encoder inputs or speed command outputs to the individual axes. If MP120.x = 0, then the axis will only be displayed. Digital axes: If MP110.x = 0, then the speed encoder (with or without EnDat interface) is also used for position control.
Page 346
A7 to A13: Analog outputs 7 to 13 at terminal X9 D1 to D6: Digital axes 1 to 6 Note NC software 280 470-xx: Only the values from 0 to A13 are permissible. Digital axes are entered in MP2000. 6 – 16 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 347
Spindles All position encoder inputs may be used for the spindle/spindles. The possible groupings of speed encoder inputs and nominal speed value outputs can be seen in the following tables: LE 426 PB/M, 12 000 rpm First spindle Second spindle Speed Nominal value Speed...
Page 348
A7 to A13 or 7 to 13: Analog outputs 7 to 13 at terminal X9 S1: Digital spindle Note Only the values from 0 to A13 are permissible. Enter the digital spindle in MP2001. 6 – 18 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 350
See table above 9038 B/W/D <Information> Error recognition: Marker Value Meaning M4203 Information was read Error code in W1022 W1022 Status information not available on this TNC Axis does not exist 6 – 20 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 351
Current tool axis You can define the current tool axis in two ways in the NC block: In the HEIDENHAIN conversational dialog with TOOL CALL In ISO programming with G17 to G20 In the PLC you can interrogate the current tool axis via marker:...
Page 352
You may only use the traverse range switching function via M4574 and M4575 during an M/S/T/Q strobe in all operating modes (except for Manual Operation and El. Handwheel). M4574 M4575 Traverse range/Datum Area 1 Area 2 Area 3 6 – 22 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 353
Reset M4574 Select the traverse range (with M4575) M4575 Select the traverse range (with M4574) M4135 Strobe marker for selecting the traverse range Module 9151 Selecting traverse range and axis designation As of NC software: 280 472-01 With Module 9151 you can select the traverse range and the axis designation in one step.
Page 354
For the axis assignment, axis display or key configuration, neither a string nor –1 was transferred The module was called during a running program or without an M/S/T/T2/Q strobe 6 – 24 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 355
Setting the With the following machine parameters, you can set the software limit software limit switches for the various ranges of traverse. The position values are with switches respect to the machine datum. Ranges of traverse 2 and 3 do not become effective until they are activated by M4574, M4575 and M4135 or with Module 9151 or 9152: Note...
Page 356
W1056 Lubrication pulse: Value in MP4060 exceeded Bits 0 to 8 represent axes 1 to 9 W1058 Resetting the accumulated distance Bits 0 to 8 represent axes 1 to 9 6 – 26 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 358
"-". MP100 Designation of axes Format: XYZABCUVWxyzabcuvw- Input: Bits 0 to 8 correspond to axes 1 to 9 MP100.0 Traverse range 1 MP100.1 Traverse range 2 MP100.2 Traverse range 3 6 – 28 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 359
Module 9120 Starting a PLC axis This module starts positioning a PLC axis regardless of other processes in the control. Conditions: Status changes through a PLC positioning command are not detected until the next PLC scan. The axis must be activated in MP10 and identified in MP100 as a PLC axis. Traverse over the software limit switches is not checked.
Page 360
0: Close-loop axis was programmed 1: Axis programmed which was switched to open-loop in Module 9155 Bit 6 – Target position reached? 0: Target position not yet reached 1: Target position reached 6 – 30 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 361
Module 9123 Traversing the reference marks of PLC axes Traverse the reference marks as for NC axes. You can use the same procedure to traverse a reference mark for PLC axes as for NC axes. Use Module 9123 only if no conventional procedure is possible.
Page 362
B/W/D <Error code> 0: Positioning is canceled 1: Axis does not exist 2: Not a PLC axis 3: Axis was already stationary 4: Axis is not a Hirth axis (MP420.x) 6 – 32 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 363
6.3 PLC Positioning You can position the axes and also the main spindle directly through the PLC. ((See “Spindle” on page 6 – 180).) Prerequisites The following constraints apply to a PLC positioning command: It is possible in the Manual and Handwheel modes only while there is no positioning movement.
Page 364
2: PLC positioning was started 3: Due to cancellation, target position not attained 4: Target position is outside of traverse range 5: Positioning not possible (e.g. due to “free rotation”) 6 – 34 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 365
PLC positioning To ensure compatibility, a PLC positioning command is permissible for axes through markers 1 to 9 with M4120 to M4128, D528 to D544 and W560 to W568. Software and words limit switches are ignored! Programming: 7 7 7 7 Enter the target position in the double words D528 to D544 in the unit [0.0001 mm].
Page 366
In MP710, enter the value that the TNC should add to or subtract from the encoder signal after a reversal in direction. MP710.1-8 Backlash compensation for axes 1 to 9 Input: -1.0000 to +1.0000 [mm] or [°] 6 – 36 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 367
Cause within the control loop Note Available as of NC software 280 470-08 and 280 472-01! If axis movement is measured with a linear encoder, the TNC can compensate the play between the motor and the table. At the same time, the reversal spikes during circular movements are compensated: machine parameters MP711 to MP716 for “Compensation of reversal spikes”...
Page 368
MP730 Selection of linear/nonlinear axis error compensation Format: %xxxxxxxxx Input: Bits 0 to 8 correspond to axes 1 to 9 0: Linear axis error compensation 1: Nonlinear axis error compensation 6 – 38 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 369
(e.g. temperature) can cause nonlinear axis errors. These graphics show typical nonlinear axis errors: The best way to measure nonlinear axis error is with a comparator measuring system such as the HEIDENHAIN VM 101. Note The TNC can compensate screw-pitch error and axis sag simultaneously.
Page 370
• Total maximum of 1280 compensation points 7 7 7 7 To enter compensation values: Enter only the break points of the error trace. The TNC interprets linearly between the break points. 6 – 40 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 371
Example The following dependencies apply for axes 2 = Y and 3 = Z: Ballscrew pitch error in Z and Y: Z = F(Z) and Y = F(Y) Axis sag in Z depending on Y Traverse range: Z = 800 mm, Y = 500 mm Datum point of compensation values: Z = –200 mm, Y = –90 mm Desired spacing of compensation points: 7 mm Calculations:...
Page 372
Entry in the configuration file for axes 2 = Y and 3 = Z: Compensation-value table valid for 20° = AXIS-Y.COM and AXIS -Z.COM Compensation-value table valid for 35° = AXIS -YT.COM and AXIS -ZT.COM 6 – 42 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 373
MP730 Selection of linear/nonlinear axis error compensation Format: %xxxxxxxxx Input: Bits 0 to 8 correspond to axes 1 to 9 0: Linear axis error compensation 1: Nonlinear axis error compensation Module 9095 Select active line in configuration file Call: B/W/D/K <Active line> 9095 B/W/D <Error code>...
Page 374
Temperature input at X48 [0.5 °C] Inputs 1 to 3 W576 - 584 Lag-tracking axis error compensation For axes 1 to 5 Input: –32 768 to +32 767 [1/10 µm] 6 – 44 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 375
Module 9231 Compensation of thermal expansion With Module 9231, thermal expansion can be compensated by transferring the axis number and a compensation value. Call: B/W/D/K <Axis> Axis 0 to 8 B/W/D/K <Compensation value> Range: –30 000 to +30 000 [1/10µ] 9231 Error recognition: Marker...
Page 376
6.4.5 Compensation of Reversal Spikes during Circular Traverse The static friction in the axis bearings during circular movement can lead to reversal spikes at the quadrant transitions. With the HEIDENHAIN KGM grid encoder and the ACCOM evaluation software you can measure the size and duration of the spikes.
Page 377
Compensation Digital axes: Compensate friction in the range of the speed controller (MP2610 to MP2620). Do not compensate with MP711 to MP716. (See “Compensation of Sliding Friction (Only for Digital Axes)” on page 6 – 50). Analog axes: If you have compensated the backlash with MP750, there should be no more reversal spikes.
Page 378
------------------------------ - MP1512.x MP1512.x = limitation of the amount of the static friction compensation [counting steps] = limit value for ∆s [µm] agrenz TP = grating period of the encoder [µm] 6 – 48 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 379
Compensation The compensation must be effective only at low feed rates, otherwise the nominal value increase will cause vibration at high velocity: 7 7 7 7 In MP1511.x, enter a factor for static friction compensation (approximate value: 5000 to 10 000). 7 7 7 7 In MP1512.x, enter a limit for the amount of the static friction compensation (approx.
Page 380
0: No friction compensation (or axis is analog) MP2620.0-8 Friction compensation at rated speed for axes 1 to 9 Input: 0 to 30.0000 [A] 0: No friction compensation (or axis is analog) 6 – 50 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 381
December 2001 Axis Error Compensation 6 – 51...
Page 382
MP7510.5 = %001000 ; Rotate about A axis MP7510.6 = %000001 ; Shift in X axis MP7510.7 = %010000 ; Free tilting axis B MP7510.8 = %000000 ; End transformation 6 – 52 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 383
Step 1a Bring tilting axes B and C into 0° position Probe surface X1 Set X = 0 Step 1b Probe surface Z Set Z = 0 December 2001 Tilting Axes 6 – 53...
Page 384
Step 2 Position C = 180 Probe surface Z MP7530.0 = determined value – probe length + ball radius Step 3 Probe surface X1 MP7530.1 = -0.5 * determined value 6 – 54 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 385
Step 4a Position C = 0 Probe surface X2 L = determined value Step 4b Position B = -90 Probe surface X1 ∆X1 = determined value Position B = +90 Probe surface X2 ∆X2 = determined value MP7530.3 = {[0.5 * (∆X2 – ∆X1 – L – 2*(probe length) + 2*(ball radius))] – MP7530.0} / cos 45° December 2001 Tilting Axes 6 –...
Page 386
MP7530.3 should be determined with a different process (steps 6 to 8), and the averages from both processes should be entered in MP7530.0 and MP7530.3. Step 6 Probe surface Y2 Set Y = 0 6 – 56 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 387
Step 7 Position C = 180 Probe surface Y2 ∆Y2 = determined value Z1 = ∆Y2 – probe length + ball radius If there is a difference between MP7530.0 and Z1, then MP7530.0 = 0.5 * (MP7530.0 + Z) Step 8 Position C = 0 Position B = –90 Probe surface Z...
Page 388
; Shift in Y axis MP7510.5 = %100000 ; Free tilting axis C MP7510.6 = %000000 ; End transformation Step 1a Determining the Y offset: Position A = –90 Set dial indicator to 0 6 – 58 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 389
Step 1b Determining the Y offset: Position A = +90 Offset = 0.5 * determined value If the determined value > 0, then MP7530.1 = – offset If the determined value < 0, then MP7530.1 = – offset Step 1c Checking the settings: Activate 3-D ROT Position A = +90...
Page 390
Position A = 0 Position C = 0 and set C = 0 Position C = 180 Read Y offset from the dial indicator MP7530.4 = (0.5 * (determined value)) – MP7530.1 6 – 60 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 391
Step 4 Determining the X offset: Position C = –90 and set C = 0 Position C = 180 Read X offset from the dial indicator MP7530.3 = 0.5 * determined value December 2001 Tilting Axes 6 – 61...
Page 392
M128, M114 or “tilted working plane” is called. You can also use functions M144 or M145; (See “Miscellaneous function M144/M145” on page 6 – 84). 6 – 62 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 393
Describing the In order to manage several descriptions of the mechanical offset, e.g. when mechanical offset swivel heads are changed, the descriptions can be saved in tables. A with tables description is activated either by the PLC or the NC. Two types of tables are required: Assignment table Each row corresponds to one description (row 0 = description no.
Page 394
Note The active description table is indicated with the status “M” in program management. Assignment table Description tables 6 – 64 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 395
Example: This example shows an assignment table for three description tables. The double swivel head 45° from example 2 was entered in the description table. Assignment table KINEMATIC.TAB MP7500 FILE MPFILE PLC:\KINEMAT1.TAB PLC:\KINEMAT2.TAB PLC:\KINEMAT3.TAB [END] Description table KINEMAT1.TAB MP7510 MP7520 MP7530 TEMPCOMP MP7550 +150.5...
Page 396
Error in the MP7500 column Error in the machine parameter subfile Module was not called in a spawn job or submit job Call was made during a running NC program without a strobe 6 – 66 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 397
Module 9098 Finding the active geometry description Module 9098 can find the name of the active description table and/or line number in the assignment table. Call: B/W/D/K <String number for table name> 0 to 7: String number (line number is also found) –1: Find only line number, no name 9098 B/W/D...
Page 398
Example 1: Rectangular double swivel head = 200.4 mm = 3.1 mm = 201.5 = 1.9 mm 1 to 4: Sequence of transformations 6 – 68 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 399
MP 7510.0 : %000100 ;Shift in Z axis (Z1) MP 7510.1 : %000010 ;Shift in Y axis (Y1) MP 7510.2 : %001000 ;Free tilting axis A MP 7510.3 : %000001 ;Shift in X axis (X1) MP 7510.4 : %000100 ;Shift in Z axis (Z2) MP 7510.5 : %010000 ;Free tilting axis B...
Page 400
Example 2: Double swivel head 45° = 150.5 mm = 251.5 mm = 45° = 45° = 1.2 mm = 0.8 mm 1 to 6: Sequence of transformations 6 – 70 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 401
MP 7510.0 : %000100 ;Shift in Z axis (Z1) MP 7510.1 : %000001 ;Shift in X axis (X1) MP 7510.2 : %001000 ;Rotate the coordinate system about axis A (A1) MP 7510.3 : %000100 ;Shift in Z axis (Z2) MP 7510.4 : %100000 ;Free tilting axis C MP 7510.5...
Page 402
Coordinates (with respect to machine datum) of the center of rotation of table C when all tilting axes are in their home position: = 420.0 mm = 151.2 mm = –395.4 mm 6 – 72 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 403
MP 7510.0 : %000001 ;X coordinate of the center of rotation of axis C MP 7510.1 : %000010 ;Y coordinate of the center of rotation of axis C MP 7510.2 : %000100 ;Z coordinate of the center of rotation of axis C MP 7510.3 : %100000 ;Free tilting axis C...
Page 404
If the front part of the spindle gets warmer by 40 K, it results in a spindle length growth of – 1 ∆l ⋅ ⋅ ⋅ 300 mm 40 K 11.5 10 --- - 0.138 mm 6 – 74 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 405
Constraints on the Maximum length of a formula: 31 characters entry of a formula Maximum of 16 variables per formula Mathematical operations in lowercase letters, variables in uppercase letters The following operations are permitted in a formula: • Addition + •...
Page 406
7 7 7 7 Switch on drive for the new axis/axes. 7 7 7 7 After the drive has been switched on, the affected motors should make at least one revolution. 6 – 76 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 407
6.5.5 “Tilt Working Plane” Feature The user defines the position of the working plane in Cycle 19, “Tilted Working Plane.” Then the TNC performs a coordinate transformation. With the 3D ROT soft key you can activate the tilted working plane separately for the MANUAL and PROGRAM RUN operating modes.
Page 408
“tilted working plane” is inactive. This allows a workpiece to be aligned, a datum to be set, “tilt working plane” to be activated, and a new datum to be set in the “tilted working plane.” 6 – 78 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 409
MP7500 bit 8 = 0 During “datum setting” for X, Y and Z, the position of the tilting axes depending on bit 3, bit 5 and bit 7 are considered when “tilted working plane” is active (1). The reference coordinates of the linear axes are maintained when “tilted working plane”...
Page 410
Double swivel head 45° and rotary table as of NC software 280 474-05: axis sequence A fixed; C variable; A fixed; B variable Rotary and swivel table as of NC software 280 474-05: axis sequence C variable; A variable 6 – 80 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 411
With tool axis X: Universal swivel head as of NC software 280 476-01: Axis sequence B fixed; A variable; B fixed; C variable MP7500 “Tilted working plane” Format: %xxxxxxxx Input: Bit 0 – Switch-on “tilted working plane” function 0: Off 1: On Bit 1 –...
Page 412
Machine parameter with multiple function Format: %xxx Input: Bit 1 – Reference value for calculating the preset during “datum setting” 0: Actual value is calculated 1: Nominal value is calculated 6 – 82 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 413
6.5.6 Automatic Compensation of Offset for Tilting Axes Unlike the “tilted working plane,” here the coordinate system is not tilted. With M114 or M128, the TNC compensates the offset of the tool that results from tilting the axes. The tool tip is always located on the programmed nominal- coordinates.
Page 414
M144 is deactivated M145 with M145. Display: Display: Z +125 L B+90 M144 X -125 B +90 FN18: SYSREAD ID310 NR144 can determine if M144 is active or inactive. 6 – 84 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 415
MP7502 Functionality of M144/M145 Input: %xxx Bit 0 0: M144/M145 not active 1: M144/M145 active Bit 1 – M144/M145 in the automatic modes 0: M144/M145 active 1: M144 is activated automatically at the start of an NC program. It can only be deactivated with M145 during an NC program. Bit2 –...
Page 417
6.6 Synchronized Axes 6.6.1 Gantry Axes In gantry axes, tandem tables, etc., two servo-controlled axes are coupled so that they can move only simultaneously. The main axis is referred to as the master, and the tracking axis as the slave. From a maximum of nine controlled axes, four times two axes can be controlled synchronously.
Page 418
Using a linear encoder: it is sufficient if the master axis has one reference end position. Using the speed encoder for linear measurement: One reference end position is enough, but the NC needs a reference end position signal for both axes (W1054). 6 – 88 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 419
Conventions For synchronized axes: The slave axis cannot be moved separately. The nominal value display of the slave axis shows the nominal value of the master axis. The PLC program must ensure that the master axis does not move until the slave axis is ready (clamping, feed-rate enable).
Page 421
6.6.2 Master-Slave Torque Control In master-slave torque control, two motors (master and slave) are mechanically coupled. Because of the coupling, only one position encoder is required. The motor to which the position encoder is assigned is the master. From a maximum of nine controlled axes, four times two axes can be controlled in the torque-master-slave-control, whereby you must keep in mind that the master and slave axis are on the same speed controller PCB.
Page 422
(MP2910.x). The manipulated variable of the balancing controller is a speed compensation value that is added to the current speed value. Speed encoder Speed encoder 6 – 92 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 423
Gantry axes in It is possible to run gantry axes in master-slave torque control. The gantry master-slave master and gantry slave axes are at the same time torque master axes and torque control have one torque slave axis each. Gantry master axis Axis 3 Axis 1 Torque master axis...
Page 424
The higher the frequency of the oscillation (> approx. 400 Hz), the less negative will be the influence of high damping on the dynamics. Note For identical motors, the factors of the speed controller should be identical to ensure identical dynamic behavior. 6 – 94 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 425
Test the tensioning torque: 7 7 7 7 With the integrated oscilloscope, record the nominal current (I nominal) of the master and the slave axes at standstill. 7 7 7 7 Send a step to the speed controller and, with the integral oscilloscope, record the nominal current of the master and slave axes.
Page 426
Set the speed controller and the filter parameters for the slave axis in the same manner as for the master axis. Note For identical motors, the factors of the speed controller should be identical to ensure identical dynamic behavior. 6 – 96 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 427
Test the P factor of the torque controller: 7 7 7 7 In MP10 reactivate the master and slave axes. 7 7 7 7 With the integrated oscilloscope, record the actual speed value V (N ACTL). 7 7 7 7 Increase the P factor in MP2910.x for the slave axis up to the oscillation limit.
Page 428
Reference marks HEIDENHAIN linear encoders are designed with one or more reference marks. The reference marks identify an axis position at a known distance from the machine datum. The position of the freely selectable datum is defined with respect to the machine datum.
Page 429
Distance between For distance-coded reference marks, the machine datum is defined with the scale reference respect to the scale reference point, which is at the first reference mark after point and the the beginning of the measuring length. On angle encoders, the scale machine datum reference point is marked: 7 7 7 7...
Page 430
END PGM or M02, it will no longer be run when the Pass Over Reference Point mode is called and exited. To synchronize the current machine status and the look-ahead calculation with an NC macro call, (See “NCMACRO.SYS” on page 7 – 44). 6 – 100 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 431
Reference end To prevent the axes from violating their traverse limits when traversing the position reference marks, each axis requires a trip dog (at the reference end position). The trip dogs must be installed by the machine tool builder at the ends of the traverse range.
Page 432
W1032 Reference marks not yet traversed Bits 0 to 8 correspond to axes 1 to 9 W1054 Reference end position Bits 0 to 8 correspond to axes 1 to 9 6 – 102 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 433
Renewed Module 9220 Renewed traversing of the reference marks traversing of the With this module you start an NC or PLC axis or a servo-controlled spindle to reference marks traverse the reference mark. It is possible to repeat the reference mark traverse in an axis that has already been referenced.
Page 434
Position encoder Function when MP1350.x = 3 with distance- coded reference marks 6 – 104 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 435
Function when MP1350.x = 0. This setting is used only to ensure compatibility. Do not use for new installations. If during automatic referencing the trip dog is not closed until it is in the reference end position range, the contouring control will ignore this signal. It is therefore necessary that there be at least two reference marks in the range of the reference end position.
Page 436
Position encoder Function when MP1350.x = 1 with one reference mark 6 – 106 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 437
Linear Function when MP1350.x = 2 measurement For linear measurement using a rotary encoder, a reference pulse is produced through rotary on each revolution of the encoder. Ensure that during referencing the same encoder reference pulse is always evaluated. This can be realized with the trip dog for reference end position.
Page 439
6.8 The Control Loop Machine tools normally function on the principle of cascade control. Here the position control loop is prior to the speed and current control loops. Benefits of cascade control: Transparent structure of the individual control loops. Disturbances can be compensated through the subsequent controllers. This relieves the prior controller.
Page 440
Option: 30 000 rpm for motors with two pole pairs. The TNC 430 M controls machines with up to 9 axes and with spindle speeds up to 30 000 rpm. 6 – 110 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 441
6.8.1 Relation Between Jerk, Acceleration, Velocity and Distance To ensure proper operation of an axis, the following two conditions must be fulfilled: The desired maximum speed v and maximum jerk r result in a maximum acceleration a A minimum distance s must be traversed in order to attain the maximum speed v Maximum...
Page 442
The rectangular jerk curve is rounded through the use of a nominal position value filter (MP1096 ≠ 0). As a result, acceleration is reduced and the minimum distance required for attaining the maximum velocity is increased. 6 – 112 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 443
6.8.2 The Interpolator Schematic of the Interpolator: The interpolator calculates a velocity every 3 ms from the programmed feed rate. The value is also dependent on the acceleration curve and the end position. If more than one axis is moved simultaneously, the smallest acceleration value applies.
Page 444
7 7 7 7 In MP1521, define the time constant for the overshoot behavior. Input value correct Input value too small Input value too large MP1521 Acceleration (MP1060.x) 6 – 114 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 445
Nominal position To attain a high machining velocity, the workpiece contour can be adapted to value filter the machine dynamics by means of a nominal position value filter. Here the TNC always complies with the tolerance (MP1096, Cycle 32), the axis-specific jerk (MP1097.x, MP1098.x), the acceleration (MP1060.x) and the radial acceleration (MP1070.x).
Page 447
7 7 7 7 With MP1095.x you select the single or double filter. The HSC filter is switched on with MP1094. MP1095.1 is effective in the Manual, Handwheel, Incremental Jog Positioning and Reference Mark Traverse modes. MP1095.0 and MP1094 are effective in the Program Run, Single Block, Program Run, Full Sequence and MDI modes.
Page 448
Minimum filter configuration for single filter (MP1095 = 0) MP1099.1 Minimum filter configuration for double filter (MP1095 = 1) MP1521 Transient response during acceleration and deceleration Input: 1 to 255 [ms] 0: Function inactive 6 – 118 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 449
Feed rate Fluctuations in feed rate sometimes occur during execution of NC programs smoothing consisting of short straight-line segments. MP7620 bit 6 smoothes the feed- rate. However, it also reduces it somewhat. MP7620 Feed rate override and spindle speed override Input: Bit 6 –...
Page 451
6.8.3 Position Controller Position controller With MP7600.0 you can set the position controller cycle time: cycle time 7 7 7 7 In MP7600.0, enter a factor which, when multiplied by 0.6 ms, results in the position controller cycle time. With the input value MP7600.0 = 5, the TNC has a minimum position controller cycle time of 3 ms.
Page 452
= nominal velocity value noml Analog axes: For stationary axes, the integral factor has an additional effect (MP1080.x). It produces an offset adjustment. Digital axes: There is no offset. MP1080.x has no function. 6 – 122 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 453
factor during The control loop gain, the so-called k factor, defines the amplification of the control with position control loop. You must find the optimum k factor by trial and error. following error If you select too high a k factor, the following error is very small.
Page 454
There is no offset. MP1080.x has no function. You can influence the control of the forward-fed velocity with the k factor: 7 7 7 7 In MP1510.x, enter a k factor. 6 – 124 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 455
U [V] t [ms] Warning If the k factor that you select is too large, the system will oscillate around the forward-fed nominal velocity value. Unlike operation with following error, you must also enter the optimum k factor for each axis when operating with interpolated axes. You can selectively increase the contour accuracy with a higher k factor .
Page 456
MP1391 bit x = 1 MP1392 bit x = 0 MP1392 bit x = 1 MP1392 bit x = 1 MP1396.x = nonfunctional MP1396.x = 0.001 MP1396.x = 0.999 MP1396.x = 1 6 – 126 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 457
To use feedback control with velocity semifeedforward: 7 7 7 7 Activate the velocity feedforward control with MP1391 and/or MP1392. 7 7 7 7 Determine the k factor for velocity feedforward control (MP1510.x). 7 7 7 7 Activate the velocity semifeedforward control by entering the desired factor in MP1396.x.
Page 458
MP1050.x [mV] ---------------------------------------- - [µm] If ∆U is divided by the smallest possible voltage step (0.15 mV), the result is the number n of the possible voltage steps per position error. 6 – 128 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 459
Characteristic curve For machines with high rapid traverse, you can not increase the k factor kink point (for enough for an optimum control response to result over the entire velocity control with range (from standstill to rapid traverse). following error) In this case you can define a characteristic curve kink point, which has the following advantages: High k...
Page 460
Recommended: 0.2 to 0.5 MP4020 PLC compatibility Input: Bit 8 – Behavior after an external emergency stop 0: “Approach position” is not automatically activated 1: “Approach position” is automatically activated 6 – 130 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 461
Clamping the axes After running an NC block you can clamp the axes: 7 7 7 7 Wait until “axis in position” is set in W1026. 7 7 7 7 Clamp the axis or axes. 7 7 7 7 Open the position control loop with W1040. 7 7 7 7 With Module 9161, switch the drive off.
Page 462
Actual value was assumed as nominal value Error code in W1022 W1022 Invalid axis number Missing M/S/T/T2/G strobe in M4176 = 1 Module was called in a spawn job or submit job 6 – 132 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 463
December 2001 The Control Loop 6 – 133...
Page 464
6.8.4 Speed Controller (Only TNC 426 PB/M, TNC 430 PA/M) Digital speed controllers are integrated in the TNC 426 PB/M and TNC 430 PA/M: TNC 426 PB: digital speed encoder for 5 axes and 1 spindle TNC 430 PA: digital speed encoder for 6 axes and 1 spindle...
Page 465
MP2500.0-8 Proportional factor of the speed controller for the axes 1 to 9 Input: 0 to 1 000 000.000 [As] MP2510.0-8 Integral factor of the speed controller for axes 1 to 9 Input: 0 to 100 000 000 [A] Module 9164 Reading the actual speed value of the motor The resolution of the actual speed value depends on the encoder being used: ⋅...
Page 466
If you cannot achieve satisfactory results with the low-pass filter, try the PT element. MP2560.0-8 Low-pass filter for axes 1 to 9 Input: 0: No low-pass filter 1: 1st-order low-pass filter 2: 2nd-order low-pass filter 6 – 136 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 467
element of the If the controlled system is insufficiently damped (e.g. direct motor coupling or speed controller roller bearings), it will be impossible to attain a sufficiently short settling time when the step response of the speed controller is adjusted. The step response will oscillate even with a low proportional factor: 7 7 7 7 In MP2530.x, enter a value for damping high-frequency interference...
Page 469
For calculation of the acceleration feedforward, the integral-action component of the nominal current value INTEG. RPM is recorded with the internal oscilloscope. The actual speed value V (ACT RPM) and nominal current value I NOMINAL are also recorded for better illustration. ⋅...
Page 470
If the value found for MP2602.x is significantly greater than the starting value (> factor 2), you should adjust MP2604.x again by enlarging and reducing it to find the optimum value. ⋅ MP1510.x 0.65 determined k 7 7 7 7 6 – 140 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 471
Machine type 2: 7 7 7 7 The machine is commissioned as usual until the k factor is to be determined. 7 7 7 7 Enter MP2602.x = 1 and MP2604.x = 0. 7 7 7 7 Increase the k factor (MP1510.x) until you reach the oscillation limit.
Page 472
A vertical axis is defined with an entry in MP2630.x. I NOMINAL I NOMINAL ------------------------------------------------------- - MP2630 MP2630.0-8 Holding current for axes 1 to 9 Input: -30.000 to +30.000 [A] 6 – 142 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 473
Enabling the drive TNC 426 PB/TNC 430 PA controller 7 7 7 7 To enable the drive, assign 24 Vdc to connection X50 terminal 1. If the ready signal is missing, or if there is no voltage on connection X50, the drive controller cannot be switched on.
Page 474
Module 9159 Drives that are switched off in 200 ms This module functions only on the TNC 426 M/TNC 430 M controls. Call: 9159 <Drives, in bit code, that are switched off in 200 ms> 6 – 144 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 475
Module 9161 Enabling the drive controller With this module you can switch the drive controllers (speed and current controllers) on and off for specific axes. A nominal speed value is also output when the drive controller is not enabled. Call: W/D/K <Released axes>...
Page 477
6.8.5 Current Controller (Only TNC 426 PB/M, TNC 430 PA/M) Analog current controllers are integrated in the TNC 426 PB, TNC 430 PA: TNC 426 PB: analog current controller for 5 axes and 1 spindle TNC 430 PA: analog current controller for 6 axes and 1 spindle...
Page 478
0.00 to 9 999.00 [V/A] 0: Controller disable MP2402.0-8 Gain for current controller at maximum speed for axes 1 to 9 Input: 0.00 to 9 999.99 [V/A] 0: Value from MP2400.x 6 – 148 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 479
6.8.6 Braking the Spindle for an Emergency Stop Normally, in case of an emergency stop, the axes are braked at the limit of current. This can create problems: With gantry axes a mechanical offset can occur between the master and slave axes.
Page 480
The offset values are saved in the control and remain safe in the event of power interruption. After a control is exchanged, the offset adjustment must be repeated by means of the code number. 6 – 150 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 481
6.9.2 Automatic Cyclic Offset Adjustment The offset is adjusted automatically if the programmed time is expired and the following conditions are fulfilled: All axes are at standstill. The spindle is switched off. The axes are not clamped. 7 7 7 7 In MP1220, program a time after which the offset is cyclically adjusted.
Page 482
If the programmed feed rate is less than that calculated above, then the programmed feed rate becomes effective. MP1070 functions for operation with both following error and feedforward control. MP1070 Radial acceleration Input: 0.001 to 30 000 [m/s or 1000°/s 6 – 152 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 483
6.10.2 Contour Velocity at Corners As of NC software To comply with a defined tolerance, the TNC can reduce the tool velocity 280 472-xx before reaching machining corners, line-to-arc transitions and arc-to-arc transitions. The control can react to a potential violation velocity tolerance up to 128 blocks in advance.
Page 484
As of 280 476-xx the feed rate for arcs and splines is reduced enough to prevent any excessive jerk. This does not apply if F MAX is programmed. 6 – 154 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 485
If you have set bit 8, you can specify with bit 9 whether the jerk will remain constant on the spline. The contour speed is adjusted for constant jerk. If you program M132, you can reduce the jerk on the contour for changes of acceleration in individual axes.
Page 486
(positioning window), the actual value is saved as nominal value. The monitoring functions become active again if the high-speed PLC input is reset or MP4130.0 has been disabled with W522 bit 0. 6 – 156 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 487
MP1150.1 Time period for which the monitoring function is to remain off after the fast PLC input defined in MP4130.0 is set Input: 0 to 65.535 [s] Recommended: 0.2 to 0.5 MP4130.0 Number of the high-speed PLC input for switching off the monitoring functions Input: 0 to 255 [no.
Page 488
Before this time has expired, the error message cannot be cleared with the CE key. At this time the actual position value is assumed as nominal value, and the nominal velocity value is deleted. 6 – 158 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 489
As of NC software The function of MP1150 has been expanded as of NC software 280 476-01: 280 476-xx 7 7 7 7 In MP1150.0, specify the time after which the nominal velocity value is to be deleted. After this time has expired, the actual position value is assumed as nominal position value.
Page 490
SPEED VALUE TOO HIGH <AXIS> appears and the control-is-ready output is reset. Analog axes: Maximum nominal value = 10 V Analog spindle: Maximum nominal value = 20 V Digital axes and spindle: Maximum nominal value = maximum motor speed 6 – 160 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 491
6.11.3 Movement Monitoring Movement monitoring is possible during operation both with velocity feedforward and with following error. During movement monitoring, the actual path traveled is compared at short intervals (several servo cycles) with the nominal path calculated by the NC. If during this period the actual path traveled differs from the calculated path, the flashing error message MOVEMENT MONITORING IN <AXIS>...
Page 492
On contours that can be machined with constant surface speed, W1026 is not set. Reset W1026 Axes in position Bits 0 to 8 correspond to axes 1 to 9 0: Axis not in positioning window 1: Axis in positioning window 6 – 162 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 493
Axes in motion During axis movement, the NC sets the corresponding bits in W1028. Reset W1028 Axes in motion Bits 0 to 8 correspond to axes 1 to 9 0: Axis not in motion 1: Axis in motion December 2001 Monitoring Functions 6 –...
Page 494
B/W/D <Error code> 0: Command executed –1: Transferred parameter invalid Error recognition: Marker Value Meaning M4203 Supply voltage monitoring on or off Error code in W1022 W1022 Transferred parameter invalid 6 – 164 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 495
6.11.7 Temperature Monitoring Internal The internal temperature of the logic unit is monitored constantly. At approx. temperature of the 70 °C, the error message TNC OPERATING TEMP. EXCEEDED appears. logic unit The internal temperature of the LE can be read with module 9133. Module 9133 Internal temperature of the LE Call: B/W/D/K <Code>...
Page 496
The temperature warning signal is not evaluated in the NC: 7 7 7 7 Use Module 9160 or 9066 to interrogate the temperature warning, and take appropriate measures. 6 – 166 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 497
6.11.8 I t Monitoring (Digital Axes Only) The instantaneous motor current is limited to either the maximum current of the power supply unit, or the maximum motor current, whichever is lower. The values result from the type of power supply unit and type of motor, and are saved in the motor or power-supply-unit table.
Page 498
At X51 to X59 and X61 the ready signal is available at pin 6. The signal is reset for the following reasons: The connection of K9 to K663 on the HEIDENHAIN interface PCB is not closed (with SIMODRIVE inverter system)
Page 499
6.11.10 Current Utilization on the Drive Motors (Digital Axes Only) Module 9166 provides the momentary utilization of the given drive motor as a percentage value. Utilization means: ≥ rated speed Speed range < rated speed actl actl Asynchronous ---------------------- ------------------------ - motor Rated Rated...
Page 500
Current speed : Rated current (from motor table) : No-load current (from motor table) : Rated power output (from motor table) : Threshold speed for field weakening (from motor table) 6 – 170 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 501
Module 9158 Maximum torque With Module 9158 you can limit the torque of an axis or spindle. The maximum torque resulting from the data in the control's motor table cannot be exceeded. In this case the torque is limited to the value from the motor specifications.
Page 502
6.11.11 Status of HEIDENHAIN Inverters All HEIDENHAIN inverters, except the UE 2xx compact inverters and non- HEIDENHAIN inverters, provide the error signal ERR-IZ in the event of an excessive dc-link current at X69. For HEIDENHAIN inverters except the UE 2xx compact inverters:...
Page 503
6.11.12 EMERGENCY STOP Monitoring On the control there are the PLC input I3 (X42/4) and a PLC output (X41/34) with the designation control-is-ready for the EMERGENCY STOP routine. If a functional error is detected, the TNC switches the control-is-ready output off.
Page 504
The control therefore checks this output every time that line power is switched on. Note The circuitry recommended by HEIDENHAIN is illustrated in the Basic Circuit Diagram. Ensure that the control-is-ready acknowledgment occurs within 380 ms. Flowcharts Flowchart for: TNC 426 CB/PB TNC 426 M/12 000 rpm (NC software <...
Page 505
Step Function Screen display Waiting for machine control RELAY EXTERNAL DC VOLTAGE voltage MISSING Recognition of the machine control voltage on X42/4 and switch-off of the control-is- ready signal on X41/34 by host computer (t < 66 ms) Maximum time within which If exceeded EMERGENCY STOP the control-is-ready DEFECTIVE...
Page 506
Waiting for machine control RELAY EXTERNAL DC VOLTAGE voltage MISSING Recognition of the machine control voltage on X42/4 and switch-off of the control-is-ready signal on X41/34 by DSP 2 (t < 120 ms) 6 – 176 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 507
Step Function Screen display Maximum time within which the If exceeded control-is-ready acknowledgment EMERGENCY STOP DEFECTIVE on X42/4 must go to zero (t < 380 Recognition of the acknowledgment and setting of X41/34 (t < 120 ms) Waiting for machine control RELAY EXTERNAL DC VOLTAGE voltage MISSING...
Page 508
After switching on again, the machine control voltage can be switched off, and then the control operates normally. After detecting a fault, the Blinking error message control switches off the control- is-ready output (X41/34). 6 – 178 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 509
December 2001 Monitoring Functions 6 – 179...
Page 510
MP3143 = 0 If design considerations make this impossible: 7 7 7 7 Define the encoder-to-spindle transmission ratio in MP3450.x and MP3451.x for each gear stage. 6 – 180 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 511
In this case there will be several reference pulses per revolution. 7 7 7 7 Evaluate the reference mark with Module 9220 (See "Renewed traversing of the reference marks ” on page 6 – 103). If MP3143 = 2, then the reference pulse release for the spindle position encoder is set with X30, pin 1.
Page 512
Meaning M4203 Actual speed value was read Target address is too large or is not a double-word address Module 9044 Reading the spindle coordinates (format 0.0001°) Call: SEE MODULE 9042. 6 – 182 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 513
6.12.2 Speed Encoder of the Spindle Digital speed control requires a shaft speed encoder: 7 7 7 7 Define the speed encoder input in MP113.x. The TNC, with or without integral spindle DSP, monitors the reference mark of the speed encoder. The monitor checks whether the line count for one revolution from reference mark to reference mark is equal to the line-count entry in the motor table.
Page 514
Programmed speed [0.001 rpm] D364 Nominal speed value [rpm] W320 Nominal speed value [rpm] D368 Actual speed value [rpm] W322 Actual speed value [rpm] D604 Maximum possible spindle speed NC/PLC 6 – 184 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 515
Nominal speed In the SPINDLE ORIENTATION mode of operation, the nominal speed value is value in open-loop controlled in a closed loop. In all other modes it is in an open loop. control The actual speed value of the spindle is not checked. MP3415.x MP3411.x MP3411.x...
Page 516
M04 M4007 Status display M05 and spindle stop PLC M4014 Reverse the direction of spindle rotation M4019 Reversing the counting direction of the position encoder on the spindle 6 – 186 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 517
Disable speed With M4008 you can block the speed output for the spindle. At the same time, output for spindle M03, M04 or M05 are highlighted. The nominal speed value is zero. Reset M4008 Disable speed output for spindle Gear ranges You can define up to eight gear ranges: 7 7 7 7 In MP3510.x, enter for each gear range the rated speed for S-override...
Page 518
Analog spindle: Spindle jog voltage for gear shifting (M4009/M4010) Input: 0 to 9.999 [V] MP3240.2 Digital spindle: Motor speed for gear shifting (M4009/ M4010) Input: 0 to 9.999 [1000 rpm] 6 – 188 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 519
Reset W256 Gear code NC/PLC NC/PLC D356 Programmed speed [0.001 rpm] D756 Programmed speed or speed from PLC NC/PLC NC/PLC [0.001 rpm] M4009 Counterclockwise spindle rotation (for gear change) M4010 Clockwise spindle rotation (for gear change) M4070 Strobe signal for gear code M4090 Acknowledgment of “gear change completed”...
Page 520
Lower limit for spindle override: 50% (MP3310.1 = 50) Maximum possible output speed for gear range II: 3375 rpm (MP3515.1 = 3375) Minimum nominal value voltage: 1 V (MP3240.1 = 1) 6 – 190 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 521
MP3310 Limit for spindle override Input: 0 to 150 [%] MP3310.0 Upper limit MP3310.1 Lower limit MP3515.0-7 Maximum spindle speed for gear ranges 1 to 8 Input: 0 to 99 999.999 [rpm] MP7620 Feed rate override and spindle speed override Input: %xxxxxxx Bit 3 –...
Page 522
0.1 to 3000.000 [kW] MP2393.0 Wye connection MP2393.1 Delta connection MP2397 Maximum torque of the spindle motor Input: 0: No torque limiting 0.1 to 30 000 [Nm] MP2397.0 Wye connection MP2397.1 Delta connection 6 – 192 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 523
Oversized motor Power limit Motor with power and torque limiting Normal-sized motor Oversized motor Motor with power limit Motor with power limit Torque limit Motor with power and torque limit December 2001 Spindle 6 – 193...
Page 524
S code for maximum speed z: Speed increment Input: 0 to 99 999 Reset W258 S code M4071 Strobe signal for S code M4091 Acknowledgment of S code W1008 S code for minimum speed 6 – 194 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 525
S-code table S code S code S code S 00 S 41 11.2 S 83 1400 S 01 0.112 S 42 12.5 S 84 1600 S 02 0.125 S 43 S 85 1800 S 03 0.14 S 44 S 86 2000 S 04 0.16...
Page 526
If the maximum current is exceeded, the inverter switches off and the spindle coasts to a stop. The oscilloscope shows the actual current instead of the nominal current (I NOML), since there is no nominal current with U/f components. 6 – 196 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 527
6.12.6 Braking the Spindle for an Emergency Stop For an emergency stop the spindle must be braked as quickly as possible. If the braking energy cannot be drawn off quickly enough, the dc-link voltage increases sharply. Under circumstances, the inverter could switch off and the spindle coast to a stop.
Page 528
MP2590.0-8 Braking ramp for axes 1 to 8 or the second spindle in an emergency stop Input: 0.1 to 999.9 [rpm/ms] 0: Function inactive MP2591 Braking ramp for the first spindle in an emergency stop Input: 0.1 to 999.9 [rpm/ms] 0: Function inactive 6 – 198 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 529
Spindle with For a spindle with integral DSP, the maximum braking performance during integral DSP spindle braking in an emergency stop can be entered in MP2391.x, and the maximum braking performance during a power fail can be entered in MP2395.x. If the power limit (MP2393.x) is used in normal spindle operation, then the maximum braking performance is limited to the lower of the two values in MP2393 and MP2391.
Page 530
Delta connection MP2395 Maximum power for braking the first spindle in a power failure Input: 0.1 to 3000.000 [kW] 0: Braking power is not limited MP2395.0 Wye connection MP2395.1 Delta connection 6 – 200 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 531
6.12.7 Oriented Spindle Stop For spindle orientation the spindle must be in a closed control loop: 7 7 7 7 Mount a position encoder for the spindle. 7 7 7 7 With MP3010 (input value 6 to 8), specify whether the control provides for spindle orientation.
Page 532
MP3440.0-7 k factor for spindle orientation for gear ranges 1 to 8 Input: 0.1 to 10 [(1000°/ min) /°] MP3520.1 Spindle speed for oriented stop Input: 0 to 99 999.999 [rpm] 6 – 202 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 533
Reset M4000 Spindle in position M4012 Opening the spindle control loop M4015 Renewed evaluation of the spindle reference mark M4017 Spindle moving in feedback control M4018 Reference mark for spindle not yet traversed With Module 9171 you can specify the speed, nominal position and direction of rotation for spindle orientation.
Page 534
MP3412.1 MP3415.1 MP3412.1 Speed for orientation MP3440.x Target position Distance to target position Orienting a stationary spindle [rpm] Programmed speed MP3412.0 Stand- still MP3412.1 Speed for orientation MP3440.x Target position 6 – 204 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 535
Oriented spindle You can start the spindle orientation with M4130. The nominal position is stop with M4130 taken from D592 and the speed from MP3520.1. The nominal position is with respect to the reference point. For example, the nominal position can be transferred with MP4210.x or taken from the oriented spindle stop cycle (CYCL DEF 13).
Page 536
MP3412.0. Then the spindle is switched back on with M03. The feed rate override for tapping must be limited. Otherwise the floating tap holder may be damaged: 7 7 7 7 Enter a limit in MP7110.x. 6 – 206 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 537
The following diagram shows the time sequence of the cycle: Dwell time from CYCL DEF 2.3 MP7120.2 30 ms Software controlled MP3411.x MP3412.2 MP3412.0 MP7120.0 M4092 (M03) M4005 (M04) M4006 (M05) M4007 M4030 Reset M4030 Cycle 2 or Cycle 17 active MP3412.2 Multiplier for MP3411 during tapping Input:...
Page 538
MP7120.1 Advanced switching time of the spindle during tapping with coded spindle-speed output Input: 0 to 65.535 [s] 6 – 208 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 539
6.12.10 Rigid Tapping 7 7 7 7 Cycle 17 Define the rigid tapping process in the NC program with Cycle 17. While Cycle 17 is running, the TNC switches automatically to velocity feedforward mode. 7 7 7 7 Define the dynamic response of the spindle and the machine tool axes in machine parameters.
Page 540
7 7 7 7 With MP3415.3, define the overshoot behavior of the spindle. 7 7 7 7 With MP7130, define the run-in behavior of the spindle. MP3415.3 MP3412.3 MP3412.3 MP7130 6 – 210 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 541
MP3412.3 Multiplier for MP3411.x for rigid tapping Input: 0 to 1.999 MP3415.3 Overshoot behavior of the first spindle during rigid tapping Input: 0 to 1000 [ms] MP7130 Run-in behavior of the spindle during rigid tapping Input: 0.001 to 10 [°/min] MP7150 Positioning window of the tool axis during rigid tapping Input:...
Page 542
6.12.11 Speed Controller (Only TNC 426 PB/M, TNC 430 PA/M) A digital speed controller for the spindle is integrated in the TNC 426 PB/M and TNC 430 PA/M: 7 7 7 7 With MP2501.x adjust the proportional factor, and with MP2511.x the integral factor of the speed controller of the first spindle.
Page 543
The TNC has various current controllers, depending on the hardware version. There are logic units with and without spindle DSP: TNC 426 PB/M max. spindle speed 12 000 rpm, without spindle DSP TNC 426 PB/M max. spindle speed 30 000 rpm, with spindle DSP TNC 430 PA/M max.
Page 544
15: Spindle B/W/D/K <Type of connection> 0: Wye connection 1: Delta connection 9163 Error recognition: Marker Value Meaning M4203 No error Incorrect axis, incorrect type of connection, or missing motor specifications 6 – 214 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 545
6.12.14 Operating a Second Spindle With the TNC you can operate two spindles alternately, i.e., only one spindle can be active at a given time. The TNC provides digital and analog speed command signals for both spindles. The following combinations of speed command signals are available for the two spindles: Operation of the first spindle Operation of the second...
Page 546
Module was called in a spawn job or submit job Missing strobe in M4176 = 1 MP13010 to MP13520 Machine parameter block for the second spindle Input: Function and input range are identical to MP3010 to MP3520 6 – 216 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 547
The current and speed controllers are commissioned only for the spindle. Note the differences in the machine parameters between spindles with and without integral spindle DSP. (See “Current Controller (Only TNC 426 PB/M, TNC 430 PA/M)” on page 6 – 213) 7 7 7 7 Enter MP2xxx.x = 0 in the corresponding machine parameters of the axis.
Page 548
Up to NC software 280 476-02, the bit for the spindle must always be transferred to Modules 9161 and 9162. As of 280 476-03, the bit for the axis or for the spindle can be given. 6 – 218 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 549
Module 9146 Saving and reestablishing actual position values Module 9146 saves and later reestablishes the actual position values of axes. If the actual position values were saved, the last value displayed remains until they are reestablished. Call: B/W/D/K <Axes bit-encoded> B/W/D/K <Mode>...
Page 550
Marker Value Meaning M4203 No error Error code in W1022 W1022 Invalid axis number Missing strobe or M4176 = 1 Module was called in a spawn job or submit job 6 – 220 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 552
You can modify the display and operating modes of the TNC by editing the machine parameters. The display screen is divided into separate windows. The user can select the operating functions through soft keys. (Also see the User's Manual) 6 – 222 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 553
6.13.1 Machine Datum The machine is built with a fixed machine datum. All referenced displays and positioning blocks refer to this machine datum. In the MANUAL OPERATION and ELECTRONIC HANDWHEEL modes you can define the workpiece datum with the “datum setting” function. NC programming blocks are entered with respect to the defined datum.
Page 554
0: Not disabled 1: Disabled MP7296 “Datum setting” through axis keys Input: 0: Datum can be set by axis keys and soft key 1: Datum can be set only by soft key 6 – 224 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 555
$0..The colors can also be poorly adjusted (e.g. red error message on red background). HEIDENHAIN therefore supplies the controls with a standard color setting, which is suggested by the control during creation of the MP list. To configure the screen saver:...
Page 556
Color for highlighted graphic elements if defined in the help illustration MP7364.9 Background MP7365 Oscilloscope MP7365.0 Background MP7365.1 Channel 1 MP7365.2 Channel 2 MP7365.3 Channel 3 MP7365.4 Channel 4 MP7365.5 Selected channel MP7365.6 Grid MP7365.7 Cursor and text 6 – 226 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 557
MP7366 Pop-up window (HELP key, pop-up menus etc. ) MP7366.0 Background MP7366.1 Text or foreground MP7366.2 Active line MP7366.3 Title bar MP7366.4 Scroll-bar field MP7366.5 Scroll bar MP7366.6-14 Reserved MP7367 Large PLC window MP7367.0 Background MP7367.1 Color 1 MP7367.2 Color 2 MP7367.3 Color 3 MP7367.4...
Page 559
6.13.3 Graphic Display In the graphics window you can view the following graphics: Test graphics Parallel graphics Programming graphics Help illustration For the test graphics and parallel graphics you can choose one of three display modes: Projection in three planes Plan view 3-D view Projection in three...
Page 560
1: Rotation by +90° Bit 2 – BLK form after datum shift: 0: Shifted 1: Not shifted Bit 3 – Display of the cursor position: 0: No display 1: Display 6 – 230 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 561
6.13.4 Position and Status Display The status display shows the status of the control. With a soft key you can activate an additional status display in the graphic window instead of the graphic. This information includes: Axis positions Tools Nominal feed rate M Functions Position display To define the position display step for axis and spindle positions:...
Page 562
Machine parameter with multiple function Input: %xxx Bit 2 – Traverse path of rotary axes with modulo display 0: Positioning without passing over zero 1: Positioning on the shortest path 6 – 232 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 563
Reading of axis 7 7 7 7 Read the axis coordinates with Module 9040 or Module 9041. coordinates The values are saved in double words beginning at the given address. The values for all axes are read in, regardless of whether individual axes are excluded through MP10.
Page 564
1: No rotary axis transferred 2: Impermissible feed rate 3: Axis has not traversed the reference mark 4: No M/S/T/Q strobe during running program 5: Programmed axis not in closed loop 6 – 234 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 565
Reset M4133 Starting and stopping the free rotation function B518 Defining the free rotation function 0: Cancel the function 8: Free rotation for axis 4 16: Free rotation for axis 5 B519 Traverse direction for free rotation 0: Axis 4 and axis 5 = + 8: Axis 4 = –...
Page 566
If more than one key is pressed simultaneously, a feed rate is also displayed. 7 7 7 7 Define the type of display in MP7270. 6 – 236 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 567
MP7270 Feed-rate display in the MANUAL OPERATION and ELECTRICAL HANDWHEEL operating modes Input: 0: Display of axis feed rate through pressing an axis direction key (axis-specific feed rate from MP1020) 1: Display of axis feed rate also before an axis direction key is pressed (smallest value from MP1020 for all axes) MP7620 Feed-rate override and spindle speed override...
Page 568
Disable speed output for spindle M4040 Status display M07, M08, and M09 highlighted M4041 Status display M07, M08, M09, MK M4042 Status display M07, M08, M09, MK M4041 M4042 Display 6 – 238 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 569
M functions can be displayed in their own status window: 7 7 7 7 With Module 9088 you can display M functions in the status window or delete them. Module 9088 Displaying the M functions Call: B/W/D/K <Number of the M function to be displayed> B/W/D/K <Mode>...
Page 570
Marker Value Meaning M4203 No error Incorrect transfer parameter Reset M4175 Program interruption, control-in- operation symbol blinks M4176 Control is in operation, control-in- operation symbol is on or is blinking 6 – 240 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 571
Clearing the status To erase the status display, tool data and contents of the Q parameters: display 7 7 7 7 Select the conditions with MP7300. All programmed values in the status display, such as scaling factor, datum shift, and feed rate are reset. The Q parameters and tool data are set to zero.
Page 572
Bit 9=1: Window mode active Bit 10=1: Block display/program select/setup window active Bit 11=1: Position display active Bit 12=1: PLC status window active Bit 13=1: Status/graphic window active Bit 14/15: Reserved 6 – 242 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 573
Transferred number Return code Selected file in ”Programming and 0: No file editing” and ”Test run” modes 1: .H (conversational NC PGM) 2: .I (ISO NC PGM) 3: .T (tool table) 4: .D (datum table) 5: .P (pallet table) 6: .A (ASCII file) 7: .TCH (pocket table) Selected file in ”Program run, full 0: No file...
Page 574
B/W/D/K <Number of the desired status information> 9035 B/W/D <Status information> Error recognition: Marker Value Meaning M4203 No error Error code in W1022 W1022 Status information invalid Call was not in a submit or spawn job 6 – 244 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 575
6.13.5 NC Program NC program With marker M4181 it is possible to interrogate whether an NC program is selected selected in the Program Run, Full Sequence or Program Run, Single Block mode of operation. The marker is not set if an NC program is selected from a pallet table.
Page 576
Program data erroneous will appear. 7 7 7 7 In NCMACRO.SYS enter the name (and path) of the NC macro after the code word RUNCANCEL =. 6 – 246 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 577
Automatic NC NC programs and pallet tables can be started by the TNC automatically at a program start date and time set by the user. To use the autostart function: 7 7 7 7 Use MP7683 bit 5 to show the AUTOSTART soft key. 7 7 7 7 With MP7683 bit 7, specify whether the NC program should be started by the NC or the PLC after the expiration of the programmed time.
Page 578
Your logo must exist in 16-color bitmap format. The logo’s width in pixels must be divisible by eight. 7 7 7 7 Convert the logo with the HEIDENHAIN conversion tool “Bmp2Logo” from .BMP format to .VEC format. The tool also creates a *.SYS file. 7 7 7 7 The two files must be given the names LOGO.SYS and LOGO.VEC.
Page 579
Shutting down the The control must be shut down before it can be switched off. This is done control either with the soft key in Manual mode or by the PLC with Module 9189. If the control is shut down (either with Module 9189 or with the soft key), M4179 is set, the ready signal of the drives is removed, and the hard disk is set to sleep mode.
Page 580
Modules 9080, 9082 and 9083 are also in effect if the selected screen contains no PLC window (e.g. large graphic display) or the PLC window is in the background. Do not interrupt processing of the module through a CAN command! 6 – 250 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 581
Module 9080 Clearing the small PLC window With this module you can clear the contents of the small PLC window. The background color is defined in MP7320.2 and MP7356.0. Call: 9080 Error recognition: Marker Value Meaning M4203 No error Call was not in a submit or spawn job Module 9081 Interrogating the status of the small PLC window With this module you can ascertain whether a small PLC window is being displayed.
Page 582
If the specified color number is zero, the text is shown in the same color as the character last shown. If the first character of a line is specified as zero, the color is undefined and can change from one display line to another. 6 – 252 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 583
Call: K/B/W/D <Line number> 0 or 1 K/B/W/D <Column number> 0 to 37 K/B/W/D <Number of the color> 0 to 15 K/B/W/D/S<String number or string> 0 to 7 9082 Error recognition: Marker Value Meaning M4203 No error Call was not in a submit or spawn job or line less than zero or greater than 1 or column less than 0 or greater than 37 or incorrect string number or no end of the string or the last characters of the string can no longer...
Page 584
0 to 150 9083 Error recognition: Marker Value Meaning M4203 No error Call was not in a spawn or submit job or line less than 0 or greater than 1 6 – 254 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 585
6.13.8 Large PLC Window Depending on the display mode, the large PLC window can be shown instead of the graphic/status window, or even over the entire screen. The PLC window can be combined with the PLC soft keys. 7 7 7 7 Select the display mode with the screen management key or with Module 9202.
Page 586
System time as in Module 9055, char AXISCHAR[0] to Code letters for NC axis, char AXISCHAR[4] Machine parameters, notation: MP910.1 MP up to.. Input value: Decimal places: double Hex or binary: integer Text: char 6 – 256 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 587
Time HOUR No. of hours from real-time clock No. of minutes from real-time clock No. of seconds from real-time clock Day from real-time clock Month as no. from real-time clock MONTH STR_MONTH String Month as string abbr. from real-time clock YEAR2 Two-digit year no.
Page 589
Settings for the display DISPLAY.AXIS1 String String DISPLAY.AXIS2 DISPLAY.SCREEN DISPLAY.FORMAT String MM/INCH conversion Settings for the oscilloscope OSC.AXIS1 String String OSC.TIMEBASE OSC.MODE String OSC.TRGCHAN String Double OSC.TRGTHRES OSC.SLOPE String OSC.PRETRIG String Double OSC.FEED Miscellaneous String MISC.MDI MISC.OUTPRECISION String MISC.TEACHINAXIS December 2001 Display and Operation 6 –...
Page 590
Writes the next text or graphic at a position offset from the present position by the specified number of pixels. xpix = Distance in pixels from the current X position ypix = Distance in pixels from the current Y position 6 – 260 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 591
CPOS=column, line Writes the next text or graphic at the designated position. The width of a column is calculated from the current character set. The height of a line is preset and can be changed with LINEDIST. line = Line on the current page column = Column from the left edge of the window ICPOS=column, line Writes the next text or graphic at a position offset from the present position...
Page 592
PLC window. In this case the arrow keys jump from input field to input field. Soft keys, screen switch-over keys, operating mode keys, special function keys (MODE, PGM-MGT, CALC) always remain assigned to the NC. 6 – 262 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 593
LINE=xpix, ypix Draws a line from the current position to the designated position. Then the designated position is taken over as the actual position. xpix = Distance in pixels from the left edge of the current page ypix = Distance in pixels from the upper edge of the window ILINE=xpix, ypix Draws a line from the current position to a position that is offset by xpix, ypix.
Page 594
Works correctly only in the definition range for the respective variables. The size indicator h (short integer) of the ”scanf” function cannot be written. All integer variables are automatically expanded to 32 bits for input and output. 6 – 264 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 595
You can enter data in the input field through the ASCII keyboard and the numerical keys. The following keys have special functions: Function Meaning Deletes a displayed error message or the input field. Takes the input value as the variable and sets the highlight on the next input field.
Page 596
Temporary target file is not opened TEMPORARY FILE NOT OPENED TOO FEW PARAMETERS Too few parameters for format instruction Parameter does not fit the format WRONG COMMAND PARAMETER WRONG PARAMETER SWITCH Incorrect switch 6 – 266 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 597
Module 9211 Status of the large PLC window With this module you can interrogate the status of the large PLC window. Number Return code 0: Status 0: No screen mask activated 1: Screen mask was activated 2: Screen mask is being activated 3: Screen mask could not be activated 1: Horizontal size 0: No PLC window displayed...
Page 598
9B - 9F Û Á Ü ¡ Ÿ Ó <SPACE> Ú ß ñ à Ñ á â ã A8 - AD ä << å >> æ ° ç è é < ê 6 – 268 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 599
Character Character Character Character ë > µ ì í î ï <SPACE> ñ ò ó ô õ ¿ ö À œ ü Á ø  ù à ú Ä Ä û À Å ü Å Æ ÿ Ç Ç <SPACE> Ê...
Page 600
Û 9B - 9F Ü Á Ÿ ¡ Ó ß Ú à ñ á Ñ â ã ä A8 - AD å << æ >> ç ° è < é 6 – 270 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 601
Character Character Character Character ê > ë ì µ í î ï ñ ò ó BC -BE ô ¿ õ À ö Ç Á œ ü  ø à ù Ä ú Ä Å û À Æ ü Å Ç ÿ...
Page 602
Large characters Character Character Character Character 01 - 1D <SPACE> “ < & > ’ 7B - FF 6 – 272 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 603
6.13.10 PLC Soft Keys In the following operating modes you can display your own soft keys through the PLC: MANUAL ELECTRONIC HANDWHEEL POSITIONING WITH MANUAL DATA INPUT PROGRAM RUN, FULL SEQUENCE PROGRAM RUN, SINGLE BLOCK You can create the soft keys with PLCdesign. When a PLC soft key is pressed the NC enters the soft-key number in W302.
Page 604
Line nr. < 0 (not –1) in the constants field Invalid KF address Module was called in a spawn job or submit job More than 32 elements in the constants field 6 – 274 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 605
Display/delete 7 7 7 7 Procedure for displaying/deleting a PLC soft key PLC soft key Module 9201 Display/delete PLC soft key If no PLCSOFTK.SYS file exists, or if the specified line does not exist, no soft key is generated. In an existing PLC soft-key level, the soft key is displayed/ deleted at the specified position.
Page 606
You can create several help files: 7 7 7 7 Select the conversational language for help files with MP7230.3. The entry behind MODEHELP= in the OEM.SYS is overwritten with the language- specific path. 6 – 276 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 607
The user selects a file: By pressing the HELP soft key By pressing the PGM MGT soft key If a HELP file is selected in the foreground and background operating mode, the error message PARALLEL OPERATION NOT POSSIBLE appears. HELP files are saved externally with the identifier “J”. Reset W270 Line number in help file...
Page 608
The module does not return until the pop-up window is closed. It must be called in a spawn job, not in a submit job, because otherwise the subsequent submit jobs will not be run until the pop-up window is closed. 6 – 278 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 609
Module 9215 uses the following events: $01 000 000 Window build-up $00 010 000 Closing the pop-up window The event for window build-up is generated internally and must not be started externally. If the event for closing the pop-up window is transferred, the module closes without waiting for keyboard input.
Page 611
M functions Meaning Effectiveness Vacant miscellaneous function or cycle call, modally effective Operation with following error: Constant feed rate in corners Within the positioning block: Coordinates are referenced to machine datum Within the positioning block: Coordinates are referenced to a position defined by the machine tool builder, such as tool change position Reduce the rotary axis display to a value below 360°...
Page 612
Laser cutting: Voltage output varies with the time (pulse) M205 - M299 M300 - M999 a. depends on MP7300 b. depends on MP7440 c. 280 474-xx: µm per spindle revolution 6 – 282 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 613
7 7 7 7 In the PLC, evaluate the M functions which have no fixed meaning for the When an M function is transferred to the PLC, the code of the M function is saved in W260 and the strobe marker M4072 is set: 7 7 7 7 Set M4092 in order to report the execution of the M function.
Page 614
For special machines you can deselect the program stop (See "Special Functions for Laser Cutting Machines” on page 6 – 452). 7 7 7 7 Select the program stop with MP7440, bit 2. 6 – 284 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 615
Program stop with According to ISO 6983, the M function M06 means “tool change.” 7 7 7 7 With MP7440 bit 0, select program stop when M06 is transferred to the PLC. After the program stop and the tool change, the NC program must be restarted through an NC start or by the PLC.
Page 616
1: Error message Spindle ? is suppressed Bit 1 – Reserved, enter 0 Bit 2 – 0: Error message Enter depth as negative is suppressed 1: Error message Enter depth as negative is not suppressed 6 – 286 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 617
Help cycles Cycles 18 (thread cutting) and 33 (thread on taper) are so-called auxiliary cycles. You cannot use them alone, but you can use them for your OEM cycles (see also the User’s Manual): 7 7 7 7 Set MP7245 = 1 to enable the auxiliary cycle. MP7245 Disabling auxiliary cycles Input:...
Page 618
0: No NC stop upon activation of the error message 1: NC stop upon activation of the error message F STOP 0: Feed-rate enable is not influenced 1: Feed rate-enable is reset upon activation of the error message 6 – 288 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 619
EMER.STOP 0: No EMERGENCY STOP upon activation of the error message 1: EMERGENCY STOP upon activation of the error message 0: Error message can be cleared with the CE key 1: Error message cannot be cleared with the CE key PRIOR A priority of 0 to 2 can be entered for the error message.
Page 620
≥ 0: Number of errors in the PET table Error recognition: Marker Value Meaning M4203 Status information was read Error code in W1022 W1022 Invalid line number of status code 6 – 290 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 621
HEIDENHAIN cycles, you can program so-called Original Equipment Manufacturer (OEM) cycles ((See "Application of OEM Cycles” on page 9 – 5)). You can influence the function of many HEIDENHAIN standard cycles through machine parameters. For the Tapping and Oriented spindle stop cycles: (See "Spindle”...
Page 622
Material will remain at inside corners. MP7420 bit 2 = 1: The control clears the pockets together because the programmed contours intersect. No material will remain at inside corners. 6 – 292 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 623
MP7420 Cycles for milling pockets with combined contours Format: %xxxxx Input: Bit 0 – Milling direction for channel milling 0: Counterclockwise for pockets, clockwise for islands 1: Clockwise for pockets, counterclockwise for islands Bit 1 – Sequence for rough-out and channel milling 0: First channel milling, then pocket rough-out 1: First pocket rough-out, then channel milling Bit 2 –...
Page 624
6.13.16 Returning to the Contour With HEIDENHAIN contouring controls you can resume an interrupted program at a specified block number by scanning the previous blocks (see “Mid-Program Startup” in the User’s Manual). Note You must enable these functions through machine parameters.
Page 625
Note The tool data cannot be correctly offset in the block scan if you change them in the PLC or update them with M4538. As of NC software 280 476-01 you can save the values for MP9510.x with the actual-position-capture key. MP951.0-8 Simulating tool change position for TOOL-CALL during block scan for axes 1 to 9...
Page 626
The functions are only visible with code number 555343. Function Spindle switchover FN17: SYSWRITE ID20 NR13 Module 9175 Range of traverse, axis FN31: RANGE SELECT Module 9152 assignment, axis display Datum shift FN32: PLC PRESET Module 9230 6 – 296 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 627
Canceling block scan If block scan is cancelled, it is for possible for the NC status and PLC status not to match. A macro can be entered in the NC MACRO.SYS after the codeword STARTUPCANCEL= for this. This macro is always called when block scan is not ended with RESTORE MACHINE STATUS.
Page 628
HEIDENHAIN recommends that you avoid using this instruction. TOOLGROUP, TDEFGROUP, SPINDLEGROUP, FN19GROUP In conjunction with ORDER=PRIO, the output sequence of the S/T/Q strobes after a block scan is specified in the MGROUPS.SYS file. HEIDENHAIN recommends that you avoid using these instructions. NCMACRO=TC, M With an M function or during a TOOL CALL, you can also call an NC program instead of a T strobe ((See “Tool Changer”...
Page 629
December 2001 Display and Operation 6 – 299...
Page 630
Bit 4 – Pallet tables .P Bit 5 – Text files .A Bit 6 – HELP files .HLP Bit 7 – Point tables .PNT 0: Do not protect 1: Protect 6 – 300 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 631
Block number 7 7 7 7 Enter the block number increment in MP7220 for ISO programs. increment for ISO programs MP7220 Block number increment for ISO programs Input: 0 to 250 Selecting a file If you are in the PROGRAM RUN, SINGLE BLOCK or PROGRAM RUN, FULL SEQUENCE mode, you can select a file through the PLC.
Page 632
(MP960.x): table 7 7 7 7 Enter the datum in MP7475. MP7475 Reference for datum table Input: 0: Reference is workpiece datum 1: Reference is machine datum (MP960.x) 6 – 302 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 633
6.13.20 Pallet Management (as of NC software 280 472-01) Configuring a pallet The pallet table is a “freely definable table”: table 7 7 7 7 Define the prototype in the directory PLC:\PROTO with the file name extension .P. 7 7 7 7 Create the prototype.
Page 634
With MP7683 bits 0 to 2, specify the operating sequence following an NC start. 7 7 7 7 With MP7683 bit 3, specify the operating sequence upon reaching the end of the pallet table. 6 – 304 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 635
7 7 7 7 With MP7683 bit 4, specify whether the active pallet table should be editable with the EDIT PALLET soft key. As soon as a pallet table is selected, M4160 is set. Through the PLC you can graphically display the tool changer status in the PLC window and enable the user to control the tool changer through PLC soft keys.
Page 636
1: Module was not called in a spawn job or submit job 2: Call during running program 3: No pallet table selected in full sequence 4: Line does not exist 6 – 306 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 637
If this specific NC macro is not defined in NCMACRO.SYS, a HEIDENHAIN standard macro is run. The HEIDENHAIN standard macro performs the following functions: Positioning to clearance height Execution of M146 Tool change through TOOL CALL. The standard tool-change macro is called.
Page 638
To synchronize the current machine status and the look-ahead calculation with an NC macro call, (See “NCMACRO.SYS” on page 7 – 44). 6 – 308 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 639
If no datum table is specified in the pallet table, the previous file is kept. Files that you have disabled in MP7224.0 are ignored in the pallet table. If locked HEIDENHAIN programs or ISO programs are selected, the error message NC PROGRAM NOT FOUND appears.
Page 640
With the END key you exit the display of the structure definition. The table you have just created is displayed with the newly defined columns. Note A table can have a maximum of 30 columns and a maximum width of 200 characters. 6 – 310 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 641
Data transfer Valid for tables with the file name extensions .TAB, .P and .CDT: If a freely definable table is transferred through a data interface, in the externally saved file the structure definition is saved between the lines #STRUCTBEGIN and #STRUCTEND. The contents of the table stand behind the line # STRUCTEND.
Page 642
0 to 65 535 B/W/D/K/S<String number, column name> 0 to 15 9255 B/W/D <Result> Error recognition: Marker Value Meaning M4203 Field was read Error code in W1022 W1022 See Module 9245 6 – 312 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 643
Module 9246 Writing to a field in a table Open the table with the file name extension .TAB or .P with Module 9240, and not in the “buffered” mode. The field defined by the column name and line number is overwritten. The module transfers a string.
Page 644
B/W/D/K/S<String number, column name> 0 to 15 B/W/D/K <Numerical value to be written> 9256 Error recognition: Marker Value Meaning M4203 Field was written to Error code in W1022 W1022 See Module 9246 6 – 314 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 645
Module 9247 Searching for a condition in a table Open the table with Module 9240 not in the “buffered” mode. The module searches for a field content that fulfills one or more conditions. The conditions are formulated with the commands of the System Query Language (SQL) data bank language.
Page 646
NC sets M4159. The PLC editor is not closed by the NC. It must be closed by the PLC with Module 9251. M4159 is reset when Module 9250 is called. With Module 9035 you can interrogate the active line in the PLC editor. 6 – 316 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 647
Module 9250 Starting the PLC editor for tables With this module you start a table editor in the machining modes (compare “Tool Tables”). Call only in a submit job or spawn job. Call: B/W/D/K/S<String with table name> Complete path and name B/W/D/K/S<String with columns to be edited>...
Page 648
Error code in W1022 W1022 Incorrect line number Incorrect string number Module was not called in a spawn job or submit job Incorrect column name PLC editor is not open (Module 9250) 6 – 318 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 649
6.13.22 PLC Files With modules you can create PLC files and read or write in them line-by-line. PLC files are in ASCII format and are used, for example, for saving data specific to the PLC. Note The following modules must be called only in a submit job or spawn job. Module 9240 Opening a file You can open up to eight files simultaneously.
Page 650
–1: Error code in W1022 Error recognition: Marker Value Meaning W1022 Inadmissible mode Incorrect file handle File system error Module was not called in a spawn job or submit job 6 – 320 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 651
Module 9243 Reading from a file line by line To read from a table, use Module 9245. Open the file with Module 9240. With Module 9243 read line-by-line from an ASCII file. The “buffered” mode provides faster access times. The result is saved in a string.
Page 652
–1: Error code in W1022 Error recognition: Marker Value Meaning W1022 Incorrect file handle Incorrect string number File system error Module was not called in a spawn job or submit job 6 – 322 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 653
6.13.23 User Parameters You can provide the machine tool operator with easy access to up to 16 machine parameters known as user parameters. He can then call them through the MOD function by simply pressing the USER PARAMETER soft key. 7 7 7 7 In MP7330.x, enter the numbers of the machine parameters that you wish to make available.
Page 654
You can select whether the PLC should be active. MP7210 Programming station Input: 0: Controlling and programming 1: Programming station with PLC active 2: Programming station with PLC inactive 6 – 324 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 655
6.13.26 Conversational Language The TNC is delivered with all 13 NC-dialog human languages already loaded: 7 7 7 7 In MP7230.0 select the conversational language in which you wish to work. If the NC dialog messages for the selected language are not on the hard disk, the error message LANGUAGE LOAD ERROR appears.
Page 656
7 7 7 7 Enter a tolerance value in MP7431. If the entered tolerance is exceeded, the error message CIRCLE END POS. INCORRECT appears. MP7431 Arc end-point tolerance Input: 0.0001 to 0.016 [mm] 6 – 326 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 657
6.13.29 Radius Compensation A path to be traversed can be increased or decreased by the tool radius by entering “R+” or “R–.” The input dialog is not initiated with the “L” key but directly with the orange axis-direction key. For reasons of compatibility, this function has been retained for point-to-point and straight cut controls.
Page 658
Module 9190: Starting the operating times Module 9191: Stopping the operating times Module 9192: Reading the operating times Module 9193: Setting the operating times Module 9194: Alarm when operating times are exceeded 6 – 328 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 659
MP7237 Displaying and resetting the operating times Format: %xxxxxxxx MP7237.0 Displaying PLC operating times Input: Bits 0 to 7 represent PLC operating times 1 to 8 0: Do not display 1: Display MP7237.1 Resetting PLC operating times with the code number 857282 Input: Bits 0 to 7 represent PLC operating times 1 to 8 0: Do not reset...
Page 660
B/W/D/K <New time [s]> 9193 Error recognition: Marker Value Meaning M4203 Operating time was overwritten Incorrect transfer value, or module was not called in a spawn job or submit job 6 – 330 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 661
Module 9194 Alarm when operating time exceeded You define a marker that is set when a certain threshold is exceeded. The marker is set every minute after the threshold is passed. The marker can be delayed by max. 59 s the first time it is set. All values greater than 2 147 483 648 (approx.
Page 662
MP7235 Time difference to Universal Time (Greenwich Mean Time) Input: –23 to +23 [hours] 0: Universal Time (Greenwich Mean Time) 1: Central European Time (CET) 2: Central European daylight-saving time 6 – 332 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 663
6.13.32 Log The log serves as a troubleshooting aid. There are 2 MB of memory available for this purpose. All entries in the log are marked with the current date and time. Entry Description RESET Powering up the control BERR Blinking error message BREG Register contents with a blinking error message...
Page 664
Log in with LSV2 protocol REMO A_LO Log out with LSV2 protocol REMO C_LK LSV2 protocol: Locking and releasing the keyboard; the key codes between locking and releasing are sent via LSV2 protocol 6 – 334 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 665
You can read out the log in two ways: 7 7 7 7 After entering the code word LOGBOOK, enter the path and name of an ASCII file and the time and date from which the log should begin recording. After that, an ASCII file is generated and opened with the log entries.
Page 666
Entry was written Error code in W1022 W1022 Invalid priority Invalid string number or invalid immediate string No string end identifier Module was not called in a spawn job or submit job 6 – 336 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 667
Module 9276 Writing operand contents into the log With this module you can write the contents of operands (inputs, outputs, markers, bytes, words, double words, timers, counters) into the log. For later editing the entry can be given an identifier. Call: B/W/D/K <Identifier operand name>...
Page 668
6.14 Keystroke Simulation HEIDENHAIN contouring controls have two control panels: TNC keyboard unit The machine operating panel from the machine tool builder The control panels are connected with the logic unit at connections X45 and X46. The key code of the TNC keyboard unit is evaluated directly by the NC.
Page 669
Module 9180 Simulation of NC keys With this module you can simulate the activation of NC keys and soft keys. You transfer the code of the desired key. If you transfer the code value zero, the number of occupied elements in the keystroke queue is returned.
Page 670
0: Group of NC keys disabled –1: Transferred value> maximum value Error recognition: Marker Value Meaning M4203 The group of NC keys was disabled Error code in W1022 W1022 Transferred parameter invalid 6 – 340 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 671
Module 9184 Re-enabling groups of NC keys With this module you cancel the effect of Module 9183. Call: B/W/D/K <Key group code> 9184 B/W/D <Error status> 0: Group of NC keys enabled –1: Transferred value> maximum value Error recognition: Marker Value Meaning M4203...
Page 674
Memory function for axis direction keys (MP7680 bit 0 = 1) M4560 NC stop (0: Stop) M4561 Rapid traverse M4564 NC start M4230 NC start via LSV2 M4231 NC stop via LSV2 6 – 344 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 675
December 2001 Keystroke Simulation 6 – 345...
Page 676
1: Measuring touch probe Note The TNC 426/430 always emits a start signal when beginning a touch probe cycle, meaning Module 9135 does not need to be used for HEIDENHAIN touch probes. Module 9135 Switch on 3-D touch probe With Module 9135 you can switch on or retrigger certain 3-D touch probes. If the touch probe is already switched on, the module call has no effect.
Page 677
6.15.1 Touch Probe Cycles The probing cycles are available in the MANUAL and ELECTRONIC HANDWHEEL modes and in the NC program (see User’s Manual, Touch Probe Cycles). 7 7 7 7 With the machine parameters, adjust the touch probe to the measuring conditions.
Page 678
7 7 7 7 With MP7411 bit 1, activate the probe calibration management function in the tool table. If bit 1 = 1, bit 1 has no function. 6 – 348 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 679
Probing from OEM 7 7 7 7 With FN17:SYSWRITE ID990 NR1, adjust the approach behavior. If the input value = 0, the setup clearance from MP6140 and the effective radius are cycles accounted for. If the input value > 0, the workpiece is approached as if the effective radius and setup clearance were zero.
Page 680
B/W/D/K <Axis number 0 to 2> 9153 Error recognition: Marker Value Meaning M4203 No error Error code in W1022 W1022 Invalid axis number Module was not called in a spawn job or submit job 6 – 350 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 681
Calibration To calibrate the touch probe from within the NC program: 7 7 7 7 In MP618x.0 and MP618x.1.x, enter the approximate position of the ring gauge center. 7 7 7 7 In MP618x.2, enter the surface of the ring gauge with respect to the spindle nose.
Page 682
Coordinates of the ring gauge center for Probing Cycle 2 with respect to the machine datum (traverse range 2) Input: 0 to +99 999.9999 [mm] MP6181.0 X coordinate MP6181.1 Y coordinate MP6181.2 Z coordinate 6 – 352 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 683
MP6182 Coordinate of the ring gauge center for Probing Cycle 2 with respect to the machine datum (traverse range 3) Input: 0 to +99 999.9999 [mm] MP6182.0 X coordinate MP6182.1 Y coordinate MP6182.2 Z coordinate MP6185 Distance of probing point below ring top surface during calibration Input: +0.001 to +99 999.9999 [mm]...
Page 684
Variables of the format instructions must be separated by commas and placed after the text string. The special commands MM and INCH switch the display to mm or inches. The commands affect only number types that allow an inch representation. 6 – 354 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 685
Variable names: Time management Name Format type Description HOUR No. of hours from real-time clock No. of minutes from real-time clock No. of seconds from real-time clock Day from real-time clock MONTH Month as no. from real-time clock STR_MONTH String Month as string abbr.
Page 686
Probe radius 1: "%4.3lf" TM.RAD; Probe radius 2: "%4.3lf",TM.RAD2; Ring diameter: "%4.3lf",TM.RINGDIA; Factors: X = "%4.4lf",TM.CORSTA[0]; Y = "%4.4lf",TM.CORSTA[1]; Z = "%4.4lf",TM.CORSTA[2]; Force ratio: FX/FZ = "%4.4lf",TM.CORDYN[0]; FY/FZ = "%4.4lf", TM.CORDYN[1] 6 – 356 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 687
For every touch probe cycle for probing from the NC program there is a print mask for all languages. For the HEIDENHAIN touch probe cycles a print mask is saved for every cycle on the hard disk. This print mask cannot be changed.
Page 690
6.15.4 Digitizing with the Touch Trigger Probe For digitizing, HEIDENHAIN recommends the TS 220 touch trigger probe. Touch probes with infrared transmission are not suitable for digitizing because the operating time is limited by the battery charge. Such systems with battery charge run in continuous operation for no more than eight hours.
Page 691
The feed rate in normal direction determines the maximum oscillation amplitude and maximum scanning feed rate: If MP6230 is too low, the machine’s dynamic capabilities will not be fully exploited and the scanning feed rate will also be too low. If MP6230 is too high, the oscillation amplitude is too large.
Page 692
The “contour lines” cycle digitizes a 3-D model level-by-level in contour lines within a predefined range. This level-by-level digitizing is used mainly for surfaces with steep edges. 6 – 362 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 693
Lubrication During meander digitizing a very flat surface may cause little movement in the probe axis. This can result in a lack of lubrication in the probe axis: 7 7 7 7 With MP6220 and MP6221, set the additional lubrication at the line end. MP6220 Traverse distance for lubrication of the touch probe axis at line end...
Page 694
• MP6240 = 5 [mm] Maximum deflection of the stylus 7 7 7 7 Enter an NC program with the scanning cycles “range” and “meander,” and specify the scanning direction X and the point spacing 1 mm. 6 – 364 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 695
Example: BEGIN PGM OPTIDIGI MM BLK FORM 0.1 Z X+0 Y+0 Z–10 ;REQUIRED FOR THE PARALLEL BLK FORM 0.2 X+100 Y+100 Z+10 ;GRAPHICS OF THE TNC TOOL DEF 1 L+0 R+4 TOOL CALL 1 Z S1000 TCH PROBE 5.0 RANGE ;DEFINITION OF THE TCH PROBE 5.1 PGM NAME: DIGIDAT ;DIGITIZED...
Page 696
PP.INT [mm] 60 [s/min] oscillations in 7 7 7 7 Enter the calculated value in MP6210. normal direction This standardizes the feed rate override potentiometer to the “attained feed rate.” 6 – 366 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 697
6.15.5 Digitizing with the Measuring Trigger Probe The measuring touch probe permits scanning speeds up to 3 m/min. The stylus deflection is measured in every direction directly by integral encoders and evaluated in the TNC. Technical You need: prerequisites An interfaced measuring touch probe A “digitizing with measuring touch probe”...
Page 698
0.1000 to 2.0000 [mm] MP6320 Counting direction of encoder output signals (measuring touch probe) Format: %xxx Input: Bits 0 to 2 represent axes X to Z 0: Positive 1: Negative 6 – 368 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 699
MP6321 Measuring the center offset while calibrating the measuring touch probe Input: 0: Calibration with measurement of the center offset 1: Calibration without measuring the center offset MP6322.0-2 Assignment of the touch probe axes to the machines axes X, Y and Z Input: 0: Touch probe axis X 1: Touch probe axis Y...
Page 700
6.15.6 Tool Measurement With the HEIDENHAIN TT 130 touch probe you can measure and inspect tools. HEIDENHAIN provides standard cycles for automatic tool measurement and calibration of the TT 130 (see the User’s Manual). Technical You need: prerequisites TT 130 Central tool file TOOL.T must be active (via machine parameter)
Page 701
Tool radius and tool 7 7 7 7 With MP6500 bits 1 and 2, specify whether tool radius and tool length measurements are allowed and whether individual teeth are to be length measured. measurement 7 7 7 7 Specify in MP6500 bit 14, if tool measurement with stationary spindle is to be carried out for tools with the value 0 in the ”number of teeth”...
Page 702
Safety clearance in tool axis direction MP6540.1 Safety clearance in the plane perpendicular to the tool axis MP6550 Rapid traverse in probing cycle for TT 130 Input: 10 to 20 000 [mm/min] 6 – 372 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 703
Probe contact 7 7 7 7 In MP6531.x, enter the diameter (disk) or the edge length (cube) for the probe contact. 7 7 7 7 In MP6580, enter the coordinates of the probe contact center with respect to the machine datum. After calibration the NC internally saves the exact center of the probe contact.
Page 704
MP6507=1: Calculation of the probing feed rate with variable tolerance The measuring tolerance changes depending on the tool radius. A probing feed rate results even for large tool radii. 6 – 374 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 705
The measuring tolerance is changed according to the following table: Tool radius Measuring tolerance Up to 30 mm MP6510.0 30 mm to 60 mm 2 · MP6510.0 60 mm to 90 mm 3 · MP6510.0 90 mm to 120 mm 4 ·...
Page 706
Ref. coordinate for monitoring the position of the rotary and additional linear axes during the tool measurement cycles As of software version:280 476-01 Input: –99 999.9999 to +99 999.9999 [mm] or [°] MP6586.0–5 Axes A to W 6 – 376 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 707
Tool measurement 7 7 7 7 If the tool is to be measured in a tilted position other than that in which the tool touch probe was calibrated, set MP6500 bit 13 = 1. in a tilted coordinate system MP6500 Tool measurement with TT 130 Format: %xxxxxxxxxxxxx...
Page 710
6.16 Electronic Handwheel The following handwheels can be connected with HEIDENHAIN contouring controls (See "Mounting and Electrical Installation” on page 3 – 5): One panel-mounted HR 130 handwheel, or Three HR 150 panel-mounted handwheels via the HRA 110 handwheel adapter One HR 410 portable handwheel For information on the operation of the electronic handwheel, see the User’s...
Page 711
You can choose a larger input step for the traverse distance per rotation than that calculated by the NC: 7 7 7 7 In MP7670.x, enter an interpolation factor. 7 7 7 7 In MP7645.x, enter an initialization parameter for the handwheel. The parameters are evaluated by the HRA 110 and HR 410.
Page 712
3: Input disabled Error recognition: Marker Value Meaning M4203 Status information was written Error code in W1022 W1022 Transferred value out of range Incorrect number of the status information Input disabled 6 – 382 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 713
6.16.1 HR 130 Panel-Mounted Handwheel 7 7 7 7 Enter MP7640 = 2 (HR 130) When the axis keys are pressed, the associated cursor and the handwheel symbol are displayed simultaneously. 6.16.2 HR 410 Portable Handwheel 7 7 7 7 Enter MP7640 = 6 (HR 410) 7 7 7 7 In MP7645, specify whether the keys on the handwheel are to be evaluated...
Page 714
Handwheel feed rate in the Handwheel operating mode with HR 410 Input: 0 to 1000 [% of MP1020] MP7671.0 Low speed MP7671.1 Medium speed (only HR 410) MP7671.2 High speed (only HR 410) 6 – 384 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 715
6.16.3 HR 150 Panel-Mounted Handwheels with HRA 110 Handwheel Adapter 7 7 7 7 Enter MP7640 = 5 (HR 150 via HRA 110) For selecting the interpolation factor you can use the switch S1 (see Mounting and Electrical Installation). For this purpose you must evaluate the inputs I160 to I167 of the switch in the PLC and activate the corresponding interpolation factor with Module 9036.
Page 716
8 (at the right stop) I167 Step switch 2: Axis selection switch Switch position PLC input 1 (at the left stop) I168 I169 I170 I171 I172 I173 I174 8 (at the right stop) I175 6 – 386 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 717
6.17 PLC Inputs/Outputs The logic unit provides you with digital inputs/outputs and analog inputs/ outputs for the PLC. If the available number of I/O is not enough, you can add up to four PL 4xxB (See "Mounting and Electrical Installation” on page 3 – 5). Logic unit PLC input/output unit PL 410B...
Page 718
0: First logical PL 1: Second logical PL 2: Third logical PL 3: Fourth logical PL MP4030.0 First physical PL MP4030.1 Second physical PL MP4030.2 Third physical PL MP4030.3 Fourth physical PL 6 – 388 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 719
Diagnosis of the PL Module 9007 Diagnostic information of the PL Module 9007 can ascertain diagnostic information on the PL 4xxB. To save computing time, refrain from continuously calling this module. Call: B/W/D/K <Number of the logical PL> B/W/D/K <Number of the information> 0: Readiness 1: Supply voltage Bit 0: Logic voltages 24 V and 5 V...
Page 720
3: Fourth PLC input/output unit 9002 Error recognition: Marker Value Meaning M4203 Inputs were read Error code in W1022 W1022 Invalid PL no. Module was called in a spawn job or submit job 6 – 390 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 721
Module 9008 Reading specific inputs of a PLC input/output unit In PLC addresses you can read the current states of the PLC input/output unit. (See "Mounting and Electrical Installation” on page 3 – 5). The memory contents remain unchanged until you call this module or Module 9002.
Page 722
1: Falling edge. Entry in edge marker 2: Rising edge. Entry in edge byte 3: Falling edge. Entry in edge byte 9004 Error recognition: Marker Value Meaning M4203 No error Invalid transfer parameter 6 – 392 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 723
6.17.2 Analog Inputs Socket X48 of the logic unit provides ±10 Vdc analog inputs and analog inputs for connecting Pt 100 thermistors. (See “Analog Input” on page 3 – 47) The PLC input/output unit is available in a version with additional analog inputs. (See “Overview of Components”...
Page 724
7 to 13: Analog outputs 7 to 13 (X9) B/W/D/K <Analog voltage in mV> 9130 Error recognition: Marker Value Meaning M4203 Analog voltage was output Error code in W1022 W1022 Invalid analog output Disabled analog output 6 – 394 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 725
6.18 Incremental Jog Positioning 7 7 7 7 The “incremental jog positioning” function is switched on and off with the INCREMENT OFF/ON soft key. 7 7 7 7 To position with incremental jog, press the direction keys (W1046/W1048). With maker M4579 you can interrogate the current state. With Module 9036 you can limit the jog increment.
Page 726
3: Input disabled Error recognition: Marker Value Meaning M4203 Status information was written Error code in W1022 W1022 Transferred value out of range Incorrect number of the status information Input disabled 6 – 396 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 727
Module 9035 Reading status information Call: B/W/D/K <26> 9035 B/W/D <Jog increment> Error recognition: Marker Value Meaning M4203 No error Error code in W1022 W1022 Status information invalid Call was not in a submit or spawn job December 2001 Incremental Jog Positioning 6 –...
Page 728
• If the target position is not in the Hirth grid, output a PLC error message. MP420.0-8 Hirth coupling for axes 1 to 9 Input: 0: No Hirth coupling 1: Hirth coupling MP430.0-8 Prescribed increment for Hirth coupling Input: 0.0000 to 30.0000 [°] 6 – 398 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 729
6.20 Datum Shift With the datum shift function you can offset the defined datum point. The same initial position must apply for the description of the machine geometry via MP7510 and following (See "Tilting Axes” on page 6 – 52) and the datum shift.
Page 730
Press the PGM MGT soft key. The pocket table is always transferred along with the tool table. On the external storage medium the tool table has the identifier T, and the pocket table has the identifier R. 6 – 400 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 731
7 7 7 7 In MP7266.x, specify the fields of the tool table that are to be displayed and the sequence in which they appear. Right side of the tool table Left side of the tool table Note The complete width of the tool table cannot exceed 250 characters. Wider tables cannot be transmitted through the data interface.
Page 732
Tool radius 2 for toroidal cutter MP7266.4 Oversize in tool length MP7266.5 Oversize in tool radius MP7266.6 Oversize in tool radius 2 MP7266.7 Locked tool? MP7266.8 Replacement tool MP7266.9 Maximum tool age (M4543) TIME1 6 – 402 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 733
Meaning Column name Column width MP7266.10 Maximum tool age TOOL CALL TIME2 MP7266.11 Current tool age CUR.TIME MP7266.12 Comment on the tool MP7266.13 Number of tool teeth MP7266.14 Wear tolerance for tool length LTOL MP7266.15 Wear tolerance for tool radius RTOL MP7266.16 Cutting direction of the tool...
Page 734
The TNAME (tool name) column contains the name of the tool from the tool table and therefore cannot be edited. For indexed tools, the name of the tool is entered with the index 0. 6 – 404 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 735
Module 9092 Searching for an entry in the tables selected for execution (.T/.D/.TCH) Prerequisite for table: M status must be set. The entry or value sought is given as a natural number, shifted by the number of decimal places that can be entered. As return code the function replies with the number of the line in which the value was found.
Page 736
3: No file of the entered type was found with M status 4: Line number not in file 5: Incorrect element number 6: Element value not found Error recognition: Marker Value Meaning M4203 No error For error, see above 6 – 406 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 737
Module 9093 Read data from tables selected for program (.T/.D/.TCH) Prerequisite for table: M status must be set. You transfer the line number (i.e. tool number for .T, vector number for .D or pocket number for .TCH) and the number of the element to be read. The value is given as a natural number, shifted by the number of decimal places that can be entered.
Page 738
4: Line number not in file 5: Incorrect element number 6: Element value is outside the permissible range Error recognition: Marker Value Meaning M4203 No error For error, see above 6 – 408 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 739
Module 9096 Erasing a line in the tool table You remove a line from the tool table and cancel any link with a replacement tool. The module must be called in a submit job or spawn job. Call: B/W/D/K <Tool number / pocket number> B/W/D/K <Mode>...
Page 740
Invalid parameter for locking/releasing the pocket table Pocket table was already locked/released Module was not called in a spawn job or submit job Module was called during an NC program run 6 – 410 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 741
Module 9305 Tool exchange in the pocket table Module 9305 is used to change the tools in the pocket table. Only column T (tool number) is changed. All other columns remain unchanged. The pocket table must be locked with Module 9300 before switching the pockets, and then it must be released again.
Page 742
Vacant pocket was found Error code in W1022 W1022 Invalid pocket number Invalid tool magazine number Module was not called in a spawn job or submit job Error in file handling 6 – 412 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 743
Module 9306 Exchange tools between tool magazines With Module 9306, tools are exchanged between tool magazines. The pocket table must be locked with Module 9300 before calling this module, and then it must be released again. In the original and new entry only the tool number is changed.
Page 744
“variable tool-pocket coding” function. With the “F” field (fixed pocket) you can define this function selectively for individual tools. Reset M4541 Special tool in original pocket in spite of variable pocket coding 6 – 414 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 745
Tool life, You can enter two tool life values (TIME1 and TIME2) and one replacement replacement tool tool (RT) for each tool in the tool table. TOOL-CALL key: CUR.TIME (current tool age) > TIME2: Pocket or tool number (MP7480) of the replacement tool and a T strobe M4073 are output and M4525 is set.
Page 746
Format: %xxxxxxxxxxxxx Input: Bit 6 – Tool length in blocks with normal vectors: 0: Without R2 from tool table (south pole) 1: With R2 from tool table (center of sphere) 6 – 416 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 747
Indexed tools You can also work with indexed tools in the tool table, e.g., when you use a stepped drill with more than one length compensation value. For indexed tools, the tool number is given an index (e.g., 1.1). 7 7 7 7 In MP7262, enter the maximum tool index number.
Page 748
The tool types are defined in the file PLC.\TTYP.TAB. If you edit this file, you must enter the new name and path in the system file OEM.SYS using the command TTYP=. 6 – 418 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 749
Standard tables are in the root directory of the TNC (TNC:\). You can arbitrarily expand and change all tables. If you change the tables, you must copy them into another path. Otherwise your changes will be overwritten with HEIDENHAIN standard data during the next software update: 7 7 7 7 In the system file TNC.SYS, use the code words TMAT= and WMAT= to...
Page 750
With the F AUTO soft key you can again activate the feed rate from the TOOL CALL block. Principle 6.21.3 Automatic Tool Recognition Automatic tool identification is possible with the Balluff tool identification system (BIS). Please contact HEIDENHAIN for further information. 6 – 420 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 751
6.21.4 Controlling the Tool Changer You program the control of the tool changer in the PLC. This includes: Positioning of the changing arm and carousel Tool change sequence The NC handles the tool management. This includes: Tool life Pocket assignment Evaluation of the TOOL DEF blocks Evaluation of the TOOL CALL blocks The NC and PLC communicate through markers and words.
Page 752
22 L Y+Q11 M71 ; CLAMP THE TOOL AND RETURN TO THE CHANGE POSITION 23 LBL 3 24 TOOL CALL Q1 Z SQ3 DL+Q4 DR+Q5 ; TOOL CALL WITH T STROBE 25 M113 ; CANCEL M112 26 END PGM TCALL MM 6 – 422 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 753
Variable and fixed You can work with either variable or fixed pocket coding. pocket coding 7 7 7 7 Specify with MP7480 whether the tool or pocket number is to be transferred to the PLC: • Variable pocket coding: Pocket number must be transferred. Set MP7480.x = 3 or 4.
Page 754
M4523 is set. During programming of TOOL DEF the tool and pocket numbers are transferred. A TOOL DEF for a manual tool has no relevance for the PLC. 6 – 424 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 755
You define a fixed pocket with the “F” field. If a fixed pocket has been defined for a tool, it will be returned to its original pocket in spite of the variable pocket coding. Reset M4520 Another T code (P code) follows with TOOL CALL 0: A normal tool follows a normal tool (N →...
Page 756
TOOL CALL to output two pocket or tool numbers in sequence. You can recognize this with M4520 and M4540. You must evaluate and acknowledge both pocket or tool numbers. 6 – 426 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 757
N → N: Normal tool The pocket number and the tool number of the called tool are transferred. follows a normal tool December 2001 Tool Changer 6 – 427...
Page 758
M4540 = 0 Zero means clear the spindle! 7 7 7 7 Clear the spindle and acknowledge with M4093. Then the pocket and tool numbers of the new tool are transferred. 6 – 428 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 759
S → N, First the pocket and tool numbers of the new tool are transferred. Double changing 7 7 7 7 Acknowledge with M4093. arm, M4540 = 1 Then the pocket tool number of the old tool and the tool number zero are transferred.
Page 760
Zero means clear the spindle! Pocket number –1 means: no pocket in the tool magazine! 7 7 7 7 Acknowledge with M4093. Then the pocket number and tool number of the new, called tool are transferred. 6 – 430 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 761
M → M: Manual tool Pocket number –1 means: no pocket in the tool magazine! follows a manual tool December 2001 Tool Changer 6 – 431...
Page 762
7 7 7 7 Acknowledge with M4093. Then the pocket number –1 and tool number of the new, called tool are transferred. Pocket number –1 means: no pocket in the tool magazine! 6 – 432 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 763
S → M: Manual tool With this change sequence, two pocket numbers or two tool numbers must follows a special be transferred in succession. M4520 indicates that another TOOL CALL tool strobe (M4073) will follow. Regardless of marker M4540, the pocket number of the old tool and tool number zero are transferred first.
Page 764
• No, M4541 = 0 The same logic program applies for single and double changer arms. • Yes, M4541 = 1 Single and double changer arms have different sequences of pocket number transfer. 6 – 434 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 765
S → S, First the pocket number of the old tool and the tool number zero are Single changing transferred. arm, M4540 = 0 Zero means clear the spindle! 7 7 7 7 Acknowledge with M4093. Then the pocket number and tool number of the new tool are transferred. December 2001 Tool Changer 6 –...
Page 766
7 7 7 7 Acknowledge with M4093. arm, M4540 = 1 Then the pocket tool number of the old tool and the tool number zero are transferred. Zero means clear the spindle! 6 – 436 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 767
N → S: With this change sequence, two pocket numbers or two tool numbers must Special tool follows be transferred in succession. M4520 indicates that another TOOL CALL a normal tool strobe (M4073) will follow. Regardless of M4541, there is a different sequence of pocket number transfer for single and double-arm changers (M4540).
Page 768
7 7 7 7 Acknowledge with M4093. arm, M4540 = 1 Then the pocket tool number of the old tool and the tool number zero are transferred. Zero means clear the spindle! 6 – 438 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 769
M → S: With this change sequence, two pocket numbers or two tool numbers must Special tool follows be transferred in succession. M4520 indicates that another TOOL CALL a manual tool strobe (M4073) will follow. Regardless of markers M4540 and M4541, the pocket number –1 and tool number zero are transferred first.
Page 770
Special tool called (TOOL CALL) M4540 Sequence of the tool numbers or pocket number transfer, M4520 = 1 M4541 Special tool to original pocket in spite of variable pocket coding 6 – 440 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 771
Machines parameter that are used: Machine parameter Meaning MP7260 = 90 Number of tools in the tool table MP7261 = 12 Number of the pockets in the tool magazine MP7480.0 = 4 Output of the pocket number and tool number for every TOOL CALL block MP7480.1 = 4 Output of the pocket number and tool number for...
Page 772
TOOL DEF program Search for tool and load in GRE1 module 6 – 442 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 773
TOOL CALL Automatic tool change, main program program module December 2001 Tool Changer 6 – 443...
Page 774
STANDBY program Search for tool and load in GRE1 module STANDBY BACK Return tool from GRE1 to the tool magazine program module 6 – 444 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 775
N → M or S → M: MANUAL TOOL IN program module Manual tool follows a normal or special tool The old tool is placed in the tool magazine and the user is prompted to insert a manual tool (which is not in the tool magazine).
Page 776
Normal or special tool follows a manual tool The operator is prompted to module empty the spindle manually, since there is no room in the tool magazine for the current tool. The called tool is inserted automatically. 6 – 446 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 777
M → M: MANUAL TOOL OUT/IN program Manual tool follows a manual tool. The user is prompted to remove the tool module from the spindle manually and insert the new tool, since there is not room for the tools in the tool magazine. December 2001 Tool Changer 6 –...
Page 778
The spindle is emptied and the new tool is automatically inserted. The PLC module takes into account whether the tool should be returned to its original pocket (e.g., special tool). 6 – 448 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 779
COMPARE P CODE The tool magazine is positioned in the shortest direction to the desired pocket WITH ISTREG number. December 2001 Tool Changer 6 – 449...
Page 780
COMPARE GRE1 The tool magazine is positioned in the shortest direction to the pocket number WITH ISTREG that is located in GRE1. program module 6 – 450 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 781
COMPUTE The PLC ascertains the direction of tool-magazine movement for the shortest SHORTEST traverse distance to the desired pocket number. DIRECTION The direction is saved in M3042: program module M3042 = 0: Backward M3042 = 1: Forward December 2001 Tool Changer 6 –...
Page 782
M201 V... the value programmed behind M201 V. Input: 0 to 9.999 [V] Duration of effect: M200 V... is effective until a new voltage is output with M200 to M204. 6 – 452 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 783
Voltage output The TNC outputs the voltage as a function of the velocity: varies with the 7 7 7 7 In MP3013.x and MP3014.x, define up to three characteristic curves in a velocity: M202 FNR. table. In the table, certain analog voltages are assigned to certain feed rates: 7 7 7 7 With M202 FNR.
Page 784
Input: 0.0000 to 99 999.9999 [mm] MP7317 M function for graphic simulation MP7317.0 Beginning of graphic simulation Input: 0 to 88 MP7317.1 Interruption of graphic simulation Input: 0 to 88 6 – 454 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 785
6.22.3 Program Stop for M Functions and TOOL CALL S TOOL CALL S means a TOOL CALL in which only one spindle speed was programmed. For TOOL CALL S and also in the PROGRAM RUN, FULL SEQUENCE and PROGRAM RUN, SINGLE BLOCK modes, the output of an M function interrupts the program run until you confirm execution with M4092.
Page 787
6.23 Integrated Oscilloscope The TNC features an integrated oscilloscope. With this oscilloscope you can record the following characteristics in up to four channels: Actl. speed Actual value of the axis feed rate [mm/min]. Calculated from position encoder Noml. speed Nominal value of the axis feed rate [mm/min]. Axis feed rate calculated from the difference from the nominal position values.
Page 788
The signals are therefore stored for a duration of 2.4576 to 24.576 seconds. Channel 1 to channel 4: 7 7 7 7 Assign the channels of the recorded signals to the respective axes. 6 – 458 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 789
Trigger: 7 7 7 7 Define the type of recording. You have the following possibilities: • FREE RUN The recording is started and ended by soft key. If you press the STOP soft key, the last 4096 events are stored. •...
Page 790
Increase the vertical resolution. Optimum vertical resolution. The signal is centered in the picture. With NO ENT you return to the resolution chosen originally. Switch to second cursor. Return to oscilloscope display. 6 – 460 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 791
Meaning of the soft keys: Select the memory area to be displayed. A new soft-key row with the following soft keys appears: Move the signal to the left Move the signal to the right Decrease the horizontal resolution. Increase the horizontal resolution. Return to oscilloscope display.
Page 792
In the machine parameter editor you select the installed power modules and module the motors: 7 7 7 7 Call the respective menu with the corresponding soft key (see illustration). 6 – 462 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 793
PLC:\MP\MOTOR.AMP List of power modules These tables are then taken into account by the TNC. If at any time you want to use the HEIDENHAIN standard tables again, you must erase the above- mentioned tables in the PLC partition. If the PLC partition does not contain a MOTOR.MOT table, the control searches the PLC partition for the MOTOR.ASN and MOTOR.SN lists.
Page 794
• 4 = incremental linear encoder • 5 = absolute rotary encoder with EnDat interface (not aligned • 6 = incremental rotary encoder without Z1 track (See “Field orientation” on page 6 – 470) 6 – 464 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 795
Counting direction of the motor encoder (DIRECT.) Maximum temperature (T-MAX) in °C Maximum current (I-MAX) in A Rated power output (P-N) in W Motor mass moment of inertia (J) in kgm Inductance of the series reactor (L) in µH Thermal time constant DC (T-DC) in s Transition frequency on T-DC (F-DC) in Hz Thermal time constant AC (T-AC) in s Transition frequency on T-AC (F-AC) in Hz...
Page 796
Input: 0 to 60 [°] Logic unit up to The HEIDENHAIN and SIEMENS current controllers differ in their Id. Nr. xxx xxx–3x: characteristics. The maximum speed for synchronous motors attainable with the TNC lies 15% below the value given in the SIEMENS data sheets. Please take this into account when you choose motors.
Page 797
INDRAMAT “POWER DRIVE” inverters PWM frequency The HEIDENHAIN TNC 426 PB/M and TNC 430 PA/M controls work with a with SIEMENS PWM frequency of 5 kHz. SIEMENS power modules are normally driven with “SIMODRIVE” a PWM frequency of 3.2 kHz (spindle) and 4 kHz (axes).
Page 798
DSP must be commissioned again. For the commissioning of new machines, HEIDENHAIN recommends adjusting the PWM frequency to fit axis modules (normally 4 kHz, see SIEMENS documentation). If the power module of the spindle gets too warm...
Page 799
Axis power module with 50 A, PWM frequency of 4 kHz, X1 = 40 %, X2 = 4 kHz ) 8 kHz 4 kHz ⋅ æ ö 100 40 – – – --------------------------------------------------------------------------------------- è ø 8 kHz 4 kHz – ----------- 1.00 –...
Page 800
If an encoder without Z1 track is used, the spindle is first roughly oriented after it has been started. Then the field angle can be assigned to the reference mark and the spindle starts, taking the field angle into account. 6 – 470 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 801
Temporary input 7 7 7 7 Enter the following temporary input values when you begin commissioning: values Temporary Meaning input value MP20.0 %00000000 Monitoring the absolute position of the distance-coded reference marks MP1030.x 0.01 Positioning window MP1090.x Maximum permissible jerk on the tool path MP1092 <greater than Feed rate threshold from which MP1090.1...
Page 802
Bits 0 to 5 correspond to selected axes 1 to 6 Bit 15 – Spindle selected Bit 16 – Circuit type of the spindle 0: Wye connection 1: Delta connection 6 – 472 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 803
Adjusting the current controller: 7 7 7 7 Switch on the control. 7 7 7 7 Do not acknowledge the message POWER INTERRUPTED. In the PROGRAMMING AND EDITING mode of operation, enter the code number 688379. 7 7 7 7 Press the I CONTROL soft key.
Page 804
When the current gain is properly adjusted, press the STORE MP2400.x soft key to transfer the optimized value directly into the machine parameter. 7 7 7 7 Press the END key to exit the I CONTROL mode again. 6 – 474 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 805
Speed controller Adjusting the speed controller: 7 7 7 7 Deselect “Pass over reference point” by setting MP1340 = 0. 7 7 7 7 Ensure that the loaded PLC program fulfills the following conditions: • Position control loop is closed (W1038/W1040 = 0). If the position controller is not optimized, error messages appear if the position controller is closed.
Page 806
MP2500 too small MP2500 too large 7 7 7 7 Input value for MP2500.x = <determined value> · 0.6 6 – 476 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 807
7 7 7 7 Compensate high-frequency interference oscillations (> 400 Hz) with MP2530.x or MP2560.x. MP2530 optimum MP2530 too small December 2001 Commissioning 6 – 477...
Page 808
Warning You can use MP2520.x to compensate low-frequency oscillation (< 100 Hz) on axes with mechanical problems. However, HEIDENHAIN recommends that you avoid using MP2520.x if possible. Do not use for axes with belt drive! You can also compensate disturbance oscillations with the band-rejection...
Page 809
7 7 7 7 Increase MP2510.x (I factor) until you see one overshoot followed by a slight undershoot and the settling time t is as small as possible (realistic value: 3 ms to 15 ms) MP2510 optimum MP2510 too small December 2001 Commissioning 6 –...
Page 810
(see I NOMINAL on the oscilloscope) and a fluctuation of the utilization display, and it is usually audible. This mostly happens with spindle (asynchronous) motors. I NOMINAL: Readjustment of the speed 6 – 480 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 811
7 7 7 7 Increase MP2402.x until the motor begins to run smoothly. (Empirical value: MP2402.x = approx. 2...3 * MP2400.x) MP2403.x optimum December 2001 Commissioning 6 – 481...
Page 812
Change to MANUAL operating mode. 7 7 7 7 Press the axis direction buttons. 7 7 7 7 Check the counting direction on the display and if necessary, correct it with MP210.x. 6 – 482 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 813
Position controller Adjusting the position control loop: 7 7 7 7 Activate a PLC program that is adapted to the machine. 7 7 7 7 Ensure that the position control loop is closed (W1038/W1040) and all inputs/outputs are properly operated. 7 7 7 7 Optimize the position control loop in the following 12 steps: If the position controller still oscillates after optimization, check the I factor...
Page 814
MP1391 and MP1392 Set to velocity feedforward control MP1090.0 Enter a very small jerk, e.g. 1 (dependent on the machine) MP1090.1 MP1092 <greater than rapid traverse> MP1095 MP1096 MP1099.0 MP1099.1 6 – 484 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 815
7 7 7 7 Enter the following test program: LBL 1 L X <maximum traverse> R0 FMAX LX0 FMAX CALL LBL1 REP 100/100 7 7 7 7 Display the actual speed (act. speed) with the integrated oscilloscope and, if necessary, also show the following error (lag). 7 7 7 7 Start the test program with feed rate override = 100%.
Page 816
7 7 7 7 Increase the k factor until the oscillation limit is reached. 7 7 7 7 Calculate MP1510: MP1510.x = <determined value> · 0.6 Oscillation limit has been reached 6 – 486 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 817
factor too large Unlike in operation with following error, you can also enter the optimum k factor for interpolated axes. You can save a number of different k factors in the TNC and activate them with M functions (See "The Control Loop” on page 6 –...
Page 819
HSC filter (MP1094) Damping [dB] Frequency to be damped [Hz] – – – – – – Note If you have selected the best nominal position value filter for your application, please note that your input value can be overwritten by the machine user through Cycle 32.
Page 820
Procedure for defining a characteristic curve kink point: 7 7 7 7 Specify the k factor for rapid traverse (characteristic curve kink point): ⋅ max. machining feed rate 100 % ----------------------------------------------------------------------------------------- MP1830.x Rapid traverse MP1820.x = 1 6 – 490 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 821
Set to operation with following error. 7 7 7 7 Enter the following test program: LBL2 L X<maximum traverse> R0 FMAX L X0 R0 FMAX CALL LBL1 REP 100/100 7 7 7 7 Start the test program. 7 7 7 7 Display the actual feed rate (actl.
Page 822
MP1820 too large 4. Switch on the nominal position value filter: 7 7 7 7 In MP1096, enter a defined tolerance (e.g. 0.02 mm). 6 – 492 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 823
To ensure that the monitoring functions become effective at the right moment, you must enter meaningful values. HEIDENHAIN recommends the following input values. You must change these values slightly to adapt them to the design of the machine. Temporary input...
Page 824
From the current contouring feed rate, calculate the feed rate specific to the Y axis and enter the value in MP1513.1. 7 7 7 7 Adjust the feed rate until the following error is measurable again. 6 – 494 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 825
7 7 7 7 Increase MP1511.x in increments of 10 000 until the following error is no longer measurable. If the machine oscillates at a standstill: 7 7 7 7 Decrease MP1512.x. 8. Limit the integral factor of the shaft speed controller: Very high static friction can cause an axis to jerk loose and “jump”...
Page 826
With the feed rate override knob, adjust the motor speed to ± 10 rpm (MP2020.x). 7 7 7 7 Determine the current (I NOMINAL) in both directions of rotation. 7 7 7 7 Calculate MP2630.x: I NOML I NOML ----------------------------------------------------- - MP2630.x 6 – 496 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 827
10. Compensate the sliding friction: 7 7 7 7 Select operation with velocity feedforward control 7 7 7 7 Enter the following test program (sliding friction in the X axis): LBL 1 L X+2 R0 F50 L X-2 R0 F50 CALL LBL 1/10 7 7 7 7 Use the integrated oscilloscope to record the actual shaft speed...
Page 828
Measure I NOMINAL at maximum speed (rapid traverse) and calculate the current at rated speed as follows: ) <rated rpm> ⋅ MP2610.x – nmax ----------------------------------------------------------------------------------------- - MP2620.x MP2610.x : Current at rapid traverse nmax : Shaft speed at rapid traverse 6 – 498 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 829
11. Check the acceleration feedforward: 7 7 7 7 Select operation with velocity feedforward control 7 7 7 7 Enter the following test program: LBL 1 L X+100 R0 F5000 L X-100 R0 F5000 CALL LBL 1/10 7 7 7 7 Use the integrated oscilloscope to record the actual shaft speed (ACTUAL RPM), the nominal current value (I NOMINAL), and the integral- action component of the nominal current value I (INT RPM).
Page 830
At feed rates greater than approx. 6000 rpm the reversal peaks might point inward as a result of overcompensation: 7 7 7 7 In this case, increase MP2612.x until the reversal peaks no longer point inward. 6 – 500 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 832
7 7 7 7 Remove the jumper at the nominal value input and establish a nominal-value connection to the logic unit. 6 – 502 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 833
7 7 7 7 Perform a coarse velocity adjustment: • Set MP1010.x (rapid traverse) and MP1050.x (analog voltage at rapid traverse). • With the internal oscilloscope functions, output the nominal value step at the height for rapid traverse. • Record U ANALOG and check the voltage. •...
Page 834
TRAVERSE REFERENCE POINTS with axis direction keys. TRAVERSE REFERENCE POINTS with start key. Traverse direction Traverse direction correct? correct? Power off. Power off. Change MP1320. Change MP210 and MP1040. Finished 6 – 504 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 835
2. Set the traverse range Same procedure as for digital axes. 3. Specify the type of control For control with following error, same procedure as for digital axes. For control with velocity feedforward control, same procedure as for digital axes. 4.
I NOMINAL is not limited. 7 7 7 7 Increase the P factor (MP2501) until the system oscillates or no change is visible. 6 – 506 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 837
You can modify the machine parameters: 7 7 7 7 In the setup menu, press the MP EDIT soft key. 7 7 7 7 Calculate MP2501: MP2501 = MP2501 · 0.6 December 2001 Commissioning 6 – 507...
I NOMINAL must not oscillate after reaching the maximum speed. If I NOMINAL oscillates: • Reduce MP2501 and MP2511 evenly until the overshoots are minimized. I NOMINAL oscillating 6 – 508 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 839
Only one overshoot Optimize the acceleration: 7 7 7 7 Optimize the acceleration individually for each gear range. 7 7 7 7 Choose a ramp gradient at which the motor almost reaches the electrical current limit, and set it with MP3411.x. December 2001 Commissioning 6 –...
Page 840
• If the error message “Nominal speed value S too high” appears, you must modify MP3140. 7 7 7 7 Optimize the k factor (MP3440.x for each gear range. A TOOL CALL must be run to transfer the modified gear-specific MPs . 6 – 510 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 841
Higher current gain The counter EMF increases with increasing shaft speed. Therefore a higher beginning with the current gain is needed at higher shaft speeds: rated speed 7 7 7 7 With the integrated oscilloscope, record V (ACT RPM) and activate a shaft speed greater than the rated speed.
Page 842
Press the START STEP soft key. This sends a step function to the current controller and measures the step response. The height and length of the step function are automatically calculated by the TNC. 6 – 512 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 843
With the ↑ soft key, increase the P factor (MP2421.x) to the oscillation limit. 7 7 7 7 MP2421 too small MP2421 too large December 2001 Commissioning 6 – 513...
Page 844
7 7 7 7 Confirm this value with the STORE MP2431.X soft key. 7 7 7 7 Switch-off the machine to exit the I CONTROL mode. 7 7 7 7 Press END. 6 – 514 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 845
Speed controller Same procedure as for TNC 426 digital spindle. Acceleration Same procedure as for TNC 426 digital spindle. Direction of rotation Same procedure as for TNC 426 digital spindle. Position controller Same procedure as for TNC 426 digital spindle. December 2001 Commissioning 6 –...
Page 847
6.24.6 Analog Spindles Adjusting the servo amplifier Same procedure as for analog axes. Acceleration Same procedure as for digital spindle. You measure the signals directly at the servo amplifier with an external oscilloscope. Direction of rotation Same procedure as for digital spindle. Position controller Same procedure as for digital spindle.
Page 852
TNC keyboard. It’s easier, however, to create your PLC programs on a PC with the PLC compiler software PLCdesign. For more information on PLCdesign, contact HEIDENHAIN. To prevent errors in the PLC program, the TNC operates a syntax monitor during program input.
Page 853
After switch-on, the TNC automatically compiles the program that was last selected as sequential program. The PLC program is not active until it has been compiled! PGM in edit mem: Name of the file in main memory. 7 – 4 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 854
PLC functions of the From the PLC main menu you can use soft keys to access the following PLC main menu functions: Soft key Function Load PLC program into main memory for editing. Check logical states (M/I/O/T/C), display contents (B/W/D). See “The Table Function” on page 7 – 11 Display TRACE function or logic diagram.
Page 855
TNC (. PLC, .CMA etc.). Generates a list of programs, numbered by line. Generates a program list and cross reference list, numbered by line. 7 – 6 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 856
7.1.4 The TRACE Function With the TRACE function you can: Control the logical states of markers, inputs, outputs, timers, and counters Check the content of bytes, words, and double words You can select the trace function with the TRACE soft key from the PLC main menu.
Page 857
Start and stop the dynamic display of the operand contents, accumulator contents, and logic diagram with STOP DISPLAY and START DISPLAY . Start trace. End trace. Back to previous menu. 7 – 8 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 858
7.1.5 The Logic Diagram Soft keys in the LOGIC DIAGRAM function : Soft key Function Select Markers/Inputs/Outputs/Timers/Counters for a logic diagram. Show trace in code. Save current logic diagram in an ASCII file (*.A) Display saved logic diagram Start and stop the dynamic display of the operand contents, accumulator contents, and logic diagram with STOP DISPLAY and START DISPLAY.
Page 859
The ”PCTR” indicator blinks in the status window as long as the TNC is recording logical states. As soon as recording ends, you can use the arrow keys to select the desired area in the TRACE buffer. Example of a logic diagram: 7 – 10 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 860
7.1.6 The Table Function From the main menu, choose TABLE to select the table of markers, inputs, outputs, timers, counters, bytes, words, double words and strings in order to show their states dynamically on the screen. To select a certain operand, use the cursor keys or the GOTO key.
Page 861
Save states of selectable operand areas in an ASCII file. Areas of more than one operand can be saved, e.g. M0 to M100, W100 to W118 Display saved ASCII file with states of operands. Back to previous menu. 7 – 12 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 862
7.1.7 COMPILE Function A newly written PLC program does not become effective until it is compiled and thereby transferred to the process memory. The name of the compiled program then appears in the main menu next to PGM IN EXEC.MEM. To compile a PLC program: 7 7 7 7 Press the COMPILE soft key.
Page 863
B128 to B2047 reserved for NC/PLC interface B2048 to B4095 free, are deleted by a reset. Constant -2 147 483 647 to +2 147 483 647 String S0 to S15 7 – 14 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 864
7.2.2 Operand Addressing (Byte, Word, Double Word) The memory for operands B (8 bits), W (16 bits), D (32 bits) is only 8 bits wide. Since the operands can be 8, 16 or 32 bits wide, an overlapping of the memory area will occur, which you must take into account when addressing memory: Double word Word...
Page 867
B/W/D/K <Cycle time> Input value: 0 to 1 000 000 [ms] 9006 Error recognition: Marker Value Meaning M4203 Timer started Error. See W1022. W1022 Illegal timer number or excessive cycle time 7 – 18 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 868
7.2.4 Counters The PLC has 32 counters, which you control through special markers with the symbol C. After you have set a marker from the C0 to C31 range, the TNC loads the counter with the value that is saved in machine parameter MP4120.x.
Page 870
7.2.5 Fast PLC Inputs With MP4130 you can define PLC inputs that are not interrogated within the PLC cycle (21 ms), but rather in the control loop cycle (3 ms). Markers M4590 to M4593 show the current state of the fast PLC inputs. You must activate the fast PLC inputs in the PLC program with W522 bit 2 to bit 5.
Page 871
NC; data from D258, Q number from W516 D528 Double word with multiple function, here data for transfer from PLC to NC W516 Q Nr. 0-7 for numerical data transfer PLC → NC 7 – 22 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 872
7.3.3 Data Transfer NC Program → NC (SYSWRITE) You can use the FN17: SYSWRITE function particularly for OEM cycles if you wish to overwrite certain NC data, e.g., an active basic rotation, from the NC program. A group number, a system data number, and an index specify the particular item of system data that you write: FN17: SYSWRITE IDxxxx NRxxxx IDXxxxx = Qxxx or numerical value;...
Page 873
Tilting axis geometry description TS touch-trigger probe – Tool axis – Effective radius – Effective length – Radius of calibration ring Center offset (reference axis) Center offset (minor axis) – Center offset direction 7 – 24 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 874
Group Group System data System data System data item name number number index ID..NR..IDX..TT touch probe for tool measurement Center of axis 1 Center of axis 2 Center of axis 3 – Effective radius Probing position 1 in axis X Probing position 1 in axis Y Probing position 1 in axis Z Probing position 2 in axis X...
Page 875
(0 = X, 1 = Y, 2 = Z, –1 = Axis has no image). – Spindle orientation including the angle PLC data 2000 Marker no. PLC markers 7 – 26 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 876
7.3.4 Data Transfer NC → NC Program (SYSREAD) You can use the FN18: SYSREAD function particularly for OEM cycles if you wish to access certain NC data, e.g., active tool compensation values, from the NC program. A group number, a system data number, and an index specify the particular item of system data that you read: FN18: SYSREAD Qxxx = IDxxxx NRxxxx IDXxxxx (xxxx: Q parameter or numerical value);...
Page 877
Tool no. TT: Direction of rotation DIRECT 0 = positive, –1 = negative Tool no. TT: Offset in plane R-OFFS R = 99 999.9999 Tool no. TT: Offset in length L-OFFS 7 – 28 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 878
Group Group System data System data System data item name number number index ID..NR..IDX..Tool no. TT: Break tolerance in length LBREAK Tool no. TT: Break tolerance in radius RBREAK Tool no. PLC value Data from the pocket table Pocket number Tool number Pocket number...
Page 879
Current position in the active coordinate system 1 to 9 Axis 1 to 9 M128 active – –1 = M128 active, 0 = M128 not active – Feed rate programmed with M128 7 – 30 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 880
Group Group System data System data System data item name number number index ID..NR..IDX..Tilting axes – Current tilting axis geometry description Number of the Values of the individual bits of the active MP7500 (kinematics table or machine parameters). M144 active –...
Page 881
Read values from active datum table Line Column Read values Line Column Read REF values – 0 = no datum table selected 1 = datum table selected 7 – 32 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 882
Group Group System data System data System data item name number number index ID..NR..IDX..Write values from active pallet table – Active lines – Pallet number from column Name – Active line of the pallet table – Last line of the NC program of the current pallet 1 to 9 Tool-oriented machining...
Page 884
7.3.5 Data Transfer of Machine Parameters → PLC In the PLC there are 122 machine parameters reserved for data transfer to the PLC. The TNC saves the contents of machine parameters MP4210.x, MP4220.x and MP4310.x in PLC words. You must call the contents of MP4230.x and MP4231.x by using Module 9032.
Page 885
M4331 M4332 to Value from MP4310.2 M4347 M4348 to Value from MP4310.3 M4363 M4364 to Value from MP4310.4 M4379 M4380to Value from MP4310.5 M4395 M4396 to Value from MP4310.6 M4411 7 – 36 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 886
MP4210.0-47 Setting a number in the PLC (D768 to D956) Input: -99 999.9999 to +99 999.9999 MP4220.0-4 Setting a number in the PLC (W960 to W968) Input: 10 to 30 000 MP4230.0-31 Setting a number in the PLC (Module 9032) Input: -99 999.9999 to +99 999.9999 MP4231.0-31 Setting a number in the PLC (Module 9032)
Page 887
FN20: WAIT FOR I10 Continue the NC program, if PLC input I10 equals zero. FN20: WAIT FOR B3000>255 Continue the NC program, if the content of B3000 is greater than 255. 7 – 38 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 888
807667. As a machine tool builder, you are concerned primarily with the PLC partition. SYS partition System-specific files such as system files, NC dialogs, HEIDENHAIN cycles, etc. The SYS partition is not visible and cannot be selected. Warning...
Page 889
Directory structure HEIDENHAIN recommends creating the following directory structure in the PLC partition: System files *.SYS, (MP_NAME.MP only for default setting) Compensation value tables *.CMA and *.COM PLC programs *.PLC (main program and modules) Directory for PLC dialogs and error messages (created automatically) PLC dialogs and error messages *.A;...
Page 890
Input example: MODEHELP = PLC:\LANGUAGE\ENGLISH\OPTIMIZE.HLP PLCPASSWORD: Code number for calling the PLC mode (instead of 807667) Example entry: PLCPASSWORD = 123456789 Note Do not enter a code number that has already been defined by HEIDENHAIN! December 2001 Hard-Disk Organization 7 – 41...
Page 891
STRICTREPOS: The function for restoring the position is activated when an NC program block is interrupted during Program Run, Single Block or by a STOP and the positions of the NC axes are changed. 7 – 42 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 892
Module 9270: Reading a code word With Module 9270 you can read an entry from the OEM.SYS file. Call: B/W/D/K/S<String with code word> B/W/D/K <String number for result [0 to 7]> 9270 Error recognition: Marker Value Meaning M4203 Interface was released Error.
Page 893
PGM CALL (NC macro call) or CYCLE CALL is not executed until the calling program has actually reached the PGM CALL (NC macro call) or CYCL CALL. 7 – 44 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 894
They only need to be entered in NCMACRO.SYS to be defined. To prevent name conflicts with future HEIDENHAIN code words, your code words should begin with the character “P$” or with the name of the company.
Page 895
32 bits (double word). When you enter a command, the TNC immediately checks it for the correct syntax and, if necessary, displays an error message. See “Error Messages” on page 10 – 3 7 – 46 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 896
7.5.3 Program Structure To make it easier to maintain and expand your PLC program, you should give it a modular structure. Modular means that you write a separate program module for each function. You can then call the individual modules from the main program.
Page 897
Active workpiece material file MPFILE Active machine parameter list Your own entry In the OEM.SYS file you can indicate the desired file names with path behind your own entry. e.g., HUGO=TNC:\HUGO\TEST.H 7 – 48 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 898
7.5.5 PLC Compatibility with TNC 415 / TNC 425 With machine parameter MP4020 you can establish compatibility with the TNC 415 by making available the marker range and word range of the TNC 415. MP4020 PLC Compatibility with TNC 415 / TNC 425 Format: %xxxxx Input:...
Page 899
Interface operands PLC-NC or NC-PLC, inputs and outputs, timers and counters, and positive and negative edge markers are always globally effective and are therefore not indicated as such. Example NP_M2008_X_InPos I_release_tool TS_5_clamp_unclmp CS_RS_Err_ReStart 7 – 50 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 911
373 O W2048 WL_Axis_Mask 374 = W1044 PN_W1044_actul_nominal_transfer 376 L M3999 MG_one_marker 377 R M3975[X] ML_servo_enable_axis[X] 378 R M3970[X] ML_clamping_Achsen[X] 380 L W4062 WL_current_rpm_control 381 AN W2048 WL_Axis_Mask 382 = W4062 WL_current_rpm_control 7 – 62 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 912
PLC program example 384 L K0 385 O W1026 NP_W1026_axis_in_position 386 A W2048 WL_Axis_Mask 387 <> K0 <> 388 IFT 389 INC B4052[X] BL_Axis_Step[X] 390 ENDI ENDI 391 EM 122 EM 393 LBL WAITING_POS_STAR 124 LBL Waiting_Pos_Start 394 L K0 395 O W1026 NP_W1026_axis_in_position 396 A W2048...
Page 927
LN:471 TS_2_CLAMPING GLB_TCMB.DEF - not used - TS_3_CLAMPING GLB_TCMB.DEF - not used - TS_4_CLAMPING GLB_TCMB.DEF - not used - TS_5_CLAMPING GLB_TCMB.DEF - not used - TS_M_FUNC_DELAY GLB_TCMB.DEF SPINDLE.SRC =:584 AN:589 7 – 78 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 928
PLC program example TS_1_SERVO_SUPERVISON GLB_TCMB.DEF HELPDIAG.SRC B=:753 TS_2_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_3_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_4_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_5_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_6_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_7_SERVO_SUPERVISON GLB_TCMB.DEF - not used - TS_8_SERVO_SUPERVISON GLB_TCMB.DEF - not used -...
Page 930
7.7 Commands 7.7.1 Overview The following table provides an overview of all commands explained in this chapter: Group of Syntax Function functions Loading and saving instructions Load Load NOT L– Load two’s complement Load BYTE Load WORD Load DOUBLE WORD Assign Assign BYTE Assign WORD...
Page 931
Less than or equal [ ] >=[ ] Greater than or equal [ ] <>[ ] Equal [ ] Shifting instructions << Shift left >> Shift right Bit commands Bit set Bit reset Bit test 7 – 82 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 932
Group of Syntax Function functions Stack operations Push data onto the data stack Pull data from the data stack Push logic accumulator onto the data stack Push word accumulator onto the data stack Pull logic accumulator from the data stack Pull word accumulator from the data stack Jump commands Unconditional jump...
Page 933
0.1 to 1.5 µs 0.1 to 1.5 µs – CASE – 0.1 to 1.5 µs – SUBM, RPLY, CAN 1.0 to 15 µs – – INC, DECN – Up to 0.5 µs – 7 – 84 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 934
Commands without operands Execution times PLL, PLW, PSL, PSW, PSX, PLX Up to 0.5 µs A[..., XON[..] for these commands Up to 0.5 µs +[..., -[..., X[..] for these commands Up to 0.5 µs /[..., MOD[..] for these commands Up to 0.5 s 0.1 to 1.5 [µs] ==[..., <>[..] for these commands Up to 0.5 µs...
Page 935
I5 with AND. Assign the gating = O2 x ..x x x x x x x x 0 x x x x x x x result to output O2. 7 – 86 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 936
Word processing Syntax: L (LOAD) with the LOAD Operands: B, W, D, K command Action: Load the value of the addressed operand, or of a constant, into the word accumulator. If necessary, the accumulator is supplemented with the correct algebraic sign. In contrast to logical operations, you must always begin a sequence of word gating operations with an L command.
Page 937
I5 with AND. Assign the gating = O2 x ..x x x x x x x x 1 x x x x x x x result to output O2. 7 – 88 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 938
Word processing Syntax: LN (LOAD NOT) with the LOAD NOT Operands: B, W, D, K command Action: Load the complement of the addressed operand, or of a constant, into the word accumulator. If necessary, the accumulator is supplemented with the correct algebraic sign.
Page 939
0 0 1 0 1 0 1 0 1 result to byte B8. To aid understanding of this example, the contents of the accumulator and operands are shown as decimal values in parentheses. 7 – 90 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 940
7.7.6 LOAD BYTE (LB) Syntax: LB (LOAD BYTE) Operands: M, I, O, T, C Action: Copy 8 markers, inputs, outputs, timer or counters with ascending numbering into the word accumulator. Each operand occupies one bit in the accumulator. The TNC saves the entered operand address in the accumulator as LSB, the entered address +1 as LSB +1 etc.
Page 941
MSB! If necessary, the TNC supplements the accumulator with the correct algebraic sign. Example: See example command LB. Use command LD in the same way as LB. However, the TNC processes 32 operands. 7 – 92 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 942
7.7.9 ASSIGN (=) Logic processing Syntax: = (STORE) with the ASSIGN Operands: M, I, O, T, C command Action: Assign the content of the logic accumulator to the addressed operand. Use the = command only at the end of a sequence of logical gating operations in order to transfer a gating result to a logic operand.
Page 944
7.7.10 ASSIGN BYTE (B=) Syntax: B= (STORE BYTE) Operands: M, I, O, T, C Action: Assign 8 markers from the word accumulator to inputs, outputs, timer or counters with ascending numbering. Every bit occupies an operand. The TNC assigns the LSB in the accumulator to the operand address specified in the command, the specified address +1 as LSB +1 etc.
Page 946
7.7.13 ASSIGN NOT (=N) Logic processing Syntax: =N (STORE NOT) Operands: M, I, O, T, C Action: Assign the complement of the logic accumulator to the addressed operand. For procedure, see example command ASSIGN (=). Word processing Syntax: =N (STORE NOT) Operands: B, W, D Action:...
Page 947
Since the result of S M500 x ..x x x x x x x x 1 x x x x x x x the operation is 1, set marker M500. 7 – 98 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 948
7.7.16 RESET (R) Syntax: R (RESET) Operands: M, I, O, T, C Action: If the logic accumulator = 1, then set the addressed operand to 0, otherwise do not change it. Use the R command at the end of a sequence of logical gating operations in order to influence an operand independently from the result of gating.
Page 949
Since the result of SN M500 x ..x x x x x x x x 0 x x x x x x x the operation is 0, set marker M500. 7 – 100 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 950
7.7.18 RESET NOT (RN) Syntax: RN (RESET NOT) Operands: M, I, O, T, C Action: If the logic accumulator = 0, then set the addressed operand to 0, otherwise do not change it. Use the RN command at the end of a sequence of logical gating operations in order to influence an operand independently from the result of gating.
Page 951
I5 with AND. Assign the gating = O2 x ..x x x x x x x x 0 x x x x x x x result to output O2. 7 – 102 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 952
Word processing Syntax: A (AND) with the AND Operands: B, W, D, K command Action: Gate the contents of the word accumulator and the operand with AND. In accordance with the different data widths of the operands (B = 8 bits; W = 16 bits;...
Page 953
I5 with AND NOT. Assign the gating = O2 x ..x x x x x x x x 0 x x x x x x x result to output O2. 7 – 104 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 954
Word processing Syntax: AN (AND NOT) with the AND NOT Operands: B, W, D, K command Action: Gate the contents of the word accumulator and the operand with AND NOT. In accordance with the different data widths of the operands (B = 8 bits; W = 16 bits;...
Page 955
I5 with OR Assign the gating = O2 x ..x x x x x x x x 1 x x x x x x x result to output O2. 7 – 106 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 956
Word processing Syntax: O (OR) with the OR Operands: B, W, D, K command Action: Gate the contents of the word accumulator and the operand with OR. In accordance with the different data widths of the operands (B = 8 bits; W = 16 bits;...
Page 957
I5 with OR NOT. Assign the gating = O2 x ..x x x x x x x x 1 x x x x x x x result to output O2. 7 – 108 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 958
Word processing Syntax: ON (OR NOT) with the OR NOT Operands: B, W, D, K command Action: Gate the contents of the word accumulator and the operand with OR NOT. In accordance with the different sizes of operand (B = 8 bit; W = 16 bit; D = K = 32 bit), 8, 16 or 32 bits will be influenced in the accumulator.
Page 959
I5 with EXCLUSIVE OR. Assign the gating = O2 x ..x x x x x x x x 0 x x x x x x x result to output O2. 7 – 110 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 960
Word processing Syntax: XO (EXCLUSIVE OR) with the Operands: B, W, D, K EXCLUSIVE OR Action: command Gate the contents of the word accumulator and the operand with EXCLUSIVE OR. In accordance with the different sizes of operand (B = 8 bit; W = 16 bit; D = K = 32 bit), 8, 16 or 32 bits will be influenced in the accumulator.
Page 961
EXCLUSIVE OR NOT. Assign the gating = O2 x ..x x x x x x x x 1 x x x x x x x result to output O2. 7 – 112 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 962
Word processing Syntax: XON (EXCLUSIVE OR NOT) with the Operands: B, W, D, K EXCLUSIVE OR Action: NOT command Gate the contents of the word accumulator and the operand with EXCLUSIVE OR NOT. In accordance with the different sizes of operand (B = 8 bit; W = 16 bit;...
Page 963
+ W6 2 0 0 2 0 0 the word accumulator and word W6. Assign the result to = D8 2 0 0 1 0 2 0 0 double word D8. 7 – 114 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 964
7.7.26 SUBTRACTION (–) Syntax: – (MINUS) Operands: B, W, D, K Action: The TNC extends the operand to the width of the accumulator (32 bits) and then subtracts the content of the operand from the content of the word accumulator. The result of the operation is stored in the word accumulator where you can process it further.
Page 965
0 0 0 of the word accumulator with word W6. Assign the result to = D8 0 0 0 2 0 0 0 double word D8. Reset M4200 Overflow during multiplication 7 – 116 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 966
7.7.28 DIVISION (/) Syntax: / (DIVIDE) Operands: B, W, D, K Action: The TNC extends the operand to the width of the accumulator (32 bits) and then divides the content of the word accumulator by the content of the operand. The result of the operation is stored in the word accumulator where you can process it further.
Page 967
Divide the content of the word accumulator by a constant, then save the integral REMAINDER in the word accumulator. Assign the = D8 REMAINDER to double word D8. Reset M4202 Incorrectly executed modulo 7 – 118 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 968
7.7.30 INCREMENT (INC) INCREMENT Syntax: INC (INCREMENT) operand Operands: B, W, D Action: Increase the content of the addressed operand by one. INCREMENT word Syntax: INCW (INCREMENT WORD) accumulator Operands: None Action: Increase the content of the word accumulator by one. INCREMENT index Syntax: INCX (INCREMENT INDEX)
Page 969
Assign the result to = M500 x ..x x x x x x x x 0 x x x x x x x marker M500. 7 – 120 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 970
7.7.33 LESS THAN (<) Syntax: < (LESS THAN) Operands: B, W, D, K Action: This command sets off a direct transition from word to logical processing. Gate the content of the word accumulator with the content of the addressed operand. If the word accumulator is less than the operand, the condition is true and the TNC sets the logic accumulator to 1.
Page 971
Assign the result to = M500 x ..x x x x x x x x 1 x x x x x x x marker M500. 7 – 122 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 972
7.7.35 LESS THAN OR EQUAL TO (<=) Syntax: <= (LESS EQUAL) Operands: B, W, D, K Action: This command sets off a direct transition from word to logical processing. Gate the content of the word accumulator with the content of the addressed operand.
Page 973
1. Assign the result to = M500 x ..x x x x x x x x 1 x x x x x x x marker M500. 7 – 124 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 974
7.7.37 NOT EQUAL (<>) Syntax: <> (NOT EQUAL) Operands: B, W, D, K Action: This command sets off a direct transition from word to logical processing. Gate the content of the word accumulator with the content of the addressed operand. If the word accumulator and the operand are not equal, the condition is true and the TNC sets the logic accumulator to 1.
Page 975
Example for the commands AND [ ], AND NOT [ ], OR [ ], OR NOT [ ], EXCLUSIVE OR [ ], EXCLUSIVE OR NOT [ ]: Use parentheses to develop a statement list in accordance with the following logic circuit diagram: M500 M501 7 – 126 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 976
Initial state: Marker M500 = 0 Input Marker M501 = 1 Input Output Function Accumulator contents [bit] Operand contents [bit] 31..15 ..... 7 ....0 Load marker M500 L M500 x ..x x x x x x x x 0 x x x x x x x into the logic accumulator.
Page 977
See example A[ ] (AND [ ]) 7.7.43 EXCLUSIVE OR NOT [ ] (XON[ ]) Syntax: XON[ ] (EXCL: OR NOT [ ]) Operands: None Action: See example A[ ] (AND [ ]) 7 – 128 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 978
7.7.44 ADDITION [ ] (+[ ]) Syntax: +[ ] (PLUS[ ]) Operands: None Action: Use parentheses together with arithmetical commands only for word processing. By using parentheses you can change the sequence of processing in a statement list. The opening-parenthesis command puts the content of the word accumulator onto the program stack.
Page 979
1 5 0 1 0 the total operation to double word D100. Reset M4200 Overflow during multiplication M4201 Division by 0 M4202 Incorrectly executed modulo M4203 Error status for PLC module NC/PLC 7 – 130 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 980
7.7.45 SUBTRACTION [ ] (–[ ]) Syntax: –[ ] (MINUS –[ ]) Operands: None Action: See example for ADDITION [ ] 7.7.46 MULTIPLICATION [ ] (X[ ]) Syntax: x[ ] (MULTIPLY [ ]) Operands: None Action: See example for ADDITION [ ] 7.7.47 DIVISION [ ] (/[ ]) Syntax: /[ ] (DIVIDE [ ])
Page 981
If the specified comparative condition is true, the TNC sets the logic accumulator to 1; if the condition is not fulfilled, it sets it to 0. See next page for example. 7 – 132 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 982
Example: Multiply a constant with double word D36, compare the result with double word D12, and assign the result to output O15. Initial state: Constant = 1000 (dec) Double word D12 = 15000 (dec) Double word D36 = 10 (dec) Output To improve clarity, the contents of the accumulator and operand are shown in decimal notation.
Page 983
See example for EQUAL TO [ ] 7.7.54 NOT EQUAL [ ] (<>[ ]) Syntax: <>[ ] (NOT EQUAL [ ]) Operands: None Action: See example for EQUAL TO [ ] 7 – 134 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 984
7.7.55 SHIFT LEFT (<<) Syntax: << (SHIFT LEFT) Operands: B, W, D, K Action: A SHIFT LEFT instruction multiplies the content of the word accumulator by two. This is done by simply shifting the bits by one place to the left. The result must lie in the range of -2 147 483 648 to +2 147 483 647, otherwise the accumulator contains an undefined value.
Page 985
= D12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0 3 E8 to double word D12. Instead of using the >> K+1 command four times, simply use the >> K+4 command. 7 – 136 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 986
7.7.57 BIT SET (BS) Syntax: BS (BIT SET) Operands: B, W, D, K, X Action: With the BIT SET command you can set each bit in the accumulator to 1. The corresponding bits are selected (addressed) by the content of the specified operand or by a constant.
Page 987
Set the bit specified BC K+0 in the operand to 0. Assign the result to = D12 0 0 0 0 3 E 8 0 double word D12. 7 – 138 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 988
7.7.59 BIT TEST (BT) Syntax: BT (BIT TEST) Operands: B, W, D, K, X Action: With the BIT TEST you can interrogate the status of each bit in the accumulator. With the BT command there is a direct transition from word to logic processing, i.e.
Page 989
K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K Example: See PSW command. 7 – 140 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 990
7.7.61 PULL DATA FROM THE DATA STACK (PL) Logic processing Syntax: PL (PULL) with the PL Operands: M, I, O, T, C command Action: The PL command is the counterpart to the PS command. Data that has been buffered with the PUSH command can be taken from the data stack by using the PULL command.
Page 991
1 A 4 4 3 E 1 8 accumulator in the data stack. Call subroutine 15. CM 15 Restore data stack 1 A 4 4 3 E 1 8 into word accumulator. 7 – 142 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 992
7.7.64 PULL LOGIC ACCUMULATOR FROM THE DATA STACK (PLL) Syntax: PLL (PULL LOGICACCU) Operands: None Action: The PLL command is the counterpart to the PSL command. Data that has been buffered with the PUSH command can be restored from the data stack by using the PULL command.
Page 993
= 0, the TNC resumes the program at the label that you have entered. If the logic accumulator = 1, the TNC does not jump. JPF interrupts a logic sequence. Example: See JPT command. 7 – 144 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 994
7.7.69 CALL MODULE (CM) Syntax: CM (CALL MODULE) Operands: Label (LBL) Action: After a CM command, the TNC calls the module that begins at the label that you have entered. Modules are independent subroutines that must be ended with the command EM. You can call modules as often as you wish from different places in your program.
Page 995
..x x x x x x x x 0 x x x x x x x module. End of module, resume the main program with the command L M100. 7 – 146 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 996
7.7.72 END OF MODULE, END OF PROGRAM (EM) Syntax: EM (END OF MODULE) Operands: None Action: You must end each program or subroutine (module) with the command EM. An EM command at the end or within a module causes a return jump to the module call (CM, CMT, CMF).
Page 997
The types “S”, K, and K$ cannot be indexed. Note If you address S#Dn[X] or S#En[X], the TNC loads the sequence <SUB>Dnnn or <SUB>Ennn in the string accumulator, where nnn is the modified string number. 7 – 148 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 998
Commands for The following commands are available for exchanging data between the word operating the index accumulator and index register, or between the stack and index register: register (Load index to accu) Index register – word accumulator (Store accu to index) Word accumulator –...
Page 999
Enter an ASCII character in the string. Define the ASCII character through its code: S#Axxx 7 – 150 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1000
Logical Use the following procedure to compare two strings, depending on the comparisons during argument: string processing Compare the string memory or immediate string. The TNC then checks both strings character by character. After the first character that does not fulfill the condition of comparison, the control resets the logic accumulator.
Page 1001
TNC is to copy the string is selected through the argument <arg> after the operand designation. Permissible arguments: 0 to 7 (String memory S0 to S15). See also “Operand declaration.” Example: See command OVWR. 7 – 152 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1002
7.9.4 OVERWRITING A STRING (OVWR) Syntax: OVWR (OVERWRITE) Operands: S <arg> Action: Save the string from the string accumulator in a string memory. This command differs from the = command in that the TNC does not transfer the “string end” character along with it.
Page 1003
TNC sets the logic accumulator to 1. If the string accumulator is less than or equal to the operand, it sets the logic accumulator to 0. Example: See command <>. 7 – 154 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1004
7.9.8 LESS THAN OR EQUAL TO COMMAND FOR STRING PROCESSING (<=) Syntax: <= (LESS EQUAL) Operands: S <arg> Action: This command sets off a direct transition from string to logical processing. Compare the content of the string accumulator with the string in the argument.
Page 1005
CMT 50 x ..x x x x x x x x 1 x x x x x x x fulfilled, set logic accumulator to 1 and call the module. 7 – 156 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1006
7.9.11 Modules for String Processing Module 9070 Copy a number from a string The TNC searches a selectable string memory (S0 to S15) for a numerical value. When the numerical value is first found, the TNC copies it as a string into another selectable string memory.
Page 1007
String length was ascertained Error. See W1022 W1022 Invalid immediate strings, address of the source or target string is out of range (0..7), string memory was searched but no string end was found 7 – 158 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1008
7.10 Submit Programs Submit programs are subroutines that the PLC submits to the NC for processing. This allows you to solve problems that are very processor- intensive, require program loops, or must wait for external results. It is a prerequisite that these programs are not restricted to a definite time frame. Depending on processor utilization, the TNC provides for a submit program a certain percentage of its computing power—at least 5%.
Page 1009
Word Accumulator = 0: Program complete/not in the queue Word Accumulator = 1: Program running Word Accumulator = 2: Program in the queue Example: See command CAN. 7 – 160 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1010
7.10.3 CANCELING A SUBMIT PROGRAM (CAN) Syntax: CAN (CANCEL) Operands: Action: Cancel a submit program with the specified identifier during processing, or remove it from the queue. You must have already stored the identifier in a byte or word when you call the submit program. After you have canceled the program, the TNC immediately starts the next submit program from the queue.
Page 1011
Always insert submit programs, like any module, at the end of the main program. In this case, the content of the submit program could be a display in the PLC window that is realizable through permanently assigned PLC modules. 7 – 162 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1012
7.11 Cooperative Multitasking As of NC software: You can run several processes in the PLC with cooperative multitasking. 280 472-01 Unlike genuine multitasking, with cooperative multitasking information and tasks are exchanged only at places that you define. Cooperative multitasking permits up to eight parallel PLC processes and the submit queue. In a program that you have started with SUBM, you can use commands for changing tasks and controlling events (Module 926x).
Page 1013
If you enter no condition, the TNC will check for = 0. <Event mask> Hexadecimally coded mask of events that are triggered if the condition is fulfilled. The constraints defined in Module 9260 apply for bits 16 to 31. 7 – 164 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1014
Example Entry in the OEM.SYS file: PLCEVENTS=PLC:\EXAMPLE.PEV Content of the file PLC:\EXAMPLE.PEV: JOB_1;I5==1;$0010; Event $0010 to process JOB_1, if I5==1 JOB_1;B20==5;$0004; Event $0004 to process JOB_1, if B20==5 AUXJOB;W6 <10;$0100; Event $0100 to process AUXJOB, if W6 <10 The TNC triggers an event if a particular condition is met after one run of the cyclic PLC program and if this condition was not met after the previous run of the cyclic PLC program (edge formation).
Page 1015
Marker Value Meaning M4203 Event has been read Error code in W1022 W1022 Incorrect transfer value for <Wait> parameter Module was not called in a spawn job or submit job 7 – 166 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1016
Module 9261 Sending events With this module you can send events to a spawn or submit job and then interrogate them with Module 9260. You can call the module in the cyclic program section, in submit jobs and in spawn processes. The TNC addresses the receiver through the identifier that the spawn command has returned.
Page 1017
B/W/D/K <Waiting period in ms> CM 9263 Error recognition: Marker Value Meaning M4203 Process waited Error code in W1022 W1022 Module was not called in a spawn job or submit job 7 – 168 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1018
7.12 Constants Field (KF) You can use the constants-field data type to access one of several constants, defined in tabular form, depending on the value of the index register X. You address it with KF <Name>[X], where <Name> is a label indicating the beginning of the constants field.
Page 1019
You conclude the sequence of gating operations. The instructions ELSE, ENDI and REPEAT require that all previous operations sequences have been concluded. 7 – 170 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1020
7.13.1 IF ... ELSE ... ENDI structure The IF ... ELSE ... ENDI structure permits the alternative processing of two program branches depending on the value in the logic accumulator. The ELSE branch is not mandatory. The following commands are available: IFT (IF LOGIC ACCU TRUE): Following code only if logic accumulator = 1 IFF (IF LOGIC ACCU FALSE):...
Page 1021
Produce the condition of repeated execution: Load L M101 A M102 marker 101 in the logic accumulator and gate the content of marker M102 with AND Jump back to the WHILE request ENDW 7 – 172 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1022
7.13.4 CASE BRANCH Indexed module call Syntax: CASE (CASE OF) (CASE) Operands: Action: Select a certain subprogram from a list of module calls (CM). These CM commands must immediately follow the CASE statement and are numbered internally in ascending order from 0 to a maximum of 127. The content of the operand (B, W) addresses the desired module.
Page 1023
“COMPILE” once and selecting the main program in the file window. In the EPROM you must enter the option /M behind the main program in the linker file for binary output. 7 – 174 HEIDENHAIN Technical Manual TNC 426, TNC 430...
Page 1024
7.14.1 USES INSTRUCTION (USES) Syntax: USES <file name> Operands: None Action: You can use the USES instruction in the main program to link other files. Files that are linked with USES can themselves also use the instruction to link further files. It is also permissible to use the USES instruction to link a single file to several other files.
Page 1025
The name of the external label cannot be used again as a local label in the same file. Every external label reduces the number of local labels that remain available. 7 – 176 HEIDENHAIN Technical Manual TNC 426, TNC 430...