EMC as a simulator
I want to install EMC on my laptop, there are no LPT port and RT kernel, but I want to use it as a simulator to study and verify the nc code that I create on it.
How do I run the EMC, without installing the kernel settings of Latency Test, etc. ????
I have Ubuntu 10.10 x86 on it.
Please Log in or Create an account to join the conversation.
wiki.linuxcnc.org/emcinfo.pl?Installing_EMC2
This applies to 10.04 and 8.04...
wiki.linuxcnc.org/emcinfo.pl?Installing_...lding_emc2_simulator
Alternately, you can install a pre-compiled simulation-only version: download and execute linuxcnc.org/lucid/emc2-install-sim.sh (lucid lynx) or linuxcnc.org/hardy/emc2-install-sim.sh (hardy heron)
Rick G
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
I do have a 2.4.6 configuation with a second parport for a whell etc ...
Can I use these configuration files UNCHANGED and run them in a emc simulation evironememnt or do I get a 2.parport conflict ??
Mike
Please Log in or Create an account to join the conversation.
Rick G
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
Can I use in simulator a configuration that usses a second, non existing, parport.
Mike
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
Maybe I missunderstand but I do have in the moment 3 systems
1. old BDI 2.6 to bore my pcb's with a complete sw workflow out of eagle ( never touch a running system)
2. My mill running on an older pc with 8.04 2.4.4 ( I belive ) I use this togeather with a more ore less working workflow.
3. A newer PC with additional jogwheel (2.parport) . I augmented the nr 2 with jogwheel, probe input, etc. And I'm still trying
to have a pyvcp with a lot of more information, and M1xx prepared programms.....
The new Nr. 3 is a complete configuration that has a cogged modular configuration.
I would like to replace Nr2 ASAP by Nr3.
But I'm still in process of developement. I was wondering if I could run such an adapted configuration in a SIM version.
I hope it is clearer to you now.
Mike
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
Can I use in simulator a configuration that usses a second, non existing, parport.
Yes you can ( but obviously it won't do anything )
If you look at this thread
www.linuxcnc.org/component/option,com_ku...d,9694/lang,english/
The download contains a complete config directory with the hacked .hal and .ini files from an existing realtime installation of mine, to allow it to run as a simulation.
I use that simulation for most of my lathe development at present.
The computer I run it on does not even have a parallel port.
Work your way through the files and you will see that you have to comment out things like limit, home and estop switches and you may have to force it into an enabled state.
So all you need to do is comment out what would stop it working, clearly label the changes you made and you can quickly re-enable them when transferring to a functioning PC-machine combination.
regards
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
I understand that simulation is not what I was looking for.
( After 30 years in SW and industrial projekts I HATE al kind of testflags, commented for test, special configurations etc. ) All these are quaranties for errors in the final application.
My idea is to switch system 3 and 2, so the best is running my real machine.
And I want to develope further expansions on my desk in my office...... here I have some small HW, stepper driver pcb, steppers, switches.
My aim is develop in the office, copy the directories ( application and ngc_files ) on a stick, go down in the basement and load on my CNC.
And hops everithing works as tested in the office. ( No changes in any peace of code ) . As I guessed thats a dream.
THX for your efforts.
P.S:
And yes I'm still on my dream for the M1xx implementations. Still feighting remote-axis, and I'm not a unix specialist...
I'll solve it, But I'm very short in time these days.
Mike
Please Log in or Create an account to join the conversation.