📄 stepconf.lyx
字号:
#LyX 1.3 created this file. For more info see http://www.lyx.org/\lyxformat 221\textclass book\begin_preamble\usepackage[plainpages=false,pdfpagelabels,colorlinks=true,linkcolor=blue]{hyperref}\end_preamble\language english\inputencoding auto\fontscheme pslatex\graphics default\paperfontsize default\spacing single \papersize Default\paperpackage a4\use_geometry 0\use_amsmath 0\use_natbib 0\use_numerical_citations 0\paperorientation portrait\secnumdepth 3\tocdepth 3\paragraph_separation skip\defskip medskip\quotes_language english\quotes_times 2\papercolumns 1\papersides 1\paperpagestyle default\layout ChapterStepconf Wizard\begin_inset LatexCommand \label{cha:Stepconf-Wizard}\end_inset \begin_inset LatexCommand \index{Stepconf Wizard}\end_inset \layout StandardEMC2 is capable of controlling a wide range of machinery using many different hardware interfaces. Stepconf is a program which generates EMC configuration files for a specific class of CNC machine: those connected to the PC using a standard \series bold parallel port\series default and controlled with \series bold step & direction\series default signals. Stepconf is installed when you install EMC2 and is in the CNC menu.\layout StandardStepconf places a file in the emc2/config directory to store the choices for each configuration you create. When you change something you need to pick the file that matches your configuration name. The file extension is .stepconf.\layout SectionStep by Step Instructions\begin_inset LatexCommand \label{sec:Step-by-Step}\end_inset \layout SubsectionBasic Information\begin_inset LatexCommand \label{sub:Basic-Information}\end_inset \layout Standard\begin_inset Float figureplacement Hwide falsecollapsed false\layout CaptionBasic Information Page\begin_inset LatexCommand \label{cap:Basic-Information-Page}\end_inset \layout Standard\align center \begin_inset Graphics filename stepconf-basic.png scale 70\end_inset \end_inset \layout DescriptionMachine\SpecialChar ~Name\begin_inset LatexCommand \index{Machine Name}\end_inset Choose a name for your machine. Use only uppercase letters, lowercase letters, digits, \begin_inset Quotes eld\end_inset -\begin_inset Quotes erd\end_inset and \begin_inset Quotes eld\end_inset _\begin_inset Quotes erd\end_inset .\layout DescriptionAxis\SpecialChar ~Configuration\begin_inset LatexCommand \index{Axis Configuration}\end_inset Choose XYZ (Mill), XYZA (4-axis mill) or XZ (Lathe).\layout DescriptionMachine\SpecialChar ~Units\begin_inset LatexCommand \index{Machine Units}\end_inset Choose Inch or mm. All subsequent questions (such as machine travel, leadscrew pitch, etc) will be answered in the chosen units\layout DescriptionDriver\SpecialChar ~Type\begin_inset LatexCommand \index{Driver Type}\end_inset If you have one of the stepper drivers listed in the pull down box, choose it. Otherwise, find the 4 timing values in your driver's data sheet and enter them. If the data sheet gives a value in microseconds, multiply by 1000. For example, enter 4.5us as 4500. The Gecko type is for the 201 drive. A list is on the wiki site of most popular drives with the timing values is in the Stepper Drive Timing Page.\begin_deeper \layout StandardAdditional signal conditioning or isolation such as optocouplers and RC filters on break out boards can impose timing constraints of their own, in addition to those of the driver. You may find it necessary to add some time to the drive requirements to allow for this.\end_deeper \layout DescriptionLatency\SpecialChar ~Test\SpecialChar ~Result\begin_inset LatexCommand \index{Latency Test Result}\end_inset Enter the result of the Latency Test here. To run a latency test see section (\begin_inset LatexCommand \ref{sec:Latency-Test}\end_inset )\layout DescriptionMax\SpecialChar ~Step\SpecialChar ~Rate\begin_inset LatexCommand \index{Max Step Rate}\end_inset Stepconf automatically calculates the Max Step Rate based on the driver characteristics entered and the latency test results.\layout DescriptionMin\SpecialChar ~Base\SpecialChar ~Period\begin_inset LatexCommand \index{Min Base Period}\end_inset Stepconf automatically determines the Min Base Period based on the driver characteristics entered and latency test result.\layout DescriptionOnscreen\SpecialChar ~Prompt\SpecialChar ~For\SpecialChar ~Tool\SpecialChar ~Change\begin_inset LatexCommand \index{Onscreen Prompt For Tool Change}\end_inset If this box is checked, EMC will pause and prompt you to change the tool when \series bold M6\series default is encountered. Leave this box checked unless you plan to add support for an automatic tool changer in a custom hal file\layout SubsectionParallel Port Setup\begin_inset LatexCommand \index{Parallel Port Setup}\end_inset \begin_inset LatexCommand \label{sub:Parallel-Port-Setup}\end_inset \layout Standard\begin_inset Float figureplacement Hwide falsecollapsed false\layout CaptionParallel Port Setup Page\begin_inset LatexCommand \label{cap:Parallel-Port-Setup}\end_inset \layout Standard\align center \begin_inset Graphics filename stepconf-pinout.png scale 70\end_inset \end_inset \layout StandardFor each pin, choose the signal which matches your parallel port pin out. Turn on the \begin_inset Quotes eld\end_inset invert\begin_inset Quotes erd\end_inset check box if the signal is inverted (0V for true/active, 5V for false/inactive).\layout DescriptionOutput\SpecialChar ~pinout\SpecialChar ~presets\begin_inset LatexCommand \index{Output pinout presets}\end_inset Automatically set pins 2 through 9 according to the Sherline standard (Direction on pins 2, 4, 6, 8) or the Xylotex standard (Direction on pins 3, 5, 7, 9).\layout DescriptionInputs\SpecialChar ~and\SpecialChar ~Outputs\begin_inset LatexCommand \index{Inputs and Outputs}\end_inset If the input or output is not used set the option to \begin_inset Quotes eld\end_inset Unused\begin_inset Quotes erd\end_inset .\layout DescriptionInclude\SpecialChar ~custom\SpecialChar ~HAL\SpecialChar ~configuration\begin_inset LatexCommand \index{Include custom HAL configuration}\end_inset Allows you to add additional hal customizations in the file \family typewriter custom.hal\family default after running Stepconf.\layout Standard\series bold Include\SpecialChar ~custom\SpecialChar ~PyVCP\SpecialChar ~Panel\begin_inset LatexCommand \index{Include custom PyVCP Panel}\end_inset \series default If selected, the PyVCP control panel \family typewriter panel.xml\family default will be displayed on the right-hand side of the main AXIS window. This will not create a PyVCP panel but will create the blank file in the config folder. To create a PyVCP panel see the PyVCP section of the Integrators Manual.\layout Standard\series bold Charge Pump\begin_inset LatexCommand \index{Charge Pump}\end_inset \series default If your driver board requires a charge pump signal simply select Charge Pump from the drop down list for the output pin you wish to connect to your charge pump input. The charge pump output is connected to the base thread by Stepconf. The charge pump output will be about 1/2 of the maximum step rate shown on the Basic Machine Configuration page.\layout SubsectionAxis Configuration\begin_inset LatexCommand \index{Axis Configuration}\end_inset \begin_inset LatexCommand \label{sub:Axis-Configuration}\end_inset \layout Standard\begin_inset Float figureplacement Hwide falsecollapsed false\layout CaptionAxis Configuration Page\begin_inset LatexCommand \label{cap:Axis-Configuration-Page}\end_inset \layout Standard\align center \begin_inset Graphics filename stepconf-axis.png scale 70\end_inset \end_inset \layout DescriptionMotor\SpecialChar ~Steps\SpecialChar ~Per\SpecialChar ~Revolution\begin_inset LatexCommand \index{Motor Steps Per Revolution}\end_inset The number of full steps per motor revolution. If you know how many degrees the motor is (e.g., 1.2 degree), then divide 360 by the degrees to find the number of steps per motor revolution.\layout DescriptionDriver\SpecialChar ~Microstepping\begin_inset LatexCommand \index{Driver Microstepping}\end_inset The amount of microstepping performed by the driver. Enter \begin_inset Quotes eld\end_inset 2\begin_inset Quotes erd\end_inset for half-stepping.\layout DescriptionPulley\SpecialChar ~Ratio\begin_inset LatexCommand \index{Pulley Ratio}\end_inset If your machine has pulleys between the motor and leadscrew, enter the ratio here. If not, enter \begin_inset Quotes eld\end_inset 1:1\begin_inset Quotes erd\end_inset .\layout DescriptionLeadscrew\SpecialChar ~Pitch\begin_inset LatexCommand \index{Leadscrew Pitch}\end_inset Enter the pitch of the leadscrew here. If you chose \begin_inset Quotes eld\end_inset Inch\begin_inset Quotes erd\end_inset units, enter the number of threads per inch here (e.g., enter 8 for 8TPI). If you chose \begin_inset Quotes eld\end_inset mm\begin_inset Quotes erd\end_inset units, enter the number of millimeters per thread here (e.g., enter 2 for 2mm/rev). If the machine travels in the wrong direction, enter a negative number here instead of a positive number.\layout DescriptionMaximum\SpecialChar ~Velocity\begin_inset LatexCommand \index{Maximum Velocity}\end_inset Enter the maximum velocity for the axis in units per second. \layout DescriptionMaximum\SpecialChar ~Acceleration\begin_inset LatexCommand \index{Maximum Acceleration}\end_inset The correct values for these items can only be determined through experimentation. See \begin_inset Quotes eld\end_inset Finding Velocity and Acceleration\begin_inset Quotes erd\end_inset below.\layout DescriptionHome\SpecialChar ~Location\begin_inset LatexCommand \index{Home Location}\end_inset The position the machine moves to after completing the homing procedure for this axis. For machines without home switches, this is the location the operator manually moves the machine to before pressing the Home button.\layout DescriptionTable\SpecialChar ~Travel\begin_inset LatexCommand \index{Table Travel}\end_inset The range of travel that gcode programs must not exceed. The home location must be inside the Table Travel. In particular, having Home Location exactly equal to one of the Table Travel values is incorrect configuration\layout DescriptionHome\SpecialChar ~Switch\SpecialChar ~Location\begin_inset LatexCommand \index{Home Switch Location}\end_inset The location at which the home switch trips or releases during the homing process. This item and the two below only appear when Home Switches were chosen in the Parallel Port Pinout.\layout DescriptionHome\SpecialChar ~Search\SpecialChar ~Velocity\begin_inset LatexCommand \index{Home Search Velocity}\end_inset The velocity to use when moving towards the switch. If the switch is near the end of travel, this velocity must be chosen so that the axis can decelerate to a stop before hitting the end of travel. If the switch is only closed for a short range of travel (instead of being closed from its trip point to one end of travel), this velocity must be chosen so that the axis can decelerate to a stop before the switch opens again, and homing must always be started from the same side of the switch.\newline If the machine moves the wrong direction at the beginning of the homing procedure, negate the value of \series bold Home Search Velocity\series default .\layout DescriptionHome\SpecialChar ~Latch\SpecialChar ~Direction\begin_inset LatexCommand \index{Home Latch Direction}\end_inset Choose \begin_inset Quotes eld\end_inset Same\begin_inset Quotes erd\end_inset to have homing back off the switch, then approach it again at a very low speed.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -