Chapter 15 Motion Status API | PCI-DMC-A01 / PCI-DMC-B01
15-2 Revised March, 2012
15.1 _DMC_01_motion_done
FORMAT
I16 PASCAL _DMC_01_motion_done (U16 CardNo, U16 NodeID, U16 SlotID,
U16* MC_status)
Purpose
Returns the current stage of motion of the Master Card.
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
MoSt U16* Selection
0: Stop motion displacement
1: Carry out motion displacement according to
acceleration time
2: Carry out motion displacement according to
velocity limit
3: Carry out motion displacement according to
deceleration time
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
U16 MoSt=0;
I16 status= _DMC_01_motion_done (CardNo, NodeID, SlotID, &MoSt);