4 motion interface i/o, 8144_set_limit_logic, Motion interface i/o – ADLINK PCI-8144 User Manual

Page 93

Advertising
background image

Function Library

83

6.4

Motion Interface I/O

_8144_set_limit_logic

Set the logic of PEL/MEL input signals

Description:

Set the active logic of specified axis’s PEL/MEL input signal.

Syntax:

I16 _8144_set_limit_logic(I16 AxisNo, I16

LimitLogic )

B_8144_set_limit_logic(ByVal AxisNo As Integer,

ByVal LimitLogic As Integer ) As Integer

Parameters:

I16 AxisNo

: Axis number of Target Axis.

I16 LimitLogic

: The logic of PEL/MEL input signal

Z

0: Negative logic

Z

1: Positive logic

Return Values:

ERR_ParametersInvalid

ERR_DeviceNotInitial

ERR_NoError

Card ID Physical axis AxisNo

0

0

0

1

1

2

2

3

3

1

0

4

1

5

2

6

3

7

2

0

8

...

...

Advertising