Vutlan analog sensors have analog inputs and analog or discrete outputs.
If the analog sensor is not connected or undefined, such sensor will be in a state 'not connected'.
The analog sensors parameters of the VUTLAN devices can be located depending on their physical location in the sub-branches:
- ctlInternalSensors - main system sensors;
- ctlInternalSensorsAnalogsTable;
- ctlCANSensors - CAN bus sensors;
- ctlCANSensorsAnalogsTable;
- ctlRsSensors - serial port sensors;
- ctlRsSensorsAnalogsTable;
Example. Viewing analog sensors:
|
1 |
|
The location of such sensors in the system is determined by the module identifier in which this element is physically located and with the port number in the module - Num.
Sensor with analog output can be in one of the following states defined with thresholds ctlAnalogLowAlarm, ctlAnalogLowWarning, ctlAnalogHighWarning, ctlAnalogHighAlarm:
- 'normal' - the measured value is above the threshold ctlAnalogLow, but below the threshold ctlAnalogWarning, ctlAnalogAlarm;
- 'low alarm' - below normal, the measured value is below the threshold ctlAnalogLowAlarm;
- 'low warning' - below normal, the measured value is above the threshold ctlAnalogLowAlarm, but below the threshold ctlAnalogLowWarning;
- 'high warning' - above normal, the measured value is above the threshold ctlAnalogHighWarning, but below the threshold ctlAnalogHighAlarm;
- 'high alarm' - measured value is above the threshold ctlAnalogHighAlarm;
Fields ctlAnalogAT0 (default "1.0") and ctlAnalogAT75 (default "0.0") are only for the voltage sensors and set the coefficients to convert the measured value using the following formula:
U=ctlAnalogAT0*U0+ctlAnalogAT75
Field ctlAnalogExpression (default "x") has meaning only for the current sensor (4-20mA), and sets the expression to convert the measured value:
Value=ctlAnalogExpression(x)
thus the default readings correspond to the measured values with no additional changes.
It supports the following operations: "+", "-", "/", "*", "%"(modulo), "^"(involution)
Support the following functions:
- "abs" - absolute value;
- "sqrt" - square root;
- "exp" - exponential;
- "ln" - the natural logarithm;
- "log" - logarithm;
- "sin" - sine;
- "cos" - cosine;
- "tan" - tangent;
- "asin" - arc sine;
- "acos" - arc cosine;
- "atan" - arc tangent;
Example. Setting thresholds for a sensor with analog output with ElementID=22:
$ snmpset -v2c -cwrite 192.168.0.193 VUTLAN-SYSTEM-MIB::ctlAnalogLowAlarm.2 s "5" \ VUTLAN-SYSTEM-MIB::ctlAnalogLowWarning.2 s "35" VUTLAN-SYSTEM-MIB::ctlAnalogHighAlarm.2 s "45" VUTLAN-SYSTEM-MIB::ctlAnalogLowAlarm.2 = STRING: "5" VUTLAN-SYSTEM-MIB::ctlAnalogLowWarning.2 = STRING: "35" VUTLAN-SYSTEM-MIB::ctlAnalogHighAlarm.2 = STRING: "45"