PlasmaC
python /user/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py
it gives me this error message
python: can't open file '/user/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py': [Errno 2] No such file or directory
However, I have managed to get into Plasmac when I ran this command
~/linuxcnc-dev/scripts/linuxcnc
This opened up the LinuxCNC Configuration Selector. I navagated to Sample Configurations > by_machine > plasmac > gmoccapy > imperial_plasmac. It then presented me with the Plasmac configuration but I do not know how to connect my Mesa 7I96 and edit my limit switches and stuff like that.
I have managed to connect my Mesa 7I96 to linuxCNC when I created a configuration with the PNCconf wizard.
I have heard that Plasmac is included in LinuxCNC 2.8 if so how do I update to it or would I be better off grabbing a different iso file?
Please Log in or Create an account to join the conversation.
python /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py
I spotted this the other day during my install and mode note to mention it but I must have forgotten.
Please Log in or Create an account to join the conversation.
python /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py
python: can't open file '/usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py': [Errno 2] No such file or directory
Please Log in or Create an account to join the conversation.
/home/cnc/linuxcnc-dev/configs/by_machine/plasmac/configurator.py
I am guessing you were wanting me to replace the file location the the python comand so I have changed the command to
python /home/cnc/linuxcnc-dev/configs/by_machine/plasmac/configurator.py
it then gave me this error
File "/home/cnc/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 801
elif 'removing z axis moves' in line:
^
IndentationError: unexpected indent
Please Log in or Create an account to join the conversation.
(Also, I double checked, that file path is an error in the instructions)
As for setting it up with your Mesa. First get all your limit switches set up like you like them with pncconf before trying to setup plasmac. Once you have all that working you will input the working ini and hal files into the configurator and it will import the necessary settings for your limits and stuff to work. To edit later you can open up the <machine name here>.hal file in your configs directory.
The 7i96 has inputs 0 through 10 referred to like
hm2_7i96.0.gpio.0XX.in
hm2_7i96.0.ssr.00.out-XX
So for example in the PlasmaC configurator to setup input #6 as a torch float switch you would simply put hm2_7i96.0.gpio.006.in in the Float Switch HAL Pin textbox. To set up output #1 as your torch on signal you would put hm2_7i96.0.ssr.00.out-01 in the Torch On HAL pin textbox.
Please Log in or Create an account to join the conversation.
python /home/cnc/linuxcnc-dev/configs/by_machine/plasmac/configurator.py
it then gave me this error
File "/home/cnc/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 801
elif 'removing z axis moves' in line:
^
IndentationError: unexpected indent
@phillc54 Looks like some indentation got messed up in a recent update. @CNC32 If you're comfortable editing the code you can fix it your self like so: open up configurator.py with root privileges. Go to around line 801 and adjust the tab alignment so that it looks like this:
else:
if display == 'axis':
print('Limit of 5 user buttons:\n"{}" is invalid\n'.format(line.strip()))
elif display == 'gmoccapy':
print('Limit of 4 user buttons:\n"{}" is invalid\n'.format(line.strip()))
elif 'removing z axis moves' in line:
if display == 'axis':
outFile.write('# for the five user buttons in the main window\n')
elif display == 'gmoccapy':
outFile.write('# for the four user buttons in the main window\n')
Please Log in or Create an account to join the conversation.
. ../linuxcnc-dev/scripts/rip-environment
Note the syntax and spaces around the 3 dots.
So what this script does is set all the environment variables to point to the run in place (compiled) version.
If you don't do that, you will get the default 2.7 version installed in the menus. I think this explains your problem.
Please Log in or Create an account to join the conversation.
The first command I put in the terminal was
sudo apt-get install git
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
Executing: /tmp/apt-key-gpghome.XaOr2uuPdu/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.XaOr2uuPdu/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev/src
./autogen.sh
cnc@CNC-2:~/linuxcnc-dev/src$ ./autogen.sh
./autogen.sh: 6: ./autogen.sh: autoconf: not found
Please Log in or Create an account to join the conversation.
Try in a terminal:CNC32 wrote:
But it have me this error
Executing: /tmp/apt-key-gpghome.XaOr2uuPdu/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.XaOr2uuPdu/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
$ sudo apt-get install dirmngr
Doing the above should get going for a buildbot install.
To do a Run In Place install you need to follow these instructions:It gave me this
cnc@CNC-2:~/linuxcnc-dev/src$ ./autogen.sh
./autogen.sh: 6: ./autogen.sh: autoconf: not found
linuxcnc.org/docs/master/html/code/building-linuxcnc.html
and especially these:
linuxcnc.org/docs/devel/html/code/buildi...g-Build-Dependencies
It may also be worth doing this in a terminal first:
$ sudo apt-get build-essential
Please Log in or Create an account to join the conversation.