
7 – 50
HEIDENHAIN Technical Manual TNC 426, TNC 430
7.6 PLC Program Example
The following PLC program example was written on a PC with the PLC
programming software
PLCdesign.
PLCdesign
is supplied together with
additional comprehensive PLC program examples in data form.
The PLC program is divided into various PLC modules, where each module
performs a specific task. This will help you to quickly recognize the program
structure and easily insert your own functions.
A file known as the
documentation file
describes the PLC programming
example, which can be output by
PLCdesign
in addition to the individual PLC
programs (see the User’s Manual for the
PLCdesign
PLC programming
software). In the right column of the
documentation file
you will find the
source code of the individual modules. This was created by the programmer
using symbolic operands and label names. The left column shows the
statements lists (STL) as they are needed by the TNC. The compiler
automatically generates these statement lists.
This juxtaposition of source code and statements list is very helpful for
understanding the program. Abbreviations were defined for the symbolic label
numbers and symbolic operands contained in the source code. These
abbreviations clearly identify the functions and thereby make the program
more understandable.
The following is an example for the definition of a general symbol name, in
which individual concepts are separated by an underline “
_
”:
MG_active_PWM_axis
Special cases
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
Description of operand function by any text
Separator
Status: Enter if the operand type is not
specified.
Input: L = locally effective (only in the module)
G = globally effective (in all modules)
Input for operand type: M, B, W, D, K
Содержание TNC 426 CB
Страница 12: ...2 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 51: ...December 2001 Software 2 41 ...
Страница 54: ...2 44 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 61: ...December 2001 Software Releases 2 51 ...
Страница 82: ...2 72 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 86: ...3 4 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 104: ...3 22 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 112: ...3 30 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 125: ...December 2001 Encoders 3 43 ...
Страница 136: ...3 54 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 141: ...December 2001 Touch Probe Systems 3 59 ...
Страница 145: ...December 2001 Data Interface 3 63 ...
Страница 152: ...3 70 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 168: ...3 86 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 183: ...December 2001 BTS 1x0 Monitor Keyboard Switch 3 101 ...
Страница 187: ...December 2001 Dimensions 3 105 3 23 Dimensions Note All dimensions in mm ...
Страница 190: ...3 108 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 3 LE 426 M LE 430 M Max 6 Axes Weight approx 8 5 kg ...
Страница 191: ...December 2001 Dimensions 3 109 3 23 4 LE 430 M Max 9 Axes Weight approx 9 kg ...
Страница 192: ...3 110 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 5 TE 420 Weight 2 4 kg F Front panel opening M Mounting surface ...
Страница 193: ...December 2001 Dimensions 3 111 3 23 6 MB 420 Weight 0 9 kg F Front panel opening M Mounting surface ...
Страница 194: ...3 112 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 7 BC 120 Weight 14 kg F Front panel opening M Mounting surface ...
Страница 195: ...December 2001 Dimensions 3 113 3 23 8 BF 120 Weight 3 kg F Front panel opening M Mounting surface ...
Страница 196: ...3 114 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 9 BTS 110 ...
Страница 197: ...December 2001 Dimensions 3 115 3 23 10 BTS 120 ...
Страница 198: ...3 116 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 11 PL 4xx B Weight 1 5 kg I PLC inputs O PLC outputs ...
Страница 201: ...December 2001 Dimensions 3 119 3 23 14 Handwheels HR 130 Weight approx 0 7 kg ...
Страница 202: ...3 120 HEIDENHAIN Technical Manual TNC 426 TNC 430 HR 150 Weight approx 0 7 kg ...
Страница 203: ...December 2001 Dimensions 3 121 HR 410 ...
Страница 205: ...December 2001 Dimensions 3 123 HRA 110 Weight approx 1 5 kg ...
Страница 206: ...3 124 HEIDENHAIN Technical Manual TNC 426 TNC 430 Control knob for HR 130 and HR 150 ...
Страница 207: ...December 2001 Dimensions 3 125 3 23 15 Touch probe systems TT 130 ...
Страница 209: ...December 2001 Dimensions 3 127 TS 220 Adapter cable for TS 120 TS 220 ...
Страница 210: ...3 128 HEIDENHAIN Technical Manual TNC 426 TNC 430 EA 6x2 Receiver Unit ...
Страница 211: ...December 2001 Dimensions 3 129 TS 632 ...
Страница 212: ...3 130 HEIDENHAIN Technical Manual TNC 426 TNC 430 APE 652 ...
Страница 213: ...December 2001 Dimensions 3 131 ...
Страница 214: ...3 132 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 215: ...December 2001 3 133 3 24 Grounding Diagrams 3 24 1 Grounding diagram TNC 426 CB PB TNC 430 CA PA ...
Страница 216: ...December 2001 3 134 3 24 2 Grounding Diagram for TNC 426 M TNC 430 M with Modular Nonregenerative HEIDENHAIN Inverter ...
Страница 217: ...December 2001 3 135 3 24 3 Grounding Diagram for TNC 426 M TNC 430 M with Modular Energy Recovery HEIDENHAIN Inverter ...
Страница 218: ...December 2001 3 136 3 24 4 Grounding Diagram for TNC 426 M TNC 430 M with HEIDENHAIN Compact Inverter UE 2xx B ...
Страница 219: ...December 2001 3 137 3 24 5 Grounding plan TNC 426 M TNC 430 M with POWERDRIVE Inverter System ...
Страница 225: ...December 2001 3 143 3 25 4 Basic Circuit Diagram for TNC 426 M with HEIDENHAIN Compact Inverter UE 2xx with UV 102 ...
Страница 228: ...December 2001 3 146 3 25 7 Basic Circuit Diagram TNC 426 M TNC 430 M with SIMODRIVE 611D in Single Row ...
Страница 230: ...December 2001 3 148 3 26 Cable Overviews 3 26 1 Cable Overview TNC 426 CB TNC 430 CA Basic Configuration ...
Страница 231: ...December 2001 3 149 3 26 2 Cable Overview TNC 426 PB TNC 430 PA Basic Configuration ...
Страница 240: ...4 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 310: ...4 72 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 311: ...December 2001 5 1 5 Modules Markers and Words 5 1 Overview of Modules 5 3 5 2 Overview of Markers and Words 5 10 ...
Страница 312: ...5 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 319: ...December 2001 Overview of Modules 5 9 ...
Страница 329: ...December 2001 Overview of Markers and Words 5 19 ...
Страница 330: ...5 20 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 349: ...December 2001 Machine Axes 6 19 ...
Страница 357: ...December 2001 Machine Axes 6 27 ...
Страница 381: ...December 2001 Axis Error Compensation 6 51 ...
Страница 416: ...6 86 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 420: ...6 90 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 438: ...6 108 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 450: ...6 120 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 463: ...December 2001 The Control Loop 6 133 ...
Страница 468: ...6 138 HEIDENHAIN Technical Manual TNC 426 TNC 430 MP2600 0 MP2600 optimum ...
Страница 476: ...6 146 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 509: ...December 2001 Monitoring Functions 6 179 ...
Страница 551: ...December 2001 Spindle 6 221 ...
Страница 629: ...December 2001 Display and Operation 6 299 ...
Страница 675: ...December 2001 Keystroke Simulation 6 345 ...
Страница 709: ...December 2001 Touch Probe 6 379 ...
Страница 786: ...6 456 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 831: ...December 2001 Commissioning 6 501 ...
Страница 846: ...6 516 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 848: ...6 518 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1033: ...7 184 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1035: ...8 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1083: ...8 50 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1085: ...9 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1095: ...10 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Страница 1114: ...December 2001 DSP Error Messages as of NC Software 280 476 01 10 21 ...
Страница 1125: ...10 32 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...