User`s manual

http://www.adtechcn.com 72
'********************set mode of stop1 signal *********************
'This function is used to set the mode of stop1 signal
'Parameters: axis-axis number
' Value: 0—disabled; 1—enabled
' Logic: 0—low level enabled; 1—high level enabled
'Default values: disabled
'Return value=0: correct; return value=1: error
'*************************************************************
Public Function Setup_Stop1Mode(ByVal axis As Integer, ByVal value As Integer, ByVal logic As
Integer) As Integer
Setup_Stop1Mode = adt8840a_set_stop1_mode(devnum, 0, axis, value, logic)
End Function
1.3 Implementation module
1.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.