7i92t and 5 axis bob no 0-10v on spindle

More
2 years 8 months ago #292498 by 0jw
Hello, I'm not sure what's going on with my spindle setting. I'm using the 7i92t with 7i92_5abobx2d.bit and a cheap 5 axis bob with spindle output set to i/o 000: for pin 1. The relay pin 17 is working as expected but I get 10v on pin 1 with the relay off and no voltage with it on. Giving S commands has no effect with relay off or on. My spindle setting from pncconf were[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 24000.0

So I added
OUTPUT_SCALE = 24000.0
OUTPUT_MIN_LIMIT = 0
OUTPUT_MIN_LIMIT = 24000.0

but this had no noticeable change.
If anyone knows what might be wrong, please let me know
My ini and hal are attached along with the xhc mpg hal.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #292505 by tommylight
Upload here a picture of the BOB, we have several members here that know all the ins and outs of BOB's just from a picture.
Also, does the voltage change if you set different values for S or speed?
If it ends up being 0V at full speed and 10V at 0/low speed, it is just a matter of inverting the output pin in hal.

ASUS ROG Crosshair VIII Impact - AMD X570

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago - 2 years 8 months ago #292513 by 0jw
I don't think it's a wiring issue as I was first testing with a multimeder from pin 1 to gnd.
The spindle starts running when the relay is off. So that's a problem. I need to invert that in the sunfar e300 vfd or in hal somehow.

But after using a M3 I can not change the voltage with a S command. After using a M5 command I can not change the voltage as I don't think should be able to. If I disconnect the fwd wire from the vfd it will get 10v when I use a M5 command and 0V with M3 regardless if I use S0 S12000 S24000.
Last edit: 2 years 8 months ago by 0jw.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #292516 by 0jw
I have it connected the same as in this diagram.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #292519 by Aciera
I don't see how you have connected the commanded spindle speed in your HAL files. All I see is this:


# --- SPINDLE-CW ---
setp hm2_7i92.0.gpio.000.is_output true
net spindle-cw => hm2_7i92.0.gpio.000.out

# --- SPINDLE-ENABLE ---
setp hm2_7i92.0.gpio.007.is_output true
net spindle-enable => hm2_7i92.0.gpio.007.out

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #292521 by 0jw
Im not sure what its missing. the spindle section was just created through pncconf. Am I just missing a scale component? I wasn't sure what that was and thought it was mabe for dedicated dac converters.

Please Log in or Create an account to join the conversation.

Time to create page: 0.362 seconds
Powered by Kunena Forum