Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    FAN allocating fault- attach fan to tool

    Scheduled Pinned Locked Moved
    General Discussion
    3
    17
    814
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • moo16undefined
      moo16
      last edited by moo16

      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

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        does the fan work when you connect it to the always on port?

        1 Reply Last reply Reply Quote 0
        • moo16undefined
          moo16
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            check the fan fuse.

            1 Reply Last reply Reply Quote 1
            • moo16undefined
              moo16
              last edited by

              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

              Vetiundefined 1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti @moo16
                last edited by

                @moo16

                you set them to on by default
                M106 P1 S1 H-1

                S1 is full power

                1 Reply Last reply Reply Quote 1
                • moo16undefined
                  moo16
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    post exactly what commands you are using to test the fans.

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Can you send M98 P"config.g" in the console and post the response?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • moo16undefined
                        moo16
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          @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?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA