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.
 
 

138 lines
3.7 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using HBLConsole.Interface;
  7. using HBLConsole.Attributes;
  8. namespace HBLConsole.MORKS
  9. {
  10. public class Alarm : IAlarm
  11. {
  12. /// <summary>
  13. /// 煮面机左侧低温报警
  14. /// PLC ---> M550.0
  15. /// ModbusTcp --> 1570
  16. /// </summary>
  17. [Alarm("煮面机左侧低温报警")]
  18. public bool MachineLeftLowTemperature { get; set; }
  19. /// <summary>
  20. /// 煮面机左侧低温报警
  21. /// PLC ---> M550.1
  22. /// ModbusTcp --> 1571
  23. /// </summary>
  24. [Alarm("煮面机右侧低温报警")]
  25. public bool MachineRightLowTemperature { get; set; }
  26. /// <summary>
  27. /// 供碗1缺碗
  28. /// PLC ---> M550.2
  29. /// ModbusTcp --> 1572
  30. /// </summary>
  31. [Alarm("供碗1缺碗")]
  32. public bool Supply1_LossBowl { get; set; }
  33. /// <summary>
  34. /// 供碗2缺碗
  35. /// PLC ---> M550.3
  36. /// ModbusTcp --> 1573
  37. /// </summary>
  38. [Alarm("供碗2缺碗")]
  39. public bool Supply2_LossBowl { get; set; }
  40. /// <summary>
  41. /// 供碗1出碗检测异常
  42. /// PLC ---> M550.4
  43. /// ModbusTcp --> 1574
  44. /// </summary>
  45. [Alarm("供碗1出碗检测异常")]
  46. public bool Supply1_ErrorOutBowl { get; set; }
  47. /// <summary>
  48. /// 供碗2出碗检测异常
  49. /// PLC ---> M550.5
  50. /// ModbusTcp --> 1575
  51. /// </summary>
  52. [Alarm("供碗2出碗检测异常")]
  53. public bool Supply2_ErrorOutBowl { get; set; }
  54. /// <summary>
  55. /// 推碗气缸故障
  56. /// PLC ---> M550.6
  57. /// ModbusTcp --> 1576
  58. /// </summary>
  59. [Alarm("推碗气缸故障")]
  60. public bool PushBowlCylinderError { get; set; }
  61. /// <summary>
  62. /// 煮面机通讯异常
  63. /// PLC ---> M550.7
  64. /// ModbusTcp --> 1577
  65. /// </summary>
  66. [Alarm("煮面机通讯异常")]
  67. public bool NoodleMacCommunicateError { get; set; }
  68. /// <summary>
  69. /// 配料机通讯异常
  70. /// PLC ---> M551.0
  71. /// ModbusTcp --> 1580
  72. /// </summary>
  73. [Alarm("配料机通讯异常")]
  74. public bool DosingMacCommunicateError { get; set; }
  75. /// <summary>
  76. /// 机器人通讯异常
  77. /// PLC ---> M551.1
  78. /// ModbusTcp --> 1581
  79. /// </summary>
  80. [Alarm("机器人通讯异常")]
  81. public bool RobotMacCommunicateError { get; set; }
  82. /// <summary>
  83. /// 机器人初始化失败
  84. /// PLC ---> M551.3
  85. /// ModbusTcp --> 1583
  86. /// </summary>
  87. [Alarm("机器人初始化失败")]
  88. public bool RobotInitError { get; set; }
  89. /// <summary>
  90. /// 机器人急停
  91. /// PLC ---> M551.4
  92. /// ModbusTcp --> 1584
  93. /// </summary>
  94. [Alarm("机器人急停")]
  95. public bool RobotUrgentStop { get; set; }
  96. /// <summary>
  97. /// 机器人不在远程模式
  98. /// PLC ---> M551.5
  99. /// ModbusTcp --> 1585
  100. /// </summary>
  101. [Alarm("机器人不在远程模式")]
  102. public bool RobotNotInRemoteMode { get; set; }
  103. /// <summary>
  104. /// 机器人伺服未就绪
  105. /// PLC ---> M551.6
  106. /// ModbusTcp --> 1586
  107. /// </summary>
  108. [Alarm("机器人伺服未就绪")]
  109. public bool RobotNotInReady { get; set; }
  110. /// <summary>
  111. /// 机器人本体异常
  112. /// PLC ---> M551.7
  113. /// ModbusTcp --> 1587
  114. /// </summary>
  115. [Alarm("机器人本体异常")]
  116. public bool RobotSelfInException { get; set; }
  117. }
  118. }