📄 cml__ampdef_8h.html
字号:
<!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: CML_AmpDef.h File 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 Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><div class="nav"><a class="el" href="dir_000001.html">inc</a></div><h1>CML_AmpDef.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2><p>Definition in file <a class="el" href="CML__AmpDef_8h-source.html">CML_AmpDef.h</a>.<p><p><a href="CML__AmpDef_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Enumerations</h2></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#a394">AMP_OBJID</a> </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">This enumeration holds the object identifiers of all of the objects in the amplifier's object dictionary. <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#a395">INPUT_PIN_CONFIG</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a395a156">INCFG_NONE</a> = 0x0000, <br> <a class="el" href="CML__AmpDef_8h.html#a395a157">INCFG_RESET_R</a> = 0x0002, <br> <a class="el" href="CML__AmpDef_8h.html#a395a158">INCFG_RESET_F</a> = 0x0003, <br> <a class="el" href="CML__AmpDef_8h.html#a395a159">INCFG_POSLIM_H</a> = 0x0004, <br> <a class="el" href="CML__AmpDef_8h.html#a395a160">INCFG_POSLIM_L</a> = 0x0005, <br> <a class="el" href="CML__AmpDef_8h.html#a395a161">INCFG_NEGLIM_H</a> = 0x0006, <br> <a class="el" href="CML__AmpDef_8h.html#a395a162">INCFG_NEGLIM_L</a> = 0x0007, <br> <a class="el" href="CML__AmpDef_8h.html#a395a163">INCFG_MOTOR_TEMP_H</a> = 0x0008, <br> <a class="el" href="CML__AmpDef_8h.html#a395a164">INCFG_MOTOR_TEMP_L</a> = 0x0009, <br> <a class="el" href="CML__AmpDef_8h.html#a395a165">INCFG_CLR_FAULTS_H</a> = 0x000A, <br> <a class="el" href="CML__AmpDef_8h.html#a395a166">INCFG_CLR_FAULTS_L</a> = 0x000B, <br> <a class="el" href="CML__AmpDef_8h.html#a395a167">INCFG_RESET_DISABLE_R</a> = 0x000C, <br> <a class="el" href="CML__AmpDef_8h.html#a395a168">INCFG_RESET_DISABLE_F</a> = 0x000D, <br> <a class="el" href="CML__AmpDef_8h.html#a395a169">INCFG_HOME_H</a> = 0x000E, <br> <a class="el" href="CML__AmpDef_8h.html#a395a170">INCFG_HOME_L</a> = 0x000F, <br> <a class="el" href="CML__AmpDef_8h.html#a395a171">INCFG_DISABLE_H</a> = 0x0010, <br> <a class="el" href="CML__AmpDef_8h.html#a395a172">INCFG_DISABLE_L</a> = 0x0011, <br> <a class="el" href="CML__AmpDef_8h.html#a395a173">INCFG_PWM_SYNC_H</a> = 0x0013, <br> <a class="el" href="CML__AmpDef_8h.html#a395a174">INCFG_MOTION_ABORT_H</a> = 0x0014, <br> <a class="el" href="CML__AmpDef_8h.html#a395a175">INCFG_MOTION_ABORT_L</a> = 0x0015, <br> <a class="el" href="CML__AmpDef_8h.html#a395a176">INCFG_SCALE_ADC_H</a> = 0x0016, <br> <a class="el" href="CML__AmpDef_8h.html#a395a177">INCFG_SCALE_ADC_L</a> = 0x0017, <br> <a class="el" href="CML__AmpDef_8h.html#a395a178">INCFG_HIGHSPEED_CAPTURE_R</a> = 0x0018, <br> <a class="el" href="CML__AmpDef_8h.html#a395a179">INCFG_HIGHSPEED_CAPTURE_F</a> = 0x0019<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Input pin configuration settings. <a href="CML__AmpDef_8h.html#a395">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#a396">OUTPUT_PIN_CONFIG</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a396a180">OUTCFG_EVENT_STATUS_L</a> = 0x0000, <br> <a class="el" href="CML__AmpDef_8h.html#a396a181">OUTCFG_EVENT_STATUS_H</a> = 0x0100, <br> <a class="el" href="CML__AmpDef_8h.html#a396a182">OUTCFG_EVENT_LATCH_L</a> = 0x0001, <br> <a class="el" href="CML__AmpDef_8h.html#a396a183">OUTCFG_EVENT_LATCH_H</a> = 0x0101, <br> <a class="el" href="CML__AmpDef_8h.html#a396a184">OUTCFG_MANUAL_L</a> = 0x0002, <br> <a class="el" href="CML__AmpDef_8h.html#a396a185">OUTCFG_MANUAL_H</a> = 0x0102, <br> <a class="el" href="CML__AmpDef_8h.html#a396a186">OUTCFG_TRJ_STATUS</a> = 0x0003, <br> <a class="el" href="CML__AmpDef_8h.html#a396a187">OUTCFG_POSITION_WINDOW</a> = 0x0004, <br> <a class="el" href="CML__AmpDef_8h.html#a396a188">OUTCFG_POSITION_TRIG_LOW2HIGH</a> = 0x0005, <br> <a class="el" href="CML__AmpDef_8h.html#a396a189">OUTCFG_POSITION_TRIG_HIGH2LOW</a> = 0x0006, <br> <a class="el" href="CML__AmpDef_8h.html#a396a190">OUTCFG_POSITION_TRIG</a> = 0x0007, <br> <a class="el" href="CML__AmpDef_8h.html#a396a191">OUTCFG_SYNC_OUTPUT</a> = 0x0200, <br> <a class="el" href="CML__AmpDef_8h.html#a396a192">OUTCFG_ACTIVE_HIGH</a> = 0x0100<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Output pin configuration settings. <a href="CML__AmpDef_8h.html#a396">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#a397">AMP_MODE</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a397a193">AMPMODE_CAN_PROFILE</a> = 0x0001, <br> <a class="el" href="CML__AmpDef_8h.html#a397a194">AMPMODE_CAN_VELOCITY</a> = 0x0003, <br> <a class="el" href="CML__AmpDef_8h.html#a397a195">AMPMODE_CAN_TORQUE</a> = 0x0004, <br> <a class="el" href="CML__AmpDef_8h.html#a397a196">AMPMODE_CAN_HOMING</a> = 0x0006, <br> <a class="el" href="CML__AmpDef_8h.html#a397a197">AMPMODE_CAN_PVT</a> = 0x0007, <br> <a class="el" href="CML__AmpDef_8h.html#a397a198">AMPMODE_CAN_SERVO</a> = 0x1E00, <br> <a class="el" href="CML__AmpDef_8h.html#a397a199">AMPMODE_CAN_USTEP</a> = 0x2800, <br> <a class="el" href="CML__AmpDef_8h.html#a397a200">AMPMODE_DISABLED</a> = 0x0000, <br> <a class="el" href="CML__AmpDef_8h.html#a397a201">AMPMODE_PROG_CRNT</a> = 0x0100, <br> <a class="el" href="CML__AmpDef_8h.html#a397a202">AMPMODE_AIN_CRNT</a> = 0x0200, <br> <a class="el" href="CML__AmpDef_8h.html#a397a203">AMPMODE_DIN_CRNT</a> = 0x0300, <br> <a class="el" href="CML__AmpDef_8h.html#a397a204">AMPMODE_FGEN_CRNT</a> = 0x0400, <br> <a class="el" href="CML__AmpDef_8h.html#a397a205">AMPMODE_PROG_VEL</a> = 0x0B00, <br> <a class="el" href="CML__AmpDef_8h.html#a397a206">AMPMODE_AIN_VEL</a> = 0x0C00, <br> <a class="el" href="CML__AmpDef_8h.html#a397a207">AMPMODE_DIN_VEL</a> = 0x0D00, <br> <a class="el" href="CML__AmpDef_8h.html#a397a208">AMPMODE_FGEN_VEL</a> = 0x0E00, <br> <a class="el" href="CML__AmpDef_8h.html#a397a209">AMPMODE_DIN_POS</a> = 0x1700, <br> <a class="el" href="CML__AmpDef_8h.html#a397a210">AMPMODE_FGEN_POS</a> = 0x1800, <br> <a class="el" href="CML__AmpDef_8h.html#a397a211">AMPMODE_CAM_POS</a> = 0x1900, <br> <a class="el" href="CML__AmpDef_8h.html#a397a212">AMPMODE_DIN_USTEP</a> = 0x2100, <br> <a class="el" href="CML__AmpDef_8h.html#a397a213">AMPMODE_FGEN_USTEP</a> = 0x2200, <br> <a class="el" href="CML__AmpDef_8h.html#a397a214">AMPMODE_DIAG_USTEP</a> = 0x2A00<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">This enumeration is used to specify the mode of operation of the amplifier. <a href="CML__AmpDef_8h.html#a397">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#a398">EVENT_STATUS</a> { <br> <a class="el" href="CML__AmpDef_8h.html#a398a215">ESTAT_SHORT_CRCT</a> = 0x00000001, <br> <a class="el" href="CML__AmpDef_8h.html#a398a216">ESTAT_AMP_TEMP</a> = 0x00000002, <br> <a class="el" href="CML__AmpDef_8h.html#a398a217">ESTAT_OVER_VOLT</a> = 0x00000004, <br> <a class="el" href="CML__AmpDef_8h.html#a398a218">ESTAT_UNDER_VOLT</a> = 0x00000008, <br> <a class="el" href="CML__AmpDef_8h.html#a398a219">ESTAT_MTR_TEMP</a> = 0x00000010, <br> <a class="el" href="CML__AmpDef_8h.html#a398a220">ESTAT_ENCODER_PWR</a> = 0x00000020, <br> <a class="el" href="CML__AmpDef_8h.html#a398a221">ESTAT_PHASE_ERR</a> = 0x00000040, <br> <a class="el" href="CML__AmpDef_8h.html#a398a222">ESTAT_CRNT_LIM</a> = 0x00000080, <br> <a class="el" href="CML__AmpDef_8h.html#a398a223">ESTAT_VOLT_LIM</a> = 0x00000100, <br> <a class="el" href="CML__AmpDef_8h.html#a398a224">ESTAT_POSLIM</a> = 0x00000200, <br> <a class="el" href="CML__AmpDef_8h.html#a398a225">ESTAT_NEGLIM</a> = 0x00000400, <br> <a class="el" href="CML__AmpDef_8h.html#a398a226">ESTAT_DISABLE_INPUT</a> = 0x00000800, <br> <a class="el" href="CML__AmpDef_8h.html#a398a227">ESTAT_SOFT_DISABLE</a> = 0x00001000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a228">ESTAT_STOP</a> = 0x00002000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a229">ESTAT_BRAKE</a> = 0x00004000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a230">ESTAT_PWM_DISABLE</a> = 0x00008000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a231">ESTAT_SOFTLIM_POS</a> = 0x00010000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a232">ESTAT_SOFTLIM_NEG</a> = 0x00020000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a233">ESTAT_TRK_ERR</a> = 0x00040000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a234">ESTAT_TRK_WARN</a> = 0x00080000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a235">ESTAT_RESET</a> = 0x00100000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a236">ESTAT_POSWRAP</a> = 0x00200000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a237">ESTAT_FAULT</a> = 0x00400000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a238">ESTAT_VEL_LIMIT</a> = 0x00800000, <br> <a class="el" href="CML__AmpDef_8h.html#a398a239">ESTAT_ACC_LIMIT</a> = 0x01000000, <br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -