User`s manual

http://www.adtechcn.com 63
Note: The library functions, namely, “
DeviceAddr_init() and TCP_Conn()
”, serve as the “gate
through which ADT-8840 passes. Only after the motion control card is successful initialized
by using these two functions, can other functions be used effectively.
)
Speed setting
2.1 Uniform motion
It is easy to carry out the setting. What the user needs to do is to set the drive velocity
with the same value as the start velocity. No need to set other parameters.
The related functions are as follows:
adt8840a_set_startv
adt8840a_set_speed
2.2 Acceleration and deceleration with symmetrical line
This is the most commonly seen method. The user should set the start velocity, drive
velocity and acceleration and automatic deceleration should be employed.
The related functions are as follows:
adt8840a_set_startv
adt8840a_set_speed
adt8840a_set_acc
2.3 Interpolation speed
With ADT8840, the user can choose any two, three or four axes for linear interpolation.
As for the interpolation speed, the system will take the speed parameter of the front-most
as the speed of the long axis. For example, at:
adt8840a inp_move2 (0,3,1,100,200)
It takes the speed parameter of the first axis—axis X, as the interpolation speed, and it has
noting to do with the sequence of the parameters. And at:
adt8840a inp_move3 (0,3,4,2,100,200,500)
It takes the speed parameter of the second axis—axis Y, as the interpolation speed, and it
has noting to do with the sequence of the parameters.
Note: The speed ratio of interpolation is only half that for single-axis motion. In
other words, the interpolation speed is only half of that of the single-axis motion
with the same feunction.