Hello Guest it is March 29, 2024, 04:50:51 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mishko

Pages: 1 2 3 4 »
1
General Mach Discussion / Re: Condition testing in Gcode
« on: April 14, 2016, 06:13:26 PM »
Works perfectly, took only a couple of minutes, Hood thanks a ton;)

Also thanks for other suggestions, but I'm quite happy with this one, so will probably stick to it...

Miso

2
General Mach Discussion / Re: Condition testing in Gcode
« on: April 12, 2016, 09:55:16 AM »
Thanks Hood,

I'll try to do that, much appreciated.

Miso

3
General Mach Discussion / Condition testing in Gcode
« on: April 12, 2016, 03:32:15 AM »
Hi Guys,

I need your help again. I'm really not all that good with gcode, nor with Mach3 beyond the basic stuff, so I hope somebody has an easy solution to the problem I have.

I have made the coordinate table for the battery spot welding machine. Basically you put a bunch of the batteries on the table and fasten them, and run the gcode, most often the simple X-Y array, so the batteries are welded into a pack. No problems there, quite a simple task even for me. The welder's head has two electrodes and is driven down and up again by the pneumatic cylinder. I've hooked the switch to the relays on the BOB and use the coolant command to start the cycle, and a dwell command to give it time to do it's thing. Most of the time, everything work flawlessly, but sometimes the electrodes stick to the battery contacts, and the problem has to be resolved before the next move, if not, the electrodes will bend rather than unstick, the position is lost etc...

So I have added the switch at the head top position and need to test if it's on before the next move is made. Simple enough, except I don't know how to do it;)

I hope the above is clear enough, and that somebody can help me with this. Is there any command in Gcode I can use for this, or any setting in MACH3 which wouold do this?

Thanks in advance

Miso

4
General Mach Discussion / Re: MPG
« on: February 04, 2016, 01:40:55 PM »
You're right, I forgot about that one  Well you obviously can't have it both ways. In case you need 0-10V to control the freq. converter, then better solution than this one (regarding the wheel specifically) would probably be putting the transistors on the inputs, triggering them with an encoder. That's if you want to keep it kosher, not connecting directly to the LPT...
I only have the small 400W motor on this router, and I plan to use PWM for this, something like this, same motor: https://www.youtube.com/watch?v=i0wqWP1FzwI

But for 0-10V, it is a problem of course...

5
General Mach Discussion / Re: MPG
« on: February 04, 2016, 12:05:42 PM »
I did not see your image before, but it's correct, I used .47K instead of 1K and everything works fine. Thanks.

6
General Mach Discussion / Re: MPG
« on: February 03, 2016, 06:52:45 PM »
Overoladed, I tried this first thing and it did not work, but I will try again tomorrow, as I think I did not plug the USB then, but +5V from the PC...
I agree, Hood. This is normal photo transistor optocoupler, shouldn't be  aproblem to tweak the resistors, but I can't do it at home, I can barely see the components, let alone soldering;) I'll take it tomorrow under the microscope, or better yet, bribe my friends to do it. I will post the result.
I'm attaching the datasheet, if anyone is interested.

Thanks,

Miso

7
General Mach Discussion / Re: MPG
« on: February 03, 2016, 02:31:12 PM »
Hi, I'm back and I've tried a couple of things as we discussed above:

1. Connected 12VDC to the external power supply terminals. This works. When I short GND and one of the switch terminals, the LEDs on the diagnostic tab react accordingly, But I'm afraid this is the only option that works, and it's not usable as is for what I wanted to do. Next thing is to try to trick the BOB, so it would work with 5VDC instead of 12VDC. The switch pins are connected to the opto couplers via the 1K resistors. I don't know if tweaking their values would help or not, maybe I'll try tomorrow, as I can't do it at home, too tiny for me;)

2. Next I connected USB cable, but this does't affect the outputs as 12V does. It seems to me it works exactly as when connected to the PC power supply. No changes on te diagnostic tab...

3, And now something I don't understand at all - if no power is connected (not 12VDC, nor USB or 5VDC from PC), I can still jog via keyboard and run the code...

This is a great BOB. Not only can it use wide range of voltages from peripheral and local sources, it even runs without an... Now that's what I call engineering;)

I have measured voltage on the driver terminals, and it is 1.9V. My guess (not that it's worth much) is that BOB gets it from the LPT port and that this is somehow enough, as when I unplyg teh LPT cable, there's no voltage on outputs.

Now my question is, even if I could use that ext. power connection, either tweak it to work with 5V or, theoretically, if I had 12V encoder instead of 5V one, how exactly would I connect the wheel to the BOB input terminals? I guess I can't just connect it like the switch, I would probably have to put some transistors on the switch inputs?

It seems to me it gets more and more complicated, given it already works connected directly to the LPT... But maybe it won't hurt to finish what I started anyway

Thanks,

Miso

8
General Mach Discussion / Re: MPG
« on: February 02, 2016, 04:49:01 PM »
I will try to connect a power supply first, and if that works, I'll try to trick to work with 5V one way or another. As it works for me  connected directly to the LPT, it's now more a principle that a need, I just want to get to the bottom of it...

Thanks for the info.

Miso

9
General Mach Discussion / Re: MPG
« on: February 02, 2016, 09:46:35 AM »
Thanks Overloaded, I will try it when I get back home and post the result.

Miso

10
General Mach Discussion / Re: MPG
« on: January 29, 2016, 04:24:00 PM »
I think the reason for needing the extra power supply is to keep the isolation. If you can change things to make it suitable for 5v Inputs you will still need the power input there I think.

Hood

You're probably right. I'll take the BOB to my friend's company (initra.com), they produce all sorts of electronics, optical network switches, stuff like that... They also assemble the electronics for my products, do the programming etc. So, even if I think I can do something myself, I usually outsource everything electronic to him;) I don't think BOB will be a problem for him to grasp...

Thanks,

Miso

Pages: 1 2 3 4 »