Help troubleshoot my Plasmac cfg
- mkardasi
- Offline
- Senior Member
- Posts: 49
- Thank you received: 18
emcAxisSetMaxAcceleration(1, 220.0000) returned 0
emcAxisSetLockingJoint(1, -1) returned 0
emcAxisSetMinPositionLimit(2, -2.1000) returned 0
emcAxisSetMaxPositionLimit(2, 0.0100) returned 0
emcAxisSetMaxVelocity(2, 3.1667) returned 0
emcAxisSetMaxAcceleration(2, 70.0000) returned 0
emcAxisSetLockingJoint(2, -1) returned 0
NML_INTERP_LIST(0x55b3555f27a0)::append(nml_msg_ptr{size=32,type=EMC_TRAJ_SET_TERM_COND}) : list_size=1, line_number=0
NML_INTERP_LIST(0x55b3555f27a0)::append(nml_msg_ptr{size=96,type=EMC_TRAJ_SET_G5X}) : list_size=2, line_number=0
NML_INTERP_LIST(0x55b3555f27a0)::append(nml_msg_ptr{size=96,type=EMC_TRAJ_SET_G92}) : list_size=3, line_number=0
NML_INTERP_LIST(0x55b3555f27a0)::append(nml_msg_ptr{size=32,type=EMC_TRAJ_SET_ROTATION}) : list_size=4, line_number=0
emc/task/emctask.cc 405: interp_error: File not open
File not open
Interpreter stack: - int Interp::_read(const char*) - int Interp::_execute(const char*)
emcTaskPlanInit() returned 4
emc/task/emctaskmain.cc 3085: can't initialize interpreter
note: MAXV max: 10.000 units/sec 600.000 units/min
note: LJOG max: 10.000 units/sec 600.000 units/min
note: LJOG default: 2.500 units/sec 150.000 units/min
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
(time=1559786979.793797,pid=26793): Deleting 5 channels from the NML_Main_Channel_List.
(time=1559786979.793819,pid=26793): Deleting emcCommand NML channel from NML_Main_Channel_List.
I have attached the entire debug & my ini file. I'm running Stretch/9.9 & 4.9.0-9-rt-amd64 #1 SMP PREEMPT, plasmac source is up to date. Is there an obvious error in that I'm overlooking in my config?
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
- Posts: 757
- Thank you received: 216
Did you set your rip-environment before starting? It looks like you are trying to run from the installed directory and not the rip build you did if you followed the common instructions.
Try and start from a terminal. Then copy and past your terminal output (text) to a file and post it here. Also post your .hal files.
John
Please Log in or Create an account to join the conversation.
- mkardasi
- Offline
- Senior Member
- Posts: 49
- Thank you received: 18
Yes rip is set, I just use a bash script for less typing. Attached is the a full terminal log & my .hal files.
Thank you,
-MK
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5709
- Thank you received: 2087
sudo make setuid
Edit: Could you post your bash script.
Cheers, Phill.
Please Log in or Create an account to join the conversation.
- mkardasi
- Offline
- Senior Member
- Posts: 49
- Thank you received: 18
Yes. I've attached my run and update scripts. Compiled without error. Used the published instructions
git clone git://github.com/phillc54/linuxcnc-plasmac
cd linuxcnc-plasmac/src
./autogen.sh
./configure --with-realtime=uspace
make -j4
sudo make setuid
-MK
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
- Posts: 10795
- Thank you received: 3556
. ../scripts/rip-environment
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
- Posts: 757
- Thank you received: 216
The file tool.tbl can't be found and that is the start of why things are failing to start, this is most likely caused by not getting the environment set correctly. So in a terminal in your home directory try this:
. linuxcnc-plasmac/scripts/rip-environment
linuxcnc
Then pick your configuration from the launcher. If your configuration doesn't show up in the launcher then you will need to put your configuration in the~/linuxcnc-plasmac/configs directory and try again. Note if you just do a copy and paste most of the links will be broken and need to be fixed. Copy the terminal output (text) to a file and post if this doesn't work.
John
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5709
- Thank you received: 2087
Run that line in a terminal then run env and post the results.
Edit: it may be better to try:
$ source ~/linuxcnc-plasmac/scripts/rip-environment
$ ~/linuxcnc-plasmac/scripts/linuxcnc
Cheers, Phill.
Please Log in or Create an account to join the conversation.
- mkardasi
- Offline
- Senior Member
- Posts: 49
- Thank you received: 18
The . is a short form for source so the script should be fine.
Run that line in a terminal then run env and post the results.
Edit: it may be better to try:
$ source ~/linuxcnc-plasmac/scripts/rip-environment
or another option is:
$ ~/linuxcnc-plasmac/scripts/linuxcnc
which will set the environment then run linuxcnc
Cheers, Phill.
I tried both commands, unfortunately problem remains same terminal failure.
Executed "$ source ~/linuxcnc-plasmac/scripts/rip-environment" followed by "$ env" and have attached the results.
If this information is of any help I can run the "/linuxcnc-plasmac/configs/by_machine/plasmac/axis/imperial_plasmac.ini" config just fine. Attached for reference is the terminal output of the imperial_plasmac.ini run with DEBUG = 0x7FFFFFFF
Thank you gentlemen for your help thus far.
-MK
Please Log in or Create an account to join the conversation.
- mkardasi
- Offline
- Senior Member
- Posts: 49
- Thank you received: 18
Please Log in or Create an account to join the conversation.