20 XN-322-16DIO-PC05 digital input/output module20.3 WiringXN300 slice modules 02/24 MN050002EN Eaton.com 13420.3.3 Configuring inputs 1 to 4Counter mode register object 0x4170 can be used to configure the functionfor inputs 1 to 4 and, accordingly, select the operating mode you want touse.In addition, any writing command to counter mode register object 0x4170will reset count registers 0x3172 through 0x3177 to 0x00.The following functions are available:Please refer to „Application examples“.20.3.4 Connecting the power supplyThe cross-sectional area of the +24 V cable used to supply power at X5 mustbe sized for the maximum total current drawn by all the outputs.It is impermissible to apply a voltage, at any output, that exceeds the supplyvoltage by more than 0.7 V.Data bit Designation DescriptionB1 B00 0 Input 1/2 Counter ModeEvery time there is a rising edge at input n, the value in the register forcounter n will be incremented by one. When there is a counter over-flow, the value will jump from 16#FF to 16#00.0 1 Incremental Encoder ModeInput 1(3) and input 2(4) will be used as an incremental encoder withAB quadrature mode and X4 encoding.1 1 PWM Time Measuring Mode(High-Time in μs, Period Time in μs)Data bit Designation DescriptionB3 B20 0 Input 3/4 Counter Mode0 1 Incremental Encoder Mode1 1 PWM Time Measuring Mode