User`s manual

http://www.adtechcn.com 86
2.3 Implementation module
2.3.1 Interface configuration
Note:
(1) Speed setting—to set start velocity, drive velocity and acceleration of each axis;
position setting—to set the drive pulse of each axis; drive information—to display the
logic position, actual position and running speed of each axis in a real-time manner.
(2) Drive objective—to select the drive objective to determine the axis that’s engaged in
the interaction or interpolation.
(3) Interaction—used to send the single-axis drive command to all axes selected as drive
objective; interpolation—used to send the interpolation command to all axes selected as
drive objective; stop—stop pulse output of all axes.
Pulse is taken as the unit for all abovementioned data.
2.3.2 The initialization codes of ADT-8840 are provided at the initialization item in the
window. The codes newly added by the user are described as follows:
SetDlgItemText(IDC_EDIT_OPPIP,"192.168.0.123");// designate IP address of control card
SetDlgItemText(IDC_EDIT_MAC,"00-AB-CD-00-01-23");//designate network adapters
address SetDlgItemText(IDC_EDIT_INFO," please initialize first ");
DeviceAddr_init();//initialize the device’s interface address
//******* set the default start velocity as 100*********
m_nStartvX = 100;