Updating from LINUXCNC - 2.8.4-23, Mint 20.3 - gmoccapy lathe structure

More
11 months 4 days ago - 11 months 3 days ago #339379 by Muzzer
I'm back home again, having been away at work during the week. I've created an initial config using pncconfig, then edited up the contents the best I can, based on my previous working instance in 2.8.4 Of course, those old files no longer work with the current version of gmoccapy and LinuxCNC, presumably due to changes that have occurred along the way, so I have no working system.

I'm in a bit of a Catch-22 situation, as I can't start from a working copy and simply(?) make a few changes. The SIM versions have a range of extra files to fool LinuxCNC to work without a real machine and I don't know which those are. My "starter file" created in pncconfig never got as far as being fully operational, not least because the bitfile in my 5i25 for isn't listed in the pncconfig options.

When I try to run LinuxCNC with my new embryonic config, it seems to bomb out when it tries to start gmoccapy. The debug info is very curt and doesn't seem to give me much of a clue what to look for.

I'm pretty certain I'm missing some of the files required for operation but I've no idea what those are. Without a functioning example, I can't work from a "known good" example. Ideally I'd have an example of a complete file / folder set that I can compare with - is there something I can refer to?

The various gmoccapy sims work fine but as I said, they seem to come with a variety of additional files that I won't need with a real machine. Can somebody help to identify which files I need and which I don't? Many thanks!

 

File Attachment:

File Name: linuxcnc.r...1-28.txt
File Size:9.4 KB

 

File Attachment:

File Name: combined.hal
File Size:12.26 KB

 

File Attachment:

File Name: combined.ini
File Size:8.25 KB
Last edit: 11 months 3 days ago by Muzzer.

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

More
11 months 3 days ago #339418 by Muzzer
Re: the above, could somebody show me what the folder structure and contents should look like in a functioning gmoccapy lathe installation please?

I want to identify the files that are missing from my system that are preventing it from working.

Many thanks.

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

More
11 months 3 days ago #339419 by Aciera
It's not that you are missing files but that your hal files content doesn't harmonize:
Code:
gmoccapy_postgui.hal:9: Signal 'tool-change-confirmed' can not add OUT pin 'gmoccapy.toolchange-changed', it already has OUT pin 'hal_manualtoolchange.changed'

If you are unsure you can just comment out the line in your gmoccapy_postgui.hal and any others that may throw errors so you can start your config and see what is missing.

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

More
11 months 3 days ago #339442 by Muzzer
Aha. Many thanks - commenting out that duplicated line did the trick, so I now have the machine moving in closed loop, homing correctly and e-stopping safely. That's a great step forward and it feels as if I'm getting close to getting this sorted out.

I now have to get the xhc-whb04b-6 MPG connected up (currently commented out) and the spindle vfd doesn't respond, so I'll need to check that out too.

Andy Pugh's macros don't show up in my GUI. I have the tab showing up but clicking on it does nothing - none of the graphics appear. There are several gmoccapy lathe sims that work but something's not right in my setup. Again, I'm not clear what files need to be where and what configs need to be set up. Is there any documentation for the lathe macros that I can refer to?

Many thanks

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

More
11 months 2 days ago #339519 by andypugh
I generally install avahi + samba on my Linux machine and that gives me a bonjour-style easy networking setup.
(My home system is a mixture of MacOS and Linux, Windows not invited to play but does connect when I am working from home as my job requires a lot of windows-only software.

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

More
11 months 3 hours ago #339610 by Muzzer
I have to admit that Linuxcnc is the only application I have that requires Linux. Like Andy, my engineering job requires almost exclusively Windows based programs, as do my family, for whom I appear to be IT manager.

@andypugh - could you suggest why your macros aren't showing up in my gmoccapy GUI? I've got no errors showing but clicking on the "cycles" tab doesn't change from the XZ preview.

File Attachment:

File Name: combined_2...2-01.ini
File Size:6.93 KB

File Attachment:

File Name: combined_2...2-01.hal
File Size:9.87 KB

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

Moderators: newbynobi, HansU
Time to create page: 0.074 seconds
Powered by Kunena Forum