Access from the user program
KL3361 and KL3362
61
Version: 2.2.0
R38: Index register 1 for input data
The content of this register (default value: 0x0000) determines which date is shown in the process data
register
•
of oscilloscope terminal KL3361
•
of oscilloscope terminal KL3362
The following indices are supported:
Index
Decimal
Date
0x0000
0
Current analog value
0x0001
1
Maximum value of a recording
0x0002
2
Minimum value of a recording
0x0003
3
RMS value of the recording: Sqrt((Sum (x
n
2
))/n
0x0004
4
Mean value of the recording: (Sum (x
n
))/n
0x0005
5
Peak-peak value of the recording
0x0006
6
Cycle duration
0x0007
7
Pulse width - high: switching threshold is trigger level 1
• The trigger starts as soon as four successive values are above the
switching threshold
• The trigger is stopped as soon as four successive values are below
the switching threshold
0x0008
8
Pulse width - low: switching threshold is trigger level 1
• The trigger starts as soon as four successive values are below the
switching threshold
• The trigger is stopped as soon as four successive values are above
the switching threshold
0x0009
9
Duty factor
0x000A
10
reserved for jitter T
max
0x000B
11
reserved for jitter T
min
0x000C
12
reserved for jitter T
mean
0x000D
13
Histogram max, i.e. the value that has occurred most frequently.
0x000E
14
Timer1LatchValue
0x000F
15
Timer1Run (read/write)
0x0010
16
Timer2LatchValue
0x0011
17
Timer2Run (read/write)
0x0012
18
Error counter inner envelope curve
0x0013
19
Error counter outer envelope curve
0x0014
20
Number of samples up to analog value greater than switching threshold
1
0x0015
21
Number of samples up to analog value less than switching threshold 1
0x8000
First sampling value.
The recorded sampling values are available from here. The MSB has to
be set to zero in order to determine the trace offset.
0x8001
Second sampling value.
0x8002
Third sampling value.
...
...
...
0x8063
Hundredth sampling value (in the delivery state, 100 values are stored).
...
...
...
0x8F9F
Four thousandth sampling value (a maximum of 4,000 values can be
stored).