Syntax, Argument – ADLINK PCI-8102 User Manual

Page 137

Advertising
background image

126

Function Library

the _8102_set_pls_iptmode() function. Else, the counter will count
the command pulse output.

@ Syntax

C/C++ (DOS, Windows 95/NT)

I16 _8102_set_pls_iptmode(I16 AxisNo, I16

pls_iptmode, I16 pls_logic);

I16 _8102_set_pls_outmode(I16 AxisNo, I16

pls_outmode);

I16 _8102_set_feedback_src(I16 AxisNo, I16 Src);

Visual Basic (Windows 95/NT)

B_8102_set_pls_iptmode (ByVal AxisNo As Integer,

ByVal pls_iptmode As Integer, ByVal

pls_logic As Integer) As Integer

B_8102_set_pls_outmode (ByVal AxisNo As Integer,

ByVal pls_outmode As Integer) As Integer

B_8102_set_feedback_src (ByVal AxisNo As Integer,

ByVal Src As Integer) As Integer

@ Argument

AxisNo: Axis number designated to configure the pulse input/out-
put. It varied according to users’ ID setting. The following is an
example:

pls_iptmode: Encoder feedback pulse input mode setting (EA/EB
signals).

card_id

Physical

axis

Axis No

0

0

0

1

1

1

0

2

1

3

2

0

4

1

Value Meaning

0

1X A/B

Advertising