bdring / Grbl_Esp32

A port of Grbl CNC Firmware for ESP32
GNU General Public License v3.0
1.71k stars 532 forks source link

Translate Machine.h for SStrong #1076

Open SS-mill opened 2 years ago

SS-mill commented 2 years ago

This issue will automatically convert a Grbl_Esp32 "machine.h" file to FluidNC YAML format.

Change YOUR NAME in the title to some string that identifies your machine configuration.

Attach your Machine.h file here - but first change the .h extension to .txt because GitHub will not allo machine.txt w you to attach a file with a .h extension. Submit the issue, and after a few minutes, a new comment will appear with the FluidNC YAML file.

MitchBradley commented 2 years ago

The converter found an error. I am looking into the problem.

SS-mill commented 2 years ago

Thank you . File was adapted from spi_daisy_4axis_xxyz.h

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Feb 7, 2022 at 11:59 AM Mitch Bradley @.***> wrote:

The converter found an error. I am looking into the problem.

— Reply to this email directly, view it on GitHub https://github.com/bdring/Grbl_Esp32/issues/1076#issuecomment-1031754310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXTG6TAAC5TFLMZKOIWL2WLU2AB6XANCNFSM5NYCHLOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- SStrong

MitchBradley commented 2 years ago

I think you used an out-of-date file as a starting point. You need to write

define TRINAMIC_RUN_MODE TrinamicMode::CoolStep

define TRINAMIC_HOMING_MODE TrinamicMode::CoolStep

instead of

define TRINAMIC_RUN_MODE TRINAMIC_MODE_COOLSTEP

define TRINAMIC_HOMING_MODE TRINAMIC_MODE_COOLSTEP

Look at Machines/spi_daisy_4axis_xyza.h .