MoveStep.cs 3.6 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceLibrary
{
    
    public enum MoveStep
    {
        Wait,
        WaitErr,
        //回原流程
        H01_HomeReset,
        H02_HomeReset,
        H03_HomeReset,
        H04_HomeReset,
        H05_HomeReset,
        H06_HomeReset,
        H07_HomeReset,
        H08_HomeReset,
        H09_HomeReset,
        H10_HomeReset,
        H11_HomeReset,
        H12_HomeReset,
        H13_HomeReset,
        H14_HomeReset,
        H15_HomeReset,
        H16_HomeReset,
        HEND_HomeReset,
        SideMove_01,
        SideMove_02,
        SideMove_03,
        SideMove_04,
        SideMove_05,
        SideMove_06,
        SideMove_07,
        SideMove_08,
        SideMove_09,
        SideMove_10,
        SideMove_11,
        SideMove_12,
        SideMove_13,
        SideMove_13_2,
        SideMove_14,
        SideMove_15,
        SideMove_16,
        SideMove_17,
        SideMove_18,
        SideMove_50,
        SideMove_51,
        SideMove_52,
        SideMove_53,
        SideMove_54,

        TrayStop_01,
        TrayStop_02,
        TrayStop_03,
        TrayStop_04,
        TrayStop_05,
        TrayStop_06,
        TrayStop_07,
        TrayStop_08,
        TrayStop_09,
        TrayStop_WaitLoadProcess,
        TrayStop_LoadProcessed,

        TransplantMove_01,
        TransplantMove_02,
        TransplantMove_03,
        TransplantMove_04,
        TransplantMove_05,
        TransplantMove_06,
        TransplantMove_07,
        TransplantMove_08,
        TransplantMove_09,
        TransplantMove_10,
        TransplantMove_11,
        TransplantMove_12,
        TransplantMove_13,
        TransplantMove_14,
        TransplantMove_15,
        TransplantMove_16,
        TransplantMove_17,
        TransplantMove_18,
        TransplantMove_20,
        TransplantMove_21,
        TransplantMove_22,
        TransplantMove_23,
        TransplantMove_24,
        TransplantMove_25,
        TransplantMove_26,
        TransplantMove_27,
        TransplantMove_28,
        TransplantMove_29,
        TransplantMove_30,
        TransplantMove_31,
        TransplantMove_32,
        TransplantMove_33,
        TransplantMove_34,
        TransplantMove_35,
        TransplantMove_36,
        TransplantMove_37,
        TransplantMove_38,
        TransplantMove_39,


        MI_01,
        MI_02,
        MI_03,
        MI_04,
        MI_05,
        MI_06,
        MI_07,
        MI_08,
        MI_09,
        MI_10,
        MI_11,
        MI_12,
        MI_13,
        MI_14,
        MI_15,
        MI_16,
        MI_17,
        MI_20,
        MI_21,
        MI_22,
        MI_23,
        MI_24,
        MI_25,
        MI_26,
        MI_27,
        MI_28,
        MI_29,
        MI_40,
        MI_41,
        MI_42,
        MI_43,
        MI_44,
        MI_45,
        MI_50,
        MI_WaitMT,
        MI_51,
        MI_52,
        MI_53,
        MI_54,
        MI_55,
    }


    public enum AlarmType
    {
        /// <summary>
        /// 没有报警
        /// </summary>
        None = 0,
        /// <summary>
        /// 轴报警
        /// </summary>
        AxisAlarm = 1,
        /// <summary>
        /// 收到急停
        /// </summary>
        SuddenStop = 10,
        /// <summary>
        /// 没有气压信号
        /// </summary>
        //NoAirCheck = 11,
        /// <summary>
        /// 轴运动错误,没有达到指定脉冲,但是io判断已停止运动
        /// </summary>
        AxisMoveError = 20,
        /// <summary>
        /// io信号超时未收到
        /// </summary>
        IoSingleTimeOut = 30,

    }
}