📄 axis.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 default\fontscheme bookman\graphics default\float_placement !!h\paperfontsize 10\spacing single \papersize Custom\paperpackage a4\use_geometry 1\use_amsmath 0\use_natbib 0\use_numerical_citations 0\paperorientation portrait\paperwidth 8.5in\paperheight 11in\leftmargin 1.2in\topmargin 1in\rightmargin 0.6in\bottommargin 0.6in\secnumdepth 5\tocdepth 5\paragraph_separation skip\defskip smallskip\quotes_language english\quotes_times 2\papercolumns 1\papersides 2\paperpagestyle default\layout Standard\begin_inset Notecollapsed false\layout Standard2.2.x To Do List\layout Standardfinish menu descriptions\end_inset \layout ChapterAXIS\layout SectionIntroduction\layout StandardAXIS\begin_inset LatexCommand \index{AXIS}\end_inset is a graphical front-end for EMC2 which features a live preview and backplot. It is written in Python\begin_inset LatexCommand \index{Python}\end_inset and uses Tk\begin_inset LatexCommand \index{Tk}\end_inset and OpenGL\begin_inset LatexCommand \index{OpenGL}\end_inset to display its user interface.\layout Standard\begin_inset Float figurewide falsecollapsed false\layout CaptionAXIS Window\begin_inset LatexCommand \label{cap:AXIS-Window}\end_inset \layout Standard\align center \begin_inset Graphics filename ../common/axis.png lyxscale 50 width 80page% keepAspectRatio\end_inset \end_inset \layout SectionGetting Started\layout StandardTo select AXIS as the front-end for EMC2, edit the .ini file. In the section \family typewriter [DISPLAY]\family default change the \family typewriter DISPLAY\family default line to read\layout LyX-CodeDISPLAY = axis\layout StandardThen, start EMC2 and select that ini file. The sample configuration \family typewriter sim/axis.ini\family default is already configured to use AXIS as its front-end.\layout StandardWhen you start AXIS, a window like the one in Figure \begin_inset LatexCommand \ref{cap:AXIS-Window}\end_inset is shown.\layout SubsectionA typical session\layout EnumerateStart EMC and select a configuration file.\layout EnumerateClear the \begin_inset Quotes eld\end_inset ESTOP\begin_inset LatexCommand \index{ESTOP}\end_inset \begin_inset Quotes erd\end_inset condition and turn the machine on.\layout Enumerate\begin_inset Quotes eld\end_inset Home\begin_inset Quotes erd\end_inset all axes.\layout EnumerateLoad the file to be milled.\layout EnumerateUse the preview plot to verify that the program is correct.\layout EnumeratePut the stock to be milled on the table.\layout EnumerateSet the proper offsets for each axis by jogging and using the \begin_inset Quotes eld\end_inset Touch Off\begin_inset LatexCommand \index{Touch Off}\end_inset \begin_inset Quotes erd\end_inset button.\layout EnumerateRun the program.\layout EnumerateTo mill the same file again, return to step 6. To mill a different file, return to step 4. When you're done, exit AXIS.\layout SectionAxis Display\layout StandardThe AXIS window contains the following elements:\layout ItemizeA display area that shows a preview of the loaded file (in this case, \begin_inset Quotes eld\end_inset axis.ngc\begin_inset Quotes erd\end_inset ), as well as the current location of the CNC\begin_inset LatexCommand \index{CNC}\end_inset machine's \begin_inset Quotes eld\end_inset controlled point\begin_inset Quotes erd\end_inset . Later, this area will display the path the CNC machine has moved through, called the \begin_inset Quotes eld\end_inset backplot\begin_inset Quotes erd\end_inset \layout ItemizeA menubar and toolbar that allow you to perform various actions\layout Itemize\begin_inset Quotes eld\end_inset Manual Control\begin_inset LatexCommand \index{Manual}\end_inset \begin_inset Quotes erd\end_inset , which allows you to make the machine move, turn the spindle on or off, and turn the coolant on or off\layout Itemize\begin_inset Quotes eld\end_inset Code Entry\begin_inset Quotes erd\end_inset (also called MDI\begin_inset LatexCommand \index{MDI}\end_inset ), where G-code programs can be entered manually, one line at a time.\layout Itemize\begin_inset Quotes eld\end_inset Feed Override\begin_inset LatexCommand \index{feed override}\end_inset \begin_inset Quotes erd\end_inset , which allows you to increase or decrease the speed at which EMC executes the selected program.\layout ItemizeA text display area that shows the G-code source of the loaded file.\layout ItemizeA status bar which shows the state of the machine. In this screenshot, the machine is turned on, does not have a tool inserted, and the displayed position is \begin_inset Quotes eld\end_inset Relative\begin_inset LatexCommand \index{position: relative}\end_inset \begin_inset Quotes erd\end_inset to the machine offset (as opposed to \begin_inset Quotes eld\end_inset Absolute\begin_inset LatexCommand \index{position: absolute}\end_inset \begin_inset Quotes erd\end_inset ), and the \begin_inset Quotes eld\end_inset Actual\begin_inset LatexCommand \index{position: actual}\end_inset \begin_inset Quotes erd\end_inset (as opposed to \begin_inset Quotes eld\end_inset Commanded\begin_inset LatexCommand \index{position: commanded}\end_inset \begin_inset Quotes erd\end_inset position)\layout SubsectionMenu Items\layout StandardSome menu items might be greyed out depending on how you have your .ini file configured. For more information on configuration see the Integrators Manual.\layout SubsubsectionFile\layout SubsubsectionOpen... \layout StandardOpens a standard dialog box to open a g code file to load in AXIS. If you have configured EMC to use a filter program you can also open it up. See the Integrators manual for more information on filter programs.\layout SubsubsectionEdit...\layout StandardEdit will open the current g code file for editing if you have an editor configured in your ini file. See the Integrators Manual for more information on specifying an editor to use.\layout SubsubsectionReload\layout StandardReload will reload the current g code file. If you edited it you must reload it for the changes to take affect. If you stop a file and want to start from the beginning then reload the file. The toolbar reload is the same as the menu.\layout SubsubsectionSave gcode as...\layout StandardSave the current file with a new name.\layout SubsubsectionProperties\layout StandardProperties of the current loaded g code file.\layout SubsubsectionEdit tool table...\layout StandardSame as Edit if you have defined an editor you can open the tool table and edit it.\layout SubsubsectionReload tool table\layout StandardAfter editing the tool table you must reload it.\layout SubsubsectionLadder editor\layout StandardIf you have loaded Classic Ladder you can edit it from here. See the Integrators Manual on setting up Classic Ladder\layout SubsubsectionQuit\layout StandardPretty much what it does.\layout SubsubsectionMachine\layout SubsubsectionToggle Emergency Stop F1\layout SubsubsectionToggle Machine Power F2\layout SubsubsectionSet next line\layout StandardThis is used to start a program from a line. Select the line you want to start from then select Set next line from the menu and then Run from the tool bar. Use with caution as this will move the tool to the expected position before the line first then it will execute the rest of the code.\layout SubsubsectionRun Program\layout SubsubsectionRun a program.\layout SubsubsectionStep\layout StandardSingle step through a program.\layout SubsubsectionPause\layout StandardPause a program.\layout SubsubsectionResume\layout StandardResume running from a pause.\layout SubsubsectionStop\layout StandardStop a running program.\layout SubsubsectionStop at M1\layout StandardIf you have a M1 in your g code and this is checked program execution will stop on the M1 line. Press Resume to continue.\layout SubsubsectionSkip lines with "/"\layout StandardIf a line begins with / and this is checked it will skip that line.\layout SubsubsectionClear MDI history\layout StandardClears the MDI history window.\layout SubsubsectionCopy from MDI history\layout StandardCopies the MDI history to the clipboard\layout SubsubsectionPaste to MDI history\layout StandardPaste from the clipboard to the MDI history window\layout SubsubsectionCalibration\layout StandardThis is a servo testing pop up widow for each axis. After making changes and testing them it can save them to your .ini file.\layout SubsubsectionShow HAL Configuration\layout StandardThis brings up the HAL Show window.\layout SubsubsectionHAL Meter\layout SubsubsectionHAL Scope\layout SubsubsectionShow EMC Status\layout SubsubsectionSet Debug Level\layout SubsubsectionHoming\layout StandardHome any or all axis.\layout SubsubsectionZero Coordinate System\layout StandardZero work offsets.\layout SubsubsectionView\layout SubsubsectionTop View\layout SubsubsectionRotated Top View\layout SubsubsectionSide View\layout SubsubsectionFront View\layout SubsubsectionPerspective View\layout SubsubsectionDisplay Inches\layout SubsubsectionDisplay MM\layout SubsubsectionShow Program\layout SubsubsectionShow Program Rapids\layout SubsubsectionShow Live Plot\layout SubsubsectionShow Tool\layout SubsubsectionShow Extents\layout SubsubsectionShow Machine Limits\layout SubsubsectionShow Velocity\layout SubsubsectionShow Distance to Go\layout SubsubsectionClear Live Plot\layout SubsubsectionShow Commanded Position\layout SubsubsectionShow Actual Position\layout SubsubsectionShow Machine Position\layout SubsubsectionShow Relative Position\layout SubsubsectionHelp\layout SubsubsectionAbout AXIS\layout SubsubsectionQuick Reference\layout StandardKeyboard shortcut keys.\layout SubsectionToolbar buttons\layout StandardFrom left to right, the toolbar buttons are:\layout Enumerate\begin_inset Graphics filename images/tool_estop.gif\end_inset Toggle \begin_inset Quotes eld\end_inset Emergency Stop\begin_inset Quotes erd\end_inset (also called E-Stop\begin_inset LatexCommand \index{ESTOP}\end_inset )\layout Enumerate\begin_inset Graphics filename images/tool_power.gif\end_inset Toggle machine power\begin_inset LatexCommand \index{machine on}\end_inset \layout Enumerate\begin_inset Graphics filename images/tool_open.gif\end_inset Open a file\layout Enumerate\begin_inset Graphics filename images/tool_reload.gif\end_inset Reload the opened file\layout Enumerate\begin_inset Graphics filename images/tool_run.gif\end_inset Run the program\layout Enumerate\begin_inset Graphics filename images/tool_step.gif\end_inset
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -