| Contents | Index |
xPC Target Library for Real Time Devices
Hardware Output | Block Input Data Type | Scaling |
|---|---|---|
TTL | Double | counts |
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.
Base sample time or a multiple of the base sample time.
Enter the base address of the board. This entry must correspond to the DIP switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
0x300

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |