SKR Pro V1.2 strange testing issue

Hi All,

Quick question: have been testing the electronics for my MPCNC today, it’s an SKR Pro V1.2 and TFT35 E3 V3.0. I’m just testing with the board and 3 steppers on my worktop at the moment, I haven’t put the MPCNC together yet.

It seems to work ok, I can move the steppers, and I can load some g-code from the TFT card slot (although not from the internal micro SD slot?) and run it. See code below (apologies, can’t seem to find any code tag option!).

The first time it runs fine, it goes through to 100% ok. But if I try and run it the second time, it stops around 20% in. If I stop the print, then go to the move menu, the steppers don’t respond. After switching off and on, it works again.

Any ideas how to trouble shoot? The code I am loading is shown below (just a little test from the Freecad path workbench).

Thanks,

Brutha,

G0 Z16.000000
G0 X22.980429 Y22.980429
G0 Z14.000000
G1 X22.980429 Y22.980429 Z6.000000
G2 I-22.980429 J-22.980429 K0.000000 X2.572316 Y-32.397275 Z6.000000
G2 I-2.572316 J32.397275 K0.000000 X-32.397275 Y-2.572316 Z6.000000
G2 I32.397275 J2.572316 K0.000000 X-2.572316 Y32.397275 Z6.000000
G2 I2.572316 J-32.397275 K0.000000 X22.980429 Y22.980429 Z6.000000
G1 X22.980429 Y22.980429 Z1.000000
G2 I-22.980429 J-22.980429 K0.000000 X2.572316 Y-32.397275 Z1.000000
G2 I-2.572316 J32.397275 K0.000000 X-32.397275 Y-2.572316 Z1.000000
G2 I32.397275 J2.572316 K0.000000 X-2.572316 Y32.397275 Z1.000000
G2 I2.572316 J-32.397275 K0.000000 X22.980429 Y22.980429 Z1.000000
G1 X22.980429 Y22.980429 Z-0.999999
G2 I-22.980429 J-22.980429 K0.000000 X2.572316 Y-32.397275 Z-0.999999
G2 I-2.572316 J32.397275 K0.000000 X-32.397275 Y-2.572316 Z-0.999999
G2 I32.397275 J2.572316 K0.000000 X-2.572316 Y32.397275 Z-0.999999
G2 I2.572316 J-32.397275 K0.000000 X22.980429 Y22.980429 Z-0.999999
G0 F0.000000 Z16.000000

Try the test crown.

Your gcode is formatted in a way I have not seen. Your Post processor needs some tweaking, 6 decimal places is excessive, non moving axes do not need to be included and you have no speeds specified.

Indeed, I simply did a copy n paste from the g-code preview in Freecad into a text file, I hadn’t gone through the whole post processing step! Will try the crown, thanks!

Thanks, indeed the crown seems to run fine - will spend some time figuring out the post processing!

One question though, should I expect to be able to run code from the board micro SD card?

Am designing the electronics enclosure, and ideally I would use that, but it doesn’t seem to find any files if I put them there, just on the TFT card slot.

Cheers

Brutha

No, we can only configure one SD card, so we have the traditional Marlin Mode sd card configured. You can also run it from the sd card in the TFT in the touch screen mode, but Marlin isn’t in control of that, the TFT software reads that SD and sends it line by line.

All these moves are from the tft screen in touch screen mode?

There are some similar reports and I suspect the trouble may be that an ‘ok’ is missing on the serial port, and the tft thinks marlin is working on something, and Marlin is just waiting for more stuff to come in.

It may be that one of the periodic messages we took out (M121, for example) was mitigating this issue on the 3D printer version of the tft, but we killed that periodic message (because we have no extruder) and so we are seeing it get stuck.

1 Like

Thanks! For now, once I used the Crown file, it didn’t seem to get stuck running from the TFT SD card.

So, I’ll consider the electronics “tested” for now, then revisit in case I have issues when I’m a bit further along in the build.

As per your other post, it sounds like it makes sense to have both card slots available, just in case - will do that!

Hi All,

OK, with the MPCNC post processor from the Freecad forum post here, I’m able to generate code that the SKR accepts and runs nicely (albeit I have to remove the spindle speed command that it doesn’t understand - no doubt I can easily fix that if needed!).

One question though; I’m not sure how the “Home” commands are supposed to work. Either in Marlin or touch mode, if I press any home command, it results in the X stepper spinning and not stopping.

I guess it is waiting to hit a switch - but I am not running a dual end stop setup, just the normal firmware. Isn’t it supposed to go to wherever it thinks (0,0,0) is?

Cheers

Brutha

The homing cycle is designed to find where home is, generally using a switch or sensor. It triggers the sensor for each axis and then sets the known position for that axis, which may or may not be 0 depending on the location of the sensor relative to the motion envelope of the machine.

This is not the same as “travel to coordinate 0,0,0.”

2 Likes