Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 27-3
27.2 _DMC_01_set_rm_04pi_opulse_mode
FORMAT
I16 PASCAL _DMC_01_set_rm_04pi_opulse_mode (U16 CardNo, U16 NodeID,
U16 SlotID ,U16 mode)
Purpose
Sets output phase mode for pulse interface module.
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
mode U16 Selection
0: AB phase
1: CW / CCW
2: Pulse Direction DIR+ in low level
3: Pulse Direction DIR+ in high level
Description
Figure 27.1 Parameter mode function
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 mode=0; //Set input phase as AB phase.
I16 status = _DMC_01_set_rm_04pi_opulse_mode (CardNo, NodeID, SlotID, mode);