Plc Programming - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

December 2001

7 PLC Programming

7.1 PLC Functions................................................................................... 7 – 3
7.1.1 Selecting the PLC Mode ........................................................... 7 – 3
7.1.2 PLC Main Menu ........................................................................ 7 – 4
7.1.3 File Management ...................................................................... 7 – 6
7.1.4 The TRACE Function ................................................................. 7 – 7
7.1.5 The Logic Diagram .................................................................... 7 – 9
7.1.6 The Table Function .................................................................. 7 – 11
7.1.7 COMPILE Function .................................................................. 7 – 13
7.2 Operands ........................................................................................ 7 – 14
7.2.1 Overview of Operands ............................................................ 7 – 14
7.2.2 Operand Addressing (Byte, Word, Double Word) ................... 7 – 15
7.2.3 Timers ..................................................................................... 7 – 16
7.2.4 Counters .................................................................................. 7 – 19
7.2.5 Fast PLC Inputs ....................................................................... 7 – 21
7.3 Data Transfer NC → PLC, PLC → NC ............................................ 7 – 22
7.3.1 Data Transfer NC Program → PLC .......................................... 7 – 22
7.3.2 Data Transfer PLC → NC Program (Q Parameter) ................... 7 – 22
7.3.3 Data Transfer NC Program → NC (SYSWRITE) ....................... 7 – 23
7.3.4 Data Transfer NC → NC Program (SYSREAD) ........................ 7 – 27
7.3.5 Data Transfer of Machine Parameters → PLC ........................ 7 – 35
7.3.6 Interrogate PLC Operands in the NC Program (WAIT FOR) .... 7 – 38
7.4 Hard-Disk Organization ................................................................. 7 – 39
7.4.1 Partitions ................................................................................. 7 – 39
7.4.2 Description of the System Files (*.SYS) .................................. 7 – 41
7.5 Program Creation........................................................................... 7 – 46
7.5.1 ASCII Editor ............................................................................. 7 – 46
7.5.2 Program Format ...................................................................... 7 – 46
7.5.3 Program Structure ................................................................... 7 – 47
7.5.4 Logical names for files ............................................................ 7 – 48
7.5.5 PLC Compatibility with TNC 415 / TNC 425 ............................ 7 – 49
7.6 PLC Program Example ................................................................... 7 – 50
7.7 Commands ..................................................................................... 7 – 81
7.7.1 Overview ................................................................................. 7 – 81
7.7.2 Execution Times ...................................................................... 7 – 84
7.8 INDEX Register (X Register) ....................................................... 7 – 148
7.9 Commands for String Processing............................................... 7 – 150
7.9.11 Modules for String Processing ............................................ 7 – 157
7.10 Submit Programs ....................................................................... 7 – 159
7 – 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents