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

📄 control.h

📁 This is a CNCPro source file. It is include the G-Code interpreter source.
💻 H
字号:
void control_screen(struct soft_setup *, struct pos *,
                    struct control *, struct gcode_setup *);
   /*prints control screen graphics and all text on screen
     1st parameter -> a pointer to a software configuration structure
     2nd parameter -> a pointer to the current coordinate position
     3rd parameter -> a pointer to the control screen structure
     4th parameter -> a pointer to the g-code setup structure*/

void control_text(struct soft_setup *, struct pos *,
                  struct control *, struct gcode_setup *);
   /*prints 1st and 2nd priority text on screen
     1st parameter -> a pointer to a software configuration structure
     2nd parameter -> a pointer to the current coordinate position
     3rd parameter -> a pointer to the control screen structure
     4th parameter -> a pointer to the g-code setup structure*/

void GMTtext(struct soft_setup *, struct control *, struct gcode_setup *);
   /*prints 1st priority text on screen
     1st parameter -> a pointer to a software configuration structure
     2nd parameter -> a pointer to the control screen structure
     3rd parameter -> a pointer to the g-code setup structure*/

int limit_msg(struct hard_setup *, struct soft_setup *, struct pos *, int);
   /*shows limit switch trip message screen
     1st parameter -> a pointer to a hardware configuration structure
     2nd parameter -> a pointer to a software configuration structure
     3rd parameter -> a pointer to the current coordinate position
     4th parameter -> returned message from activating function (one of the following)
                      X_PLIMIT, Y_PLIMIT, Z_PLIMIT, A_PLIMIT, 
                      X_NLIMIT, Y_NLIMIT, Z_NLIMIT, or A_NLIMIT*/

void estop_msg(void);
   /*shows emergency stop trip message screen*/

void message(char *);
   /*displays a message in the message window
     1st parameter -> message to be shown*/

void move_menu(int);
   /*displays move menu
     1st parameter -> which menu*/

int check_key(char *, char *);
   /*checks disk key and returns status
     1st parameter -> user name
     2st parameter -> license number*/

double get_var(double, double, int);

⌨️ 快捷键说明

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