📄 classlss.html
字号:
Get the current CANopen node ID of the specified amplifier. <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>serial</em> </td><td>The serial number of the amplifier to query. </td></tr> <tr><td valign="top"></td><td valign="top"><em>nodeID</em> </td><td>The node ID will be returned here. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to an error object, or NULL on success.</dd></dl><p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00077">77</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>. </td> </tr></table><a class="anchor" name="a3"></a><!-- doxytag: member="LSS::getTimeout" ref="a3" args="(void)" --><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"><a class="el" href="CML__Utils_8h.html#a9">int32</a> getTimeout </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Get the current timeout value used by the LSS protocol. <p><dl compact><dt><b>Returns:</b></dt><dd>The current timeout in milliseconds. </dd></dl><p>Definition at line <a class="el" href="CML__CanOpen_8h-source.html#l00300">300</a> of file <a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a>. </td> </tr></table><a class="anchor" name="b0"></a><!-- doxytag: member="LSS::SelectAmp" ref="b0" args="(uint32 serial)" --><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> * SelectAmp </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a10">uint32</a> </td> <td class="mdname1" valign="top" nowrap> <em>serial</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Put the specified amplifier into LSS configure mode. <p>All other amplifiers on the network are switched into LSS operational mode.<p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00134">134</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>. </td> </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="LSS::SetAmpNodeID" ref="a5" args="(uint32 serial, byte nodeID)" --><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> * SetAmpNodeID </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a10">uint32</a> </td> <td class="mdname" nowrap> <em>serial</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> </td> <td class="mdname" nowrap> <em>nodeID</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the CANopen node ID of the specified amplifier. <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>serial</em> </td><td>The serial number of the amplifier to update. </td></tr> <tr><td valign="top"></td><td valign="top"><em>nodeID</em> </td><td>The CANopen node ID to assign to this amplifier. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to an error object, or NULL on success.</dd></dl><p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00103">103</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>. </td> </tr></table><a class="anchor" name="a2"></a><!-- doxytag: member="LSS::setTimeout" ref="a2" args="(int32 to)" --><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">void setTimeout </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a9">int32</a> </td> <td class="mdname1" valign="top" nowrap> <em>to</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the timeout value used by the LSS protocol. <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>to</em> </td><td>The new timeout (milliseconds) </td></tr> </table></dl><p>Definition at line <a class="el" href="CML__CanOpen_8h-source.html#l00296">296</a> of file <a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a>. </td> </tr></table><a class="anchor" name="b3"></a><!-- doxytag: member="LSS::Xmit" ref="b3" args="(byte cs, uint32 data=0)" --><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> * Xmit </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a2">byte</a> </td> <td class="mdname" nowrap> <em>cs</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> </td> <td class="mdname" nowrap> <em>data</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Transmit a LSS CAN frame. <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>cs</em> </td><td>The command specifier for this frame. </td></tr> <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>The data passed with the frame.</td></tr> </table></dl><p>Definition at line <a class="el" href="LSS_8cpp-source.html#l00234">234</a> of file <a class="el" href="LSS_8cpp-source.html">LSS.cpp</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="CML__CanOpen_8h-source.html">CML_CanOpen.h</a><li><a class="el" href="LSS_8cpp-source.html">LSS.cpp</a></ul><hr><address style="align: right;"><small>Copley Motion Library, Copyright (c) 2002-2003<a href="http://www.copleycontrols.com"><img src="CCC_logo.gif" alt="Copley Controls Corp." align="middle" border=0 ></a></small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -