Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
3-12 Revised March, 2012
5) Homing operation
See Fig. 3.20. Click on “Move” to begin executing the following procedure;
/* Set homing mode: 1~35, offset and velocity parameters */
rt = _DMC_01_set_home_config(gDMCCardNo, NodeID, SlotID, home_mode,
home_offset, StrVel, MaxVel, acc);
/* Start homing motion */
rt = _DMC_01_set_home_move(gDMCCardNo, NodeID, SlotID);
6) Stop homing motion
If you wish to stop the homing motion operation, you must hit the “STOP” button to
execute the following procedure:
/* Interrupt homing motion */
rt = _DMC_01_escape_home_move(gDMCCardNo, NodeID, SlotID);
7) Exit procedure
Click on the “Exit” button to quit and exit the procedure.
“_DMC_01_reset_card” and “_DMC_01_close” must be executed to exit this
function. Please refer to Section 3.12 “Exit procedure” for the function operations.