beautypg.com

Edge evaluation of the plc-inputs, Eprom-creation, 5 edge evaluation of the plc inputs – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 400: 6 eprom creation

background image


8/95

TNC 360

2 Program Creation

7-21

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 a 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

Machine parameter MP4010 selects whether the PLC program is run from the RAM area of the
control or the EPROM area.

During the creation and test of the PLC program the control should operate from the RAM area.
HEIDENHAIN recommends that an EPROM is created for the PLC program before delivering the
machine to the customer (see also Chapter "Introduction").

MP4010

PLC program from RAM or from EPROM
Input: 0 or 1
0 = EPROM operation
1 = RAM operation

A PC and the MEGA PROMMER Software (Version 2.12.or later) are necessary for programming
the PLC EPROMS.

The PLC files from the RAM area in the control can be transferred to the PC via the data interface
(see Chapter "Data interface").The output is initiated from the control in binary code (see Section
"PLC functions").