Emco Toolchanger Wiring & 7i77

More
10 Aug 2014 16:09 #49640 by ArcEye

I've placed them here for you. ( was having issues attaching )


Now updated and uploaded thanks.

wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...oolchanger_component

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

More
10 Aug 2014 16:39 #49643 by cncbasher
ok i'll take a look thanks , iv'e lost touch with the thread and where you are with it , so let me know and i'll sort it
email me

Dave

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

More
10 Aug 2014 22:07 #49656 by Zahnrad Kopf
Thanks ArcEye. Appreciated.

While we're here, can someone explain to me what needs be done by a neophyte to use this? Not quite sure about the whole parallel port and voltage divider bit... sigh... one of these days I'll be up to speed...

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

More
10 Aug 2014 22:41 - 11 Aug 2014 13:33 #49657 by ArcEye
Hi

can someone explain to me what needs be done by a neophyte to use this? Not quite sure about the whole parallel port and voltage divider bit..


I assume you mean the component?

If you are using a Mesa daughter board and your outputs from the optos on the toolchanger are <=24v, you should be able to connect them direct to the 7i7x inputs
Just make sure that the signal is 8v+ and over 60% of the field voltage, which it should be even if you are powering from 34v

something like
net atc-opto1 hm2_5i25.0.7i7x.0.0.input-00 => emcochanger.opto1

Bad_German was connecting to a BOB onto the parport, so had to knock the voltage down to 5v, you should not need to.

The new configs have all the connections onto a 7i76
###############Toolchanger#########################

loadrt emcochanger
addf emcochanger servo-thread

loadrt timedelay count=2
addf timedelay.0 servo-thread
# will wait 2 secs approx and turn motor off after reversing against stop
setp timedelay.0.on-delay 0.8

#Toolchanger delay time before reverse lock
addf timedelay.1 servo-thread
setp timedelay.1.on-delay 0.2


net tool-change iocontrol.0.tool-change => emcochanger.toolchange
net tool-changed iocontrol.0.tool-changed <= emcochanger.toolchanged
net tool-number iocontrol.0.tool-prep-number => emcochanger.toolnumber
net tool-oldnumber iocontrol.0.tool-number => emcochanger.currenttoolnumber
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

net sig1 emcochanger.opto1 <= hm2_5i25.0.7i76.0.0.input-07
net sig2 emcochanger.opto2 <= hm2_5i25.0.7i76.0.0.input-08
net sig3 emcochanger.opto3 <= hm2_5i25.0.7i76.0.0.input-09
net sig4 emcochanger.opto4 <= hm2_5i25.0.7i76.0.0.input-10

#direction signal for toolchanger
net sig-forward emcochanger.forward => parport.0.pin-16-out

#run signal for toolchanger
net x-enable => pwmgen.0.enable
net pwmgen_value pwmgen.0.value <= emcochanger.setpwm
net pwmgen_out pwmgen.0.pwm => parport.0.pin-17-out

setp parport.0.pin-14-out-invert 1
setp parport.0.pin-16-out-invert 1


net xhomed axis.0.homed => emcochanger.ishomedX
net zhomed axis.2.homed => emcochanger.ishomedZ

net delaystart timedelay.0.in <= emcochanger.delaystart
net delaydone timedelay.0.out => emcochanger.delaydone

net delaystart1 timedelay.1.in <= emcochanger.delaystart1
net delaydone1 timedelay.1.out => emcochanger.delaydone1

# if the delay is too long in switching relays for forward and reverse
# setp emcochanger.times 300
# for instance will make it shorter, default is 500 - about 1-2 secs on my system

You just need to replace the couple of parport out pins that he still uses with 7i7x out pins and possibly replace the software pwm with a hardware one off the board.

I suspect the timing parameter emcochanger.times will need playing with to compensate for IO being so much faster
but once you get that far you have it running!

regards
Last edit: 11 Aug 2014 13:33 by ArcEye.

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

More
12 Aug 2014 08:24 #49726 by Zahnrad Kopf
Found another like it, and erred on the side of "bigger is better"...
H-Bridge purchased for tool changer

Moving along now... :) Thanks.

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

More
15 Sep 2014 02:12 #51165 by Zahnrad Kopf

Hi I assume you mean the component?


I mean the whole shebang, Mick. Suddenly, I'm lost. I'm going to officially blame it on the Flu, but the truth is so much more based in stupidity.... :)

I'm trying to button up the physical component placements in the cabinet, as well. So, I want to make sure I understand things, and that those components are where I want them to be if I were a smart man.

If you are using a Mesa daughter board and your outputs from the optos on the toolchanger are <=24v, you should be able to connect them direct to the 7i7x inputs Just make sure that the signal is 8v+ and over 60% of the field voltage, which it should be even if you are powering from 34v


Yes. I'm gathering that the optos from the Turret will go directly to the 7i77 inputs. Field Voltage is 24VDC.


All of the below is still Greek to me, but I'm trying to learn.
One of the questions I have right now is whether there needs to be a Relay between the H-Bridge and the 7i77.
Just wanna be careful and do this the right way.

something like
net atc-opto1 hm2_5i25.0.7i7x.0.0.input-00 => emcochanger.opto1

Bad_German was connecting to a BOB onto the parport, so had to knock the voltage down to 5v, you should not need to.

The new configs have all the connections onto a 7i76
###############Toolchanger#########################

loadrt emcochanger
addf emcochanger servo-thread

loadrt timedelay count=2
addf timedelay.0 servo-thread
# will wait 2 secs approx and turn motor off after reversing against stop
setp timedelay.0.on-delay 0.8

#Toolchanger delay time before reverse lock
addf timedelay.1 servo-thread
setp timedelay.1.on-delay 0.2


net tool-change iocontrol.0.tool-change => emcochanger.toolchange
net tool-changed iocontrol.0.tool-changed <= emcochanger.toolchanged
net tool-number iocontrol.0.tool-prep-number => emcochanger.toolnumber
net tool-oldnumber iocontrol.0.tool-number => emcochanger.currenttoolnumber
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

net sig1 emcochanger.opto1 <= hm2_5i25.0.7i76.0.0.input-07
net sig2 emcochanger.opto2 <= hm2_5i25.0.7i76.0.0.input-08
net sig3 emcochanger.opto3 <= hm2_5i25.0.7i76.0.0.input-09
net sig4 emcochanger.opto4 <= hm2_5i25.0.7i76.0.0.input-10

#direction signal for toolchanger
net sig-forward emcochanger.forward => parport.0.pin-16-out

#run signal for toolchanger
net x-enable => pwmgen.0.enable
net pwmgen_value pwmgen.0.value <= emcochanger.setpwm
net pwmgen_out pwmgen.0.pwm => parport.0.pin-17-out

setp parport.0.pin-14-out-invert 1
setp parport.0.pin-16-out-invert 1


net xhomed axis.0.homed => emcochanger.ishomedX
net zhomed axis.2.homed => emcochanger.ishomedZ

net delaystart timedelay.0.in <= emcochanger.delaystart
net delaydone timedelay.0.out => emcochanger.delaydone

net delaystart1 timedelay.1.in <= emcochanger.delaystart1
net delaydone1 timedelay.1.out => emcochanger.delaydone1

# if the delay is too long in switching relays for forward and reverse
# setp emcochanger.times 300
# for instance will make it shorter, default is 500 - about 1-2 secs on my system

You just need to replace the couple of parport out pins that he still uses with 7i7x out pins and possibly replace the software pwm with a hardware one off the board.

I suspect the timing parameter emcochanger.times will need playing with to compensate for IO being so much faster
but once you get that far you have it running!

regards

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

More
15 Sep 2014 06:26 - 15 Sep 2014 07:50 #51171 by Zahnrad Kopf

Hi I assume you mean the component?


I mean the whole shebang, Mick. Suddenly, I'm lost. I'm going to officially blame it on the Flu, but the truth is so much more based in stupidity.... :)

I'm trying to button up the physical component placements in the cabinet, as well. So, I want to make sure I understand things, and that those components are where I want them to be if I were a smart man.


You just need to replace the couple of parport out pins that he still uses with 7i7x out pins and possibly replace the software pwm with a hardware one off the board.


This is another place where I'm lost... I _thought_ that this was the purpose of the H-Bridge. I wholeheartedly admit to not understanding its operation or usage, but my miniscule understanding is that he was using one side to use the full 24VDC to drive the turret in rotation and then the "other side" (?) 12VDC to keep it reversed against the locking pawl.

EDIT - This is for myself and anyone else that comes up against this later -

I think I am only now beginning to understand a little more about what Bad German was speaking of... The "Voltage Divider"... Okay, so according to my reading, an H-Bridge is a way to control a motor's direction. Either clockwise, or anti-clockwise. So he's turning the motor one way to index tools, and then turning the motor the other way to lock it against the pawl, and in place. The Voltage Divider ( which I am reading is two properly selected resistors ) is placed on the reversing side of the circuit so that the motor is not always sucking in the full 24VDC, and thus - doesn't burn itself up over time. The assumption being that that 12VDC is enough to keep it in place but little enough to avoid burning it up. Supposedly it is also how Emco did it from the factory... I hope I got this right.

I'm still not sure whether I need to have a relay between the 7i77 and the H-Bridge or 24VDC for the turret, though... < sigh > Getting better though.
Last edit: 15 Sep 2014 07:50 by Zahnrad Kopf.

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

More
15 Sep 2014 14:54 #51183 by cncbasher
give me a shout and i'll walk you through it
you will over complicate things

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

More
15 Sep 2014 15:03 #51184 by ArcEye

I think I am only now beginning to understand a little more about what Bad German was speaking of... The "Voltage Divider"... Okay, so according to my reading, an H-Bridge is a way to control a motor's direction. Either clockwise, or anti-clockwise. So he's turning the motor one way to index tools, and then turning the motor the other way to lock it against the pawl, and in place. The Voltage Divider ( which I am reading is two properly selected resistors ) is placed on the reversing side of the circuit so that the motor is not always sucking in the full 24VDC, and thus - doesn't burn itself up over time. The assumption being that that 12VDC is enough to keep it in place but little enough to avoid burning it up. Supposedly it is also how Emco did it from the factory... I hope I got this right.


That is about right.

Speak to cncbasher. His Orac was essentially the same, except I think he had a lower voltage winding especially for the reversing and locking move.

regards

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

Moderators: PCWjmelson
Time to create page: 0.344 seconds
Powered by Kunena Forum