Converting a working mill configuration to an equivalent sim
- pgf
- Offline
- Premium Member
-
Less
More
- Posts: 109
- Thank you received: 18
12 Apr 2025 16:19 #326174
by pgf
Converting a working mill configuration to an equivalent sim was created by pgf
Now that I've tightened up my estop game, I can no longer simply turn off my stepper drivers in order to run simulations on my mill software, since doing so makes everything else think there's a fault. I knew this would happen, but I promised myself I'd figure out how to use a sim instead.
What's the easiest way to copy a mill configuration, and turn the hardware-aware parts into a simulation? I'd like to preserve as much of my UI (including pyvcp panel) as possible, even if much is non-functional.
(If that's hard, I'll settle for a recommendation on the most functional x/y/z sim to use, instead.)
What's the easiest way to copy a mill configuration, and turn the hardware-aware parts into a simulation? I'd like to preserve as much of my UI (including pyvcp panel) as possible, even if much is non-functional.
(If that's hard, I'll settle for a recommendation on the most functional x/y/z sim to use, instead.)
The following user(s) said Thank You: vre
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 302
- Thank you received: 26
14 Apr 2025 16:38 #326301
by langdons
Replied by langdons on topic Converting a working mill configuration to an equivalent sim
Can you run the drivers with the motors disconnected (turn the power off before disconnecting the motor)?
Don't make a separate simulation, you might end up with slight differences, which will wreak havoc!
Don't make a separate simulation, you might end up with slight differences, which will wreak havoc!
Please Log in or Create an account to join the conversation.
- pgf
- Offline
- Premium Member
-
Less
More
- Posts: 109
- Thank you received: 18
15 Apr 2025 02:03 #326333
by pgf
Replied by pgf on topic Converting a working mill configuration to an equivalent sim
I don't want to start disconnecting hardware for this. It's really just to see, while I'm sitting in my living room, whether the g-code is "mill ready".
In the end, I just took a copy of /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis.ini , and I'm using that. I have a pretty basic mill. I had to adjust the limits in the .ini file, and I realized that since I'm simularing I could bump the velocities way up, and it's been useful, so far.
What kinds of things are you worrying about, that will "wreak havoc"?
In the end, I just took a copy of /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis.ini , and I'm using that. I have a pretty basic mill. I had to adjust the limits in the .ini file, and I realized that since I'm simularing I could bump the velocities way up, and it's been useful, so far.
What kinds of things are you worrying about, that will "wreak havoc"?
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 302
- Thank you received: 26
15 Apr 2025 12:30 #326356
by langdons
Replied by langdons on topic Converting a working mill configuration to an equivalent sim
Like what if your smulation is catually different than the real-world machne and in real life, the machine ends up being destroyed due to a 1mm difference or something.
Please Log in or Create an account to join the conversation.
Time to create page: 0.233 seconds