增加了关于双步进电机同步运行
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user