beautypg.com

M2497, 5 edge evaluation of the plc inputs – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 488

background image


01.98

TNC 407/TNC 415/TNC 425

2 Program creation

7-27

MP4120.0

Preset value for counters C0 to C31

to MP4120.31

Entry 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. An automatic edge
evaluation cannot be activated for the PLC inputs I192 to I254 on the second PLC I/O expansion
board.
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 (first extension board)

M1628 to M1652

I128 to I152

Marker for falling edges at the PLC inputs:

Marker

PLC inputs

M1700 to M1731

I0 to I31

M1764 to M1826

I64 to I126 (first extension board)

M1828 to M1852

I128 to I152

Marker

Function

Set

Reset

M2497

Activate the edge evaluation for PLC inputs
Rising-edge marker M1500 to M1652
Falling-edge marker M1700 to M1852

PLC

PLC