Question:
How can the information in the device be read in the following devices?
- Addresses: 1001 e 1002.
- Addresses: 30020 e 30032
Solution:
To do so, follow these procedures:
1. Set Modbus function:
- read/write bit: Function: 1 – Read: 1 Write: 5 Type: Bit
- read/write word : Function: 2 – Read: 4 Write: 16 Type: Word
2. Set tags (N1, N2, N3, N4), where X stands for the device’s address:
- 1001 : (X, 1, 0, 1001)
- 1002 : (X, 1, 0, 1002)
- 30020: (X, 2, 0, 20)
- 30032: (X, 2, 0, 32)