终端一体化运控平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

208 linhas
5.8 KiB

  1. using BPASmartClient.Device;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.MorkM
  8. {
  9. public class Alarm : IAlarm
  10. {
  11. /// <summary>
  12. /// 煮面机左侧低温报警
  13. /// PLC ---> M230.0
  14. /// ModbusTcp --> 1570
  15. /// </summary>
  16. [Alarm("煮面机左侧低温报警")]
  17. public bool MachineLeftLowTemperature { get; set; }
  18. /// <summary>
  19. /// 煮面机左侧低温报警
  20. /// PLC ---> M230.1
  21. /// ModbusTcp --> 1571
  22. /// </summary>
  23. [Alarm("煮面机右侧低温报警")]
  24. public bool MachineRightLowTemperature { get; set; }
  25. /// <summary>
  26. /// 供碗1缺碗
  27. /// PLC ---> 230.2
  28. /// ModbusTcp --> 1572
  29. /// </summary>
  30. [Alarm("供碗1缺碗")]
  31. public bool Supply1_LossBowl { get; set; }
  32. /// <summary>
  33. /// 供碗2缺碗
  34. /// PLC ---> M230.3
  35. /// ModbusTcp --> 1573
  36. /// </summary>
  37. [Alarm("供碗2缺碗")]
  38. public bool Supply2_LossBowl { get; set; }
  39. /// <summary>
  40. /// 供碗1出碗检测异常
  41. /// PLC ---> M230.4
  42. /// ModbusTcp --> 1574
  43. /// </summary>
  44. [Alarm("供碗1出碗检测异常")]
  45. public bool Supply1_ErrorOutBowl { get; set; }
  46. /// <summary>
  47. /// 供碗2出碗检测异常
  48. /// PLC ---> M230.5
  49. /// ModbusTcp --> 1575
  50. /// </summary>
  51. [Alarm("供碗2出碗检测异常")]
  52. public bool Supply2_ErrorOutBowl { get; set; }
  53. /// <summary>
  54. /// 推碗气缸故障
  55. /// PLC ---> M230.6
  56. /// ModbusTcp --> 1576
  57. /// </summary>
  58. [Alarm("推碗气缸故障")]
  59. public bool PushBowlCylinderError { get; set; }
  60. /// <summary>
  61. /// 煮面机通讯异常
  62. /// PLC ---> M230.7
  63. /// ModbusTcp --> 1577
  64. /// </summary>
  65. [Alarm("煮面机通讯异常")]
  66. public bool NoodleMacCommunicateError { get; set; }
  67. /// <summary>
  68. /// 配料机通讯异常
  69. /// PLC ---> M231.0
  70. /// ModbusTcp --> 1580
  71. /// </summary>
  72. [Alarm("配料机通讯异常")]
  73. public bool DosingMacCommunicateError { get; set; }
  74. /// <summary>
  75. /// 机器人通讯异常
  76. /// PLC ---> M231.1
  77. /// ModbusTcp --> 1581
  78. /// </summary>
  79. [Alarm("机器人通讯异常")]
  80. public bool RobotMacCommunicateError { get; set; }
  81. /// <summary>
  82. /// 机器人通讯异常
  83. /// PLC ---> M231.2
  84. /// ModbusTcp --> 1581
  85. /// </summary>
  86. [Alarm("设备急停")]
  87. public bool DeviceEstop { get; set; }
  88. /// <summary>
  89. /// PLC电池电压低
  90. /// PLC ---> M231.3
  91. /// ModbusTcp --> 1583
  92. /// </summary>
  93. [Alarm("PLC电池电压低")]
  94. public bool RobotInitError { get; set; }
  95. /// <summary>
  96. /// 机器人急停
  97. /// PLC ---> M231.4
  98. /// ModbusTcp --> 1584
  99. /// </summary>
  100. [Alarm("机器人急停")]
  101. public bool RobotUrgentStop { get; set; }
  102. /// <summary>
  103. /// 机器人不在远程模式
  104. /// PLC ---> M231.5
  105. /// ModbusTcp --> 1585
  106. /// </summary>
  107. [Alarm("机器人不在远程模式")]
  108. public bool RobotNotInRemoteMode { get; set; }
  109. /// <summary>
  110. /// 机器人伺服未就绪
  111. /// PLC ---> M231.6
  112. /// ModbusTcp --> 1586
  113. /// </summary>
  114. [Alarm("机器人伺服未就绪")]
  115. public bool RobotNotInReady { get; set; }
  116. /// <summary>
  117. /// 机器人本体异常
  118. /// PLC ---> M231.7
  119. /// ModbusTcp --> 1587
  120. /// </summary>
  121. [Alarm("机器人本体异常")]
  122. public bool RobotSelfInException { get; set; }
  123. /// <summary>
  124. /// 煮面机左侧缺水
  125. /// PLC ---> M232.0
  126. /// ModbusTcp --> 1570
  127. /// </summary>
  128. [Alarm("煮面机左侧缺水报警")]
  129. public bool LeftLackWater { get; set; }
  130. /// <summary>
  131. /// 煮面机右侧缺水
  132. /// PLC ---> M232.1
  133. /// ModbusTcp --> 1571
  134. /// </summary>
  135. [Alarm("煮面机右侧缺水报警")]
  136. public bool RightLackWater { get; set; }
  137. /// <summary>
  138. /// 丝杆初始化失败
  139. /// PLC ---> M232.2
  140. /// ModbusTcp --> 1571
  141. /// </summary>
  142. [Alarm("丝杆初始化失败")]
  143. public bool SvrewInitFail { get; set; }
  144. /// <summary>
  145. /// 转盘初始化失败
  146. /// PLC ---> M232.3
  147. /// ModbusTcp --> 1571
  148. /// </summary>
  149. [Alarm("转盘初始化失败")]
  150. public bool TurntableInitFail { get; set; }
  151. /// <summary>
  152. /// 机器人初始化失败
  153. /// PLC ---> M232.4
  154. /// ModbusTcp --> 1571
  155. /// </summary>
  156. [Alarm("机器人初始化失败")]
  157. public bool RobotInitFail { get; set; }
  158. /// <summary>
  159. /// 煮面机初始化失败
  160. /// PLC ---> M232.5
  161. /// ModbusTcp --> 1571
  162. /// </summary>
  163. [Alarm("煮面机初始化失败")]
  164. public bool NoodleCookerInitFail { get; set; }
  165. /// <summary>
  166. /// 推碗1步进推杆初始化失败
  167. /// PLC ---> M232.6
  168. /// ModbusTcp --> 1571
  169. /// </summary>
  170. [Alarm("推碗1步进推杆初始化失败")]
  171. public bool PushBowlInitFail1 { get; set; }
  172. /// <summary>
  173. /// 推碗2步进推杆初始化失败
  174. /// PLC ---> M232.7
  175. /// ModbusTcp --> 1571
  176. /// </summary>
  177. [Alarm("推碗2步进推杆初始化失败")]
  178. public bool PushBowlInitFail2 { get; set; }
  179. }
  180. }