ModBus TCP
Материал из WebHMI Wiki
In WebHMI, such addressing of the ModBus TCP registers defined:
Register address | Description | Data type | Read/Write |
Cx | Coils. X — output number (valid range is 0..65535). Examples: C1, C3, C44 | Bit | Read/Write |
DIx | Discrete Inputs. X — input number (valid range 0 ..65535). Examples: DI1, DI3, DI44, DI45000 | Bit | Read/— |
HRx | Holding Registers. X — register address (valid range 0..65535). Examples: HR1, HR3, HR44, HR65043 | Bit, Byte, Word, Double Word | Read/Write |
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/Write |
IRx | Input Registers. X — register address (valid range 0..65535). Примеры: IR1, IR3, IR44, IR65043 | Bit, Byte, Word, Double Word | Read/— |
Note: By default, when reading double words, two queries will be used - one for each word. To explicitly set double-word reading with multuple read queriy, you must enable grouping in the connection properties.