修改了关于马达的配置 加速 匀速电流均为4 加减速度为10000
This commit is contained in:
@ -436,6 +436,19 @@ void VinceControl::initMotor(QString motornetid /*= "non"*/)
|
||||
commonstr = "cfg psv=0\n";
|
||||
SendCommandtoMotor(commonstr, motornetid);
|
||||
GetCommonRetrun(buf, motornetid);
|
||||
commonstr = "cfg acc=10000\n";
|
||||
SendCommandtoMotor(commonstr, motornetid);
|
||||
GetCommonRetrun(buf, motornetid);
|
||||
commonstr = "cfg dec=10000\n";
|
||||
SendCommandtoMotor(commonstr, motornetid);
|
||||
GetCommonRetrun(buf, motornetid);
|
||||
commonstr = "cfg crn=4\n";
|
||||
SendCommandtoMotor(commonstr, motornetid);
|
||||
GetCommonRetrun(buf, motornetid);
|
||||
commonstr = "cfg cra=4\n";
|
||||
SendCommandtoMotor(commonstr, motornetid);
|
||||
GetCommonRetrun(buf, motornetid);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user