Axis Lathe Simulator
Thanks
John
Please Log in or Create an account to join the conversation.
I've looked at all the files and danged if I can figure out where to up the limit
Have you looked to see what the limit2.0.max and .min values are? They are initialised to 1e20, but perhaps something else it accidentally writing to them?
Please Log in or Create an account to join the conversation.
I've watched limit2.0.max and min and both stay at 1e+20 and -1e+20... must be some magic somewhere. If I put s2600 m3 in the MDI the speed will ramp up to 2500 on the pyvcp display then go to -25003.6
Thanks
John
Please Log in or Create an account to join the conversation.
What does halcmd show motion.spindle-speed-out say (and other related pins). That sounds like something, somewhere, is overflowing a signed-integer. Quite possibly inside PyVCPI've watched limit2.0.max and min and both stay at 1e+20 and -1e+20... must be some magic somewhere. If I put s2600 m3 in the MDI the speed will ramp up to 2500 on the pyvcp display then go to -25003.6
Please Log in or Create an account to join the conversation.
S3000 M3 gives me the following.
motion.spindle-speed-in ramps up then goes to -41.72592
motion.spindle-speed-out goes to 3000 instantly or pretty fast.
motion.spindle-speed-cmd-rps = 50
motion.spindle-speed-out-rps = 50
Looks like something is borked with motion.spindle-speed-in which is connected to spindle-rps-filtered signal.
John
Please Log in or Create an account to join the conversation.
Looks like something is borked with motion.spindle-speed-in which is connected to spindle-rps-filtered signal.
That pin is fed from lowpass.0.0ut, but I can't find that. I think it is core_sim.hal but I can't find that at all in gitweb, very strangely.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
On the 2.5~pre on my test machine it is shown as 0 - 5000 rpm in the pyvcp widget but if you command anything higher than about 800 it goes to -833.7 and stays there.
Believe it or not I have never tried running the spindle for a simulation before, seemed no point, all I was interested in was the tool path plot.
Andys idea about overflowing a signed integer sounds likely, but none of the figures when multiplied by 60 for rps come near the overflow thresholds.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.