User`s manual

http://www.adtechcn.com 4
8.6 ADT8840A_ FIFO_INP_MOVE4() ................................................................................................. 54
) 9. System....................................................................................................................................... 56
9.1 ADT8840A_FS_REMOVE( )........................................................................................................ 55
9.2
ADT8840A_NET_SETUP( ).......................................................................................................... 55
9.3
ADT8840A_SET_SPEED_MODE( )................................................................................................ 55
9.4
ADT8840A_SET_BUFF_MODE( ) ................................................................................................. 56
9.5
ADT8840A_SET_PULSEMM( ) ..................................................................................................... 56
9.6
ADT8840A_GET_PULSEMM( )..................................................................................................... 56
9.7
ADT8840A_UPLOAD_SYSFILE( )................................................................................................. 56
9.8
ADT8840A_DOWNLOAD_SYSFILE( )........................................................................................... 57
9.9
ADT8840A_GO_HOME( ) ............................................................................................................ 57
9.10
ADT8840A_STOP_ALL( )........................................................................................................... 58
) 10. G Code .................................................................................................................................... 60
10.1 ADT8840A_DOWNLOAD_GFILE ( )............................................................................................ 59
10.2
ADT8840A_UPLOAD_GFILE() ................................................................................................... 59
10.3
ADT8840A_G_CODE( ) ............................................................................................................. 59
10.4
ADT8840A_RUN_GFILE( )......................................................................................................... 59
10.5
ADT8840A_G_STATUS( )........................................................................................................... 60
10.6
ADT8840A_GET_GBUFF_DEPTH ( )........................................................................................... 60
Chapter VI Making Use of Functions In Motion Control Library......................... 62
) 1. Overview of ADT-8840 Function Library................................................................................. 62
) 2. Use of dynamic-link library under Windows environment ....................................................... 62
) 3. Help for commissioning in development of application ........................................................... 63
) 4. Average of execution time of function command ..................................................................... 63
Chapter VII Major Points on Development of Motion Control Card ....................... 63
) Initialization of card...................................................................................................................... 63
) Speed setting ................................................................................................................................. 63
) Signals of STOP 0 and STOP 1..................................................................................................... 65
Chapter VIII Examples of programming for development of motion control card. 66
)
1. VB programming ...................................................................................................................... 66
) 2. VC programming ...................................................................................................................... 79
Chapter IX Network configuration and interface commissioning............................. 95
)
1. Overview................................................................................................................................... 95
) 2. Network environment and host's configuration ........................................................................ 95
) 3. Search or perform network configuration through serial interface ........................................... 95
) 4. Network configuration of host (upper PC).............................................................................. 100
) 5. Network connection and troubleshooting ............................................................................... 105
) 6. Information ............................................................................................................................. 108
) 7. Commissioning and observing program running through serial interface .............................. 108
Chapter X Precautions and Troubleshooting.......................................................... 109
)
Precautions.................................................................................................................................. 109
) Maintenance .............................................................................................................................. 109
) Troubleshooting .......................................................................................................................... 110