Errors with HAL

More
16 Jul 2019 09:46 #139548 by cheng
Errors with HAL was created by cheng
excuse me.I'm having a problem. I'd like some help.
The hardware configuration :
1 slave is estun company ,it type is PRONET-04AEG-EC
2 lenovo E40 conputer
The software configuration
1 debian7
2 etherlab1.5.2
3 linux-headers-3.4-9-rtai-686-pae
Error description
I use the PDO command line to control the speed change of the motor. For example, the "ethercat download" command. But this is driven not by Linuxcnc, but by the command line. So I started trying to open the "***ini" file using the "Linuxcnc" command, but the following error occurred
mg123@debian:/mnt/hgfs/LinuxCNC/linuxcnc-master/configs/ethercat_3axis_CIA402$ linuxcnc /mnt/hgfs/LinuxCNC/linuxcnc-master/configs/ethercat_3axis_CIA402/basic_3_CIA402.ini 
LINUXCNC - 2.7.14
Machine configuration directory is '/mnt/hgfs/LinuxCNC/linuxcnc-master/configs/ethercat_3axis_CIA402'
Machine configuration file is 'basic_3_CIA402.ini'
Starting LinuxCNC...
.
Found file(REL): ./basic_3_CIA402.hal
lcec_conf: ERROR: unexpected node master found
lcec_conf: ERROR: Parse error at line 1: parsing aborted
./basic_3_CIA402.hal:1: waitpid failed lcec_conf lcec_conf
./basic_3_CIA402.hal:1: lcec_conf exited without becoming ready
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/mg123/linuxcnc_debug.txt
and
    /home/mg123/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Specific information on slave

Here is the ini file

File Attachment:

File Name: basic_3_CIA402.ini
File Size:2 KB


Here is the hal file

File Attachment:

File Name: basic_3_CIA402.hal
File Size:1 KB

Here is the xml file

File Attachment:

File Name: basic_3_CIA402.xml
File Size:4 KB
Attachments:

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

More
16 Jul 2019 21:41 #139609 by Grotius
Replied by Grotius on topic Errors with HAL
Hi Cheng,

lcec_conf: ERROR: unexpected node master found

Ai ai...

I think we have to write some c code for you.

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

More
17 Jun 2021 07:16 #212259 by wang
Replied by wang on topic Errors with HAL
Is your problem solved? I have the same problem
How is it solved?

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

More
17 Jun 2021 08:05 #212261 by db1981
Replied by db1981 on topic Errors with HAL
this same error : lcec_conf: ERROR: unexpected node master found .

in the conf.xml posted above the "masters" statement is missing, so the format is wrong.
You need an <masters> on top of the file, and an </masters> at file end. This is because you can have more then one master in an setup.

And there exists no hal_type "special32", use "S32" or "U32" .

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

More
03 Jun 2024 12:47 #302237 by AD_15
Replied by AD_15 on topic Errors with HAL
Hi Grotius,
I am also getting same error while running linuxcnc.
Can you please help me to solve those errors.

Thank You

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

Time to create page: 0.094 seconds
Powered by Kunena Forum