Campbell HC2S3 Manual Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
Appendix C. HC2S3 Digital Communications
C-6
BeginProg
SerialOpen (SensorPort,19200,51,100,200) '51 is for half duplex
String_1 = "|{F00RDD}"+CRLF 'RS485 command to send data
Scan (5,Sec,0,0)
SerialFlush (SensorPort)
SerialOut (SensorPort,String_1,0,1,100) 'Send command to send data
Delay (0,500,mSec)
'Get data from probe
SerialInRecord (SensorPort,SerialIndest,&H6464,0,&H4843,NBytesReturned,01)
'Parse RH and temp from string
RH=Mid (SerialIndest,6,5)
TempC=Mid (SerialIndest,23,5)
CallTable Table1
NextScan
EndProg
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36

Comentarios a estos manuales

Sin comentarios