ModBus TCP

Материал из WebHMI Wiki
Перейти к: навигация, поиск
Эта страница — перевод страницы ModBus TCP. Перевод выполнен на 100%.

Другие языки:
English • ‎русский
Другие языки:
English • ‎русский

In WebHMI, such addressing of the ModBus TCP registers defined:

Register addressDescriptionData typeRead/Write
CxCoils. X — output number (valid range is 0..65535). Examples: C1, C3, C44BitRead/Write
DIxDiscrete Inputs. X — input number (valid range 0 ..65535). Examples: DI1, DI3, DI44, DI45000BitRead/—
HRxHolding Registers. X — register address (valid range 0..65535). Examples: HR1, HR3, HR44, HR65043Bit, Byte, Word, Double WordRead/Write
MHRxIdentical 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 WordRead/Write
IRxInput Registers. X — register address (valid range 0..65535). Примеры: IR1, IR3, IR44, IR65043Bit, Byte, Word, Double WordRead/—
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.