![Jetter JVM-104-O09 Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/jetter/jvm-104-o09/jvm-104-o09_user-manual_3895231036.webp)
Jetter AG
Programming | 7
JVM-104-O09 User Manual
36 / 62
Enabling fre-
quency/period mea-
suring or counter
function
The command register for the multi-purpose input MFQEx is bit-coded. By setting
several bits, you can issue several commands simultaneously.
You can activate frequency or period measuring or the counting function for multi-
purpose input MFQEx as follows:
1.
Activate the input:
To this end, enter value 0 into R 6010x0001.
2.
If you want to measure a frequency with gate time, then write a value not
equal to zero as gate time into R 6010x0005. Enable frequency measuring by
entering value 0x0040 into R 6010x0001.
If you want to count increments, enter 0x0030 into R 601x0001.
If you want to measure a period time, enter 0x0040 into R 601x0001.
ð
The result is contained in R 6010x0003.
7.7 Multi-purpose outputs
Introduction
The table below lists the functions of the multi-purpose outputs:
■
Current measurement
■
Digital output, adjustable as high-side or low-side output
■
Output of PWM signals
■
Operation as H-bridge
Placeholder x
Placeholder x is for clearer representation. The table below shows how place-
holders are used to address individual outputs. Throughout this chapter the fol-
lowing rules apply:
Placeholder
Value
Description
x
3
Multi-purpose output PA1
x
4
Multi-purpose output PA2
x
5
Multi-purpose output PA3
x
6
Multi-purpose output PA4
Tab. 40:
Description of the placeholder x
Example
x = 5 for multi-purpose output PA3. To activate the digital output of PA3 enter
command 0x0008 into R 601050001.
Registers - Over-
view
Each of the multi-purpose outputs PA1 to PA4 has got the following registers:
Register
Description
6010x0000
Status (bit-coded)
6010x0001
Command (bit-coded)
6010x0002
PWM pulse control factor (duty cycle) in steps of
0.1 %
6010x0005
Measured current of output PAx in mA
6010x0006
PWM frequency in Hz
6010x0007
Adjustable overcurrent limit in mA
Tab. 41:
Register overview - Multi-purpose inputs