Update Modbus write_register unit description (#13210)

This commit is contained in:
saruter 2020-05-08 14:18:16 +02:00 committed by GitHub
parent 5e4151a56a
commit 6bacb394c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ modbus:
| Attribute | Description | | Attribute | Description |
| --------- | ----------- | | --------- | ----------- |
| hub | Hub name (defaults to 'default' when omitted) | | hub | Hub name (defaults to 'default' when omitted) |
| unit | Slave address (set to 255 you talk to Modbus via TCP) | | unit | Slave address (1-255, mostly 255 if you talk to Modbus via TCP) |
| address | Address of the Register (e.g., 138) | | 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]` | | 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]` |