Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:mervis-ide:30-communication-protocols:30-modbus:modpoll [2024/05/08 10:42] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Mervis and Modpoll tool ====== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | Here are some basic examples that demonstrate how to poll Mervis RT Modbus Server. | ||
| - | |||
| - | ===== Reading Reals/ | ||
| - | |||
| - | < | ||
| - | * //-a// Modbus server address: 1 | ||
| - | * //-r// register NUMBER 1 (PDU address = 0) - the same number you see in Modbus server definition in IDE | ||
| - | * //-c// read 4 elements | ||
| - | * //-t// interpret the values as floats | ||
| - | * //-f// - Mervis uses Big-Endian | ||
| - | * //-1// poll the server just once | ||
| - | * //-o// timeout 5s | ||
| - | * //-p// read from the IP: 192.168.1.120 port 502 | ||