REMAP M6 FOR GENEVA ATC
02 Nov 2018 15:29 - 02 Nov 2018 15:29 #119829
by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
No. Unfortunately a HAL component like Carousel can only access the rest of the system via HAL pins. No direct g-code access and no file access.
Are you absolutely dead-set against adding one more sensor for home pocket? It would make things a lot more reliable and fault-tolerant.
(consider what happens if the PC crashes before it has the chance to save the pocket to file)
You could add an extra input pin to the component, then pass the actual position to that pin from the G-code persistent parameter.
Are you absolutely dead-set against adding one more sensor for home pocket? It would make things a lot more reliable and fault-tolerant.
(consider what happens if the PC crashes before it has the chance to save the pocket to file)
You could add an extra input pin to the component, then pass the actual position to that pin from the G-code persistent parameter.
pin in signed init-position;
...
case 0: // waiting at start
if (init_position >0 && homed == 0){
current_position = init_position;
homed = true;
}
if (jog_fwd || (jog_rev && inst_dir == 2)) {
if ((inst_code == 'I' || inst_code == 'E') && ! homed){
state = 10;
break;
}
Last edit: 02 Nov 2018 15:29 by andypugh.
Please Log in or Create an account to join the conversation.
02 Nov 2018 15:36 #119830
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
The input pin is a perfect solution for now. I agree that another prox sensor would make a lot of sense.
Please Log in or Create an account to join the conversation.
02 Nov 2018 16:07 #119831
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
What do i use to compile the .SO files?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
02 Nov 2018 16:14 #119832
by tommylight
Replied by tommylight on topic REMAP M6 FOR GENEVA ATC
Nothing that i am aware of, you compile a comp file and it creates an so file that it installs or you can copy manually.What do i use to compile the .SO files?
Please Log in or Create an account to join the conversation.
02 Nov 2018 18:12 - 02 Nov 2018 19:05 #119842
by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
Thank You Andy. The mod carousel works great. It's impressive how fast you were able to implement that.
Last edit: 02 Nov 2018 19:05 by COlger81.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds