Digital input problem's / pwm signal output
-
that i will get more heat out of water
… and less heat away from the hotend. So it’s better to improve the cooling than to reduce the flow.
-
@matej1006 said in Digital input problem's / pwm signal output:
............... for emergency stop on main board (6HC). i have 3.3V connected to COM on emergency contact and than signal back to io0.in................................
.............................................
M950 J1 C"io0.in" ; Define Emergency endstop - emergency stop switch condition
M950 P4 C"io0.out"
M581 P1 S0 T2 ; Define action to be taken with activation of emergency stop switch
M582 T2 S0 ; set trigger #3 pending unconditionallyIf I've read that correctly, you want to detect when 3.3 v goes to to pin io0.in. So your trigger (M581) ought to be set to detect a rising edge (inactive to active) which is S1 not S0.
-
@deckingman no i want to when it goes form 3.3 to 0. i did add a resistor 10kohm to gnd and io0.in. isn't helping and also i did try pull up in code nothing was working.
-
@infiniteloop ok yeah that far i wasn't thinking yeah
-
@matej1006 Here is what I have which triggers two macros based on the presence or otherwise of 3.3V on an io pin.
M950 J1 C"0.io3.in"
M581 P1 T2 R0 S1; io from low to high
M581 P1 T3 R0 S0; io from high to lowOther than using a different io pin, the only differences I can see between your code and mine is that I explicitly use board 0 (C"0.io3.in) but it should default to board zero if none is specified, and I use R0 to specify that the trigger should be acted on at any time rather than when printing from the SD card, but again, that should be the default behaviour. Maybe you have a wiring issue?
For info, the first line of my trigger2 file is M118 S"Trigger2" and the first line of my trigger3 file is M118 S"Trigger3" so I can easily see when they trigger.
-
@matej1006 you should connect your NC switches (or 2 switches in series) between the IOx_IN pin and ground. Leave the 3.3V pin not connected. See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_endstops#microswitch.
-
@dc42 damm i missed this info sorry
-
@infiniteloop so now i have temp. set to hold between 20 to 25 C.
what would you recommend to set between 50 to 60 C -
so now i have temp. set to hold between 20 to 25 C.
what would you recommend to set between 50 to 60 CYou didn’t tell us, but I assume you want to cool your hotend. In this case, the effective temperature above the heatbreak is influenced by many factors: temperature of the heater, efficiency of the heatbreak, retraction settings, temperature of the surrounding air (think of a hot summer or of a heated chamber), heat transfer rate of the cooling jacket, …
Frankly, I cannot calculate any of these properly, so for me, it’s try & error. My pump is thermostatically controlled, it steps-in at 35 °C and runs full power at 65 °C (back flow). With these settings, I reliably avoid any heat creep. But with your system, you might need to apply different values.
-
@infiniteloop yes ok that i know. i just didn't know what cca temp i would like to have in system running.