Orient component revised

More
6 years 6 months ago #164168 by cmorley
Replied by cmorley on topic Orient component

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.

More
6 years 6 months ago - 6 years 6 months ago #164171 by alkabal
Replied by alkabal on topic Orient component

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

Saad but this yes this component is do for regular motor.


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
Last edit: 6 years 6 months ago by alkabal.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164209 by giz
Replied by giz on topic Orient component
I'm in the process of upgrading to 2.9 and implementing Probe Basic - once I have that going then I can experiment with the code!

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.

More
6 years 2 weeks ago #186171 by Serg452
Replied by Serg452 on topic Orient component revised
Hello
Please give the working hal file and ini pid section ORIENT

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #186840 by alkabal
Replied by alkabal on topic Orient component revised
Hi

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.

More
5 years 11 months ago - 5 years 11 months ago #190236 by alkabal
Replied by alkabal on topic Orient component revised
New version that allow to use different spindle control type like :

-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
Last edit: 5 years 11 months ago by alkabal.

Please Log in or Create an account to join the conversation.

Time to create page: 0.305 seconds
Powered by Kunena Forum