- Posts: 22011
- Thank you received: 7491
Reading Hal pins from Gcode [SOLVED]
- tommylight
- Offline
- Moderator
-
Less
More
9 years 6 months ago #92348
by tommylight
Replied by tommylight on topic Reading Hal pins from Gcode
Again, there is no stopping you ! Good job.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
9 years 6 months ago #92375
by Todd Zuercher
Replied by Todd Zuercher on topic Reading Hal pins from Gcode
Using the hal pin parameters might work. But I would not trust it for data entered and used during a run. Those parameters are not always updated during a run. A better approach would be to connect the hal pins to motion.analog-in-xx pins and read them in using G66.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
9 years 6 months ago #92391
by rodw
Thanks Todd, I am aware of the limitations but to set the starting parameters, I think they'll be fine.
Replied by rodw on topic Reading Hal pins from Gcode
Todd Zuercher wrote: Using the hal pin parameters might work. But I would not trust it for data entered and used during a run. Those parameters are not always updated during a run. A better approach would be to connect the hal pins to motion.analog-in-xx pins and read them in using G66.
Thanks Todd, I am aware of the limitations but to set the starting parameters, I think they'll be fine.
Please Log in or Create an account to join the conversation.
Time to create page: 3.357 seconds