Not able to print with IDEX

I'm getting this error when trying to print: Error evaluating 'gcode_macro START_PRINT:gcode': gcode.CommandError: Something went wrong! Missing important post processor start print parameter! I've added RatoS debug, my printer.cfg and ratos.cfg and the gcode I'm trying to print
Solution:
Here's how I setup the USBs
No description
Jump to solution
118 Replies
Helge Keck
Helge Keck2mo ago
please show me the machine tab screen where i can see the software versions om on a tablet and cat unzip the files, can you uploadthe gocde as agcode file please
dyocis
dyocisOP2mo ago
No description
Helge Keck
Helge Keck2mo ago
please SSH into the pi and run sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh then shpw me the complete console output
dyocis
dyocisOP2mo ago
Last login: Tue Sep 24 09:49:45 2024 from 192.168.50.101 pi@ratrig:~ $ sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh Updating RatOS device symlinks.. ###### Updating whitelisted commands ###### Updating service permissions ###### Installing beacon module... beacon: beacon already installed, skipping... ###### Installing git hooks Node 18 already installed ###### Registering klippy extension 'z_offset_probe_extension' with the RatOS Co nfigurator... Success! ✓ Successfully registered extension "z_offset_probe_extension" ###### Registering klippy extension 'ratos_extension' with the RatOS Configurator... Success! ✓ Successfully registered extension "ratos_extension" ###### Registering klippy extension 'resonance_generator_extension' with the RatOS Configurator... Success! ✓ Successfully registered extension "resonance_generator_extension" Success! ✓ Successfully registered kinematics extension "ratos_hybrid_corexy" ###### Symlinking klippy extensions Success! ✓ Symlink for "beacon.py" already exists. Skipping. ✓ Symlink for "gcode_shell_command.py" already exists. Skipping. ✓ Symlink for "ratos_homing.py" already exists. Skipping. ✓ Symlink for "z_offset_probe.py" already exists. Skipping. ✓ Symlink for "ratos.py" already exists. Skipping. ✓ Symlink for "resonance_generator.py" already exists. Skipping. ✓ Symlink for "ratos_hybrid_corexy.py" already exists. Skipping. ✓ Symlink for "linear_movement_vibrations.py" already exists. Skipping. ✓ Symlink for "timelapse.py" already exists. Skipping. ###### Updating beacon firmware... Beacon '604E4B825154364134202020FF150B0E' is already flashed with the current firmware version '2.1.0'. Skipping. To force update, re-run update_firmware.py with the --force flag set. ###### Restarting configurator...
Helge Keck
Helge Keck2mo ago
now try to start a print, but this time name the file like this
No description
Helge Keck
Helge Keck2mo ago
then share the mainsail console output just print a cube
dyocis
dyocisOP2mo ago
No description
miklschmidt
miklschmidt2mo ago
###############OTHER STUFF####################################################################################
[gcode_macro SDCARD_PRINT_FILE]
rename_existing: SDCARD_PRINT_FILE_BASE
gcode:
SDCARD_PRINT_FILE_BASE { rawparams }
###############OTHER STUFF####################################################################################
[gcode_macro SDCARD_PRINT_FILE]
rename_existing: SDCARD_PRINT_FILE_BASE
gcode:
SDCARD_PRINT_FILE_BASE { rawparams }
That's why it doesn't work 🙂 Not sure why you added that, but that effectively disables the post processing And thus you're unable to print anything @dyocis @Helge Keck
Helge Keck
Helge Keck2mo ago
found the issue ahh, mikl as well lol
dyocis
dyocisOP2mo ago
Ahh, I added that to my hybrid setup. It was for something in the discord. I don't remember why anymore.
Helge Keck
Helge Keck2mo ago
this was a temporary fix bc we had some issues some days ago
dyocis
dyocisOP2mo ago
Yep, I didn't even think about it
Helge Keck
Helge Keck2mo ago
luckily we have hawkeye mikl
dyocis
dyocisOP2mo ago
It's running the test.gcode now!
dyocis
dyocisOP2mo ago
Ugh, lost communication with toolboard. This had been an issue since before IDEX. the LDO orbitool board is giving me all kinds of trouble
Helge Keck
Helge Keck2mo ago
please show me your toolboard strain relief
miklschmidt
miklschmidt2mo ago
It's probably the O2 safety features, i noticed some problems specifically on IDEX in the way the custom sections are generated for T1. gimme a sec i'm gonna post a potential fix
dyocis
dyocisOP2mo ago
No description
dyocis
dyocisOP2mo ago
No description
Helge Keck
Helge Keck2mo ago
solid
dyocis
dyocisOP2mo ago
No description
miklschmidt
miklschmidt2mo ago
@dyocis try this
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 0

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 0

[extruder1]
max_power: 0.995

[fan_generic part_fan_t0]
max_power: 0.995
[fan_generic part_fan_t1]
max_power: 0.995
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 0

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 0

[extruder1]
max_power: 0.995

[fan_generic part_fan_t0]
max_power: 0.995
[fan_generic part_fan_t1]
max_power: 0.995
oh and
[heater_fan toolhead_cooling_fan_t1]
# Use max_power: 0.5 for 12V, max_power: 1 for 24V (in printer.cfg)
max_power: 0.995
cycle_time: 0.0001
[heater_fan toolhead_cooling_fan_t1]
# Use max_power: 0.5 for 12V, max_power: 1 for 24V (in printer.cfg)
max_power: 0.995
cycle_time: 0.0001
Gah the run leds should have value: 1 not 0 So in total:
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 1

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 1

[extruder1]
max_power: 0.995

[fan_generic part_fan_t0]
max_power: 0.995
[fan_generic part_fan_t1]
max_power: 0.995

[heater_fan toolhead_cooling_fan_t1]
# Use max_power: 0.5 for 12V, max_power: 1 for 24V (in printer.cfg)
max_power: 0.995
cycle_time: 0.0001
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 1

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 1

[extruder1]
max_power: 0.995

[fan_generic part_fan_t0]
max_power: 0.995
[fan_generic part_fan_t1]
max_power: 0.995

[heater_fan toolhead_cooling_fan_t1]
# Use max_power: 0.5 for 12V, max_power: 1 for 24V (in printer.cfg)
max_power: 0.995
cycle_time: 0.0001
Helge Keck
Helge Keck2mo ago
not a friend of this config tbh O2_RUN_LED this should start with a _
miklschmidt
miklschmidt2mo ago
Yeah there's multiple things that need fixing here
Helge Keck
Helge Keck2mo ago
otherwise one can kill its baord by accidentaly move the slider in the UI
miklschmidt
miklschmidt2mo ago
much of it is copied from bob's config examples
dyocis
dyocisOP2mo ago
Ok, I'll give that a try
miklschmidt
miklschmidt2mo ago
AFAIK it's just for the LED It doesn't actually enable/disable anything
Helge Keck
Helge Keck2mo ago
wait, the output pin on my bnards is the power control ,aybe there are more now
miklschmidt
miklschmidt2mo ago
there are multiple output pins 😂
dyocis
dyocisOP2mo ago
Yea, I had it turned off in my original config too
Helge Keck
Helge Keck2mo ago
robert needs always a extra sausage :kekw:
miklschmidt
miklschmidt2mo ago
Oh yes. They're all super cool features but it's so much extra stuff that no other board needs atm, so there's quite a number of shenanigans to be implemented to properly handle it.
dyocis
dyocisOP2mo ago
I put in an issue on his git a few days ago about the constant lost comms, but haven't heard anything back yet
miklschmidt
miklschmidt2mo ago
tbf i would suspect RatOS first on this one Because the board is so complicated
Helge Keck
Helge Keck2mo ago
thats not good, its wrnog imo [heater_fan toolhead_cooling_fan_t1] # Use max_power: 0.5 for 12V, max_power: 1 for 24V (in printer.cfg) max_power: 0.995 cycle_time: 0.0001
miklschmidt
miklschmidt2mo ago
Many little quirks such as the max power stuff to avoid tripping the safety features etc.
dyocis
dyocisOP2mo ago
Didn't make it very far...lol
No description
Helge Keck
Helge Keck2mo ago
the power should be controlled like this according to robert [output_pin part_fan_power] pwm: True hardware_pwm: False cycle_time: 0.0001 value: 0.3 # 12V
dyocis
dyocisOP2mo ago
I've got a 24v fan
Helge Keck
Helge Keck2mo ago
plus, you should even check with a multimeter the output since they can differ slightly
miklschmidt
miklschmidt2mo ago
Hardware pwm sucks balls This is not the same board btw This is for the unreleased one
Helge Keck
Helge Keck2mo ago
ok ok
miklschmidt
miklschmidt2mo ago
😂
Helge Keck
Helge Keck2mo ago
im quiet :kekw: ups
dyocis
dyocisOP2mo ago
So add the pwm stuff, or no?
Helge Keck
Helge Keck2mo ago
rule #1, always do what mikl says
dyocis
dyocisOP2mo ago
Ok, after I added your stuff I got the lost comm on T1 above
miklschmidt
miklschmidt2mo ago
And @dyocis make sure you put it in printer.cfg far enough down so your other custom stuff doesn't end up overwriting it you have a lot of stuff going on lemme double check where did you add it?
dyocis
dyocisOP2mo ago
I just moved it to right above the steppers
miklschmidt
miklschmidt2mo ago
Side note btw: - do not manually add nozzle_diameter to printer.cfg, set it in the hardware configurator, that's where VAOC gets the value from, and it's emitted to RatOS.cfg so there's no need for this. Okay that should've worked. I noticed you put value:0 for your run_led which doesn't make much sense to me.
dyocis
dyocisOP2mo ago
I'll remove it It just turns it off at boot
miklschmidt
miklschmidt2mo ago
It would be turned off at all times unless you manually enable it an only for T1, as you're using the same name, so there's effictively only one section, last one taking precedence.
dyocis
dyocisOP2mo ago
I moved some of this stuff over from my hybrid config.
miklschmidt
miklschmidt2mo ago
Try setting them the value to 0 again in the two section from the config i posted
dyocis
dyocisOP2mo ago
loss comm on T1 again
miklschmidt
miklschmidt2mo ago
with:
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 0

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 0
[output_pin O2_RUN_LED]
pin: toolboard_t0:PB8
shutdown_value: 0
value: 0

[output_pin O2_RUN_LED_T1]
pin: toolboard_t1:PB8
shutdown_value: 0
value: 0
?
dyocis
dyocisOP2mo ago
Just made that change. Trying again Before IDEX I would only get this error on longer prints...3-4 hours. Now it's doing it every time. just got loss comm on T0
miklschmidt
miklschmidt2mo ago
i'm assuming it's the safety features tripping wait, have you connected the 4028's to the toolboard?
dyocis
dyocisOP2mo ago
Yes, 24v 2 wire 4028s
miklschmidt
miklschmidt2mo ago
Oh so those low performance ones prolly not that then.. they shouldn't pull enough amps to trigger anything.
dyocis
dyocisOP2mo ago
I mean, they have similar specs to the stock 2048s, they are server fans.
miklschmidt
miklschmidt2mo ago
Do you have a link?
dyocis
dyocisOP2mo ago
hold on, I'll find it
miklschmidt
miklschmidt2mo ago
Never seen any 24V 2-wire ones with that performance, it's not really possibly with voltage control because of the RPM's. That one has a significantly beefier dc/dc converted made for such fans
miklschmidt
miklschmidt2mo ago
also, that's not supposed to be public information just yet 😂 yeah they have less than 1/4th the pressure and 2/3 the airflow Not even close
dyocis
dyocisOP2mo ago
I tried a few different ones. but that one worked the best.
miklschmidt
miklschmidt2mo ago
They won't trigger anything, they only pull 0.15A
dyocis
dyocisOP2mo ago
Hmm, I can put the stock fans on, if you think that'll help. When I was trying to figure this out on hybrid, I disconnected the fans completely and still got comm shutdowns
miklschmidt
miklschmidt2mo ago
Nono, you'd have to wire those very differently as those WILL trigger the toolboard safety features
dyocis
dyocisOP2mo ago
The part fans shouldn't come on till the 3rd layer anyway
miklschmidt
miklschmidt2mo ago
It's like 4 of the ones you currently have in one
dyocis
dyocisOP2mo ago
I only really print with ASA, so I wasn't too worried about cooling
miklschmidt
miklschmidt2mo ago
The ones you have, yeah. 4-pin 4028's will run full bore until there's a PWM signal So instant safety trip anyways that's not it I'm not sure what makes it shit itself
dyocis
dyocisOP2mo ago
I mean for the comm error, the fans wouldn't trigger a safety before it even finishes the homing cycle
miklschmidt
miklschmidt2mo ago
Post klippy.log maybe there's something interesting in there 4-pin 4028's would trigger as soon as the board is booted and power is applied that's why i was going down that road but you're not using those
dyocis
dyocisOP2mo ago
miklschmidt
miklschmidt2mo ago
it's complaining about T0 now not t1
dyocis
dyocisOP2mo ago
Yea, I started looking into the stock fans, but I wasn't confident on how to wire them Yea, it goes back and forth between the two
Helge Keck
Helge Keck2mo ago
where have you connected the small power adapters for the boards? to the psu or to the mcu?
dyocis
dyocisOP2mo ago
To the PSU. THey're getting 24.2V during printing
Helge Keck
Helge Keck2mo ago
ok
miklschmidt
miklschmidt2mo ago
Can't find anything suspicious in the log I gotta go.. It's odd, i have one running on my minion with no issues.
dyocis
dyocisOP2mo ago
I was going to put in the stock toolboards and fans when I did IDEX because of this issue, but I found the ground wire of the tool fan had a bad crimp, so I convinced myself that was the issue....lol Thanks @miklschmidt I appreciate your help
miklschmidt
miklschmidt2mo ago
i mean if anything is miswired or shorting or have a loose connection etc, that will result in the same error as you're getting now Sure thing, will look into it more and fix the t1 generation later tonight (prolly after midnight) midnight GMT+2 that is 😄 6 hours from now
dyocis
dyocisOP2mo ago
I checked all the crimps and tested everything I could, and it all checked out. If it was only doing it on one toolhead, I'd rip it apart, but it's doing it on both, so that tells me its either software, or bad batch of boards? I bought 3, so I have a spare set that I've been switching in and out while I was testing on hybrid, but nothing really ever came of it. Same issue no matter what hardware was installed Little update, I moved the usbs to the waveshare hub and off of my other hub, that was plugged into the waveshare. I was able to make it through a 5 min print. On hybrid, when I moved from the waveshare to the other hub, this issue was greatly reduced, so now it's doing the opposite.
Helge Keck
Helge Keck2mo ago
put the baords directly into the PI usb connectors not into a hub use the HUB for accesiores and not the MCUs
miklschmidt
miklschmidt2mo ago
so that tells me its either software,
Yeah i'm thinking this is likely.. Going over the official configs now It should be fine on the waveshare hub as long as it's connected to one of the USB 3.0 on the pi, but yeah, hooking those straight to the USB 2.0 ports on the Pi won't hurt.
dyocis
dyocisOP2mo ago
I've got my SSD, Beacon and the MCU in the Pi ports. The toolheads are on the waveshare
Helge Keck
Helge Keck2mo ago
SSD is suckng a lot of juice i had similar issues onmy IDEX 3.1 well, dont. know if it wasa power problem orsomething. else, but had issues with a USB SSD nad multiple MCUs
dyocis
dyocisOP2mo ago
I've got a 5v 75w PSU wired in
miklschmidt
miklschmidt2mo ago
Alright @dyocis so everything is identical to the stock config except for these, paste those in. I'm highly skeptical that they'll change anything, but worth a shot.
[extruder]
pwm_cycle_time: 0.00500
[extruder1]
pwm_cycle_time: 0.00500
[fan_generic part_fan_t0]
pwm_cycle_time: 0.02
[fan_generic part_fan_t1]
pwm_cycle_time: 0.02
[extruder]
pwm_cycle_time: 0.00500
[extruder1]
pwm_cycle_time: 0.00500
[fan_generic part_fan_t0]
pwm_cycle_time: 0.02
[fan_generic part_fan_t1]
pwm_cycle_time: 0.02
dyocis
dyocisOP2mo ago
I'm in a meeting ATM. I'll be free in about an hour and will do this. Thanks for continuing to work on this with me
miklschmidt
miklschmidt2mo ago
I would keep all MCU's on the same device tree, so put beacon and mcu on the waveshare hub together with the toolboards. SSD in the second USB 3.0 port on the pi and then put VAOC on the USB 2.0 port on the pi. Sure thing
dyocis
dyocisOP2mo ago
It doesn't like the pwm setting
dyocis
dyocisOP2mo ago
No description
Solution
dyocis
dyocis2mo ago
Here's how I setup the USBs
No description
dyocis
dyocisOP2mo ago
Don't judge my cable management. I'm not done yet!
MurmelMannen
MurmelMannen2mo ago
Where did you change the sdcard_print_file macro and what did you change it too?
dyocis
dyocisOP2mo ago
It was in my printer.cfg, I just removed it
MurmelMannen
MurmelMannen2mo ago
Weird I don’t have it there and got the same error you got
dyocis
dyocisOP2mo ago
Is everything up to date?
MurmelMannen
MurmelMannen2mo ago
I think so
dyocis
dyocisOP2mo ago
I added that a few days ago to address an issue that has since been fixed
MurmelMannen
MurmelMannen2mo ago
Everything in the update manager is updated
dyocis
dyocisOP2mo ago
I'd open another post. We're T/Sing a different issue all together now. Helge and Mikl will jump in there to help When they can....they are super busy
MurmelMannen
MurmelMannen2mo ago
👍
miklschmidt
miklschmidt2mo ago
the fuck Ah sorry it's only for output_pins and extruder, it's just cycle_time on fans.. because consistency 👍 you need to remove it
dyocis
dyocisOP2mo ago
I'll throw it in there after this print finishes. Hasn't errored once since I switched the USBs and put in that code, so maybe it's fixed? It was only doing it occasionally with hybrid after a few hours, so I'll potentially waste some filament later tonight and see if it makes it through
miklschmidt
miklschmidt2mo ago
It's not unlikely that it's just a matter of putting the right devices on the right ports. mixing several different usb standards is always fun on Pi's.
MurmelMannen
MurmelMannen2mo ago
I can't its in a only read file
miklschmidt
miklschmidt2mo ago
So an official ratos file, nothing for you to do (it's supposed to be there), you only need to remove it if you added an override yourself to printer.cfg. If you're continuing to have problems please open a new thread and post the error message and a debug zip and i'll come take a look.
MurmelMannen
MurmelMannen2mo ago
ok how do i get the debug zip nevermind found it
dyocis
dyocisOP2mo ago
I'm going to close this post, as the original issue has been fixed. If I have anymore loss of comm issues with the toolboard, I'll open a new post. Thanks for the help @miklschmidt and @Helge Keck
Want results from more Discord servers?
Add your server