Module Technique - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

2.1.2 Module technique

It is good practice to make the maintenance of the PLC programs easier by creating the program
with the most transparent structure possible. This can be best achieved by dividing the PLC program
into individual modules (structured programming).
Only the most important PLC functions should be programmed in the main routine.
Individual PLC functions such as spindle orientation and key simulation are programmed in their own
modules.
0
L M2719
1
SN M2719
2
L M2497
3
SN M2497
4
L M2496
5
SN M2496
.
.
.
.
.
.
20
L M1919
21
A M2045
22
AN M12
23
CMT 180
24
LM 2182
25
CMT 31
.
.
.
.
.
.
150
EM
151
LBL 31
.
.
.
.
.
.
200
EM
201
LBL 180
.
.
.
.
.
.
259
EM
.
.
.
.
.
.
Error conditions in the machine should be interrogated in the PLC program and a plain language error
message should be displayed on the VDU screen. See chapter "Machine integration", section
"Display and operation" and chapter "PLC programming", section "Modules".
01.98
TNC 407/TNC 415/TNC 425
;Activate the strobes for Word processing
;Activate the edge evaluation
;Activate transfer of decoded M codes
;(M1900 to M1999)
.
.
.
;M Function M19
;Change signal for M function
;Spindle orientation already active?
;Spindle orientation
;Disabled key operated?
;Yes, then call key simulation
.
.
.
;End main program
;Key simulation
.
.
.
;Spindle orientation
.
.
.
.
.
.
2 Program creation
7-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents

Save PDF