Counters - HEIDENHAIN iTNC 530 Technical Manual

Cnc control
Hide thumbs Also See for iTNC 530:
Table of Contents

Advertisement

8.6.4 Counters

February 2002
The PLC has 48 counters, which you control through special markers with the
symbol C. After you have set a marker from the C0 to C47 range, the iTNC
loads the counter with the value that is saved in machine parameter
MP4120.x. The marker range C48 to C95 indicates whether the count has
expired. With markers C96 to C144 you can start and stop the counter.
MP4020 bit 11 defines whether the counter is defined in PLC cycles or
seconds. In this way, the counters can also be used as timers. With this
definition of counters in PLC cycles, the decimal places are not evaluated by
MP4120.x.
Example:
Logic diagram for counter C1
Preset value in MP4120.1 = 10 (PLC cycles or seconds)
Counter is
Counter is
set
running
C0
C48
C1
C49
C2
C50
C3
C51
C4
C52
C5
C53
C6
C54
C7
C55
C8
C56
C9
C57
C10
C58
C11
C59
C12
C60
C13
C61
C14
C62
C15
C63
C16
C64
C17
C65
Operands
Counter is
Machine parameters
started
C96
MP4120.0
C97
MP4120.1
C98
MP4120.2
C99
MP4120.3
C100
MP4120.4
C101
MP4120.5
C102
MP4120.6
C103
MP4120.7
C104
MP4120.8
C105
MP4120.9
C106
MP4120.10
C107
MP4120.11
C108
MP4120.12
C109
MP4120.13
C110
MP4120.14
C111
MP4120.15
C112
MP4120.16
C113
MP4120.17
8 – 43

Advertisement

Table of Contents
loading

Table of Contents