- Posts: 6803
- Thank you received: 2181
Orient component revised
alkabal wrote: now i understand why you want spindle on with S0, but it is better to have your setup or use a orient component ?
can i ask more about what you have do in your config ?
So My indexer is not going to work with you rorient component because it's stepper based.
My main spindle is a servo motor, but currently can only run i one direction.
I haven't had a chance to set up rour orient on my main spindle yet.
I did find where linuxcnc sets M5 when S=0, so i want to test that change too.
Chris
Please Log in or Create an account to join the conversation.
Saad but this yes this component is do for regular motor.cmorley wrote: So My indexer is not going to work with you rorient component because it's stepper based.
My main spindle is a servo motor, but currently can only run i one direction.
I haven't had a chance to set up rour orient on my main spindle yet.
Chris
giz wrote: I don't have anything to contribute, but I'm trying to follow this conversation. I've had a horrible time trying to program a working Orient on my machine.
Hi i have see your topic some time ago when i try to setup original orient.comp but imo this component is really hard to setup correctly .
I like if you can check about this work in progress new comp i have do the most possible for allow easy setup.
copy past hal exemple from comp
add pid settings
remove 2 hal link from spindle setup and past to orient hal maybee adapt net link name for match your spindle net link name for this 2 link
first change :
#net spindle-enable => [HMOT](CARD0).7i83.0.0.analogena0 # moved in the orient input output
net spindle-enable => orient.orient-spindle.ena-from-velocity
net spindle-orient-enable-out => [HMOT](CARD0).7i83.0.0.analogena0 # moved in the orient input/output but initially in spindle setup
second change :
#net spindle-vel-cmd-out => [HMOT](CARD0).7i83.0.0.analogout0 # moved in the orient input output
net spindle-vel-cmd-out => orient.orient-spindle.cmd-from-pid-velocity
net spindle-orient-ctrl-out => [HMOT](CARD0).7i83.0.0.analogout0 # moved in the orient input/output but initially in spindle setup
Please Log in or Create an account to join the conversation.
But unfortunately it will probably be some weeks out. Happy to help how I can though
Please Log in or Create an account to join the conversation.
Please give the working hal file and ini pid section ORIENT
Please Log in or Create an account to join the conversation.
I think all is already here but i have attached my ini hal comp and pyvcp for reference;
Some parts of the oreint process are not really finished and need review, any help are really welcome.
Please Log in or Create an account to join the conversation.
-Analog with +-10v for speed and direction management like kbmg-212D
-Analog with 0/10v for speed and relay for swapp motor wire
-Analog with 0/10v for speed and one or two input for direction selection like Omron MX2
I think this can work with PWM spindle control
Please help is needed for do something better :
-Some issue with jog mode need/can be enhanced
-I'm sure the whole positionnement method can be better with more knowledge
Imo my attempt is mostly interesting for the safe and easy integration in existing config. (positonement is accurate)
Edit : updated revision with two relay management like Serg452 setup with Omron MX2
Please Log in or Create an account to join the conversation.