Hello Guest it is April 19, 2024, 09:21:01 PM

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 - Moonclaw

Pages: 1 2 »
1
Yes I did notice, Some small errors and my router got a mind of it's own. Did manage to behave as planned eventually though.
Thanks for the help!

2
Will this method work for all M-codes?
I need to run a script after the G-code is done, i.e. M30.

I've been looking for some method like IsMoving to be able to tell if the file execution is still under way, like IsFileRunning(), but haven't been able to find any. If there where I could do run my scrip in the macropump. IsMoving seems dangerous to use since there could be situation where the axis doesn't move but the g-code file isn't finished yet.

Basically i need to make sure that the work piece doesn't get released while the CNC is still working on it, even if the operator flips the hardware switch that does exactly that.

3
I'm trying to use one of the analog 0-10V outputs to control the VFD that powers the spindle. I'm measuring at the J2 breakout board over pin 19 and ground.

4
And thanks for the quick reply yesterday :)

//Jonas

5
Well, I've figured out one thing. The Italians didn't really care much about electrical noise back in the 90's.
The high power lines to all spindles and motors are bundled together with the signal cables and no one of them are shielded!

Anyway, connecting ground to the J2 breakout board and that did solve the issue with the dspMC quitting on me. I've already made care so that all other signals are optically separated except the analog output controlling the RPM of the spindle.

But now I've encountered another problem (this CNC just don't want to cooperate!). The output voltage can only be set to about a third (~3V), if it's raised any higher the voltage drops under 1V and stays there until the output is lowered. Then it can be raised it again to 3V and it seems stable at 3V.

My guess would be that there is to much amperage flowing but how do I confirm this? And more importantly, how do I prevent it? Or am I wrong?

//Jonas

6
dspMC/IP Motion Controller / dspMC Device disarmed PID loops unexpectedly
« on: November 13, 2014, 02:01:09 PM »
Hi

I have run into a problem with my CNC upgrade project.

Everything seems to work fine, I can move the axes around, activate outputs, select tools and so forth but when I try to activate the spindle things go south.

When the spindle starts it doesn't take long before the dspMC stops and returns the following error; "dspMC Device disarmed PID loops unexpectedly"

I've struggled with the spindle quite a bit now. It's controlled by a Frenic 500G9S inverter. At first I tried to use the 0-10V analog signal to controll the RPM but then the dspMC stoped within seconds, with the same error. The faster I set the spindle RPM the faster the dspMC stopped. After a while I gave up and connected a potentiometer to the VFD instead to control the RPM. Now everything runs for a minute or so before the dspMC stops.

If i leave the spinlde off it seems to keep running without stopping.

Anyone got any idea on what could be going on?

7
dspMC/IP Motion Controller / Re: Strange problem with Z-axis and spindle
« on: August 27, 2014, 06:46:18 PM »
Hi Marc

Just wanted to update you on my project. It did turn out to be an disturbance introduced from the spindle generating extra pulses.

Well, that got me to take another look at the whole encoder setup and I ended up in another set of mysterious phenomenons. To make a long frustrating story short, I've got new TTL encoders in the mail 8)

Many thanks for the help!

8
dspMC/IP Motion Controller / Re: Strange problem with Z-axis and spindle
« on: August 19, 2014, 07:30:11 PM »
Hi,

No, I'm just moving the z.

Well I've been checking the voltage with a multimeter but I was wondering if it was "ordered" from within the dspMC or originating from somewhere else (by a short or something).

It did occur to me earlier tonight that it might actually be an issue with the pulse feedback. If the spindle somehow introduces pulses in the z feedback the PID would think the z was moving and would try to correct that by applying a corresponding voltage. if the z wasn't moving this would cause it to move, right?

Thanks for your help!

9
dspMC/IP Motion Controller / Re: Strange problem with Z-axis and spindle
« on: August 18, 2014, 07:34:12 PM »
Is there any way to view the voltage on the analogue outputs on the dspMC?

10
dspMC/IP Motion Controller / Re: Strange problem with Z-axis and spindle
« on: August 18, 2014, 07:05:31 PM »
No, I played around with it a bit more today, turns out that I can trigger it by manually activate the output for the spindle and it z would start to move. The movement stops if the output deactivates so when running G-code I can just stop the programme and prevent it from hitting the limit switch. If I do that then occasionally the phenomenon goes away,  I. E.  I can start the spindle and move both up and down. A restart of mach3 or activating the estop brings it back though.

The dspMC is fairly new so I haven't thought about upgrading it but I'll try that tomorrow.

Pages: 1 2 »