Setting Input Modes
By default all Analog IO are configured as Current. To make changes, find the IG21 Gateway under Settings >> Gateways and click "Inputs"
Below the image of the IG21 are the Analog and Digital IO. To change them click on the input and select the desired mode.
The mode needed is based on the sensor or output device. If an analog sensor sends a 0-10V signal to the Gateway, Voltage is the correct mode. If the signal is 4-20mA then Current is the appropriate mode.
Creating Data Inputs
Once the input channel is configured you can make data inputs for use in the HMI Dashboard. Under Settings >> Data Inputs find the button labeled "+Configure New Data Input"
A configuration screen appears with several fields and dropdown boxes.
Name: This is an arbitrary name used elsewhere when adding this input to dashboard components
Data input Source: Select Gateway Channel for devices connected directly to the IG21's IO terminals. The Source box updates when this selection is made.
Third Party Pin is for devices connected to the gateway indirectly via modbus and other protocols. For more information please see the article on Connecting Third Party Communication Devices.
Source: Choose the desired input channel from the dropdown menu. Notice the window changes to reflect your choice.
Tags and Associate Machines: If you have tags or machines configured you can tie them to this input by selecting them from the dropdown menu.
The next section allows you to customize the scale of the input to match your application. With a current source, the input scale is fixed at 4-20mA (listed as microamps on screen).
The output scale is entirely changeable and determines the dashboard value based on current input. Your analog sensor will most likely specify what its output range is and should match these fields. For example, if my 4-20mA pressure transducer read 0-100PSI, I would enter 0 for Output Min and 100 for Output Max.
A Voltage source is slightly different in that the input range is also customizable. While many devices will output a 0-10V signal, 0-5V or others are also compatible with the IG21.
Alternatively, "Formula" may be selected and is useful for pulling raw data or performing mathematical calculations as the data streams in. An example might be scaling values or creating an offset. Use 'x' for the raw data being measured. Notice the field populates automatically when switching over to this mode.
Finally, select the Units and press 'Create'. If choosing Custom units, a minimum of a blank character is required.
The input is now created and ready to be used. To edit its properties, simply click on it to bring the configuration window up.