PCI-6601 Incremental Encoder block (not recommended)
Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.
To open this library, type
xpcobsoletelib in the Command
From the list, select a channel number between
If you want to attach a 3-wire encoder, do so by connecting the channel A signal to a SOURCE pin, the channel B signal to the AUX pin, and the index signal to the GATE pin.
From the list, select a counting mode:
Quadrature Mode X1
Quadrature Mode X2
Quadrature Mode X4
Synchronous Source Mode
The initial count specifies the initial value for the counter. Enter a nonnegative integer.
Select this check box to have the count value reset to the value of Initial count at each index pulse.
If the Reload at index pulse check box is selected, the Index phase parameter specifies the phase of the quadrature signals during which the count will be reloaded with Initial count. The count is reloaded in response to a channel index pulse. From the list, select one of the following:
A low B low
A low B high
A high B low
A high B high
You can apply a digital debouncing filter to the input pins prior to processing. From the list, select one of the following filter types:
Synchronize input to Timebase 3 (20
Minimum pulse width 5 microsec
Minimum pulse width 1 microsec
Minimum pulse width 500 nanosec
Minimum pulse width 100 nanosec
Minimum pulse width 25 nanosec
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
If only one board of this type is in the target computer, enter
locate the board.
If two or more boards of this type are in the target computer, enter the bus number and the
PCI slot number of the board associated with this driver block. Use the format
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')