Chapter 28 4-Channel Pulse Interface (Mode 1) Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
28.10 _DMC_01_rm_04pi_md1_p_change
FORMAT
I16 PASCAL _DMC_01_rm_04pi_md1_p_change (U16 CardNo, U16 NodeID, U16 SlotID,
I32 NewPos)
Purpose
Replaces the current position with a new position value under RM04PI Mode 1.
Parameters
Name
Data Type
CardNo
NodeID
SlotID
NewPos
Example
U16 CardNo=0, NodeID =1, SlotID=0;
I32 NewPos=100000;
I16 status= _ DMC_01_rm_04pi_md1_p_change (CardNo, NodeID, SlotID, NewPos);
28-20
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
Number of
I32
pulses
Description
CardNo is between 0~15
Node ID
Slot ID
Position parameter to be replaced
Revised March, 2012