Chapter 15 Motion Status API | PCI-DMC-A01 / PCI-DMC-B01
15-4 Revised March, 2012
Figure 15.1 Motion status
For a description of “Mode specific” bits” (bit 12 and bit 13), please see Table 15.2.
With the mode selection bits (bit 0 ~ bit 3) there are only 2 modes for the user to choose from.
These are MODE1 (bit 0 is ON) and MODE6 (bit 1 and bit 2 are ON)
Table 15.2 Mode specific bit description for motion status
Mode item
Mode-specific
Bit 13 is 1 Bit 12 is 1
Homing mode (MODE6) Homing error
Can carry out Homing
motion
DMCNET mode (MODE1) No Definition Mode enabled
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
U32 MoSt=0;
I16 status= _DMC_01_motion_status (CardNo, NodeID, SlotID, &MoSt);