终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

81 lines
2.9 KiB

  1. using BPASmartClient.FoodStationTest.Model.GVL;
  2. namespace BPASmartClient.FoodStationTest.Model.HK_PLC
  3. {
  4. public class PlcReadAddressDB3
  5. {
  6. [VarComm("DB3.DBX0.0", "心跳")]
  7. public bool HeartBeat { get; set; }
  8. [VarComm("DB3.DBX0.1", "机器人自动运行模式")]
  9. public bool RobotAutoRunMode { get; set; }
  10. [VarComm("DB3.DBX0.2", "机器人正在自动运行")]
  11. public bool RobotAutoRunning { get; set; }
  12. [VarComm("DB3.DBX0.3", "机器人停止运行")]
  13. public bool RobotStopped { get; set; }
  14. [VarComm("DB3.DBX0.4", "机器人正常运行")]
  15. public bool RobotRunning { get; set; }
  16. [VarComm("DB3.DBX0.5", "机器人运行故障")]
  17. public bool RobotAlarm { get; set; }
  18. [VarComm("DB3.DBX0.6", "机器人在Home点")]
  19. public bool RobotInHomed { get; set; }
  20. [VarComm("DB3.DBX1.0", "机器人执行程序号")]
  21. public byte RobotRunProgram { get; set; }
  22. [VarComm("DB3.DBX2.0", "Plc允许工单下发")]
  23. public bool[] RecipeAllowIssue { get; set; } = new bool[16];
  24. [VarComm("DB3.DBX4.0", "Plc工单接收完成")]
  25. public bool[] RecipeReceviceComple { get; set; } = new bool[16];
  26. [VarComm("DB3.DBX6.0", "工单配料完成")]
  27. public bool[] RecipeDosingComple { get; set; } = new bool[16];
  28. [VarComm("DB3.DBX8.0", "允许单个料仓下料")]
  29. public bool[] StockBinAllowIssue { get; set; } = new bool[16];
  30. [VarComm("DB3.DBW10", "配方1桶位置反馈")]
  31. public ushort[] Recipe1BarrelPosReserve { get; set; } = new ushort[3];
  32. [VarComm("DB3.DBW16", "配方2桶位置反馈")]
  33. public ushort[] Recipe2BarrelPosReserve { get; set; } = new ushort[3];
  34. [VarComm("DB3.DBW22", "配方3桶位置反馈")]
  35. public ushort[] Recipe3BarrelPosReserve { get; set; } = new ushort[3];
  36. [VarComm("DB3.DBW28", "配方4桶位置反馈")]
  37. public ushort[] Recipe4BarrelPosReserve { get; set; } = new ushort[3];
  38. [VarComm("DB3.DBW34", "配方5桶位置反馈")]
  39. public ushort[] Recipe5BarrelPosReserve { get; set; } = new ushort[3];
  40. [VarComm("DB3.DBX40.0", "工站1有无托盘")]
  41. public bool Station1HaveTray { get; set; }
  42. [VarComm("DB3.DBX40.1", "工站1传感器信号")]
  43. public bool Station1Sensor { get; set; }
  44. [VarComm("DB3.DBX40.2", "工站1气缸信号")]
  45. public bool Station1Cylinder { get; set; }
  46. [VarComm("DB3.DBX100.7", "机器人抓空桶完成")]
  47. public bool RobotTakeEmptyBarrelFinish { get; set; }
  48. [VarComm("DB3.DBX101.0", "机器人放空桶完成")]
  49. public bool RobotPutEmptyBarrelFinish { get; set; }
  50. [VarComm("DB3.DBX101.1", "机器人抓满桶完成")]
  51. public bool RobotTakeFullBarrelFinish { get; set; }
  52. [VarComm("DB3.DBX101.2", "机器人放满桶完成")]
  53. public bool RobotPutFullBarrelFinish { get; set; }
  54. }
  55. }