shut down due to euclid state

i get an error message when trying to home the printer caused by the euclid: the same as @nanserbe on is post from 06/03/2023: "Shutdown due to expected probe state to be deployed but is stowed (1) Once the underlying issue is corrected, use the "FIRMWARE_RESTART" command to reset the firmware, reload the config, and restart the host software. Printer is shutdown" i tried his solution: modifying the pin to correspond to my wirring (5v probe type) but i still get the error. on the mecanical aspect of things the printer move flawlessly no skipping step or anything. if someone know the fix id be happy to know too
81 Replies
elliott
elliottβ€’12mo ago
If it successfully picks up the probe and you still get that error it is either the wrong pin still or a bad wire. Is the light on the probe on once it picks it up?
maraissalant
maraissalantβ€’12mo ago
yes the light turn on when it get picked up the wiring got checked and it seems fine it as continuity i checked my printer.cfg and i removed the " ^ " on the pin and got it to pick up the probe move to the center and the bed went up a bit and then stopped with in the wrong order : "19:15 Endstop z still triggered after retract 19:15 Endstop z still triggered after retract 19:14 probe: open 19:14 probe: TRIGGERED 19:14 Deploying probe 19:14 echo: Homing Z 19:14 G28"
miklschmidt
miklschmidtβ€’12mo ago
the ^ is important If it doesn't work with that, you need to check your wiring. use QUERY_PROBE to check the different states. It should be TRIGGERED when not attached. "open" when attached and "TRIGGERED" when attached and the switch is pressed.
maraissalant
maraissalantβ€’12mo ago
i checked for the 5 time the wiring... still look good to me. i deed this status check on detached attached and triggered with the "pin: ^probe_pin" i got the expected result but still got the same error as mentioned at the top, for me it show to that the wiring is good but i dont know where this can come from now working on it : to my understanding the macro use a query probe command to assess the probe state before pick up, between the pickup and the probe to check if he had attached it ? as the state is right : when attached it is open as the other endstop may it be that there is an state error and the macro is looking for a triggered state ?
miklschmidt
miklschmidtβ€’12mo ago
If you got the results i wrote, then it's probably a config thing, upload your printer.cfg No, i've been running euclid myself for close to a year The implementation is 100% stable and working
maraissalant
maraissalantβ€’12mo ago
here is the printer.cfg i am runing
miklschmidt
miklschmidtβ€’12mo ago
Config is correct, my analysis still point towards wiring issues I do use mine with this uncommented: pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes. but it shouldn't make a difference.
maraissalant
maraissalantβ€’12mo ago
i got signal port to pb7 gnd to gnd and vcc to 5v on the "5v probe port" yeah i tried wih this line it change nothing at it is writed exactly the same in the included macro
miklschmidt
miklschmidtβ€’12mo ago
Did you wire it like an inductive probe in the wiring diagram?
maraissalant
maraissalantβ€’12mo ago
yeah
miklschmidt
miklschmidtβ€’12mo ago
PB7 is on 2 different ports
maraissalant
maraissalantβ€’12mo ago
on the bl touch port
miklschmidt
miklschmidtβ€’12mo ago
OK hmm
maraissalant
maraissalantβ€’12mo ago
the j43 to be exact maybe a solder as gone bad but i think not they are in-cased in hot glue to prevent short and the state check should not work if it was the case
miklschmidt
miklschmidtβ€’12mo ago
It would if it's a loose connection depending on carriage position Solder is always a bad idea on moving wires
maraissalant
maraissalantβ€’12mo ago
i mean on the euclid probe itself
miklschmidt
miklschmidtβ€’12mo ago
what have you soldered on the euclid itself?
maraissalant
maraissalantβ€’12mo ago
the jst connector and the endstop itself
miklschmidt
miklschmidtβ€’12mo ago
Pretty sure mine came preassembled.
maraissalant
maraissalantβ€’12mo ago
yeah you can have it both way
miklschmidt
miklschmidtβ€’12mo ago
In that case, have you done it right? Its important the switch is soldered as NC
maraissalant
maraissalantβ€’12mo ago
i learned that later but where i get it from it was the kit only and it is like 5 solder point so it did not frighten me
miklschmidt
miklschmidtβ€’12mo ago
Right. It's all the feedback i can give you though. The code is fully working and extensively tested.
maraissalant
maraissalantβ€’12mo ago
yeah did it following the euclid online instruction and as said i even glued over the solder to prevent short and absord vibration
miklschmidt
miklschmidtβ€’12mo ago
This could be the issue actually There's nothing that should be able to short on the solder points if you did it right And the glue might cause it to not be able to connect right If you could show me some pics i can check if everything looks okay
maraissalant
maraissalantβ€’12mo ago
i quote euclid instruction :"It is suggested to insulate the exposed terminals of the top PCB by: painting clear nail polish or model builder’s enamel placing a piece of Kapton tape (not included) over the exposed pin"
maraissalant
maraissalantβ€’12mo ago
No description
miklschmidt
miklschmidtβ€’12mo ago
Fair. That's not a blob of hot glue though This looks okay, plenty of space there
maraissalant
maraissalantβ€’12mo ago
No description
maraissalant
maraissalantβ€’12mo ago
Yeah ....
miklschmidt
miklschmidtβ€’12mo ago
Wiring colors are weird here. White would be +5v. Doesn't mean it's wrong, just worth noting.
maraissalant
maraissalantβ€’12mo ago
ho yeah don't look at that i have respected no sort of logic at all just picked a combination of colored wires different from the rest
miklschmidt
miklschmidtβ€’12mo ago
πŸ‘
maraissalant
maraissalantβ€’12mo ago
+5 is yellow and green gnd
miklschmidt
miklschmidtβ€’12mo ago
No The white wire is +5v in your screenshot
maraissalant
maraissalantβ€’12mo ago
No description
miklschmidt
miklschmidtβ€’12mo ago
yep, white is 5v, green is signal, yellow is gnd Although you PCB seems to indicate otherwise This is odd.
maraissalant
maraissalantβ€’12mo ago
No description
maraissalant
maraissalantβ€’12mo ago
this is the one i got this pictured is a screen cap from euclid web site
miklschmidt
miklschmidtβ€’12mo ago
No description
miklschmidt
miklschmidtβ€’12mo ago
This is what mine looks like, print is on the other side compared to yours Can't see the top of course because of the mount Might be on both sides for all i know
maraissalant
maraissalantβ€’12mo ago
yeah it as also less composants
miklschmidt
miklschmidtβ€’12mo ago
Wait.. Is yours 24V?
maraissalant
maraissalantβ€’12mo ago
No description
miklschmidt
miklschmidtβ€’12mo ago
Yeah there's your problem Wiring diagram is for the 5V version I don't know why they have a 24V version in the first place, it makes everything significantly more complicated You can't use this with 5V wiring
maraissalant
maraissalantβ€’12mo ago
they are sold as being able to be plugged as both
miklschmidt
miklschmidtβ€’12mo ago
Hmm..
maraissalant
maraissalantβ€’12mo ago
yeah in the first place on an old post i had it wired as they said on the pb7 on the 24v side like a regular endstop
miklschmidt
miklschmidtβ€’12mo ago
Regular endstops aren't 24V You would need to use the probe port The optocoupled probe port.. Which means you'd need a ~ modifier
maraissalant
maraissalantβ€’12mo ago
it is written in fix _my_printer : end stop and probe shenanigans it was on the j40 plug
miklschmidt
miklschmidtβ€’12mo ago
We might be getting side tracked anyway, if you say the tree states i described are reporting correctly πŸ€”
maraissalant
maraissalantβ€’12mo ago
yeah
miklschmidt
miklschmidtβ€’12mo ago
1) It should be TRIGGERED when not attached. 2) "open" when attached 3) "TRIGGERED" when attached and the switch is pressed.
maraissalant
maraissalantβ€’12mo ago
yeah just checked again it work fine
miklschmidt
miklschmidtβ€’12mo ago
I honestly don't know, unless there's significant latency on it when run in 5V mode
maraissalant
maraissalantβ€’12mo ago
... that may be it i could use a comand to slow down the macro?
miklschmidt
miklschmidtβ€’12mo ago
Depends on when the error is thrown, does it touch the bed, retract and then throw the error?
maraissalant
maraissalantβ€’12mo ago
no it pick the probe from the rack go back then to the side an then trigger the error
miklschmidt
miklschmidtβ€’12mo ago
Oh thats quite bad. Can you film it?
maraissalant
maraissalantβ€’12mo ago
yeah 1 sec
miklschmidt
miklschmidtβ€’12mo ago
There's no way the latency could be that high You can slow it down with
variable_macro_travel_speed: 20
variable_macro_travel_speed: 20
afterwards It might not be picked up correctly on thus throw the error
maraissalant
maraissalantβ€’12mo ago
wow this time it tried to probe the bed directly without picking the probe .... may it come that i throw a "SET_CENTER_KINEMATIC_POSITION" before to get the bed down (after trying it multiple time it was quite close from bottoming out
miklschmidt
miklschmidtβ€’12mo ago
wow this time it tried to probe the bed directly without picking the probe
This is impossible if the state checks we just talked about were reporting correctly
may it come that i throw a "SET_CENTER_KINEMATIC_POSITION" before to get the bed down (after trying it multiple time it was quite close from bottoming out
Yes, thats why there's a HUGE warning in the console
maraissalant
maraissalantβ€’12mo ago
this time he picked it and go in the middle and :" Endstop z still triggered after retract"
miklschmidt
miklschmidtβ€’12mo ago
Video? That error means it's triggered as soon as it starts to dive Ie, the state isn't reporting correctly You should try QUERY_ENDSTOP right after the error
maraissalant
maraissalantβ€’12mo ago
miklschmidt
miklschmidtβ€’12mo ago
Okay THAT is really concerning It triggers in mid air The bed is going upwards, probe randomly triggers before it touches the switch Something about the movement on your bed is causing the switch to report as triggered (this would be an electronic problem) Or you just have a super loose connection that is completely unreliable
maraissalant
maraissalantβ€’12mo ago
miklschmidt
miklschmidtβ€’12mo ago
I would bust out the multimeter and look if there's continuity between gnd and signal, when there's continuity it would report as "open", no continuity would report as "triggered". If the multimeter is intermittently beeping (ie, no consistently off or on), that's a loose connection.
maraissalant
maraissalantβ€’12mo ago
the more we test the more i think so but the plugs dont move on ether side i will try de pin them and do them again maybe ok will try it is already on the desk gnd to signal?
miklschmidt
miklschmidtβ€’12mo ago
Yes, the signal is pulled to gnd when the circuit is closed. the ^ is enabling an internal pullup, which means when the circuit is broken the signal is "floating" and pulled HIGH by the pullup. And since this is a normally closed circuit, the default state ("open") would mean a connection between signal and gnd.
maraissalant
maraissalantβ€’12mo ago
so i need to check when manualy triggered
miklschmidt
miklschmidtβ€’12mo ago
It's enough just having it attached without triggering it The multimeter should beep With no interruptions When you then press the switch the multimeter should stop beeping If the multimeter stops beeping without the switch being triggered, there's a problem Try wiggling wires around while monitoring the "beep".
maraissalant
maraissalantβ€’12mo ago
yeah bad plug it is i think it beep depending on how the plug is turned that odd the dupon look good
miklschmidt
miklschmidtβ€’12mo ago
dupont's can be fiddly
maraissalant
maraissalantβ€’12mo ago
yeah not the best clearly but anyway gonna redo the crimp and all should be good thx a lot re-crimped signal wire and works like a charm hoooo this feel goood
miklschmidt
miklschmidtβ€’12mo ago
Excellent πŸ™‚
dependent-tan
dependent-tanβ€’12mo ago
you can. the 5V/24V difference is only the MAXIMUM voltage you can put through the unit. it works witrh BOTH 5V and 24V subsystems. https://euclidprobe.github.io/00-voltage.html
dependent-tan
dependent-tanβ€’12mo ago
the biggest issue that we get help requests are for the optocoupler on the controllers. Most are not able to sink ANY current, that is why we recommend to run Euclid to endstop ports. @miklschmidt you were supposed to have been sent a real Euclid kit. That one in th epics has the wrong silks and LED's.
miklschmidt
miklschmidtβ€’12mo ago
Yeah i found that out later πŸ˜„ Yeah this is the reason RatOS doesn't use those by default. We opt for the bltouch port, but same same πŸ™‚ It's the only one i ever got, i think i got it from RR. I don't remember.