![Jetter JVM-104-O09 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/jetter/jvm-104-o09/jvm-104-o09_user-manual_3895231040.webp)
Jetter AG
Programming | 7
JVM-104-O09 User Manual
40 / 62
R 6010x0011
Dither function - Setting the width of the dither signal in percent
This register lets you set the width of the dither signal. Value 100 corresponds to
± 10 %.
Property
Description
Value for input
0 … 1000
Unit
±0.1 %
Tab. 49:
Dither function - Setting the width of the dither signal in percent
7.7.4 Multi-purpose outputs PA3 and PA4 functioning as H-bridges
The JVM-104-O09 lets you control multi-purpose outputs PA3 and PA4 as H-
bridges.
To control an output as H-bridge, the program must include the following steps:
Clockwise rotation
1.
Activate the low-side output of PA3.
R 601050001 := 0x0005;
2.
Set PA3 to the PWM pulse control factor (duty cycle) of 100 %.
R 601050002 := 1000;
3.
Activate the high-side output of PA4.
R 601060001 := 0x0009;
4.
Set PA4 to the desired PWM pulse control factor (duty cycle), e.g. 50 %.
R 601060002 := 500;
ð
The H-bridge in clockwise rotation is configured with a 50 % pulse control fac-
tor (duty cycle).
Counterclockwise
rotation
1.
Activate the low-side output of PA4.
R 601060001 := 0x0005;
2.
Set PA4 to the PWM pulse control factor (duty cycle) of 100 %.
R 601060002 = 1000
3.
Activate the high-side output of PA3.
R 601050001 := 0x0009;
4.
Set PA3 to the desired PWM pulse control factor (duty cycle), e.g. 40 %.
R 601050002 := 400;
ð
The H-bridge in counterclockwise rotation is configured with a 40 % pulse
control factor (duty cycle).
7.8 Runtime registers
The JVM-104-O09 has several registers which are incremented by the operating
system at regular intervals. These registers can be used to easily carry out time
measurements in the application program.
Registers - Over-
view
The device is equipped with the following runtime registers:
Register
Description
R 201000
Application time base in milliseconds
R 201001
Application time base in seconds
R 201002
Application time base in R 201003 * 10 ms
R 201003
Application time base units for R 201002
R 201004
System time base in milliseconds
R 201005
System time base in microseconds
Tab. 50:
Overview of runtime registers