23.05.2022, 13:23
The function for reading data with a set data type is called readregistervalue. Just use this code as is:
Code:
value = mb:readregistervalue(530, 'int16')|
int16 on modbus script
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
int16 on modbus script - by CristianAgata - 22.05.2022, 19:02
RE: int16 on modbus script - by admin - 23.05.2022, 05:30
RE: int16 on modbus script - by CristianAgata - 23.05.2022, 10:59
RE: int16 on modbus script - by admin - 23.05.2022, 13:20
RE: int16 on modbus script - by CristianAgata - 23.05.2022, 13:22
RE: int16 on modbus script - by admin - 23.05.2022, 13:23
RE: int16 on modbus script - by CristianAgata - 23.05.2022, 13:26
|