增加了关于双步进电机同步运行

This commit is contained in:
xin
2020-09-10 17:22:43 +08:00
parent 495f947827
commit 93e9d8d222
14 changed files with 58 additions and 9 deletions

View File

@ -102,6 +102,7 @@ public:
// Parameter: int port
//************************************
VinceControl(ProTools proto,int port);
~VinceControl();
//************************************
// Method: MoveToLocation 移动到某位置据0点
@ -120,8 +121,18 @@ public:
// Returns: void
// Qualifier:
//************************************
void Handshacke(QString motorid = "non");
//************************************
// Method: setSyncMode 设置时间为双马达同步模式
// FullName: VinceControl::setSyncMode
// Access: public
// Returns: void
// Qualifier:
//************************************
void setSyncMode();
//************************************
// Method: SettingZeroLocation 马达归零
// FullName: VinceControl::SettingZeroLocation
@ -305,6 +316,7 @@ private:
void SettingSpeedByThis(long Speed, QString motornetid = "non");
ByteBack TranslateBytedata(QByteArray buf, QString motornetid = "non");
void initme();
bool isSyncMotor;
};