Specifications

15 Real Time Devices
14
Port - From the list choose either A, B, or C. The port name defines which port
is used for this driver block. Each port has a maximum of 8 digital lines that
can be configured as outputs. In each case, one block is needed for each port.
Sampletime - Enter a base sample time or a multiple of the base sample time.
BaseAddress - 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
0x300
DM6804 Counter PWM
The DM6804 has one AM9513A chip with 5 counters.
The DM6804 PWM driver programs the AM9513A for PWM (Pulse Width
Modulation) signal generation (a square wave with fixed frequency and
variable duty cycle). The block has one input which defines the variable duty
cycle between 0 and 1.
Scaling Input to Output
Driver Block Parameters
Counter. From the list, choose 1, 2, 3, 4, or 5 to select which counter is used
with this driver block. In each case, one block is needed for each counter.
Frequency Base -From the list, choose F1=5MHz, F2=500kHz, F3=50kHz,
F4=5kHz, or F5=500Hz to set the base frequency.
Relative Output Frequency - Enter a value between 0 and 1. The Relative
Output Frequency is multiplied by the FrequencyBase to set the fixed
output frequency of the PWM-signal.
For example, if the output frequency of a square wave has to be 17.5 kHz, then
choose F2=500kHz as the Frequency Base and enter
0.175 as the Relative
Output Frequency. 500kHz x 0.175 = 87.5 kHz
Hardware Output Block Input Data Type Scaling
TTL double 0 to 1