20 soft limit – ADLINK PCI-8154 User Manual

Page 214

Advertising
background image

204

Function Library

6.20 Soft Limit

@ Name

_8154_disable_soft_limit

– Disable soft limit function

_8154_enable_soft_limit

– Enable soft limit function

_8154_set_soft_limit

– Set soft limit

@ Description

_8154_disable_soft_limit

:

This function is used to disable the soft limit function.

_8154_enable_soft_limit

:

This function is used to enable the soft limit function. Once
enabled, the action of soft limit will be exactly the same as
physical limit.

_8154_set_soft_limit

:

This function is used to set the soft limit value.

@ Syntax

C/C++(Windows 2000/XP)

I16 _8154_disable_soft_limit(I16 AxisNo);

I16 _8154_enable_soft_limit(I16 AxisNo, I16

Action);

I16 _8154_set_soft_limit(I16 AxisNo, I32

PlusLimit, I32 MinusLimit);

Visual Basic (Windows 2000/XP)

B_8154_disable_soft_limit(ByVal AxisNo As Integer) As Integer

B_8154_enable_soft_limit(ByVal AxisNo As Integer,

ByVal Action As Integer) As Integer

B_8154_set_soft_limit(ByVal AxisNo As Integer,

ByVal PlusLimit As Long, ByVal MinusLimit As

Long) As Integer

Advertising