终端一体化运控平台
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.
 
 
 

86 lines
3.1 KiB

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