Another "what do I need" thread. Vmc retrofit
02 May 2015 04:26 - 02 May 2015 04:29 #58308
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
DOH!
I should have figured that out myself.
Thanks!
Edit: Can I add pots for feed and spindle override in an easy way? Didn't see any option for that in pncconf.
![:silly: :silly:](/media/kunena/emoticons/silly.png)
Thanks!
Edit: Can I add pots for feed and spindle override in an easy way? Didn't see any option for that in pncconf.
Last edit: 02 May 2015 04:29 by thewho.
Please Log in or Create an account to join the conversation.
02 May 2015 18:17 #58317
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
Well that didn't work as I thought
Anything above "OUTPUT_SCALE = 10.0" reduces the output voltage.
So I guess I need some scale thingy to my .hal file anyway.
![:( :(](/media/kunena/emoticons/sad.png)
So I guess I need some scale thingy to my .hal file anyway.
Please Log in or Create an account to join the conversation.
02 May 2015 18:35 #58318
by andypugh
Replied by andypugh on topic Another "what do I need" thread. Vmc retrofit
It should work. Maybe you need to make the maxoutput and minoutput match?
Please Log in or Create an account to join the conversation.
02 May 2015 18:49 #58321
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
That only limits the output voltage.
I'm having a another funny problem, when I enable the spindle in Linuxcnc the output reads -0.1V so the spindle slowly rotates ccw.
I'm having a another funny problem, when I enable the spindle in Linuxcnc the output reads -0.1V so the spindle slowly rotates ccw.
Please Log in or Create an account to join the conversation.
02 May 2015 20:54 #58322
by PCW
Replied by PCW on topic Another "what do I need" thread. Vmc retrofit
Like Andy said if, you have a say 3000 RPM spindle you must set:
#********************
# Spindle
#********************
[SPINDLE_9]
ENCODER_SCALE = 4096.0
OUTPUT_SCALE = 3000
OUTPUT_MIN_LIMIT = -3000
OUTPUT_MAX_LIMIT = 3000
#********************
# Spindle
#********************
[SPINDLE_9]
ENCODER_SCALE = 4096.0
OUTPUT_SCALE = 3000
OUTPUT_MIN_LIMIT = -3000
OUTPUT_MAX_LIMIT = 3000
Please Log in or Create an account to join the conversation.
02 May 2015 22:12 #58324
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
Worked like a charm ![:laugh: :laugh:](/media/kunena/emoticons/laughing.png)
I was so sure it was output voltage range.
Any easy way to adjust zero? When I enable the spindle there is 0.1V on the output. And that offsets the whole scale, -9.9V <-> 10.1V
![:laugh: :laugh:](/media/kunena/emoticons/laughing.png)
I was so sure it was output voltage range.
Any easy way to adjust zero? When I enable the spindle there is 0.1V on the output. And that offsets the whole scale, -9.9V <-> 10.1V
Please Log in or Create an account to join the conversation.
02 May 2015 22:28 - 02 May 2015 22:54 #58325
by PCW
Replied by PCW on topic Another "what do I need" thread. Vmc retrofit
7I77s analog output offset should be less than 10 mV
I would disconnect the output from the spindle and test again by measuring the
output at the 7I77 in case there is some interface issue (also check your voltmeter)
If you have a 100 mV output offset direct from the 7I77 this indicates a problem with the 7I77
Note that analog spindles that do not have circuitry to disable the drive
below a certain input voltage will always tend to creep when enabled since
the offset is never 0 (the same goes for analog servo drives)
Edit:
I also note that the spindle enable hal wiring is not right (this is a pncconf bug)
net machine-is-enabled => hm2_5i25.0.7i77.0.1.spinena
should be
net spindle-on => hm2_5i25.0.7i77.0.1.spinena
I would disconnect the output from the spindle and test again by measuring the
output at the 7I77 in case there is some interface issue (also check your voltmeter)
If you have a 100 mV output offset direct from the 7I77 this indicates a problem with the 7I77
Note that analog spindles that do not have circuitry to disable the drive
below a certain input voltage will always tend to creep when enabled since
the offset is never 0 (the same goes for analog servo drives)
Edit:
I also note that the spindle enable hal wiring is not right (this is a pncconf bug)
net machine-is-enabled => hm2_5i25.0.7i77.0.1.spinena
should be
net spindle-on => hm2_5i25.0.7i77.0.1.spinena
Last edit: 02 May 2015 22:54 by PCW.
Please Log in or Create an account to join the conversation.
02 May 2015 23:44 #58329
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
Did a bit more measuring and found something strange ![:huh: :huh:](/media/kunena/emoticons/wassat.png)
There is 0.23mV on the 7i77 output and 104mV on the other end. Guess there is something funny going on with the cable i'm using.
That's also something I didn't suspect as I'm using a shielded cable that is connected to grounded only in one end.
Well well, gonna replace it and see if that helps
![:huh: :huh:](/media/kunena/emoticons/wassat.png)
There is 0.23mV on the 7i77 output and 104mV on the other end. Guess there is something funny going on with the cable i'm using.
That's also something I didn't suspect as I'm using a shielded cable that is connected to grounded only in one end.
Well well, gonna replace it and see if that helps
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
02 May 2015 23:49 #58330
by andypugh
It probably doesn't actually matter.
Normally you would set things so that the spindle drive is not enabled when the spindle is off, so it probably doesn't matter.
In orient mode the PID will correct for the offset.
Replied by andypugh on topic Another "what do I need" thread. Vmc retrofit
Any easy way to adjust zero? When I enable the spindle there is 0.1V on the output. And that offsets the whole scale, -9.9V <-> 10.1V
It probably doesn't actually matter.
Normally you would set things so that the spindle drive is not enabled when the spindle is off, so it probably doesn't matter.
In orient mode the PID will correct for the offset.
Please Log in or Create an account to join the conversation.
03 May 2015 00:02 #58331
by thewho
Replied by thewho on topic Another "what do I need" thread. Vmc retrofit
No not now when I changed the spindle enable as PCW said.
But 0.1V is still 50rpm off target so it's nice to get rid of that.
But 0.1V is still 50rpm off target so it's nice to get rid of that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.401 seconds