xPC Target | ![]() ![]() |
Driver Block Parameters
Encoder channel -- From the list choose, 1, 2, or 3. This parameter specifies which channel you use for this block. For the same board (same base address) two blocks cannot have the same channel number.
Counter initial value -- Enter the initial value of the counter. The value must be between 1 and .
Enable counter reset on px.2 (index input) -- If this check box is selected and the incremental encoder is moved over its index mark, the counter is reset to its initial value (default zero).
Sample time -- Base sample time or a multiple of the base sample time.
Base address -- Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
![]() | DM6814 | DM7420 | ![]() |