Functions; Detection Of Counting Signals - Siemens SIMATIC ET 200SP Manual

Technology module, tm count 1x24v
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

2.2

Functions

2.2.1

Detection of counting signals

Counting is the detecting and adding up of events. The counters of the technology module
detect encoder signals and pulses and evaluate them accordingly. The count direction can
be specified using encoder or pulse signals or through the user program.
You can control the counting processes with the digital inputs. In addition, you can read the
signal state of the respective digital input via the feedback interface.
You can specify the counter characteristics using the functions described below.
Counting limits
The counting limits define the counter value range used. The counting limits are configurable
and can be modified during runtime with the user program.
You can configure the behavior of the counter at the counting limits.
Start value
You can configure a start value within the counting limits. The start value can be modified
during runtime with the user program.
Gate control
You can define the time window in which the count signals are acquired with the hardware
gate (HW gate) and software gate (SW gate).
Capture (Latch)
You can configure an external reference signal edge that triggers the saving of the current
counter value as Capture value. The following external signals can trigger the Capture
function:
● Rising or falling edge of a digital input
● Both edges of a digital input
● Rising edge of the N signal at the encoder input
The "Frequency of Capture function" parameter specifies whether the function is executed at
each configured edge or only once after each enable.
Measuring input
If you use Position input for Motion Control (Page 19), you can use the "Measuring input"
technology object to execute a measuring input function with a hardware digital input.
Hardware interrupts
The technology module can trigger a hardware interrupt in the CPU, for example, if a
comparison event occurs, in the event of overflow or underflow, in the event of a zero
crossing of the counter and/or of a change of count direction (direction reversal). You can
specify which events during operation are to trigger a hardware interrupt.
TM Count 1x24V (6ES7138‑6AA01‑0BA0) technology module
Manual, 07/2019, A5E33002339-AD
Product overview
2.2 Functions
17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

6es7138-6aa01-0ba0

Table of Contents