Language selection:
Skip to main navigation Skip to main content Skip to page footer

Didactum 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  if 'not connected'.

The analog sensor parameters of the Didactum 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:

$ snmptable -Ci -Cb -v2c -cread 192.168.0.193
DIDACTUM-SYSTEM-MIB::ctlInternalSensorsAnalogsTable

SNMP table: DIDACTUM-SYSTEM-MIB::ctlInternalSensorsAnalogsTable

IdModule NumTypeNameStateValueMinMaxLowAlarmLowWarningHighWarningHighAlarmAt0At75ExpressionSpecific 
2010012001-1"temperature""Temperature""high alarm""34.2""-50.0""110.0""5.0""10.0""15.0""20.0""1.0""0.0""x"""
2030012001-2"voltage""Voltage""warning""11.3""0.0""24.0""5.0""10.0""15.0""20.0""1.0""0.0""x"""
20400120022"fvoltage""Analog-2""low alarm""0.0""0.0""10.0""5.0""10.0""15.0""20.0""1.0""0.0""x"""
20100220023"temperature""Analog-3""high alarm""27.5""-50.0""110.0""5.0""10.0""15.0""20.0""1.0""0.0""x"""

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

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 

DIDACTUM-SYSTEM-MIB::ctlAnalogLowAlarm.2 s "5" 
DIDACTUM-SYSTEM-MIB::ctlAnalogLowWarning.2 s "35" 
DIDACTUM-SYSTEM-MIB::ctlAnalogHighAlarm.2 s "45"

DIDACTUM-SYSTEM-MIB::ctlAnalogLowAlarm.2 = STRING: "5"
DIDACTUM-SYSTEM-MIB::ctlAnalogLowWarning.2 = STRING: "35"
DIDACTUM-SYSTEM-MIB::ctlAnalogHighAlarm.2 = STRING: "45"

This website uses cookies

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy.

Essential cookies enable basic functions and are necessary for the website to function properly.
Statistics cookies collect information anonymously. This information helps us to understand how our visitors use our website.
Marketing cookies are used by third parties or publishers to display personalized advertisements. They do this by tracking visitors across websites.