ADLINK PCI-8134A User Manual
Page 91

Function Library
• 81
@ Name
set_pls_outmode – Set the configuration for pulse command output. 
set_pls_iptmode – Set the configuration for feedback pulse input. 
set_cnt_src – Enable/Disable the external feedback pulse input 
@ Description
set_pls_outmode:
Configure the output modes of command pulse. There are two modes for 
command pulse output. 
set_pls_iptmode:
Configure the input modes of external feedback pulse. There are four 
types for feedback pulse input. Note that this function makes sense only 
when cnt_src parameter in set_cnt_src() function is enabled. 
set_cnt_src:
If external encoder feedback is available in the system, set the cnt_src 
parameter in this function to Enabled state. Then internal 28-bit up/down 
counter will count according configuration of set_pls_iptmode() function. 
Or the counter will count the command pulse output. 
@ Syntax
C/C++ (DOS, Windows)
U16 set_pls_outmode(I16 axis, I16 pls_outmode) 
U16 set_pls_iptmode(I16 axis, I16 pls_iptmode) 
U16 set_cnt_src(I16 axis, I16 cnt_src) 
Visual Basic (Windows)
set_pls_outmode (ByVal axis As Long, ByVal pls_outmode
As Long) As Integer
set_pls_iptmode (ByVal axis As Long, ByVal pls_iptmode
As Long) As Integer
set_cnt_src (ByVal axis As Long, ByVal cnt_src As Long)
As Integer
@ Argument
axis:axis number designated to configure pulse
Input/Output.
pls_outmode: setting of command pulse output mode for
OUT and DIR pins. 
pls_outmode=0, OUT/DIR type pulse output. 
pls_outmode=1, CW/CCW type pulse output. 
pls_iptmode: setting of encoder feedback pulse input
mode for EA and EB pins.
pls_iptmode=0, 1X AB phase type pulse input.
pls_iptmode=1, 2X AB phase type pulse input.
pls_iptmode=2, 4X AB phase type pulse input.
