- Posts: 19306
- Thank you received: 0
REMAP M6 FOR GENEVA ATC
7 years 11 months ago #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.
Code:
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;
}
Please Log in to join the conversation.
7 years 11 months ago #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 to join the conversation.
7 years 11 months ago #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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
7 years 11 months ago #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.COlger81 wrote: What do i use to compile the .SO files?
Please Log in to join the conversation.
7 years 11 months ago #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.
Please Log in to join the conversation.
Time to create page: 0.325 seconds
