06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PLC Programming – Contents 7<br />

1 PLC-functions 7-5<br />

1.1 Select PLC-operation 7-5<br />

1.2 PLC – Main menu 7-6<br />

1.2.1 PLC-program editing 7-6<br />

1.2.2 Erase PLC-program 7-8<br />

1.2.3 Transfer program from EPROM 7-8<br />

1.2.4 Translate PLC program 7-8<br />

1.2.5 Utilization 7-8<br />

1.3 Test functions for the PLC-program 7-9<br />

1.6.1 TRACE-function 7-9<br />

1.3.2 TABLE function 7-10<br />

1.3.3 Transferring the PLC-program 7-10<br />

2 Program creation 7-12<br />

2.1 Program structure 7-12<br />

2.1.1 Command 7-12<br />

2.1.2 Module technique 7-13<br />

2.2 Address allocation 7-14<br />

2.2.1 Operand directory 7-14<br />

2.2.2 Addressing the word memory 7-14<br />

2.3 Data transfer PLC → NC and NC → PLC 7-15<br />

2.4 Timers and counters 7-17<br />

2.4.1 Timers 7-17<br />

2.4.2 Counters 7-20<br />

2.5 Edge evaluation of the PLC-inputs 7-21<br />

2.6 EPROM-creation 7-21<br />

2.7 Error-messages 7-24<br />

2.7.1 Syntax errors within a command line 7-24<br />

2.7.2 Syntax errors in the course of a program 7-24<br />

2.7.3 Run-time errors 7-25<br />

3 Commands 7-27<br />

3.1 Load and Assign Commands 7-27<br />

3.1.1 LOAD L 7-27<br />

3.1.2 LOAD NOT LN 7-29<br />

3.1.3 LOAD TWO'S-COMPLEMENT L– 7-31<br />

3.1.4 LOAD BYTE LB 7-32<br />

3.1.5 LOAD WORD LW 7-32<br />

3.1.6 LOAD DOUBLEWORD LD 7-32<br />

3.1.7 ASSIGN = 7-34<br />

3.1.8 ASSIGN BYTE B= 7-36<br />

3.1.9 ASSIGN WORD W= 7-36<br />

8/95 <strong>TNC</strong> <strong>360</strong> 7-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!