bridgeport conversion 5i25, 7i76 and gecko 203v
11 Apr 2013 19:20 #32562
by andypugh
What does your spindle drive expect as input?
I think that you probably need to use an "abs" HAL component between motion.spindle-speed-out and hm2_5i25.0.7i76.0.0.spinout
Is your spindle drive configured for on/off and reverse rather than forwards and reverse buttons?
Replied by andypugh on topic bridgeport conversion 5i25, 7i76 and gecko 203v
What do I change in my hal file to get the speed control working correctly for ccw?
What does your spindle drive expect as input?
I think that you probably need to use an "abs" HAL component between motion.spindle-speed-out and hm2_5i25.0.7i76.0.0.spinout
Is your spindle drive configured for on/off and reverse rather than forwards and reverse buttons?
Please Log in or Create an account to join the conversation.
11 Apr 2013 23:42 #32582
by canner
The spindle drive expects 0-10v for speed control, and this works it is just reversed but only on the ccw direction.
Yes the spindle drive is configured for on/off on one pin and then forward reverse on a second pin. There is another set of pins that controls the spindle speed which is working just reversed on the ccw direction.
I think that you probably need to use an "abs" HAL component between motion.spindle-speed-out and hm2_5i25.0.7i76.0.0.spinout Will this change it for just the ccw or will it effect both directions?
Thanks for the help.
Replied by canner on topic bridgeport conversion 5i25, 7i76 and gecko 203v
What do I change in my hal file to get the speed control working correctly for ccw?
What does your spindle drive expect as input?
I think that you probably need to use an "abs" HAL component between motion.spindle-speed-out and hm2_5i25.0.7i76.0.0.spinout
Is your spindle drive configured for on/off and reverse rather than forwards and reverse buttons?
The spindle drive expects 0-10v for speed control, and this works it is just reversed but only on the ccw direction.
Yes the spindle drive is configured for on/off on one pin and then forward reverse on a second pin. There is another set of pins that controls the spindle speed which is working just reversed on the ccw direction.
I think that you probably need to use an "abs" HAL component between motion.spindle-speed-out and hm2_5i25.0.7i76.0.0.spinout Will this change it for just the ccw or will it effect both directions?
Thanks for the help.
Please Log in or Create an account to join the conversation.
12 Apr 2013 00:32 - 12 Apr 2013 00:36 #32585
by PCW
Replied by PCW on topic bridgeport conversion 5i25, 7i76 and gecko 203v
I'm not so sure that an absolute is not already being used.
If you measure the analog out from 7I76 TB4 pin1 (meter negative or black)
to 7I76 TB4 pin 2 (meter positive or red) if its 10V at 1500 RPM setting (from a S command)
in both directions, this indicates the drive is set up in a funny way (0V should never be full speed)
If you measure the analog out from 7I76 TB4 pin1 (meter negative or black)
to 7I76 TB4 pin 2 (meter positive or red) if its 10V at 1500 RPM setting (from a S command)
in both directions, this indicates the drive is set up in a funny way (0V should never be full speed)
Last edit: 12 Apr 2013 00:36 by PCW.
Please Log in or Create an account to join the conversation.
12 Apr 2013 00:47 #32586
by canner
Replied by canner on topic bridgeport conversion 5i25, 7i76 and gecko 203v
It is 10V at maximum speed in both directions from TB4 pin1 but in the ccw direction Axis has it backwards, it speeds up when I click the "-" button and slows down when I click the "+" button (the same if I use "s" in mdi). I somehow need to reverse a signal but only for the ccw direction.
Please Log in or Create an account to join the conversation.
12 Apr 2013 09:29 #32612
by PCW
Replied by PCW on topic bridgeport conversion 5i25, 7i76 and gecko 203v
can you post your hal and ini files, that might clear things up a little
Please Log in or Create an account to join the conversation.
12 Apr 2013 11:13 #32614
by canner
Replied by canner on topic bridgeport conversion 5i25, 7i76 and gecko 203v
Here they are.
Please Log in or Create an account to join the conversation.
12 Apr 2013 19:28 #32624
by andypugh
OUTPUT_MAX_LIMIT = 18000.0
This looks wrong. It might not be the cause of the problem, but it won't help. I think there is an extra zero in the max limit.
Replied by andypugh on topic bridgeport conversion 5i25, 7i76 and gecko 203v
OUTPUT_MIN_LIMIT = -1800.0Here they are.
OUTPUT_MAX_LIMIT = 18000.0
This looks wrong. It might not be the cause of the problem, but it won't help. I think there is an extra zero in the max limit.
Please Log in or Create an account to join the conversation.
12 Apr 2013 21:22 #32635
by PCW
Replied by PCW on topic bridgeport conversion 5i25, 7i76 and gecko 203v
Also thinking about it, (took me awhile) I dont think an absolute is appropriate for a 7I76
It also looks like the the HAL file is using CW/CCW mode in the drive , not ENA/DIR mode
(via field I/O) The drive should be in DIR/ENA mode and should connect only to TB4
no field I/O is needed.
It also looks like the the HAL file is using CW/CCW mode in the drive , not ENA/DIR mode
(via field I/O) The drive should be in DIR/ENA mode and should connect only to TB4
no field I/O is needed.
Please Log in or Create an account to join the conversation.
12 Apr 2013 23:04 #32648
by canner
Replied by canner on topic bridgeport conversion 5i25, 7i76 and gecko 203v
Thanks for catching that it was giving me a little bit of a problem with manual control in the cw direction. I need to look closer.
Please Log in or Create an account to join the conversation.
12 Apr 2013 23:23 - 13 Apr 2013 02:48 #32650
by PCW
Replied by PCW on topic bridgeport conversion 5i25, 7i76 and gecko 203v
I am still not quite right, and Andy was right, you need absolute value function.
On the7I76 there are 3 spindle control HAL pins:
spinout (unsigned spindle analog output setting)
spindir (spindle direction OPTO, on if true)
spinena (spindle enable OPTO, on if true)
so
OUTPUT_MIN_LIMIT = 0.0
OUTPUT_MAX_LIMIT = 1800.0
Is correct for the _unsigned_ spindle speed
(not sure if the driver allowing a negative number here is a bug...)
and net spindle-vel-cmd must be run through the abs component
before its connected to hm2_5i25.0.7i76.0.0.spinout
EDIT: Since this started with a pncconf generated configuration, when this gets straightened out
the working spindle code should probably be posted to the pncconf forum so the proper hal boilerplate
can be incorporated in pncconf for 7I76 configurations
On the7I76 there are 3 spindle control HAL pins:
spinout (unsigned spindle analog output setting)
spindir (spindle direction OPTO, on if true)
spinena (spindle enable OPTO, on if true)
so
OUTPUT_MIN_LIMIT = 0.0
OUTPUT_MAX_LIMIT = 1800.0
Is correct for the _unsigned_ spindle speed
(not sure if the driver allowing a negative number here is a bug...)
and net spindle-vel-cmd must be run through the abs component
before its connected to hm2_5i25.0.7i76.0.0.spinout
EDIT: Since this started with a pncconf generated configuration, when this gets straightened out
the working spindle code should probably be posted to the pncconf forum so the proper hal boilerplate
can be incorporated in pncconf for 7I76 configurations
Last edit: 13 Apr 2013 02:48 by PCW.
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds