Spindle orientation, M19 questions.

More
07 Jan 2015 20:32 #54708 by andypugh

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.


It isn't especially difficult in theory. The problems in that thread were because I typed the HAL out from memory without access to a working machine.

I am almost certain that using HAL and software will be easier than adding extra hardware such as a prox and a stop dog.

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

More
07 Jan 2015 21:50 #54715 by andradela
Ok.
Could you show me the hal config you used to set your machine.
I will try understand.

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

More
07 Jan 2015 21:59 #54716 by andypugh

Could you show me the hal config you used to set your machine..


The HAL in that thread I pointed to is likely to be more appropriate. The Youtube demo was very much an experiment, and there wasn't even an M19 command in LinuxCNC at that time.

What hardware are you using? That will very much affect the pin names. Attach your HAL and INI files and I will try to set up something close to workable.

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

More
07 Jan 2015 22:14 #54717 by andradela
I use mesa 7i43 board.

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

More
07 Jan 2015 22:21 #54718 by andypugh

I use mesa 7i43 board.


Do you control the spindle with a PWM from the 7i43? Do you have a spindle encoder?

Please attach HAL and INI as requested.

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

More
07 Jan 2015 23:11 #54722 by andradela
So my vfd use 0-10v frequency reference, maybe i will need build a pwm to 0-10v converter. I did try run yet.
About the encoder, i have two options, quadrature and ttl 2500 ppr.
What is better?
I will sent the files later now i'm working.

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

More
08 Jan 2015 01:06 #54724 by andradela
Follow the ini and hal files.

File Attachment:

File Name: my_LinuxCN...hine.hal
File Size:9 KB


File Attachment:

File Name: my_LinuxCN...hine.ini
File Size:3 KB
Attachments:

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

More
08 Jan 2015 07:09 #54733 by andypugh

Follow the ini and hal files.

File Attachment:

File Name: my_LinuxCN...hine.hal
File Size:9 KB


File Attachment:

File Name: my_LinuxCN...hine.ini
File Size:3 KB


I will try to look at them tomorrow at lunchtime.

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

More
08 Jan 2015 20:36 #54762 by andypugh
I am a bit confused now.
Looking at the HAL file you don't seem to have any spindle control at all?
At the moment it looks like LinuxCNC can't even turn the spindle on, and there is no hint of a spindle encoder connection?

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

More
08 Jan 2015 21:05 #54767 by andradela
Yes i did not do yet, i dont know how to config it. I did not know that was possible control asyncronous motor with a vfd that way.

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

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