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.
 
 

151 lines
4.3 KiB

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