Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
27.3 _DMC_01_set_rm_04pi_svon_polarity
FORMAT
I16 PASCAL _DMC_01_set_rm_04pi_svon_polarity (U16 CardNo, U16 NodeID, U16 SlotID,
U16 polarity)
Purpose
Sets POWER ON (SVON) level.
Parameters
Name
Data Type
CardNo
NodeID
SlotID
polarity
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 ON_OFF= 1;
U16 polarity = 0; //Set as Normal high
/* Enable POWER ON (Servo ON) */
I16 status = _DMC_01_04pi_set_poweron (CardNo, NodeID, SlotID, polarity);
/* When servo is Low active, the polarity value of this function must be set to 0 (Normal high) */
status = _DMC_01_set_rm_04pi_svon_polarity(CardNo, NodeID, SlotID, polarity);
27-4
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16
Selection
Description
CardNo is between 0~15
Node ID
Slot ID
0: Normal high
1: Normal low
Revised March, 2012