
Chapter 5 Deployment I/O periphery
Manual VIPA System 300S SPEED7
5-12
HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45
In the following the parameters are listed which may be used for counter
configuration during hardware configuration.
Here the short description of the counter function may be found. At
Comment
information about the module such as purpose may be entered.
Here the start address of the in- output periphery is set.
Here the interrupts the counter functions should trigger may be selected.
You have the following options:
•
None: There is no interrupt triggered.
•
Process: The counting function triggers a hardware interrupt.
•
Diagnostics and Process: With the CPU 313SC/DPM the diagnostic
interrupt of the digital and analog in-/output periphery is only supported
in connection with "hardware interrupt lost".
Parameters
Description
Range of values
Default
Main count
•
None
: No restriction of the counting range
•
None
None
direction
•
Up
: Restricts the up-counting range. Counter starts
at 0 or load value, counts in positive direction up to
the declaration end value -1 and then jumps back
to load value at the next positive transducer pulse.
•
Up
•
Down
(not
with
continuous
count)
•
Down
: Restricts the down-counting range. The
Counter starts at the declared start value or load
value in negative direction, counts to 1 and then
jumps to start value at the next negative encoder
pulse.
End value/
Start value
End value,
with up-count as default.
Start value,
with down-count as default.
2...2147483647
(2
31
-1)
2147483647
(2
31
-1)
Gate function
•
Cancel count
: The count starts when the gate
opens and resumes at the load value when the
gate opens again.
•
Abort the count
operation
•
Interrupt the
Cancel count
•
Stop count
: The count is interrupted when the gate
closes and resumed at the last actual value when
the gate opens again.
count
operation
Comparison
value
The count value is compared with the comparison
value. see also the parameter "Characteristics of the
output":
•
No main direction of count
•
Up-count as default
•
Down-count as default
-2
31
to +2
31
-1
-2
31
to End value-1
1 to +2
31
-1
0
Hysteresis
A hysteresis is used to eliminate frequent output jitter if
the count value lies within the range of the comparison
value.
0 and 1 means: Hysteresis switched off
0 to 255
0
max.
frequency:
counting
signals/hard-
ware gate
You can set the maximum frequency of the track
A/pulse, track B/direction and hardware gate signals in
fixed steps.
30, 10, 5, 2, 1kHz
30kHz
continue ...
Parameter
overview
General
Addresses
Basic parameters
Count
Summary of Contents for 313-6CF03
Page 2: ...Lerrzeichen ...