Counters, 2 counters – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 310

7-20
TNC 416/TNC 406/TNC 306
Program creation
3/2000
2.4.2 Counters
There are 32 counters available in the PLC. Each of these counters is controlled by special markers
with the symbol C. After setting a marker from the range C0 to C31 the counter is loaded with the
value from machine parameter MP4120.X. The marker range C48 to C79 indicates whether the
count has been completed or not. The marker range C96 to C127 is used to start the counter
(counter release pulse).
Example:
Logic diagram for counter C1
Contents of machine parameter MP4120.1 = 10 (PLC cycles)
C1
C49
C97
C0
C48
C96
MP4120.0
C1
C49
C97
MP4120.1
C2
C50
C98
MP4120.2
C3
C51
C99
MP4120.3
C4
C52
C100
MP4120.4
C5
C53
C101
MP4120.5
C6
C54
C102
MP4120.6
C7
C55
C103
MP4120.7
C8
C56
C104
MP4120.8
C9
C57
C105
MP4120.9
C10
C58
C106
MP4120.10
C11
C59
C107
MP4120.11
C12
C60
C108
MP4120.12
C13
C61
C109
MP4120.13
C14
C62
C110
MP4120.14
C15
C63
C111
MP4120.15
C16
C64
C112
MP4120.16
C17
C65
C113
MP4120.17
C18
C66
C114
MP4120.18
C19
C67
C115
MP4120.19
C20
C68
C116
MP4120.20
C21
C69
C117
MP4120.21
C22
C70
C118
MP4120.22
C23
C71
C119
MP4120.23
C24
C72
C120
MP4120.24
C25
C73
C121
MP4120.25
C26
C74
C122
MP4120.26
C27
C75
C123
MP4120.27
C28
C76
C124
MP4120.28
C29
C77
C125
MP4120.29
C30
C78
C126
MP4120.30
C31
C79
C127
MP4120.31