mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update modbus.markdown (#19313)
This commit is contained in:
parent
c3cd85195b
commit
db6d814a85
@ -193,7 +193,7 @@ Description:
|
||||
| Attribute | Description |
|
||||
| --------- | ----------- |
|
||||
| hub | Hub name (defaults to 'modbus_hub' when omitted) |
|
||||
| unit | Slave address (1-255, defaults to 0) |
|
||||
| unit | Slave address (0-255) |
|
||||
| address | Address of the Register (e.g. 138) |
|
||||
| value | (write_register) A single value or an array of 16-bit values. Single value will call modbus function code 0x06. Array will call modbus function code 0x10. Values might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]`, this depend on the byte order of your CPU |
|
||||
| state | (write_coil) A single boolean or an array of booleans. Single boolean will call modbus function code 0x05. Array will call modbus function code 0x0F |
|
||||
|
Loading…
x
Reference in New Issue
Block a user