Hi CNCDrive / All,
As per my previous post I just switched from ModbusEZ to Modbus Master Plugin. I noticed that that the EZ running on 1.2115 is much faster to react than the Master Plugin running on 1.2118. Sometimes it takes a couple of seconds to start/stop the VFD even if I press the "reset" or "cycle stop" buttons. For the time being I am going to assume that it is a problem with the plugin settings or the macroloop controlling it. So I would appreciate a couple of suggestions RE the following, so I can debug a bit the system:
- What is the recommended setting for the Modbus Master Plugin "Loopinterval(ms)"? I am not sure if it is my perception but counterintuitively it appears to work faster with 100ms than with 20ms?
- Is there an advantage or disadvantage on running in the same macroloop the writting commands for the VFD and reading the variables table in the same script or should I separate them in to two, one for writing and one for reading the data of the VFD and introduce a delay(thread.sleep) say 1 second for the reading registers so I do not overload the system with constant readings? Should the writting macroloop also have a small delay between loops?
Thank you in advance for any help.