Tormach 1100MX???

More
5 years 4 months ago - 5 years 4 months ago #212690 by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Tormach 1100MX???
Good catch Peter. I did not notice where it was looking for /sbin/sysctl. I don't know how many times i had looked at the error logs.

However the file and path both exist. When I run /sbin/sysctl -a the variable "net.ipv6.conf.eth0.disable_ipv6" does not exist. In fact no "net.ipv6" variables exist. I believe this is turned off in the grub configuration kernel parameters.
Code:
quiet splash intel_idle.max_cstate=1 ipv6.disable=1 cgroup_enable=memory,cpu,cpuset swapaccount=1 usbcore.autosuspend=-1

I see that the missing directory is /proc/sys/net/ipv6

What is interesting is that this is the same for when I boot to the pathpilot partition and pathpilot works just fine.

To clear up how I am at the point I am at. I took an image of the existing pathpilot installation partition and replicated it to a new partition, lets call it the linuxcnc partition. I then installed linuxcnc 2.8.1 on the linuxcnc partition. I made a new configuration using information from the pathpilot .ini and .hal files to make a config that uses the linuxcnc 2.8 stuff and the pathpilot stuff.

I compiled the kernel 4.19.1-rt3 per Big John T's instructions for linux mint. That is what was installed on the pathpilot install from the factory.

Both of the kernels. 4.11.9-rt7 and 4.19.1-rt3 have terrible latency. Spikes between 100us and 200us are not uncommon. I have seen up to 215us.

I have not tried isolcpus yet. Do I put the isolcpus param in the grub line like the following? I have never had to do it to this point.
Code:
quiet splash intel_idle.max_cstate=1 ipv6.disable=1 cgroup_enable=memory,cpu,cpuset swapaccount=1 usbcore.autosuspend=-1 isolcpus=2,3

Peter, Thanks for the feedback on the use of the switch and the daughter cards for additional steppers. When I figure out if I can use the ECM1 card or not I will know which way to go.

What do you think about the sysctl issue and the latency issue?
Last edit: 5 years 4 months ago by LearningLinuxCNC. Reason: added path to missing directory

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

More
5 years 4 months ago #212697 by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Tormach 1100MX???
For any of the Tormach hal component .so files, when linuxcnc tries to load them they return the following error about an invalid type character.
Code:
names=doorlock: Invalid type character `1'

what does this mean?

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

More
5 years 4 months ago #212740 by andypugh
Replied by andypugh on topic Tormach 1100MX???
Maybe start with a fresh LinuxCNC and standard Mesa bitfile?

I think that Tormach use a special USB IO module? How hard ./ expensive is it to not use that?

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

More
5 years 4 months ago #212752 by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Tormach 1100MX???

Maybe start with a fresh LinuxCNC and standard Mesa bitfile?

I think that Tormach use a special USB IO module? How hard ./ expensive is it to not use that?


I actually think that is the way I am going to proceed. I will just use a 7i76e and a 7i76 connected to an expansion header. Rewire the stuff that will remain standard on the Tormach and then add the additional drives, replacement spindle drive, etc to make this thing happen.

It looks like the Tormach Pathpilot software is made to run with LinuxCNC 2.7. None of the .ini files use the joint sections they are only using axis sections. This may have something to do with the compatibility issues i am having between LinuxCNC 2.8.1.

I think a fresh install with the standard LinuxCNC 2.8.1 build will be the best option for this machine.

I was hoping to use the tormach operator console. It looks like that won't be possible as the pins to access the controls on the console are built into the Tormach Pathpilot GUI and connected in a postgui.hal file. Since I am not able to use Pathpilot for this application those pins will not be available in LinuxCNC.

Now that I know the direction I will be heading, it is time to get down to business and actually start doing the work.

Thanks for the help everyone. I will probably start a new thread showing progress and what we are doing with this machine.
The following user(s) said Thank You: Clive S

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

More
5 years 4 months ago #212825 by andypugh
Replied by andypugh on topic Tormach 1100MX???
I think it is worth asking in the Pathpilot section , there is a fair bit of expertise there, but they might look in this section.

Adding a 7i76 to your 7i76E is an expensive way to add more GPIO. I would suggest starting with hooking something to the smart-serial port, such as a 7i84.

store.mesanet.com/index.php?route=product/category&path=83_88

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

More
5 years 3 months ago #215979 by 93xshang
Replied by 93xshang on topic Tormach 1100MX???
Hi, I wanted to check if there's any update on your project? I'm also planning to overwrite PathPilot with LinuxCNC so I can use the Python interface. Any updates are appreciated!

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

Time to create page: 0.084 seconds
Powered by Kunena Forum