Bridgeport Series 2 Interact 4 Retrofit
- moosedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
18 Jan 2022 23:36 #232362
by moosedesign
Replied by moosedesign on topic Bridgeport Series 2 Interact 4 Retrofit
Yes sorry also have 24V supply to the 7i76, field power led is on.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
18 Jan 2022 23:44 #232364
by PCW
Replied by PCW on topic Bridgeport Series 2 Interact 4 Retrofit
7I76 W1, W2, W3 all in left hand position?
Please Log in or Create an account to join the conversation.
- moosedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
18 Jan 2022 23:50 #232365
by moosedesign
Replied by moosedesign on topic Bridgeport Series 2 Interact 4 Retrofit
correct all left
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
19 Jan 2022 00:33 #232369
by PCW
Replied by PCW on topic Bridgeport Series 2 Interact 4 Retrofit
Note that following errors in the stepgen are most likely caused
by incorrect PID P values (this can happen if you change the with
servo thread with pncconf)
P should be 1/Servo_Thread_Period or 1000 for a 1 ms servo thread.
by incorrect PID P values (this can happen if you change the with
servo thread with pncconf)
P should be 1/Servo_Thread_Period or 1000 for a 1 ms servo thread.
Please Log in or Create an account to join the conversation.
- moosedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
19 Jan 2022 21:52 #232484
by moosedesign
Replied by moosedesign on topic Bridgeport Series 2 Interact 4 Retrofit
Much appreciated PCW, have changed to 1ms and no more following error. Still no pin availability however, but I will come back to that one day.
Have started getting the 7i92/7i85 going with the 7i84 io board initially. Flashed the 7i92_7i85xD.bit, connected the 7i84 to serial 0 and hooked power to everything. Made a simple HAL file attached with e-stop as an input and linuxcnc loaded up perfectly. I am however getting funny behavior where the input-00 is held high without anything connected to the pin (can be seen in the screenshot of HAL Config). Toggling 24V to the input pin doesn't change the pin state. Is there anything I have done wrong in the HAL definition?
cheers,
Have started getting the 7i92/7i85 going with the 7i84 io board initially. Flashed the 7i92_7i85xD.bit, connected the 7i84 to serial 0 and hooked power to everything. Made a simple HAL file attached with e-stop as an input and linuxcnc loaded up perfectly. I am however getting funny behavior where the input-00 is held high without anything connected to the pin (can be seen in the screenshot of HAL Config). Toggling 24V to the input pin doesn't change the pin state. Is there anything I have done wrong in the HAL definition?
cheers,
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
19 Jan 2022 22:16 - 19 Jan 2022 22:16 #232486
by PCW
Replied by PCW on topic Bridgeport Series 2 Interact 4 Retrofit
No, I don't think you can affect that in HAL
Looks like a bad or damaged 7i84.
All 7I84s must pass a loopback test (output to input test)
that tests all inputs and outputs, so whatever is wrong s something
that's changed on the card.
BTW, I tested a 7I92+7I76 configuration with 7I92_7i76x1D firmware
And saw no issues so that also look like hardware.(cabling? ESD?)
Looks like a bad or damaged 7i84.
All 7I84s must pass a loopback test (output to input test)
that tests all inputs and outputs, so whatever is wrong s something
that's changed on the card.
BTW, I tested a 7I92+7I76 configuration with 7I92_7i76x1D firmware
And saw no issues so that also look like hardware.(cabling? ESD?)
Last edit: 19 Jan 2022 22:16 by PCW.
Please Log in or Create an account to join the conversation.
- moosedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
20 Jan 2022 08:00 - 20 Jan 2022 09:24 #232498
by moosedesign
Replied by moosedesign on topic Bridgeport Series 2 Interact 4 Retrofit
Thanks for testing PCW, good to know that the config for the 7i76 I had set up was correct. Theres a good chance that the board was shorted somewhere along the line and sustained damage. It will be replaced at some point as a backup card
Bit more playing around and agreed it seems that part of the board has some issues. Bugger... Bad luck here!
On the good side I have tested TB2 of the 7i84 and it appears to work just fine. Outputs and inputs are behaving as I would expect. Poking around it seems I don't have 24V on VFIELDA so possibly an issue there linking to the TB3 inputs.
I have also connected the 7i83 and started testing that out with 24V supplied to Vin. I have enable0 showing a changing state in hal config but not measuring any voltage between ena0- and ena0+.
I feel like I keep posting problems here but I hugely appreciate the experience that you all have!
EDIT: Read the manual wrong and realized enable is a switch. Works perfectly. Time to get axis voltages set up.
Bit more playing around and agreed it seems that part of the board has some issues. Bugger... Bad luck here!
On the good side I have tested TB2 of the 7i84 and it appears to work just fine. Outputs and inputs are behaving as I would expect. Poking around it seems I don't have 24V on VFIELDA so possibly an issue there linking to the TB3 inputs.
I have also connected the 7i83 and started testing that out with 24V supplied to Vin. I have enable0 showing a changing state in hal config but not measuring any voltage between ena0- and ena0+.
I feel like I keep posting problems here but I hugely appreciate the experience that you all have!
EDIT: Read the manual wrong and realized enable is a switch. Works perfectly. Time to get axis voltages set up.
Last edit: 20 Jan 2022 09:24 by moosedesign.
Please Log in or Create an account to join the conversation.
- moosedesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
23 Jan 2022 08:24 #232865
by moosedesign
Replied by moosedesign on topic Bridgeport Series 2 Interact 4 Retrofit
Well I have had some very good success today. I made a HAL config using the pncconf with a 7i92/7i77 and a 7i84 sserial board. After it was created the pins were set up for the 7i83 instead of the 77 and we were off to the races!
Tuning the servos today didn't happen as expected. I followed tommylight's servo tuning tutorial which was great advice. I ended up with P values in the 150 range though, which seemed quite high but they seem to be stable. I couldn't feel any vibration in the motors up to P values of 250 but watching the f error plots I increased the P value until the error just started to oscillate and then backed off 10. I couldn't see any difference in the FF1 values from .1 to .5 so left it at .25. If I am doing something odd here would appreciate the feedback!
Just to finish up wiring in some relays for the tool changer and coolant and well make a part.
Tuning the servos today didn't happen as expected. I followed tommylight's servo tuning tutorial which was great advice. I ended up with P values in the 150 range though, which seemed quite high but they seem to be stable. I couldn't feel any vibration in the motors up to P values of 250 but watching the f error plots I increased the P value until the error just started to oscillate and then backed off 10. I couldn't see any difference in the FF1 values from .1 to .5 so left it at .25. If I am doing something odd here would appreciate the feedback!
Just to finish up wiring in some relays for the tool changer and coolant and well make a part.
Please Log in or Create an account to join the conversation.
- bright
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 2
17 Dec 2022 16:34 - 17 Dec 2022 23:08 #259739
by bright
Replied by bright on topic Bridgeport Series 2 Interact 4 Retrofit
Hi, I recently got a few ultra 3000 drivers with servo motors. I've worked with steppers a lot but these servos are new to me, could you possibly send me a wiring diagram of how you hooked them up in your setup?
Last edit: 17 Dec 2022 23:08 by bright.
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
Less
More
- Posts: 23558
- Thank you received: 4858
19 Dec 2022 22:46 #259900
by andypugh
[code]I couldn't feel any vibration in the motors up to P values of 250 but watching the f error plots I increased the P value until the error just started to oscillate and then backed off 10.[/quote]
The Zeigler Nichols method has you _halve_ the P gain at oscillation, so backing off by 10 might still be a bit close to the edge: eng.libretexts.org/Bookshelves/Industria...egler-Nichols_Method
Replied by andypugh on topic Bridgeport Series 2 Interact 4 Retrofit
The right number is the right number, I have seen P-gains from 0.001 to 100,000 in the day job. It largely depends on the units of what is being controlled (if it's hPa of fuel pressure with a target of 2,000,000 and the output is a 0.00 to 1.00 duty cycle then you will see a very small P, for example)I ended up with P values in the 150 range though, which seemed quite high
[code]I couldn't feel any vibration in the motors up to P values of 250 but watching the f error plots I increased the P value until the error just started to oscillate and then backed off 10.[/quote]
The Zeigler Nichols method has you _halve_ the P gain at oscillation, so backing off by 10 might still be a bit close to the edge: eng.libretexts.org/Bookshelves/Industria...egler-Nichols_Method
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.147 seconds