⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emcglb.h

📁 CNC 的开放码,EMC2 V2.2.8版
💻 H
字号:
/********************************************************************* Description: emcglb.h*   Declarations for globals found in emcglb.c**   Derived from a work by Fred Proctor & Will Shackleford** Author:* License: GPL Version 2* System: Linux*    * Copyright (c) 2004 All rights reserved.** Last change:* $Revision: 1.15.2.1 $* $Author: jepler $* $Date: 2007/11/29 03:22:48 $********************************************************************/#ifndef EMCGLB_H#define EMCGLB_H#include "config.h"             /* LINELEN */#include "math.h"		/* M_PI */#ifdef __cplusplusextern "C" {#endif#define EMC_AXIS_MAX 9#define EMC_MAX_DIO 4#define EMC_MAX_AIO 4    extern char EMC_INIFILE[LINELEN];    extern char EMC_NMLFILE[LINELEN];#define DEFAULT_RS274NGC_STARTUP_CODE ""    extern char RS274NGC_STARTUP_CODE[LINELEN];/* debug bitflags *//* Note: these may be hard-code referenced by the GUI (e.g., emcdebug.tcl).   If you change the assignments here, make sure and reflect that in   the GUI scripts that use these. Unfortunately there's no easy way to   get these into Tk automatically */    extern int EMC_DEBUG;#define EMC_DEBUG_INVALID           0x00000001#define EMC_DEBUG_CONFIG            0x00000002#define EMC_DEBUG_DEFAULTS          0x00000004#define EMC_DEBUG_VERSIONS          0x00000008#define EMC_DEBUG_TASK_ISSUE        0x00000010#define EMC_DEBUG_IO_POINTS         0x00000020#define EMC_DEBUG_NML               0x00000040#define EMC_DEBUG_MOTION_TIME       0x00000080#define EMC_DEBUG_INTERP            0x00000100#define EMC_DEBUG_RCS               0x00000200#define EMC_DEBUG_TRAJ              0x00000400#define EMC_DEBUG_INTERP_LIST       0x00000800#define EMC_DEBUG_ALL               0x7FFFFFFF	/* it's an int for %i to work 						 */    extern double EMC_TASK_CYCLE_TIME;    extern double EMC_IO_CYCLE_TIME;    extern char TOOL_TABLE_FILE[LINELEN];    extern double TRAJ_DEFAULT_VELOCITY;    extern double TRAJ_MAX_VELOCITY;    extern double AXIS_MAX_VELOCITY[EMC_AXIS_MAX];    extern double AXIS_MAX_ACCELERATION[EMC_AXIS_MAX];    extern double SPINDLE_OFF_WAIT;    extern double SPINDLE_ON_WAIT;    extern int SPINDLE_ON_INDEX;    extern double MIN_VOLTS_PER_RPM;    extern double MAX_VOLTS_PER_RPM;    extern struct EmcPose TOOL_CHANGE_POSITION;    extern unsigned char HAVE_TOOL_CHANGE_POSITION;    extern struct EmcPose TOOL_HOLDER_CLEAR;    extern unsigned char HAVE_TOOL_HOLDER_CLEAR;#define DEFAULT_EMCLOG_INCLUDE_HEADER (1)    extern int EMCLOG_INCLUDE_HEADER;/*just used to keep track of unneccessary debug printing. */    extern int taskplanopen;    extern int emcGetArgs(int argc, char *argv[]);    extern void emcInitGlobals();#ifdef __cplusplus}				/* matches extern "C" at top */#endif#endif				/* EMCGLB_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -