Transferring the plc-program, 4 transferring the plc-program – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 301
3/2000
TNC 416/TNC 406/TNC 306
PLC-functions
7-11
Base addresses of the individual areas:
Bit Marker M:
-37888 ($FFFF6C00)
Input I:
-34608
Output O: -34224
Counter C: -34032
Timer T:
-33888
Word Marker B/W/D:
-33792
Example for the display of 12 markers starting with M2616:
L K-37888
+ K+2616
= D308
Example for the display of 12 bytes starting with B668:
L K-33792
+ K+668
= D312
1.3.4 Transferring the PLC-program
Data transmission can be activated with the EXT key from the main menu.
The following menu appears:
READ-IN SELECTED PROGRAM
OUTPUT ASCII
OUTPUT ASCII UNFORMATTED
OUTPUT ASCII WITH CROSS-REF.
BINARY OUTPUT
PLC programs written on a computer can be transferred into the PLC RAM with the RS-232-C
interface. To load a program, select READ IN SELECTED PROGRAM. It is not necessary to reserve
memory in the RAM when you transfer a PLC-program via RS-232-C.
With the OUTPUT ASCII function the PLC program can be transferred from the RAM to an external
device. It can be transferred with the cross references of all its operands.
It is also possible to transfer the program in unformatted or binary form by selecting the
corresponding menu items (see Section "Program creation", "EPROM creation").