![B&R Industries X20 System Скачать руководство пользователя страница 2160](http://html1.mh-extra.com/html/bandr-industries/x20-system/x20-system_user-manual_30768372160.webp)
X20 system modules • Other functions • X20CM4810
2160
X20 system User's Manual 3.10
SamplesAnalogInput
Name:
SamplesAnalogInput01 to SamplesAnalogInput04
If the corresponding SamplesAnalogInput register is equal to 0, then the "AnalogInput01-04" data points will provide
the current input value for the analog input.
If the SamplesAnalogInput register is greater than 0, the characteristic value configured in "AnalogInputConfig01"
for the respective channel is calculated. For this, the number of samples configured in this register will be used
and displayed in the corresponding AnalogInput with the configured scaling.
Data type
Value
Description
0 = The samples are set cyclically via the register AnalogInputSamples01 - 04
Bit 15
1 = The samples are configured using the register AnalogInputSamples01 - 04
> 8191
Invalid
8191 to 1
Characteristic value calculation active for the respective channel in the corresponding analog
input
UINT
0
Characteristic value calculation not active for the respective channel in the corresponding analog
input
Table 746: SamplesAnalogInput01-04
If Bit 15 of the SamplesAnalogInput is 1, then the parameter configured in "AnalogInputConfig01" is also calculated.
However, the number of samples set cyclically in the AnalogInputSamples register will be used and displayed in
the corresponding AnalogInput with the configured scaling.
The time between 2 samples depends on MaxFrequencyRaw:
Maximum frequency
Sample time
(time between 2 samples)
10000 Hz
38.79 µs
5000 Hz
77.58 µs
2000 Hz
193.94 µs
1000 Hz
387.88 µs
500 Hz
775.76 µs
200 Hz
1939.39 µs
Table 747: Overview of the sample time at the maximum frequency of the raw signal
SamplesAnalogInputRead
Name:
SamplesAnalogInput01Read to SamplesAnalogInput04Read
Register for reading the current "SamplesAnalogInput" configuration.
Data type
Value
UINT
0 to 65,535