📄 cml__ampdef_8h.html
字号:
<br> <a class="el" href="CML__AmpDef_8h.html#a406a326">PWM_MODE_FORCECLAMP</a> = 0x0001, <br> <a class="el" href="CML__AmpDef_8h.html#a406a327">PWM_MODE_AUTOCLAMP</a> = 0x0002, <br> <a class="el" href="CML__AmpDef_8h.html#a406a328">PWM_MODE_HEXLIMIT</a> = 0x0010<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Amplifier PWM output mode. <a href="CML__AmpDef_8h.html#a406">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML__AmpDef_8h.html#a407">AMP_TRACE_VAR</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a407a329">TRACEVAR_HIGH_VOLT</a> = 6, <br> <a class="el" href="CML__AmpDef_8h.html#a407a330">TRACEVAR_TEMP</a> = 37, <br> <a class="el" href="CML__AmpDef_8h.html#a407a331">TRACEVAR_ANALOG_REF</a> = 5, <br> <a class="el" href="CML__AmpDef_8h.html#a407a332">TRACEVAR_ENC_SIN</a> = 46, <br> <a class="el" href="CML__AmpDef_8h.html#a407a333">TRACEVAR_ENC_COS</a> = 47, <br> <a class="el" href="CML__AmpDef_8h.html#a407a334">TRACEVAR_PHASE</a> = 36, <br> <a class="el" href="CML__AmpDef_8h.html#a407a335">TRACEVAR_HALLS</a> = 40, <br> <a class="el" href="CML__AmpDef_8h.html#a407a336">TRACEVAR_INPUTS</a> = 48, <br> <a class="el" href="CML__AmpDef_8h.html#a407a337">TRACEVAR_RAW_INPUTS</a> = 33, <br> <a class="el" href="CML__AmpDef_8h.html#a407a338">TRACEVAR_EVENTS</a> = 38, <br> <a class="el" href="CML__AmpDef_8h.html#a407a339">TRACEVAR_EVENTLATCH</a> = 39, <br> <a class="el" href="CML__AmpDef_8h.html#a407a340">TRACEVAR_CRNT_A</a> = 3, <br> <a class="el" href="CML__AmpDef_8h.html#a407a341">TRACEVAR_CRNT_B</a> = 4, <br> <a class="el" href="CML__AmpDef_8h.html#a407a342">TRACEVAR_CRNT_CMD</a> = 7, <br> <a class="el" href="CML__AmpDef_8h.html#a407a343">TRACEVAR_CRNT_LIM</a> = 8, <br> <a class="el" href="CML__AmpDef_8h.html#a407a344">TRACEVAR_CRNT_CMD_D</a> = 9, <br> <a class="el" href="CML__AmpDef_8h.html#a407a345">TRACEVAR_CRNT_CMD_Q</a> = 10, <br> <a class="el" href="CML__AmpDef_8h.html#a407a346">TRACEVAR_CRNT_ACT_D</a> = 13, <br> <a class="el" href="CML__AmpDef_8h.html#a407a347">TRACEVAR_CRNT_ACT_Q</a> = 14, <br> <a class="el" href="CML__AmpDef_8h.html#a407a348">TRACEVAR_CRNT_ERR_D</a> = 15, <br> <a class="el" href="CML__AmpDef_8h.html#a407a349">TRACEVAR_CRNT_ERR_Q</a> = 16, <br> <a class="el" href="CML__AmpDef_8h.html#a407a350">TRACEVAR_VOLT_D</a> = 19, <br> <a class="el" href="CML__AmpDef_8h.html#a407a351">TRACEVAR_VOLT_Q</a> = 20, <br> <a class="el" href="CML__AmpDef_8h.html#a407a352">TRACEVAR_VEL_MTR</a> = 23, <br> <a class="el" href="CML__AmpDef_8h.html#a407a353">TRACEVAR_VEL_RAW</a> = 50, <br> <a class="el" href="CML__AmpDef_8h.html#a407a354">TRACEVAR_VEL_LOAD</a> = 43, <br> <a class="el" href="CML__AmpDef_8h.html#a407a355">TRACEVAR_VLOOP_CMD</a> = 24, <br> <a class="el" href="CML__AmpDef_8h.html#a407a356">TRACEVAR_VLOOP_LIM</a> = 25, <br> <a class="el" href="CML__AmpDef_8h.html#a407a357">TRACEVAR_VLOOP_ERR</a> = 26, <br> <a class="el" href="CML__AmpDef_8h.html#a407a358">TRACEVAR_LOAD_POS</a> = 28, <br> <a class="el" href="CML__AmpDef_8h.html#a407a359">TRACEVAR_MTR_POS</a> = 31, <br> <a class="el" href="CML__AmpDef_8h.html#a407a360">TRACEVAR_POS_ERR</a> = 30, <br> <a class="el" href="CML__AmpDef_8h.html#a407a361">TRACEVAR_CMD_POS</a> = 29, <br> <a class="el" href="CML__AmpDef_8h.html#a407a362">TRACEVAR_CMD_VEL</a> = 44, <br> <a class="el" href="CML__AmpDef_8h.html#a407a363">TRACEVAR_CMD_ACC</a> = 45, <br> <a class="el" href="CML__AmpDef_8h.html#a407a364">TRACEVAR_DEST_POS</a> = 49<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Amplifier trace variables. <a href="CML__AmpDef_8h.html#a407">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML__AmpDef_8h.html#a408">AMP_TRACE_STATUS</a> </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Amplifier trace status bits. <a href="CML__AmpDef_8h.html#a408">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML__AmpDef_8h.html#a409">AMP_TRACE_TRIGGER</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a409a369">TRACETRIG_CHANNEL</a> = 0x000F, <br> <a class="el" href="CML__AmpDef_8h.html#a409a370">TRACETRIG_TYPE</a> = 0x0F00, <br> <a class="el" href="CML__AmpDef_8h.html#a409a371">TRACETRIG_NONE</a> = 0x0000, <br> <a class="el" href="CML__AmpDef_8h.html#a409a372">TRACETRIG_ABOVE</a> = 0x0100, <br> <a class="el" href="CML__AmpDef_8h.html#a409a373">TRACETRIG_BELOW</a> = 0x0200, <br> <a class="el" href="CML__AmpDef_8h.html#a409a374">TRACETRIG_RISE</a> = 0x0300, <br> <a class="el" href="CML__AmpDef_8h.html#a409a375">TRACETRIG_FALL</a> = 0x0400, <br> <a class="el" href="CML__AmpDef_8h.html#a409a376">TRACETRIG_BITSET</a> = 0x0500, <br> <a class="el" href="CML__AmpDef_8h.html#a409a377">TRACETRIG_BITCLR</a> = 0x0600, <br> <a class="el" href="CML__AmpDef_8h.html#a409a378">TRACETRIG_CHANGE</a> = 0x0700, <br> <a class="el" href="CML__AmpDef_8h.html#a409a379">TRACETRIG_EVENTSET</a> = 0x0800, <br> <a class="el" href="CML__AmpDef_8h.html#a409a380">TRACETRIG_EVENTCLR</a> = 0x0900, <br> <a class="el" href="CML__AmpDef_8h.html#a409a381">TRACETRIG_FGEN_CYCLE</a> = 0x0A00, <br> <a class="el" href="CML__AmpDef_8h.html#a409a382">TRACETRIG_NODELAY</a> = 0x4000, <br> <a class="el" href="CML__AmpDef_8h.html#a409a383">TRACETRIG_SAMPLE</a> = 0x8000<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Amplifier trace trigger settings. <a href="CML__AmpDef_8h.html#a409">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML__AmpDef_8h.html#a410">POS_CAPTURE_CFG</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a410a384">CAPTURE_INDEX_RISING</a> = 0x0001, <br> <a class="el" href="CML__AmpDef_8h.html#a410a385">CAPTURE_INDEX_FALLING</a> = 0x0002, <br> <a class="el" href="CML__AmpDef_8h.html#a410a386">CAPTURE_INDEX_LATCH</a> = 0x0004, <br> <a class="el" href="CML__AmpDef_8h.html#a410a387">CAPTURE_HOME_LATCH</a> = 0x0040, <br> <a class="el" href="CML__AmpDef_8h.html#a410a388">CAPTURE_HIGH_SPEED_INPUT</a> = 0x0100, <br> <a class="el" href="CML__AmpDef_8h.html#a410a389">CAPTURE_HIGH_SPEED_INPUT_LATCH</a> = 0x0400<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Position capture configuration. <a href="CML__AmpDef_8h.html#a410">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML__AmpDef_8h.html#a411">POS_CAPTURE_STAT</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a411a390">CAPTURE_INDEX_FULL</a> = 0x0001, <br> <a class="el" href="CML__AmpDef_8h.html#a411a391">CAPTURE_INDEX_OVER</a> = 0x0008, <br> <a class="el" href="CML__AmpDef_8h.html#a411a392">CAPTURE_HOME_FULL</a> = 0x0010, <br> <a class="el" href="CML__AmpDef_8h.html#a411a393">CAPTURE_HOME_OVER</a> = 0x0080<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Position capture status register value. <a href="CML__AmpDef_8h.html#a411">More...</a><br></td></tr></table><hr><h2>Enumeration Type Documentation</h2><a class="anchor" name="a399"></a><!-- doxytag: member="CML_AmpDef.h::AMP_EVENT" ref="a399" 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">enum <a class="el" href="CML__AmpDef_8h.html#a399">AMP_EVENT</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Amplifier events. <p>This enumeration provides a list of events that can be used to wait on amplifier conditions.<dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="a399a245"></a><!-- doxytag: member="AMPEVENT_MOVEDONE" ref="a399a245" args="" -->AMPEVENT_MOVEDONE</em> </td><td>Set when a move is finished and the amplifier has settled in to position at the end of the move. <p>Cleared when a new move is started. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a246"></a><!-- doxytag: member="AMPEVENT_TRJDONE" ref="a399a246" args="" -->AMPEVENT_TRJDONE</em> </td><td>Set when the trajectory generator finishes a move. <p>The motor may not have settled into position at this point. Cleared when a new move is started. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a247"></a><!-- doxytag: member="AMPEVENT_NODEGUARD" ref="a399a247" args="" -->AMPEVENT_NODEGUARD</em> </td><td>A node guarding (or heartbeat) error has occurred. <p>This indicates that the amplifier failed to respond within the expected amount of time for either a heartbeat or node guarding message. This could be caused by a network wiring problem, amplifier power down, amp reset, etc. This bit is set when the error occurs, and is cleared by a call to the function <a class="el" href="classAmp.html#z14_3">Amp::ClearNodeGuardEvent</a>. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a248"></a><!-- doxytag: member="AMPEVENT_SPACK" ref="a399a248" args="" -->AMPEVENT_SPACK</em> </td><td>This event bit is used internally by the amplifier object. <p>It is set when the amp acknowledges a new move start. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a249"></a><!-- doxytag: member="AMPEVENT_FAULT" ref="a399a249" args="" -->AMPEVENT_FAULT</em> </td><td>A latching amplifier fault has occurred. <p>The specifics of what caused the fault can be obtained by calling <a class="el" href="classAmp.html#z1_9">Amp::GetFaults</a>, and the fault conditions can be cleared by calling <a class="el" href="classAmp.html#z1_8">Amp::ClearFaults</a>. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a250"></a><!-- doxytag: member="AMPEVENT_ERROR" ref="a399a250" args="" -->AMPEVENT_ERROR</em> </td><td>A non-latching amplifier error has occurred. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a251"></a><!-- doxytag: member="AMPEVENT_POSWARN" ref="a399a251" args="" -->AMPEVENT_POSWARN</em> </td><td>The amplifier's absolute position error is greater then the window set with <a class="el" href="classAmp.html#z7_4">Amp::SetPositionWarnWindow</a>. </td></tr><tr><td valign="top"><em><a class="anchor" name="a399a252"></a><!-- doxytag: member="AMPEVENT_POSWIN" ref="a399a252" args="" -->AMPEVENT_POSWIN</em> </td><td>The amplifier's absolute position error is greater then the window set with <a class="el" href="classAmp.html#z7_6">Amp::SetSettlingWindow</a>. </td></tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -