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

📄 structiomodulesettings.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Copley Motion Library: IOModuleSettings Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><h1>IOModuleSettings Struct Reference</h1><!-- doxytag: class="IOModuleSettings" --><a href="structIOModuleSettings-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Standard CANopen I/O module settings. <p>This structure may be passed to an I/O module object during initialization. It allows custom settings to be assigned to the module.<p><p>Definition at line <a class="el" href="CML__IO_8h-source.html#l00200">200</a> of file <a class="el" href="CML__IO_8h-source.html">CML_IO.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="IOModuleSettings::IOModuleSettings" ref="a0" args="(void)" -->&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#a0">IOModuleSettings</a> (void)</td></tr><tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o0">heartbeatPeriod</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The CANopen heartbeat protocol is one of two standard methods used to constantly watch for network or device problems.  <a href="#o0"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o1">heartbeatTimeout</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Additional time to wait before generating a heartbeat error (milliseconds) If the heartbeat protocol is used, then this value, combined with the heartbeatTime will determine how long the network master waits for the node's heartbeat message before it generates a heartbeat error.  <a href="#o1"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o2">guardTime</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classNode.html">Node</a> guarding guard time (milliseconds).  <a href="#o2"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a6">uint8</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o3">lifeFactor</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classNode.html">Node</a> guarding life time factor.  <a href="#o3"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o4">useStandardDinPDO</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use the standard digital input <a class="el" href="classPDO.html">PDO</a> object.  <a href="#o4"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o5">useStandardDoutPDO</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use the standard digital output <a class="el" href="classPDO.html">PDO</a> object.  <a href="#o5"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o6">useStandardAinPDO</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use the standard analog input <a class="el" href="classPDO.html">PDO</a> objects.  <a href="#o6"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structIOModuleSettings.html#o7">useStandardAoutPDO</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use the standard analog output <a class="el" href="classPDO.html">PDO</a> objects.  <a href="#o7"></a><br></td></tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="o2"></a><!-- doxytag: member="IOModuleSettings::guardTime" ref="o2" args="" --><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#a8">uint16</a> <a class="el" href="structIOModuleSettings.html#o2">guardTime</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="classNode.html">Node</a> guarding guard time (milliseconds). <p>The CANopen node guarding protocol is a second method (the first being the heartbeat protocol) for devices on the network to watch for network problems. In this protocol, the master controller sends a request message out to the slave device at a specified interval. The slave device responds to this request with a message indicating it's state.<p>The main difference between this protocol and the heartbeat protocol is that both the slave node and the master are able to recognize network errors. With the heartbeat protocol only the network master is able to identify network problems.<p>Note that only one of these two protocols can be active in a node device at any time. If the heartbeat period is non-zero, then the heartbeat protocol will be used.<p>This parameter gives the node guarding period for use with this node. This is the period between node guarding request messages sent by the master controller.<p>Note that both this parameter, and the life time factor must be non-zero for node guarding to be used.<p>Default 0 (ms) <p>Definition at line <a class="el" href="CML__IO_8h-source.html#l00256">256</a> of file <a class="el" href="CML__IO_8h-source.html">CML_IO.h</a>.    </td>  </tr></table><a class="anchor" name="o0"></a><!-- doxytag: member="IOModuleSettings::heartbeatPeriod" ref="o0" args="" --><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#a8">uint16</a> <a class="el" href="structIOModuleSettings.html#o0">heartbeatPeriod</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The CANopen heartbeat protocol is one of two standard methods used to constantly watch for network or device problems. <p>When the heartbeat protocol is used, each device on the CANopen network transmits a 'heartbeat' message at a specified interval. The network master watches for these messages, and is able to detect a device error if it's heartbeat message is not received within the expected time.<p>This parameter configures the heartbeat period (milliseconds) that will be used by this module to transmit it's heartbeat message.<p>If this parameter is set to zero, then the heartbeat protocol is disabled on this node.<p>Default: zero (not used) <p>Definition at line <a class="el" href="CML__IO_8h-source.html#l00218">218</a> of file <a class="el" href="CML__IO_8h-source.html">CML_IO.h</a>.    </td>  </tr></table><a class="anchor" name="o1"></a><!-- doxytag: member="IOModuleSettings::heartbeatTimeout" ref="o1" args="" --><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#a8">uint16</a> <a class="el" href="structIOModuleSettings.html#o1">heartbeatTimeout</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Additional time to wait before generating a heartbeat error (milliseconds) If the heartbeat protocol is used, then this value, combined with the heartbeatTime will determine how long the network master waits for the node's heartbeat message before it generates a heartbeat error. <p>Note that setting this to zero does not disable the heartbeat protocol. set the heartbeatPeriod value to zero to disable heartbeat.<p>Default 100 (ms) <p>Definition at line <a class="el" href="CML__IO_8h-source.html#l00229">229</a> of file <a class="el" href="CML__IO_8h-source.html">CML_IO.h</a>.    </td>  </tr></table><a class="anchor" name="o3"></a><!-- doxytag: member="IOModuleSettings::lifeFactor" ref="o3" args="" --><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#a6">uint8</a> <a class="el" href="structIOModuleSettings.html#o3">lifeFactor</a>          </td>

⌨️ 快捷键说明

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