5i24 substitute using ethernet?
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
08 Oct 2019 04:57 #147424
by PCW
Replied by PCW on topic 5i24 substitute using ethernet?
You would have to run the ethtool command by hand or reboot for the command to take effect, though the tmax times seem ok (assuming the CPU clock speed is 2 GHz or higher)
Still not sure whats going on, might be worth taking a look at the spindle analog out for a clue
Still not sure whats going on, might be worth taking a look at the spindle analog out for a clue
Please Log in or Create an account to join the conversation.
- Nitram
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 15
08 Oct 2019 05:00 #147425
by Nitram
Replied by Nitram on topic 5i24 substitute using ethernet?
The Dell 790 I have is an Intel Core i5 (2nd Gen) 2400 / 3.1 GHz
I'll get a multimeter on the spindle analogue out.
I'll get a multimeter on the spindle analogue out.
Please Log in or Create an account to join the conversation.
- Nitram
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 15
08 Oct 2019 05:14 #147426
by Nitram
Replied by Nitram on topic 5i24 substitute using ethernet?
So on the analogue output of the 7i47s (with the 7i80) I get the following:
Voltage across the legs in all cases is 12.36v.
Wiper:
5000 RPM 5.06v
2000 RPM 2.07v
30 RPM 0.89v
Voltage across the legs in all cases is 12.36v.
Wiper:
5000 RPM 5.06v
2000 RPM 2.07v
30 RPM 0.89v
Please Log in or Create an account to join the conversation.
- Nitram
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 15
08 Oct 2019 05:21 #147427
by Nitram
Replied by Nitram on topic 5i24 substitute using ethernet?
By the way, do any components need to go into TP1 and TP2?
The board has connectors but is bare there.
The board has connectors but is bare there.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
08 Oct 2019 11:52 #147452
by PCW
Replied by PCW on topic 5i24 substitute using ethernet?
No those are just test points
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
08 Oct 2019 12:17 #147456
by PCW
The last one is really far off unless you forgot a 0
It looks like the scaling is 1V ~= 1000 RPM so 0.89V ~= 890 rpm
Note that the 7I47S analog out will not swing all the way to ground
but only within 50 mv or so of ground which is going to make
selecting very low speeds difficult on a high speed spindle
Replied by PCW on topic 5i24 substitute using ethernet?
So on the analogue output of the 7i47s (with the 7i80) I get the following:
Voltage across the legs in all cases is 12.36v.
Wiper:
5000 RPM 5.06v
2000 RPM 2.07v
30 RPM 0.89v
The last one is really far off unless you forgot a 0
It looks like the scaling is 1V ~= 1000 RPM so 0.89V ~= 890 rpm
Note that the 7I47S analog out will not swing all the way to ground
but only within 50 mv or so of ground which is going to make
selecting very low speeds difficult on a high speed spindle
Please Log in or Create an account to join the conversation.
- Nitram
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 15
08 Oct 2019 23:00 - 08 Oct 2019 23:08 #147507
by Nitram
Replied by Nitram on topic 5i24 substitute using ethernet?
Reinstalled the 5i24, and spindle behavior is normal. S30 M3 the spindle starts straight away (no lag) and this enables the tool change (orient cycle) to work correctly without timing out.
Retested the 4i47s analogue output with the 5i24 reinstalled.
Voltage across the legs in all cases is 12.30v. (Was 12.36v with the 7i80 installed)
Wiper:
5000 RPM 4.97v (was 5.06 with the 7i80)
2000 RPM 1.99v (was 2.07 with the 7i80)
30 RPM 0.033v (the floating decimal point is very subtle, so it is highly likely that the 7i80 reading was 0.089v)
25 RPM was the minimum achievable even when setting a lower RPM which is indicative of the PWM bottoming out at about 0.027v.
I am still unsure why with the 7i80 there should be a 4-5 second lag when commanding an S30 M3 (for a tool change), whereas the 5i24 is immediate rotation.
Can the above difference in frequency have an effect on PID tuning? Or the voltage scale value (per the .ini?)
It also still doesn't explain the smart serial timeout messages.
Rather stumped....
Retested the 4i47s analogue output with the 5i24 reinstalled.
Voltage across the legs in all cases is 12.30v. (Was 12.36v with the 7i80 installed)
Wiper:
5000 RPM 4.97v (was 5.06 with the 7i80)
2000 RPM 1.99v (was 2.07 with the 7i80)
30 RPM 0.033v (the floating decimal point is very subtle, so it is highly likely that the 7i80 reading was 0.089v)
25 RPM was the minimum achievable even when setting a lower RPM which is indicative of the PWM bottoming out at about 0.027v.
I am still unsure why with the 7i80 there should be a 4-5 second lag when commanding an S30 M3 (for a tool change), whereas the 5i24 is immediate rotation.
The PWM base clock is different on a Ethernet card vs a PCI card (200 MHz vs 100 Mhz)
but the driver takes this into account.
Can the above difference in frequency have an effect on PID tuning? Or the voltage scale value (per the .ini?)
It also still doesn't explain the smart serial timeout messages.
Rather stumped....
Last edit: 08 Oct 2019 23:08 by Nitram.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
09 Oct 2019 00:19 - 09 Oct 2019 00:19 #147522
by PCW
Replied by PCW on topic 5i24 substitute using ethernet?
I would not expect the spindle speed command to have much repeatability
because its in the offset range of the digital potentiometer on the 7I47S
(that is the minimum output is in the range of you commanded speed = 30 mV for 30 RPM)
What PID tuning changed?
I did some tests with the bitfile I sent you and did not see any delay in
setting PWM outputs so I'm still not sure whats going on here
Smart serial timeouts usual mean a bad noise problem or real time issues with the host (or power supply issues)
because its in the offset range of the digital potentiometer on the 7I47S
(that is the minimum output is in the range of you commanded speed = 30 mV for 30 RPM)
What PID tuning changed?
I did some tests with the bitfile I sent you and did not see any delay in
setting PWM outputs so I'm still not sure whats going on here
Smart serial timeouts usual mean a bad noise problem or real time issues with the host (or power supply issues)
Last edit: 09 Oct 2019 00:19 by PCW.
Please Log in or Create an account to join the conversation.
- Nitram
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 15
09 Oct 2019 09:53 - 09 Oct 2019 09:56 #147549
by Nitram
Replied by Nitram on topic 5i24 substitute using ethernet?
I'll have to keep trying to nut this out. The spindle is definitely 4-5 seconds slower in getting going with the Ethernet than with the PCI.
I'll try a different power source to power the 7i80 and see what impact that has on things. I believe I'll take 5V power from the PC's power supply, which is where the PCI board is getting its power from.
I'm not sure whether this will have any effect whatsoever, but at this point I'm not sure why there should be a difference with all else being equal (aside from the PCI running Wheezy RTAI, vs the ethernet running Stretch and its current preempt kernel, in fact I'm using the same PC and swapping HDD's to test)...
I'll try a different power source to power the 7i80 and see what impact that has on things. I believe I'll take 5V power from the PC's power supply, which is where the PCI board is getting its power from.
I'm not sure whether this will have any effect whatsoever, but at this point I'm not sure why there should be a difference with all else being equal (aside from the PCI running Wheezy RTAI, vs the ethernet running Stretch and its current preempt kernel, in fact I'm using the same PC and swapping HDD's to test)...
Last edit: 09 Oct 2019 09:56 by Nitram.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
09 Oct 2019 11:50 #147556
by PCW
Replied by PCW on topic 5i24 substitute using ethernet?
Are you saying normal high speed spindle command are delayed?
I would expect trouble commanding 30 RPM because its down in the offset/noise
region of a 7I47S
I would expect trouble commanding 30 RPM because its down in the offset/noise
region of a 7I47S
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.075 seconds