eccentric turning
- hitchhiker
- Offline
- Premium Member
-
Less
More
- Posts: 138
- Thank you received: 9
04 Jan 2022 12:15 #230750
by hitchhiker
Replied by hitchhiker on topic eccentric turning
hi and thanks.
i think the bigest problem is to understand all the nets.
what must done to get motion.eoffest-active into true.
and scale the revs to deg. (*360?)
and what is when its 361 degree
. then it must 1 degree...
i hope andy can help.
do you use it on a lathe or a mill?
c axis as spindle?
or spindle as c axis?
or what?
i play on my table with a abz encoder resolution 500 (2000). wired to my parallelport.
the x and z axis are setup but not connected.
if i get movement on the x axis from the encoder i do the next step...
i hope someone help.. or can upload his working inis / hals.
could you upload yours?
thanks
i think the bigest problem is to understand all the nets.
what must done to get motion.eoffest-active into true.
and scale the revs to deg. (*360?)
and what is when its 361 degree
. then it must 1 degree...
i hope andy can help.
do you use it on a lathe or a mill?
c axis as spindle?
or spindle as c axis?
or what?
i play on my table with a abz encoder resolution 500 (2000). wired to my parallelport.
the x and z axis are setup but not connected.
if i get movement on the x axis from the encoder i do the next step...
i hope someone help.. or can upload his working inis / hals.
could you upload yours?
thanks
Please Log in or Create an account to join the conversation.
04 Jan 2022 13:23 #230757
by andypugh
The way to test it is to set spindle.0.index-enable to 1, then rotate the spindle, and see if it resets to zero at the index position.
Use "sets" on the signal that is associated with your encoder index. In your case it looks like
Will do it.
Replied by andypugh on topic eccentric turning
Are you sure about that? The index pulse is generally very short and might be impossible to see if using the HAL probes (and will often not even show up in Halscope)i find out that my abz encoder had no working z signal... i done all on my desk... without the lathe.
The way to test it is to set spindle.0.index-enable to 1, then rotate the spindle, and see if it resets to zero at the index position.
Use "sets" on the signal that is associated with your encoder index. In your case it looks like
halcmd sets spindle-index-enable 1
Will do it.
The following user(s) said Thank You: anfänger
Please Log in or Create an account to join the conversation.
04 Jan 2022 13:29 #230758
by andypugh
Replied by andypugh on topic eccentric turning
For testing, I suggest opening an interactive HAL session. Start LinuxCNC and then open a terminal.
Will start an interactive HAL session ("exit to finish")
Then you can issue commands such as "show pin" to get a list of all the pins and their states (or "show pin *enable*" to see all the enable pins)
If the oeffset enable pin is unconnected then you can set it true with "setp" but if it is connected to a signal then you would need to use "sets" on the signal instead.
Other helpful things to type:
loadusr halmeter (opens a halmeter, repeat the command for more halmeters)
loadusr halscope (open the halscope)
delsig {signal_name} (deletes a signal, and unlinks the pins associates with that signal)
halcmd -kf
Will start an interactive HAL session ("exit to finish")
Then you can issue commands such as "show pin" to get a list of all the pins and their states (or "show pin *enable*" to see all the enable pins)
If the oeffset enable pin is unconnected then you can set it true with "setp" but if it is connected to a signal then you would need to use "sets" on the signal instead.
Other helpful things to type:
loadusr halmeter (opens a halmeter, repeat the command for more halmeters)
loadusr halscope (open the halscope)
delsig {signal_name} (deletes a signal, and unlinks the pins associates with that signal)
Please Log in or Create an account to join the conversation.
- hitchhiker
- Offline
- Premium Member
-
Less
More
- Posts: 138
- Thank you received: 9
04 Jan 2022 13:44 #230761
by hitchhiker
Replied by hitchhiker on topic eccentric turning
index works... but it reset not the count...
Please Log in or Create an account to join the conversation.
04 Jan 2022 14:36 - 04 Jan 2022 14:40 #230767
by jpg
Replied by jpg on topic eccentric turning
Hello, I'm sending you what I've done (it's only a draft). I've managed to open it for the moment, I can trigger the VDF spindle relay, but I still can't vary the speed; finally, I can't make the POM (error message: error followed by joint 0-1)
For the C axis, it's good for a spindle of turn ,I also have the index, A and B.
For the C axis, it's good for a spindle of turn ,I also have the index, A and B.
Attachments:
Last edit: 04 Jan 2022 14:40 by jpg.
Please Log in or Create an account to join the conversation.
- hitchhiker
- Offline
- Premium Member
-
Less
More
- Posts: 138
- Thank you received: 9
04 Jan 2022 14:49 #230769
by hitchhiker
Replied by hitchhiker on topic eccentric turning
motion.eoffset-active what set it to true???
must i load a gcode?
i was thinking if the liuxcnc machine is on and i send over mdi m3 s50 i can get the eoffset work..
must i load a gcode?
i was thinking if the liuxcnc machine is on and i send over mdi m3 s50 i can get the eoffset work..
Please Log in or Create an account to join the conversation.
04 Jan 2022 15:29 #230774
by jpg
Replied by jpg on topic eccentric turning
do you know this video ?
Please Log in or Create an account to join the conversation.
- hitchhiker
- Offline
- Premium Member
-
Less
More
- Posts: 138
- Thank you received: 9
04 Jan 2022 15:33 #230775
by hitchhiker
Replied by hitchhiker on topic eccentric turning
yes but i need a file (ngc) loaded?
Please Log in or Create an account to join the conversation.
04 Jan 2022 15:58 - 04 Jan 2022 15:59 #230778
by jpg
Replied by jpg on topic eccentric turning
I think it uses the one (circles.ngc) provided with the demo
I enclose a g code (test piston axis c I do not know if the offset works on it) and a g33.1/g76
I enclose a g code (test piston axis c I do not know if the offset works on it) and a g33.1/g76
Last edit: 04 Jan 2022 15:59 by jpg.
Please Log in or Create an account to join the conversation.
- hitchhiker
- Offline
- Premium Member
-
Less
More
- Posts: 138
- Thank you received: 9
04 Jan 2022 17:38 #230781
by hitchhiker
Replied by hitchhiker on topic eccentric turning
ok my spindle.index.enable works with g76 or g33.1
the signal is ok. (new abz encoder).
but!
motion.eoffset-active is false,every time.
thats the problem.
if i send via terminal
halcmd setp motion.eoffset-active 1
i get pin ... not writable
with halcmd sets ... i get motion.... not found.
same with xo.active...
the signal is ok. (new abz encoder).
but!
motion.eoffset-active is false,every time.
thats the problem.
if i send via terminal
halcmd setp motion.eoffset-active 1
i get pin ... not writable
with halcmd sets ... i get motion.... not found.
same with xo.active...
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.192 seconds