Hello Guest it is October 21, 2020, 03:15:48 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 - electrotwelve

Pages: 1 2 »
1
I don't really want to keep spending more money on this considering that it works perfectly fine with grbl-based hardware and software. The only problem with those is the inability to handle really large files. Anything program with more than 100K lines and grbl starts to get bogged down.

2
So I've been doing testing on this further and I'm ready to give up. I switched off the limit sensing that seemed to be triggering the stops. I replaced all the cables on the machine to shielded ones and grounded the cable shields. I still get random stops in the middle of a job. Its not an estop because the spindle is still spinning. Not sure what is happening.

3
Connecting the ground of the computer to the ground of the machinery can provide a path for noise to enter and affect the computer, regardless of the limit switch filtering. If none of the previous suggestions solve the problem an opto-isolator type BOB may be needed.
This was going to be my next port of call. I'm curious as to how opto-isolation would be able to isolate noise...

4
Hi,
there are two ways to approach EMI (electromagnetic interference).

Things like shielding cables, RC filters  on signal lines are all variations on the theme of 'decreasing the sensitivity
of signal circuits to EMI'. This is not the best, or perhaps the first approach.

The other way is to apply line reactors and/or filters to the VFD/spindle so that no EMI is generated. Then all signal
circuits operate is a low noise environment.

What sort of spindle are you using?

Craig

This is a Chinese 300W DC spindle. I'm curious about the filters for the spindle that you are referring to.

5
Hi, I'm an electronic engineer by education and a marketer by profession. However, I have been tinkering since I was 10. Very recently, I decided to take my hobby to the next level and make CNC-related electronic products. I'm still a noob but the last 2 years have been immensely educational for me. I'm excited to be here and hopefully I can pass on my learnings here in the forum too.

6
So I ran the job without the spindle powered up and it ran smoothly without any issues. I guess that confirms that the spindle is the source of the trip, even though the limit switches have RC noise filters. Thank you all for your actionable suggestions! They really helped.

some comments:
1. YOU need to use a (high current) "SOLID STATE RELAY" - not an electromagnetic type relay.
2. (std) Ethernet cable is UTP "(unshieded) twisted-pair" and cannot be used for this application. Proper cable with grounded coaxial shielding must be used for limit switches.
3. You limit switches are better to be made normally closed (with preferable higher voltage and always on) rather than normally open.
4. A 0.1uf capacitor should be parallel to the each terminals of the limit switch input and ground at the BOB (break out board) of each axis.

I did think about using a solid state relay, however, my spindle is weird in a way that it has two terminals that act as a switch. When shorted, the spindle turns ON. I could however, short those terminals and use the SSR to switch the main power to the spindle. The ethernet cable I have is S/FTP. Each pair has a foil shield and then there is shielding foil over all of them together. Yes my limit switches are configured to be NC and they have an RC filter between them and the board.

7
You should try to indentify the source of the interference and eliminate it if you can.

Hi, Thank you. I will try running a job without the spindle turned on. This should tell me if that is the source of EMI.

8
Is it okay to use Ethernet cables for the limit and estop switches? They are twisted pair and shielded(?).

9
Thank you all.

Sounds very much like electrical 'noise'.

Try increasing the Debounce Interval (Config. / General Config.) to around 1000 and see if that makes any difference.

I put in a value of 1000 and with that the relay would trigger properly and the job would start as well. However, I have started getting random failures with a 'Limit switch triggered' message. I then increased it to a value of 6250 (the equivalent of 250ms). With this, it still randomly stops but there is a significant delay now before the job fails - still randomly. The stepper wires are shielded but not the limit switches and the estop.

Before Mach3, I was using Grbl with the same wiring and it never failed randomly like this. Which is why I'm stumped here.

10
So I have a 12V relay board that I used to use with my Arduino. It actually has two relays on it and I'm using only one channel. The board schematic is like the one shown in the image:



Since I wanted the relay to operate on an active high input, I tied IN1 and GND together. The GND here is also the LPTs GND. On the Vcc terminal where it says Arduino's 5V, I have pin 14 of the LPT connected. Across JDVcc and GND is an independent 12V supply.

Now every time I try to switch on the spindle, the relay clicks ON for a fraction of a second and then turns OFF and I see a 'Limit switch triggered' on the screen. Can anyone help me understand what is happening here?

Pages: 1 2 »