emc/task/emctask.cc 411: interp_error: File not open
- wade
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
15 Sep 2020 02:34 #182173
by wade
emc/task/emctask.cc 411: interp_error: File not open was created 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
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
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
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
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Visitor
15 Sep 2020 03:39 #182175
by BeagleBrainz
Replied by BeagleBrainz on topic emc/task/emctask.cc 411: interp_error: File not open
[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.
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.
- wade
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
15 Sep 2020 03:49 #182177
by wade
Replied by wade on topic emc/task/emctask.cc 411: interp_error: File not open
Hi,Platinum
Thank you,I‘ll change it and try again。
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.054 seconds