encoder filament motion



  • Hello Guys
    I need some help because i'm adding an encoder to monitor the filament movement.
    I have the firmware version 2.0(RTOS) (2018-06-05b3), and i mount an encoder with 600ppr
    i put the M591 D0 P7 C5 S1 R50:140 E6 L34 parameter.
    i saw that each turn of the encoder, the filament move 34mm.
    i have 16 microsteeping and 675.958 steps per mm in the extruder set up.
    when i send the M591D0, this is what came out:

    M591 D0
    Pulse-type filament monitor on endstop input 5, enabled, sensitivity 34.00mm/pulse, allowed movement 50% to 140%, check every 6.0mm, no data received

    First question:
    Should i update the firmware? if i should update the firmware, could you send me a post to understand how can i do?

    The L parameter is ok?

    I really appreciate any suggestion that you can give me

    Thanks


  • administrators

    If the encoder has 600 pulses per revolution (which is a lot!), and one revolution is 34mm of filament, then the L parameter should be 34/600 = 0.0567mm.

    You should update the firmware to version 2.02.

    You will need to start a print to check the calibration.



  • @dc42
    Thanks for your reply
    I update the firmware to the 2.02. firmware version and i change the L parameter as you suggest and i still having the same problem.

    M591 D0 P7 C5 S1 R50:140 E6 L0.0567

    M591 D0
    Pulse-type filament monitor on endstop input 5, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, no data received

    I check the status of the endstop and it change each time that the encoder turns around.
    ☹
    Thanks


  • administrators

    Can you confirm that you don't have a DueX in your system, and you have connected your filament monitor directly to the E4 endstop input on the expansion connector?



  • @dc42
    I have a duet2 ethernet with a Duet Expansion Breakout Board, i took the 5 volts from conn sd 1-2 pin and in the output signal from the encoder i put a 1k pull up resistor and them i connect it to the E1 stop
    My encoder works with a voltage from 5 volts to 24 volts dc



  • Iwere wrong with the c parameter.
    I should use the C4 and not the C5. 😌
    Now i'm getting this result:
    M591 D0
    Pulse-type filament monitor on endstop input 4, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, current position 0.0, measured sensitivity 0.057mm/pulse, measured minimum 95%, maximum 105% over 548.4mm
    i'll make some test now that is working.
    I'll keep you up-to-date
    Thanks again David


  • administrators

    @jv said in encoder filament motion:

    Iwere wrong with the c parameter.
    I should use the C4 and not the C5. 😌
    Now i'm getting this result:
    M591 D0
    Pulse-type filament monitor on endstop input 4, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, current position 0.0, measured sensitivity 0.057mm/pulse, measured minimum 95%, maximum 105% over 548.4mm
    i'll make some test now that is working.
    I'll keep you up-to-date
    Thanks again David

    Looks like it's working well then!



  • @dc42
    nothing, the machine is going in pause each 20 seconds 😓


  • administrators

    @jv what reason does it give for pausing?



  • @t3p3tony
    Printing paused
    Extruder 0 reports too little movement


  • administrators

    @jv use M591 D0 to show what the monitor is seeing. It sounds like it's triggering as expected when the settings don't match the output.



  • I really sorry guys, at the moment i couldn't make any test because something really weird happened, i was trying to understand why the extruder doesn't works and i feel like an electrical discharge and them the program that i was printing dissapear, the lights in the board start to blinking.

    i lost the connection with the computer and i can't restart to work with the macchine....

    The panel due works and show me all the info but when i try to homing my motors make to much noise and don't move.

    the green led 3.3v in the board is blinking very fast

    The fan works with the high speed and the commands dosn't respond

    What should i do?


  • administrators

    Is the SD card still readable in a PC?



  • @dc42
    sorry for my late reply
    Yes, i can see the SD CARD.

    Yesterday i could print 1 part (the macchine stop each 20 minutes because the filament runout), today i have this error windows coming out:

    The connection between the browser and your machine has been interrupted.
    Reason unknow (SystemError JSON.parse: unecxpected keyword at line 1 column 1 of the JSON data)
    Please reload the web interface to proceed.

    after a couple times that i try to connect and change some parameters in the config.g file, the board lost connection again and then came out this window:

    CONNECTION LOST

    The connection between the browser and your machine has been interrupted
    Reason: Unknow (bad qualifier Key)
    Please reload the web interface to proceed.

    And i try to reload many times, some times it connect it again with the macchine and some times it doesn't.

    Now i can not connect at all with the board and it came out this window.

    Your Duet rejected the HTTP request: unexpected newline

    I don't know what else to do



  • I run a program that i have in the sd card an the machine works normaly but i can connect with the DWC

    ☹


  • administrators

    Is the wifi module hot? Or the main processor? Warm is normal for both.



  • @dc42
    Hi David
    Is an ethernet board, the WIZ NET W5500 microchip near to the ethernet connector is very HOT, thre main proessor is warm


  • administrators

    @jv said in encoder filament motion:

    @dc42
    Hi David
    Is an ethernet board, the WIZ NET W5500 microchip near to the ethernet connector is very HOT, thre main proessor is warm

    The wiznet chip should not be hot. I suggest you contact your supplier for a possible warranty repair/replacement.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.