Mori MV 35/40 retrofit
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.
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.
www.linuxcnc.org/docview/html/hal_basic_hal.html
John
Please Log in or Create an account to join the conversation.
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.
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
Yes, and it seems like a good idea to do so.Can a spare encoder location on the 7i48 be used for the mpg?
Not really, with Mesa encoder counters. You should be able to see if index-enable is changing state on Halscope though.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?
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?
Please Log in or Create an account to join the conversation.