You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
292 lines
8.0 KiB
C#
292 lines
8.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Rs.MotionPlat.Flow
|
|
{
|
|
/// <summary>
|
|
/// 报警常量
|
|
/// </summary>
|
|
public class AlarmConstID
|
|
{
|
|
/// <summary>
|
|
/// 读取数据NG
|
|
/// </summary>
|
|
public const double NG = -999.999;
|
|
|
|
public const int NotFoundAxisAlarmID = 99999;
|
|
/// <summary>
|
|
/// Tray盘取料失败报警
|
|
/// </summary>
|
|
public const int TrayTakeFailAlarm = 1;
|
|
|
|
/// <summary>
|
|
/// 周转盘取料失败报警
|
|
/// </summary>
|
|
public const int TurnoverTakeFailAlarm = 2;
|
|
|
|
/// <summary>
|
|
/// 测试盘取料失败报警
|
|
/// </summary>
|
|
public const int TestTakeFailAlarm = 3;
|
|
|
|
|
|
/// <summary>
|
|
/// 周转盘放料失败报警
|
|
/// </summary>
|
|
public const int TurnoverDumpFailAlarm = 4;
|
|
|
|
/// <summary>
|
|
/// 测试盘放料失败报警
|
|
/// </summary>
|
|
public const int TestDumpFailAlarm = 5;
|
|
|
|
/// <summary>
|
|
/// Empty1满料报警
|
|
/// </summary>
|
|
public const int Empty1FullAlarm = 6;
|
|
|
|
/// <summary>
|
|
/// Input盘缺料报警
|
|
/// </summary>
|
|
public const int InputNullAlarm = 7;
|
|
/// <summary>
|
|
/// OK盘满料报警
|
|
/// </summary>
|
|
public const int OkFullAlarm = 8;
|
|
/// <summary>
|
|
/// NG盘满料报警
|
|
/// </summary>
|
|
public const int NgFullAlarm = 9;
|
|
/// <summary>
|
|
/// 多功能盘满料报警
|
|
/// </summary>
|
|
public const int MultiFullAlarm = 10;
|
|
/// <summary>
|
|
/// Empty2缺料报警
|
|
/// </summary>
|
|
public const int Empty2NullAlarm = 11;
|
|
|
|
/// <summary>
|
|
/// 下相机飞拍失败报警
|
|
/// </summary>
|
|
public const int DownCameraFlyFailAlarm = 12;
|
|
|
|
/// <summary>
|
|
/// 运动不安全报警
|
|
/// </summary>
|
|
public const int MoveUnsafeAlarm = 13;
|
|
|
|
/// <summary>
|
|
/// 运动失败报警
|
|
/// </summary>
|
|
public const int MoveFailAlarm = 14;
|
|
|
|
|
|
/// <summary>
|
|
/// 料仓上料超时
|
|
/// </summary>
|
|
public const int StockLoadAlarm = 15;
|
|
|
|
/// <summary>
|
|
///吸嘴粘料报警
|
|
/// </summary>
|
|
public const int NozzleTackinessAlarm = 16;
|
|
|
|
/// <summary>
|
|
/// 吸嘴丢料报警
|
|
/// </summary>
|
|
public const int NozzlesLoseMaterialAlarm = 17;
|
|
|
|
/// <summary>
|
|
/// 周转吸头取料失败报警
|
|
/// </summary>
|
|
public const int TransitNozzlelTakeProductFailAlarm = 18;
|
|
|
|
/// <summary>
|
|
/// 上下气缸异常报警
|
|
/// </summary>
|
|
public const int UpDownCylinderExceptionAlarm = 19;
|
|
/// <summary>
|
|
/// 料仓满料报警
|
|
/// </summary>
|
|
public const int StockFullTrayAlarm = 20;
|
|
|
|
/// <summary>
|
|
/// 料仓缺料盘报警
|
|
/// </summary>
|
|
public const int StockLackTrayAlarm = 21;
|
|
|
|
/// <summary>
|
|
/// 大力吸嘴气缸报警
|
|
/// </summary>
|
|
public const int ForceNozzleCylinderAlarm = 22;
|
|
|
|
/// <summary>
|
|
/// NG料光纤检测异常
|
|
/// </summary>
|
|
public const int NgProductFiberCheckAlarm = 23;
|
|
|
|
/// <summary>
|
|
/// 排料吸嘴丢料报警
|
|
/// </summary>
|
|
public const int DischargeNozzleLostProductAlarm = 24;
|
|
|
|
/// <summary>
|
|
/// 排料轴X运动异常
|
|
/// </summary>
|
|
public const int LoadXMoveFailAlarm = 25;
|
|
|
|
/// <summary>
|
|
/// 排料轴Y运动异常
|
|
/// </summary>
|
|
public const int LoadYMoveFailAlarm = 26;
|
|
|
|
/// <summary>
|
|
/// 周转模组X运动异常
|
|
/// </summary>
|
|
public const int TurnoverXMoveFailAlarm = 27;
|
|
|
|
/// <summary>
|
|
/// 周转模组Y运动异常
|
|
/// </summary>
|
|
public const int TurnoverYMoveFailAlarm = 28;
|
|
|
|
/// <summary>
|
|
/// 周转模组Z运动异常
|
|
/// </summary>
|
|
public const int TurnoverZMoveFailAlarm = 29;
|
|
|
|
/// <summary>
|
|
/// 保压Z运动异常
|
|
/// </summary>
|
|
public const int PressZMoveFailAlarm = 30;
|
|
|
|
|
|
/// <summary>
|
|
/// 料仓Z1运动异常
|
|
/// </summary>
|
|
public const int StockZ1MoveFailAlarm = 31;
|
|
/// <summary>
|
|
/// 料仓Z2运动异常
|
|
/// </summary>
|
|
public const int StockZ2MoveFailAlarm = 32;
|
|
/// <summary>
|
|
/// 料仓Z3运动异常
|
|
/// </summary>
|
|
public const int StockZ3MoveFailAlarm = 33;
|
|
/// <summary>
|
|
/// 料仓Z4运动异常
|
|
/// </summary>
|
|
public const int StockZ4MoveFailAlarm = 34;
|
|
/// <summary>
|
|
/// 料仓Z5运动异常
|
|
/// </summary>
|
|
public const int StockZ5MoveFailAlarm = 35;
|
|
/// <summary>
|
|
/// 料仓Z6运动异常
|
|
/// </summary>
|
|
public const int StockZ6MoveFailAlarm = 36;
|
|
|
|
|
|
/// <summary>
|
|
/// 排料吸嘴Z1运动异常
|
|
/// </summary>
|
|
public const int NozzleZ1MoveFailAlarm = 37;
|
|
/// <summary>
|
|
/// 排料吸嘴Z2运动异常
|
|
/// </summary>
|
|
public const int NozzleZ2MoveFailAlarm = 38;
|
|
/// <summary>
|
|
/// 排料吸嘴Z3运动异常
|
|
/// </summary>
|
|
public const int NozzleZ3MoveFailAlarm = 39;
|
|
/// <summary>
|
|
/// 排料吸嘴Z4运动异常
|
|
/// </summary>
|
|
public const int NozzleZ4MoveFailAlarm = 40;
|
|
/// <summary>
|
|
/// 排料吸嘴Z5运动异常
|
|
/// </summary>
|
|
public const int NozzleZ5MoveFailAlarm = 41;
|
|
/// <summary>
|
|
/// 排料吸嘴Z6运动异常
|
|
/// </summary>
|
|
public const int NozzleZ6MoveFailAlarm = 42;
|
|
/// <summary>
|
|
/// 排料吸嘴Z7运动异常
|
|
/// </summary>
|
|
public const int NozzleZ7MoveFailAlarm = 43;
|
|
/// <summary>
|
|
/// 排料吸嘴Z8运动异常
|
|
/// </summary>
|
|
public const int NozzleZ8MoveFailAlarm = 44;
|
|
/// <summary>
|
|
/// 排料吸嘴Z9运动异常
|
|
/// </summary>
|
|
public const int NozzleZ9MoveFailAlarm = 45;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 排料吸嘴R1运动异常
|
|
/// </summary>
|
|
public const int NozzleR1MoveFailAlarm = 46;
|
|
/// <summary>
|
|
/// 排料吸嘴R2运动异常
|
|
/// </summary>
|
|
public const int NozzleR2MoveFailAlarm = 47;
|
|
/// <summary>
|
|
/// 排料吸嘴R3运动异常
|
|
/// </summary>
|
|
public const int NozzleR3MoveFailAlarm = 48;
|
|
/// <summary>
|
|
/// 排料吸嘴R4运动异常
|
|
/// </summary>
|
|
public const int NozzleR4MoveFailAlarm = 49;
|
|
/// <summary>
|
|
/// 排料吸嘴R5运动异常
|
|
/// </summary>
|
|
public const int NozzleR5MoveFailAlarm = 50;
|
|
/// <summary>
|
|
/// 排料吸嘴R6运动异常
|
|
/// </summary>
|
|
public const int NozzleR6MoveFailAlarm = 51;
|
|
/// <summary>
|
|
/// 排料吸嘴R7运动异常
|
|
/// </summary>
|
|
public const int NozzleR7MoveFailAlarm = 52;
|
|
/// <summary>
|
|
/// 排料吸嘴R8运动异常
|
|
/// </summary>
|
|
public const int NozzleR8MoveFailAlarm = 53;
|
|
/// <summary>
|
|
/// 排料吸嘴R9运动异常
|
|
/// </summary>
|
|
public const int NozzleR9MoveFailAlarm = 54;
|
|
|
|
/// <summary>
|
|
/// 镭射头检测异常
|
|
/// </summary>
|
|
public const int LaserCheckFailAlarm = 55;
|
|
|
|
/// <summary>
|
|
/// 轴不在原点报警
|
|
/// </summary>
|
|
public const int AxisNotAtHomeAlarm = 56;
|
|
|
|
/// <summary>
|
|
/// 测试治具光前异常报警
|
|
/// </summary>
|
|
public const int TextFixtureFiberAlarm = 57;
|
|
|
|
/// <summary>
|
|
/// 扫码失败报警
|
|
/// </summary>
|
|
public const int ScanBarCodeFailAlarm = 58;
|
|
}
|
|
}
|