Duet Wifi and Flashforge Creator pro



  • So I bit the bullet and treated myself to a Wifi Duet to controll my FFC pro, sorry if I may sound a bit of a noob but I finally got the board to work in a fashion from my friend and also from Jeff on this forum. The thing that iv'e noticed is in Simplify 3D the object is facing the wright way i want it to, but when printing It's the opposite way round. So I went back to S3D and changed it in Mesh and mirrored the X and Y to get it on screen the same layout as printing one and guess what, It changed direction on print bed. Maybe Iv'e missed somthing out in the config.g. But I don't want to mess too much with somthing I'm not to sure about. Any help would be great.

    Cheers

    Rob



  • Also I'm running it on Marlin. Is this correct?


  • administrators

    When you use the jog buttons to move the head and bed around, do they move in the direction you expect? For most Cartesian printers this is:

    +X direction => head moves towards the right

    +Y direction => head moves towards the rear, or bed moves towards the front

    If you are having to mirror prints, then one of these is probably the wrong way round.



  • Also I'm running it on Marlin. Is this correct?



  • Ok that sounds good. But as I'm looking at the printer the X endstop is on the right hand side and the Y is at the back on the left. So when I home all the head ends up back right if that makes scence.


  • administrators

    So you need to reverse the X motor direction in the M569 P0 command, change the X endstop configuration in the M574 command to be a max endstop instead of a min endstop (use X2 instead of X1), and change the homex.g and homeall.g files to home towards maximum X instead of minimum.



  • Ok, so jog X+ it moves to the right towards the endstop and when home x it meets the endstop.

    When Y+ is pressed the carrige comes towards me now away from endstop. When I homw Y it meets the endstop.

    When I go to print It looks like the Y is mirrored and still printing from the back of the machine.

    Here is my confi.g file

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Wed Dec 27 2017 00:21:16 GMT+0000 (GMT Standard Time)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves
    M555 P2 ; Set firmware compatibility to look like Marlin
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E10 F1000"
    M208 X-20 Y-5 Z-2 S1 ; Set axis minima
    M208 X230 Y150 Z150 S0 ; Set axis maxima

    ; Endstops
    M574 X2 Y1 Z1 S0 ; Set active low endstops
    M558 P1 H5 F120 T3000 ; Set Z probe type to unmodulated and the dive height + speeds
    G31 P500 X0 Y0 Z-0.02 ; Set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:135 S20 ; Define mesh grid

    ; Drives
    M569 P0 S1 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X64 Y64 Z64 E64 I1 ; Configure microstepping with interpolation
    M92 X800.800 Y800.800 Z1600 E3380.220 ; Set steps per mm
    M566 X1000 Y1000 Z120 E1500 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z1200 E4200 ; Set maximum speeds (mm/min)
    M201 X1700 Y1700 Z90 E5000 ; Set accelerations (mm/s^2)
    M906 X500 Y600 Z350 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S200 ; Set temperature limit for heater 0 to 200C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

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

    ; Network
    M550 PFlashForge ; Set machine name
    M551 Pleo123 ; Set password
    M552 S1 ; Enable network
    M587 S"BTHub6-TGM3" P"HTpqc97AWmfr" ; 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

    ; Fans
    M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings are not configured
    M501

    Many thank

    Rob


  • administrators

    Did you change the M569 P1 command as well as the M569 P0 command? If so, you should have left it alone i.e. M569 P1 S1 so that +Y moves the print head towards the back (or moves the bed towards the front if the bed moves in the Y axis).



  • Hi Rob,

    I also own a FFCP which was converted to DuetWifi.
    Here is how my Simplify3d GCODE tab look like:

    My home position is at the rear-right corner of the bed.

    and this is my config.g file:
    [c]
    ; Configuration file for Duet WiFi (Firmware 1.20)
    ; Executed by the firmware on start-up

    ; General preferences
    M111 S0; Debugging off
    G21; Work in millimetres
    G90; Set absolute coordinates
    M83; Set relative extruder moves
    M555 P1; Set firmware compatibility to look like RepRapFirmare
    M575 P1 B57600 S1; Comms parameters for PanelDue

    ; Network settings
    M550 PGuyaros Creator Pro; Set machine name
    M551 PABCD; Set password
    M587 S"ssid" I192.168.1.100 J192.168.1.1; Add Wifi host to network, set network SSID (S), set IP address to use when connected to this network (I)
    M552 P"ssid" S1; Set SSID of network to connect to (P) ,Enable networking as a client (S1)
    M586 P2 S0; Disable TELNET network protocol

    ; Motors drivers
    M569 P0 S0; Set (X) motor drive 0 (P0) (X) goes backward (S0)
    M569 P1 S0; Set (Y) motor drive 1 (P1) goes backward (S0)
    M569 P2 S1; Set (Z) motor drive 2 (P2) goes forward (S1)
    M569 P3 S1; Set (E0) motor drive 3 (P3) goes forward (S1)

    M350 X16 Y16 Z16 E16 I1; Set microstepping to x16 step, Interpolation enabled (I1)
    ;M92 X93.718 Y93.718 Z400 E192.55; Set axis steps/mm
    M92 X94.118 Y94.118 Z400 E192.55; Set axis steps/mm
    M906 X700 Y700 Z400 E1200 I20; Set motor currents [mA] and motor idle factor in percent (20%)
    M84 S10; Set idle timeout to 10[sec] (S10)

    ; Axis kinematics
    M201 X560 Y560 Z250 E300; Set axis accelerations [mm/s^2]
    M566 X840 Y840 Z840 E120; Set axis maximum instantaneous speed changes [mm/min]
    M203 X4800 Y4800 Z720 E1200; Set axis maximum speeds [mm/min]

    ; Axis size
    M208 X0 Y0 Z-3 S1; Set axis minima
    M208 X290 Y145 Z165 S0; Set axis maxima

    ; Endstops
    M574 X1 S1; Set endstop configuration, X endstop at low end (X1), Active high (S1)
    M574 Y1 S0; Set endstop configuration, Y endstop at low end, Active low (S0)
    M574 Z1 S2; Set endstop configuration, Z Probe at low end

    ; Z probe and Bed compensation
    M558 P1 Z1 F240 H1 T4800; Set Z probe type to IR probe (P1), and is used for homing Z axis (Z1), Feed rate 4[mm/sec] (F240), Dive height 1[mm] (H1), Travel speed between points 80[mm/sec] (T4800),
    G31 X35 Y0 Z1.5 P500; Set the probe offset on x axis (X35), set z probe trigger height (Z1.78), set probe output value at trigger height which is 500 for dc42 IRprobe(P500) (FlashForge Blue BuildTak)
    M557 X60:255 Y10:128 S40; Set probing grid for Auto Bed Leveling using G29 command, X(min:max) Y(min:max) S(Spacing)

    ; Heaters & Thermistors
    ; Bed
    M305 P0 T94573 B4230 R4700 L0 H0; Set thermistor + ADC parameters for heater 0 (P0)
    M304 P430.7 I0.478 D452.2; Set Bed PID parameters
    M307 H0 A242.2 C901.9 D1.5 S1.0; Set heating process parametersheater, Heater0 (H0), Gain (A242.2), time Constant (C901.9), Dead time (D1.5), maximum PWM 100% (S1.0)
    M143 H0 S120; Set temperature limit for heater 0 (H0) to 120[deg] (S120)
    ; Extruder
    M305 P1 T90000 B4085; Set thermistor and ADC parameters
    M143 S255; Set maximum heater temperature to 255C
    M301 H1 P17.0 I0.116 D59.4; Set Heater 1 (H1) PID parameters, proportional (P), Integral (I), Differntial (D)
    M307 H1 A306.6 C146 D6 S1.0; Set heating process parameters, Heater1 (H1),Gain (A), time constant (C), Dead time (D), Max PWM 100% (S1.0)
    M912 P0 S-16.1; Calibrate CPU temp sensor

    ; Fans
    M106 P0 S0 I0 F250 H-1; Set fan 0 value, PWM signal inversion and frequency, Thermostatic control is turned off (Duet board fan)
    M106 P1 S0 I0 F250 H1 T45 L1; Set fan 1 value, PWM signal inversion and frequency, Thermostatic control is turned on (Extruder0 Fan)
    M106 P2 S0 I0 F250 H-1; Set fan 2 value, PWM signal inversion and frequency, Thermostatic control is turned off (Blower fan)

    ; Tools
    M563 P0 D0 H1 F2; Define tool 0 (P0), uses Extruder 0(E0) (D0), uses Heater 1 (Actually Heater E0), uses Fan 2 (F2)
    G10 P0 X0 Y0; Set tool 0 axis offsets
    G10 P0 R0 S0; Set initial tool 0 active and standby temperatures to 0C
    T0; Select first tool
    [/c]



  • Hi Guyaros. Thank you very much for taking up your time with sharing your config.g file with me. It's been very frustraring few days for me as I got given a full file for the FFC pro by Jeff and i managed to mess things up with it. A big learning curve for me with the Duet, but I'm going to persevere with it and learn the setting up of It, as I've started to knock up a homemade corexy.

    I'm doing some test prints with it now, so I will report with results and many other questions that I know I will have, so glad iv'e joined this forum, It's good to know there is alot of support here.

    Many thanks

    Rob



  • Hi Rob,

    I'm glad I could help.
    It does take some learning curve the learn how to handle the Duet.
    fortunately, the DuetWiki is very informative, and I would recommend you to invest some time in reading the wiki.
    Also, the support in the forum is superb, so I am sure you will be able to make your machine print excellent models very soon.


Locked
 

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