using HybirdFrameworkDriver.ModbusTcpMaster; namespace Service.PlcAfrica.Msg; public class PlcAfricaMsg { /// /// 当前换电模式 /// 0-无效 /// 1-手动模式 /// 2-自动模式 /// 3-本地模式 /// public ModbusProperty PowerChangeMode {get;set;}= new(47000); /// /// PLC/换电机器人状态 /// 0-启动/未就绪 /// 1-就绪 /// 2-工作中 /// 3-自动/单步操作完成 /// public ModbusProperty PowerChangeModeRobot {get;set;}= new(47001); /// /// 暂停状态 /// 0位-暂停(true为暂停),1位-急停状态(true为急停); /// public ModbusProperty SuspendedState {get;set;}= new(47002,start:0,length:2,type:ModbusDataType.Bit); /// /// 交通灯灯光功能 /// 0-不亮,1-亮红灯,2-绿灯,3-绿灯闪 /// public ModbusProperty TrafficLightFunction {get;set;}= new(47003); /// /// 被换车辆车型的标定 /// public ModbusProperty ModelCalibration {get;set;}= new(47004); /// /// 放电池仓位代码 /// 0-无 /// 1-1仓 /// 2-2仓 /// 3-3仓 /// “-”“ /// 110-维修仓1(预留) /// 119-消防仓 /// public ModbusProperty BatteryLocationCodeIn {get;set;}= new(47008); /// /// 取电池仓位代码 /// public ModbusProperty BatteryLocationCodeUp {get;set;}= new(47009); /// /// 站控操作指令 /// public ModbusProperty OperationInstruction {get;set;}= new(47010); /// /// 换电模式切换 /// 0,无 /// 1,切换至手动模式指令 /// 2,切换至自动模式指令 /// 3,切换至单步模式指令 /// public ModbusProperty ChangePowerMode {get;set;}= new(47011); /// /// 站控指令反馈 /// public ModbusProperty StationCommandFeedback {get;set;}= new(47012); /// /// 车上亏电电池高度 /// public ModbusProperty BatteryHeight {get;set;}= new(47014); /// /// 车上亏电电池长度 /// public ModbusProperty BatteryLength {get;set;}= new(47018); /// /// 车上亏电电池宽度 /// public ModbusProperty BatteryWidth {get;set;}= new(47022); /// /// 备用 /// public ModbusProperty standby01 {get;set;}= new(47050,start:0,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby02 {get;set;}= new(47050,start:1,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby03 {get;set;}= new(47050,start:2,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby04 {get;set;}= new(47050,start:3,length:1,type:ModbusDataType.Bit); /// /// 充电机散热风扇1 0-关闭排风扇,1-开启排风 /// public ModbusProperty ChargerCoolingFan1 {get;set;}= new(47050,start:4,length:1,type:ModbusDataType.Bit); /// /// 充电机散热风扇2 /// public ModbusProperty ChargerCoolingFan2 {get;set;}= new(47050,start:5,length:1,type:ModbusDataType.Bit); /// /// 充电机散热风扇3 /// public ModbusProperty ChargerCoolingFan3 {get;set;}= new(47050,start:6,length:1,type:ModbusDataType.Bit); /// /// 充电机散热风扇4 /// public ModbusProperty ChargerCoolingFan4 {get;set;}= new(47050,start:7,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby05 {get;set;}= new(47050,start:8,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby06 {get;set;}= new(47050,start:9,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby07 {get;set;}= new(47050,start:10,length:1,type:ModbusDataType.Bit); /// /// 备用 /// public ModbusProperty standby08 {get;set;}= new(47050,start:11,length:1,type:ModbusDataType.Bit); /// /// PLC向站控发送关机指令 0-无动作 /// 1-断电关机 /// public ModbusProperty SendShutdown {get;set;}= new(48002); /// /// 当前自动流程动作代码 /// public ModbusProperty ActionCode {get;set;}= new(48000); /// /// 电池定位伺服位移 /// public ModbusProperty BatteryPositioning {get;set;}= new(49016); /// /// y位移 /// public ModbusProperty YDisplacement {get;set;}= new(49020); /// /// x位移 /// public ModbusProperty XDisplacement {get;set;}= new(49024); /// /// z位移 /// public ModbusProperty ZDisplacement {get;set;}= new(49028); /// /// 当前生效故障码1 /// public ModbusProperty FaultCode1 {get;set;}= new(49032); /// /// 当前生效故障码2 /// public ModbusProperty FaultCode2 {get;set;}= new(49033); /// /// 当前生效故障码3 /// public ModbusProperty FaultCode3 {get;set;}= new(49034); /// /// 当前生效故障码4 /// public ModbusProperty FaultCode4 {get;set;}= new(49035); /// /// 当前生效故障码5 /// public ModbusProperty FaultCode5 {get;set;}= new(49036); /// /// 当前生效故障码6 /// public ModbusProperty FaultCode6 {get;set;}= new(49037); /// /// 当前生效故障码7 /// public ModbusProperty FaultCode7 {get;set;}= new(49038); /// /// 当前生效故障码8 /// public ModbusProperty FaultCode8 {get;set;}= new(49039); /// /// 当前生效故障码9 /// public ModbusProperty FaultCode9 {get;set;}= new(49040); /// /// 当前生效故障码10 /// public ModbusProperty FaultCode10 {get;set;}= new(49041); /// /// 转锁传感器1 /// public ModbusProperty TwistlockSensor1 {get;set;}= new(49042,start:0,length:1,type:ModbusDataType.Bit); /// /// 转锁传感器2 /// public ModbusProperty TwistlockSensor2 {get;set;}= new(49042,start:1,length:1,type:ModbusDataType.Bit); /// /// 吊具落座传感器1 /// public ModbusProperty SpreaderSeatSensor1 {get;set;}= new(49042,start:2,length:1,type:ModbusDataType.Bit); /// /// 吊具落座传感器2 /// public ModbusProperty SpreaderSeatSensor2 {get;set;}= new(49042,start:3,length:1,type:ModbusDataType.Bit); /// /// 光栅状态 /// public ModbusProperty RasterState {get;set;}= new(49042,start:4,length:1,type:ModbusDataType.Bit); /// /// 车辆到位传感器 /// public ModbusProperty VehiclePositionSensor {get;set;}= new(49042,start:5,length:1,type:ModbusDataType.Bit); /// /// 转锁传感器3 /// public ModbusProperty TwistlockSensor3 {get;set;}= new(49042,start:6,length:1,type:ModbusDataType.Bit); /// /// 转锁传感器4 /// public ModbusProperty TwistlockSensor4 {get;set;}= new(49042,start:7,length:1,type:ModbusDataType.Bit); /// /// 吊具落座传感器3 /// public ModbusProperty SpreaderSeatSensor3 {get;set;}= new(49042,start:8,length:1,type:ModbusDataType.Bit); /// /// 吊具落座传感器4 /// public ModbusProperty SpreaderSeatSensor4 {get;set;}= new(49042,start:9,length:1,type:ModbusDataType.Bit); /// /// 吊具电池有无 /// public ModbusProperty SlingDatteryAvailable {get;set;}= new(49042,start:10,length:1,type:ModbusDataType.Bit); /// /// 仓门全部关闭 /// public ModbusProperty AllWarehouseDoorsClosed {get;set;}= new(49042,start:11,length:1,type:ModbusDataType.Bit); /// /// 仓门全部打开 /// public ModbusProperty AllBarnDoorsOpen {get;set;}= new(49042,start:12,length:1,type:ModbusDataType.Bit); /// /// 预留 /// public ModbusProperty reserve01 {get;set;}= new(49042,start:13,length:1,type:ModbusDataType.Bit); /// /// 预留 /// public ModbusProperty reserve02 {get;set;}= new(49042,start:14,length:1,type:ModbusDataType.Bit); /// /// 预留 /// public ModbusProperty reserve03 {get;set;}= new(49042,start:15,length:1,type:ModbusDataType.Bit); /// /// 加载机1落座传感器1 0-不在位,1-在位 /// public ModbusProperty Loader1SeatSensor1 {get;set;}= new(49043,start:0,length:1,type:ModbusDataType.Bit); /// /// 加载机1落座传感器2 /// public ModbusProperty Loader1SeatSensor2 {get;set;}= new(49043,start:1,length:1,type:ModbusDataType.Bit); /// /// 加载机2落座传感器1 /// public ModbusProperty Loader2SeatSensor1 {get;set;}= new(49043,start:1,length:1,type:ModbusDataType.Bit); /// /// 加载机2落座传感器2 /// public ModbusProperty Loader2SeatSensor2 {get;set;}= new(49043,start:3,length:1,type:ModbusDataType.Bit); /// /// 加载机3落座传感器1 /// public ModbusProperty Loader3SeatSensor1 {get;set;}= new(49043,start:2,length:1,type:ModbusDataType.Bit); /// /// 加载机3落座传感器2 /// public ModbusProperty Loader3SeatSensor2 {get;set;}= new(49043,start:5,length:1,type:ModbusDataType.Bit); /// /// 加载机4落座传感器1 /// public ModbusProperty Loader4SeatSensor1 {get;set;}= new(49043,start:3,length:1,type:ModbusDataType.Bit); /// /// 加载机4落座传感器2 /// public ModbusProperty Loader4SeatSensor2 {get;set;}= new(49043,start:7,length:1,type:ModbusDataType.Bit); /// /// 加载机5落座传感器1 /// public ModbusProperty Loader5SeatSensor1 {get;set;}= new(49043,start:8,length:1,type:ModbusDataType.Bit); /// /// 加载机5落座传感器2 /// public ModbusProperty Loader5SeatSensor2 {get;set;}= new(49043,start:9,length:1,type:ModbusDataType.Bit); /// /// 加载机6落座传感器1 /// public ModbusProperty Loader6SeatSensor1 {get;set;}= new(49043,start:10,length:1,type:ModbusDataType.Bit); /// /// 加载机6落座传感器2 /// public ModbusProperty Loader6SeatSensor2 {get;set;}= new(49043,start:11,length:1,type:ModbusDataType.Bit); /// /// 加载机7落座传感器1 /// public ModbusProperty Loader7SeatSensor1 {get;set;}= new(49043,start:12,length:1,type:ModbusDataType.Bit); /// /// 加载机7落座传感器2 /// public ModbusProperty Loader7SeatSensor2 {get;set;}= new(49043,start:13,length:1,type:ModbusDataType.Bit); /// /// 加载机8落座传感器1 /// public ModbusProperty Loader8SeatSensor1 {get;set;}= new(49043,start:14,length:1,type:ModbusDataType.Bit); /// /// 加载机8落座传感器2 /// public ModbusProperty Loader8SeatSensor2 {get;set;}= new(49043,start:15,length:1,type:ModbusDataType.Bit); /// /// 换电机器人设备编号 /// public ModbusProperty RobotNumber {get;set;}= new(49110,length:20); /// /// PLC软件版本 /// public ModbusProperty PlcSoftwareVersion {get;set;}= new(49130); /// /// PLC硬件版本 /// public ModbusProperty PlcHardwareVersion {get;set;}= new(49140); /// /// 架载机状态 /// public ModbusProperty BoardStatus1 {get;set;}= new(49150,start:0,length:2,type:ModbusDataType.Bit); public ModbusProperty BoardStatus2 {get;set;}= new(49150,start:2,length:2,type:ModbusDataType.Bit); public ModbusProperty BoardStatus3 {get;set;}= new(49150,start:4,length:2,type:ModbusDataType.Bit); public ModbusProperty BoardStatus4 {get;set;}= new(49150,start:6,length:2,type:ModbusDataType.Bit); /// /// TBOX解锁 /// public ModbusProperty TboxUnlock {get;set;}= new(49151); /// /// 充电机1#进口温度 /// public ModbusProperty ChargerTempIn1 {get;set;}= new(49450); /// /// 充电机1#出口温度 /// public ModbusProperty ChargerTempOut1 {get;set;}= new(49451); /// /// 充电机2#进口温度 /// public ModbusProperty ChargerTempIn2 {get;set;}= new(49452); /// /// 充电机2#出口温度 /// public ModbusProperty ChargerTempOut2 {get;set;}= new(49453); /// /// 充电机3#进口温度 /// public ModbusProperty ChargerTempIn3 {get;set;}= new(49454); /// /// 充电机3#出口温度 /// public ModbusProperty ChargerTempOut3 {get;set;}= new(49455); /// /// 充电机4#进口温度 /// public ModbusProperty ChargerTempIn4 {get;set;}= new(49456); /// /// 充电机4#出口温度 /// public ModbusProperty ChargerTempOut4 {get;set;}= new(49457); /// /// 充电机5#进口温度 /// public ModbusProperty ChargerTempIn5 {get;set;}= new(49458); /// /// 充电机5#出口温度 /// public ModbusProperty ChargerTempOut5 {get;set;}= new(49459); /// /// 充电机6#进口温度 /// public ModbusProperty ChargerTempIn6 {get;set;}= new(49460); /// /// 充电机6#出口温度 /// public ModbusProperty ChargerTempOut6 {get;set;}= new(49461); /// /// 充电机7#进口温度 /// public ModbusProperty ChargerTempIn7 {get;set;}= new(49462); /// /// 充电机7#出口温度 /// public ModbusProperty ChargerTempOut7 {get;set;}= new(49463); /// /// 充电机8#进口温度 /// public ModbusProperty ChargerTempIn8 {get;set;}= new(49464); /// /// 充电机8#出口温度 /// public ModbusProperty ChargerTempOut8 {get;set;}= new(49465); /// /// 消防报警信号 /// public ModbusProperty FireAlarmSignal {get;set;}= new(49467); /// /// 取电池规格(长) /// public ModbusProperty BatterySizeTakeLength {get;set;}= new(49468); /// /// 取电池规格(宽) /// public ModbusProperty BatterySizeTakeWidth {get;set;}= new(49469); /// /// 取电池规格(高) /// public ModbusProperty BatterySizeTakeHigh {get;set;}= new(49470); /// /// 取电池规格(重量) /// public ModbusProperty BatteryTakeWeight {get;set;}= new(49471); /// /// 放电池规格(长) /// public ModbusProperty BatterySizePutLength {get;set;}= new(49472); /// /// 放电池规格(宽) /// public ModbusProperty BatterySizePutWidth {get;set;}= new(49473); /// /// 放电池规格(高) /// public ModbusProperty BatterySizePutHigh {get;set;}= new(49474); /// /// 放电池规格(重量) /// public ModbusProperty BatteryWeight {get;set;}= new(49475); /// /// X轴伺服故障码 /// public ModbusProperty XAxisServoFaultCode {get;set;}= new(49476); /// /// 备用(伺服故障码) /// public ModbusProperty BackupServoFaultCode {get;set;}= new(49478); /// /// Y轴伺服故障码 /// public ModbusProperty YAxisServoFaultCode {get;set;}= new(49480); /// /// Z轴伺服故障码 /// public ModbusProperty ZAxisServoFaultCode {get;set;}= new(49482); /// /// 电池定位伺服故障码 /// public ModbusProperty BatteryLocationFaultCode {get;set;}= new(49484); /// /// 原点位置状态 /// public ModbusProperty OriginPositionState {get;set;}= new(49436); /// /// 回原点状态 /// public ModbusProperty BackOriginState {get;set;}= new(49437); /// /// 中转仓落座传感器1 /// public ModbusProperty TransferBinSeatSensor1 {get;set;}= new(49438,start:0,length:1,type:ModbusDataType.Bit); /// /// 中转仓落座传感器2 /// public ModbusProperty TransferBinSeatSensor2 {get;set;}= new(49438,start:1,length:1,type:ModbusDataType.Bit); }