DM6814 Incremental Encoder block
Simulink® Real-Time™ Library for Real Time Devices
Block Input Data Type
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.
Enter the initial value of the counter. The value must be between 1 and 216 − 1.
If this check box is selected, the counter is reset to its initial value (default zero) whenever the incremental encoder is moved over its index mark.
For this purpose you must connect the incremental encoder index output to pin P0.2 for encoder channel 1, P2.2 for channel 2, and P4.2 for channel 3.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
Enter the base address of the board. This entry must correspond
to the DIP switch setting on the board. For example, if the DIP switch
setting is 300 (hexadecimal), enter