Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emc/task/emctaskmain.cc 3087: can't initialize interpreter #93

Open
ibXCM opened this issue Sep 15, 2020 · 2 comments
Open

emc/task/emctaskmain.cc 3087: can't initialize interpreter #93

ibXCM opened this issue Sep 15, 2020 · 2 comments

Comments

@ibXCM
Copy link

ibXCM commented Sep 15, 2020

Dears
When I run linuxcnc with my config, there is an error appears as following
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...

and here is my .hal config,How can I solve it?

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

@sirop
Copy link

sirop commented Sep 15, 2020

This error message has nothing to do with linuxcnc-ethercat.
Try https://forum.linuxcnc.org/ instead and close this issue.

@ibXCM
Copy link
Author

ibXCM commented Sep 15, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants