13 synchronous starting modes, Synchronous starting modes – ADLINK PCI-8164 User Manual

Page 117

Advertising
background image

Operation Theory

105

4.1.13 Synchronous starting modes

Synchronous motion means more than one axes can be started by
a synchronous signal. The has three kinds of this motion.

1. Simultaneously start/stop by externl signal (STA/STP).

Example: 3 axes move simultaneously

I16 AxisArray[3]={0,1,2};
I16 DistArray[3]={5000,6000,2000};
I16 StartV[3]={0,0,0};
I16 MaxV[3]={10000,20000,50000};
I16 Tacc[3]={0.02, 0.02, 0.02};
I16 Tdec[3]={0.03, 0.03, 0.03};
_8164_set_tr_move_all(3, AxisArray, DistArray,

StartV, MaxV, Tacc,Tdec);

It will wait STA signal to start. You can call
_8164_stop_move_all(0) to cancel it.

2. Simultaneously start/stop by software function.

Example: 3 axes move simultaneously

I16 AxisArray[3]={0,1,2};
I16 DistArray[3]={5000,6000,2000};
I16 StartV[3]={0,0,0};
I16 MaxV[3]={10000,20000,50000};
I16 Tacc[3]={0.02, 0.02, 0.02};
I16 Tdec[3]={0.03, 0.03, 0.03};
_8164_set_tr_move_all(3, AxisArray, DistArray,

StartV, MaxV, Tacc,Tdec);

_8164_start_move_all(0);

3. Immediately start when other axes stop.

Example: Axis1 starts after Axis0 stops

_8164_set_sync_option(1,0,0,3,1);
_8164_start_tr_move(1, 1000, 0, 5000, 0.01,

0.01);

_8164_start_tr_move(0, 500, 0, 1000, 0.01, 0.01);

Advertising