資源簡介
C#寫的運動控制板卡點膠機源碼
C#寫的運動控制板卡,點膠機不帶視覺。開發不易,進群RMB100,有需要進群330632489
代碼片段和文件信息
using?System.Runtime.InteropServices;
namespace?gts
{
????public?class?mc_cfg
{
public?const?short?RES_LIMIT?=?8;
public?const?short?RES_ALARM?=?8;
public?const?short?RES_HOME?=?8;
public?const?short?RES_GPI?=?16;
public?const?short?RES_ARRIVE?=?8;
public?const?short?RES_MPG?=?7;
public?const?short?RES_ENABLE?=?8;
public?const?short?RES_CLEAR?=?8;
public?const?short?RES_GPO?=?16;
public?const?short?RES_DAC?=?12;
public?const?short?RES_STEP?=?8;
public?const?short?RES_PULSE?=?8;
public?const?short?RES_ENCODER?=?11;
public?const?short?RES_LASER?=?2;??
public?const?short?AXIS_MAX?=?8;
public?const?short?PROFILE_MAX?=?8;
public?const?short?CONTROL_MAX?=?8;
public?const?short?PRF_MAP_MAX?=?2;
public?const?short?ENC_MAP_MAX?=?2;
public?const?short?STEP_DIR?=?0;
public?const?short?STEP_PULSE?=?1;
public?const?short?CRD_BUF_DATA_NULL?=?0;
public?struct?TDiConfig
{
????????????????public?short?active;
????????????????public?short?reverse;
????????????????public?short?filterTime;
}
public?struct?TCountConfig
{
????????????????public?short?active;
????????????????public?short?reverse;
????????????????public?short?filterType;
????????????????public?short?captureSource;
????????????????public?short?captureHomeSense;
????????????????public?short?captureIndexSense;
}
public?struct?TDoConfig
{
????????????????public?short?active;
????????????????public?short?axis;
????????????????public?short?axisItem;
????????????????public?short?reverse;
}
public?struct?TStepConfig
{
????????????????public?short?active;
????????????????public?short?axis;
????????????????public?short?mode;
????????????????public?short?parameter;
????????????????public?short?reverse;
}
public?struct?TDacConfig
{
????????????????public?short?active;
????????????????public?short?control;
????????????????public?short?reverse;
????????????????public?short?bias;
????????????????public?short?limit;
}
public?struct?TControlConfig
{
????????????????public?short?active;
????????????????public?short?axis;
????????????????public?short?encoder1;
????????????????public?short?encoder2;
????????????????public?long?errorLimit;
????????????????public?short?filterType1;
????????????????public?short?filterType2;
????????????????public?short?filterType3;
????????????????public?short?encoderSmooth;
????????????????public?short?controlSmooth;
}
public?struct?TProfileConfig
{
????????????????public?short?active;
????????????????public?double?decSmoothStop;
????????????????public?double?decAbruptStop;
}
public?struct?TAxisConfig
{
????????????????public?short?active;
????????????????public?short?alarmType;
????????????????public?short?alarmIndex;
????????????????public?short?limitPositiveType;
????????????????public?short?limitPositiveIndex;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????26960??2018-08-28?20:42??Debug\config.cs
?????文件??????76813??2019-06-19?00:08??Debug\gts.cs
?????文件?????624128??2019-12-27?17:49??Debug\gts.dll
?????文件??????10693??2022-03-07?09:32??Debug\GTS400.cfg
?????文件??????11260??2022-03-04?17:37??Debug\GTS400新配置文件.cfg
?????文件?????286208??2022-03-09?18:24??Debug\GTSCard.exe
?????文件????????163??2022-03-04?15:05??Debug\GTSCard.exe.config
?????文件?????214528??2022-03-09?18:24??Debug\GTSCard.pdb
?????文件??????11600??2020-01-12?23:31??Debug\GTSCard.vshost.exe
?????文件????????490??2015-06-04?12:48??Debug\GTSCard.vshost.exe.manifest
?????文件?????268288??2019-12-27?17:49??Debug\LAFunc.dll
?????文件??????31258??2018-08-28?20:42??Debug\LookAheadEx.cs
?????文件?????104448??2018-08-28?20:43??Debug\PIFunc.dll
?????文件??????28672??2019-12-27?17:49??Debug\VFunc.dll
?????目錄??????????0??2022-03-08?16:36??Debug
-----------?---------??----------?-----??----
??????????????1695509????????????????????15
- 上一篇:自己寫的C#左側導航框架
- 下一篇:VS2019圖書管理系統-C#
評論
共有 條評論