| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 马达IO定义类型 |
| | | /// IO预定义类型 主要针对输出 |
| | | /// </summary> |
| | | public enum MotorIODefine |
| | | public enum IOPrestatement |
| | | { |
| | | Nothing, |
| | | InputStartLeft, |
| | | InputStartRight, |
| | | InputCurtainLeft, |
| | | InputCurtainRight, |
| | | InputSafeDoor, |
| | | InputEmergency, |
| | | InputReset, |
| | | InputScrew1, |
| | | InputScrew2, |
| | | InputSuckLeft, |
| | | InputSuckRight, |
| | | InputSuckXYZ, |
| | | InputCylinderLeftLimitFront, |
| | | InputCylinderLeftLimitBack, |
| | | InputCylinderRightLimitFront, |
| | | InputCylinderRightLimitBack, |
| | | [Description("自定义")] |
| | | Customized = 0, |
| | | |
| | | [Description("指示灯-黄")] |
| | | Light_Yellow = 1, |
| | | [Description("指示灯-红")] |
| | | Light_Green = 2, |
| | | [Description("指示灯-绿")] |
| | | Light_Red = 3, |
| | | [Description("蜂鸣器")] |
| | | Beep = 4, |
| | | [Description("照明灯")] |
| | | Light = 5, |
| | | |
| | | OutputYellow, |
| | | OutputGreen, |
| | | OutputRed, |
| | | OutputBeep, |
| | | OutputLight, |
| | | OutputMotorPower, |
| | | OutputInitOK, |
| | | OutputZLock, |
| | | OutputLeftCylinder, |
| | | OutputRightCylinder, |
| | | OutputLeftSuck, |
| | | OutputRightSuck, |
| | | OutputScrewBlow, |
| | | OutputCamera, |
| | | OutputScrewSuck, |
| | | [Description("急停")] |
| | | EmergencyStop = 99, |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 运动板卡 IO 类型(IN OUT) |
| | | /// </summary> |
| | | public enum IOModel |
| | | public enum IOType |
| | | { |
| | | [Description("In输入")] |
| | | In = 0, |
| | | [Description("Out输出")] |
| | | Out = 1 |
| | | [Description("INPUT")] |
| | | INPUT = 0, |
| | | [Description("OUTPUT")] |
| | | OUTPUT = 1 |
| | | } |
| | | } |
| | | } |