enhance shapepath for compact code in grid scan

This commit is contained in:
2023-06-16 16:23:17 +02:00
parent 8fd22bb11b
commit ad149fb750
3 changed files with 194 additions and 77 deletions

View File

@@ -92,7 +92,7 @@ class MotionBase:
if sync_mode==1:
prg = f'\n{flag0}=0\n' if sync_flag&1 else ''
prg += f'''
Coord[{crdId}].Q[0]=-2 motion program started and armed
Coord[{crdId}].Q[0]=-2 // motion program started and armed
Coord[{crdId}].TimeBaseSlew=1 //1E-4 is default
Coord[{crdId}].DesTimeBase=0
while({flag0}==0){{}}