Chapter 15 Motion Status API | PCI-DMC-A01 / PCI-DMC-B01
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
CardNo
NodeID
SlotID
MoSt
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
U16 MoSt=0;
I16 status= _DMC_01_motion_done (CardNo, NodeID, SlotID, &MoSt);
15-2
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16*
Selection
Description
CardNo is between 0~15
Node ID
Slot ID
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
Revised March, 2012