Deployment I/O periphery
Counting > Parametrization
Job
Writing pulse duration*
*) Only even values allowed. Odd values are automatically rounded.
Latch function
5.6.5 Parametrization
5.6.5.1
Address assignment
Sub module
Input address
Counter
816
820
824
828
Sub module
Output address
Counter
816
820
824
828
5.6.5.2
Interrupt selection
110
Valid range
0 ... 510ms
As soon as during a count process an edge 0-1 is recognized at the "Latch" input of a
counter, the recent counter value is stored in the according latch register.
You may access the latch register via LATCHVAL of the SFB 47.
A just in LATCHVAL loaded value remains after a STOP-RUN transition.
Access
DINT
DINT
DINT
DINT
Access
DWORD
DWORD
DWORD
DWORD
Via 'Basic parameters' you can reach 'Select interrupt' . Here you can define the inter-
rupts the CPU will trigger. The following parameters are supported:
n
None: The interrupt function is disabled.
n
Process: The following events of the counter can trigger a hardware interrupt (select-
able via 'Count' ):
–
Hardware gate opening
–
Hardware gate closing
–
On reaching the comparator
–
on Counting pulse
–
on overflow
–
on underflow
n
Diagnostics+process: A diagnostics interrupt is only triggered when a hardware inter-
rupt was lost.
Assignment
Channel 0: Counter value / Frequency value
Channel 1: Counter value / Frequency value
Channel 2: Counter value / Frequency value
Channel 3: Counter value / Frequency value
Assignment
reserved
reserved
reserved
reserved
HB300 | CPU | 013-CCF0R00 | en | 16-40
VIPA System SLIO