Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 3-75
6) If you wish to use the MPG function, you must check the “MPG” checkbox and
execute the following procedure:
rt = _DMC_01_get_rm_input_value(CardNo, NodeID, SlotID, Port, &Value);
// Retrieve the value for bit 0 to bit 15 of the remote I/O module's input port
rt = _DMC_01_set_rm_mpg_axes_enable(CardNo, MasterNodeID, MasterSlotID,
NodeID, SlotID, enable, pulse_ratio, ratio, slope);
7) If you wish to use the JOG function, you must check the “Jog” checkbox and
execute the following procedure:
rt = _DMC_01_set_rm_jog_axes_enable (CardNo, MasterNodeID, MasterSlotID,
NodeID, SlotID, enable, jog_mode, jog_speed, sec); // Execute JOG motion
control
8) Stop MPG and JOG motion control
If you wish to stop MPG or JOG motion control, please uncheck the “MPG” or “JOG”
checkboxes to stop their motion control.
9) Reset SERVON status
If you wish to reset the SERVON status, you must uncheck the “MPG” or “JOG”
checkboxes then click on the “RESET” button to execute the following procedure:
rt = _DMC_01_set_command(gDMCCardNo, NodeID, SlotID, 0);
// Reset Command to 0
rt = _DMC_01_set_position(gDMCCardNo, NodeID, SlotID, 0);
// Reset Position to 0
10) 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.