Chapter 18 1-Axis Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
18-6 Revised March, 2012
18.5 _DMC_01_p_change
FORMAT
I16 PASCAL _DMC_01_p_change (U16 CardNo, U16 NodeID, U16 SlotID, I32 NewPos)
Purpose
Replaces the current position with a 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
NewPos I32
Number of
pulses
Position parameter to be replaced
Example
U16 CardNo=0;U16 NodeID =1, SlotID=0;
I32 NewPos=100000;
I16 status= _DMC_01_p_change (CardNo, NodeID, SlotID, NewPos);