MoveStep.cs 1.9 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,


        R01,
        R02,
        R03,
        R04,
        R05,
        R06,
        R07,
        R08,
        R10_WaitReelLeave,
        R11_NextReel,
        R12_ShelfNoTray,
        R20,
        R21,
        REND,


        L01,
        L02,
        L03,
        L04,
        L10_WaitReelPut,
        L11_ReelPutted,
        L12,
        L13,
        L20_WaitLabel,
        L21,
        L30_LabelFinish,
        L40_ShelfFull,
        LEND,


        M01,
        M02,
        M03,
        M04,
        M05,
        M06,
        M07,
        M_ReturnToP1,
        M08,
        M20_ToNgBox,
        M21,
        M22,
        M23,
        M24,
        MEND,

        Lbl_StartPrint,
        Lbl_WaitPrint,
        Lbl_Printted,
        Lbl01,
        Lbl02,
        Lbl03,
        Lbl04,
        Lbl05,
        Lbl10,
        Lbl11,
        Lbl12,
        Lbl13,
        Lbl14,

    }


    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,

    }
}