Using the High_Speed_Counter technology object
3.5 Configuring the High_Speed_Counter
Counting, measurement and position detection
106 Function Manual, 12/2017, A5E32009889-AG
Behavior of a DI (High_Speed_Counter)
Setting function of the DI
By configuring a digital input, you specify which functions the digital input triggers at
switching.
You can select from the following options:
Function of a digital input
Additional option-specific parame-
ters
Gate start/stop (level-triggered) The level at the respective digital input opens and
closes the hardware gate (Page 27).
• Input delay
• Select level
Gate start (edge-triggered) The configured edge at the respective digital input
opens the hardware gate (Page 27).
• Input delay
• Edge selection
Gate stop (edge-triggered) The configured edge at the respective digital input
closes the hardware gate (Page 27).
• Input delay
• Edge selection
Synchronization (Page 35) The configured edge at the respective digital input
sets the counter to the start value.
The technology object indicates whether a syn-
chronization has occurred at the output parameter
SyncStatus.
• Input delay
• Edge selection
Enable synchronization at sig-
nal N
The active level at the respective digital input ena-
bles synchronization of the counter at signal N
• Input delay
• Select level
Capture The configured edge at the respective digital input
saves the current counter value (Page 30) as a
Capture value.
The technology object displays the Capture value
at the output parameter CapturedValue.
• Input delay
• Edge selection
• Behavior of counter value after
Capture
Digital input without function No technological function is assigned to the re-
spective digital input.
You can read the signal state of the digital input
via the respective static variable of the technology
object:
• UserStatusFlags.StatusDI0
• UserStatusFlags.StatusDI1
• UserStatusFlags.StatusDI2
• Input delay
Note
With the exception of "Digital input without function", each function can only be used once for
each counter, and if used for one digital input is not available to the others.