终端一体化运控平台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

106 rader
2.8 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.DosingSystemSingle
  7. {
  8. public class DeviceAddress
  9. {
  10. /// <summary>
  11. /// 设备名称起始地址
  12. /// </summary>
  13. public static string DeviceName { get; set; } = "LW0";
  14. /// <summary>
  15. /// 料仓重量反馈起始地址
  16. /// </summary>
  17. public static string WeightFeedback { get; set; } = "LW52";
  18. /// <summary>
  19. /// 重量设置地址
  20. /// </summary>
  21. public static string WeightSet { get; set; } = "LW21";
  22. /// <summary>
  23. /// 启动信号地址
  24. /// </summary>
  25. public static string Start { get; set; } = "LW20";
  26. /// <summary>
  27. /// 下料重量反馈地址
  28. /// </summary>
  29. public static string CutWeightFeedback { get; set; } = "LW54";
  30. /// <summary>
  31. /// 设备编号
  32. /// </summary>
  33. public static string DeviceNum { get; set; } = "LW57";
  34. /// <summary>
  35. /// 设备故障编码
  36. /// </summary>
  37. public static string DeviceAlarmCode { get; set; } = "LW51";
  38. /// <summary>
  39. /// 原料设备类型
  40. /// 1:膏体,2:液体,3:粉体
  41. /// </summary>
  42. public static string MaterialDeviceType { get; set; } = "LW56";
  43. /// <summary>
  44. /// 设备运行状态地址
  45. /// </summary>
  46. public static string RunStatus { get; set; } = "LW60";
  47. /// <summary>
  48. /// 出料完成,置位该信号,plc复位运行状态
  49. /// </summary>
  50. public static string FinfishStatus { get; set; } = "LW40";
  51. /// <summary>
  52. /// 慢加重量
  53. /// </summary>
  54. public static string SlowlyAddWeight { get; set; } = "LW23";
  55. /// <summary>
  56. /// 提前关阀重量
  57. /// </summary>
  58. public static string PreCloseValveWeight { get; set; } = "LW25";
  59. /// <summary>
  60. /// 快加速度
  61. /// </summary>
  62. public static string RapidAcceleration { get; set; } = "LW27";
  63. /// <summary>
  64. /// 慢加速度
  65. /// </summary>
  66. public static string SlowAcceleration { get; set; } = "LW29";
  67. /// <summary>
  68. /// 伺服手动速度
  69. /// </summary>
  70. public static string ServoManualSpeed { get; set; } = "LW31";
  71. /// <summary>
  72. /// 料仓上限重量
  73. /// </summary>
  74. public static string SiloUpperLimitWeight { get; set; } = "LW33";
  75. /// <summary>
  76. /// 料仓下限重量
  77. /// </summary>
  78. public static string LowerLimitWeightOfSilo { get; set; } = "LW35";
  79. /// <summary>
  80. /// 搅拌速度
  81. /// </summary>
  82. public static string StirringSpeed { get; set; } = "LW37";
  83. }
  84. }