FAN allocating fault- attach fan to tool
-
hi,
im using duet wi fi,
im testing setup on table, include only main board.
firmware version: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1here is my config file:
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Wed Jun 10 2020 16:26:56 GMT+0300 (Israel Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"***2" ; set printer name ; Network M550 P"***" ; Set machine name M552 S1 ; Enable network M587 S"R*******8" P"**********" ; Configure access point. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ;----------------------------------------------------------* physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S0 ; physical drive 4 goes forwards ;M569 P5 S0 ; physical drive 5 goes forwards ;M581 P7 T0 R0 S1; M584 X0 Y1 Z2:4 E3 ; set drive mapping M350 X32 Y32:32 Z32:32 E16 I1 ; Configure microstepping with interpolation ; M92 X100 Y80:80 Z462.5:462.5 E40 ; set steps per mm M566 X700 Y1500 Z250 E400 ; set maximum instantaneous speed changes (mm/min) M203 X15000 Y15000 Z2000 E20000 ; set maximum speeds (mm/min) M201 X3000 Y2000 Z300 E400 ; set accelerations (mm/s^2) M906 X2000 Y1500 Z2100 E1700 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X550 Y450 Z2000 S0 ; set axis maxima M564 S1 H0 ; Allow axis move without home and outside boundries M206 X50 Y-30 ; offset axes ; Endstops M574 X S1 P"io0.in" ; configure for low end, active-low endstop on X via pin io1.in M574 Y S1 P"io2.in" ; configure for high end, active-low endstop on Y via pin io2.in temp; M950 P1 F1 Q200 C"fan1" T1 ; create bed heater output on bedheat and map it to sensor 0 M106 P1 H-1 ; ; Heaters ; Fans ; Tools M563 P1 D0 H1 S"***p" ;Define tool 0 G10 P1 S25 R50 X0 Y0 ; set tool 0 temperatures and offsets ; Custom settings are not defined
im trying to attach fan operation with associate tool, define the tool and the heater link to the tool define by 950 the fan that should be attach to the heater. also define with m305 the sensor that link to the heater and fan.
i can read the sensor value and i think i set the fan to operate at above 25C (trigger) but nothing happens when it reach the temp.
fan never turn on (using fan1).
tried also controlled fan configuration with M106 P1 H-1.PLEASE HELP ME TO FIND THE RIGHT APPLICATION FOR THIS
TNX -
@moo16 said in FAN allocating fault- attach fan to tool:
firmware version: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1
you are trying to configure for version 3 but are running version 2.
-
@moo16 said in FAN allocating fault- attach fan to tool:
M350 X32 Y32:32 Z32:32 E16 I1 ; Configure microstepping with interpolation ;
also this does not work on the duet wifi.
only x16 works with interpolation -
Best update your firmware to 3.0 and then 3.1.1 since you've already got your config targeting RRF3.
-
@Phaedrux said in FAN allocating fault- attach fan to tool:
you've already got your config targeting RRF3.
DID IT , NOW RUNING WITH 3.1.1 FIRMWARE.
I want to control fan0/fan1 with g-code.
should i use only m950+ m563+ m106 ? am imissing something? -
please have a look at
https://configtool.reprapfirmware.org/Startthis will help you generate your first config
-
still cant get this.
starting to think something happen to the outputs.
i tried diffrent form of tool with fan.. with heater/without/just fan/with extruder/without.
i operate 24V fans maybe thts the reason?
heres my new config; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X230 Y210 Z200 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M140 H-1 ; disable heated bed (overrides default heater mapping) ; Fans M950 F0 C"fan0" Q100 ; create fan 0 on pin fan0 and set its frequency M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off M950 F2 C"fan2" Q2500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; Tools M563 P0 S"for fan0" D0 F0:1:2 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 S"for fan1" D0 F1:0:2 ; define tool 1 G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Custom settings are not defined
any help?
thanks before head -
does the fan work when you connect it to the always on port?
-
@Veti said in FAN allocating fault- attach fan to tool:
es the fan work when you connect it to the always on port?
no, alwas on fan also not provide the 24V
-
check the fan fuse.
-
replace board(with the same SD.
now the fans are always on, even when connected to the fan0,fan1 connector.
strange...only when power go down they turn off -
-
update: still cant get it.
cant find the right configuration of commands.
maybe something wrong with the board i will try to replace with a new one today.i explain again my intenntion,
im try to create tool that open the 24V(fan or any other port) and play by the command for that tool.
it can be any 24V port just that i get him operate as a tool i realized the best way to it is with fan out ports, maybe there is other way?
maybe i just cant get the gcode right?
the order or the configuration of the commands?
appreciate your help -
post exactly what commands you are using to test the fans.
-
Can you send M98 P"config.g" in the console and post the response?
-
hi update,
it work for me once and than i lost the right syntax.
when it work it was something like:(in config.g)
M950 P0 F3 C"fan2" Q500 ;M563 P0 D0 F3 ;
and than send in M106 F3 S1
than i saw blue note poping that fan is on and the fan work.
but than i changed something and i can not restore it.M98 respones: MACRO 3 NOT FOUND
maybe you see something for correction ?
tnx -
@moo16 said in FAN allocating fault- attach fan to tool:
; Fans M950 F0 C"fan0" Q100 ; create fan 0 on pin fan0 and set its frequency M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off M950 F2 C"fan2" Q2500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off
This should be fine, but S1 means the fans are turned on by default. Use S0 to have them off to start with.
M106 P0 S1 should turn the first fan on.
@moo16 said in FAN allocating fault- attach fan to tool:
M98 respones: MACRO 3 NOT FOUND
That doesn't make much sense to me.
Can you show a video or pictures of what you're trying to do on your screen?