EMC2 post processor (LinuxCNC)

EMC2 post processor (LinuxCNC)

michaell1978
Participant Participant
4,547 Views
9 Replies
Message 1 of 10

EMC2 post processor (LinuxCNC)

michaell1978
Participant
Participant

I use Linuxcnc to control the lathe during the work with Fusion360 when forming the control program two questions arose:
1. when trying to create a control program with g thread content, the code is not generated and an error opening the file pops up, after changing the post processor to fanuc or deleting the thread cutting process, everything works.
2. when generating the g code with the EMC2 post-processor, you have to make adjustments in the program, after each tool change, change G54 to G43.

 

0 Likes
4,548 Views
9 Replies
Replies (9)
Message 2 of 10

Boopathi_Sivakumar
Collaborator
Collaborator

hi @michaell1978 

Linux CNC post processor only supports for Threading cycle which is (G76), Probably you didn't check the use cycle in the passes tab like the attached image here then it will work

Linux.JPG

 

For the 2 question the post processor can be tweaked if you have wanted but for my understanding

G54 is the coordinate system and G43 is tool offset for linux why you want change it and even If G43 comes then there should be H to mention the height offset

Boopathi Sivakumar
Sr Application Engineer
www.usamcadsoft.in
Facebook | Twitter | LinkedIn

Message 3 of 10

michaell1978
Participant
Participant

good day
As for the G code: I use a machine with an 8-position turret, see photo. Linux cnc uses the tool binding table; compensation length parameters are set in it. According to the document for Linuxcnc, the program writes an empty G 43 code.

 

20190911_184309.jpg

 

 

G43 enables tool length compensation. G43 changes subsequent motions by offsetting the axis coordinates by the length of the offset. G43 does not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the compensated location.

G43 without an H word uses the currently loaded tool from the last Tn M6.

G43 Hn uses the offset for tool n.

Note:

G43 H0 is a little special. Its behavior is different on random tool changer machines and nonrandom tool changer machines (see the Tool Changers section). On nonrandom tool changer machines, G43 H0 applies the TLO of the tool currently in the spindle, or a TLO of 0 if no tool is in the spindle. On random tool changer machines, G43 H0 applies the TLO of the tool T0 defined in the tool table file (or causes an error if T0 is not defined in the tool table).

 

about the thread you were right it all worked.

Thanks a lot for the help, I will try by car.

So that it generates G43 after changing the tool, what needs to be done ....

0 Likes
Message 4 of 10

michaell1978
Participant
Participant

Добрый день,
я могу сообщить о пробной работе.
Fosion 360 удалось получить G-код, но он оказался неверным, и Linuxcnc не понял его. Мне пришлось редактировать его в соответствии с инструкциями в Linuxcnc.

 

исправленный текст:

G76 P2 Z-30 I-0,4 J0,4 K2,178 Q29 L0

Насколько я понимаю, это проблема постпроцессора, и я не знаю, что делать дальше.

 

 

0 Likes
Message 5 of 10

michaell1978
Participant
Participant

report

0 Likes
Message 6 of 10

michaell1978
Participant
Participant

доклад 2

 

0 Likes
Message 7 of 10

michaell1978
Participant
Participant

отчет

 

0 Likes
Message 8 of 10

Boopathi_Sivakumar
Collaborator
Collaborator

@michaell1978 

The given post is the generic one for your needs the post needs to be customized.

Let me try to give you solution but i am going out of station for next two days,

attach the model file here which you have used to create a program 

 

File>Export>.F3d and reattach to this thread

 

Boopathi Sivakumar
Sr Application Engineer
www.usamcadsoft.in
Facebook | Twitter | LinkedIn

0 Likes
Message 9 of 10

michaell1978
Participant
Participant

Спасибо за вашу поддержку
.

0 Likes
Message 10 of 10

michaell1978
Participant
Participant

рабочий файл проверен на машине

Please pay attention to the changes received after editing.

g-code.png

0 Likes