emc/task/emctask.cc 411: interp_error: File not open

More
15 Sep 2020 02:34 #182173 by wade
Dears
I 've installed linuxcnc2.8 on my board with debian9 ,kernel 4.19.132-cip30-rt59.
When I run linuxcnc with my config, it appears the following errors

LINUXCNC - 2.8.0
Machine configuration directory is '/home/tsinglin/linuxcnc/configs/sim.Test_axis_HC_Sample-2'
Machine configuration file is 'cpd17_x.ini'
Starting LinuxCNC...
Found file(REL): ./cpd17_x.hal
emc/task/emctask.cc 411: interp_error: File not open
File not open
emc/task/emctaskmain.cc 3087: can't initialize interpreter
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>
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:
/home/tsinglin/linuxcnc_debug.txt
and
/home/tsinglin/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

what should I do to solve it?

here is my .hal config

loadusr -W lcec_conf ./ethercat-conf_X.xml
loadrt lcec
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt not count=1

addf lcec.read-all servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf not.0 servo-thread
addf lcec.write-all servo-thread


setp lcec.0.0.ControlWord-1 1
setp lcec.0.0.ControlWord-2 1

#net Xachse_fb lcec.0.0.PositionActualvalue => axis.0.motor-pos-fb
#net Xpos => lcec.0.0.TargetPosition
#net Xachse_AF axis.0.amp-enable-out => lcec.0.0.ControlWord-0
#net Xachse_AF => lcec.0.0.ControlWord-3
#net Xachse_AF => lcec.0.0.ControlWord-5

Thanks & Best Regards
Wade
Attachments:

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

More
15 Sep 2020 03:39 #182175 by BeagleBrainz
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
SUBROUTINE_PATH = nc_subroutines:/home/frank/linuxcnc/configs/ethercat
LOG_LEVEL = 9

Is the line in red correct ?

If you look through the debug file you may also find reference to the issue. Or maybe if you attach it to your next post.

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

More
15 Sep 2020 03:49 #182177 by wade
Hi,Platinum
Thank you,I‘ll change it and try again。

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

Time to create page: 0.109 seconds
Powered by Kunena Forum