📄 classnode.html
字号:
</table><a class="anchor" name="a27"></a><!-- doxytag: member="Node::GetMfgHardwareVer" ref="a27" args="(int32 len, char *str)" --><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">virtual const <a class="el" href="classError.html">Error</a>* GetMfgHardwareVer </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="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>str</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Read the manufacturer's Hardware version string from the object dictionary. <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>len</em> </td><td>Holds the size of the buffer on entry, and the length of the downloaded data on return. </td></tr> <tr><td valign="top"></td><td valign="top"><em>str</em> </td><td>An array of characters used to upload the string. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00280">280</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a28"></a><!-- doxytag: member="Node::GetMfgSoftwareVer" ref="a28" args="(int32 len, char *str)" --><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">virtual const <a class="el" href="classError.html">Error</a>* GetMfgSoftwareVer </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="mdname" nowrap> <em>len</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>char * </td> <td class="mdname" nowrap> <em>str</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Read the manufacturer's software version string from the object dictionary. <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>len</em> </td><td>Holds the size of the buffer on entry, and the length of the downloaded data on return. </td></tr> <tr><td valign="top"></td><td valign="top"><em>str</em> </td><td>An array of characters used to upload the string. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00289">289</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a23"></a><!-- doxytag: member="Node::GetMfgStatus" ref="a23" args="(uint32 &stat)" --><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">virtual const <a class="el" href="classError.html">Error</a>* GetMfgStatus </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>stat</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Read the manufacturer status register from the object dictionary. <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>stat</em> </td><td>Reference to the int32 where the status will be returned </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00254">254</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a38"></a><!-- doxytag: member="Node::GetNodeID" ref="a38" 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">virtual <a class="el" href="CML__Utils_8h.html#a7">int16</a> GetNodeID </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, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the node ID associated with this node. <p><dl compact><dt><b>Returns:</b></dt><dd>The node ID </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00377">377</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a36"></a><!-- doxytag: member="Node::GetRpdoCobID" ref="a36" args="(uint16 index)" --><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">virtual <a class="el" href="CML__Utils_8h.html#a9">int32</a> GetRpdoCobID </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a> </td> <td class="mdname1" valign="top" nowrap> <em>index</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the default COB ID value for the receive <a class="el" href="classPDO.html">PDO</a> with the specified index. <p>Return -1 if the specified <a class="el" href="classPDO.html">PDO</a> does not have a default COB ID. <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> </td><td>The <a class="el" href="classPDO.html">PDO</a> index </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The default COB ID for the <a class="el" href="classPDO.html">PDO</a>, or -1 if none. </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00358">358</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a20"></a><!-- doxytag: member="Node::GetState" ref="a20" 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">virtual <a class="el" href="CML__Node_8h.html#a9">NodeState</a> GetState </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, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Returns the present state of this node. <p>Note that this requires node guarding or heartbeats to be enabled. <dl compact><dt><b>Returns:</b></dt><dd>The present node state. </dd></dl><p>Definition at line <a class="el" href="CML__Node_8h-source.html#l00235">235</a> of file <a class="el" href="CML__Node_8h-source.html">CML_Node.h</a>. </td> </tr></table><a class="anchor" name="a31"></a><!-- doxytag: member="Node::GetSynchId" ref="a31" args="(uint32 &id)" --><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">virtual const <a class="el" href="classError.html">Error</a>* GetSynchId </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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -