Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
10 Nov 2025 19:05 - 10 Nov 2025 19:37
Replied by Hakan on topic Ethercat HAL driver

Ethercat HAL driver

Category: EtherCAT

The unit of pos-scale is increments/distance unit, like steps/mm or steps/inch.
If you motor's encoder has 500 pulses/rev, then it is 2000 increments/rev.
With a axis movement of 5 mm/motor revolution you should set pos-scale = 2000/5 and 2000/180 respectively.
400 and 11.111

It may be possible to set the increments/rev separately from the encoders value, check the drive manual if the above doesn't match.

 
  • Hakan
  • Hakan
10 Nov 2025 18:59 - 10 Nov 2025 19:34
Replied by Hakan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

Not sure what you mean by encoder_value.
You have the cia402.x.pos-scale to work with.
Instead of mathematically figuring it out, multiply the current value with 6.5/2 = 3.25 and try again.
If you find that number matches a known relation, use that.

I think the following errors follows from the pos-scale. At least get this right first.

More text here on how to calculate pos-scale
forum.linuxcnc.org/ethercat/22346-etherc...er?start=1360#338150
  • mlcupen
  • mlcupen
10 Nov 2025 17:55
Replied by mlcupen on topic Ethercat drive configuration woes

Ethercat drive configuration woes

Category: EtherCAT

state machine from my comp is ok . 0x6 -> 0x7 -> 0x7f . Bit 2 (quickstop) is always set.

mine too, do you fix that

  • mlcupen
  • mlcupen
10 Nov 2025 17:43
Replied by mlcupen on topic Ethercat drive configuration woes

Ethercat drive configuration woes

Category: EtherCAT

Did you start the motor?
  • mlcupen
  • mlcupen
10 Nov 2025 17:41
Replied by mlcupen on topic Ethercat drive configuration woes

Ethercat drive configuration woes

Category: EtherCAT

Hello,
I'm trying to start the motor but it's not working, I tried via halrun and via sudo ethercat upload -p and motor enters OP, but it doesn't accept OP_STATUS, always 0, and the motor dont move, please can you help me somehow.
  • peterpan
  • peterpan
10 Nov 2025 17:32 - 10 Nov 2025 17:33
Replied by peterpan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

I have been trying to solve these problems on my own with very little headway:

When the Servo moves 2 inches, LinuxCNC registers it as ~6.5inches regardless of the encoder_scale value

joint following error when I try to jog over ~60in/min (linuxcnc units)

joint following error when try to home (probably related)

I haven't even gotten to the real configuration and am already failing :'/
Help is appreciated
Displaying 11536 - 11541 out of 11541 results.
Time to create page: 0.891 seconds
Powered by Kunena Forum