KB-28060: Setting bits and words read.

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)
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *