Spindle orientation, M19 questions.

More
07 Jan 2015 00:44 #54672 by andypugh

Nice hear it, send me the youtube link i want watch it.


It is a very bad example, with a very old VFD.

The gear in my machine is practically 1x1. Did you use ladder logic to control it?


No, just HAL and a PID. This subject has been covered many times before. You should be able to find sample HAL files if you search the forum.

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

More
07 Jan 2015 01:02 #54673 by andradela
I would like to watch your video.

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

More
07 Jan 2015 01:05 #54674 by andypugh

I would like to watch your video.


I stress that a more modern VFD will work better:

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

More
07 Jan 2015 01:05 #54675 by andradela
I found some subjects about spindle orient but any similar mine.
Asynchronous spindle motor.

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

More
07 Jan 2015 01:10 #54676 by andradela
Works fine for me.

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

More
07 Jan 2015 01:11 #54677 by andradela
What a kind of encoder did you use?

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

More
07 Jan 2015 01:44 #54680 by andypugh

What a kind of encoder did you use?


At that point it was a home-made 50-slot wheel.

It will generally work better with a higher-count encoder.

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

More
07 Jan 2015 04:11 #54684 by andradela

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

More
07 Jan 2015 04:26 #54686 by andypugh
That Wiki page describes spindle speed control, not position control.

Try reading this thread: linuxcnc.org/hardy/dapper/index.php/engl...-211?start=250#51172

Unfortunately it took a lot of iterations to get to a working setup.

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

More
07 Jan 2015 05:20 #54694 by andradela
I think using closed loop is too complex for me. I don't know hal config well. I set my machine using pncconf. I'm thinking to do something more simple. Use fixed frequency and brake cc in the inverter.
I'm thinking something like that, tell me what you think.
Set some pon from M19 linked with classic ladder. Maybe that motion.spindle-orient or another.
When M19 is called that pin come true in classic ladder, then i will set an classic ladder output to set a fixed frequency on the inverter throught an digital input. I will use a inductive sensor with a dog to define the right position stop. I will link that sensor to a classic ladder input, and then set another classic ladder out to set a inverter brake CC, ready the spindle is stoped.
In theory it works, what you think? If you think it works, could you please help me?

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

Moderators: piasdom
Time to create page: 0.091 seconds
Powered by Kunena Forum