Position Counter Variable Ring - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

2.16 Position Counter Variable Ring

void i8092MF_VRING_ENABLE(BYTE
Description:
This function enables the linear counter of the assigned axes as variable ring
counters.
Parameters:
cardNo:
axis:
nVRing:
Return:
None
Example:
i8092MF_ VRING_ENABLE(1, AXIS_X, 9999);
//set the X axis of module 1 to be a ring counter. The encoder
//values will be 0 to 9999.
Max. ring encoder value = 9999
Note:
1. This function will set the LP and EP simultaneously.
2. If this function is enabled, the software limit function cannot be used.
void i8092MF_VRING_DISABLE(BYTE
Description:
This function disables the variable ring counter function.
Parameters:
cardNo:
axis:
Return:
None
ICPDAS
Module number
Axis or axes (Please refer to Table 2-1)
Maximum value of the ring counter
(-2,147,483,648 ~ +2,147,483,647)
Module number
Axis or axes (Please refer to Table 2-1)
WORD
cardNo,
axis,
The encoder value is 0 to 9999. When the
counter value reach 9999, an adding pulse
will cause the counter to reset to 0. When the
counter value is 0, a lessening pulse will let
the counter set to 9999.
WORD
cardNo,
axis)
22
I-8092F Software User Manual
DWORD
nVRing)

Advertisement

Table of Contents
loading

Table of Contents