Counting operating mode (CNT)
4.2 Parameters/address space
Digital input module DI 8x24VDC HS (6ES7131‑6BF00‑0DA0)
Manual, 03/2015, A5E35243810-AA
37
Selects the function that controls the response of the STS_DQ feedback bit (Page 41): You
can use the STS_DQ reset bit in order to control a digital output module's digital output.
● Off (DQ = 0):
Regardless of the counter value, STS_DQ is permanently not set.
● Off (DQ = 1):
Regardless of the counter value, STS_DQ is permanently set.
● Counter value between comparison value 0 and 1:
STS_DQ is set if counter value ≥ comparison value 0 and counter value ≤ comparison
value 1.
● Counter value not between comparison value 0 and 1:
STS_DQ is set if counter value < comparison value 0 or counter value > comparison
value 1.
Setting function of the DI
Selects the function of DI
n+4
, which controls the assigned counter input DI
n
:
● Digital input without function:
No function is assigned to DI
n+4
. The signal status of DI
n+4
can be read by the CPU using
the feedback interface (Page 41).
● Gate start/stop:
Setting DI
n+4
opens the hardware gate for DI
n
. Resetting DI
n+4
closes the hardware gate
for DI
n
.
● Reverse direction:
DI
n+4
reverses the counting direction at DI
n
, in order to adjust it to the process. If DI
n+4
is
not set, DI
n
counts up. If DI
n+4
is set, DI
n
counts down.
Sets counter high limit.
The following applies:
● Counter high limit > counter low limit
● Counter high limit ≤ 2147483647 (2
31
- 1)
Sets the counter low limit.
The following applies:
● Counter low limit < counter high limit
● Counter low limit ≥ -2147483648 (-2
31
)