Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-04-12 00:42:58

sudhir
Member
Registered: 2016-04-01
Posts: 14

MODBUS rtu Polling Rate

The default polling rate appears to be a few seconds. Is it possible to change that? THANKS.

Offline

#2 2016-04-12 10:24:19

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: MODBUS rtu Polling Rate

Polling rate depends on two parameters:
1) "Refresh rate" of each item in Modbus driver special edit dialog:

MB_refresh_rate.png

- 0: polling rate corresponds to period of Modbus driver execution
- other: closest larger execution time according to period of Modbus driver

2) Period of Modbus driver execution:
"tick" (EXEC) x Modbus "factor" (IODRV)

Example:
Let period of Modbus driver be: 50 ms ("tick") x 10 ("factor") = 500 ms
Refresh rate of the item in Modbus driver special edit dialog is set to 700 ms.

The item will be proceed immediately after starting executive, then in 1000 ms, 2000 ms, etc.

Note: Polling rate can be also affected by the baudrate.

Regards, Tomas

Offline

Board footer

Powered by FluxBB