<html><head></head><body><div>Hello Pranay,</div><div><br></div><div>There a some systems, special drives,... , which are not standard conform. They need a powercycle before starting the app a second time.</div><div><br></div><div>Please try.</div><div><br></div><div>Best regards</div><div><br></div><div>Andreas</div><div><br></div><div>Am Freitag, dem 05.04.2024 um 12:36 +0530 schrieb Pranay Tummalapalli:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0)">I have a fully functional and tested setup in my system for Ethercat running a DC Motor with a single EtherCAT drive. Below are my system configurations:</span></p><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0)">Master source: vectioneer/stable branch</span></p><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0)">OS: Ubuntu 22.04</span></p><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0)">Kernel: </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">5.15.0-97-generic</span></p><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I am using the systemd ethercat service. And </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I h</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">av</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">e a custom folder under the examples where </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I h</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">av</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">e all source and exec files for my project. I have added the folder in examples/Makefile.am and added the directory to <a href="http://configure.ac">configure.ac</a>. In my system it build well and everything works. Motor runs, all EtherCAT functionalities work and motor goes to setpoint position in OP.</span></p><p class="gmail-zw-paragraph" style="margin:0px 0px 12pt;line-height:1.2"><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">When </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I t</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">ry</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline"> to run the same setup in my colleague's system with the same configuration as my system including master source and kernel version, the same drive remains in PREOP. When </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I t</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">ry</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline"> to run the same script as my system, the drive goes to PREOP+ERR and system logs display INVALID PDO MAPPING, SLAVE REFUSED TO CHANGE STATE with error 0x0024.</span></p><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">What a </span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">I m</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">is</span><span style="font-family:Roboto;font-size:12pt;color:rgb(0,0,0);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;letter-spacing:0pt;background-color:rgba(0,0,0,0);vertical-align:baseline">sing in this?</span><br></div></blockquote><div><br></div><div><span></span></div></body></html>