Vision VTB-101 Uživatelská příručka Strana 79

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 125
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 78
79
VTB USER GUIDE
TEMPERATURE READING ON NG35
The NG35 is equipped with a TEMPERATURE SENSOR which can be useful to monitor the internal temperature. The
sensor is connected to the Nr. 9 internal ANALOG CHANNEL and it can be read with the system function ng_adc as for
the other analog inputs. To convert the value in degrees Celsius we have to do a calculation (see example).
Example
Function Read_Temp() as Long
Dim Degrees as Long
Degrees=NG_ADC(8) ' Read the temperature sensor
Degree= Degrees*3300/1024-600 ' Convert the value in 0.1 degrees
Read_Temp= Degrees
EndFunction
Zobrazit stránku 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 124 125

Komentáře k této Příručce

Žádné komentáře