| | |
| | | |
| | | #endregion |
| | | |
| | | #region 站点的PLC地址 |
| | | |
| | | public const CpuType Station_PLC_CpuType = CpuType.S71500; |
| | | public const SiemensPLCS Station_SiemensPLCS = SiemensPLCS.S1500; |
| | | public static string Station_Address = ConfigHelper.GetConfigString("Station_Address"); |
| | | public static short Station_Rack = (short)ConfigHelper.GetConfigInt("Station_Rack"); |
| | | public static short Station_Slot = (short)ConfigHelper.GetConfigInt("Station_Slot"); |
| | | public static short Station_Port = (short)ConfigHelper.GetConfigInt("Station_Port"); |
| | | |
| | | #endregion |
| | | |
| | | #region 输送线的PLC地址 |
| | | |
| | | //public const CpuType Line_PLC_CpuType = CpuType.S71500; |
| | |
| | | "1011","1012","1013","1014","1015", |
| | | "1020","1030","1040", //拆盘机 提升机 RGV |
| | | "1019" |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 站点集合 |
| | | /// </summary> |
| | | public static List<string> StationStationList = new List<string>() { |
| | | StationLocationEnum.首次扫码工位.ToString(), |
| | | StationLocationEnum.BZ01.ToString(), |
| | | StationLocationEnum.BZ39.ToString(), |
| | | StationLocationEnum.BZ21.ToString(), |
| | | StationLocationEnum.BZ12.ToString(), |
| | | StationLocationEnum.BZ30.ToString(), |
| | | StationLocationEnum.BZ3007.ToString(), |
| | | }; |
| | | |
| | | |
| | |
| | | {"1.4","输送线通讯异常"} |
| | | }; |
| | | |
| | | |
| | | |
| | | #endregion |
| | | } |
| | | } |