Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 9 Point to Point Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 9-5
9.4 _DMC_01_start_sdo_driver_new_position_move
FORMAT
I16 PASCAL _DMC_01_start_sdo_driver_new_position_move (I16 CardNo, U16 NodeID,
U16 SlotID, I32 Position,U16 abs_rel)
Purpose
Performs motion displacement with new position value.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
Position I32 Number Value of new position
abs_rel U16 Selection
0: Use absolute coordinates as reference
1: Use relative coordinates as reference
Example
U16 CardNo=0;
U16 NodeID =1;
I32 Position =20000000;
U16 abs_rel =1; //Motion displacement using relative coordinates as a reference
I16 status= _DMC_01_start_sdo_driver_r_move (CardNo, NodeID, SlotID, Position, abs_rel);