8144_get_limit_logic – ADLINK PCI-8144 User Manual

Page 95

Advertising
background image

Function Library

85

_8144_get_limit_logic

Get the logic of PEL/MEL input signals

Description:

Get the information of PEL/MEL input signal logic setting.

Syntax:

I16 _8144_get_limit_logic(I16 AxisNo, I16

*LimitLogic )

B_8144_get_limit_logic(ByVal AxisNo As Integer,

LimitLogic As Integer )

Parameters:

I16 AxisNo

: Axis number of Target Axis.

I16 *LimitLogic

: Theinformation of 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