📄 runtime.h
字号:
EXTRN GETASCIICOMM DeviceGetAsciiComm;
EXTRN SETASCIICOMM DeviceSetAsciiComm;
EXTRN GETLOCATION DeviceGetPmacLocation;
EXTRN GETENUMERATION DeviceGetPmacEnumeration;
EXTRN GETERROR DeviceGetError;
EXTRN DOWNLOADA DeviceDownload;
EXTRN DOWNLOAD_SHOWPROGRESS DeviceDownloadProgress;
EXTRN DOWNLOADTHREADA DeviceDownloadThread;
EXTRN INTRSETUPMASK DeviceINTRSetupMask;
EXTRN INTRTERMINATE DeviceINTRTerminate;
EXTRN INTRWNDMSGINIT DeviceINTRWndMsgInit;
EXTRN INTRFUNCCALLINIT DeviceINTRFuncCallInit;
EXTRN LOCKPMAC DeviceLock;
EXTRN RELEASEPMAC DeviceRelease;
EXTRN SETCRITICALIVARS DeviceSetCriticalIVars;
EXTRN GETVARIABLESTRA DeviceGetVariableStr;
EXTRN GETVARIABLELONG DeviceGetVariableLong;
EXTRN GETVARIABLEDOUBLE DeviceGetVariableDouble;
EXTRN GETIVARIABLELONG DeviceGetIVariableLong;
EXTRN SETIVARIABLELONG DeviceSetIVariableLong;
EXTRN GETIVARIABLEDOUBLE DeviceGetIVariableDouble;
EXTRN SETIVARIABLEDOUBLE DeviceSetIVariableDouble;
EXTRN GETUSERHANDLE DeviceGetUserHandle;
EXTRN SZLOADSTRINGA DeviceLoadString;
EXTRN INBOOTSTRAP DeviceInBootStrapMode;
EXTRN GETBUFFERA DeviceGetBuffer;
EXTRN PMACCONFIGURE DevicePmacConfigure;
EXTRN TESTDPRAM DeviceTestDPRAM;
EXTRN GETPMACTYPE DeviceGetPmacType;
EXTRN TESTDPRABORT DeviceTestDPRAMAbort;
EXTRN SERDOCHECKSUMS DeviceSERDoChecksums;
EXTRN SERCHECKSENDLINEA DeviceSERCheckSendLineA;
EXTRN SERCHECKGETLINEA DeviceSERCheckGetLineA;
EXTRN SERCHECKRESPONSEA DeviceSERCheckResponseA;
EXTRN SERCHECKALLWENTWELL DeviceSERCheckAllWentWell;
EXTRN PMACISTURBO DevicePmacIsTurbo;
// Binary Rotary Buffer
EXTRN DPRROTBUFINIT DeviceDPRRotBufInit;
EXTRN DPRROTBUF DeviceDPRRotBuf;
EXTRN DPRBUFLAST DeviceDPRBufLast;
EXTRN DPRROTBUFREMOVE DeviceDPRRotBufRemove;
EXTRN DPRROTBUFCHANGE DeviceDPRRotBufChange;
EXTRN DPRASCIISTRTOROTA DeviceDPRAsciiStrToRot;
EXTRN DPRASCIISTRTOROTEX DeviceDPRAsciiStrToRotEx;
EXTRN DPRREALTIME DeviceDPRRealTime;
EXTRN DPRSETHOSTBUSYBIT DeviceDPRSetHostBusyBit;
EXTRN DPRGETHOSTBUSYBIT DeviceDPRGetHostBusyBit;
EXTRN DPRGETPMACBUSYBIT DeviceDPRGetPMACBusyBit;
EXTRN DPRGETSERVOTIMER DeviceDPRGetServoTimer;
EXTRN DPRSETMOTORS DeviceDPRSetMotors;
EXTRN DPRGETCOMMANDEDPOS DeviceDPRGetCommandedPos;
EXTRN DPRPOSITION DeviceDPRPosition;
EXTRN DPRNETACTUALPOSITION DeviceDPRNetActualPosition;
EXTRN DPRFOLLOWERROR DeviceDPRFollowError;
EXTRN DPRGETVEL DeviceDPRGetVel;
EXTRN DPRGETMASTERPOS DeviceDPRGetMasterPos;
EXTRN DPRGETCOMPENSATIONPOS DeviceDPRGetCompensationPos;
EXTRN DPRGETPREVDAC DeviceDPRGetPrevDAC;
EXTRN DPRGETMOVETIME DeviceDPRGetMoveTime;
EXTRN DPRAVAILABLE DeviceDPRAvailable;
// EXTRN DPRGETPTR DeviceDPRGetPtr;
EXTRN RESTORELINKLIST DeviceRestoreLinkList;
EXTRN GETUSRESPONSE DeviceGetUSResponse;
EXTRN USREADREADY DeviceUSReadReady;
EXTRN STOREUSRESPONSE DeviceStoreUSResponse;
EXTRN CHANGEGET DeviceChangeGet;
EXTRN CHANGEREADREADY DeviceChangeReadReady;
EXTRN CHANGESTORE DeviceChangeStore;
EXTRN MAPDEVICENUMTOENUANDLOC DeviceMapDeviceNumToEnumAndLocation;
EXTRN MAPLOCANDENUMFROMDEVICENUM DeviceMapLocAndEnumFromDeviceNum;
EXTRN DEVICESHUTDOWNPMAC DeviceShutdownPmac;
EXTRN DPRROTBUFCLEAR DeviceDPRRotBufClear;
EXTRN DPRROTBUFPUT DeviceDPRRotBufPut;
EXTRN SETMAXDOWNLOADERRORS DeviceSetMaxDownloadErrors;
EXTRN ABORTDOWNLOAD DeviceAbortDownload;
// Turbo Specific
// EXTRN DPRRESETDATAREADYBIT DeviceDPRResetDataReadyBit;
// EXTRN DPRGETDATAREADYBIT DeviceDPRGetDataReadyBit;
EXTRN DPRUPDATEREALTIME DeviceDPRUpdateRealtime;
//EXTRN DPRREALTIMETURBO DeviceDPRRealTimeTurbo;
//EXTRN DPRREALTIMESETMOTORMASK DeviceDPRRealTimeSetMotorMask;
EXTRN DPRREALTIMESETMOTOR DeviceDPRRealTimeSetMotor;
EXTRN DPRREALTIMEEX DeviceDPRRealTimeEx;
EXTRN DPRMOTORSERVOSTATUSTURBO DeviceDPRMotorServoStatusTurbo;
EXTRN DPRGETTARGETPOS DeviceDPRGetTargetPos;
EXTRN DPRGETBIASPOS DeviceDPRGetBiasPos;
EXTRN DPRPE DeviceDPRPe;
EXTRN DPRTIMEREMINMOVE DeviceDPRTimeRemainingInMove;
EXTRN DPRTIMEREMINTATS DeviceTimeRemInTATS;
EXTRN DPRPROGREMAINING DeviceDPRProgRemaining;
EXTRN DPRCOMMANDED DeviceDPRCommanded;
// background buffer commands
EXTRN DPRVARBUFINIT DeviceDPRVarBufInit;
EXTRN DPRVARBUFINITEX DeviceDPRVarBufInitEx;
EXTRN DPRVARBUFREMOVE DeviceDPRVarBufRemove;
EXTRN DPRVARBUFCHANGE DeviceDPRVarBufChange;
EXTRN DPRVARBUFCHANGEEX DeviceDPRVarBufChangeEx;
EXTRN DPRBACKGROUND DeviceDPRBackground;
EXTRN DPRBACKGROUNDEX DeviceDPRBackgroundEx;
EXTRN DPRBACKGROUNDVAR DeviceDPRBackGroundVar;
EXTRN DPRWRITEBUFFER DeviceDPRWriteBuffer;
EXTRN DPRWRITEBUFFEREX DeviceDPRWriteBufferEx;
EXTRN DPRGETVBGSERVOTIMER DeviceDPRGetVBGServoTimer;
EXTRN DPRVELOCITY DeviceDPRVelocity;
EXTRN DPRVARBUFREAD DeviceDPRVarBufRead;
EXTRN DPRVARBUFREADEX DeviceDPRVarBufReadEx;
EXTRN GETPLCSTATUS DeviceGetPlcStatus;
EXTRN ISANYPLCRUNNING DeviceIsAnyPLCRunning;
EXTRN GETROMDATEA DeviceGetRomDate;
EXTRN GETROMVERSIONA DeviceGetRomVersion;
EXTRN GETERRORSTRA DeviceGetErrorStr;
EXTRN MULTIDOWNLOADA DeviceMultiDownload;
EXTRN ADDDOWNLOADFILEA DeviceAddDownloadFile;
EXTRN REMOVEDOWNLOADFILEA DeviceRemoveDownloadFile;
EXTRN RENUMBERFILESA DeviceRenumberFiles;
EXTRN DOWNLOADFIRMWAREFILE DeviceLoadFirmwareFile;
EXTRN SERGETPORT DeviceSERGetPort;
// EXTRN SERSETPORT DeviceSERSetPort;
EXTRN SERGETBAUDRATE DeviceSERGetBaudrate;
// EXTRN SERSETBAUDRATE DeviceSERSetBaudrate;
EXTRN DPRGETMOTORMOTION DeviceDPRGetMotorMotion;
EXTRN DPRGETPROGRAMMODE DeviceDPRGetProgramMode;
EXTRN DPRSYSINPOSITION DeviceDPRSysInposition;
EXTRN DPRROTBUFOPEN DeviceDPRRotBufOpen;
EXTRN DPRGETFEEDRATEMODE DeviceDPRGetFeedRateMode;
EXTRN WHYMOTORNOTMOVING DeviceWhyMotorNotMoving;
EXTRN WHYMOTORNOTMOVINGSTRING DeviceWhyMotorNotMovingString;
EXTRN WHYCSNOTMOVINGSTRING DeviceWhyCsNotMovingString;
EXTRN WHYCSNOTMOVING DeviceWhyCsNotMoving;
EXTRN WHYMOTORNOTMOVINGTURBO DeviceWhyMotorNotMovingTURBO;
EXTRN WHYMOTORNOTMOVINGSTRINGTURBO DeviceWhyMotorNotMovingStringTURBO;
EXTRN WHYCSNOTMOVINGSTRINGTURBO DeviceWhyCsNotMovingStringTURBO;
EXTRN WHYCSNOTMOVINGTURBO DeviceWhyCsNotMovingTURBO;
EXTRN GETBITVALUE DeviceGetBitValue;
EXTRN HEXLONG2 DeviceHexLong2;
EXTRN INBUFFEREDMODE DeviceInBufferedMode;
// Numeric read/write functions
// Standard
EXTRN DPRGETWORD DeviceDPRGetWord;
EXTRN DPRSETWORD DeviceDPRSetWord;
EXTRN DPRGETDWORD DeviceDPRGetDWord;
EXTRN DPRSETDWORD DeviceDPRSetDWord;
EXTRN DPRGETFLOAT DeviceDPRGetFloat;
EXTRN DPRSETFLOAT DeviceDPRSetFloat;
EXTRN PMACDPRSETMEM DeviceDPRSetMem;
EXTRN PMACDPRGETMEM DeviceDPRGetMem;
// Masking
EXTRN DPRDWORDBITSET DeviceDPRDWordBitSet;
EXTRN DPRSETDWORDBIT DeviceDPRSetDWordBit;
EXTRN DPRRESETDWORDBIT DeviceDPRResetDWordBit;
EXTRN DPRSETDWORDMASK DeviceDPRSetDWordMask;
EXTRN DPRGETDWORDMASK DeviceDPRGetDWordMask;
EXTRN DPRFLOAT DeviceDPRFloat;
EXTRN DPRLFIXED DeviceDPRLFixed;
EXTRN DPRADDRESSRANGE DeviceDPRAddressRange;
// Control Panel
EXTRN DPRCONTROLPANEL DeviceDPRControlPanel;
EXTRN DPRSETJOGPOSBIT DeviceDPRSetJogPosBit;
EXTRN DPRGETJOGPOSBIT DeviceDPRGetJogPosBit;
EXTRN DPRSETJOGNEGBIT DeviceDPRSetJogNegBit;
EXTRN DPRGETJOGNEGBIT DeviceDPRGetJogNegBit;
EXTRN DPRSETJOGRETURNBIT DeviceDPRSetJogReturnBit;
EXTRN DPRGETJOGRETURNBIT DeviceDPRGetJogReturnBit;
EXTRN DPRSETRUNBIT DeviceDPRSetRunBit;
EXTRN DPRGETRUNBIT DeviceDPRGetRunBit;
EXTRN DPRSETSTOPBIT DeviceDPRSetStopBit;
EXTRN DPRGETSTOPBIT DeviceDPRGetStopBit;
EXTRN DPRSETHOMEBIT DeviceDPRSetHomeBit;
EXTRN DPRGETHOMEBIT DeviceDPRGetHomeBit;
EXTRN DPRSETHOLDBIT DeviceDPRSetHoldBit;
EXTRN DPRGETHOLDBIT DeviceDPRGetHoldBit;
EXTRN DPRGETSTEPBIT DeviceDPRGetStepBit;
EXTRN DPRSETSTEPBIT DeviceDPRSetStepBit;
EXTRN DPRGETREQUESTBIT DeviceDPRGetRequestBit;
EXTRN DPRSETREQUESTBIT DeviceDPRSetRequestBit;
EXTRN DPRGETFOENABLEBIT DeviceDPRGetFOEnableBit;
EXTRN DPRSETFOENABLEBIT DeviceDPRSetFOEnableBit;
EXTRN DPRSETFOVALUE DeviceDPRSetFOValue;
EXTRN DPRGETFOVALUE DeviceDPRGetFOValue;
// Data Gathering
EXTRN GETGATHERSAMPLES DeviceGetGatherSamples;
EXTRN GETGATHERPERIOD DeviceGetGatherPeriod;
EXTRN GETGATHERSAMPLETIME DeviceGetGatherSampleTime;
EXTRN SETGATHERSAMPLETIME DeviceSetGatherSampleTime;
EXTRN GETNUMGATHERSOURCES DeviceGetNumGatherSources;
EXTRN GETNUMGATHERSAMPLES DeviceGetNumGatherSamples;
EXTRN SETGATHERPERIOD DeviceSetGatherPeriod;
EXTRN SETGATHERENABLE DeviceSetGatherEnable;
EXTRN GETGATHERENABLE DeviceGetGatherEnable;
EXTRN SETCURRENTGATHER DeviceSetCurrentGather;
EXTRN SETGATHER DeviceSetGather;
EXTRN SETQUICKGATHER DeviceSetQuickGather;
EXTRN SETQUICKGATHEREX DeviceSetQuickGatherEx;
EXTRN SETQGWITHDIRECTCUR DeviceSetQGWithDirectCur;
EXTRN SETQGWITHDIRECTCUREX DeviceSetQGWithDirectCurEx;
EXTRN GETGATHER DeviceGetGather;
EXTRN CLEARGATHER DeviceClearGather;
EXTRN INITGATHER DeviceInitGather;
EXTRN CLEARGATHERDATA DeviceClearGatherData;
EXTRN COLLECTGATHERDATA DeviceCollectGatherData;
EXTRN GETGATHERPOINT DeviceGetGatherPoint;
EXTRN STARTGATHER DeviceStartGather;
EXTRN STOPGATHER DeviceStopGather;
// Real time
EXTRN INITRTGATHER DeviceInitRTGather;
EXTRN CLEARRTGATHER DeviceClearRTGather;
EXTRN ADDRTGATHER DeviceAddRTGather;
EXTRN COLLECTRTGATHERDATA DeviceCollectRTGatherData;
EXTRN ULTRALIGHTANALYZE DeviceUltraLightAnalyze;
EXTRN MACROGETIVARIABLELONG DeviceMACROGetIVariableLong;
EXTRN MACROSETIVARIABLESTRING DeviceMACROSetIVariableString;
EXTRN MACROGETIVARIABLESTRING DeviceMACROGetIVariableString;
EXTRN MACROUPLOADCONFIG DeviceMACROUploadConfig;
// Turbo setup
EXTRN AMPENABLED DeviceAmpEnabled;
EXTRN AMPFAULT DeviceAmpFault;
EXTRN ONNEGATIVELIMIT DeviceOnNegativeLimit;
EXTRN ONPOSITIVELIMIT DeviceOnPositiveLimit;
EXTRN FATALFERROR DeviceFatalFError;
EXTRN FOLLOWERROR DeviceFollowError;
EXTRN PHASEDMOTOR DevicePhasedMotor;
EXTRN GETMOTORSTATUS DeviceGetMotorStatus;
EXTRN DOWNLOADGANTRYAUTOTUNINGPLC DeviceDownloadGantryAutotuningPLC;
EXTRN DOWNLOADGANTRYSTEPPLC DeviceDownloadGantryStepPLC;
EXTRN DOWNLOADGANTRYPARABOLICPLC DeviceDownloadGantryParabolicPLC;
// EXTRN VMETESTOPENPMACDEVICE DeviceVMETestOpen;
// EXTRN VMETESTCLOSEPMACDEVICE DeviceVMETestClose;
// EXTRN VMESETUP DeviceVMESetup;
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -