Jogging all good now, so paying attention to getting the variable resistor potentiometers to control feedrate and spindle speed overrides.
This was complicated by the fact the Hurco has these pots internally fed with 5 volts, and I am reading the analogue voltage via 7i73 pins that tolerate 3.3volts max. However, addressed that with a resistor bridge. Then I want for the pot controls to also change the gui sliders on the Axis screen.
The attached postgui hal makes that all work, and by adjusting the scale figure can get the mid positions to align with 100%, near enough.
To get that right I have been stopping and starting the Axis gui, over and over without homing the machine and find that this "unrecognised error" message crops up sometimes, freezing the rate sliders. The Gui can stiil be shut down normally using the top right X , and generally on a restart, it works again but would like to know what the cause is.
Thanks
I have never seen this error before until I used the mult2 function in this hal.
File Attachment:
File Name:
feed_or.hal
File Size:1.76 KB