Using the module
5.2 Using the digital input module
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
195
Use this parameter to specify the Function (Page 87) that controls the STS_DQ feedback bit.
You can use the STS_DQ reset bit in order to control a digital output module's digital output.
You can select from the following options:
Off (DQ = 0) Regardless of the counter value, STS_DQ is
Off (DQ = 1) Regardless of the counter value, STS_DQ is
permanently set.
Between comparison value 0 and 1 STS_DQ is set if the counter value between
comparison values 0 and 1.
Not between comparison value 0 and 1 STS_DQ is set if the counter value is outside the
range between comparison values 0 and 1.
Between comparison value and counter high limit
STS_DQ is set if the counter value is between the
comparison value and the counter high limit.
Between comparison value and counter low limit STS_DQ is set if the counter value is between the
comparison value and the counter low limit.
Setting function of the DI
Use this parameter to specify which function the respective digital input DI
n+4
triggers.
You can select from the following options:
Digital input without function No function is assigned to the respective digital
input DI
n+4
. The signal status of DI
n+4
can be read
by the CPU using the feedback interface.
Gate start/stop Setting the respective digital input DI
n+4
opens
the hardware gate (Page 85) for DI
n
. Resetting
the respective digital input DI
n+4
closes the hard-
Invert direction The respective DI
n+4
digital input 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
n+4
n
Note
If "Invert direction" is selected and the counting direction in the process changes, the
counting edge is automatically adjusted (opposite edges).