Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01
39-4 Revised March, 2012
39.3 _DMC_01_set_compare_ipulse_mode
FORMAT
I16 PASCAL _DMC_01_set_compare_ipulse_mode (U16 CardNo, U16 mode)
Purpose
Sets input phase mode for pulse interface module.
Parameters
Name
Data
Type
Unit Description
CardNo U16
Number
Unit
CardNo is between 0~15
Mode U16
Number
Unit
0: AB Phase
1: CW/CCW
Example
U16 CardNo = 0;
U16 mode = 0; //AB Phase
I16 status = _ DMC_01_set_compare_ipulse_mode (CardNo, mode);