![Jetter JVM-104-O09 Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/jetter/jvm-104-o09/jvm-104-o09_user-manual_3895231039.webp)
Jetter AG
Programming | 7
JVM-104-O09 User Manual
39 / 62
7.7.3 Digital functions
The multi-purpose outputs of the JVM-104-O09 provide the following digital fea-
tures:
■
Digital input
■
Digital output
■
PWM output
R 6010x0002
PWM duty cycle
This register lets you set the value of the PWM pulse control factor while the
PWM output is active.
Property
Description
Value for input
0 … 1000
Unit
0.1 %
Tab. 46: PWM pulse control factor for output PAx
R 6010x0006
PWM frequency
This register lets you set the PWM frequency to be output by the PAx output in
PWM mode.
Property
Description
Values
100 ... 1,000
Unit
Hertz
Tab. 47:
PWM frequency in Hz for output PAx
Activating the digi-
tal PWM output
The command register for the multi-purpose output PAx is bit-coded. By setting
several bits, you issue several commands simultaneously.
Example
Command 0x0005 activates the PWM output as digital low-side output.
Activate the PWM output PAx as follows: First set the PWM pulse control factor
and the PWM frequency:
1.
Set the PWM pulse control factor to 60 %:
R 6010x0002 := 600;
2.
Set the PWM frequency to 300 Hz:
R 6010x0006 := 300;
3.
Activate the PWM output PAx as low-side output, for example:
R 6010x0001 := 0x0005;
Activate output PAx
as digital input
►
Enter command 0x0000 inro R 6010x0001.
ð
Output PAx now takes over the function of a digital input In this case, bit 0 has
no significance.
R 6010x0010
Dither function - Divisor
This register lets you set the distance of the overlaid pulses. At value 2, every
second pulse is overlaid.
Property
Description
Value for input
0 … 1000
Unit
The xth pulse is overlaid
Tab. 48:
Dither function - Divisor