<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hello Clement,</p>
    <p>you should be able to call the SDO functions, but they must NOT
      be called from the cyclic task thread. AFAIR, they are blocking
      and they need several cyclic task thread cycles to execute.</p>
    <p>Best regards,<br>
      Ian<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 5/16/24 17:56, Clement Gaspard
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:1100747287.759688.1715874978418.JavaMail.zimbra@u-bordeaux.fr">
      
      <table style="cellpadding:0;border:0;cellspacing:0;display:table;width:100%;table-layout:fixed;border-collapse:seperate;float:none;" width="100%" cellspacing="0" cellpadding="0" border="0" align="left">
        <tbody style="display:block;">
          <tr>
            <td cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px
              2px;background-color:#A6A6A6;valign:middle" width="1px" valign="middle" bgcolor="#A6A6A6">
              <br>
            </td>
            <td cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%;background-color:#EAEAEA;padding:7px 5px
              7px 15px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe
              WP,Tahoma,Arial,
sans-serif;font-size:12px;font-weight:normal;color:#212121;text-align:left;word-wrap:break-word;" width="100%" valign="middle" bgcolor="#EAEAEA">
              <div>You don't often get email from
                <a class="moz-txt-link-abbreviated" href="mailto:clement.gaspard@u-bordeaux.fr">clement.gaspard@u-bordeaux.fr</a>. <a href="https://aka.ms/LearnAboutSenderIdentification" moz-do-not-send="true">
                  Learn why this is important</a></div>
            </td>
            <td cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px;background-color:#EAEAEA;padding:7px 5px
              7px 5px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe
              WP,Tahoma,Arial,
sans-serif;font-size:12px;font-weight:normal;color:#212121;text-align:left;word-wrap:break-word;align:left" width="75px" valign="middle" bgcolor="#EAEAEA" align="left">
              <br>
            </td>
          </tr>
        </tbody>
      </table>
      <div>
        <div style="font-family: arial, helvetica, sans-serif;
          font-size: 12pt; color: #000000">
          <div>
            <div>Good afternoon everyone,</div>
            <div><br>
            </div>
            <div>I am controlling ZeroErr eRob Actuators using the IgH
              EtherCAT Master from the stable-1.5 branch.</div>
            <div><br>
            </div>
            <div>I have defined Tx and Rx PDO registers to read/write
              informations during the cyclic task.</div>
            <div><br>
            </div>
            <div>However, is it possible to use SDO download and upload
              while the cyclic task is running?</div>
            <div><br>
            </div>
            <div>If not, what is the best way to consult SDO information
              in the shortest possible time?</div>
            <div><br>
            </div>
            <div>(I have tried to use <strong>ecrt_master_sdo_upload</strong>
              and <strong>ecrt_master_sdo_download</strong> during the
              cyclic task without much success. However, it works if I
              use these functions before calling
              <strong>ecrt_master_activate</strong>.)</div>
            <div><br>
            </div>
            <div>For example, I would like to know the temperature of
              the drive regularly (only accessible via SDO and not PDO
              mappable as described in the actuator documentation).</div>
            <div><br>
            </div>
            <div>Thank you very much in advance.</div>
            <div><br>
            </div>
            <div>Best regards,</div>
          </div>
          <div><br>
          </div>
          <div>---------------------------------</div>
          <div data-marker="__SIG_PRE__">
            <div style="width:2.18in;line-height:0.2in"><span style="font-style:normal;font-weight:bold;font-size:13pt;font-family:'verdana';color:#000000">Clément
                GASPARD</span><span style="font-style:normal;font-weight:bold;font-size:13pt;font-family:'verdana';color:#000000"></span></div>
            <table style="height:108px">
              <tbody>
                <tr style="height:24px">
                  <td rowspan="2" style="height:54px"><img style="width:0.57in;height:0.57in" src="cid:part1.G6WCQHtD.n0rSO0FV@persimmontech.com" data-mce-src="https://webmel.u-bordeaux.fr/home/clement.gaspard@u-bordeaux.fr/Briefcase/identite-visuelle-UBX2.jpg" doc="Briefcase/identite-visuelle-UBX2.jpg" class=""></td>
                  <td style="height:24px" valign="bottom"><font face="Verdana"><span style="font-size:13.3333px">Equipe
                        Rhoban - Dpt</span></font><span style="font-style:normal;font-weight:normal;font-size:10pt;font-family:'verdana';color:#000000"> Méthodes
                      et Modèles Formels</span><span style="font-size:10pt;font-family:'verdana' ,
                      'helvetica' , sans-serif"> | LaBRI - Université de
                      Bordeaux</span><span style="font-style:normal;font-weight:normal;font-size:10pt;font-family:'verdana';color:#000000"><br>
                    </span></td>
                </tr>
                <tr style="height:30px">
                  <td style="height:30px" valign="top"><img style="width:0.2in;height:0.2in" src="cid:part2.Gk2pKWQB.20h6TwBq@persimmontech.com" data-mce-src="https://webmel.u-bordeaux.fr/home/clement.gaspard@u-bordeaux.fr/Briefcase/Image1.png" doc="Briefcase/Image1.png" class="">
                    <a href="mailto:clement.gaspard@u-bordeaux.fr" rel="noopener nofollow noopener noreferrer" target="_blank" moz-do-not-send="true">
                      <span style="vertical-align:text-top;font-style:normal;font-weight:normal;font-size:9pt;font-family:'verdana';color:#023261">clement.gaspard@u-bordeaux.fr
                      </span></a></td>
                </tr>
                <tr style="height:24px">
                  <td rowspan="2" style="height:54px"><img style="width:0.57in;height:0.57in" src="cid:part3.9N9b5QsT.h01deHZs@persimmontech.com" data-mce-src="https://webmel.u-bordeaux.fr/home/clement.gaspard@u-bordeaux.fr/Briefcase/ENS.png" doc="Briefcase/ENS.png" class=""></td>
                  <td style="height:24px" valign="bottom"><span style="font-style:normal;font-weight:normal;font-size:10pt;font-family:'verdana';color:#000000">Département
                      Mécatronique | ENS Rennes</span></td>
                </tr>
                <tr style="height:30px">
                  <td style="height:30px" valign="top"><img style="width:0.2in;height:0.2in" src="cid:part2.Gk2pKWQB.20h6TwBq@persimmontech.com" data-mce-src="https://webmel.u-bordeaux.fr/home/clement.gaspard@u-bordeaux.fr/Briefcase/Image1.png" doc="Briefcase/Image1.png" class="">
                    <a href="mailto:clement.gaspard@ens-rennes.fr" rel="noopener nofollow noopener noreferrer" target="_blank" moz-do-not-send="true">
                      <span style="vertical-align:text-top;font-style:normal;font-weight:normal;font-size:9pt;font-family:'verdana';color:#023261">clement.gaspard@ens-rennes.fr</span>
                    </a></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
  </body>
</html>