Analog Input Mode
Configures the analog input mode for the given resource.
Block ID
Analog Input Mode
Library
MotoHawk_lib/Analog I/O Blocks
Description
This block enables configuration of the selected analog channel. When an input circuit has configurable hardware, selecting the mode will cause the hardware circuit to be controlled to operate in that mode.
If calibration of the mode is enabled, the mode may be altered at runtime.
The data can be obtained in scaled engineering units using Analog Input Engineering Units block. Alternatively the raw analog conversion may be recovered using the Analog Input Raw block.
The actively selected operating mode of the selected analog input can be read by Analog Input Mode State block.
If the selected mode is not supported by given resource, an error during the application build will result.
The Analog Input Mode drop-down list shows complete list of all possible modes for all of the resources. However, some hardware will not be capable of operating in all possible modes.
The following modes are supported:.
Analog Input Mode | Comments/Description | Units |
---|---|---|
(Mode 1) 0-5V | Voltage measurement. | V |
(Mode 2) 0-1.25V | Voltage measurement. | V |
(Mode 3) +-1V | Differential voltage measurement. | V |
(Mode 4) +-2.5V | Differential voltage measurement. | V |
(Mode 5) 4-20mA | Current measurement. | mA |
(Mode 6) RTD Low Impedance | Low impedance thermistor (typically PT100). | Ohms |
(Mode 7) RTD Medium Impedance | Medium impedance thermistor (typically PT200). | Ohms |
(Mode 8) RTD High Impedance | High impedance thermistor (typically PT1000). | Ohms |
(Mode 9) Thermocouple | Thermocouple temperature measurement. | mV |
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Name | Alpha-numeric text, single-quote enclosed | This parameter defines unique identifier which is used as a reference for Analog Input Mode State and Analog Input Engineering Units blocks. The name should be unique and C-legal (no special characters, such as spaces, dashes or commas (underscore allowed). |
Resource | Drop-down list | Module resource. |
Analog Input Mode | Drop-down list | Input configuration mode for given resource. |
Allow parameter marked with* to be calibrated | Checkbox | Allow user to control input configuration mode through calibration. |
Read Access Level | 0-8 | Sets security level 0 lowest, 8 highest, for user access to read value. |
Write Access Level | 0-8 | Sets security level 0 lowest, 8 highest, for user access to write value. |
Instrumentation Group | Alpha-numeric text, single-quote enclosed | Determines Folder name and hierarchy. Use "|" character between folder names to delineate subgroup structure. |