Mesa 7I44-7I70/7I71
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
28 Jan 2012 19:04 #17238
by andypugh
Replied by andypugh on topic Re:Mesa 7I44-7I70/7I71
Nick wrote:
Does "halrun" work any better?
after appling /etc/init.d/realtime start
Does "halrun" work any better?
Please Log in or Create an account to join the conversation.
- SRT
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 1
28 Feb 2012 23:15 #18187
by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I need guidance on Resolvers again. I am finally back at it and determined to get this going. I have a 5i23 with a 7i49 daughter. I hooked up the spindle resolver sine, cosine and drv. I can watch things happen on the hal show/watch page so I believe I have it hooked up right. It does not report to the EMC screen though. I think its my hal.file
Net Spindle Revs <=hm2.5i23.0.resolver.00.position
Maybe it should be counts? RawCounts?
Net Spindle Revs <=hm2.5i23.0.resolver.00.position
Maybe it should be counts? RawCounts?
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18558
- Thank you received: 5099
28 Feb 2012 23:34 #18188
by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
that should work
if you halmeter hm2.5i23.0.resolver.00.position, does it count up by one every spindle turn?
if you halmeter hm2.5i23.0.resolver.00.position, does it count up by one every spindle turn?
Please Log in or Create an account to join the conversation.
- SRT
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 1
29 Feb 2012 13:58 #18202
by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I tried it this morning. Yes if I watch the position it does count by one every revolution and no it does not report to axis. I should note that I am only turning the spindle by hand and it is not under power. Any Ideas as to why It is not showing on Axis?
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
Less
More
- Posts: 1744
- Thank you received: 288
29 Feb 2012 14:35 #18205
by cncbasher
Replied by cncbasher on topic Re:Mesa 7I44-7I70/7I71
see if theirs any bones you can pick out of this that may help
# ---Resolver feedback signals/setup---
setp hm2_7i43.0.resolver.02.velocity-scale 1 # mptor speed in RPS
setp hm2_7i43.0.resolver.02.scale [AXIS_2]ENCODER_SCALE
net z-pos-rawcounts <= hm2_7i43.0.resolver.02.rawcounts
net z-pos-fb <= hm2_7i43.0.resolver.02.position = > pid.2..feedback
net z-vel-fb <= hm2_7i43.0.resolver.02.velocity
net z-pos-fb => axis.2.motor-pos-fb
net z-index-enable axis.2.index-enable <=> hm2_7i43.0.resolver.02.index-enable
# ---Resolver feedback signals/setup---
setp hm2_7i43.0.resolver.02.velocity-scale 1 # mptor speed in RPS
setp hm2_7i43.0.resolver.02.scale [AXIS_2]ENCODER_SCALE
net z-pos-rawcounts <= hm2_7i43.0.resolver.02.rawcounts
net z-pos-fb <= hm2_7i43.0.resolver.02.position = > pid.2..feedback
net z-vel-fb <= hm2_7i43.0.resolver.02.velocity
net z-pos-fb => axis.2.motor-pos-fb
net z-index-enable axis.2.index-enable <=> hm2_7i43.0.resolver.02.index-enable
Please Log in or Create an account to join the conversation.
- SRT
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 1
29 Feb 2012 17:27 #18209
by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I just hooked up the z axis resolver. The same thing, I can see it on the hal watch screen but it is not reporting to Axis. Again I am just turning by hand and the drives are not energized.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18558
- Thank you received: 5099
29 Feb 2012 17:52 #18210
by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
do you have lines like these in your hal file?
(the bottom line is what feeds the position info back to Axis)
net z-pos-fb <= hm2_5i23.0.resolver.02.position = > pid.2..feedback
net z-pos-fb => axis.2.motor-pos-fb
(cribbed from cncbashers post)
(the bottom line is what feeds the position info back to Axis)
net z-pos-fb <= hm2_5i23.0.resolver.02.position = > pid.2..feedback
net z-pos-fb => axis.2.motor-pos-fb
(cribbed from cncbashers post)
Please Log in or Create an account to join the conversation.
- SRT
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 1
29 Feb 2012 19:15 #18214
by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
My Z Feed back is written like this
net motor.02.pos-fb <= hm2_5i23.0.resolver.02.pos
net z-pos-fb => axis.2.motor-pos-fb
net motor.02.pos-fb <= hm2_5i23.0.resolver.02.pos
net z-pos-fb => axis.2.motor-pos-fb
Please Log in or Create an account to join the conversation.
- SRT
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 1
29 Feb 2012 19:19 #18215
by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I'm sorry this is it
net motor.02.pos-fb <= hm2_5i23.0.resolver.02.position
net z-pos-fb => axis.2.motor-pos-fb
net motor.02.pos-fb <= hm2_5i23.0.resolver.02.position
net z-pos-fb => axis.2.motor-pos-fb
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18558
- Thank you received: 5099
29 Feb 2012 19:37 #18216
by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
well that wont work as you dont have a path from
hm2_5i23.0.resolver.02.position to axis.2.motor-pos-fb
what drives net z-pos-fb?
hm2_5i23.0.resolver.02.position to axis.2.motor-pos-fb
what drives net z-pos-fb?
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.158 seconds