Digital Input Registers
State of Digital Inputs (30016 for MINI/MIX/MAX Series, 30216 for MAX Series)
This 16-bit registers contain the status of digital inputs. Short-circuit input to GND sets the corresponding bit in the register in accordance with the table below:
No. of Bit in the 30016 Register | No. of Digital Input |
---|---|
0 | 1 |
1 | 2 |
… | … |
10 | 11 |
11 | 12 |
No. of Bit in the 30216 Register | No. of Digital Input |
0 | 13 |
1 | 14 |
… | … |
10 | 23 |
11 | 24 |
Counter 1-12 (40023-40046 for MINI/MIX/MAX Series and 40223-40246 for MAX Series)
The modules have 32-bit counters, one for each digital input.
The register with a lower number contains a lower byte of the counter and in the register with a higher number is stored in the higher byte of the counter.
In order to change the value of the register, write any value (called ‘preset’) for pulse counting registers. In special cases, the counter can be reset by entering 0. Resetting the counter is also possible with the 40022 register and 40222 register for 24I and 24I-IP modules.
Resetting the Counters (40022 for MINI/MIX/MAX Series and 40222 for MAX Series)
Setting a true value of a particular bit of this 16-bit register results in resetting the corresponding counter (setting it to 0) in accordance with the following table:
No. of Bit in the 40022 Register | No. of Digital Input |
---|---|
0 | 1 |
1 | 2 |
… | … |
10 | 11 |
11 | 12 |
No. of Bit in the 40222 Register | No. of Digital Input |
0 | 13 |
1 | 14 |
… | … |
10 | 23 |
11 | 24 |