User`s manual
http://www.adtechcn.com   31 
Uart_show 
Switch for showing the debugging state 
of serial interface 
36  
adt8840a_set_stop0_mode Stop mode (software buffer)  36 
adt8840a_set_stop1_mode Stop mode (software buffer)  37 
adt8840a_set_limit_mode Limit mode  37 
adt8840a_set_pulse_mode Pulse mode  37  
adt8840a_get_status  Get single-axis drive status  38 
adt8840a_get_inp_status Get interpolation drive status  39 
Drive status 
detection 
adt8840a_get_int_status Get interruption status  39 
adt8840a_set_acc  Set acceleration (software buffer)  39 
adt8840a_set_startv  Set start velocity (software buffer)  40 
adt8840a_set_speed  Set drive velocity (software buffer)  40 
adt8840a_set_command_pos Set logic counter (software buffer)  41 
Motion 
parameters 
setup 
adt8840a_set_actual_pos Set actual counter (software buffer)  41 
adt8840a_get_command_pos  Get logic position  41 
adt8840a_get_actual_pos  Get actual position  42 
adt8840a_get_speed  Get drive velocity  42 
adt8840a_all_ command _pos  Get logic positions of four axes  42 
adt8840a_all_actual_pos Get actual positions of four axes  43 
Motion 
parameters 
detection 
adt8840a_all_speed  Get drive velocities of four axes  43 
adt8840a_pmove 
Single-axis preset drive (software 
buffer) 
43 
adt8840a_pmove2 
Dual-axis interactive drive(software 
buffer) 
44 
adt8840a_pmove3 
Tri-axis interactive drive(software 
buffer) 
44 
adt8840a_pmove4 
Fourl-axis interactive drive(software 
buffer) 
45 
adt8840a_dec_stop  Deceleration stop  45 
adt8840a_sudden_stop  Sudden stop  45 
adt8840a_inp_move2 Dual-axis interpolation (software buffer)  46 
adt8840a_inp_move3  Tri--axis interpolation (software buffer)  46 
adt8840a_inp_move4 Four-axis interpolation (software buffer)  46 
adt8840a_continue_move  Continuous motion (software buffer)  47 
ArcComp Arc parameters computation 47 
Drive 
adt8840a_arc Arc machining  47 
adt8840a_read_bit  Read single input point  48 
adt8840a_write_bit  Output single point  48 
Switch 
value 
adt8840a_sudden_write_bit Output single point (software buffer)  49 
  adt8840a_read_8bit  Continuously read 8 input points’ status  49 
adt8840a_Clear_Int  Clear interruption mark  49 Interrupt 
adt8840a_Enable_ADT834INT
Enable interruption service for motion 
control 
50 










