5i25+7i76 to 7i76E config conversion

More
22 Dec 2021 19:36 #229755 by eman5oh
Hi all, I had a working 5i25+7i76 setup running my 3 axis Bridgeport mill and would like to modify my config to run the 7i76E. I have the 7i76E running on a test setup and was wondering what the simplest way to modify the config to run the new Mesa card would be? Thanks

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

More
22 Dec 2021 22:02 - 22 Dec 2021 22:02 #229766 by PCW
It should be pretty simple to change. Basically all that needs to change
is the card name (from 5i25 to 7i76e) and the driver name/command line,
from:
loadrt hm2_pci config="blah.blah blah"
to:
loadrt hm2_eth board_ip=10.10.10.10 config="blah.blah blah"
Last edit: 22 Dec 2021 22:02 by PCW.

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

More
24 Dec 2021 17:40 #229907 by eman5oh
Thanks, PCW, got everything working minus my handwheel mpg, the line below is what is causing the issue and I have attached the debug report. Commenting that line out lets the machine function without the mpg, I can jog it around with the mdi buttons on the screen at least.

net mpg-out ilowpass.0.in <= hm2_7i76e.0.7i76.0.0.enc0.count
net mpg-out ilowpass.0.in <= hm2_5i25.0.7i76.0.0.enc0.count    previous hal line used with the 5i25 7i76 combo. 

File Attachment:

File Name: linuxcnc.report.txt
File Size:8 KB
Attachments:

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

More
24 Dec 2021 17:54 #229908 by PCW
Do you still have a "sserial_port_0=20xx" token in the driver config line?

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

More
24 Dec 2021 18:09 #229911 by eman5oh
That was it, thank you!

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

More
24 Dec 2021 20:50 #229922 by eman5oh
I have the machine back up and running now, everything works as before but I am getting the below messages shortly after starting linux cnc up. Looking through my config , I don't see anything that may cause this but, I am not an expert. I have not cut any parts with the machine but it seems to run just fine. i am running the latest stable raspberry Pi image downloaded from this site on a 4gb Pi4


Thanks. again for the help.




hm2/hm2 7i76e.0: Smart Serial port 0
: Dolt not cleared from previous servo
thread. Servo thread rate probably to
o fast. This message will not be repea
ted, but the hm2 776e.0.sserial.0.fau
It-count pin will indicate if this is happ
ening frequently.

Unexpected realtime delay on task o
with period 1000000 This Message will
only display once per session Run the Latency
Test and resolve before continuing

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

More
25 Dec 2021 00:28 #229940 by PCW
Do you have isolcpus=1.2.3?

I think that's pretty much a requirement for RPI4 setups

Also even with isolcpus=1.2.3, some RPI4 Ethernet setups need a 2000000 ns servo thread

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

More
25 Dec 2021 18:11 #229976 by eman5oh
Happy holidays ,

Looks like the pi image is set to use isolcpus=3 , I changed it to isolcpus=1.2.3 but that did not fix the issue. I set the servo thread to 2000000 ns and that got rid of the realtime delay errors but now I am getting following errors, is there something else to change along with the servo thread time that needs adjusting as well or is the Pi4 just not up to the task?

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

More
25 Dec 2021 18:36 #229980 by tommylight
Change PID "P" value to 500 for each axis/joint in the ini file.

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

More
26 Dec 2021 15:22 - 26 Dec 2021 15:58 #230014 by eman5oh
***Edit*** Looks like isolcpus=1,2,3 fixed the issue. I had put in isolcpus=1.2.3 using periods and not comma’s after the proper isolcpus config was used the latency errors have gone away even while using a 1000000 ns servo thread. Thanks so much, pretty happy with the new setup now.




Changed the P to 500 still get the following errors, upped my following error and that gets rid of the messages but the machine does not run well, I get hiccups when moving the motors, they don’t sound healthy with 2000000 ns servo thread. I made a new sd card up with a fresh install and it is bit better latency wise but I do still get the warnings. If it would be better I’ll start a new post in the computer hardware section to chase this down as I now have the config well sorted for the 7i76e. Thank both of you for the help on this one.
Last edit: 26 Dec 2021 15:58 by eman5oh.

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

Moderators: cmorley
Time to create page: 0.146 seconds
Powered by Kunena Forum