Ocean KTA-282 Скачать руководство пользователя страница 11

                                    

 

KTA-282 Modbus TCP Weather Station Gateway

knots

Knots (Nautical Miles per Hour)

m/s

Metres per Second

ft/s

Feet per second

in

Inch

mm

millimetre

Table 17: Gateway Units Listing

2. The Extra Temperatures apply to the 7 extra, 4 Leaf and 4 soil temperatures from loop 1. For Fahrenheit 

readings, Extra Temperatures need to have 90 subtracted from them. For Centigrade readings, Extra 
Temperatures need to have 50 subtracted from them. 

3. Register 32 is reduced by a factor of 10; the readings returned will be 0.0001 in or 0.1 mm.

Weather Station Polling Period

By default, the gateway asks for data from the weather station every 2.5 seconds (as this is the same interval used 
by the weather station to read its sensors). This ensures that the latest weather data is made available to your 
controller. In between requests, the weather station sleeps to conserve power.
The polling period can be changed by writing to Modbus register 109. Enter your preferred polling period as a 
number in tenths of seconds (i.e for 2.5 seconds enter 25). A longer polling period reduces the weather station’s 
power consumption; extending battery life.

Weather Station EEPROM Write (Advanced users)

Beware that some configuration values are set by Davis in the factory and should not be changed. The KTA-282 
does not guard against ill-advised use of the EEPROM write command.

The configuration registers of the weather station can be directly altered by the KTA-282. The EEPROM of the 
weather station is written using either the EEWR command or BAR= command depending on which EEPROM 
register requires manipulation (see Vantage Serial Protocol Docs on the Ocean Controls website). Each argument 
of these commands is coupled to a Modbus register. Any weather station EEPROM can therefore be written using 
Modbus communications.
The BAR command is of the following format:

BAR= <barometer calibration (in Hg * 1000)> <weather station elevation (in feet)>

The EEWR command is of the following format:

EEWR <address in hexadecimal> <value in hexadecimal>

Sending this string to the weather station will write the byte held in data to the EEPROM location specified by 
address. For registers of length 2 bytes, two EEWR commands are required.
The EEPROM write function works as follows:

Modbus Holding 
Register

Name

Description

110

EEPROM address

Address of the EEPROM register in the weather station 
memory

111

EEPROM Payload

Value to be committed to the memory at the address 
specified in Holding Register 110

112

Commit to EEPROM

Write a 1 to this register to activate the EEPROM write 
command

113

Barometer Value

Value to be written to BAR_CAL (Barometer argument)

114

Elevation

Value to be written to ELEVATION (Elevation argument)

115

Send BAR Command

Write a 1 to this register to activate the BAR write 
command

116

Write success

Upon successful EEPROM write, this register will be 
written to a 1

Table 18: EEPROM Write Modbus Register Listing

The weather station must be power cycled for the new EEPROM values to take effect. If your console takes 
batteries in addition to a plug pack, make sure both the plug pack 

and

 the batteries are removed. Wait ten seconds

before reapplying power to ensure the weather station has in fact powered down.

Example (BAR= command):

The user has an external barometer that currently reads 1013.25 mbar (29.9 inHg), and the weather station is 
mounted 204 metres (670 feet) above sea level.

7/05/2013

www.oceancontrols.com.au

Page 11 of 25

Содержание KTA-282

Страница 1: ...ddition of Ethernet o Allows the KTA 282 to be polled by up to three Modbus TCP IP masters simultaneously o Provides a webpage whereby TCP IP settings can be easily monitored and altered Also shows cu...

Страница 2: ...command 13 Modbus TCP Manual Socket Severing 13 Webpage 13 XML Request 14 Open Collector Outputs PCB Rev 5 and later 16 KTA 282 PC Application 17 Configuring Communications 17 Serial Switch Settings...

Страница 3: ...use latitude longitude elevation etc Table 1 Davis Instruments Jargon Weather Station Set Up Begin by assembling your weather station and sensors using the documentation provided by Davis You will nee...

Страница 4: ...Description Vs Power Positive 8 to 28V DC 100mW COM Power Negative Ground D RS 485 Data D RS 485 Data GND Ground Male DE 9 Serial communications RS 232 between KTA 282 and Weather station via WeatherL...

Страница 5: ...see the red LED next to the DE 9 connector flash once every 5 seconds This confirms the card is on and functional Continue by connecting the DE 9 cable from your weather station via the WeatherLink t...

Страница 6: ...re the TCP IP settings are loaded from when power is applied to the KTA 282 With this switch off settings are loaded from the current values of the switches regardless of previous settings With the sw...

Страница 7: ...b browser to the IP Address of the KTA 282 to retrieve this page Below the current weather readings is a web form with provision to set the TCP IP settings of the KTA 282 The form fields will be popul...

Страница 8: ...Location in the archive memory where the next data packet will be written This can be monitored to detect when a new record is created 4 1 Barometer 0 001 inHg 5 1 Inside Temperature 0 1 F 6 1 Inside...

Страница 9: ...ther an estimation based on temperature and dewpoint Use as an indication only Loop 2 Data Only recent Davis Instruments hardware Vantage Pro 2 firmware V1 9 or later Vantage Vue will return the loop...

Страница 10: ...e to the latest firmware at oceancontrols com au The units of the readings can be changed by writing to the Modbus holding registers shown in table 16 The following table shows the multiplier and unit...

Страница 11: ...ocol Docs on the Ocean Controls website Each argument of these commands is coupled to a Modbus register Any weather station EEPROM can therefore be written using Modbus communications The BAR command...

Страница 12: ...hange to a 1 upon EEPROM write success This completes setting the latitude of the Davis weather station Note consult the EEPROM configuration settings section of Vantage Serial Protocol Docs on the Oc...

Страница 13: ...ngs will load from dynamic value This text will read either switches or memory based on the status of TCP switch 1 It is important to realise that the TCP IP settings may still be read from the switch...

Страница 14: ...ml Using a web browser with the gateway at its default address 192 168 1 100 registers xml Figure 4 Complete register listing HTTP request using browser Error Request If the GET request is of the wron...

Страница 15: ...urn On or Off 119 1 Direction Sets the direction of the switching behaviour 0 output active below setpoint 1 output active above set point 120 2 Register Sets the Holding Register containing the weath...

Страница 16: ...communications statuses o Modbus RTU over RS485 o Modbus TCP IP o Communications with the weather station Two buttons named bind all comms and release all comms These controls are designed mainly for...

Страница 17: ...d units using the dropdown boxes and commit the selections to the gateway using the Write to KTA 282 button Writes holding registers 105 to 108 Change TCP IP Settings Displays a screen that allows the...

Страница 18: ...port It should flash red roughly once every 5 seconds If so move to step 3 If not 1 Check the wires of the power supply are the correct way around 2 Probe the power terminals with a multimeter to ens...

Страница 19: ...twork to ensure the KTA 282 has a unique IP address within the subnet The best way to do this is via your router if applicable Otherwise you could power off the gateway and then send a ping request to...

Страница 20: ...nd go to properties 3 4 Click on Internet Protocol TCP IP and go to properties 3 5 Click on use the following IP address and set the values to IP Address 192 168 1 1 Subnet Mask 255 255 255 0 Default...

Страница 21: ...Extra Humidities 1 24 1 Rain Rate 0 01 Inches hour 25 1 UV Index 1 26 1 Solar Radiation 1 W m2 27 1 Storm Rain 0 01 Inches 28 1 Current Date Of Storm Rain 1 29 1 Day Rain 0 01 inches 30 1 Month Rain 0...

Страница 22: ...ctet Note 84 1 Subnet Mask 1st octet Note 85 1 Subnet Mask 2nd octet Note 86 1 Subnet Mask 3rd octet Note 87 1 Subnet Mask 4th octet Note 88 1 Default Gateway 1st octet Note 89 1 Default Gateway 2nd o...

Страница 23: ...memory write command is successful 117 1 Open Collector 1 register to monitor 118 1 Open Collector 1 threshold 119 1 Open Collector 1 Direction 0 down 1 up 120 1 Open Collector 1 register to monitor 1...

Страница 24: ...KTA 282 Modbus TCP Weather Station Gateway 7 05 2013 www oceancontrols com au Page 24 of 25...

Страница 25: ...KTA 282 Modbus TCP Weather Station Gateway 7 05 2013 www oceancontrols com au Page 25 of 25...

Отзывы: