control.h

来自「This is a CNCPro source file. It is incl」· C头文件 代码 · 共 49 行

H
49
字号
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 + =
减小字号Ctrl + -
显示快捷键?