Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
3-92 Revised March, 2012
Abs. checkbox: You must check this if you want motion displacement to use
absolute coordinates.
S-Curve checkbox: You must check this box if you wish to use the S-curve velocity
curve.
Dist. item: Motion distance. API function's argument variable “Distance”.
5) Enable or disable Normal Stop Interrupt
Figure 3.128
Enable item: Enables/disables Normal Stop Interrupt.
Normal Stop Counter item: Counts number of normal stops after Normal Stop
Interrupt is enabled.
6) If you wish to use Normal Stop Interrupt, you must click on the “Enable” button and
execute the following procedure:
/* Enable Interrupt*/
rt = _DMC_01_int_enable(gDMCCardNo, NodeID);
/* Disable Interrupt*/
rt = _DMC_01_int_disable(gDMCCardNo, NodeID);
/* Set Interrupt function to Normal Stop Interrupt*/
rt = _DMC_01_set_int_factor(gDMCCardNo, NodeID,1);
/* 1: Normal Stop: Triggers after any kind of motion is completed (Mode2) */
/* 2: Next Buffer: Triggers when executing Buffer action (Mode2) */
/* 3: Acceleration End: Triggers when acceleration ends (Mode2) */
/* 4: Deceleration Start: Triggers when deceleration starts (Mode2) */
/* 5: Sdo Finish: (Function not available) */
/* 6: DMC Cycle Start: Triggers when DMC Cycle starts */
/* 7: RM04PI-FIFO: Triggers when 04PI FIFO starts(Mode1) */
/* 8: User define: (Function not available) */
7) Set Servo Motor Power ON/OFF(servo on/servo off)
Click on the “SVON” button to execute the following procedure:
rt = _DMC_01_ipo_set_svon(gDMCCardNo, NodeID, SlotID , ON_OFF);
// ON_OFF: 0 – Servo Power OFF; 1 – Servo Power ON