sittner / linuxcnc-ethercat

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

   {0x2511, 0x00, 32}  // external encoder does not exist in delta pdo and sdo's #118

Closed Mehdidadash closed 1 year ago

Mehdidadash commented 1 year ago

https://github.com/sittner/linuxcnc-ethercat/blob/master/src/lcec_deasda.c#L126

There is no 0x2511 in delta pdo or sdo's

thomam04 commented 1 year ago

Access the servo parameters with the OD 2XXXh group. The parameter number and index are converted as follows: Read the index first to get the information of the parameter length, and then use SDO or PDO to change the data. Example 1:

Pa.bcd <= = > 2aBCh ‘BC’ is hexadecimal format of ‘bcd’

2511h a = 5 BC (11h) = 17

P5.017 Axis position - auxiliary encoder