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

    RepRap Firmware Issue in behavior

    Scheduled Pinned Locked Moved
    LPC
    2
    3
    1.4k
    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.
    • Shadi_Polarundefined
      Shadi_Polar
      last edited by Shadi_Polar

      Hi All Hope I will to find some help here , I have built polar 3D printer with reprap firmware however I am unable to find out why the shapes the machine draw or print are not exact, currently I am using below configuration file as this polar machine however without bed and it rotates around the center like flipped L shape .

      The problems I am facing are the following

      1- round lines some how straight lines are not coming out exactly straight it has some round areas

      2- one corner when i print square it is coming off not as the others

      3- infill is offsetting of the actual frame that printed and I feel it tries to compensate the initial mistakes

      Attached is picture of the out put, hope to find help here20220925_194246.jpg

      ; Configuration file for SKR v1.3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.1-LPC+9 on Thu Apr 08 2021 18:06:07 GMT+0100 (British Summer Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"RRF" ; set printer name

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S1 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S0 ; X physical drive 0 goes forwards using default driver timings
      M569 P1 S1 ; Y physical drive 1 goes forwards using default driver timings
      M569 P2 S1 ; Z physical drive 2 goes forwards using default driver timings
      M569 P3 S1 ; E physical drive 3 goes forwards using default driver timings

      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation

      M92 X102.3197900411406 Y69.03866411874756 Z400.00 E420.00 ; set steps per mm

      ;Original value to calculate Y and above code is 143.3/2
      ;M92 X300 Y143.3 Z800.00 E420.00 ; set steps per mm

      M669 K7 R0:550 H150.50 S 0.01 ; polar kenimatic
      ;M669 K7 R0:450 H150 F300 A300 ; polar kenimatic

      ;Original Settings
      M566 X2000.00 Y2000.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 X800.00 Y800.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

      ;My settings Config
      ;M566 X1800.00 Y1800.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      ;M203 X1000.00 Y1000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      ;M201 X1000.00 Y1000.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 X90 Y0 Z0 S1 ; set axis minima
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X550 Y620 Z400 S0 ; set axis maxima
      ;M208 X340 Y360 Z400 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
      M574 Y0
      M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop

      ; Z-Probe
      M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
      M557 X:550 Y0:620 S20
      ;M557 X15:215 Y15:195 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0
      M307 H1 R0.962 C330.8 D8.38 S1.00 V0.0 ; Modefied as per the PID Auto Tunning -- disable bang-bang mode for heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 R0.962 C330.8 D8.38 S1.00 V0.0 ; Modefied as per the PID Auto Tunning -- disable bang-bang mode for heater and set PWM limit
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S39 H-1 ; set fan 0 value. Thermostatic control is turned off

      ; Tools
      M563 P0 D0 H1 F0 ; 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

      ; Custom settings are not defined

      ; Miscellaneous
      M575 P1 S3 B115200 ; enable support for tft
      T0

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @Shadi_Polar
        last edited by

        @shadi_polar I think the first steps would be to make sure that your printer is actually configured how you think it is. In a console please enter: M98 P"config.g" and post the results here. Some of the settings you have seem a little strange in particular the S parameter to the M669 does not seem correct, I can't imagine what 0.01 segments per second would mean.

        I'd suggest that you should probably move the M669 command to be before you specify any other movement configuration. So I'd move it to be just after the M584 command as shown in the examples here: https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_Polar

        It would also probably help if you posted a picture of your printer (or a video of it in action) so folks have some idea what it is you are using.

        Shadi_Polarundefined 1 Reply Last reply Reply Quote 0
        • Shadi_Polarundefined
          Shadi_Polar @gloomyandy
          last edited by Shadi_Polar

          @gloomyandy said in RepRap Firmware Issue in behavior:

          M98 P"config.g"

          Hi @gloomyandy I appreciate your help on this below the outcome of M98P "Config.g", I agree with you some information might be strange in my Config.g file like the S because I added it without exact knowledge of the functionality so I thought that might Improve the result. but i do not know the actual value I should add :).

          Actually this is an old project i never finish as not dedicated to however since i am working on again i would like to know how should i move on below is a picture of the machine as i was not able to upload video due to the size

          I uploaded while the machine in action however if you notice that the circle is not exactly circle it looks like defected circle you can tell however in the square it is more clearer

          9/26/2022, 12:21:35 AM M98 P"config.g"
          HTTP is enabled on port 80
          FTP is enabled on port 21
          TELNET is disabled
          Error: bad grid definition: Too many grid points; suggest increase spacing to 58.4mm
          9/26/2022, 12:17:55 AM M122
          === Diagnostics ===
          RepRapFirmware for LPC176x based Boards (biquskr_1.4) version 3.2_4 running on LPC176x at 100Mhz
          Used output buffers: 1 of 16 (11 max)
          === RTOS ===
          Static ram: 4956
          Dynamic Memory (RTOS Heap 5): 7896 free, 7856 never used
          Allocations: 178 Frees: 21
          Never used RAM 256, free system stack 14 words
          Tasks: NETWORK(ready,187) HEAT(blocked,243) MAIN(running,354) IDLE(ready,21)
          Owned mutexes: WiFi(NETWORK)
          === Platform ===
          Last reset 00:01:25 ago, cause: [software]
          Last software reset at 2022-09-26 00:16, reason: User, GCodes spinning, available RAM 256, slot 0
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042a000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
          Error status: 0x00
          Aux0 errors 0,0,0
          Supply voltage: under voltage events: 0
          Driver 0: position 0, standstill, SG min/max 0/10, error r/w 0/1, ifcnt 73, cnt r/w 7165/15, timeout 0, failedOp 0xff
          Driver 1: position 0, standstill, SG min/max 0/0, error r/w 0/1, ifcnt 68, cnt r/w 7168/12, timeout 0, failedOp 0xff
          Driver 2: position 0, standstill, SG min/max 0/18, error r/w 0/1, ifcnt 73, cnt r/w 7165/15, timeout 0, failedOp 0xff
          Driver 3: position 0, standstill, SG min/max 0/0, error r/w 0/1, ifcnt 63, cnt r/w 7169/11, timeout 0, failedOp 0xff
          Driver 4: position 0
          Driver 5: position 0
          Driver 6: position 0
          Date/time: 2022-09-26 00:17:51
          Slowest loop: 20.93ms; fastest: 0.13ms
          Step timer: target 34955404 count 84948299 delta -49992896 late 0
          USBSerial connected 0
          ADC not ready 2 ADC error threshold 10 ADC Init 1
          Ints: 51516; Calls 51516; fast: 3uS; slow 20uS adj 0 bad 0 big delta 0
          PWM Channels
          Delta -822796941 Start -1 End -1
          === Storage ===
          Free file entries: 6
          SD card 0 detected
          SD card longest read time 2.3ms, write time 0.0ms, max retries 0
          === Move ===
          DMs created 40, maxWait 20302ms, bed compensation in use: none, comp offset 0.000
          === DDARing ===
          Scheduled moves 7, completed moves 7, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === Heat ===
          Bed heaters = 0, chamberHeaters = -1
          Heater 1 is on, I-accum = 0.0
          === GCodes ===
          Segments left: 0
          Movement lock held by null
          HTTP is idle in state(s) 0
          File is idle in state(s) 0
          USB is idle in state(s) 0
          Aux is idle in state(s) 0
          Trigger is idle in state(s) 0
          Queue is idle in state(s) 0
          Daemon is idle in state(s) 0
          Autopause is idle in state(s) 0
          Code queue is empty.
          === Network ===
          Slowest loop: 42.51ms; fastest: 0.00ms
          Responder states: HTTP(0) HTTP(0)
          HTTP sessions: 1 of 2

          • WiFi -
            Network state is active
            WiFi module is connected to access point
            Failed messages: pending 0, notready 0, noresp 0
            WiFi firmware version 1.25-01LE-D
            WiFi MAC address c0:56:27:45:b2:f9
            WiFi Vcc 3.37, reset reason Turned on by main processor
            WiFi flash size 4194304, free heap 35944
            WiFi IP address 192.168.1.134
            WiFi signal strength -68dBm, mode 802.11n, reconnections 0, sleep mode modem
            Clock register 00181001
            Socket states: 0 0
            Untitled.jpg20220926_230657.mp4
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA