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
CardNo
NodeID
SlotID
mode
Description
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);
Revised March, 2012
Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16
Selection
Figure 27.1 Parameter mode function
Description
CardNo is between 0~15
Node ID
Slot ID
0: AB phase
1: CW / CCW
2: Pulse Direction DIR+ in low level
3: Pulse Direction DIR+ in high level
27-3