ModBus TCP/en — различия между версиями
Материал из WebHMI Wiki
FuzzyBot (обсуждение | вклад) (Обновление для соответствия новой версии исходной страницы.) |
|||
Строка 1: | Строка 1: | ||
<languages/> | <languages/> | ||
− | + | <languages/> | |
+ | In WebHMI, such addressing of the ModBus TCP registers defined: | ||
<table border=1 cellspacing=0 cellpadding=5> | <table border=1 cellspacing=0 cellpadding=5> | ||
− | <tr><td>''' | + | <tr><td>'''Register address'''</td><td>'''Description'''</td><td>'''Data type'''</td><td>'''Read/Write'''</td></tr> |
− | <tr><td>Cx</td><td> | + | <tr><td>Cx</td><td>Coils. X — output number (valid range is 0..65535). Examples: C1, C3, C44</td><td>Bit</td><td>Read/Write</td></tr> |
− | <tr><td>DIx</td><td> | + | <tr><td>DIx</td><td>Discrete Inputs. X — input number (valid range 0 ..65535). Examples: DI1, DI3, DI44, DI45000</td><td>Bit</td><td>Read/—</td></tr> |
− | <tr><td>HRx</td><td> | + | <tr><td>HRx</td><td>Holding Registers. X — register address (valid range 0..65535). Examples: HR1, HR3, HR44, HR65043</td><td>Bit, Byte, Word, Double Word</td><td>Read/Write</td></tr> |
− | <tr><td>MHRx</td><td> | + | <tr><td>MHRx</td><td>Identical to HRx. The difference is that the writing in such registers occurs using the Modbus function No. 16 (Preset Multiple Register).</td><td>Bit, Byte, Word, Double Word</td><td>Read/Write</td></tr> |
− | <tr><td>IRx</td><td> | + | <tr><td>IRx</td><td>Input Registers. X — register address (valid range 0..65535). Примеры: IR1, IR3, IR44, IR65043</td><td>Bit, Byte, Word, Double Word</td><td>Read/—</td></tr> |
</table> | </table> | ||
− | + | 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. |
Версия 08:24, 14 мая 2018
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.