User Tools

Site Tools


modbus_protocol
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Last revision
modbus_protocol [2019/01/09 14:16] – created emozolyak
Line 1: Line 1:
 +====== Modbus ======
 +
 +{{::modbus_logo.png?direct&250|}}
 +
 +In WebHMI, such syntax of addressing ModBus (RTU/ASCII/TCP) registers is defined:
 +
 +^Register address ^Description ^Data type^ Read(FC((FC - function code used)))/Write(FC)^
 +|Cx |Coils. X — output number (valid range is 0..65535). Examples: C1, C3, C44 |Bit| Read(0x01)/Write(0x05)|
 +|DIx |Discrete Inputs. X — input number (valid range 0 ..65535). Examples: DI1, DI3, DI44, DI45000 |Bit |Read(0x02)/—|
 +|HRx |Holding Registers. X — register address (valid range 0..65535). Examples: HR1, HR3, HR44, HR65043 |Bit, Byte, Word, Double Word |Read(0x03)/Write(0x06)|
 +|MHRx |Identical to HRx. The difference is that the writing in such registers occurs using the Modbus function No. 16 (Preset Multiple Register). |Bit, Byte, Word, Double Word |Read(0x03)/Write(0x16)|
 +|IRx |Input Registers. X — register address (valid range 0..65535). Примеры: IR1, IR3, IR44, IR65043 |Bit, Byte, Word, Double Word |Read(0x04)/—|
 +
 +  ATTENTION! By default, for double word reading, two queries each by one word will be used. To explicitly set 
 +  double-word  reading with one query (multiple read), you must enable grouping in the connection properties.
 +
  
modbus_protocol.txt · Last modified: 2022/01/15 10:43 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki