Edge evaluation of the plc-inputs, Eprom-creation, 5 edge evaluation of the plc-inputs – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 311: 6 eprom-creation

3/2000
TNC 416/TNC 406/TNC 306
Program creation
7-21
MP4120.x
Pre-set value for counters C0 to C31
Input range: 0 to 65 535 [PLC cycles]
2.5
Edge evaluation of the PLC-inputs
The edge evaluation for the PLC-inputs can be activated by marker M2497. Edge evaluation means
that if the signal at the PLC-input changes, a certain marker will be set for the duration of one PLC-
run. If marker M2497 is set, the following markers will be set if the signals change at the PLC-
inputs.
Marker for rising edges at the PLC-inputs:
Marker
PLC-inputs
M1500 to M1531
I0 to I31
M1564 to M1626
I64 to I126 (PL 400) or I127 (PL410)
M1628 to M1651
I128 to I151
Marker for falling edges at the PLC-inputs:
Marker
PLC-inputs
M1700 to M1731
I0 to I31
M1764 to M1826
I64 to I126 (PL 400) or I127 (PL410)
M1828 to M1851
I128 to I151
Marker
Function
Set
Reset
M2497
Activate the edge evaluation for PLC-inputs
Rising-edge marker M1500 to M1651
Falling-edge marker M1700 to M1851
PLC
PLC
2.6
EPROM-creation
Once the PLC program has been written and tested in the TNC 406 or TNC 306 it can then be
transferred in binary code to the PC via RS-232-C serial port (Motorola EXORMAX S3 Record
format).
This binary code is needed to create EPROMs with the MEGA-PROMMER software (version 2.12 or
higher). The TNC 306 must be equipped with 1-MB EPROMs, and the TNC 406 (beginning with
version 280 62x 03) with 2-MB EPROMs.
Starting with software version 280 62x 03 (code number for PLC chip is $0002, previously $0000 as
on the TNC 306) the output of the TNC 406 will be in a new binary format. This format cannot be
read by older software versions.
With binary output from the TNC 406, the machine parameters and the compensation value table
will be automatically transferred. The erosion parameter tables and OEM cycles must be confirmed
individually with the ENT key. A transfer in progress can be interrupted with the END
key.