LR4 Z Axis going to Max when running gcode

Hi, lads from :ireland:

Just finished up my LR4 build and had it cutting last night perfectly doing a v1 logo

Came out today with a file to cut my strut plates and when I ran it the machine went straight up to the Z end stops and started running the program from there in the air

I ran the same file that cut my logo yesterday and it is now doing the same, it’s like it’s homing fully and then beginning at Z0 and working down this leads me to believe it’s an issue with the board/software as it’s doing it now to any file that worked before

It is still homing and jogging perfectly it’s just trying to cut in the air now, I’m posting here now to see if it’s something simple before I go and try reinstalling the firmware

$SS
[MSG:INFO: FluidNC v3.9.1 {link won’t post in forum }//gi hub.c om/bdring/Fl uidNC]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:INFO: Configuration file:config.yaml]
[MSG:INFO: Machine LowRider]
[MSG:INFO: Board Jackpot TMC2209]
[MSG:INFO: UART1 Tx:gpio.0 Rx:gpio.4 RTS:NO_PIN Baud:115200]
[MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21]
[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]
[MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN freq:20000000]
[MSG:INFO: Stepping:I2S_STATIC Pulse:2us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]
[MSG:INFO: User Digital Output: 0 on Pin:gpio.26]
[MSG:INFO: User Digital Output: 1 on Pin:gpio.27]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (3.000,1263.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:0 CS:NO_PIN Step:I2SO.2 Dir:I2SO.1 Disable:I2SO.0 R:0.110]
[MSG:INFO: X Neg Limit gpio.25]
[MSG:INFO: Axis Y (3.000,2483.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:1 CS:NO_PIN Step:I2SO.5 Dir:I2SO.4 Disable:I2SO.7 R:0.110]
[MSG:INFO: Y Neg Limit gpio.33]
[MSG:INFO: Motor1]
[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.14 Step:I2SO.13 Dir:I2SO.12 Disable:I2SO.15 R:0.110]
[MSG:INFO: Y2 Neg Limit gpio.35]
[MSG:INFO: Axis Z (-297.000,3.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:2 CS:NO_PIN Step:I2SO.10 Dir:I2SO.9 Disable:I2SO.8 R:0.110]
[MSG:INFO: Z Pos Limit gpio.32]
[MSG:INFO: Motor1]
[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.19 Step:I2SO.18 Dir:I2SO.17 Disable:I2SO.16 R:0.110]
[MSG:INFO: Z2 Pos Limit gpio.34]
[MSG:INFO: X Axis driver test passed]
[MSG:INFO: Y Axis driver test passed]
[MSG:INFO: Y2 Axis driver test passed]
[MSG:INFO: Z Axis driver test passed]
[MSG:INFO: Z2 Axis driver test passed]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: STA SSID is not set]
[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]
[MSG:INFO: AP started]
[MSG:INFO: WiFi on]
[MSG:INFO: Captive Portal Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]
[MSG:INFO: Flood coolant gpio.2]
[MSG:INFO: Mist coolant gpio.16]
[MSG:INFO: Probe gpio.36:low]
ok

I have a video of it doing this I will try to link to the thread, or it might be on the Facebook group if its approved

Thanks and merry Christmas :christmas_tree:

Hand you power cycled it, and what version of fluid?

You’ll need to share at least the beginning of the gcode. It sounds like it might be probing related.

@johng290 - Odds are that you somehow lost the Z=0 location (possibly due to a power cycle), and if you didn’t home then probe to the material, the machine thought that the Z=0 was at the top of your gantry (default I think with FluidNC/Jackpot).

If you probe first and then set Z=0 to the stock, and then run the program again, does that fix the issue?

1 Like

I Turned it on and off multiple times with no change, I’m not sure how to check the version its a fresh board off Ryan ordered in mid november

I haven’t got a probe set up I went home and lowered the z to the stock multiple times and it has done the same thing, how do you set Z=0?

Hi, Heres the first few lines of G-code from the V1 logo which worked yesterday

;Project V1 Engineering full set flat
;Created by Estlcam version 12 build 12.119
;Machining time about 00:42:31 hours

G90
M03 S24000
G00 X0.0000 Y0.0000 Z0.0000 F2100
G00 Z5.0000 F480

;No. 1: Pocket 1
G00 X153.1915 Y144.7383 F2100
G00 Z0.5000 F480
G02 X151.6915 Y143.8723 Z0.1667 I-1.0000 J0.0000 F240 S24000
G02 Y145.6043 Z-0.1667 I0.5000 J0.8660 F240
G02 X153.1915 Y144.7383 Z-0.5000 I0.5000 J-0.8660 F240
G02 X152.1915 Y143.7383 Z-0.7500 I-1.0000 J0.0000 F240
G02 X151.1915 Y144.7383 Z-1.0000 I0.0000 J1.0000 F240
G02 X152.6915 Y145.6043 I1.0000 J0.0000 F240
G02 Y143.8723 I-0.5000 J-0.8660 F240
G02 X151.1915 Y144.7383 I-0.5000 J0.8660 F240
G02 X153.8915 I1.3500 J0.0000 F900

And here’s the first from today’s strut attempt

;Project strut_plate
;Created by Estlcam version 12 build 12.119
;Machining time about 02:28:55 hours

G90
M03 S24000
G00 X0.0000 Y0.0000 Z0.0000 F2100
G00 Z5.0000 F480

;No. 1: Hole 25
G00 X76.1345 Y137.9017 F2100
G00 Z0.5000 F480
G01 Z0.0000 F240 S24000
G01 X77.5083 Z-0.5000 F240
G01 X76.1345 Z-1.0000 F240
G01 X94.2583 F1080
G01 X82.4044 Y139.3017 F1080
G01 X76.4159 F1080
G01 X76.6972 Y140.7017 F1080
G01 X80.8724 F1080
G02 X80.7942 Y142.1017 I2.2013 J0.8251 F1080
G01 X76.9785 F1080
G01 X77.2599 Y143.5017 F1080
G01 X81.0725 F1080

In Marlin it is G92 Z0 . I’m not sure if that is the same in FluidNC/Jackpot world.

Without a probe, you are really just guessing where the bit is in relation to the stock. You could do what is done with 3D printers, and place a piece of paper or thin cardboard (business card or similar) between the bit and the stock, then slowly lower the end mill (bit) until there is a light drag. Then set the G92 Z(x) where (x) is the thickness of the paper/cardboard.

1 Like

Thanks,

I know you can input Code to the board from the website so I might try that

I guessed that coming from the 3d printing world myself I was sort of doing that and eyeballing it haha, After I get my struts cut I do plan on getting a probe set up when I’m reassembling it :smile:

Thanks to @Bartman I managed to get it up and running today,

That G-code worked when input manually but then I noticed there is an option to Zero each axis (Arrows) built into fluid and a button that does them all in one (circled) I’m not sure how I missed them but i have attached a photo for anyone else who ran into the same issues as me

Thanks, Lads for the help It probably won’t be the last time :laughing:
Have a good Christmas

2 Likes