Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • Using the MODBUS protocol, it is possible to write the HART packet that we want to send, to the converter (to the registers starting at address 52). Writing can be done with one or more Modbus write operations by the function 16 - Write Multiple Registers. According to the manufacturer's documentation, the packet begins with a start byte and does not contain an introductory preamble (3 or more 0xFF characters for synchronization of the parties).
  • Subsequently, HART communication is triggered by writing the value 0x0100 to the converter's register 50. The converter will send the HART packet and wait for the answer.
  • It is necessary to read the value of the register 50 until it is changed from 0x0100 to 0x0200 (successful HART communication) or 0x0000 (error/timeout).
  • If the communication was successful, the HART device response can be read from the registers at address 308 and above. This response must be parsed and interpreted.

Composition The composition of HART commands, parsing of HART responses, and reading values into user variables was were programmed by the means of ESL language.
If interested in this protocol and the relevant ESL scripts, please contact the D2000 development department.

...

Info
titleBlog

You can read blogs about HART protocol (for now, in Slovak language only): Communication - HART, Modbus and a Parrot


Kotva
revizie
revizie
Document revisions

...