| | |
| | | // Jpeg, |
| | | //} |
| | | |
| | | public enum PLCReplyValue |
| | | public enum ReplyValue |
| | | { |
| | | OK = 1, |
| | | NG = -1, |
| | |
| | | [Description("相机坐标系相对运动")] |
| | | CameraRelativeMove = 12, |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 马达/运动板卡运行模式 |
| | | /// </summary> |
| | | public enum MotorMoveMode |
| | | { |
| | | /// <summary> |
| | | /// 普通点位运动 |
| | | /// </summary> |
| | | [Description("普通点位运动")] |
| | | Normal = 1, |
| | | |
| | | ///// <summary> |
| | | ///// 高速等距运动 |
| | | ///// </summary> |
| | | //[Description("高速等距运动")] |
| | | //HighSpeedStep = 2, |
| | | |
| | | ///// <summary> |
| | | ///// 高速不等距运动 |
| | | ///// </summary> |
| | | //[Description("高速不等距运动")] |
| | | //HighSpeed = 3, |
| | | |
| | | /// <summary> |
| | | /// 找正限位运动 |
| | | /// </summary> |
| | | [Description("找正限位运动")] |
| | | FindPositive = 4, |
| | | |
| | | /// <summary> |
| | | /// 离开正限位 |
| | | /// </summary> |
| | | [Description("离开正限位")] |
| | | LeavePositive = 5, |
| | | |
| | | /// <summary> |
| | | /// 找负限位运动 |
| | | /// </summary> |
| | | [Description("找负限位运动")] |
| | | FindNegative = 6, |
| | | |
| | | /// <summary> |
| | | /// 离开负限位 |
| | | /// </summary> |
| | | [Description("离开负限位")] |
| | | LeaveNegative = 7, |
| | | |
| | | /// <summary> |
| | | /// 找原点运动 |
| | | /// </summary> |
| | | [Description("找原点运动")] |
| | | FindOri = 8, |
| | | |
| | | /// <summary> |
| | | /// Jog模式 |
| | | /// </summary> |
| | | [Description("Jog模式")] |
| | | Jog = 9, |
| | | |
| | | /// <summary> |
| | | /// 读数头找原点方式 |
| | | /// </summary> |
| | | [Description("读数头找原点方式")] |
| | | FindOriIndex = 10, |
| | | |
| | | /// <summary> |
| | | /// 插补模式 |
| | | /// </summary> |
| | | [Description("插补模式")] |
| | | Coordinate = 11, |
| | | |
| | | ///// <summary> |
| | | ///// 刀向更随功能 |
| | | ///// </summary> |
| | | //[Description("刀向更随功能")] |
| | | //BufMove = 12, |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 马达IO定义类型 |
| | | /// </summary> |
| | | public enum MotorIODefine |
| | | { |
| | | Nothing, |
| | | InputStartLeft, |
| | | InputStartRight, |
| | | InputCurtainLeft, |
| | | InputCurtainRight, |
| | | InputSafeDoor, |
| | | InputEmergency, |
| | | InputReset, |
| | | InputScrew1, |
| | | InputScrew2, |
| | | InputSuckLeft, |
| | | InputSuckRight, |
| | | InputSuckXYZ, |
| | | InputCylinderLeftLimitFront, |
| | | InputCylinderLeftLimitBack, |
| | | InputCylinderRightLimitFront, |
| | | InputCylinderRightLimitBack, |
| | | |
| | | |
| | | OutputYellow, |
| | | OutputGreen, |
| | | OutputRed, |
| | | OutputBeep, |
| | | OutputLight, |
| | | OutputMotorPower, |
| | | OutputInitOK, |
| | | OutputZLock, |
| | | OutputLeftCylinder, |
| | | OutputRightCylinder, |
| | | OutputLeftSuck, |
| | | OutputRightSuck, |
| | | OutputScrewBlow, |
| | | OutputCamera, |
| | | OutputScrewSuck, |
| | | } |
| | | |
| | | /// <summary> |
| | | /// GTS运动板卡控制返回控制码 |
| | | /// </summary> |
| | | public enum GTSRetCode |
| | | { |
| | | [Description("指令执行成功")] |
| | | GRCRunOK = 0, // 指令执行成功 |
| | | [Description("指令执行错误")] |
| | | GRCRunErr = 1, // 指令执行错误 |
| | | [Description("icense不支持")] |
| | | GRCNotSupport = 2, // icense不支持 |
| | | [Description("指令参数错误")] |
| | | GRCInvalidParam = 7, // 指令参数错误 |
| | | [Description("主机和运动控制器通讯失败")] |
| | | GRCCommErr = -1, // 主机和运动控制器通讯失败 |
| | | [Description("打开控制器失败")] |
| | | GRCOpenErr = -6, // 打开控制器失败 |
| | | [Description("运动控制器没有响应")] |
| | | GRCNotAck = -7 // 运动控制器没有响应 |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 运动板卡 IO 类型(IN OUT) |
| | | /// </summary> |
| | | public enum IOType |
| | | { |
| | | [Description("In输入")] |
| | | In = 0, |
| | | [Description("Out输出")] |
| | | Out = 1 |
| | | } |
| | | } |
| | | } |