<< 点击显示目录 >> 主页 振动监测 > X20(c)CM4810使用手册 > 寄存器说明 - Register description > 模拟量输入功能 - Analog input functions > 样本模拟量输入- SamplesAnalogInput |
名称:
SamplesAnalogInput01 to SamplesAnalogInput04
If the corresponding SamplesAnalogInput register is equal to 0, then the AnalogInput 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 AnalogInputConfig 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 is used and displayed in the associated analog input with the configured scaling.
如果相应的 SamplesAnalogInput 寄存器等于 0,则 AnalogInput 寄存器将提供当前的输入值给输入。
如果 SamplesAnalogInput 寄存器大于0,则计算在 AnalogInputConfig 寄存器中为相应通道配置的特征值。
如果该寄存器的位 15 等于 1, 则计算在“AnalogInputConfig01”中为相应通道配置的特性值。但是,在 AnalogInputSamples 寄存器中循环指定的样本数量将被使用并显示在相关的模拟输入中,且具有配置的尺度。
Data type 数据类型 |
Values 值 |
Bus controller default setting 总线控制器默认设置 |
UINT |
See the bit structure. 请参阅位结构。 |
0 |
Bit structure
位结构
Bit 位 |
Explanation 解释 |
Values 值 |
Information 说明 |
0 - 14 |
|
0 |
No characteristic value calculation of the respective channel in the associated analog input (bus controller default setting) 在相关的模拟量输入中不计算相应通道的特性值(总线控制器默认设置) |
1 to 8191 |
Characteristic value calculation active for the respective channel in the corresponding analog input 在相应的模拟量输入中计算相应通道的特性值 |
||
>8191 |
Invalid 无效 |
||
15 |
|
0 |
Sampling defined cyclically according to configuration of this register 根据该寄存器的配置周期性的定义采样 |
1 |
Cyclic specification of samplings via register AnalogInputSamples (bus controller default setting) 通过 AnalogInputSamples寄存器循环指定采样 (总线控制器默认设置)。 |
The time between 2 samples depends on register MaxFrequencyRaw:
2个采样之间的间隔时间取决于 MaxFrequencyRaw:
Maximum frequency 最大频率 |
Sampling time (time between 2 samples) 采样时间 (2个样本之间的时间) |
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 |