- Posts: 19899
- Thank you received: 4655
REMAP M6 FOR GENEVA ATC
- andypugh
- Offline
- Moderator
-
Less
More
7 years 11 months ago #119818
by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
Why are you using "carousel"?
The fragment of G-code I gave you a number of posts back does all that carousel is doing in this case, and it should store the carousel position too.
The fragment of G-code I gave you a number of posts back does all that carousel is doing in this case, and it should store the carousel position too.
Please Log in or Create an account to join the conversation.
- COlger81
- Offline
- Elite Member
-
Less
More
- Posts: 187
- Thank you received: 6
7 years 11 months ago #119819
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
Using carousel component seemed like a nice and clean approach. It has everything i need built in, such as turret jogging and bidirectional mode. It works like a charm other than not saving and recalling the selected pocket. What is the benefit of not using the carousel?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 11 months ago #119820
by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
I admit I had forgotten about the jogging, if that is useful then carousel might be useful.
I normally think of "carousel" being mainly about decoding various types of carousel position encoders. (I wrote "carousel" but have never had a machine that needed it)
What I would suggest you do is to save the position from G-code after every tool change into a persistent variable (such as #5490). Then you need to subtract the number stored in #5490 from the required pocket position before sending it out to the carousel component. (In effect #5490 becomes a "home offset" for the carousel.)
I can think of neater ways, but most of those involve modifications to "carousel"
I normally think of "carousel" being mainly about decoding various types of carousel position encoders. (I wrote "carousel" but have never had a machine that needed it)
What I would suggest you do is to save the position from G-code after every tool change into a persistent variable (such as #5490). Then you need to subtract the number stored in #5490 from the required pocket position before sending it out to the carousel component. (In effect #5490 becomes a "home offset" for the carousel.)
I can think of neater ways, but most of those involve modifications to "carousel"
The following user(s) said Thank You: akb1212
Please Log in or Create an account to join the conversation.
- COlger81
- Offline
- Elite Member
-
Less
More
- Posts: 187
- Thank you received: 6
7 years 11 months ago #119823
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
Where can i find the carousel source code?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 11 months ago #119825
by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
Please Log in or Create an account to join the conversation.
- COlger81
- Offline
- Elite Member
-
Less
More
- Posts: 187
- Thank you received: 6
7 years 11 months ago #119827
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
I'm definitely not scared of diving in and learning some code but by chance is there a line or 2 i could add to pull value from #5400 parameter (current tool) at startup?
Please Log in or Create an account to join the conversation.
Time to create page: 0.734 seconds