Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 3-53
5) Select motion mode and set motion distance.
Figure 3.78
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”.
6) 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.
7) Click on the “” or ““ button to execute point to point single-axis motion command.
As you have only set up motion in one axis, this motion will not be executed right
away. You must go back to 3) Set Servo Node ID to set the motion commands for
other axes first. Once the setting have been completed, click on the “Syn. Move”
button to execute synchronized motion control command.
Figure 3.79
The synchronized motion control command is executed as shown in the following
function:
rt = _DMC_01_sync_move(gDMCCardNo);
// After synchronized motion control is complete, the synchronized motion control
setting will be disabled. If you wish to use the synchronized motion control
command again, you must re-enable synchronized motion control.