fix(Tray): 托盘传感器显示修改
This commit is contained in:
@@ -18,6 +18,12 @@ bool ModbusAddressMap::isValid(QString *error) const
|
||||
const QList<QPair<QString, int> > coilAddresses = QList<QPair<QString, int> >()
|
||||
<< qMakePair(QString("clearAlarmCommand"), clearAlarmCommand)
|
||||
<< qMakePair(QString("plcRunning"), plcRunning)
|
||||
<< qMakePair(QString("trayPresent1"), trayPresent1)
|
||||
<< qMakePair(QString("trayPresent2"), trayPresent2)
|
||||
<< qMakePair(QString("trayPresent3"), trayPresent3)
|
||||
<< qMakePair(QString("trayPresent4"), trayPresent4)
|
||||
<< qMakePair(QString("trayPresent5"), trayPresent5)
|
||||
<< qMakePair(QString("trayPresent6"), trayPresent6)
|
||||
<< qMakePair(QString("plcReady"), plcReady)
|
||||
<< qMakePair(QString("robotIdle"), robotIdle)
|
||||
<< qMakePair(QString("robotRunning"), robotRunning)
|
||||
|
||||
@@ -8,6 +8,12 @@ struct ModbusAddressMap
|
||||
int clearAlarmCommand = 3;
|
||||
|
||||
int plcRunning = 817;
|
||||
int trayPresent1 = 820;
|
||||
int trayPresent2 = 821;
|
||||
int trayPresent3 = 822;
|
||||
int trayPresent4 = 823;
|
||||
int trayPresent5 = 824;
|
||||
int trayPresent6 = 825;
|
||||
int safetyDoorClosed = 826;
|
||||
int safetyDoor1Closed = 827;
|
||||
int safetyDoor2Closed = 828;
|
||||
|
||||
Reference in New Issue
Block a user