Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual
Page 247
Advertising

Chapter 16 Motion Counter Value API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012
16-5
16.6 _DMC_01_get_torque
FORMAT
I16 PASCAL _DMC_01_get_torque (U16 CardNo, U16 NodeID, U16 SlotID, U16* torque)
Purpose
Retrieves and returns the current torque counter value.
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
torque
U16*
Number
Current torque
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
U16 torque;
I16 status= _DMC_01_get_torque (CardNo, NodeID, SlotID, &torque);
Advertising
This manual is related to the following products: