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.
215 lines
13 KiB
215 lines
13 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RS.Common
|
|
{
|
|
public static class publicProgram
|
|
{
|
|
public static int lastRecipeLengthScr1 = 0;
|
|
public static int lastRecipeLengthScr2 = 0;
|
|
public static int lastRecipeLengthScr3 = 0;
|
|
public static int lastRecipeLengthScr4 = 0;
|
|
|
|
|
|
|
|
public static string scrP1 = "";
|
|
public static string scrP2 = "";
|
|
/// <summary>
|
|
/// 上次发配方的配方名
|
|
/// </summary>
|
|
public static string scrLastName = "";
|
|
public static string scrA1 = "";
|
|
public static string scrA2 = "";
|
|
public static string scrA3 = "";
|
|
public static string scrA4 = "";
|
|
|
|
public static string scrB1 = "";
|
|
public static string scrB2 = "";
|
|
public static string scrB3 = "";
|
|
public static string scrB4 = "";
|
|
public static string user1 = "";
|
|
public static string user2 = "";
|
|
/// <summary>
|
|
/// 报警信息和报警编码对应表
|
|
/// </summary>
|
|
public static Dictionary<string, string> armAnCode = new Dictionary<string, string>();
|
|
|
|
|
|
|
|
|
|
public static void addCleanInfo()
|
|
{
|
|
#region 报警编码
|
|
armAnCode.Add("[SCR1-ALM] 主轴电机报警", "SCR1_001");
|
|
armAnCode.Add("[SCR1-ALM] 顶针电机报警", "SCR1_002");
|
|
armAnCode.Add("[SCR1-ALM] 擦洗臂上下电机报警", "SCR1_003");
|
|
armAnCode.Add("[SCR1-ALM] 擦洗臂左右电机报警", "SCR1_004");
|
|
armAnCode.Add("[SCR1-ALM] 冲洗臂电机报警", "SCR1_005");
|
|
armAnCode.Add("[SCR1-ALM] 翻转电机报警", "SCR1_006");
|
|
armAnCode.Add("[SCR1-ALM] 主轴转速异常ALM", "SCR1_007");
|
|
armAnCode.Add("[SCR1-WRN] 主轴转速异常WRN", "SCR1_008");
|
|
armAnCode.Add("[SCR1-WRN] 主轴回原超时", "SCR1_009");
|
|
armAnCode.Add("[SCR1-WRN] 顶针回原超时", "SCR1_010");
|
|
armAnCode.Add("[SCR1-WRN] 擦洗臂上下回原超时", "SCR1_011");
|
|
armAnCode.Add("[SCR1-WRN] 擦洗臂左右回原超时", "SCR1_012");
|
|
armAnCode.Add("[SCR1-WRN] 冲洗臂回原超时", "SCR1_013");
|
|
armAnCode.Add("[SCR1-WRN] 翻转回原超时", "SCR1_014");
|
|
armAnCode.Add("[SCR1-WRN] 翻转翻出超时", "SCR1_015");
|
|
armAnCode.Add("[SCR1-WRN] 吸片真空异常", "SCR1_016");
|
|
armAnCode.Add("[SCR1-WRN] 翻转升降上升超时", "SCR1_017");
|
|
armAnCode.Add("[SCR1-WRN] 翻转升降下降超时", "SCR1_018");
|
|
armAnCode.Add("[SCR1-WRN] 翻转升降原位传感器异常", "SCR1_019");
|
|
armAnCode.Add("[SCR1-WRN] 翻转升降工作位传感器异常", "SCR1_020");
|
|
armAnCode.Add("[SCR1-WRN] 翻转定中打开超时", "SCR1_021");
|
|
armAnCode.Add("[SCR1-WRN] 翻转定中闭合超时", "SCR1_022");
|
|
armAnCode.Add("[SCR1-WRN] 翻转定中原位传感器异常", "SCR1_023");
|
|
armAnCode.Add("[SCR1-WRN] 翻转定中工作位传感器异常", "SCR1_024");
|
|
armAnCode.Add("[SCR1-WRN] 液盘下降超时", "SCR1_025");
|
|
armAnCode.Add("[SCR1-WRN] 液盘上升超时", "SCR1_026");
|
|
armAnCode.Add("[SCR1-WRN] 液盘低位传感器异常", "SCR1_027");
|
|
armAnCode.Add("[SCR1-WRN] 液盘高位传感器异常", "SCR1_028");
|
|
armAnCode.Add("[SCR1-WRN] 刷头更换提示!", "SCR1_029");
|
|
armAnCode.Add("[SCR1-WRN] 门打开中!", "SCR1_030");
|
|
armAnCode.Add("[SCR1-WRN] 顶针等待位超时", "SCR1_031");
|
|
armAnCode.Add("[SCR1-WRN] 擦片下压检测错误", "SCR1_032");
|
|
|
|
|
|
armAnCode.Add("[SCR2-ALM] 主轴电机报警", "SCR2_001");
|
|
armAnCode.Add("[SCR2-ALM] 顶针电机报警", "SCR2_002");
|
|
armAnCode.Add("[SCR2-ALM] 擦洗臂上下电机报警", "SCR2_003");
|
|
armAnCode.Add("[SCR2-ALM] 擦洗臂左右电机报警", "SCR2_004");
|
|
armAnCode.Add("[SCR2-ALM] 冲洗臂电机报警", "SCR2_005");
|
|
armAnCode.Add("[SCR2-ALM] 翻转电机报警", "SCR2_006");
|
|
armAnCode.Add("[SCR2-ALM] 主轴转速异常ALM", "SCR2_007");
|
|
armAnCode.Add("[SCR2-WRN] 主轴转速异常WRN", "SCR2_008");
|
|
armAnCode.Add("[SCR2-WRN] 主轴回原超时", "SCR2_009");
|
|
armAnCode.Add("[SCR2-WRN] 顶针回原超时", "SCR2_010");
|
|
armAnCode.Add("[SCR2-WRN] 擦洗臂上下回原超时", "SCR2_011");
|
|
armAnCode.Add("[SCR2-WRN] 擦洗臂左右回原超时", "SCR2_012");
|
|
armAnCode.Add("[SCR2-WRN] 冲洗臂回原超时", "SCR2_013");
|
|
armAnCode.Add("[SCR2-WRN] 翻转回原超时", "SCR2_014");
|
|
armAnCode.Add("[SCR2-WRN] 翻转翻出超时", "SCR2_015");
|
|
armAnCode.Add("[SCR2-WRN] 吸片真空异常", "SCR2_016");
|
|
armAnCode.Add("[SCR2-WRN] 翻转升降上升超时", "SCR2_017");
|
|
armAnCode.Add("[SCR2-WRN] 翻转升降下降超时", "SCR2_018");
|
|
armAnCode.Add("[SCR2-WRN] 翻转升降原位传感器异常", "SCR2_019");
|
|
armAnCode.Add("[SCR2-WRN] 翻转升降工作位传感器异常", "SCR2_020");
|
|
armAnCode.Add("[SCR2-WRN] 翻转定中打开超时", "SCR2_021");
|
|
armAnCode.Add("[SCR2-WRN] 翻转定中闭合超时", "SCR2_022");
|
|
armAnCode.Add("[SCR2-WRN] 翻转定中原位传感器异常", "SCR2_023");
|
|
armAnCode.Add("[SCR2-WRN] 翻转定中工作位传感器异常", "SCR2_024");
|
|
armAnCode.Add("[SCR2-WRN] 液盘下降超时", "SCR2_025");
|
|
armAnCode.Add("[SCR2-WRN] 液盘上升超时", "SCR2_026");
|
|
armAnCode.Add("[SCR2-WRN] 液盘低位传感器异常", "SCR2_027");
|
|
armAnCode.Add("[SCR2-WRN] 液盘高位传感器异常", "SCR2_028");
|
|
armAnCode.Add("[SCR2-WRN] 刷头更换提示!", "SCR2_029");
|
|
armAnCode.Add("[SCR2-WRN] 门打开中!", "SCR2_030");
|
|
armAnCode.Add("[SCR2-WRN] 顶针等待位超时", "SCR2_031");
|
|
armAnCode.Add("[SCR2-WRN] 擦片下压检测错误", "SCR2_032");
|
|
|
|
armAnCode.Add("[SCR3-ALM] 主轴电机报警", "SCR3_001");
|
|
armAnCode.Add("[SCR3-ALM] 顶针电机报警", "SCR3_002");
|
|
armAnCode.Add("[SCR3-ALM] 擦洗臂上下电机报警", "SCR3_003");
|
|
armAnCode.Add("[SCR3-ALM] 擦洗臂左右电机报警", "SCR3_004");
|
|
armAnCode.Add("[SCR3-ALM] 冲洗臂电机报警", "SCR3_005");
|
|
armAnCode.Add("[SCR3-ALM] 翻转电机报警", "SCR3_006");
|
|
armAnCode.Add("[SCR3-ALM] 主轴转速异常ALM", "SCR3_007");
|
|
armAnCode.Add("[SCR3-WRN] 主轴转速异常WRN", "SCR3_008");
|
|
armAnCode.Add("[SCR3-WRN] 主轴回原超时", "SCR3_009");
|
|
armAnCode.Add("[SCR3-WRN] 顶针回原超时", "SCR3_010");
|
|
armAnCode.Add("[SCR3-WRN] 擦洗臂上下回原超时", "SCR3_011");
|
|
armAnCode.Add("[SCR3-WRN] 擦洗臂左右回原超时", "SCR3_012");
|
|
armAnCode.Add("[SCR3-WRN] 冲洗臂回原超时", "SCR3_013");
|
|
armAnCode.Add("[SCR3-WRN] 翻转回原超时", "SCR3_014");
|
|
armAnCode.Add("[SCR3-WRN] 翻转翻出超时", "SCR3_015");
|
|
armAnCode.Add("[SCR3-WRN] 吸片真空异常", "SCR3_016");
|
|
armAnCode.Add("[SCR3-WRN] 翻转升降上升超时", "SCR3_017");
|
|
armAnCode.Add("[SCR3-WRN] 翻转升降下降超时", "SCR3_018");
|
|
armAnCode.Add("[SCR3-WRN] 翻转升降原位传感器异常", "SCR3_019");
|
|
armAnCode.Add("[SCR3-WRN] 翻转升降工作位传感器异常", "SCR3_020");
|
|
armAnCode.Add("[SCR3-WRN] 翻转定中打开超时", "SCR3_021");
|
|
armAnCode.Add("[SCR3-WRN] 翻转定中闭合超时", "SCR3_022");
|
|
armAnCode.Add("[SCR3-WRN] 翻转定中原位传感器异常", "SCR3_023");
|
|
armAnCode.Add("[SCR3-WRN] 翻转定中工作位传感器异常", "SCR3_024");
|
|
armAnCode.Add("[SCR3-WRN] 液盘下降超时", "SCR3_025");
|
|
armAnCode.Add("[SCR3-WRN] 液盘上升超时", "SCR3_026");
|
|
armAnCode.Add("[SCR3-WRN] 液盘低位传感器异常", "SCR3_027");
|
|
armAnCode.Add("[SCR3-WRN] 液盘高位传感器异常", "SCR3_028");
|
|
armAnCode.Add("[SCR3-WRN] 刷头更换提示!", "SCR3_029");
|
|
armAnCode.Add("[SCR3-WRN] 门打开中!", "SCR3_030");
|
|
armAnCode.Add("[SCR3-WRN] 顶针等待位超时", "SCR3_031");
|
|
armAnCode.Add("[SCR3-WRN] 擦片下压检测错误", "SCR3_032");
|
|
|
|
armAnCode.Add("[SCR4-ALM] 主轴电机报警", "SCR4_001");
|
|
armAnCode.Add("[SCR4-ALM] 顶针电机报警", "SCR4_002");
|
|
armAnCode.Add("[SCR4-ALM] 擦洗臂上下电机报警", "SCR4_003");
|
|
armAnCode.Add("[SCR4-ALM] 擦洗臂左右电机报警", "SCR4_004");
|
|
armAnCode.Add("[SCR4-ALM] 冲洗臂电机报警", "SCR4_005");
|
|
armAnCode.Add("[SCR4-ALM] 翻转电机报警", "SCR4_006");
|
|
armAnCode.Add("[SCR4-ALM] 主轴转速异常ALM", "SCR4_007");
|
|
armAnCode.Add("[SCR4-WRN] 主轴转速异常WRN", "SCR4_008");
|
|
armAnCode.Add("[SCR4-WRN] 主轴回原超时", "SCR4_009");
|
|
armAnCode.Add("[SCR4-WRN] 顶针回原超时", "SCR4_010");
|
|
armAnCode.Add("[SCR4-WRN] 擦洗臂上下回原超时", "SCR4_011");
|
|
armAnCode.Add("[SCR4-WRN] 擦洗臂左右回原超时", "SCR4_012");
|
|
armAnCode.Add("[SCR4-WRN] 冲洗臂回原超时", "SCR4_013");
|
|
armAnCode.Add("[SCR4-WRN] 翻转回原超时", "SCR4_014");
|
|
armAnCode.Add("[SCR4-WRN] 翻转翻出超时", "SCR4_015");
|
|
armAnCode.Add("[SCR4-WRN] 吸片真空异常", "SCR4_016");
|
|
armAnCode.Add("[SCR4-WRN] 翻转升降上升超时", "SCR4_017");
|
|
armAnCode.Add("[SCR4-WRN] 翻转升降下降超时", "SCR4_018");
|
|
armAnCode.Add("[SCR4-WRN] 翻转升降原位传感器异常", "SCR4_019");
|
|
armAnCode.Add("[SCR4-WRN] 翻转升降工作位传感器异常", "SCR4_020");
|
|
armAnCode.Add("[SCR4-WRN] 翻转定中打开超时", "SCR4_021");
|
|
armAnCode.Add("[SCR4-WRN] 翻转定中闭合超时", "SCR4_022");
|
|
armAnCode.Add("[SCR4-WRN] 翻转定中原位传感器异常", "SCR4_023");
|
|
armAnCode.Add("[SCR4-WRN] 翻转定中工作位传感器异常", "SCR4_024");
|
|
armAnCode.Add("[SCR4-WRN] 液盘下降超时", "SCR4_025");
|
|
armAnCode.Add("[SCR4-WRN] 液盘上升超时", "SCR4_026");
|
|
armAnCode.Add("[SCR4-WRN] 液盘低位传感器异常", "SCR4_027");
|
|
armAnCode.Add("[SCR4-WRN] 液盘高位传感器异常", "SCR4_028");
|
|
armAnCode.Add("[SCR4-WRN] 刷头更换提示!", "SCR4_029");
|
|
armAnCode.Add("[SCR4-WRN] 门打开中!", "SCR4_030");
|
|
armAnCode.Add("[SCR4-WRN] 顶针等待位超时", "SCR4_031");
|
|
armAnCode.Add("[SCR4-WRN] 擦片下压检测错误", "SCR4_032");
|
|
|
|
armAnCode.Add("[CA-WRN] 定中打开超时", "CA_001");
|
|
armAnCode.Add("[CA-WRN] 定中闭合超时", "CA_002");
|
|
armAnCode.Add("[CA-WRN] 定中原位传感器异常", "CA_003");
|
|
armAnCode.Add("[CA-WRN] 定中工作位传感器异常", "CA_004");
|
|
armAnCode.Add("[CA-WRN] 承片台下降超时", "CA_005");
|
|
armAnCode.Add("[CA-WRN] 承片台上升超时", "CA_006");
|
|
armAnCode.Add("[CA-WRN] 承片台低位传感器异常", "CA_007");
|
|
armAnCode.Add("[CA-WRN] 承片台高位传感器异常", "CA_008");
|
|
armAnCode.Add("[CA-WRN] 吸片真空异常", "CA_009");
|
|
armAnCode.Add("[CS1-WRN] 花篮异常", "CS1_001");
|
|
armAnCode.Add("[CS1-WRN] 晶圆片异常", "CS1_002");
|
|
armAnCode.Add("[CS1-WRN] 扫片异常", "CS1_003");
|
|
armAnCode.Add("[CS1-WRN] 门打开中!", "CS1_004");
|
|
armAnCode.Add("[CS2-WRN] 花篮异常", "CS2_001");
|
|
armAnCode.Add("[CS2-WRN] 晶圆片异常", "CS2_002");
|
|
armAnCode.Add("[CS2-WRN] 扫片异常", "CS2_003");
|
|
armAnCode.Add("[CS2-WRN] 门打开中!", "CS2_004");
|
|
|
|
armAnCode.Add("[RBT-ALM] Robot报警", "RBT_001");
|
|
armAnCode.Add("[RBT-ALM] Robot掉线", "RBT_002");
|
|
armAnCode.Add("[RBT-WRN] 上指真空异常", "RBT_003");
|
|
armAnCode.Add("[RBT-WRN] 下指真空异常", "RBT_004");
|
|
armAnCode.Add("[RBT-WRN] Robot回原超时", "RBT_005");
|
|
armAnCode.Add("[RBT-WRN] Robot到位超时", "RBT_006");
|
|
|
|
armAnCode.Add("[SYS-ALM] ECAT从站断线", "SYS_001");
|
|
armAnCode.Add("[SYS-ALM] 机台漏液报警", "SYS_002");
|
|
armAnCode.Add("[SYS-WRN] 总进气压异常", "SYS_003");
|
|
armAnCode.Add("[SYS-WRN] 总N2进气异常", "SYS_004");
|
|
armAnCode.Add("[SYS-WRN] 机台排风低报警", "SYS_005");
|
|
armAnCode.Add("[SYS-WRN] 机台右侧漏液报警", "SYS_006");
|
|
armAnCode.Add("[SYS-ALM] 急停按下中!", "SYS_007");
|
|
#endregion
|
|
}
|
|
}
|
|
}
|