GrpcPrint/PrintC/PLC/EnvState.h
2024-04-01 18:26:14 +08:00

43 lines
1.5 KiB
C

#pragma once
typedef struct {
float m_PrintOxygen1Analog;
float m_PrintOxygen2Analog;
float m_OutsideOxygenAnalog;
// float m_CleanOxygenAnalog;
float m_HighPressureAnalog;
float m_ProtectGasPressureAnalog;
float m_PrintPressureAnalog;
float m_MoldMainCurrentPos; //打印主轴当前位置_R
float m_MoldMainCurrentLoad; //打印主轴当前扭矩_R
float m_MoldSlaveCurrentPos; //打印从轴当前位置_R
float m_MoldSlaveCurrentLoad; //打印从轴当前扭矩_R
float m_CleanMainCurrentPos; //清粉主轴当前位置_R
float m_CleanMainCurrentLoad; //清粉主轴当前扭矩_R
float m_CleanSlaveCurrentPos; //清粉从轴当前位置_R
float m_CleanSlaveCurrentLoad; //清粉从轴当前扭矩_R
float m_LoadAxisCurrentPos; //移载轴当前位置_R
float m_LoadAxisCurrentLoad; //移载轴当前扭矩_R
float m_ArmCurrentPos; //铺粉轴当前位置_R
float m_ArmCurrentLoad; //铺粉轴当前扭矩_R
float m_SupplyCurrentPos; //供粉转轴当前位置_R
float m_SupplyCurrentLoad; //供粉转轴当前扭矩_R
bool m_IsPrintCabinDoorClose;
float m_PowderJarCabinPressureVoltage;
float m_PowderJarCabinPressure;
float m_PowderLevelLength;
float m_PowderLevelValue;
float m_LinearLayerPos;
float m_MoldTheoryDistance;
float m_LinearActDistance;
float m_LinearActPulse;
float m_LineEncPulseEqu;
float m_PrintCar1RealWeight;
float m_PrintCar2RealWeight;
float m_CleanCar1RealWeight;
float m_CleanCar2RealWeight;
}EnvState;