Page 2 of 2

Re: Lost connection again

Posted: Tue Jun 29, 2021 2:32 pm
by martyscncgarage
Yes as of 6/24, there are no more resends:
(1) 06-24-2021 15:04:59 199 CNC Started
(1) 06-24-2021 15:05:10 102 Error initializing CPU...cannot continue.
(1) 06-24-2021 15:05:12 201 Exiting CNC due to a known error (63)
(1) 06-24-2021 15:05:30 199 CNC Started
(1) 06-24-2021 15:05:36 CNC12 Acorn Router v4.64
(4) 06-24-2021 15:05:36 9033 Reset Initiated, Press Reset to Clear
(1) 06-24-2021 15:05:50 Created Weekly Report
(4) 06-24-2021 15:05:50 4032 Reset Cleared
(1) 06-24-2021 15:05:50 FAST_JOG_SELECTED
(1) 06-24-2021 15:06:38 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:38 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:39 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:40 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:45 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:45 407 X- limit (#50001) tripped
(1) 06-24-2021 15:06:59 407 X- limit (#50001) tripped
(1) 06-24-2021 15:07:04 407 Z+ limit (#50003) tripped
(1) 06-24-2021 15:07:26 407 Y- limit (#50002) tripped
(1) 06-24-2021 15:07:31 407 X- limit (#50001) tripped
(1) 06-24-2021 15:07:33 407 C+ limit (#50004) tripped
(1) 06-24-2021 20:15:23 204 Exiting CNC...Normal Exit (66)
(1) 06-28-2021 11:05:23 199 CNC Started
(1) 06-28-2021 11:13:29 199 CNC Started
(1) 06-28-2021 11:13:36 CNC12 Acorn Router v4.64
(4) 06-28-2021 11:13:36 9033 Reset Initiated, Press Reset to Clear
(1) 06-28-2021 11:13:36 406 Emergency stop detected
(1) 06-28-2021 11:15:21 204 Exiting CNC...Normal Exit (66)
(1) 06-28-2021 11:18:42 199 CNC Started
(1) 06-28-2021 11:18:48 CNC12 Acorn Router v4.64
(4) 06-28-2021 11:18:48 9033 Reset Initiated, Press Reset to Clear
(4) 06-28-2021 11:18:53 4032 Reset Cleared
(1) 06-28-2021 11:19:04 FAST_JOG_SELECTED
(1) 06-28-2021 11:19:19 204 Exiting CNC...Normal Exit (66)
(1) 06-28-2021 11:31:02 199 CNC Started
(1) 06-28-2021 11:31:09 CNC12 Acorn Router v4.64
(4) 06-28-2021 11:31:09 9033 Reset Initiated, Press Reset to Clear
(4) 06-28-2021 11:31:15 4032 Reset Cleared
(1) 06-28-2021 11:31:16 FAST_JOG_SELECTED
(1) 06-28-2021 11:31:48 407 Z+ limit (#50003) tripped
(1) 06-28-2021 11:32:10 407 Y- limit (#50002) tripped
(1) 06-28-2021 11:32:19 407 X- limit (#50001) tripped
(1) 06-28-2021 11:32:21 407 C+ limit (#50004) tripped
(1) 06-28-2021 12:55:10 407 Z+ limit (#50003) tripped
(1) 06-28-2021 12:56:13 407 Y- limit (#50002) tripped
(1) 06-28-2021 12:56:16 407 X- limit (#50001) tripped
(1) 06-28-2021 12:56:18 407 C+ limit (#50004) tripped
(1) 06-28-2021 12:56:28 Creating report...
(1) 06-28-2021 12:56:41 Saved report to D:\\report_E415F6F8DF80-0217212488_2021-06-28_12-56-28.zip
(4) 06-28-2021 12:57:43 907 Y axis travel exceeded
(1) 06-28-2021 12:58:44 Exiting CNC and shutting down machine (68)
(1) 06-29-2021 11:04:03 199 CNC Started
(1) 06-29-2021 11:04:09 CNC12 Acorn Router v4.64
(4) 06-29-2021 11:04:10 9033 Reset Initiated, Press Reset to Clear
(4) 06-29-2021 11:04:14 4032 Reset Cleared
(1) 06-29-2021 11:04:16 FAST_JOG_SELECTED
(1) 06-29-2021 11:06:09 407 Z+ limit (#50003) tripped
(1) 06-29-2021 11:06:24 407 Y- limit (#50002) tripped
(1) 06-29-2021 11:06:52 407 X- limit (#50001) tripped
(1) 06-29-2021 11:06:54 407 C+ limit (#50004) tripped
(1) 06-29-2021 12:28:14 407 Z+ limit (#50003) tripped
(1) 06-29-2021 12:29:58 407 Y- limit (#50002) tripped
(1) 06-29-2021 12:33:25 407 X- limit (#50001) tripped
(1) 06-29-2021 12:33:26 407 C+ limit (#50004) tripped
(1) 06-29-2021 12:33:57 Creating report...

Re: Lost connection again

Posted: Tue Jun 29, 2021 2:40 pm
by martyscncgarage
The analog spindle speed control wire from Acorn to the VFD (0-10VDC) should be shielded. The cable drain wire should only be grounded on one side or the other. Usually the Acorn side.

Also, your -Dir, -Step signals wires from each stepper drive should be landed on DB25 terminals 18-25. That's the way I would do it.
I would also use a shielded cable from the DB25 to each stepper drive, containing the signal wires and ground the drain wire at the Acorn side.

It is good practice to use a shielded cable from the VFD to the spindle motor. Using a good VFD cable. Automationdirect.com is one source:
https://www.automationdirect.com/adc/sh ... /vfd_cable

Whatever you did, cleared up the MPU/PC Resends and that is important to rule them causing you trouble.
Marty

Re: Lost connection again

Posted: Tue Jun 29, 2021 8:34 pm
by neowalla
Thanks, Marty. I always only had the drain grounded on one end of the wire. Otherwise you can create a ground loop. I just switched it from the Acorn side to the VFD side. I had it grounded to the back plate that all the electronics are mounted to, near the Acorn board. Now it is grounded on an actual ground terminal on the VFD itself.
I used the existing cables to wire the stepper drivers to the DB25. It appears to be shielded data cable according to the manufacturer's website.
http://www.szqgtcable.com/en/path011/pa ... e22162106/
If these connection problems return I will look into that VFD cable you linked to. The West Penn wire I used is designed for communications wiring (audio) and though not designed for this specific purpose it is high quality wire for what that's worth.

Re: Lost connection again

Posted: Tue Jun 29, 2021 8:42 pm
by martyscncgarage
Centroid uses the West Penn shielded 4 twisted pair cable for their encoder cable.

Continued luck!
Marty

Re: Lost connection again

Posted: Wed Jun 30, 2021 8:44 pm
by neowalla
Well it's still a problem. Turned it on today and same thing. First thing I do every time is PING 10.168.41.2. I usually get replies with no packets lost.. most of the time...
Today ping test good. Launched CNC12, no connection. Power-cycled everything. Ping good. Launched CNC12 connects but no axis will move. Power-cycled again. Everything connected and I managed to get my work done today but error log shows all kinds of re-sends again. Getting pretty tired of this.

Re: Lost connection again

Posted: Thu Jul 01, 2021 8:39 am
by eng199
Change the network connection to private. I don't know if it matters with defender off, but worth a try.
https://www.digitalcitizen.life/how-set ... indows-10/

The network cable has a somewhat sharp bend. Try running the cable outside the track with the most gradual curve possible. If the BeagleBone RJ45 connections are a little loose, the torque from the bend may be enough for intermittent connection.

Are the contacts in the BeagleBone RJ45 jack even? Do they spring all the way up until they stop against the plastic?

Re: Lost connection again

Posted: Thu Jul 01, 2021 8:57 am
by martyscncgarage
neowalla wrote: Wed Jun 30, 2021 8:44 pm Well it's still a problem. Turned it on today and same thing. First thing I do every time is PING 10.168.41.2. I usually get replies with no packets lost.. most of the time...
Today ping test good. Launched CNC12, no connection. Power-cycled everything. Ping good. Launched CNC12 connects but no axis will move. Power-cycled again. Everything connected and I managed to get my work done today but error log shows all kinds of re-sends again. Getting pretty tired of this.
Have you taken the time to drop back to a bench test as I previously suggested?
"I would disconnect everything from Acorn EXCEPT only it's original power supply as it was shipped and Ethernet cable, start CNC12 and let it run a G-code program. You will likely have to change some inputs to allow CNC12 to run. Monitor the error logs. Make sure everything else in the cabinet is powered down.

If you still get comm errors then you may be right about BBG. It still could be the PC. If you have another just to test with to eliminate the possibility, that would be good. If not continue to let it run for a few hours and give it more time. If no Comm errors, then likely a cabinet wiring issue.

Where are the -step and -dir wires? I don't see them on the negative terminals of the DB25. How did you wire
the Yakko drives?"


It's going to take some effort and time to try and track down the probable culprit. You'll have to try a few things and suggestions previously made.
I usually keep a spare PC or two around here to eliminate the PC. Just because you can PING the the ports does not mean there aren't intermittent communication issues.

I hope you can track down the issue!
Marty