9 software limit function, Software limit function – ADLINK PCI-8164 User Manual

Page 152

Advertising
background image

140

Operation Theory

4.9 Software Limit Function

The card provides two software limits for each axis. The soft limit
is extremely useful in protecting a mechanical system as it works
like a physical limit switch when correctly set.

The soft limits are built on comparators 1 and 2 (Refer to section
4.7.1) and the comparing source is the command position counter.

A preset limit value is set in comparators 1 and 2, then, when the
command position counter reaches the set limit value, the card
reacts by generating the stop immediately or decelerates to stop
pulse output.

X

To set the soft limit: _8164_set_softlimit();

X

To enable soft limit: _8164_enable_softlimit();

X

To disable soft limit: _8164_diable_softlimit();

Note: The soft limit is only applied to the command position and
not the feedback position (Refer to 4.4). In cases where the mov-
ing ratio is not equal to 1, it is necessary to manually calculate its
corresponding command position where the soft limit would be,
when using _8164_set_softlimit().
Related functions:

X

_8164_set_softlimit(), _8164_enable_softlimit(),
_8164_diable_softlimit()

Refer to section 6.16

Advertising