I wonder if someone knows how to ping oro06 on this? I don't see that he has been active here for a couple of years?
I'm got it working - not satisfied -
WJ200 should not talk to the drive when it isn't powered - need a pin to drive with
iocontrol.0.user-enable-out or halui.estop.is-activated
- When physical estop happens - this drive will still run for a bit - and should stop the spindle - so send one last command to the drive and disable communications until the physical estop is out again.
Also, it should refuse to start at 0-speed.
Possibly an input for scaling the requested rpm to a frequency..
I will have to rewrite this after I get a few other bits sorted out. It looked like oro06 was working on this -he had major changes
but I don't think it compiled - last activity 2 years ago.
Some drive parameters take a reboot to change..
Looks like he was building a meter-display - and other improvements - here is HIS list in italics
a)work if a frequency range (min and max) is configured in the vfd if frequency setpoint is lower than min frequency a stop is issued
if frequency setpoint is higher than max frequency, setpoint is overwritten with max frequency.
b)stop issued when exiting
c)more registers accessible like current frequency, instant power
consumption and motor information
d)added a failure mode if registers could not be read after several attempt
e)use of 'variable' declaration to store instance variables
f)added simple log with ms timing
g)split modbus transaction in 2 groups static and dynamic
the former being read only once
h)add optionnal --verbose to loadusr command, to view in-loop live
modbus registers
i)fix possible issue when attempting to set frequency higher than 655.35 Hz
j)started a dedicated gladevcp .ui and .hal
k)added a version number