- Posts: 790
- Thank you received: 276
Ethercat HAL driver
- db1981
- Offline
- Platinum Member
-
Less
More
5 years 5 months ago #210429
by db1981
Replied by db1981 on topic Ethercat HAL driver
hello,
-in the ethercat_conf file change this line
-
-in the ethercat_conf file change this line
to<syncManager idx="0" dir="out">
<syncManager idx="2" dir="out">
-
this problem is related to your hal files. It seems that you are trying to load motion a second time in the postgui hal , this don't works. to look exactly i need the hal filesHAL: ERROR: function 'motion-command-handler' may only be added to one thread
qtvcp_postgui.hal:19: addf failed
The following user(s) said Thank You: besriworld
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
5 years 5 months ago - 5 years 5 months ago #210612
by besriworld
Replied by besriworld on topic Ethercat HAL driver
Thanks a lot for the help!!
After long errors, LinuxCNC is now starts without errors.
Enters OP mode , but i can't turn on the servo motor .
Controlworld 0x6040 is of the type UINT I tried the complex function... I do not have success with it.
when i start LinuxCNC for the first time i got this error in DMESG
[ 9743.437336] EtherCAT 0: 1 slave(s) responding on main device.
[ 9743.437341] EtherCAT 0: Slave states on main device: INIT.
[ 9743.438189] EtherCAT 0: Scanning bus.
[ 9743.517876] EtherCAT ERROR 0-main-0: SDO upload 0x0000:00 aborted.
[ 9743.517887] EtherCAT ERROR 0-main-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 9743.517892] EtherCAT ERROR 0-main-0: Failed to read number of mapped PDO entries.
[ 9743.517896] EtherCAT ERROR 0-main-0: Failed to read mapped PDO entries for PDO 0x0000.
[ 9743.523378] EtherCAT ERROR 0-main-0: SDO upload 0x0000:00 aborted.
[ 9743.523387] EtherCAT ERROR 0-main-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 9743.523391] EtherCAT ERROR 0-main-0: Failed to read number of mapped PDO entries.
[ 9743.523395] EtherCAT ERROR 0-main-0: Failed to read mapped PDO entries for PDO 0x0000.
but the error goes into OP mode
After commands " dmesg --clear " and restarting the program(linuxcnc) has no errors .
I am attaching the files:
I also tried this ( "conv_float_u32") conversion instruction from DINT to float for feedback but I have no success the position of the feedback does not change . If I moved the axis on first start I have a change HAL value in linuxcnc ..but when the program is running and moving the axis-shaft there is no change in linuxcnc
I apologize a lot for the many questions, but i have no experience with linux
After long errors, LinuxCNC is now starts without errors.
Enters OP mode , but i can't turn on the servo motor .
Controlworld 0x6040 is of the type UINT I tried the complex function... I do not have success with it.
when i start LinuxCNC for the first time i got this error in DMESG
[ 9743.437336] EtherCAT 0: 1 slave(s) responding on main device.
[ 9743.437341] EtherCAT 0: Slave states on main device: INIT.
[ 9743.438189] EtherCAT 0: Scanning bus.
[ 9743.517876] EtherCAT ERROR 0-main-0: SDO upload 0x0000:00 aborted.
[ 9743.517887] EtherCAT ERROR 0-main-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 9743.517892] EtherCAT ERROR 0-main-0: Failed to read number of mapped PDO entries.
[ 9743.517896] EtherCAT ERROR 0-main-0: Failed to read mapped PDO entries for PDO 0x0000.
[ 9743.523378] EtherCAT ERROR 0-main-0: SDO upload 0x0000:00 aborted.
[ 9743.523387] EtherCAT ERROR 0-main-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 9743.523391] EtherCAT ERROR 0-main-0: Failed to read number of mapped PDO entries.
[ 9743.523395] EtherCAT ERROR 0-main-0: Failed to read mapped PDO entries for PDO 0x0000.
but the error goes into OP mode
After commands " dmesg --clear " and restarting the program(linuxcnc) has no errors .
I am attaching the files:
I also tried this ( "conv_float_u32") conversion instruction from DINT to float for feedback but I have no success the position of the feedback does not change . If I moved the axis on first start I have a change HAL value in linuxcnc ..but when the program is running and moving the axis-shaft there is no change in linuxcnc
I apologize a lot for the many questions, but i have no experience with linux
Last edit: 5 years 5 months ago by besriworld.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 5 months ago #210640
by db1981
Replied by db1981 on topic Ethercat HAL driver
Hi,
what do you mean with op state?
-Ethercat OP State? or
-Drives Power Enabled State?
have you seen this github.com/dbraun1981/hal-cia402 ?
what do you mean with op state?
-Ethercat OP State? or
-Drives Power Enabled State?
have you seen this github.com/dbraun1981/hal-cia402 ?
The following user(s) said Thank You: besriworld
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
5 years 5 months ago #210649
by besriworld
Replied by besriworld on topic Ethercat HAL driver
Hi ,
EtherCAT 0: Slave states on main device: OP
The servo driver witch debug LED also indicates that it is normal operation status .
I also tried this configuration. But there is no change.б
EtherCAT 0: Slave states on main device: OP
The servo driver witch debug LED also indicates that it is normal operation status .
I also tried this configuration. But there is no change.б
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 5 months ago #210650
by db1981
Replied by db1981 on topic Ethercat HAL driver
what kind of servo drive is this? manual pdf?
Does the feedback value change if you turn the motor shaft by hand?
You are not able to enable the drive?
Does the feedback value change if you turn the motor shaft by hand?
You are not able to enable the drive?
The following user(s) said Thank You: besriworld
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
5 years 5 months ago - 5 years 5 months ago #210659
by besriworld
Replied by besriworld on topic Ethercat HAL driver
Servo drivers brand Adatech model QXEH10NE
Manual : drive.google.com/file/d/14cinYiQ4-0qYuw5...Znf/view?usp=sharing
When I start the program (LinuxCNC) the value of the axis changes if before starting rotated the shaft. When the program runs and rotates the shaft, the value does not change.
The shaft does not harden
Manual : drive.google.com/file/d/14cinYiQ4-0qYuw5...Znf/view?usp=sharing
When I start the program (LinuxCNC) the value of the axis changes if before starting rotated the shaft. When the program runs and rotates the shaft, the value does not change.
The shaft does not harden
Last edit: 5 years 5 months ago by besriworld.
Time to create page: 0.568 seconds