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

namespace DeviceLibrary
{
    public enum MoveStep
    {
        Wait,
        //回原流程
        H01_HomeReset,
        H02_HomeReset,
        H03_HomeReset,
        H04_HomeReset,
        H05_HomeReset,
        H06_HomeReset,
        H07_HomeReset,
        HEND_HomeReset,

        Feeding_01_Wait_Detect,
        Feeding_02_Take_Picture,
        Feeding_03_Get_Reelinfo,
        Feeding_04_Wait_Xray_Free,
        Feeding_05_Wait_Man_Check,
        Feeding_06_Goto_Xray,
        Feeding_10_Wait_Reset,


        Lbl_01_Wait_ATray,
        Lbl_02_StopUP,
        Lbl_03_LineRun,
        Lbl_03_StopDown_and_wait,
        Lbl_04_LineStopWait,
        Lbl_04_LineStop,
        Lbl_05_ScanCode,
        Lbl_06_Get_Reelinfo,
        //Lbl_01_StartPrint,
        Lbl_WaitCheckLabel,
        Lbl_WaitPrint,
        Lbl_Printted,
        Lbl01,
        Lbl02,
        Lbl03,
        Lbl04,
        Lbl05,
        Lbl10,
        Lbl11_wait,
        Lbl11,
        Lbl12,
        Lbl13,
        Lbl_BeginOut,
        Lbl15,
        Lbl16,
        L30_LabelFinish,

        Shelf_EmptyIn_WaitWorkLeave,
        Shelf_10_EmptyIn_Wait_StopDown,
        Shelf_10_EmptyIn_StopDown,
        Shelf_11_EmptyIn_WaitTime,
        Shelf_11_EmptyIn_LiftUp,        
        Shelf_13_EmptyIn_SidingRun,
        Shelf_14_EmptyIn_LiftDown,
        Shelf_15_EmptyIn_LocationUp,
        Shelf_16_EmptyIn_ForkFwd,
        Shelf_17_EmptyIn_CheckLocation,
        Shelf_18_EmptyIn_WaitManCheck,
        Shelf_19_EmptyIn_BatchUp,
        Shelf_20_EmptyIn_ShelfReady,
        Shelf_21_EmptyIn_TrayDown,
        Shelf_Work_WaitShelfLeave,

        Shelf_Out_Wait,
        Shelf_30_Out_BatchDown,
        Shelf_31_Out_ForkBck,
        Shelf_32_Out_LocationDown,
        Shelf_33_Out_OutStopDown,
        Shelf_34_Out_OutStopDown,
        Shelf_35_Out_OutLineRun,
        Shelf_36_Out_OutLineRun,

        XRay_01_LocationDown,
        XRay_02_RunIn,
        XRay_03_CloseDoor,
        XRay_04_OpenXray,
        XRay_05_GetImage,
        XRay_06_GetCount,
        XRay_07_CloseXray,
        XRay_08_OpenOutDoor,
        XRay_09_SentToLabelStop,
        XRay_10_CloseOutDoor,
        XRay_11_GetCoutResult,
        XRay_End,
        Filter_01_WaitReel,
        Filter_02_WaitReel,
        Filter_10_NGReel_PushOut,
        Filter_11_NGReel_End,
        Filter_20_MSDReel_wait,
        Filter_21_MSDReel_wait,
        Filter_22_MSDReel_PushOut,
        Filter_23_MSDReel_End,
        Filter_30_PaperReel_wait,
        Filter_31_PaperReel_PushOut,        
        Filter_32_PaperReel_PushOut,
        Filter_33_PaperReel_End,
        Filter_40_Reel_through_wait,
        Filter_41_Reel_through,
        Filter_42_Reel_through_Wait,
        Filter_END,
        T1_01_WaitReel,
        T1_02_WaitReelInpos,
        T1_03_LocationUp,
        T1_04_DownToReel,
        T1_05_ClampReel,
        T1_06_UpToTop,
        T1_07_PanToOut,
        T1_08_DownToShelf,
        T1_09_ReleaseReel,
        T1_10_PutReelFinish,
        
    }


    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,

    }
}