Ethercat HAL driver

More
7 years 2 months ago #143624 by cheng
Replied by cheng on topic Ethercat HAL driver
Have you ever used the command line to control the rotation of the motor?

This was sent to me by Grotius. There is no need to execute linuxcnc xxxxx.ini.

Part of the message is hidden for the guests. Please log in or register to see it.


File Attachment:

File Name: Grotius.txt
File Size:1 KB


mabey you can see this video



I hope this will help you.

by cheng

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

More
7 years 2 months ago #143625 by cheng
Replied by cheng on topic Ethercat HAL driver
Have you ever used the command line to control the rotation of the motor?

This was sent to me by Grotius. There is no need to execute linuxcnc xxxxx.ini.

Part of the message is hidden for the guests. Please log in or register to see it.


File Attachment:

File Name: Grotius.txt
File Size:1 KB


mabey you can see this video



I hope this will help you.

by cheng
The following user(s) said Thank You: marcin2458

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

More
7 years 1 month ago #144064 by marcin2458
Replied by marcin2458 on topic Ethercat HAL driver
@sqmathlete, @chimeno, @cheng

I've checked your advice. When the program is started, the servo is still in the PREOP state and + changes to E. I've checkedm 'dmesg' command and have received such information:
Code:
[ 7031.928353] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms. [ 7031.945351] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR). [ 7031.947348] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration". [ 7031.958347] EtherCAT 0-0: Acknowledged state PREOP.

I tried to use the command line to control the rotation but i can only read information about max torque and velocity. When I try to use another command, it's showing up: "The slave selection matches 0 slaves. 'upload' requires a single slave".

I don't know what and where i'm doing wrong

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

More
7 years 1 month ago - 7 years 1 month ago #144076 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hi marcin2458,
Do you have well configured the "driver" with the "servo-motor" and all the corresponding parameters?

regards
Chimeno
Last edit: 7 years 1 month ago by chimeno. Reason: Edit
The following user(s) said Thank You: marcin2458

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

More
7 years 1 month ago #144077 by chimeno
Replied by chimeno on topic Ethercat HAL driver

chimeno wrote: Hi marcin2458,
Do you have well configured the "driver" with the "servo-motor" and all the corresponding parameters?

Can you try to erase this signal if it solves something?
setp lcec.0.0.extenc-scale [AXIS_0] ENC_SCALE

regards
Chimeno

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

More
7 years 1 month ago #144107 by cheng
Replied by cheng on topic Ethercat HAL driver
sorry i never see this error.

i can't help you

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

Time to create page: 0.570 seconds
Powered by Kunena Forum