![Beckhoff KL3102 Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/beckhoff/kl3102/kl3102_documentation_2719375039.webp)
Access from the user program
KL3102, KL3112, KL3122
39
Version: 3.2
•
R34: User scaling - gain (A_w)
16 bit signed integer*2
-8
This register contains the scaling factor of the user straight-line equation (
line equation is enabled via register
.
•
R35: Limit value 1 (Y_2)
[0x0000]
If the process data are outside this threshold, the appropriate bits are set in the status byte.
•
R36: Limit value 2 (Y_2)
[0x0000]
If the process data are outside this threshold, the appropriate bits are set in the status byte.
•
R37: Filter constants of the A/D converter, and configuration bits for the filter
(default value: 35C0
hex
)
The terminal has two low-pass filter stages:
◦ The first stage consists of a sinc
3
filter, and is always active.
◦ The second stage consists of a 22
nd
order FIR filter. This can be deactivated.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Filter constant Nf (Nf.11 to Nf.0)
Zero Zero Skip
Fast
Key
Bit
Name
Description
Default
R37.15
Filter constant Nf
(Nf.11 - Nf.0)
The filter constant
Nf
specifies the 3dB limit frequency of the sinc
3
filter. The value ranges from 150 to 2047.
The 3 dB limit frequency F
Limit
and the 64.5 dB stop frequency F
Stop
are calculated as follows: (see following table)
35C
hex
(860
dec
)
...
R37.4
Skip = 0
F
limit
= 11981 / Nf
F
stop
= 43008 / Nf
Skip = 1
F
limit
= 81076 / Nf
Bit
Name
Description
Default
R37.3
Zero
0
bin
See note below
0
bin
R37.2
Zero
0
bin
0
bin
Do not change
Bits R37.2 and R37.3 must always be ZERO, otherwise errors will occur in the A/D converter!
Bit
Name
Description
Default
R37.1
Skip
0
bin
FIR filter is enabled.
0
bin
1
bin
FIR filter is bypassed.
R37.0
Fast
0
bin
Fast Step Mode is disabled.
0
bin
1
bin
Fast Step Mode is active: a fast reaction will follow jumps at
the input, in spite of the filter stage being active. In this case
the filter is bypassed!
Содержание KL3102
Страница 2: ......
Страница 4: ...Table of contents KL3102 KL3112 KL3122 4 Version 3 2...