Capricorn 2000 Weather Station Communication Driver is the driver to communicate with weather station controller of Columbia Weather Systems, Inc in U.S.A.
Note) Capricorn 2000 Weather Station Communication Driver support 'curr' read command.
<Figure 1> is read setting example of Capricorn 2000 Weather Station communication driver.
<Figure 1> Read setting example of Capricorn 2000 Weather Station communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.
Also input continuous reading timeout count( 1 ~ , default = 20 ), then send read request command, by using option part.
Capricorn 2000 Weather Station communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – Don't care.
2) Read command – Read command = Curr. (Refer to <Table 1> )
3) Read start address – Don't care.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – Size = Fix to 1. ( Refer to <Table 1> )
Read schedule example)
READ, 1, Curr, 0, 0, 1,
<Table 1> is a description of store values and contents of 'Curr' read command.
Store Values | Contents |
Remarks |
Start Addr + 0 ~ 2 |
Year, month, day of reading data |
|
Start Addr + 3 ~ 4 |
Hour, minute of reading data |
|
Start Addr + 5 |
WD |
wind direction |
Start Addr + 6 |
WS |
wind speed ( MPH ) |
Start Addr + 7 |
R |
rainfall ( inch ) |
Start Addr + 8 |
RH |
humidity ( % ) |
Start Addr + 9 |
P1 |
pressure ( inch – Hg ) |
Start Addr + 10 ~ 13 |
T1 ~ T4 |
temperature ( F ) |
Start Addr + 14 |
LW |
leaf wetness ( 0.5 = saturated, 4.5 = dry ) |
Start Addr + 15 |
X1 |
solar radiation ( 5.00V ~ 2000V ) |
Start Addr + 16 |
X2 |
channel value ( 0V ~ 5V ) |
<Table 1> store values and contents of 'Curr' read command. |
Capricorn 2000 Weather Station communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data format are different.
Note) Capricorn 2000 controller designed to communicate with periodically data sending from controller.
Normally wind direction and wind speed communicate by 1 second period, other data can setting to controller.(15 second, 60 second , .... )
data reading time setting command : XSET
data reading time write example)
STOP - Stop reading command
15 XSET - 15second data reading time setting write example
START - Start reading command
If you click the icon in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of Capricorn 2000 Weather Station communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of Capricorn 2000 Weather Station communication driver¡¯s read schedule Add/Edit dialogue box |
When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.
You can set Capricorn 2000 Weather Station equipment by using write settings.
Bit Write
Bit write and word write have the same setting parameters except output value.( 0 or 1 )
Word Write
Word write setting parameters are as follows:
1) PORT port no. (0 ~ 255)
2) STATION Don't care.
3) ADDRESS Don't care.
4) Extra1 Write command.
START : read start.
STOP : read stop,
etc : etc write command.
5) Extra2 Don't care.
Write example 1)
PORT : 0 , STATION : 1, ADDRESS : 0000, EXTRA1 : START, EXTRA2 :
The setting parameter shown above is an example of word write for 'read start' command.
Write example 2)
PORT : 0 , STATION : 1, ADDRESS : 0000, EXTRA1 : STOP, EXTRA2 :
The setting parameter shown above is an example of word write for 'read stop' command.
Connection of main power line and communication cable are as follows.
Connection of main power line
Please connect main power input DC 12V to main power line connector such as <Figure 4>.
<Figure 4> Connection example of main power line and communication cable to Capricorn 2000 Weather Station |
Connection of RS-232C communication cable
You must connect RS-232C cable to 'Serial AUX RJ'.
The cable is default Capricorn 2000 Weather Station cable that cable is provided when you purchased.
<Figure 5> Appearance of Capricorn 2000 Weather Station equipment |