Chapter 16 Motion Counter Value API | PCI-DMC-A01 / PCI-DMC-B01
16-6 Revised March, 2012
16.7 _DMC_01_get_current_speed
FORMAT
I16 PASCAL _DMC_01_get_current_speed (U16 CardNo, U16 NodeID, U16 SlotID,
I32* speed)
Purpose
Retrieves motion speed.
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
speed I32*
Pulses per
second
Retrieves motion speed
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
I32 speed;
I16 status= _DMC_01_get_current_speed (CardNo, NodeID, SlotID, &speed);