X90 mobile modules
X90 mobile system User's manual V 1.20 - Translation of the original manual
165
5.4.1.5.5.10 SamplesAnalogInput
Name:
SamplesAnalogInput01 to SamplesAnalogInput04
If the corresponding SamplesAnalogInput register is equal to 0, then the
"AnalogInput" on page 161
registers will
provide the current input value for the analog input.
If the SamplesAnalogInput register is greater than 0, the characteristic value configured in register
"AnalogInput-
Config" on page 162
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.
If bit 15 of this register equals 1, then the characteristic value configured in "AnalogInputConfig01" for the respective
channel is calculated. However, the number of samples specified cyclically in register
"AnalogInputSamples" on
page 163
is used and displayed in the associated analog input with the configured scaling.
Data type
Values
UINT
See the bit structure.
Bit structure
Bit
Explanation
Values
Information
0
Characteristic value calculation not active for the respective
channel in the corresponding analog input
1 to 8191
Characteristic value calculation active for the respective channel
in the corresponding analog input
0 - 14
>8191
Invalid
0
Samples defined cyclically via register
"AnalogInputSamples"
on page 163
15
1
Sampling defined cyclically according to configuration of this
register
The time between 2 samples depends on register
"MaxFrequencyRaw" on page 186
:
Maximum frequency
Sampling 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
5.4.1.5.5.11 SamplesAnalogInputRead
Name:
SamplesAnalogInput01Read to SamplesAnalogInput04Read
Register for reading the current
"SamplesAnalogInput" on page 165
configuration.
Data type
Values
UINT
0 to 65,535