using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EC.Utils.PLC
{
///
/// 命令编码
///
public partial class PLCCommandFunction_Package
{
///
/// 心跳线 =0
///
public static int HeartBeat { get; set; } = 1;
///
/// 空箱获取指令
///
public const int GetFullBox = 28;
///
///PC->PLC 空箱扫描核对
///
public const int PrintCodeError = 2;
///
/// 通知传送带移动
///
public const int BeltMove = 3;
///
///PLC->PC 传送带 移动完成
///
public const int MoveFinish = 3;
///
/// PLC->PC 台车到位
///
public const int WinderCarRec2 = 5;
///
/// 拨丝机拨丝请求
///
public const int RequestCutSilk = 6;
///
///PC->PLC 取丝指令
///
public const int CutBegin = 7;
///
///PLC->PC 拨丝一次回复
///
public const int ToBeltFinish = 8;
///
///PLC->PC 拨丝完成回复
///
public const int TakeAwayCodeGroup = 9;
///
/// PLC->PC 人工检验抓取 删除
///
public const int ManualQC = 10;
///
///PLC->PC 称重抓取指令
///
public const int WeighQC =11;
///
/// 称重完成回复
///
public const int WeighQCReply = 11;
///
/// 放置完成回复
///
public const int PutFinish = 27;
///
///PLC->MES 分拣请求
///
public const int RequestSorting = 12;
///
///PC->PLC 分拣指令
///
public const int Sorting = 13;
///
///PLC->PC 分拣完成回复
///
public const int SortingFinish = 14;
///
///PC->PLC 空箱推箱入位备料区
///
public const int NullBoxToReady = 15;
///
///PC->PLC 空箱从备料区入包装位回复
///
public const int NullBoxToPackageReply = 18;
///
///PC->PLC 备料区->包装位(残箱/空箱、箱型)
///
public const int NullBoxToPackage =32;
///
/// PLC->PC 机械手包装请求
///
public const int PackageRequest = 19;
///
/// PC->PLC 机械手包装指令 B011
///
public const int PackageBeging = 20;
///
/// 机械手抓取完成
///
public const int GraspFinish = 33;
///
/// PLC->PC 机械手包装完成回复
///
public const int PackageFinish = 21;
///
/// PC->PLC 残箱->备料区
///
public const int GetHalfBox = 22;
///
/// PLC->PC 调残箱回复
///
public const int GetHalfBoxFinish = 23;
///
/// PC->PLC 移出满箱
///
public const int BoxOut = 24;
///
/// PLC->PC 移出满箱回复
///
public const int BoxOutFinish = 25;
///
/// 残箱入残箱区
///
public const int ReactionBoxFinish = 26;
///
/// 放置称重丝饼指令
///
public const int WeigPlace = 27;
///
/// 放置成功回复
///
public const int WeigPlaceReply = 27;
///
/// 包装线故障信息
///
public const int LineError = 30;
///
/// 自动线汇流线故障信息
///
public const int ConvergeError = 31;
}
}