Orient component revised
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
Please Log in or Create an account to join the conversation.
I think i need this as simulated :
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
Please Log in or Create an account to join the conversation.
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 !!!!
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
Homing spindle work fine from all situation (excepted from jog wheel)
M19 work fine
Velocity mode work fine
jog mode work fine (can use built in orient jog mode or use axis C built in jog (need to edit hal))
Axis C mode need more work
Need to found a way for stop homing spindle if we push the gui spindle stop button
ps : Jog wheel need machine homed for working
I understand if nobody is interested lol but if someone like to test and review this is wonderful
You need to compile both component
sudo halcompile --install /home/my_Lathe_and_Mill/spinload.comp
sudo halcompile --install /home/my_Lathe_and_Mill/orientv2.comp
Please Log in or Create an account to join the conversation.
thanks for your work here. I have download the attached "my_Lathe_and_Mill_sim.zip" file but it seems to contain only 1 file "LatheMacro.svg".
Please Log in or Create an account to join the conversation.
herer you have the good one
Please Log in or Create an account to join the conversation.
sim config
Homing spindle work fine from all situation (excepted from jog wheel)
M19 work fine
Velocity mode work fine
jog mode work fine (can use built in orient jog mode or use axis C built in jog (need to edit hal))
Axis C mode need more work
Need to found a way for stop homing spindle if we push the gui spindle stop button
ps : Jog wheel need machine homed for working
I understand if nobody is interested lol but if someone like to test and review this is wonderful
You need to compile both component
sudo halcompile --install /home/my_Lathe_and_Mill/spinload.comp
sudo halcompile --install /home/my_Lathe_and_Mill/orientv2.comp
Bonsoir Alkabal , personnellement, très intéressé au contraire ! ,et je pense ne pas être seul mais j'avoue être un peu perdu... j essaie de suivre aussi ce poste-ci avec Andy:
forum.linuxcnc.org/10-advanced-configura...op-command?start=140
qui ressemble au votre.. j ai des tas de questions et comme vous êtes français , ça serait plus facile de se comprendre , je vous ai envoyé une invitation pour pouvoir vous contacter si vous souhaitez
Please Log in or Create an account to join the conversation.
Je ne crois pas qu'il y'est de MP sur ce forum.
J'ai apercut votre intervention sur le topic en question et malheureusement il y'a une difference fondamentale entre les deux cas, en effet le travail d'andy sur ce topic est fait pour un moteur de broche servo/stepper alors que dans mon cas le code pour l'orientation est fait pour un moteur standard piloté par un controleur utilisant un signal PWM ou analogique controllant la velocité.
Je n'est pas bien compris quel est votre type de moteur ?
Please Log in or Create an account to join the conversation.
le moteur de broche est un moteur asynchrone de 5.5 kw relie a un VDF ATIVAR 31
Please Log in or Create an account to join the conversation.