Feature update required.
If Cut Feed Rate in the Run Panel is set to Zero then PlasmaC will use motion.requested-velocity for the THC calculations which is not a very reliable way of velocity based THC and is not recommended.
But in recent days with the release of state tags thanks to Dewey Garrett, there is a new pin called
motion.feed-upm
So Plasmac should be updated to use this pin which will be a reliable way to do velocity based THC.
Please Log in or Create an account to join the conversation.
The plasmac.requested-velocity pin and the motion.requested-velocity pin are not even connected in hal...
A good thing in one way as it means whatever I do for this it won't break anything.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Then along came Sir Phill on his steed Plasmac to the rescue and I think we convinced him to make a workaround... But now this feed-upm pin exists, it should be used to set the commanded feedrate in Plasmac becasue it will always be correct! Then there is no need for the user to ever use the plasmac feedrate pin (although doing it that way would make no difference.).
I will say its a bit annoying that its not in units/sec and have wondered if there should be another pin or a parameter set it that way as all the other hal values are in units per second.
Please Log in or Create an account to join the conversation.
So are you saying that in master branch motion.requested-velocity is not a true indication of the F word whereas motion-upm is?
Correct, it can never be depended on! Welcome to the wonder of State tags!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So what was the point of state stags if it didn't fix whatever was wrong?
So are you saying that in master branch motion.requested-velocity is not a true indication of the F word whereas motion-upm is?
Correct, it can never be depended on! Welcome to the wonder of State tags!
Please Log in or Create an account to join the conversation.
State Tags does not actually give any method to access the data sent.
So what Dewey did is create a new pin that exposed the feed rate in state tags as a pin in motion. This now replaces the pin Chris Morley created to do the same thing except with State tags, its 4 lines of code...
If you open the /src/emc/motion folder, you can review state-tags.h and motion-priv.h that creates Dewey's new pin. then the pin is published in motion.c and set from state tags in control.c Its actually a good (simple) example of how to create a pin.
Also while visiting command.c, check out the debug pins. These are for developer use and you can publish any motion data there fro debugging as a parameter in HAL motion.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Well it does a bit, you would need to set all your material cut speeds to zero and you wouldn't be able to use the wizards as they are. To me it kinda defeats the purpose of the materials file, may as well do everything in gcode.But now this feed-upm pin exists, it should be used to set the commanded feedrate in Plasmac becasue it will always be correct! Then there is no need for the user to ever use the plasmac feedrate pin (although doing it that way would make no difference.).
For me there would need to be a different set of calculations for 2.8 and master, maybe different wizards. It seems like a lot of work for no gain.
F#<_hal[plasmac.cut-feed-rate]> may look a bit odd but it does work and it works well.
Please Log in or Create an account to join the conversation.