How to use M2 and M30?

More
21 Oct 2021 01:31 - 21 Oct 2021 01:31 #223736 by chen1234
hi,
When I use the G code, I see that M2 and M30 both end the program, M2 ends directly, and M30 ends after changing the pallet shuttle. How should I test this? How to distinguish between them?I can't see the difference between them . m2-m30,
 
 
 
Attachments:
Last edit: 21 Oct 2021 01:31 by chen1234.

Please Log in or Create an account to join the conversation.

More
21 Oct 2021 14:35 #223819 by BigJohnT
Replied by BigJohnT on topic How to use M2 and M30?
From src/emc/task/emccanon.cc

void PALLET_SHUTTLE()
{
/*! \todo FIXME-- unimplemented */
}

JT
The following user(s) said Thank You: chen1234

Please Log in or Create an account to join the conversation.

More
21 Oct 2021 15:20 #223824 by andypugh
Replied by andypugh on topic How to use M2 and M30?
I wonder what this ought to do?

Is it as simple as driving / responding to pins pallet-shuttle and pallet-shuttled?

Please Log in or Create an account to join the conversation.

More
22 Oct 2021 01:47 #223866 by chen1234
Replied by chen1234 on topic How to use M2 and M30?

I wonder what this ought to do?

Is it as simple as driving / responding to pins pallet-shuttle and pallet-shuttled?

Yes, I want to demonstrate the functions of M2 and M30, but I don’t know how to test M30. It has the same function as M2. How to test M30?Or how can I show the difference between M2 and M30?
thanks,chen

Please Log in or Create an account to join the conversation.

More
22 Oct 2021 08:03 #223888 by andypugh
Replied by andypugh on topic How to use M2 and M30?
I think that the only difference between M2 and M30 is a call to PALLET_SHUTTLE, which does nothing:

github.com/LinuxCNC/linuxcnc/blob/master...erp_convert.cc#L4389

It is interesting that in all the time that I have been working on LinuxCNC no-one has asked why pallet-shuttle does not work.
The following user(s) said Thank You: chen1234

Please Log in or Create an account to join the conversation.

More
22 Oct 2021 10:04 #223898 by chen1234
Replied by chen1234 on topic How to use M2 and M30?

andypugh post=223888 userid=723我觉得M2和M30唯一的区别就是调用了PALLET_SHUTTLE,它什么都不做:

https : //github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_convert.cc#L4389

有意思在我从事 LinuxCNC 工作的所有时间里,没有人问过为什么托盘穿梭机不起作用。

Possibly, I don't know what the pallet shuttle does.

Please Log in or Create an account to join the conversation.

Time to create page: 0.124 seconds
Powered by Kunena Forum