.RawValue Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .RawValue dotfield shows the actual value received from an I/O Server by WindowViewer. The .RawValue dotfield allows you to access the value of an I/O tag before InTouch applies scaling.
Category
Tags
Usage
Tag_name.RawValue
Parameter
Tag_name
The name of any I/O integer, I/O real, I/O discrete, indirect discrete, and indirect analog tag.
Remarks
This read-only dotfield is used to show the actual discrete or analog I/O value before InTouch applies scaling.
Data Type
Any data appropriate for the type of tag associated with the .RawValue dotfield. For example, real numbers for real tags or discrete values for discrete tags (read-only).
Example
The following script issues a warning message when the raw pump inlet pressure is below or above the tag’s minimum and maximum clamping limits.
IF ((PumpInP.RawValue > PumpInP.MaxRaw) OR (PumpInP.RawValue < PumpInP.MinRaw)) THEN
AlarmMessage = "Pump sensor is out of calibration or requires replacement.";
ENDIF;
See Also
.EngUnits, .MinEU, .MaxEU, .MinRaw, .MaxRaw