Streszczenie treści zawartej na stronie nr. 1
DELTA ELECTRONICS CO., LTD.
PCI-DMC-A01
PCI-DMC-B01
High-Speed PCI 12-Axis Motion Control Card
Programming Manual
Version: 1.11.1
Streszczenie treści zawartej na stronie nr. 2
Streszczenie treści zawartej na stronie nr. 3
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual About this Manual User Information Please keep this manual in a safe place. This manual is subject to change without notice due to the release of new products, improvements and changes in technologies, and/or modifications to data and forms. This manual may not be copied or reproduced in whole or in part without the express written consent of Delta Electronics. Trademarks Windows NT/2000/XP, Visual Studio, Visual C++, Visual BASIC are al
Streszczenie treści zawartej na stronie nr. 4
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual Table of Contents Chapter 1 Introduction to the API Function Library --------------------------------------------------- 1-1 1.1 Using the Function Libraries ---------------------------------------------------------------------- 1-1 1.2 Edit New Project ------------------------------------------------------------------------------------- 1-1 1.2.1 Using VC ----------------------------------------------------------------------------------- 1-1 1.
Streszczenie treści zawartej na stronie nr. 5
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 3.7 Velocity Motion Control (2) ----------------------------------------------------------------------- 3-19 3.7.1 Function List ------------------------------------------------------------------------------ 3-19 3.7.2 Sample Application ---------------------------------------------------------------------- 3-19 3.8 Point to Point Motion Control -------------------------------------------------------------------- 3-21 3.8.1 Overview -------------
Streszczenie treści zawartej na stronie nr. 6
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 3.18 Change Velocity ------------------------------------------------------------------------------------ 3-63 3.18.1 Function List ------------------------------------------------------------------------------ 3-63 3.18.2 Sample Application ---------------------------------------------------------------------- 3-63 3.19 Remote I/O Module-I/O Port --------------------------------------------------------------------- 3-67 3.19.1 Function List ----
Streszczenie treści zawartej na stronie nr. 7
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 3.30 Axis Group ----------------------------------------------------------------------------------------- 3-116 3.30.1 Function List ---------------------------------------------------------------------------- 3-116 3.30.2 Sample Application -------------------------------------------------------------------- 3-116 3.31 Speed Continue ---------------------------------------------------------------------------------- 3-119 3.31.1 Function List ---
Streszczenie treści zawartej na stronie nr. 8
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 6.14 _DMC_01_get_dio_input -------------------------------------------------------------------------- 6-9 6.15 _DMC_01_get_cycle_time ------------------------------------------------------------------------ 6-9 6.16 _DMC_01_initial_bus2 ---------------------------------------------------------------------------- 6-10 6.17 _DMC_01_motion_cnt ---------------------------------------------------------------------------- 6-10 Chapter 7 Servo Drive Par
Streszczenie treści zawartej na stronie nr. 9
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual Chapter 12 Torque Motion Control Packet Protocol API -------------------------------------------- 12-1 12.1 _DMC_01_set_torque_mode ------------------------------------------------------------------- 12-2 12.2 _DMC_01_set_torque ---------------------------------------------------------------------------- 12-3 12.3 _DMC_01_set_torque_stop --------------------------------------------------------------------- 12-4 12.4 _DMC_01_set_torque_velocity_li
Streszczenie treści zawartej na stronie nr. 10
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual Chapter 18 1-Axis Motion Control API -------------------------------------------------------------------- 18-1 18.1 _DMC_01_start_tr_move ------------------------------------------------------------------------ 18-2 18.2 _DMC_01_start_sr_move ------------------------------------------------------------------------ 18-3 18.3 _DMC_01_start_ta_move ------------------------------------------------------------------------ 18-4 18.4 _DMC_01_start_sa_mo
Streszczenie treści zawartej na stronie nr. 11
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 20.13 _DMC_01_start_spiral_xy --------------------------------------------------------------------- 20-27 20.14 _DMC_01_start_spiral2_xy -------------------------------------------------------------------- 20-29 20.15 _DMC_01_start_v3_arc_xy -------------------------------------------------------------------- 20-31 20.16 _DMC_01_start_v3_arc2_xy ------------------------------------------------------------------ 20-33 20.17 _DMC_01_start_v3_arc3_x
Streszczenie treści zawartej na stronie nr. 12
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 25.8 _DMC_01_set_rm_output_active -------------------------------------------------------------- 25-9 Chapter 26 MPG and JOG Operation API ----------------------------------------------------------------- 26-1 26.1 _DMC_01_set_rm_mpg_axes_enable ------------------------------------------------------- 26-2 26.2 _DMC_01_set_rm_mpg_axes_enable2 ------------------------------------------------------ 26-4 26.3 _DMC_01_set_rm_jog_axes_enable ----------
Streszczenie treści zawartej na stronie nr. 13
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 29.3 _DMC_01_rm_04da_get_return_code ------------------------------------------------------- 29-4 29.4 _DMC_01_rm_04da_set_output_range ------------------------------------------------------ 29-5 29.5 _DMC_01_rm_04da_set_output_enable ----------------------------------------------------- 29-6 29.6 _DMC_01_rm_04da_set_output_overrange ------------------------------------------------ 29-7 29.7 _DMC_01_rm_04da_set_output_error_clear ----------------
Streszczenie treści zawartej na stronie nr. 14
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual 33.3 _DMC_01_master_alm_code ------------------------------------------------------------------- 33-4 33.4 _DMC_01_slave_error ---------------------------------------------------------------------------- 33-5 Chapter 34 Multi-Axis Motion Control API --------------------------------------------------------------- 34-1 34.1 _DMC_01_multi_axes_move ------------------------------------------------------------------- 34-2 34.2 _ DMC_01_liner_speed_mas
Streszczenie treści zawartej na stronie nr. 15
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual Chapter 38 Limit Reversal API ------------------------------------------------------------------------------- 38-1 38.1 _ DMC_01_rm_04pi_set_MEL_polarity ------------------------------------------------------ 38-2 38.2 _ DMC_01_rm_04pi_get_MEL_polarity ------------------------------------------------------ 38-3 38.3 _ DMC_01_rm_04pi_set_PEL_polarity ------------------------------------------------------- 38-4 38.4 _ DMC_01_rm_04pi_get_PEL_polarit
Streszczenie treści zawartej na stronie nr. 16
PCI-DMC-A01 / PCI-DMC-B01 Programming Manual Chapter 42 Other API -------------------------------------------------------------------------------------------- 42-1 42.1 _misc_app_get_circle_endpoint ---------------------------------------------------------------- 42-2 42.2 _misc_app_get_circle_center_point ----------------------------------------------------------- 42-3 42.3 _misc_set_record_debuging -------------------------------------------------------------------- 42-4 42.4 _misc_open_r
Streszczenie treści zawartej na stronie nr. 17
Chapter 1 Introduction to the API Function Library | PCI-DMC-A01 / PCI-DMC-B01 Chapter 1 Introduction to the API Function Library PCI-DMC-A01 provides a function library and dynamic-link library (DLL) which can be called upon to perform functions as you require. The following sections will detail how you can incorporate these function libraries into your development environment. 1.1 Using the Function Libraries Once you have installed the program you will find two libraries under the
Streszczenie treści zawartej na stronie nr. 18
Chapter 1 Introduction to the API Function Library | PCI-DMC-A01 / PCI-DMC-B01 2. Under the Borland C++ Build development environment, select View/ Project Manager Add the function library “..\lib\BCBPCI_DMC_01.lib” to your new project. 3. Once set, you can begin using the API to control PCI-DMC-A01. 1.2.3 Using VB Under the installation directory “..\ \PCI-DMC-A01\inc\VB” you will find “PCI_DMC_01.bas” and “PCI_DMC_01_Err.bas”. Add these two files to your new project to use the API
Streszczenie treści zawartej na stronie nr. 19
Chapter 2 Command Return Values and Messages | PCI-DMC-A01 / PCI-DMC-B01 Chapter 2 Command Return Values and Messages 2.1 Error Codes When you use API for PCI-DMC-A01, the function library will generally return one of the error codes listed in Table 2.1. If the API function's return value is 0, then the API function was executed successfully. If the API function returns some other error code, then an error may have occurred during operation or in the hardware connection. You can troubl
Streszczenie treści zawartej na stronie nr. 20
Chapter 2 Command Return Values and Messages | PCI-DMC-A01 / PCI-DMC-B01 Error Return Code Error Code Error Description (Decimal) 21 ERR_SpeedLimitError Defined velocity exceeds maximum velocity 22 ERR_Security_Page Security page must be smaller than 16 23 ERR_Slave_Security_op Security slave_operate command failed 24 ERR_channel_no channel no error “_DMC_01_pci_initial” AP function must be 25 ERR_start_ring_first launched first 26 ERR_NodeIDError NodeID does not exist 27 ERR_MailBox