- Configuring LinuxCNC
- Advanced Configuration
- ClassicLadder
- LinuxCNC not loading classicladder on startup
LinuxCNC not loading classicladder on startup
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
15 Jul 2021 03:09 #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 or Create an account to join the conversation.
15 Jul 2021 03:32 #214805
by cmorley
Replied by cmorley on topic LinuxCNC not loading classicladder on startup
can you post the relevant files?
Please Log in or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
15 Jul 2021 17:02 #214904
by ExcessiveO
Replied by ExcessiveO on topic LinuxCNC not loading classicladder on startup
Attachments:
Please Log in or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
15 Jul 2021 17:05 #214905
by ExcessiveO
Replied by ExcessiveO on topic LinuxCNC not loading classicladder on startup
Attachments:
Please Log in or Create an account to join the conversation.
15 Jul 2021 19:59 #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 or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
15 Jul 2021 20:06 #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 or Create an account to join the conversation.
15 Jul 2021 20:13 #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 or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- ClassicLadder
- LinuxCNC not loading classicladder on startup
Time to create page: 0.072 seconds