LinuxCNC not loading classicladder on startup

More
5 years 3 months ago #214803 by ExcessiveO
I've written and tested a short ladder program using linuxCNC then saved it to the config folder. I added the loadrt and addf lines to my custom.hal file, along with the loadusr line that is supposed to start running the program. When I start linuxcnc and check classicladder, it says it was unable to load the program, but when I try to manually load it, it has no issues and everything runs fine. Is there something else that I am supposed to add for it automatically start running the program? I'm running 2.8 with gmoccapy.

Please Log in to join the conversation.

More
5 years 3 months ago #214805 by cmorley
can you post the relevant files?

Please Log in to join the conversation.

More
5 years 3 months ago #214904 by ExcessiveO

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
5 years 3 months ago #214905 by ExcessiveO

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
5 years 3 months ago #214923 by bevins
You are telling it to not load the GUI. You realize that? So if your expecting to see the interface, it wont show up with --nogui

Please Log in to join the conversation.

More
5 years 3 months ago #214926 by ExcessiveO
I know the window wasn't supposed to show up, but it would not run the program. I tried later without the --nogui and it did the same thing, nothing at all. I ended up moving the loadusr command into the custom post gui hal file while leaving the loadrt and addf commands in the normal custom.hal, it solved the issue.

Please Log in to join the conversation.

More
5 years 3 months ago #214927 by bevins

I know the window wasn't supposed to show up, but it would not run the program. I tried later without the --nogui and it did the same thing, nothing at all. I ended up moving the loadusr command into the custom post gui hal file while leaving the loadrt and addf commands in the normal custom.hal, it solved the issue.G

Glad its working. That is weird./ I have the loadrt and loadusr in the same file. One right after and it works fine. Maybe it is a gmoccapy  thing. I use axis.

Please Log in to join the conversation.

Time to create page: 0.579 seconds
Powered by Kunena Forum