LinuxCNC Pure Simulator in 10.04

More
26 Sep 2012 06:30 #24629 by gandalf69
wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_Pure_Simulator says it's very easy so it must be:)
But I'm clueless so maybe not for me.

wget www.linuxcnc.org/lucid/dists/lucid/linux...c-sim_2.5.1_i386.deb
Results in:

--2012-09-26 15:51:49-- www.linuxcnc.org/lucid/dists/lucid/linux...c-sim_2.5.1_i386.deb
Resolving www.linuxcnc.org... 69.163.251.58
Connecting to www.linuxcnc.org|69.163.251.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3787554 (3.6M) [application/x-debian-package]
Saving to: `linuxcnc-sim_2.5.1_i386.deb.1'

100%[======================================>] 3,787,554 158K/s in 24s

2012-09-26 15:52:14 (156 KB/s) - `linuxcnc-sim_2.5.1_i386.deb.1' saved [3787554/3787554]
But:

sudo dpkg -i linuxcnc-sim*.deb
Results in:

dpkg: regarding linuxcnc-sim_2.5.1_i386.deb containing linuxcnc-sim:
linuxcnc-sim conflicts with emc2
linuxcnc provides emc2 and is present and installed.
dpkg: error processing linuxcnc-sim_2.5.1_i386.deb (--install):
conflicting packages - not installing linuxcnc-sim
Errors were encountered while processing:
linuxcnc-sim_2.5.1_i386.deb

And just in case the * is meant to be changed:
sudo dpkg -i linuxcnc-sim_2.5.1_i386.deb
Results in:

dpkg: regarding linuxcnc-sim_2.5.1_i386.deb containing linuxcnc-sim:
linuxcnc-sim conflicts with emc2
linuxcnc provides emc2 and is present and installed.
dpkg: error processing linuxcnc-sim_2.5.1_i386.deb (--install):
conflicting packages - not installing linuxcnc-sim
Errors were encountered while processing:
linuxcnc-sim_2.5.1_i386.deb

Now I'm stuck.

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

More
26 Sep 2012 09:27 #24630 by ArcEye
Hi

I think you are getting caught between two stools and the emc2 re-branding.

If you actually want to run a pure simulator on 10.04 ( no reason to do so, the sim configs all work under the rt version ) you need to remove the rt version emc2
sudo dpkg -r emc2
then install as you previously tried.

The alternative might be to download the source and build the sim as a RIP (run in place) and it will not clash with existing system.

I use the 10.04 rt system on a computer with no parport in the house as a development machine, running all sorts of homebrew sim configs as well as the provided ones.
No real need for a sim package, if the rt one will run.

It is mostly people with such new hardware that only > 12.xx will run on it, that go for the sim only ( and maybe laptops)

regards

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

More
26 Sep 2012 10:14 #24631 by gandalf69
ArcEye,
thanks, so are you saying that the sim is superfluous for software simulation?
I installed LinuxCNC per the live cd.
All I want to do is test and mess around with the software without having to have servos and encoders attached.
Obviously I don't expect input from non-existant hardware.

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

More
26 Sep 2012 10:26 #24632 by BigJohnT
If you have installed from the LiveCD simply go to Applications > CNC > LinuxCNC and navigate down to sim > axis > and pick one. They will all work without any hardware.

John

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

More
26 Sep 2012 11:01 #24634 by gandalf69
BJT,
thanks, isn't that just running through a G code routine?

I was more interested in having something that would simulate the machine using dummy I/Os.

I may be missing something here.

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

More
26 Sep 2012 11:25 #24637 by BigJohnT
The sim examples are fully working configurations with simulated home switches and in the case of the lathe a simulated spindle feed back. So you could add other things to the sim like I/O controlled by some PyVCP buttons.

John

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

More
26 Sep 2012 11:42 #24639 by gandalf69
BJT,
thanks, better I do some serious study before trying to add stuff that may be redundant.

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

More
26 Sep 2012 11:44 #24640 by ArcEye

I was more interested in having something that would simulate the machine using dummy I/Os.

You can do whatever you want in a sim, except that you don't have the usual input.

In the past I have got around this by writing a component that simulated the hardware.

For instance, I was developing a toolchange component that worked an ATC on a lathe.

It obviously relied upon feedback from the ATC which it was not going to get, so I wrote another component that simulated the ATC and connected this to it.
This sent back a series of positional signals and 'tripped switches' as the real one would do and enabled me to test through a complete tool change cycle.

regards

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

More
26 Sep 2012 12:15 #24643 by gandalf69
ArcEye,
thanks, that is what I would expect I would need to do. If I can do this with LinuxCNC as installed then all I need to do is learn how to use it.

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

More
26 Sep 2012 13:21 #24646 by BigJohnT
I do have some LinuxCNC Tutorials that might help.

John

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

Time to create page: 0.189 seconds
Powered by Kunena Forum