TWI Commands for WLS, WRL,WR and WPS.

Similar documents
For more detailed instruction, see the KTA-282 user manual. This document is a condensed version; intended as a reference.

C30xx Digital communication

1. Implemented CM11 protocol

Ocean Sensor Systems, Inc. Wave Logger III, OSSI A Self Logging, Self Powered Wave Staff With a Self Grounding Coaxial Staff

PortLog User s Guide

Communication protocol

HM-1 & HM-1U Hazmat Systems. User s Guide

Technical Description. Wired M-Bus. Water Meters flowiq 2101/3100

Elotech Standard Protocol. for Single R8200 SC

RWB29 Programmer. Daily Programming

Outline for Weather Station

EWBS Receiving Module Communication specifications

NOVALYNX CORPORATION MODEL 110-WS-25 MODULAR WEATHER STATION INSTRUCTION MANUAL

MSR Series. Portable Battery-Powered Magnetic Swipe Reader User's Manual TM951016

Line Mode: Digitizer outputs coordinate data points when a button is down; plus one when the button is released.

RGAM Communication protocol description I 94 GB Date: March 10, 1999

HW4 Software version 2. Probe Adjustment function Legacy devices

ROC Protocol Specifications Manual (for Emerson FB1000 and FB2000 Series Flow Computers)

NOVALYNX CORPORATION MODEL 110-WS-25 MODULAR WEATHER STATION INSTRUCTION MANUAL

FANUC PLC Parts. GE Fanuc Automation. Series 15i / 150i Model A Remote Buffer. Computer Numerical Control Products. Descriptions Manual

Advantage CT/LTC Protocol Manual

$GDSWLYH0LFUR6\VWHPV

INTEGRATOR GUIDE ATMOS 41 ALL-IN-ONE WEATHER STATION

VeriColor. Solo Identification System. Command Users Manual Document ver Rev. 7/20/05

Ocean Sensor Systems, Inc. Wave Gauge Blue, OSSI A Self Logging/Self Powered Pressure Sensor

HygroLog HL20 and HL21 Data Logger. User Guide

Operating instructions

HW4 Software version 3. HP23 Humidity Temperature Indicator

Chapter 4 Front Panel Option Selection

THT-500-A/R (C5) 1. System Configuration COMMUNICATION INSTRUCTION MANUAL. No. THT5CE

A GUIDE TO RS-232 COMMUNICATION WITH FX PLCS

SENTRY HPS / HTS COMMUNICATION PROTOCOL

E4000 RS232 Communications Protocol EA.01.xx.E

Rev Carbon Dioxide (CO2) Gas Sensor. TG100 User Manual

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

Technical Description

BMV Text Protocol. Table of contents

ROC Plus Protocol. Specification Manual. Form A6127. Flow Computer Division. Part Number D301180X0012 January 2007

North American Service Manual

Interface BL232 with RS232/422/485 MODBUS and 0-10V outputs. Interface BL232

WIZ125SR User Manual

LDV Communications Specification

DOC-1430 ( ) ASI

HL20-A Measurement and Control System

ECO History: Date Revision ECO# Description of Change

Appendix C Remote Operation (Command Mode)

EE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System

MC4181LV SERIES MASTER CLOCKS

THERMO-CON. Model No. HECR002-A5. Keep available whenever necessary.

imetos LoRa Data payload structure

Rev Carbon Dioxide (CO2) Gas Sensor. TG100 User Manual

Technical Data. C-DIAS-MULTI l/o MODULE CIO 013

W8735A1013 EnviraCOM Serial Adapter

HygroLog HL20 and HL21 Data Logger. User Guide

Service Manual ph communication functions

WeatherMation LIVE Alerts and Notifications Module

HW4 Software version 3. Device Manager HygroClip DI

Professor Haase s Equipment and Software Quick Start Notes

ATMOS 41 ALL-IN-ONE WEATHER STATION INTEGRATOR GUIDE

OM-60-TT SERVICE LOGGER

Communications Protocol

MARSLIFE Technical Report #3

Modbus on tsense. Table of contents:

Modbus Protocol For FTS/FTM 3x&8x

PROFESSIONAL WIRELESS WEATHER STATION. Operation Manual - 1 -

TOUCH SCREEN WEATHER STATION (WIND AND AIR PRESSURE) WH-1080PC. Operation Manual

Manual Touch Screen Weather Station PCE-FWS 20

PM130 Powermeters Reference Guide ASCII Communications Protocol

Dear SureStep Meter User:

GL200 GBD File Specification Sheet

USING THE CR10KD KEYPAD TO TROUBLESHOOT AND/OR RESET THE CAMPBELL SCIENTIFIC RAIN BIRD WEATHER STATION BART NEF CSI 27.SEPTEMBER.

Cumulus Main Window. The wind speed indicator shows three values:

Technical Documentation

TOUCH SCREEN WEATHER STATION (WIND AND AIR PRESSURE) WH-1080PC. Operation Manual

DT4250 Series DIGITAL MULTIMETER

TPG 261 TPG 262. Communication Protocol. Single-Channel Measurement and Control Unit for Compact Gauges

DirectNET Host. Communications Programs. In This Chapter...

Automatic transfer switch

Type DAD Technical Manual Modbus Communication

Announcements HW1 is due on this Friday (Sept 12th) Appendix A is very helpful to HW1. Check out system calls

Communication Protocol for Control Box (UCR) Programmer s Guide

NOVALYNX CORPORATION. MODEL 110-WS-16 MODULAR WEATHER STATION with firmware version and older INSTRUCTION MANUAL

Information ... Technical And Operational Description ... Connections ... Card Data Format ... Demo Software ... Specifications ...

o Sapphire:O->L=1 Sapphire: 0-> P=20 Sapphire:O->?BT 35 Sapphire:O->L=O Controlling the Laser via RS-232 Command Interface !!;:

1450 First Ave. Page 1 of 11 Chippewa Falls, WI (800) or (715) Fax: (715)

Software for HOBO loggers

NHD-C12864WC-FSW-FBW-3V3

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

Manual AP22 Analog Display

Specification. for. Serial Interface DN-C635

Specification. For. Serial Interface DN-T645/625

UNIVERSAL SERIAL INTERFACE

Central Controller G-50A/GB-50 Web Browser Operation Manual (For Managers)

BX-965 REPORT PROCESSOR INTERFACE OPTION MANUAL

TOUCH SCREEN WEATHER STATION (WIND AND AIR PRESSURE) Operation Manual

COMMUNICATION M-BUS PROTOCOL PR 118

Chapter 1. Computer Abstractions and Technology. Lesson 3: Understanding Performance

TOUCH SCREEN WEATHER STATION (WIND AND AIR PRESSURE) WH-1080PC. Operation Manual

C1068 JPEG Module w/uart Interface. User Manual v1.1

PROGRAMMABLE STEP MOTOR CONTROLLER R

Transcription:

TWI binary record format TWI Commands for WLS, WRL,WR and WPS. Commands are available in both ASCII and binary format, with replies in kind. Binary record commands includes a record header, record length, record data, checksum and record terminator STX record header byte, ASCII 'Start of Text', 0x02 Len binary number of data bytes, 0 to 255... record data bytes cksum record checksum; sum of len, data and cksum must = 0 ETX record trailer byte, ASCII 'End of Text', 0x03 GetPrmVal STX <3> "G" "P" <prm> <cs> ETX SetPrmval STX <5> "S" "P" <prm> <hi> <lo> <cs> ETX <n> : record length, 8-bit value <prm>: parameter number, 8-bit value <hi> : high-order byte of 16-bit value <lo> : low-order byte of 16-bit value <cs> : record checksum, 8-bit value Reply to GetPrmVal and SetPrmVal: <hi> : high-order byte of 16-bit value <lo> : low-order byte of 16-bit value SCALE parameter: <prm>: 33 value: 0 FPS, English (Foot-Pound-Sec) 1 CGS, Metric (Centimeter-Gram-Sec) Binary Commands are used with an associated prm file. Prm files defines the various versions of a TWI weather stations. Use the V command to find the version of your weather station. On models with displays, de-power then re-power your weather station and your version number will appear in the time and date window for about 4 seconds. You can get samples of prm files by going to http://www.txwx.com/downloads/prm.zip An example of a 3500.prm file follows: -6, "TERM", "RATE", " ", " ", " ", " ", " ", " " -5, "Off ", "Off ", "Off ", "On ", "Taux", "Tin ", "ADC1", "ADC4" -4, "- ", "? ", "? ", "? ", "On ", "Off ", "On ", "Off " -3, "FF ", "LF ", "MPH ", "KTS ", "24HR", "AMPM", "AVG ", "CUR " -2, "38.4", "19.2", "9600", "4800", "2400", "1200", " 600", " 300" -1, " ", "Sun ", "Mon ", "Tue ", "Wed ", "Thr ", "Fri", "Sat " 0, 0, 255, 1, 96, "temp: aux" 1, 0, 255, 1, 96, "temp: inside" 2, 0, 255, 1, 96, "temp: outside" 3, 2400, 3600, 100, 0, "barometric pressure" 40, 0, 3, -225, 0, "dp/dt Stat" 40, 0, 3, -025, 4, "dp/dt Temp" 41, 0, 15000, 1, 0, "elevation" 22, 0, 9999, 1000, 0, "mv @ 0.0% RH" 23, 0, 9999, 1000, 0, "mv @ 75.3% RH" 6, 0, 255,.71111, 0, "wind dir offset" 4, 0, 3, -4, 0, "rain inc flag" 5, 1, 10, 100, 0, "rain inc value" 27, 0, 9999, 100, 0, "rain fall: term" 20, 0, 1, -015, 2, "report MIN/MAX" 20, 0, 1, -113, 9, "report end-of-day" 20, 0, 1, -216, 9, "report Rain" 21, 0, 7, -2, 0, "Baud Rate index" 7, 0, 99, 1, 0, "clock years"

8, 1, 12, 1, 0, "clock month" 9, 1, 31, 1, 0, "clock day of month" 11, 0, 23, 1, 0, "clock hours" 12, 0, 59, 1, 0, "clock minutes" 13, 0, 59, 1, 0, "clock seconds" 28, 0, 24, 1, 0, "log interval hrs" 29, 0, 59, 1, 0, "log interval min" 33, 0, 1, 1, 0, "Scale: 0=FPS 1=CGS" 30, 0, 255, 1, 0, "ID number" 35, 0, 1, -413, 2, "Wsp units" 35, 0, 1, -513, 4, "Time display" 35, 0, 1, -614, 4, "aux Temp " 35, 0, 1, -713, 6, "Wsp/Wdir" 44, 0, 127, 1, 0, "Rx DTR Delay, sec" To get an explanation of version codes go to http://www.txwx.com/doc.html and click on version. TWI Single Character ASCII Commands The following is the weather station output of the single character ASCII commands "r", "K", "z", "c". One of these characters was sent to the unit, in sequence, each 15 seconds. Each line output from the unit ends with: Carriage Return, Line Feed. Except the last line of the "c" command ends with: Carriage Return, Line Feed, Line Feed. All of these commands return fixed length ASCII data. A response to the "L" commands is not supplied as a unit with that feature was not readily available. It appears I was wrong about suggesting the "K" command might be variable length. The uppercase "c" and "d" commands are similar to the "r" command in that the last parameter changes from Term_Rain_Fall to Rain_Rate. Remember that the "d" commands give the Daily Min/Max values which are reset at midnight; the "c" commands reset the Min/Max values after the command. Command responses for "r", "K", "z", "c" 16:03 11/01/02 NE 04MPH 002K 075F 051F 100% 31.03F 00.03"D 00.03"M 30.96"T Min 11/01/02 SW 00MPH 000K 070F 046F 087% 30.97" 00.03"D 00.03"M 30.96"T Max 11/01/02 NE 12MPH 022K 075F 055F 100% 31.12" 00.03"D 00.03"M 30.96"T 16:04 11/01/02 NE 08MPH 002K 075F 051F 100% 31.04S 00.03"D 00.03"M 30.96"T 51DP 51TH 49WC Min 11/01/02 NE 04MPH 001K 075F 051F 100% 31.03" 00.03"D 00.03"M 30.96"T Max 11/01/02 NE 09MPH 002K 075F 051F 100% 31.04" 00.03"D 00.03"M 30.96"T 16:05 11/01/02 NE 04MPH 001K 075F 051F 100% 31.03F 00.03"D 00.03"M 30.96"T Min 11/01/02 N 01MPH 001K 075F 051F 100% 31.03" 00.03"D 00.03"M 30.96"T Max 11/01/02 ENE 06MPH 001K 075F 051F 100% 31.04" 00.03"D 00.03"M 30.96"T

16:06 11/01/02 NE 03MPH 001K 075F 051F 100% 31.03F 00.03"D 00.03"M 30.96"T Min 11/01/02 N 01MPH 001K 075F 051F 100% 31.03" 00.03"D 00.03"M 30.96"T Max 11/01/02 NE 06MPH 001K 075F 051F 100% 31.04" 00.03"D 00.03"M 30.96"T 16:07 11/01/02 NE 04MPH 001K 075F 051F 100% 31.03F 00.03"D 00.03"M 30.96"T Min 11/01/02 NE 03MPH 001K 075F 051F 100% 31.03" 00.03"D 00.03"M 30.96"T Max 11/01/02 NE 06MPH 001K 075F 051F 100% 31.04" 00.03"D 00.03"M 30.96"T 16:08 11/01/02 NE 03MPH 001K 075F 051F 100% 31.04S 00.03"D 00.03"M 30.96"T Other Command Characters V Firmware version number S Firmware Serial# I Unit ID number C Unit responds with a daily minimum and maximum of all parameters, then clears. The rainfall rate is present rather than term rain. MIN 07/24/90 SW 00MPH 000K 067F 067F 054% 30.00" 00.19"D 01.38"M 00.00"R MAX 07/24/90 SSE 25MPH 052K 071F 092F 099% 30.06" 00.19"D 01.38"M 00.72"R c Unit responds with a daily minimum and maximum of all parameters, then clears. The term rain is present rather than rainfall rate. (Note: use of the either c command will clear the logged min/max.) MIN 07/24/90 SW 00MPH 000K 067F 067F 054% 30.00" 00.19"D 01.38"M 00.00"T MAX 07/24/90 SSE 25MPH 052K 071F 092F 099% 30.06" 00.19"D 01.38"M 00.72"T The minimum and maximum associated with the C command is cleared automatically at midnight D d Unit responds in an identical manner as the C command but does not clear the system memory. Unit responds in an identical manner as the c command but does not clear the system memory E, e Unit responds with minimum and maximums along with date and time of occurrence. This uses the same buffer as the c and d command. M m Unit responds with all term minimums and maximums with the date and time of their occurrence, then clears. Unit responds in an identical manner as with the M command but does not clear the system memory. SS 10:33 038K SS 09:32 056 K TO 04:15 075F TI 15:03 080 F TO 10:33 038F TO 16:10 056 F RH 15:44 033% RH 01:40 060 % BP 16:11 29.57 BP 10:20 30.15" RD 04/29 00:00 RT 01:00" RM 03.32 WS 00:00 000 MPH 048

The system has two completely separate memory buffers (C and M commands). C is cleared every midnight. M is only cleared by pressing the clear and min buttons on the display or sending an upper case M via a computer. R Unit responds with current conditions. The rainfall rate is present rather than the term rain. (Note: in 30.04R the R denotes rising pressure) 5:15 07/24/90 SSE 04MPH 052F 069F 078F 099% 30.04R 00.19"D 01.38"M 11.78"T r Unit responds with current conditions. The term rain is present rather than the rainfall rate. (Note: in 30.04F the F denotes falling pressure, a S character denotes steady pressure.) 5:15 07/24/90 SSE 04MPH 052F 069F 078F 099% 30.04F 00.19"D 01.38"M 00.72"R K Unit responds with current calculated values, for dew point, Windchill and heat index. Please note that the labels DP, TH, and WC remain fixed in the field and the data remains right justified. The "k" command is not space delimited. The space between the values can be used for characters. s 58DP 73TH 79WC or 479DP-457DP-457WC Q Unit response with hi resolution time, wind, temperature and pressure. 96/01/15 09:21:44 SSE 004.3MPH 052.6F 069.2F 078.5F 069% 30.041F 002.19" The following commands respond if the WLS-8000 has logged data in memory. T Data logger top, moves pointer to the top of the data records, then sends data N Data logger next, moves pointer to the next data record, then sends data. A Data logger again, sends same data again. P Data logger previous, moves pointer to the previous data record, then sends data. B Data logger bottom, moves pointer to the bottom of the data records. 96/03/07 23:00 00052K 053.2F 085.8F 070% 29.926I" 00.00"ID 007.5MPH 342D date time temp RH bp rain wind speed direction The "z" (lower case) command is used to output the accumulated lightning data for the current hour. At the end of the hour, the data will be logged if the hourly max count is greater than the counts per minute threshold. The threshold may be changed through the F5 routine in the TWI_LOG Software. The logged lightning data is written to the data logger memory a maximum of once per hour. It can be accessed along with other logged data using the T, B, P and N commands. See Communicating with the W... for more details. mo/dy hr:mn max :00 :06 :12 :18 :24 :30 :36 :42 :48 :54 xx xx xx xx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx mo month dy day hr hour mn minute of max count max max count per minute :00 average count from :00 to :05... :54 average count from :54 to :59 The "Z" (upper case) command is used to output current lightning data.

yr/mo/dy hr:mn:sc cur cnt lst avg max min xx/xx/xx xx:xx:xx xxxx xxxx xxxx xxxx xxxx :xx yr mo dy hr mn sc cur cnt lst avg max min year, current month, current day, current hour, current minute, current second, current count, current minute accumulation count, current full minute count, prior full minute count, 6 minute average count of max in current hour minute of max in current hour Leaf Wetness Command "L" command output English: 20:28 02/11/96 050L 000 0 1.6hW 074F 003.7hC 072F 001.5hP 075F metric: 20:27 02/11/96 050L 000 0 094mW 023C 00220mC 022C 00091mP 024C +- TPavg +-+---+- Prior +- Time +- Tavg [ F, C] +-+---+- Current Event +- Time [hrs, min] +- Tout Current [ F, C] +- WetTime 24hr Window [hrs, min] +- WetLevel Indicator [1-Wet, 0-Dry] +- WetLevel Value +- WetLevel Reference +--+--+- Date Current +--+- Time Current