Error: G1/G2/G3: intermediate position outside machine limits
-
please post your config.g file
-
This post is deleted! -
@bearer
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.0.4 on Thu Oct 03 2019 23:07:09 GMT+0700 (Western Indonesia Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"CR-10S" ; set printer name; Network
M551 P"***" ; set password
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes backwards
M569 P4 S1 ; physical drive 4 goes forwards
M584 X0 Y1 Z2:4 E3 ; set drive mapping
M350 X16 Y16 Z16:16 E16 I1 ; configure microstepping with interpolation
M92 X100.00 Y100.00 Z400.00:400.00 E418.00 ; set steps per mm
M566 X480.00 Y480.00 Z24.00:24.00 E88.23 ; set maximum instantaneous speed changes (mm/min)
M203 X12000 Y12000 Z2000.00:2000.00 E7200.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00:100.00: E5000.00 ; set accelerations (mm/s^2)
M906 X750 Y750 Z750:750 E675 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 X300 Y300 Z400 S0 ; set axis maxima; Endstops
M574 X1 Y1 S1 ; set active high endstops; Z-Probe
M574 Z1 S2 ; set endstops controlled by probe
M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M558 P9 H5 F420 T6000 A3 ; set Z probe type to bltouch and the dive height + speeds
G31 P25 X32 Y-2 Z2.45 ; set Z probe trigger value, offset and trigger height
M557 X52:280 Y30:280 S112 ; define mesh grid; Heaters
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4725 C7.060000e-8 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
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 H1 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; 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;BLtouch
;M307 H3 A-1 C-1 D-1 ;Deactivate Heater 3; Custom settings are not defined
; Miscellaneous
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
maybe @Phaedrux or @droftarts or any of the other config wizzards can take a look?
-
@Kandar what firmware version? Send M115 to Duet, post reply.
Also, please post Gcode that produced error. I think it has G2 or G3 arc moves in it. Probably these are too close to the edge of the bed, so it can’t do the move.
For the mesh probe error, we need to know the exact error message. Post your bed.g file too.
Ian
-
@droftarts said in Error: G1/G2/G3: intermediate position outside machine limits:
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-06-13b2
-
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v2.0.4 on Thu Oct 03 2019 23:07:09 GMT+0700 (Western Indonesia Time)
M561 ; clear any bed transform
G29;M98 Pdeployprobe.g
;G30 P0 X10 Y10 H0 Z-99999
;G30 P1 X10 Y260 H0 Z-99999
;G30 P2 X260 Y260 H0 Z-99999
;G30 P3 X260 Y10 H0 Z-99999
;G30 P4 X150 Y150 H0 Z-99999 S
;M98 Pretractprobe.g -
@droftarts Please help, brother
-
This message also appears when I do "run mesh grid compensation"
-
@Kandar said in Error: G1/G2/G3: intermediate position outside machine limits:
This message also appears when I do "run mesh grid compensation"
This happens when the grid you've specified contains areas that the probe cannot physically reach, so it's telling you it's skipped them. Your mesh spacing is 112, but your grid 52-280=228. 228/112=2.03 So change your grid spacing to 114 and it should fit two points into the grid on X. That won't help for Y though.
The best way to optimize the grid size is to take your M208 minima and maxima and subtract/add the probe offsets which will give you the areas that the probe can actually reach. Then set the spacing or adjust the grid size so that you can get a nice even number of points in both directions.
As for the G1/G2/G3 error, you haven't provided the gcode that is causing the error so it's hard to say what's happening.
-
For this error, which code should I tell you about? so you can help me.
-
@Phaedrux
What is an error: G1 / G2 / G3
related to linear motion and arc movement? -
@Kandar It's probably an arc, hence the 'intermediate' position. The end points are within the area, but the arc goes outside the bed area. Though it would be odd to have it in generated gcode, as hardly any slicer uses arc movements. Please can you post the gcode? You also an error about an M73 command, which isn't even a defined command!
What slicer/gcode generator are you using? You're also using older firmware (2.03) and I think there have been improvements to the handling of arc movements since then. Update to 2.05.1 https://github.com/dc42/RepRapFirmware/releases/tag/2.05.1
Ian
-
-
I am an amateur brother, I just entered the world of 3D printing, I'm even confused what to do with the link that you provide, because inside there are many files. Which file should I download? All or some? ...
-
@Kandar Upload 'Duet2CombinedFirmware.bin' from the link to the Duet. It should ask you if you want to install the firmware update (depending on the version of DWC you are using). If it doesn't, send M997 S0 to update the firmware.
I can't see any arc moves in the gcode file you sent me. Can you tell me how far into the print (what layer height) you get the error?
Ian
-
I use Cura Slicer
-
@droftarts said in Error: G1/G2/G3: intermediate position outside machine limits:
Can you tell me how far into the print (what layer height) you get the error?
I print with a layer height of 0.2 mm, and from the first screen, I already get an error.
-
@Kandar Okay, I can't see any problem with the gcode file you sent, all gcodes are within the machine limits. There is also no M73 commands in it. I think what has happened is that the file has got corrupted as it was uploaded to the Duet, so the file on the SD card is corrupt. This can happen with older versions of the firmware, particularly if you upload while printing.
Delete the version of the gcode that is on the SD card. Upload a new version while the printer is not printing, and try again.
Updating the firmware should improve this. In the latest 2.05.1, you can turn on CRC checking of uploaded files. You do need to be running an up to date version of DWC; use 'DuetWebControl-SD-2.0.7.zip' in the same place as the 2.05.1 firmware.
You can then set 'Use CRC32 checksums for uploads' in Settings > Machine Specific > Communication.
Ian
-
The "intermediate position outside machine limits" error can occur on a G1 command if the machine position after homing is outside the limits set by M208 and either your machine uses segmented kinematics or you have enabled mesh bed compensation.
What XYZ position does PanelDue show after homing, and what are your M208 limits?