#Communication timeout during homing

18 messages · Page 1 of 1 (latest)

humble merlin
#

So getting this awful annoying fault quite regular atm.
Faults on probing Z with Beacon. Happens 1 in every 2 Z probes. Supper annoying. The beacon seems to be working fine I can get it to z tilt and mesh but then the next job there is 50/50 itl throw this .
Changed to running direct 5v to the Pi with the 4 gpio pins, 15a available.
Tried unplugging the nozzle cam and got no difference.

Happens on both my printers with beacon, not sure what to do next. Any help appreciated

sick light
#

Started having this issue as well. Swapped new cable and new beacon, still having the same issue.

humble merlin
sick light
next plinth
#

Also having this issue....

#

Any fix know?

next plinth
#

Anyone know where to adjust the time after which an error is given?

ruby needle
next plinth
#

Gasoline it is then..

humble merlin
#

either or works fine on its own

next plinth
#

where can i find the TRSYNC_TIMEOUT in ratos?

ruby needle
# next plinth where can i find the TRSYNC_TIMEOUT in ratos?
next plinth
#

I found this but i could not find any of the same functions.
/usr/share/klipper/klippy/mcu.py

if it put it in the config file like this:

[mcu]
TRSYNC_TIMEOUT 0.050

#

its not acepted

ruby needle
next plinth
#

ahh okay thanks

rough sandal
#

Sorry for necrobumping this, but since this comes high up when searching for the issue I thought I'd share my solution in this thread. Instead of patching mcu.py, which is annoying and breaks updates, you can use some Jinja2 hackery to update the variable via a delayed_gcode macro:

[delayed_gcode _FIX_TRSYNC_TIMEOUT]
initial_duration: 0.00001
gcode:
    {% set builtins = printer.__getitem__.__globals__["__builtins__"] %}
    {% set exec = builtins.exec %}
    {( exec('''
    import mcu
    mcu.TRSYNC_TIMEOUT = 0.05
    ''', {}, {}) or True) and ''}
    RATOS_ECHO MSG="Fixed mcu.TRSYNC_TIMEOUT"

I've used this approach more extensively in this project which allows running arbitrary Python code via Klipper g-codes without modifying Klipper: https://github.com/depau/unklipped/