Spindle orientation, M19 questions.

More
05 Jan 2015 04:11 #54556 by andradela
Hello folks.
I use in my milling machine a asynchronous motor with a frequency inverter to drive a spindle, now i want to orient it to change tool through a automatic tool changer.
I will use classic ladder to control it. I would like to use a M19 with classic ladder to do that. I would like some samples how to link a M19 with classic ladder?


Thanks in advance.

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

More
05 Jan 2015 21:02 #54573 by BigJohnT
Does your inverter do spindle orientation?

JT

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

More
05 Jan 2015 22:25 - 05 Jan 2015 22:28 #54577 by andradela
Nope, is a siemens frequency inverter, w3.siemens.com/mcms/mc-drives/en/low-vol...s/sinamics-g110.aspx
I will try use the inverter CC brake, with a indutive sensor position.

I'm thinking do this way:
Start M19
Ladder set a multspeed in the inversor through digital output 5Hz.
When the sensor position go true set a ladder output to turn on the brake CC.
Then the motor stops.

I need connect the m19 to the classic ladder to start the process.
Do you believe is possible, it works?
Last edit: 05 Jan 2015 22:28 by andradela.

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

More
06 Jan 2015 07:40 #54623 by BigJohnT
The orient spindle has several pins that can be connected in your hal file. You will need an encoder on the spindle IIRC.

linuxcnc.org/docs/html/gcode/m-code.html#sec:M19

JT

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

More
06 Jan 2015 07:53 #54624 by andradela
Encoder?
But that inverter doesn't works in closed loop. It can't control position.
I just want a signal from m19 conected to classic ladder, the control i will be make by ladder logic.
Maybe motion.spindle-orient.
What you think?

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

More
06 Jan 2015 21:56 #54660 by BigJohnT
I guess you will have to give it a try and see what you get.

JT

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

More
06 Jan 2015 22:54 #54663 by andypugh

But that inverter doesn't works in closed loop. It can't control position.


It is probably possible to persuade it to. It is just that the loop will be closed in LinuxCNC not in the drive.

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

More
06 Jan 2015 23:24 #54667 by andradela
It is probably possible to persuade it to. It is just that the loop will be closed in LinuxCNC not in the drive.

You say control position throught emc, encoder and pwm output speed reference?
It works?

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

More
06 Jan 2015 23:46 #54669 by andypugh

You say control position throught emc, encoder and pwm output speed reference?
It works?


It will work, I have done it. How _well_ it works will depend on gear ratio and the nature of the inverter.
I have an example in Youtube, but that was geared 2:1 and with a very old-tech inverter that won't even try below 10Hz, so the results are not very impressive.

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

More
07 Jan 2015 00:00 #54670 by andradela
Nice hear it, send me the youtube link i want watch it.
The gear in my machine is practically 1x1. Did you use ladder logic to control it?

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

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