Counting With Pulse Encoder - Siemens SIMATIC ST-1500 Function Manual

Table of Contents

Advertisement

The basics of counting, measurement and position detection
2.3 Basics of counting (TM Timer DIDQ)
2.3.3

Counting with pulse encoder

You can use a few channels of a TM Timer DIDQ for simple counting tasks with a pulse
encoder. Counting refers to the recording and adding up of events. The channels configured
as counters each acquire one pulse signal and evaluate this accordingly.
Count direction
The technology module can count up and down with a pulse encoder.
Counting limits
The counting limits define the counter value range used.
The minimum counter value is -2147483648 (-2
2147483647 (2
jumps to the other counting limit in each case and continues counting.
The counter value cannot be influenced by the user program.
Parameter assignment
For use of a counter for a pulse encoder, you choose the configuration "Use inputs
individually" or "Use input/output individually" in the channel parameters for the respective
group. You can configure the first digital input of a group as a counter.
Note
Counters of the TM Timer DIDQ 16x24V
The number of available counters of the TM Timer DIDQ 16x24V is dependent on the
channel configuration. In order to use 4 counters, you must choose the use of 8 inputs in the
channel configuration. If you choose the use of 3 inputs, you can use 1 counter. Other
channel configurations do not allow any counter use.
Counter value feedback
The current counter value is indicated in the feedback interface in the TEC_IN value (DIm).
DIm corresponds to the respective digital input.
78
-1). The respective counter counts continuously. At an overflow, the counter
31
). The maximum counter value is
31
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents