Encoders not connected - Critical Error

Ran into a new error that has once again stopped me in my tracks. Had several successful cuts today. Took a break and came back to see up my next piece. I was just homing/zeroing my yxz axis so was jogging the machine around when all of a sudden I started getting continuous critical alarms come in. Unfortunately I forgot to save the serial log at this point before restarting the machine.

Power cycled the machine and now the Red light comes on instantly. I am getting various warnings as part of the start up serial logs and when I run the “Test” button the it shows that all encoders are not connected. I can’t retract my belts or even jog the z-axis at this point.

I even tried reloading my files and firmware to see if that would fix it. No luck.

Firmware 082.2 so I can bypass the high current alarms I have been struggling with.

Maslow-serial copy 19.log (3.7 KB)

nicholas.dumoulin2 wrote:

Power cycled the machine and now the Red light comes on instantly. I am
getting various warnings as part of the start up serial logs and when I run
the “Test” button the it shows that all encoders are not connected. I can’t
retract my belts or even jog the z-axis at this point.

If it’s telling you that encoders can’t be reached, it’s one of three possible
problems

  1. the maslow.yaml file got corrupted/overwritten and it no longer know how to
    talk to the encoders

  2. the wires to the encoders (the ethernet cables) aren’t making contact
    correctly.

  3. (unlikly), you fried your main controller board

without being able to talk to the encoders and motors, nothing else will work.

David Lang

1 Like

Thanks David for some possible options.

I don’t think it’s the yaml file as I did upload a backup of the file and no improvement.

I doubt it’s the cables as well. Losing connection to all 4 all of a sudden doesn’t support this option. Plus I can see the Ethernet port lights are on. I even used some compressed air on the ports after this happened and no luck.

Maybe it is a controller issue here considering it all crashed at once. I also have been experiencing some other non critical issues that maybe could be caused by the controller.

1 Like

I’m assuming that powering it off and back on doesn’t fix it?

If only. Tried several times. Red time comes on immediately. Aerial log shows the initial warnings and what I see when I click the Test Button.

1 Like

[MSG:INFO: Firmware Version: 0.81]
[MSG:INFO: Motor detected on Top Left]
[MSG:INFO: Encoder connected on Top Left]
[MSG:INFO: Magnet detected on Top Left]
[MSG:INFO: Motor detected on Top Right]
[MSG:INFO: Encoder connected on Top Right]
[MSG:INFO: Magnet detected on Top Right]
[MSG:INFO: Motor detected on Bottom Left]
[MSG:WARN: Encoder read failure on Bottom Left]
[MSG:WARN: Encoder not found on Bottom Left]
[MSG:INFO: Magnet detected on Bottom Left]
[MSG:INFO: Motor detected on Bottom Right]
[MSG:INFO: Encoder connected on Bottom Right]
[MSG:INFO: Magnet detected on Bottom Right]
[MSG:ERR: Encoder not found on Bottom Left]

It looks like the issue is just with the bottom left one to me. Can you try unplugging the cable to that one and plugging it back in?

I didn’t save a very good serial log but it kept changing to different encoders or show all of them every time I retried.

I will try to get back to the machine for more testing on Wednesday to see how consistent this is. Try replacing the yaml file again too.

If there is any other items you want me to try let me know.

1 Like

Alright did some more testing tonight and not looking good.

Switched ethernet cables between arms and that resolved the encoder connection issue when I would run a test. M4 still immediately goes into Critical error mode as soon as I power it on with red light. Won’t let me do anything.

Replaced yaml file again and did a power reset and still no change in behaviour.

Maslow-serial (4).log (2.2 KB)
Maslow-serial (3).log (2.2 KB)
Maslow-serial (2).log (3.3 KB)
Maslow-serial.log (5.9 KB)

@bar could this be my control board at this point?

1 Like

the first two logs show connectivity problems to the encoders (the ethernet cables), try adding hot glue to the connectors

the last two are reporting configuration errors, this would be a problem with the yaml file.

1 Like

I’m happy to send you a new controller board to try, but this really looks like a connection issue to me.

I noticed that you are running firmware version 0.81 and we made some connection improvements since then so it could be worth updating, although I don’t think that will help that much.

Can you try to unplug the encoder wires on both sides and dust them off with computer duster or compressed air?

@bar happy to update to newer version except I would like the current threshold alarm to not stop the cut. Could you push a version that addresses this?

I will redo the connections again today and clear them with compressed air but I already did that and the logs showed they were connected when I ran the test button.

1 Like

Absolutely, let me make that right now.

Edit: It is here:

1 Like

Thanks bar for the quick turn around on this! I brought the sled home yesterday so I could continue troubleshooting today. Updated Firmware and the used s fresh yaml file just in case and it is working again. Was able to retract and extend! Tomorrow I will be back to cutting so hopefully that goes well.

One item to note is that today when I powered the M4 up there was no immediate red light which was happening before. This was before even being able to connect to the M4 with laptop and updating firmware. Just wanted to note in case this comes up again in future.

1 Like

Just reporting back that after a weekend of cutting this seems to be resolved moving to 0.83.1.

2 Likes

Excellent! I am very glad to hear that :grinning: Thanks for the feedback!