X20 system modules • Other functions • X20CM8281
2218
X20 system User's Manual 3.10
4.26.3.10.3 Digital inputs
Unfiltered
The input state is collected with a fixed offset to the network cycle and transferred in the same cycle.
Filtered
The filtered status is collected with a fixed offset to the network cycle and transferred in the same cycle. Filtering
takes place asynchronously to the network in multiples of 200 µs with a network-related jitter of up to 50 µs.
4.26.3.10.3.1 Digital inputs and status of the digital outputs
Name:
DigitalInput01 to DigitalInput04
StatusDigitalOutput01 to StatusDigitalOutput02
This register is used to indicate the input state of the digital inputs and the status of the digital outputs.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Name
Value
Information
0
DigitalInput01
0 or 1
Input state - Digital input 1
...
...
3
DigitalInput04
0 or 1
Input state - Digital input 1
0
Digital output channel 1: No error
4
StatusDigitalOutput01
1
Digital output channel 1: Short circuit or overload
0
Digital output channel 1: No error
5
StatusDigitalOutput02
1
Digital output channel 1: Short circuit or overload
6 - 7
Reserved
-
4.26.3.10.3.2 Digital input filter
Name:
ConfigOutput01
This register can be used to specify the filter value for all digital inputs.
The filter value can be configured in steps of 100 μs. It makes sense to enter values in steps of 2, however, since
the input signals are sampled every 200 μs.
Data type
Value
Filters
0
No software filter
2
0.2 ms
...
...
USINT
250
25 ms - Higher values are limited to this value
4.26.3.10.3.3 Event or gate counter
Event counter operation
The rising (positive) edges are registered on the counter input.
The counter status is collected with a fixed offset to the network cycle and transferred in the same cycle.
Gate measurement
The time of rising to falling edges for the gate input is registered using an internal frequency. The result is checked
for overflow (0xFFFF) and corrected with the adjustable prescaler.
The recovery time between measurements must be >100 µs.
The measurement result is transferred with the falling edge to the result memory.
Event or gate counter
Name:
Counter01 to Counter02
Counter01 is intended for event counter operation.
Event counter operation or gate measurement can be selected for Counter02:
Data type
Value
USINT
Counter value
Summary of Contents for X20 System
Page 2: ......