Access from the user program
KL3361 and KL3362
60
Version: 2.2.0
R35: Sample rate
Interval (T
s
) between two samples (scans) in microseconds.
The sampling speed is limited to T
s
=100 µs (10 kHz) by the evaluation of the trigger detectors.
mode enables sampling at T
s
=10 µs (100 kHz).
Data transfer rate on the K-bus
The sample rate influences the transmission speed with which the oscilloscope terminal can be ad-
dressed by the K-Bus.
This must be taken into account when considering your PLC cycle time:
• A sample rate of 100 µs can only accommodate bus cycles with a minimum duration of 3 ms!
• A sample rate of 150 µs can only accommodate bus cycles with a minimum duration of 2 ms!
• The
mode can only accommodate K-bus cycles with a minimum duration of
2 ms!
R36: Sample amount
Number of sampling values to be recorded. A maximum of 4,000 values can be recorded (default 100).
R37: Index register for output data (terminal parameters)
•
Low byte:
The content of the Low byte of this register determines which parameter of the oscilloscope terminal
◦ KL3361 is assigned process data register
◦ KL3362 is assigned process data register
or process data register
is described. The decimal value of the indices corresponds to the register number of the parameter
to be written.
The following indices are supported:
Index
Decimal
Parameter
0x00
00
Default value
0x29
Trigger unit 1, switching threshold 1
0x2A
Trigger unit 1, switching threshold 2
0x2B
Trigger unit 1, pulse width
0x2C
Trigger unit 1, valid trigger time
0x2F
Trigger unit 2, switching threshold 1
0x30
Trigger unit 2, switching threshold 2
0x31
Trigger unit 2, pulse width
0x32
Trigger unit 2, valid trigger time
•
High byte:
The content of the High byte of this register determines which parameter of the oscilloscope terminal
◦ KL3361 is assigned process data register
◦ KL3362 is assigned process data register
or process data register
is described (see