warning: position tolerance exceeded, But only in one direction
-
My CNC machine has 2 motors on the X axis, they are 1HCL boards.
Board 51 keeps giving me " warning: position tolerance exceeded" by the dozens. But only when traveling in the positive direction. This happens at pretty much every speedI tried:
- setting acceleration verry low
- reduced the amount of microsteps
- played with dozens of feedrates
The machine seems to work great besides spamming my console with warnings.
Board 50 never gave me a warning, even at ludicrous speeds. And it doesn't happen in the negative direction.I am out of ideas. Does anyone have any suggestions?
Running FW 3.6.0-rc.3
config.g:; General preferences G90 ; send absolute coordinates... M550 P"RatRig" ; set machine name ; Network M552 P0.0.0.0 S1 ; enable network with DHCP M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S0 ; disable Telnet ; Internal Serial M575 P1 S7 B57600 M575 P2 S1 B57600 ; -------------------- ; Wait for CAN startup ; -------------------- G4 S1 ; ------------------- ; Define CAN endstops ; ------------------- M574 X1 S1 P"50.io0.in" M574 Y1 S1 P"52.io0.in" M574 Z1 S1 P"53.io0.in" ; ----------------- ; Define CAN motors ; ----------------- ; X0 adress 50 M569.1 P50.0 T2 C1000 R100 ; Quadrature encoder, 1000 steps, 100 Proportional constant M569 P50.0 S0 D0 ; Start in open loop mode ; X1 adress 51 M569.1 P51.0 T2 C1000 R100 ; Quadrature encoder, 1000 steps, 100 Proportional constant M569 P51.0 S0 D0 ; Start in open loop mode ; Y0 adress 52 M569.1 P52.0 T2 C1000 R100 ; Quadrature encoder, 1000 steps, 100 Proportional constant M569 P52.0 S0 D0 ; Start in open loop mode ; Z0 adress 53 M569.1 P53.0 T2 C1000 R100 ; Quadrature encoder, 1000 steps, 100 Proportional constant M569 P53.0 S0 D0 ; Start in open loop mode ; ----------------------- ; Define coordinate sytem ; ----------------------- M584 X50.0:51.0 Y52.0 Z53.0 ; set drive mapping M350 X8 Y8 Z8 I1 ; configure microstepping with interpolation M92 X160 Y160 Z400 ; set steps per mm M566 X0 Y0 Z0 ; set maximum instantaneous speed changes (mm/min) M203 I10 ; set minimum speed to (mm/min) M203 X3200 Y3200 Z600 ; set maximum speeds (mm/min) M201 X300 Y300 Z300 ; set accelerations (mm/s^2) M906 X4000 Y4000 Z4000 I70 ; set motor currents (mA) and motor idle factor in per cent ;M84 S30 ; set idle timeout ; Axis Limits M208 X0 Y0 Z-130 S1 ; set axis minima M208 X1450 Y1000 Z0 S0 ; set axis maxima, Lengte endstop draad Y = 500 ; Z-Probe 3D touch M558 K0 P5 C"!io7.in" H2 A3 S0.01 T3200 F600:150 ; Probe 0, Mode 5, IO7, Dive height, Probe amount, Travel speed, Feedrate ; Z-Probe toolsetter M558 K1 P8 C"io8.in" H2 A3 S0.01 T3200 F800:400 ; Probe 1, Mode 8, IO7, Dive height, Probe amount, Travel speed, Feedrate ; Spindle M950 R0 C"out1" L3000:24000 Q2000 ; Spindle 0, Pin out1, 24k RPM, 2000Hz PWM ; START MACHINE !!! M453 ; Switches to CNC mode. G54 ; Selects coordinate system 1. ; Miscellaneous M501 ; load saved parameters from non-volatile memory M98 P"mos.g"
homex.g:
; homex.g ; called to home the X axis ; M569 P50.0 D0 ; Make sure we are in open loop mode M569 P51.0 D0 ; Make sure we are in open loop mode G91 ; relative positioning G1 H1 X-1500 F2000 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F3200 ; go back a few mm G1 H1 X-10 F300 ; move slowly to X axis endstop once more (second pass) G92 X0 G90 ; absolute positioning G1 X50 F3000 ; Move to a known-safe position M400 ; Wait for the move to complete G4 P200 ; Wait for the motor to settle M569 P50.0 D5 ; Switch to assisted open loop mode M569.6 P50.0 V1 ; Perform the calibration manoeuvre for a quadrature shaft encoder M569 P51.0 D5 ; Switch to assisted open loop mode M569.6 P51.0 V1 ; Perform the calibration manoeuvre for a quadrature shaft encoder G1 X0 ; Move back to X0
-
undefined Phaedrux marked this topic as a question