11 XN-322-20DI-PCNT digital input module with counter function
11.3 Wiring
66
XN300 slice modules
06/16 MN050002 EN
www.eaton.com
11.3.1 Wiring up the digital inputs
The digital input, which conforms to EN 61131-1 type 1, is particularly suit-
able for connecting electronic sensors. It is used to convert a signal with two
possible states into a one-bit binary number.
Figure 38:
Input wiring
11.3.2 Wiring the counter functions for inputs 1 to 4
Inputs 1…4 are connected downstream of internal module counter registers
that can be used to directly count signal pulses at these inputs.
The following modes are available:
•
Counter mode (simple counting): The 8-bit counter register for an input
will be incremented every time there is a rising signal pulse at that input.
Objects 0x3023 to 0x3026 are the corresponding 8-bit counter registers.
•
Incremental encoder mode: Counts by interpreting the signals from two
inputs using AB quadrature mode with four samples encoding and incre-
menting a 16-bit counter register. Objects 0x3027 to 0x3028 are the cor-
responding 16-bit counter registers.
Figure 39:
Timing diagram showing how the signals at the XN-322-20DI-PCNT module's
inputs are used for counting when using AB quadrature mode with four samples
encoding
X1
1
2
3
4
8
X2
5
6
7
X3
9 10 11 12
16
X4
13 14 15
X5
20
17 18 19
PE
24 V
0 V
n = n - 1
Input x
Input y
n = n + 1
Counter
Содержание XN300
Страница 4: ...II...
Страница 14: ...10 XN300 slice modules 06 16 MN050002 EN www eaton com...
Страница 22: ...1 XN300 slice modules 1 4 Catalog number selection XN300 18 XN300 slice modules 06 16 MN050002 EN www eaton com...
Страница 36: ...4 Power supply XN 322 4PS 20 4 3 Technical Data 32 XN300 slice modules 06 16 MN050002 EN www eaton com...