EasyManua.ls Logo

VIPA CPU 314ST - Page 155

Default Icon
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Byte Bit 7 ... 0
2
n Bit 5 ... 0: Counter function
Ä
Chapter 6.11 ‘Counter - Func-
tions’ on page 159
000000b = count endless
000001b = once: forward
000010b = once: backwards
000100b = once: no main direction
001000b = periodic: forward
010000b = periodic: backwards
100000b = periodic: no main direction
n Bit 7 ... 6: C
X
In-/Output
(Function of the counter I/O as OUT, Latch or Reset)
00b = O: OUT
X
(at comparison function)
01b = I: Latch
X
(edge 0-1 saves counter value of counter
X
)
10b = I: Reset
X
(Positive level resets counter
X
)
3
n Bit 5 ... 0: Interrupt behavior:
Bit 0: Process interrupt HW gate open
Bit 1: Process interrupt HW gate closed
Bit 2: Process interrupt overflow
Bit 3: Process interrupt underrun
Bit 4: Process interrupt comparison value
Bit 5: Process interrupt end value
By setting the bits you may activate the wanted process inter-
rupts.
n Bit 7 ... 6: reserved
*) This is not supported at this time.
Byte Bit 15...0
0...1
n Diagnostic interrupt
0000h = de-activated
0001h = activated
2...3
n reserved
n Here you activate respectively de-activate the diagnostic function.
n A diagnostic interrupt occurs when during a process interrupt exe-
cution another process interrupt is initialized for the same event.
Byte Bit 7...0
0
n Bit 1 ... 0: Edge selection I+0.0
n Bit 7 ... 2: reserved
1
n Bit 1 ... 0: Edge selection I+0.1
n Bit 7 ... 2: reserved
2
n Bit 1 ... 0: Edge selection I+0.2
n Bit 7 ... 2: reserved
Record set 7Fh -
Diagnostic interrupt
Record set 80h -
Edge selection
VIPA System 300S Deployment I/O periphery
Counter - Parametrization
HB140 | CPU | 314-6CF03 | GB | 16-43 155

Table of Contents

Related product manuals