Counting operating mode (CNT)
4.2 Parameters/address space
Digital input module DI 8x24VDC HS (6ES7131‑6BF00‑0DA0)
Manual, 03/2015, A5E35243810-AA
31
Parameters/address space
4.2.1
Counting refers to the detection and summation of events. The respective counters of the
module detect encoder signals and pulses and evaluate them accordingly, for example:
● For counting general piece goods up to a maximum limit
● For applications with recurring counting processes
You can count with DI
0
through DI
3
. You can specify each counter's characteristics using the
functions described below.
The counting limits define the counter value range used. The counter limits are configurable
and can be modified during runtime using the user program.
The maximum possible counting limit is 2147483647 (2
31
–1). The minimum possible
counting limit is –2147483648 (–2
31
).
You can continue or stop counting upon violation of a counting limit (automatic gate stop)
Upon high and low limit violations of the counter value, an event bit is set in the feedback
interface (Page 41) in each case.
You can configure a start value within the counter limits. The start value can be modified
during runtime with the user program.
Opening and closing the hardware gate and software gate defines the period of time during
which the counting signals are recordd.
The control of the hardware gate takes place externally via the digital inputs DI
4
through DI
7
.
The software gate is controlled via the user program. Use of the hardware gate can be
enabled through parameter assignment.
The counting direction is specified either via suitable external pulse signals at the each
counter's control input or via the configuration.