Mori MV 35/40 retrofit

More
19 Sep 2011 19:55 #13317 by andypugh
Replied by andypugh on topic Re:Mori MV 35/40 retrofit
clkeck1 wrote:

Is there a way inside or outside of emc to “manually” apply 10V out of the 7i48?


Look in Machine->Show Hal Config.

You probably see something like pid.0.out => hm2_5i23.0.pwmgen.0.value if you look around the pins.

So, you need to type setp hm2_5i23.0.pwmgen.0.value 1 in the box at the bottom (which you might have to expand the window to see)

However, you can't set the value while it is linked to the PID output, so you first need unlinkp hm2_5i23.0.pwmgen.0.value.

Note that all these names are off the top of my head, and might be only partly correct.

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

More
20 Sep 2011 15:34 #13331 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
I got 2 of the axis calibrated last night and ill finish the other one up tonight.

On to the next step.

I need to be able to lock out machine movements when the toolchanger is not in the home position. Home position is determined by 5 limit switches
I would assume I should do this in classic ladder as these switches will also be involved in the toolchanger routine.
What do I add to the hal and ini file so I can use the gpio pins in classic ladder?

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

More
20 Sep 2011 16:53 #13333 by BigJohnT
Replied by BigJohnT on topic Re:Mori MV 35/40 retrofit
You would have to link them up with a net command in a .hal file. Once classicladder is up and running open up Show Hal config and see the classicladder pin names and the gpio pin names.

www.linuxcnc.org/docview/html/hal_basic_hal.html

John

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

More
21 Sep 2011 22:13 #13344 by andypugh
Replied by andypugh on topic Re:Mori MV 35/40 retrofit
I made some significant changes to the 7i64 driver last night.
This is good news and bad news for you.

The good news is that card start-up should be a _lot_ more stable now.
The bad news is all the pin names changed. (to match the EMC2 canonical spec, which I hadn't seen before).

I suggest getting a fresh build of 2.5 and changing the pin names before you get too much further.

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

More
21 Sep 2011 23:05 #13345 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
Thanks Andy
Ill get a fresh copy tomorrow.

I finished Calibrating the servos last night and got the spindle running.
Going to start on the toolchanger in clasicc ladder tomorrow.

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

More
23 Sep 2011 18:13 #13402 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
I layed out the tool changer logic in ladder format. Does this look functional?

The carousel position is determined by a rotary transducer. The plan is to use a "mux32" comp to convert that into a position "%IW2"
Attachments:

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

More
23 Sep 2011 18:16 #13403 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
sht2
Attachments:

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

More
23 Sep 2011 18:18 #13405 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
sht3
Attachments:

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

More
23 Sep 2011 20:31 #13409 by clkeck1
Replied by clkeck1 on topic Re:Mori MV 35/40 retrofit
Can a spare encoder location on the 7i48 be used for the mpg?
It would be nice to use the inputs for other functions if possible

I'm having a slight issue with homing. Either the encoders aren't suplying a home index or EMC isnt picking it up. I rechecked my wiring last night and it all looks good. Is there a way to watch for the the index input in hal Scope?

The encoders are tfue-25zc7 see the last sheet of
www.yaskawa.com/site/dmservo.nsf/link2/T...file/TSE-C770-1K.pdf

Thanks
Cory

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

More
23 Sep 2011 20:39 - 23 Sep 2011 20:40 #13410 by andypugh
Replied by andypugh on topic Re:Mori MV 35/40 retrofit
clkeck1 wrote:

Can a spare encoder location on the 7i48 be used for the mpg?

Yes, and it seems like a good idea to do so.

I rechecked my wiring last night and it all looks good. Is there a way to watch for the the index input in hal Scope?

Not really, with Mesa encoder counters. You should be able to see if index-enable is changing state on Halscope though.
It should go high at some point in the homing cycle, and then low. It is actually that transition and the value read back that EMC2 uses for the homing index.

Perhaps the index polarity is wrong?
Last edit: 23 Sep 2011 20:40 by andypugh.

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

Moderators: cncbasher
Time to create page: 0.106 seconds
Powered by Kunena Forum