8.18 _ECAT_Slave_Motion_Get_Current_Speed
Syntax
U16 PASCAL _ECAT_Slave_Motion_Get_Current_Speed(U16 CardNo, U16 AxisNo,
U16 SlotNo, I32 *Speed)
Purpose
This is for acquiring the current speed of the axis.
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
AxisNo U16 Number Node ID
SlotNo U16 Number Slot ID
Speed I32* Value Current speed of the axis.
Example
U16 Status;
U16 CardNo=16,AxisNo=1,SlotNo=0;
I32 Speed;
Status = _ECAT_Slave_Motion_Get_Current_Speed (CardNo, AxisNo, SlotNo, &Speed);