- Posts: 7368
- Thank you received: 2181
Axis Modifications
- cmorley
- Offline
- Moderator
-
I personally don't think having spindle stats in EMC Stat is the way to go.
You can read spindle HAL pins directly in python - a much more flexible way.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 927
- Thank you received: 280
Have you tested other screens? glcannon is used in other screens.
I personally don't think having spindle stats in EMC Stat is the way to go.
You can read spindle HAL pins directly in python - a much more flexible way.
yeah i wasnt sure why that was needed either,I agree, as i just connect mine to spindle.0.speed-out, and other existing motion pins
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
-
- Posts: 55
- Thank you received: 37
Only gmoccapy, mod does not affect it.cmorley post=227695 userid=482
Have you tested other screens? glcannon is used in other screens.
I personally don't think having spindle stats in EMC Stat is the way to go.
You can read spindle HAL pins directly in python - a much more flexible way.
How to read encoder position(for display spindle angle) hal pin directly in python, without python interface?
Need example.
It is necessary to transfer speed and angle values to the python interface.cakeslob post=227713 userid=25269
yeah i wasnt sure why that was needed either,I agree, as i just connect mine to spindle.0.speed-out, and other existing motion pins
Signal source will select the user in the hal file(e.g. spindle.N.speed-out-abs => motion.spindle-display-speed or from spindle encoder).
I think this(dedicated hal pins) is a more flexible solution.
About another way i know: use speed(commanded, not real) from spindle dictionary and spindle num(select spindle to display speed) from ini file.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 927
- Thank you received: 280
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 927
- Thank you received: 280
Axis loads the most recent file opened on startup, so what ever you closed with, it opens with.
Add one of these to your usercommand file or axisrc and under [DISPLAY] in ini, add
LOAD_LASTFILE = YES
Please Log in or Create an account to join the conversation.
- D.L.
- Offline
- Senior Member
-
- Posts: 55
- Thank you received: 37
Please Log in or Create an account to join the conversation.