Chapter 13 Using PDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
13-2 Revised March, 2012
13.1 _DMC_01_ipo_set_svon
FORMAT
I16 PASCAL _DMC_01_ipo_set_svon (U16 CardNo, U16 NodeID, U16 SlotID, U16 ON_OFF)
Purpose
Sets Servo ON/OFF under PDO protocol mode.
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
ON_OFF U16 Selection
0: Servo OFF
1: Servo ON
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID =0;
U16 ON_OFF=1;
I16 status= _DMC_01_ipo_set_svon (CardNo, NodeID, SlotID, ON_OFF);