📄 502daefaae5f001d1289bbda6de18a35
字号:
/*$Log:**** Rev /main/NC_V0_integration/4** Date: Jun 16 11:52:2 2008 abdeaity** example f?r get and set Networkseting**** Rev /main/NC_V0_integration/3** Date: May 21 16:1:56 2008 abdeaity** :New FKeys for CIL Editor**** Rev /main/NC_V0_integration/2** Date: Apr 17 17:26:13 2008 abdeaity** neue fkeys**** Rev /main/NC_V0_integration/1** Date: Nov 1 16:18:36 2007 rg91er** neue Datei*//*** ---------------------------------------------------------------------** Copyright (c) Bosch Rexroth AG 1997 - 2007** All Rights Reserved** ---------------------------------------------------------------------**** File: dab_h_fkeys.c** ** Responsible: AB** ** Description of functions: ** ** ---------------------------------------------------------------------*//*======================================================================** >>>> C - Standard Headerfiles <<<<** ==================================================================== */#ifdef HWDS_WINDOWS #include <windows.h> /* required for all Windows applications*/#endif/*======================================================================** >>>> General definitions for c-files <<<<** these lines are generated automatically , do not modify !** ==================================================================== */#include <ty3c_mac.h>/*F*//*======================================================================** >>>> MTX - Headerfiles <<<<** ==================================================================== *//*======================================================================** >>>> Headerfiles of the subsystem <<<<** ==================================================================== */#ifndef DAB_H_MENUIF_INCLUDED#include "dab_h_menuif.h"#endif#ifndef DAB_H_DIREXP_IF_INCLUDED#include "dab_h_direxp_if.h"#endif#ifndef DAB_H_GETMACPAR_INCLUDED#include "dab_h_getmacpar.h"#endif#ifndef DAB_H_NCEDITOR_INCLUDED#include "dab_h_nceditor.h"#endif#ifndef DAB_H_WEA_IF_INCLUDED#include "dab_h_wea_if.h"#endif#ifndef DAB_H_AXIS_IF_INCLUDED#include "dab_h_axis_if.h"#endif#ifndef DAB_H_TMANAGER_INCLUDED#include "dab_h_tmanager.h"#endif#ifndef DAB_H_FKEYS_INCLUDED#include "dab_h_fkeys.h"#endif#ifndef DAB_H_MNTNANCE_INCLUDED#include "dab_h_mntnance.h"#endif#include "dab_h_cpl.h"/*F*//*======================================================================** >>>> Local definitions <<<<** ==================================================================== */EXPORT void FKey_BigView(void){ ChangeSysMenueto(MO_MACHINE_SM_CONTROL_ME_BIGVIEW); } EXPORT void FKey_GlobView(void){ ChangeSysMenueto(MO_MACHINE_SM_CONTROL_ME_GLOBALVIEW);}/*F*//*************************************************************************** >AUTHOR : AB** FUNCTION NAME : FKey_LoadNCProg** ** >DESCRIPTION: Example about how to call a funktion as callback** to get the Axis values** ** >NOTES:** ** >PARAMETER: ** ** >RETURN VALUE:** ** >INCLUDES:** */EXPORT void FKey_LoadNCProg(void){ Dab_h_LoadNcProg(); } /*OF FKey_LoadNCProg *//*F*//************************************************************************** >AUTHOR : AB** FUNCTION NAME : FKey_RunNCProg** ** >DESCRIPTION: Example about how to call a funktion as callback** to choose a Nc program** ** >NOTES:** ** >PARAMETER: ** ** >RETURN VALUE:** ** >INCLUDES:** */EXPORT void FKey_RunNCProg(void){ Dab_h_RunNcProg(); } /* OF FKey_RunNCProg *//*F*//*************************************************************************** >AUTHOR : AB** FUNCTION NAME : FKey_ClearNcProg** ** >DESCRIPTION: Example about how to call a funktion as callback** to clear exist NC Programm in channel** ** >NOTES:** ** >PARAMETER: ** ** >RETURN VALUE:** ** >INCLUDES:** */EXPORT void FKey_ClearNcProg(void){ Dab_h_CLRNcProg();} /* OF FKey_ClearNcProg *//*F*//*************************************************************************** >AUTHOR : AB** FUNCTION NAME : FKey_DelAllWERA** ** >DESCRIPTION: Example about how to call a funktion as callback** to delet all System Warnings Errors and Annoucements** ** >NOTES: ** ** >PARAMETER:** ** >RETURN VALUE: void** ** >INCLUDES: ** */EXPORT void FKey_DelAllWERA(void){ Dab_h_DeleteErrors ();} /*OF FKey_DelAllWERA *//*F*//*************************************************************************** >AUTHOR : AB** FUNCTION NAME : FKey_SaveFile** ** >DESCRIPTION: ** ** >NOTES: ** ** >PARAMETER:** ** >RETURN VALUE: void** ** >INCLUDES: ** */EXPORT void FKey_SaveFile(void){ dab_h_TestSaveFile();} /* OF FKey_SaveFile *//*F*//*************************************************************************** >AUTHOR : AB** FUNCTION NAME :FKey_ChangeLanguage** ** >DESCRIPTION: Example about how to call a funktion as callback** to change the system language** ** >NOTES: ** ** >PARAMETER:** ** >RETURN VALUE: void** ** >INCLUDES:** */EXPORT void FKey_ChangeLanguage(void){ Dab_h_ChangeLanguage();} /* OF FKey_OpenFile */EXPORT void FKey_BackToProg(void){ ChangeSysMenueto(MO_PROGRAM_SM_EXPLORER_ME_MAIN);}EXPORT void FKey_BackToMachine(void){ ChangeSysMenueto(MO_MACHINE_SM_CONTROL_ME_GLOBALVIEW);}EXPORT void FKey_BackToMain(void){ ChangeSysMenueto(MO_MAINTENANCE_SM_TEST1_ME_MAIN);}EXPORT void FKey_DisplayOsiloscope(void){ ChangeSysMenueto(MO_MAINTENANCE_SM_TEST1_ME_OSC);} EXPORT void FKey_DisplayToolTable(void){ ChangeSysMenueto(MO_MAINTENANCE_SM_TEST1_ME_TOOLTABLE); Dab_h_GetToollist();}EXPORT void FKey_OpenExplorer(void){ ChangeSysMenueto(MO_MACHINE_SM_CONTROL_ME_SELECTPRO);} EXPORT void FKey_SelectProgram(void){ Dab_h_LoadNcProg();} EXPORT void FKey_EditFile(void){ ChangeSysMenueto(MO_PROGRAM_SM_EXPLORER_ME_EDIT); dab_h_TestOpenFile();}EXPORT void FKey_Backup(void){ Dab_h_CloneMaschine();}EXPORT void FKey_CloneMachine(void){ Dab_h_CloneMaschine();}EXPORT void FKey_RestoreMachine(void){ Dab_h_RestoreMaschine();}EXPORT void FKey_DisplayPLCEditor(void){ ChangeSysMenueto(MO_MAINTENANCE_SM_PLC); Dab_h_GetPouNumber(); Dab_h_GetBootApplicationName(); }EXPORT void FKey_DisplayArchiveScreen(void){ ChangeSysMenueto(MO_MAINTENANCE_SM_ARCHIVE);}EXPORT void FKey_ReadPou(void){ Dab_h_ReadPou();}EXPORT void FKey_CompilePou(void){ Dab_h_CompilePou();}EXPORT void FKey_CleareCILEDITOR(void){Dab_h_CleareCilDisplay();}/*Jiang CIL Example */EXPORT void FKey_GetPOU(void)
{ Dab_h_ReadPOUInfo(); } EXPORT void FKey_GetValue(void){ Dab_h_GetMonitorValue(); } EXPORT void FKey_FreeCompiled(void){ Dab_h_FreeCompliedCode(); }/*End of Jiang Example*//*Jinang CPL Example*/EXPORT void FKey_ModeSelect(void){ } EXPORT void FKey_NcStart(void) { }EXPORT void FKey_AddWatch(void){ } EXPORT void FKey_DelWatch(void){} /*End of Jiang Example*//*EXPORT void FKey_GetNetworkConfig(void){ Dab_h_GetNetworkConfig();}EXPORT void FKey_SetNetworkConfig(void){ Dab_h_SetNetworkConfig();}*//*F*//*======================================================================** detailed documentation of the history** of this file. the numbers of the paragraphs must correspond** to the numbers of the history-comments within the fileheader**----------------------------------------------------------------------*//* ausgecheckte Revision: /main/NC_V0_integration/1** Autor: abdeaity Datum: Apr 17 2008** eingecheckte Revision: /main/NC_V0_integration/2** Date: Apr 17 17:26:13 2008** CQ-Pr: ** Pflichtenheft-Nr/Name: ** Kommentar: Neue F keys** ---------------------------------------------------------------------*//* ausgecheckte Revision: /main/NC_V0_integration/2** Autor: abdeaity Datum: May 20 2008** eingecheckte Revision: /main/NC_V0_integration/3** Date: May 21 16:1:56 2008** CQ-Pr: ** Pflichtenheft-Nr/Name: ** Kommentar:New FKeys for CIL Editor ** ---------------------------------------------------------------------*//* ausgecheckte Revision: /main/NC_V0_integration/3** Autor: abdeaity Datum: Jun 13 2008** eingecheckte Revision: /main/NC_V0_integration/4** Date: Jun 16 11:52:2 2008** CQ-Pr: ** Pflichtenheft-Nr/Name: ** Kommentar: 2 function for testing Networkconfig (get and set)** ---------------------------------------------------------------------*//* ausgecheckte Revision: /main/NC_V0_integration/4** Autor: abdeaity Datum: Jun 26 2008** eingecheckte $Revision$ $Date$** CQ-Pr: ** Pflichtenheft-Nr/Name: ** Kommentar: Added Jian CIL example** ---------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -