init
This commit is contained in:
24
device/control/acs/buffercode/machcode.cpp
Normal file
24
device/control/acs/buffercode/machcode.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "machcode.h"
|
||||
|
||||
MachCode::MachCode()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
QString MachCode::getCode()
|
||||
{
|
||||
QString code("\n");
|
||||
code+=
|
||||
"ENABLE (Z)\n"
|
||||
"VEL(Z) = 2.000\n"
|
||||
"ACC(Z) = 20.00\n"
|
||||
"DEC(Z) = 20.00\n"
|
||||
"JERK(Z) = 200.0\n"
|
||||
"KDEC(Z) = 200.0\n"
|
||||
"PTP/e Z,2.2\n"
|
||||
"runF = 1\n"
|
||||
"STOP";
|
||||
|
||||
return code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user