Welcome! Log In Create A New Profile

Advanced

Questions about Firmware v 1.17 and Web Control v1.14

Posted by PeterSimpson 
Questions about Firmware v 1.17 and Web Control v1.14
December 31, 2016 04:24PM
First of all, thank you to all concerned in producing this update.
I have a few questions about the new features (new to me! I previously had firmware v1.09 and web control v1.06)
1. Bed Levelling: The instructions ay, use G29 preceded by G28 to home the axes.
In RepRap Wiki list of G codes for G29 tells us to using M557. Looking at M557 we are told that this command has been depracated in RepRap firmware and that we should us bed.g instead. My bed.g file as well as defining the coordinates of the probe points, also includes the g code instructions for getting there and probing the bed. Executin G28 G29 from the G code console returns a message: Error: No valid grid defined for G29 bed probing The Auto bed compensation button (which uses G32) runs the bed.g file and produces the 3D graphical representation (of the four corners) but looks rather odd. What should I do to use G29? Do I need to modify bed.g to define all the g codes to take the head to up to 100 points and probe the bed at each?

2. In the update notes for v1.17 on Duet v06 boards we are told to change the X motor direction by including the command M569 P0 S0 to reverse the direction of the X motor. This sent the carriage off in the wrong direction and I had to change the command to M569 P0 S1 for it to send the carriage in the right direction.
My Ormerod 1 has a 100k thermistor for the hot end and a 10k thermistor in the bed. In the update instructions I was told to add the following 2 commands to config.g:
M305 P0 R10000
M305 P1 R100000 B4138 C0

Whenever I try to enable either heater I get a 'heater fault' message:
Error: Temperature reading fault on heater 0: sensor open circuit or
Error: Temperature reading fault on heater 1: sensor open circuit
I have made no hardware changes to the machine and all the wiring is intact.
I have not tried modifying or removing these instructions.

Can anybody help?
My config.g file is listed below:

; Configuration file for RepRap Ormerod 1
; RepRapPro Ltd
;
; Copy this file to config.g if you have an Ormerod 1
; If you are updating a config.g that you already have you
; may wish to go through it and this file checking what you
; want to keep from your old file.
;
; For G-code definitions, see [reprap.org]
;
M111 S0 ; Debug off
M550 P3D Printer ; Machine name (can be anything you like). With DHCP enabled connect to (example) [reprapproormerod1] (machine name with no spaces).
M551 Preprap ; Machine password (currently not used)
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
;M552 P0.0.0.0 ; Un-comment for DHCP
M552 P192.168.1.14 ; IP address, comment for DHCP
M553 P255.255.255.0 ; Netmask
M554 P192.168.1.1 ; Gateway, comment for DHCP
M555 P2 ; Set output to look like Marlin
G21 ; Work in millimetres
G90 ; Send absolute corrdinates...
M83 ; ...but relative extruder moves
M906 X800 Y1000 Z800 E800 ; Set motor currents (mA)
;M305 P0 R4700 ; Set the heated bed thermistor series resistor to 4K7
;M305 P1 R4700 ; Set the hot end thermistor series resistor to 4K7
M305 P0 R10000 ; added by PS to comply with firmware v1.17 (10k Thermistor)
M305 P1 R100000 B4138 C0 ; added by PS to comply with firmware v1.17 (100k Thermistor)
M569 P0 S1 ; Set X axis direction
M92 E420 ; Set extruder steps per mm
M558 P1 ; Use an unmodulated Z probe (change to P2 if you update to the modulated probe)
;G31 Z0.8 P600 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup)
G31 Z0.967 P500 ; after calibration (PS 31/12/16). P set to 500 to be compatible with dc42 mini height sensor board
;M556 S80 X0 Y0 Z0 ; axis compensation after calibration (PS 9/3/16)
M201 X500 Y500 Z15 E500 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
M566 X200 Y200 Z30 E20 ; Minimum speeds mm/minute
M563 P0 D0 H1 ; Define tool 0
G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures
;M563 P1 D1 H2 ; Define tool 1 Uncomment if you have a dual colour upgrade
;G10 P1 X19 S-273 R-273 ; Set tool 1 operating and standby temperatures Uncomment if you have a dual colour upgrade
M301 H1 P10 S1.5 ;Change Nozzle Heater Parameters to ensure it reaches temperature in time without overshoot (PS 30/12/2016)
M569 P0 S1 ; added by PS to retain correct direction of X motor in firmware v1.17
Re: Questions about Firmware v 1.17 and Web Control v1.14
January 01, 2017 04:49AM
Hi Peter,
I have set up this way with the original RepRap Omerod thermistors
M305 P0 T10000 B3950 R1000 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B4138 C0 R1000 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction

My X connector was reversed
M569 P0 S0 ; Set X Axis Direction


bed.g
M561 ; clear any existing bed transform
G30 P0 X40 Y10 Z-99999 ; define 4 points in a clockwise direction around the bed, starting near (0,0)
G30 P1 X40 Y190 Z-99999
G30 P2 X190 Y190 Z-99999
G30 P3 X190 Y10 Z-99999
G30 P4 X100 Y100 Z-99999 S0 ; finally probe bed centre, and calculate compensation
G1 X10 Y10 F5000 ; move the head to the corner (optional)

waiting for an answer from the experts you can try this

Happy print

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: Questions about Firmware v 1.17 and Web Control v1.14
January 01, 2017 08:24AM
Hi Peter,

1. There are 2 forms of the M557 command. The old form with the P parameter has been deprecated. The new form without the P parameter is used to define the grid for G29 probing.

2. Whether the X motor direction needs to be reversed or not depends on which way round you have the X motor connector.

3. The parameter in your M305 command that gives the thermistor resistance at 25C is T not R.

HTH David



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Questions about Firmware v 1.17 and Web Control v1.14
January 01, 2017 01:03PM
Thank you very much. Both of you. That's Briiliant. It looks as though I am well on the way to printing my first piece (in 3 years)!
One further question though:
Having generated the grid, probed all the points, generated the csv file and viewed the results on the 3D graphical interface in WebControl, Is is possible to view/export the raw data in the csv file from within the web interface - i.e. without removing the SD card from the printer and plugging it into a PC?
Re: Questions about Firmware v 1.17 and Web Control v1.14
January 01, 2017 05:32PM
Yes, go to Settings->System File Editor and click on the edit or download icon next to the heightmap.csv file name.

Edited 1 time(s). Last edit at 01/01/2017 05:32PM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Questions about Firmware v 1.17 and Web Control v1.14
January 02, 2017 08:33AM
Thank you
Sorry, only registered users may post in this forum.

Click here to login