documentation triggerSync with mermaid
This commit is contained in:
@@ -99,13 +99,13 @@ class MotionBase:
|
||||
Coord[{crdId}].TimeBaseSlew=1 //1E-4 is default
|
||||
Coord[{crdId}].DesTimeBase=0
|
||||
Coord[{crdId}].Q[0]=-3 // motion program waiting at start position
|
||||
Coord[{crdId}].Q[0]=-2 // motion program started and armed
|
||||
while({flag0}==0){{}}
|
||||
Coord[{crdId}].Q[0]=-1
|
||||
Gather.Enable=2
|
||||
while({flag1}==0){{}}
|
||||
Coord[1].DesTimeBase=Sys.ServoPeriod
|
||||
Coord[{crdId}].Q[0]=0 //
|
||||
Coord[{crdId}].Q[0]=-2 // 'start/frame event system' armed (triggerSync not used in these modes)
|
||||
while({flag0}==0){{}} // wait start trigger
|
||||
Coord[{crdId}].Q[0]=-1 // start trigger received
|
||||
Gather.Enable=2 // start acquire date
|
||||
while({flag1}==0){{}} // wait first frame trigger
|
||||
Coord[1].DesTimeBase=Sys.ServoPeriod //run motion
|
||||
Coord[{crdId}].Q[0]=0 // indicates that motion moves to first measurement point
|
||||
'''
|
||||
else: #sync_mode==2: triggerSync:trigsync_func called
|
||||
prg = f'''
|
||||
|
||||
Reference in New Issue
Block a user