Modbus for Path Pilot 2.x

More
8 years 1 month ago #117026 by Simpson36
Hello Group!

I am starting to port my 4th axis motor controller to PP 2.x and as soon as I 'opened the hood' it became obvious that it is very different from 1.9.13

Right off the bat I cannot get Modbus to work. As normal, mb2hal does not seem to be included with PP 2.x and the LinuxCNC version that works fine with PP 1.9.13 throws a code sharing error on PP2.x

I can be more specific but first I thought I would see if anyone has already done this. Most of 'operator_login' has been replaced by a python program. Not sure if that is good of bad, but it made me wonder about the feasibility of using pymodbus or something similar instead of the LinuxCNC mb2hal utility.

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

More
8 years 1 month ago #117048 by racedirector
I have a custom mb2hal for my Hitachi X400 running on PP2, I had to recompile the version I had under 1.9 so it would run under 64bit. Aside from that I didn't change anything.

Have you recompiled mb2hal to work under 64bit Linuxcnc?
The following user(s) said Thank You: Simpson36

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

More
8 years 1 month ago #117058 by Simpson36
Replied by Simpson36 on topic Modbus for Path Pilot 2.x
Thank you for the reply. I created a fresh Linux install but using 32 bit in order to follow a published process.
It looks like mb2hal has had some attention over the last year.
I also created a fresh 64 bit MINT and I will install linuxcnc on that and see how it goes.

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

More
8 years 1 month ago #117076 by Simpson36
Replied by Simpson36 on topic Modbus for Path Pilot 2.x
Up and running. Moving on to the next pothole . . :-)

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

More
8 years 1 month ago #117089 by racedirector
Great news!

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

More
8 years 1 month ago #117283 by smgvbest
Replied by smgvbest on topic Modbus for Path Pilot 2.x
I assume once you had it on the 64bit version of linux and built mb2hal it worked fine? That should have been the issue. you have to build for 64 bit code in PP2.x vs 32bit code in PP1.x

trying to clarify so others can benefit in the future should the question arise again.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum