|
- using BPASmartClient.FoodStationTest.Model.GVL;
-
- namespace BPASmartClient.FoodStationTest.Model.HK_PLC
- {
- public class PlcReadAddressDB3
- {
- [VarComm("DB3.DBX0.0", "心跳")]
- public bool HeartBeat { get; set; }
-
- [VarComm("DB3.DBX0.1", "机器人自动运行模式")]
- public bool RobotAutoRunMode { get; set; }
-
- [VarComm("DB3.DBX0.2", "机器人正在自动运行")]
- public bool RobotAutoRunning { get; set; }
-
- [VarComm("DB3.DBX0.3", "机器人停止运行")]
- public bool RobotStopped { get; set; }
-
- [VarComm("DB3.DBX0.4", "机器人正常运行")]
- public bool RobotRunning { get; set; }
-
- [VarComm("DB3.DBX0.5", "机器人运行故障")]
- public bool RobotAlarm { get; set; }
-
- [VarComm("DB3.DBX0.6", "机器人在Home点")]
- public bool RobotInHomed { get; set; }
-
- [VarComm("DB3.DBX1.0", "机器人执行程序号")]
- public byte RobotRunProgram { get; set; }
-
- [VarComm("DB3.DBX2.0", "Plc允许工单下发")]
- public bool[] RecipeAllowIssue { get; set; } = new bool[16];
-
- [VarComm("DB3.DBX4.0", "Plc工单接收完成")]
- public bool[] RecipeReceviceComple { get; set; } = new bool[16];
-
- [VarComm("DB3.DBX6.0", "工单配料完成")]
- public bool[] RecipeDosingComple { get; set; } = new bool[16];
-
- [VarComm("DB3.DBX8.0", "允许单个料仓下料")]
- public bool[] StockBinAllowIssue { get; set; } = new bool[16];
-
- [VarComm("DB3.DBW10", "配方1桶位置反馈")]
- public ushort[] Recipe1BarrelPosReserve { get; set; } = new ushort[3];
-
- [VarComm("DB3.DBW16", "配方2桶位置反馈")]
- public ushort[] Recipe2BarrelPosReserve { get; set; } = new ushort[3];
-
- [VarComm("DB3.DBW22", "配方3桶位置反馈")]
- public ushort[] Recipe3BarrelPosReserve { get; set; } = new ushort[3];
-
- [VarComm("DB3.DBW28", "配方4桶位置反馈")]
- public ushort[] Recipe4BarrelPosReserve { get; set; } = new ushort[3];
-
- [VarComm("DB3.DBW34", "配方5桶位置反馈")]
- public ushort[] Recipe5BarrelPosReserve { get; set; } = new ushort[3];
-
- [VarComm("DB3.DBX40.0", "工站1有无托盘")]
- public bool Station1HaveTray { get; set; }
-
- [VarComm("DB3.DBX40.1", "工站1传感器信号")]
- public bool Station1Sensor { get; set; }
-
- [VarComm("DB3.DBX40.2", "工站1气缸信号")]
- public bool Station1Cylinder { get; set; }
-
- [VarComm("DB3.DBX100.7", "机器人抓空桶完成")]
- public bool RobotTakeEmptyBarrelFinish { get; set; }
-
- [VarComm("DB3.DBX101.0", "机器人放空桶完成")]
- public bool RobotPutEmptyBarrelFinish { get; set; }
-
- [VarComm("DB3.DBX101.1", "机器人抓满桶完成")]
- public bool RobotTakeFullBarrelFinish { get; set; }
-
- [VarComm("DB3.DBX101.2", "机器人放满桶完成")]
- public bool RobotPutFullBarrelFinish { get; set; }
-
- }
- }
|