📄 structsoftposlimit.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: SoftPosLimit 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 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><h1>SoftPosLimit Struct Reference</h1><!-- doxytag: class="SoftPosLimit" --><a href="structSoftPosLimit-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>Software limit switch configuration. <p>This structure may be used to pass software limit switch settings to an <a class="el" href="classAmp.html">Amp</a> object using the functions <a class="el" href="classAmp.html#z7_14">Amp::SetSoftLimits</a> and <a class="el" href="classAmp.html#z7_15">Amp::GetSoftLimits</a><p><p>Definition at line <a class="el" href="CML__AmpStruct_8h-source.html#l00688">688</a> of file <a class="el" href="CML__AmpStruct_8h-source.html">CML_AmpStruct.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="SoftPosLimit::SoftPosLimit" ref="a0" args="(void)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="structSoftPosLimit.html#a0">SoftPosLimit</a> (void)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. Simply sets both limits to zero. <br></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#a11">uunit</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structSoftPosLimit.html#o0">neg</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Negative limit position. <a href="#o0"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a11">uunit</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structSoftPosLimit.html#o1">pos</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Positive limit position. <a href="#o1"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="CML__Utils_8h.html#a11">uunit</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structSoftPosLimit.html#o2">accel</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Software limit acceleration. <a href="#o2"></a><br></td></tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="o2"></a><!-- doxytag: member="SoftPosLimit::accel" 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#a11">uunit</a> <a class="el" href="structSoftPosLimit.html#o2">accel</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Software limit acceleration. <p>This parameter defines the acceleration value that will be used to stop the motor at the software limit position. Note that this parameter was added in amplifier firmware version 4.60. Before that version the older current based software limit processing was used.<p>If this parameter is set to zero (the default) then the software limits will act like virtual limit switches. If the motor position exceeds the limit position then the amplifier will refuse to output current in the limit direction. <p>Definition at line <a class="el" href="CML__AmpStruct_8h-source.html#l00710">710</a> of file <a class="el" href="CML__AmpStruct_8h-source.html">CML_AmpStruct.h</a>. </td> </tr></table><a class="anchor" name="o0"></a><!-- doxytag: member="SoftPosLimit::neg" 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#a11">uunit</a> <a class="el" href="structSoftPosLimit.html#o0">neg</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Negative limit position. <p>Any time the motors actual position is less then this value, a negative software limit condition will be in effect on the amplifier. <p>Definition at line <a class="el" href="CML__AmpStruct_8h-source.html#l00693">693</a> of file <a class="el" href="CML__AmpStruct_8h-source.html">CML_AmpStruct.h</a>. </td> </tr></table><a class="anchor" name="o1"></a><!-- doxytag: member="SoftPosLimit::pos" 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#a11">uunit</a> <a class="el" href="structSoftPosLimit.html#o1">pos</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Positive limit position. <p>Any time the motors actual position is greater then this value, a positive software limit condition will be in effect on the amplifier. <p>Definition at line <a class="el" href="CML__AmpStruct_8h-source.html#l00698">698</a> of file <a class="el" href="CML__AmpStruct_8h-source.html">CML_AmpStruct.h</a>. </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="CML__AmpStruct_8h-source.html">CML_AmpStruct.h</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 + -