Marlin icon indicating copy to clipboard operation
Marlin copied to clipboard

[FR] Add fanuc m84 threading code

Open hsyngndz85 opened this issue 1 year ago • 5 comments

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.

hsyngndz85 avatar May 02 '24 08:05 hsyngndz85

Do you mean G84?

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

InsanityAutomation avatar May 02 '24 21:05 InsanityAutomation

not M84 G84 fanuc tapping cycle

hsyngndz85 avatar May 03 '24 08:05 hsyngndz85

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 avatar May 03 '24 09:05 hsyngndz85

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.

hsyngndz85 avatar May 03 '24 09:05 hsyngndz85

@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.

thisiskeithb avatar May 03 '24 09:05 thisiskeithb