- Posts: 476
- Thank you received: 52
Orient component revised
5 years 5 months ago - 5 years 5 months ago #209580
by alkabal
Replied by alkabal on topic Orient component revised
I think my setup is near that you try with this man.
Spindle component for ramp up and ramp down before stop and ramp down before changing direction
Orient with jog mode and homing facility
I do not need to reset index when i switch mode because i do first a homing spindle with always the same speed, so the index position stay allways the same.
Spindle component for ramp up and ramp down before stop and ramp down before changing direction
Orient with jog mode and homing facility
I do not need to reset index when i switch mode because i do first a homing spindle with always the same speed, so the index position stay allways the same.
Last edit: 5 years 5 months ago by alkabal.
Please Log in or Create an account to join the conversation.
5 years 5 months ago #209703
by andypugh
Replied by andypugh on topic Orient component revised
One problem with the existing component is that if the input angle changes after enable, then the output angle does not change. Which means that it works for a one-time orient, but not to turn a spindle into an axis.
Please Log in or Create an account to join the conversation.
5 years 5 months ago - 5 years 5 months ago #209705
by alkabal
Replied by alkabal on topic Orient component revised
with my revised one if you call other angle from M19 before position reached the new angle is immediately applied, same for jog.
we can't ask multiple angle excepted if you wait the first angle is reached before ask other one.
Using C axis each time i stop spindle or after other move : the spindle try to return to the last C angle (i like to found a way for prevent this)
I have not tested what append if i call multiple C angle but imo that need more work in the orientv2.comp
we can't ask multiple angle excepted if you wait the first angle is reached before ask other one.
Using C axis each time i stop spindle or after other move : the spindle try to return to the last C angle (i like to found a way for prevent this)
I have not tested what append if i call multiple C angle but imo that need more work in the orientv2.comp
Last edit: 5 years 5 months ago by alkabal.
Please Log in or Create an account to join the conversation.
5 years 5 months ago - 5 years 5 months ago #209706
by alkabal
Replied by alkabal on topic Orient component revised
I like the idea to create a sim config but i'm unsure is sim_spindle.comp is enough, i have never use sim personal sim config
I think i need this as simulated :
I think i need this as simulated :
Code:
net spindle-index-enable <=> [HMOT](CARD0).encoder.00.index-enable
net spindle-pos <= [HMOT](CARD0).encoder.00.position
net spindle-vel-rps-raw <= [HMOT](CARD0).encoder.00.velocity # speed as RPS
net spindle-vel-rpm-raw <= [HMOT](CARD0).encoder.00.velocity-rpm
Last edit: 5 years 5 months ago by alkabal.
Please Log in or Create an account to join the conversation.
5 years 5 months ago - 5 years 5 months ago #209714
by alkabal
Replied by alkabal on topic Orient component revised
At the end config sim work without emulated velocity this is crazy !
Unfortunately not all the stuff can be tested without velocity and after a moment i get pid saturated error.
Edit found the sim_encoder that work very fine !!!!
Unfortunately not all the stuff can be tested without velocity and after a moment i get pid saturated error.
Edit found the sim_encoder that work very fine !!!!
Last edit: 5 years 5 months ago by alkabal.
Please Log in or Create an account to join the conversation.
5 years 5 months ago - 5 years 5 months ago #210829
by alkabal
Replied by alkabal on topic Orient component revised
Hi
Any help welcome for write logic for use spindle vfd as C axis, for now i'm unsure about the correct behavior.
(For the moment i can only use sim config and it's more hard to understand what append.)
Also i like to have more detail about how is managed :
Any help welcome for write logic for use spindle vfd as C axis, for now i'm unsure about the correct behavior.
(For the moment i can only use sim config and it's more hard to understand what append.)
Also i like to have more detail about how is managed :
The idea there was to index-reset when the mode switches, which feels like a good idea. Now it has become a C-axis rehome when the mode switches.
Last edit: 5 years 5 months ago by alkabal.
Please Log in or Create an account to join the conversation.
Time to create page: 0.164 seconds