20 XN-322-16DIO-PC05 digital input/output module
20.5 Memory layout
139 XN300 slice modules 02/24 MN050002EN Eaton.com
0x4001 – 0x9xx0
SUB 08
max.10 CAN: SerialNumber
EC: Serialnumber
–
0x4004 – 0x8xx1
SUB 01
1 UserLEDControl –
0x400C – –
Max.
25
ProductName –
0x4170 0x8xx4
SUB 01
1 CounterModeRegiste
r1
Note: Writing to this
register will reset all
counter values to
0x00!
Bit 0 / 1
Input 1-2
00: Counter - Mode –
01: Encoder - Mode
10: Timestamp mode
(reserved)
11: PWM time measurement
Bit 2 / 31
Input 3-4
00: Counter - Mode
01: Encoder - Mode
CAN
Object
Index
Default
CAN
Mapping
EtherCAT
Object
Index
Size
(byte)
Local I/O
description
Byte Bit Local I/O
addresse
s
1) If the inputs are configured for counter mode in the counter mode register.
2) If the inputs are configured for incremental encoder mode in the counter mode register.
3) If the inputs are configured for PWM mode in the counter mode register. Resolution: 1 s.
→
Make sure to only use the data relevant to the selected
operating mode. Registers for operating modes that are not
selected will contain invalid values. The operating mode can be
selected using the counter mode register.