⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classsdo.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a> * BlockUpld           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a9">int32</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>size</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a2">byte</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Upload data using this SDO. <p>This function uses a block upload protocol which makes sending large blocks of data more efficient. The specified object is upload from the CANopen node's object dictionary and stored in the array passed to this function.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the object to be uploaded. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sub</em>&nbsp;</td><td>The sub-index of the object to be uploaded. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>On entry, this should be the maximum number of bytes to upload, on successful return, this is the number of bytes actually received. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>A character array which will store the uploaded data. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A valid CANopen error object.</dd></dl><p>Definition at line <a class="el" href="SDO_8cpp-source.html#l00446">446</a> of file <a class="el" href="SDO_8cpp-source.html">SDO.cpp</a>.    </td>  </tr></table><a class="anchor" name="a22"></a><!-- doxytag: member="SDO::Dnld16" ref="a22" args="(int16 index, int16 sub, int16 data)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a>* Dnld16           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Download a 16-bit signed integer using this SDO. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the object to access </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sub</em>&nbsp;</td><td>The sub-index of the object </td></tr>    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data to be downloaded </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A valid CANopen error code. </dd></dl><p>Definition at line <a class="el" href="CML__SDO_8h-source.html#l00248">248</a> of file <a class="el" href="CML__SDO_8h-source.html">CML_SDO.h</a>.    </td>  </tr></table><a class="anchor" name="a10"></a><!-- doxytag: member="SDO::Dnld16" ref="a10" args="(int16 index, int16 sub, uint16 data)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a> * Dnld16           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a8">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Download a 16-bit value using this SDO. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the object in the object dictionary </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sub</em>&nbsp;</td><td>The sub-index of the object in the object dictionary </td></tr>    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data to be downloaded </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A valid CANopen error code.</dd></dl><p>Definition at line <a class="el" href="SDO_8cpp-source.html#l00170">170</a> of file <a class="el" href="SDO_8cpp-source.html">SDO.cpp</a>.    </td>  </tr></table><a class="anchor" name="a18"></a><!-- doxytag: member="SDO::Dnld32" ref="a18" args="(int16 index, int16 sub, int32 data)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a>* Dnld32           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a9">int32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Download a 32-bit signed integer using this SDO. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the object to access </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sub</em>&nbsp;</td><td>The sub-index of the object </td></tr>    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data to be downloaded </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A valid CANopen error code. </dd></dl><p>Definition at line <a class="el" href="CML__SDO_8h-source.html#l00210">210</a> of file <a class="el" href="CML__SDO_8h-source.html">CML_SDO.h</a>.    </td>  </tr></table><a class="anchor" name="a8"></a><!-- doxytag: member="SDO::Dnld32" ref="a8" args="(int16 index, int16 sub, uint32 data)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const <a class="el" href="classError.html">Error</a> * Dnld32           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a7">int16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a10">uint32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -