sittner / linuxcnc-ethercat

LinuxCNC EtherCAT HAL driver
GNU General Public License v2.0
207 stars 137 forks source link

Truncated 16-bit signed integers? #112

Open bobobo1618 opened 2 years ago

bobobo1618 commented 2 years ago

I'm trying to set up a Delta MS300 VFD with a CMM-EC01 EtherCAT option card. I've got it working save for speed control.

It seems that the speed value sent to the VFD is lacking one of the two bytes of data:

It looks like the device has been told the speed should be 0x0027 instead of 0x2710, as if >> 8 has been added.

scottlaird commented 9 months ago

To be clear, was this using the generic support or the dems300 driver? I don't see target-velocity in the dems300 driver; that PDO is mapped to vel-rpm-cmd times vel-scale.