MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
15.95k stars 19.08k forks source link

[FR] Add fanuc m84 threading code #27042

Open hsyngndz85 opened 2 weeks ago

hsyngndz85 commented 2 weeks ago

Is your feature request related to a problem? Please describe.

M84 threading gcode for compatibility with Fanuc machines

Are you looking for hardware support?

my own card

Describe the feature you want

M84 command is used to cut threads on lathes.

InsanityAutomation commented 2 weeks ago

Do you mean G84?

https://gcodetutor.com/fanuc-training-course/g84-tapping-cycle.html

hsyngndz85 commented 2 weeks ago

not M84 G84 fanuc tapping cycle

hsyngndz85 commented 2 weeks ago

In fact, the gist of the matter is that the G and M commands have conflicting codes for Linux cnc and Fanuc. There are commands that do the same job, for example the m226 pin control command and the m66 command in Linuxcnc, they both do the same job. For compatibility, Marlin combines these two standards and 3D printing codes that are not included in them are pushed out of them, creating a more advanced Marlin that provides both 3D sector, Linux CNC compatibility and Fanuc compatibility. It can be done. Marlin will surpass Linuxcnc if the Linux codes that have not been found in the research I have done so far are added. Why is there no command to read files from SD or USB in Linux and there is a PC dependency. The current Marlin is quite advanced, the only thing it lacks is the G and M codes in industrial machines, Marlin would be delicious if they were added too. On the other hand, there is a need for an extra 40 inputs and 40 outputs. It would be great if this could be controlled with a simple code such as m66 p0.16, which communicates with a simple PCF chip. Similarly, it would be great if pin status waiting was done from additional chips such as m42 p0.4.

hsyngndz85 commented 2 weeks ago

This G84 command requires an additional feature, the spindle motor must be controlled in steps like a stepper motor, that is, the spindle motor must be angularly driven like a rotary axis, just like the E0 motor.

thisiskeithb commented 2 weeks ago

@hsyngndz85: It would be really helpful if you could translate your Feature Requests & comments to English since that is the primary language used for this project.