Getting error 9 intermittently

What really is error 9? can anyone suggest what is going on here? The machine kind of works but keeps saying error 9 but usually it is ready to cut. It pulses a lot, so moves a bit side to side when z moves and also dips off track hard about 1mm at the start of a cut.

It’s a vertical setup.

here is the serial log:

Serial Messages
Index.html Version: v1.17
[MSG:INFO: Channel auto report interval set to 50 ms]
[MSG:INFO: FluidNC v1.17]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:WARN: Previous boot ended in panic - attempting to load config anyway]
[MSG:INFO: Configuration file:maslow.yaml]
[MSG:INFO: Machine Maslow S3 Board]
[MSG:INFO: Board Maslow]
[MSG:INFO: UART1 Tx:gpio.1 Rx:gpio.2 RTS:NO_PIN Baud:115200]
[MSG:INFO: SPI SCK:gpio.12 MOSI:gpio.11 MISO:gpio.13]
[MSG:INFO: SD Card cs_pin:gpio.10 detect:NO_PIN freq:8000000]
[MSG:INFO: Stepping:Timed Pulse:4us Dsbl Delay:0us Dir Delay:0us Idle Delay:240ms]
[MSG:INFO: Axis count 5]
[MSG:INFO: Axis A (-5000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis B (-5000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis C (-5000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis D (-5000.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: Axis Z (-100.000,0.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:0 Step:gpio.15 Dir:gpio.16 Disable:NO_PIN R:0.11]
[MSG:INFO: Motor1]
[MSG:INFO: tmc_2209 UART1 Addr:1 Step:gpio.46 Dir:gpio.38 Disable:NO_PIN R:0.11]
[MSG:INFO: Z Axis driver test passed]
[MSG:INFO: Z2 Axis driver test passed]
[MSG:INFO: Using spindle NoSpindle]
[MSG:INFO: Connecting to STA SSID:Shackteau_2.4g]
[MSG:INFO: Connecting.]
[MSG:INFO: Connecting..]
[MSG:INFO: Connected - IP is 192.168.1.101]
[MSG:INFO: WiFi on]
[MSG:INFO: Start mDNS with hostname:http://maslow.local/\]
[MSG:INFO: SSDP Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]
Grbl 1.17 [FluidNC v1.17 (wifi) ‘$’ for help]
Grbl 1.17 [FluidNC v1.17 (wifi) ‘$’ for help]
[MSG:INFO: ‘$H’|‘$X’ to unlock]
[MSG:INFO: Encoder connected on Top Left]
[MSG:INFO: Motor detected on Top Left]
[MSG:INFO: Encoder connected on Top Right]
[MSG:INFO: Motor detected on Top Right]
[MSG:INFO: Encoder connected on Bottom Left]
[MSG:INFO: Motor detected on Bottom Left]
[MSG:INFO: Encoder connected on Bottom Right]
[MSG:INFO: Motor detected on Bottom Right]
[MSG:INFO: Current z-axis position loaded as: 32.260]
[MSG:INFO: TL encoder angle difference too large (-1880 counts), treating belt positions as stale]
[MSG:INFO: Starting Maslow Version v1.17]
[MSG:INFO: Channel auto report interval set to 50 ms]
Release Tension
[MSG:INFO: Requesting state change from Unknown to Releasing Tension]
[MSG:INFO: Succeeded]
[MSG:INFO: Requesting state change from Releasing Tension to Unknown]
[MSG:INFO: Succeeded]
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
error:9
error:9
error:9
error:9
error:9
error:9
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
error:9
error:9
error:9
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z0.02 (mm)
error:9
JogTo: $J=G91F300Z0.02 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
Retract All
[MSG:INFO: Retracting all belts]
[MSG:INFO: Requesting state change from Unknown to Retracting Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: Bottom Left pulled tight with offset -1093.524]
[MSG:INFO: Top Left pulled tight with offset -1733.781]
[MSG:INFO: Bottom Right pulled tight with offset -1989.922]
[MSG:INFO: Top Right pulled tight with offset -2397.582]
[MSG:INFO: Requesting state change from Retracting Belts to Belts Retracted]
[MSG:INFO: Succeeded]
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
error:9
error:9
JogTo: $J=G91F300Z-3 (mm)
error:9
JogTo: $J=G91F300Z-3 (mm)
error:9
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
error:9
error:9
error:9
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
error:9
error:9
JogTo: $J=G91F300Z-3 (mm)
error:9
JogTo: $J=G91F300Z-3 (mm)
JogTo: $J=G91F300Z-3 (mm)
Set Z-Stop
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
error:9
error:9
error:9
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
error:9
error:9
error:9
JogTo: $J=G91F300Z3 (mm)
error:9
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
JogTo: $J=G91F300Z3 (mm)
Retract All
[MSG:INFO: Retracting all belts]
[MSG:INFO: Requesting state change from Belts Retracted to Retracting Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: Top Right pulled tight with offset -0.021]
[MSG:INFO: Bottom Right pulled tight with offset 0.011]
[MSG:INFO: Bottom Left pulled tight with offset -0.021]
[MSG:INFO: Top Left pulled tight with offset -0.043]
[MSG:INFO: Requesting state change from Retracting Belts to Belts Retracted]
[MSG:INFO: Succeeded]
Extend All
[MSG:INFO: Extending all belts]
[MSG:INFO: Requesting state change from Belts Retracted to Extending Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: All belts extended to 1850.000mm]
[MSG:INFO: Requesting state change from Extending Belts to Belts Extended]
[MSG:INFO: Succeeded]
Apply Tension
[MSG:INFO: Requesting state change from Belts Extended to Taking Slack]
[MSG:INFO: Succeeded]
[MSG:INFO: Measured waypoint 0]
[MSG:INFO: Center point deviation: TL: 0.000 TR: 0.000 BL: -0.751 BR: -1.270]
[MSG:INFO: Center point deviation within 12.000mm, your coordinate system is accurate]
[MSG:INFO: Requesting state change from Taking Slack to Ready To Cut]
[MSG:INFO: Succeeded]
JogTo: $J=G91F98.43X-10 (inch)
JogTo: $J=G91F98.43X-10Y-10 (inch)
JogTo: $J=G91F98.43X-1Y-1 (inch)
Home pos set for: Z
[G54:-495.417,-458.000,36.000,0.000,0.000]
JogTo: $J=G91F11.81Z-0.118 (inch)
JogTo: $J=G91F11.81Z-0.118 (inch)
JogTo: $J=G91F11.81Z0.118 (inch)
JogTo: $J=G91F11.81Z0.118 (inch)
JogTo: $J=G91F11.81Z-0.118 (inch)
JogTo: $J=G91F11.81Z-0.118 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
error:9
Home pos set for: Z
[G54:-495.417,-458.000,27.974,0.000,0.000]
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
error:9
Home pos set for: X
Home pos set for: Y
[G54:-539.303,-458.000,27.974,0.000,0.000]
[G54:-539.303,-467.444,27.974,0.000,0.000]
[MSG:INFO: Program End]
[MSG: /sd/36 square test.nc file job succeeded]
JogTo: $J=G91F98.43X-0.0429Y-35.9549 (inch)
JogTo: $J=G91F98.43X-10 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F98.43X-10Y10 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F98.43X10 (inch)
JogTo: $J=G91F98.43X10 (inch)
JogTo: $J=G91F98.43X10 (inch)
error:9
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F98.43X-10 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F98.43X0.0001Y-10.0001 (inch)
JogTo: $J=G91F98.43X-0.5Y-0.5 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
error:9
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
error:9
error:9
error:9
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
error:9
error:9
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
error:9
error:9
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
Home pos set for: Z
[G54:-539.303,-467.444,29.117,0.000,0.000]
Release Tension
[MSG:INFO: Requesting state change from Ready To Cut to Releasing Tension]
[MSG:INFO: Succeeded]
[MSG:INFO: Requesting state change from Releasing Tension to Belts Extended]
[MSG:INFO: Succeeded]
Retract All
[MSG:INFO: Retracting all belts]
[MSG:INFO: Requesting state change from Belts Extended to Retracting Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: Bottom Left pulled tight with offset 0.032]
[MSG:INFO: Top Left pulled tight with offset 0.021]
[MSG:INFO: Bottom Right pulled tight with offset -0.440]
[MSG:INFO: Top Right pulled tight with offset 0.118]
[MSG:INFO: Requesting state change from Retracting Belts to Belts Retracted]
[MSG:INFO: Succeeded]
Retract All
[MSG:INFO: Retracting all belts]
[MSG:INFO: Requesting state change from Belts Retracted to Retracting Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: Top Right pulled tight with offset -0.129]
[MSG:INFO: Top Left pulled tight with offset -0.043]
[MSG:INFO: Bottom Left pulled tight with offset -0.032]
[MSG:INFO: Bottom Right pulled tight with offset -0.011]
[MSG:INFO: Requesting state change from Retracting Belts to Belts Retracted]
[MSG:INFO: Succeeded]
Extend All
[MSG:INFO: Extending all belts]
[MSG:INFO: Requesting state change from Belts Retracted to Extending Belts]
[MSG:INFO: Succeeded]
[MSG:INFO: All belts extended to 1850.000mm]
[MSG:INFO: Requesting state change from Extending Belts to Belts Extended]
[MSG:INFO: Succeeded]
Apply Tension
[MSG:INFO: Requesting state change from Belts Extended to Taking Slack]
[MSG:INFO: Succeeded]
[MSG:INFO: Measured waypoint 0]
[MSG:INFO: Center point deviation: TL: 0.000 TR: 0.000 BL: -0.980 BR: 0.634]
[MSG:INFO: Center point deviation within 12.000mm, your coordinate system is accurate]
[MSG:INFO: Requesting state change from Taking Slack to Ready To Cut]
[MSG:INFO: Succeeded]
JogTo: $J=G91F98.43X-10 (inch)
JogTo: $J=G91F98.43Y-10 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F11.81Z0.02 (inch)
JogTo: $J=G91F98.43Y-1 (inch)
JogTo: $J=G91F98.43Y-1 (inch)
Home pos set for: X
Home pos set for: Y
[G54:-260.435,-467.444,29.117,0.000,0.000]
[G54:-260.435,-490.291,29.117,0.000,0.000]
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
JogTo: $J=G91F11.81Z-0.02 (inch)
Home pos set for: Z
[G54:-260.435,-490.291,27.596,0.000,0.000]
error:66
[MSG:INFO: Program End]
[MSG: /sd/36 square test.nc file job succeeded]
JogTo: $J=G91F11.81Z0.2 (inch)
JogTo: $J=G91F98.43X-0.0431Y-35.9552 (inch)
JogTo: $J=G91F98.43X-10 (inch)
Home pos set for: X
Home pos set for: Y
[G54:-514.437,-490.291,27.596,0.000,0.000]
[G54:-514.437,-490.300,27.596,0.000,0.000]
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
error:9
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
error:9
error:9
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
error:9
error:9
error:9
error:9
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
JogTo: $J=G91F98.43X0.5 (inch)
error:9
error:9
JogTo: $J=G91F98.43Y-0.5 (inch)
JogTo: $J=G91F98.43Y0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
error:9
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
error:9
error:9
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
JogTo: $J=G91F98.43X-0.5 (inch)
error:9
error:9

When you are jogging and you put in multiple Jogs the system is busy and puts a * 9: GCode cannot be executed in lock or alarm state. They can safely be ignored as the command is still processed when the system is ready. To avoid it you can change the Jog value (Click on the number in the centre and change how far you want to go in 1 step. For more information on error codes see Alarm and Error Codes | Wiki.js

When you jog or move the Z axis manually, after movement the belts relax slightly. When you recommence, the belts are tightened prior to the next movement. When running a cut file the belts should tighten and stay tight until the file is completed, unless interrupted by a pause or stop command (or something going wrong). Start the cut with the bit raised and you should get a clean cut.

1 Like

9: GCode cannot be executed in lock or alarm state

this should be saying that you didn’t clear alarm or something else to put it in
an error state

David Lang

Great! I get it now - seems to work pretty well. I was just being lazy and not setting a new number in the jog window.