EMC as a simulator

More
17 Jun 2011 05:28 #10593 by dzarek
EMC as a simulator was created by dzarek
HI
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.

More
17 Jun 2011 09:26 #10597 by Rick G
Replied by Rick G on topic Re:EMC as a simulator
Take a look here,

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.

More
19 Jun 2011 10:12 #10615 by Mike_Eitel
Replied by Mike_Eitel on topic Re:EMC as a simulator
Hi One question

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.

More
20 Jun 2011 11:09 #10645 by Rick G
Replied by Rick G on topic Re:EMC as a simulator
I never tried the simulator, but I would expect a problem.

Rick G

Please Log in or Create an account to join the conversation.

More
26 Jun 2011 12:14 #10874 by Mike_Eitel
Replied by Mike_Eitel on topic Re:EMC as a simulator
Sorry to ask again:

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.

More
26 Jun 2011 13:43 #10875 by BigJohnT
Replied by BigJohnT on topic Re:EMC as a simulator
Doesn't work on a stock realtime install, you might try the pure simulator and see if it works... Why do you need 2 parallel ports on a sim?

John

Please Log in or Create an account to join the conversation.

More
27 Jun 2011 10:08 #10892 by Mike_Eitel
Replied by Mike_Eitel on topic Re:EMC as a simulator
Hi John

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.

More
27 Jun 2011 11:38 #10894 by BigJohnT
Replied by BigJohnT on topic Re:EMC as a simulator
Not much clearer to me, so why don't you use computer 3 for development? and just try the sim and see.

John

Please Log in or Create an account to join the conversation.

More
27 Jun 2011 14:10 #10898 by ArcEye
Replied by ArcEye on topic Re:EMC as a simulator
Hi

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.

More
29 Jun 2011 09:04 #10942 by Mike_Eitel
Replied by Mike_Eitel on topic Re:EMC as a simulator
Thanks John and ArcEye

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.

Time to create page: 0.547 seconds
Powered by Kunena Forum