- Posts: 54
- Thank you received: 0
LinuxCNC not loading classicladder on startup
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
5 years 3 months ago #214803
by ExcessiveO
LinuxCNC not loading classicladder on startup was created 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.
5 years 3 months ago #214805
by cmorley
Replied by cmorley on topic LinuxCNC not loading classicladder on startup
can you post the relevant files?
Please Log in to join the conversation.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
5 years 3 months ago #214904
by ExcessiveO
Replied by ExcessiveO on topic LinuxCNC not loading classicladder on startup
Attachment not found
Attachment not found
Please Log in to join the conversation.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
5 years 3 months ago #214905
by ExcessiveO
Replied by ExcessiveO on topic LinuxCNC not loading classicladder on startup
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
5 years 3 months ago #214923
by bevins
Replied by bevins on topic LinuxCNC not loading classicladder on startup
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.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
5 years 3 months ago #214926
by ExcessiveO
Replied by ExcessiveO on topic LinuxCNC not loading classicladder on startup
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.
5 years 3 months ago #214927
by bevins
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.
Replied by bevins on topic LinuxCNC not loading classicladder on startup
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
