From 23a0d9faa42055ec96d3a60aa0afa9cad362e016 Mon Sep 17 00:00:00 2001 From: Shulyaka Date: Fri, 14 Jun 2019 11:08:44 +0300 Subject: [PATCH] Update modbus.markdown (#9609) --- source/_components/modbus.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/modbus.markdown b/source/_components/modbus.markdown index 77ddbcee795..c62832b0e0f 100644 --- a/source/_components/modbus.markdown +++ b/source/_components/modbus.markdown @@ -128,12 +128,12 @@ modbus: - type: tcp host: IP_ADDRESS_1 port: 2020 - hub: hub1 + name: hub1 - type: tcp host: IP_ADDRESS_2 port: 501 - hub: hub2 + name: hub2 ``` ### {% linkable_title Services %} @@ -147,7 +147,7 @@ modbus: | Attribute | Description | | --------- | ----------- | -| hub | Hub name (defaults to 'default' when omitted) | +| name | Hub name (defaults to 'default' when omitted) | | unit | Slave address (set to 255 you talk to Modbus via TCP) | | address | Address of the Register (e.g., 138) | | value | A single value or an array of 16-bit values. Single value will call modbus function code 6. Array will call modbus function code 16. Array might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]` |