Home

User Manual - Ocean Controls

image

Contents

1. Open Collector Output 2 Table 2 Connections to the KTA 282 7 05 2013 www oceancontrols com au Page 4 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway E Function Red Tx LED next to RS 485 terminal Indicates serial communications received on RS 485 Green Rx LED next to RS 485 terminal Indicates serial communications sent Modbus RTU on RS 485 Green Rx LED next to D9 connector Indicates serial communications received from weather station on the serial port Red Tx LED next to D9 connector Indicates serial communications sent on the serial port Ethernet flashes to indicate activity Yellow LED left side on RJ45 socket FDX LED On Full duplex Ethernet Off Half duplex Ethernet Green Rx LED next to RJ45 socket Flashes when packets are received on the Ethernet port Red Tx LED next to RJ45 socket Flashes when packets are sent on the Ethernet port Table 3 KTA 282 LED Functions Provide power to the KTA 282 via the V and GND screw terminals Without anything else connected you should see the red LED next to the D9 connector flash once every 5 seconds This confirms the card is on and functional Continue by connecting the D9 cable from your weather station via the WeatherLink to the male D9 port of the KTA 282 You should now see an accompanying green light every time the red LED flashes This indicates the card is successfully receiving data from the weather station Configuring Modbus Modbus RT
2. and release all comms These controls are designed mainly for internal use they allow all three communications channels Modbus RTU Modbus TCP IP and the weather station simulator to be batch killed or established Note that the communications settings must have been previously established see configuring communications to use these controls effectively e A number of additional controls in the menu bar Configuring Communications Communications can be setup by clicking Setup comms on the menu bar This presents you with a configuration screen 7 05 2013 www oceancontrols com au Page 16 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway El Select Port Address 2 Serial Switch Settings Baud 19200 Nee Jet D A g E Parity None Close Port TCP IP Switch Settings IP Address 192 168 1 100 TZ 3a SEF 8 Subnet Mask 255 255 255 0 Default Gateway 192 168 1 1 Close Socket Weather Station Simulator v Close Port Refresh Serial Ports Figure 5 Communications configuration screen Serial Switch Settings Modbus RTU can be configured by selecting a row of eight tick boxes corresponding to the switches on the gateway the ones near the D9 connector Available comm ports are shown in a dropdown box Choose your serial port and click open port to establish a connection If the correct serial port is not shown try clicking refresh serial ports to update the dropdown list with the current av
3. 93 1 Unused iis pu poo sed 95 poo 1o Unse 96 1 Uns 97 1 Uws 98 1 Unse pa 1 Uns y 100 1 Product Code OOo o y 101 1 FirmwareVersion O CdS toa 1 Modbus RTU address OOo o y 103 1 Modbus RTU baudrate Doo o y 104 Modbus RTU parity 0 None 2 Even 3 Odd 105 1 Temperature Conversion setting 106 1 Pressure Conversion setting 107 1 Windspeed conversion J 108 1 Rainandrainrate conversion Seconds 109 1 Weather station polling period 0 1 default 25 2 5 seconds 7 05 2013 www oceancontrols com au Page 22 of 25 Aliaxajaia ia a aja a a OSEAN KTA 282 Modbus TCP Weather Station Gateway AT AA address O ep payload Weather station EEPROM write send write to 1 to send EEPROM write command Weather station elevation barometer write barometer argument Weather station elevation barometer write elevation argument Weather station elevation barometer write send write to 1 to send elevation and barometer write Weather station memory write success will be written to a 1 if either weather station memory write command is successful monitor down 1 up monitor down 1 up 123 124 1 Unused o Oef 125 1 Modbus Manually Sever Sockets Note These values are the TCP IP configuration currently loaded into memory If TCP IP switc
4. Communications continue on the second socket Again the Master stops communicating on the second socket and opens a third The KTA 282 supports up to three simultaneous Modbus TCP connections so at this point all comms are OK But when it happens again the KTA 282 will refuse the connection because all sockets are occupied The only way to recover is to power cycle either the KTA 282 or the Modbus Master and manually sever the sockets By writing a one to Holding Register 125 you are enabling manual socket severing The KTA 282 monitors all open connections and if there is no actual traffic on a socket for 90 seconds that connection is artificially forced to close Webpage In addition to providing an interface to read and write the TCP IP configuration values the webpage also provides the user with a view of the current status of the KTA 282 7 05 2013 www oceancontrols com au Page 12 of 25 LOCEAN KTA 282 Modbus TCP Weather Station Gateway Firefox MM ocean Controls KTA 282 3 192 168 1 100 C Google Ocean Controls KTA 282 Modbus TCP Weather Station Gateway Barometer Ombar 0 1 Inside Temperature WC OD Outside Temperature 161 C x0 1 Wind Speed amp Direction 4 kph 4 Rain Rate 0 mrn hr Communications to Weatherstation GOOD MAC Address 00 04 a3 d3 95 98 After power cycle the TCP IP settings will load from memory IP Address haz i168 Ihi 100 Subnet Mask 255 2
5. Firmware revision 1 90 or later or a Vantage Vue Functionality Unit Conversions 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 For example if a 1 was written to holding register 106 then the atmospheric pressure readings would be in mmHg and have to be multiplied by 0 1 Holding Variable Type Conversion Registers Affected Register 1 0 1 C 1 1 C 50 106 Pressure 0 0 001 inHg 4 1 0 1 mmHg 2 0 1 mb 3 0 001 atm 107 Wind Speed 0 1 mph 1 1kph 2 1 knots 3 1m s 4 1 ft s Rain 0 0 01 in 24 27 29 30 31 32 33 34 1 1 mm Table 16 Unit Conversion Modbus Register Listing Notes 1 The units used by the gateway Unit RS Farenheit inHg Inches of Mercury mmHg Millimetres of Mercury Kilometeres per Hour Knots Nautical Miles per Hour 7 05 2013 www oceancontrols com au Page 10 of 25 mbar o 353 atm i mph MilesperHour ET knots OSEAN KTA 282 Modbus TCP Weather Station Gateway Metres per Second Feet per second Inch O in finch 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
6. Loop 2 Data Only recent Davis Instruments hardware Vantage Pro 2 firmware V1 9 or later Vantage Vue will return the loop 2 command with valid data Older hardware will either not respond or respond with rubbish values The WeatherLink cable can be used to update an older weather station with this recent firmware Holding No of Description Multiplier Units Register Registers Address 40 000 6 1 pp 62 1 6 1 ee 1 o 6 1 BT 1 Last 5MinRain_ 6 1 LastHourRain___ 001 inches mn 1 Barometric Reduction Method Table 14 Loop 2 Modbus Register Listing Notes 7 05 2013 www oceancontrols com au Page 9 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway 5 The barometric reduction method applies corrections to the barometer to get a more accurate reading The raw pressure is affected by other weather events such as temperature humidity and elevation The options are Reading Barometric Reduction Method po 4 Altimeter Setting A NOAA Bar Reduction for Vantage Pro 2 this is the default and cannot be changed Table 15 Barometric Reduction Method Description 6 Index to the minute within the hour holds the current progress of the hour used for rain rate calculations from 0 to 59 7 Holding register 78 contains the status of the loop 2 command If 1 loop 2 is being successfully received To obtain the loop 2 data the hardware must be either a Vantage Pro2
7. centibar 4 Leaf Wetnesses 0 to 15 0 Very 1 Dry 15 Very Wet inside Alarms Ewe Se o top N O am s E E 29 30 31 32 34 35 o NX Outside Alas AO Ewa TempHumalams AO i Transmitter Battery Status 1 48 7 05 2013 www oceancontrols com au Page 8 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Forecast Icons Et Forecast Rule Number 1 1 HH HH Time of Sunset Wet Bulb 60 1 Comms Status 1 OK 0 Fault EST E Ooo 4 Table 12 Loop 1 Modbus Register Listing Notes 1 The three hour barometer trend will show one of the following VELO Meaning CEA EN Rising Slowly S O 600 80 ASCII P Rev A firmware no trend info is available The WeatherLink cable can be used to update the weather station to the latest firmware Any other value The weather station doesn t have the 3 hours of barometer data required to calculate trend data Table 13 Three hour barometer trend description 2 The start date of current storm is represented as follows bit 15 to bit 12 is the month bit 11 to bit 7 is the day and bit 6 to bit O is the year offset by 2000 3 Holding Register 60 contains the communications status which indicates if the Gateway is receiving data from the Weather Station 4 Wet bulb is not NOAA accurated but rather an estimation based on temperature and dewpoint Use as an indication only
8. OSEAN KTA 282 Modbus TCP Weather Station Gateway mn O e Connects a Davis VantagePro2 or Vantage Vue Jomes 2m Rs 232 to a Modbus network Bel E DE 3 2 weather Station e Modbus RTU over RS 485 and Modbus TCP IP lector over Ethernet compatible TD ICLAN e Easy Modbus TCP IP configuration via webpage T TONTROLS Modbus registers or onboard switches MODEL KTA 282 e Supports three simultaneous Modbus TCP Modbus TCP Weather Station a masters Ethernet g e Various selectable metric and imperial unit conversions e Compatible with new Davis firmware provides additional weather data e Allows weather station configuration directly Rias ma J oo as Overview The KTA 282 Modbus TCP Weather Station Gateway allows the easy connection of a PLC Programmable Logic Controller RTU Remote Telemetry Unit or SCADA System to a Davis Instruments Weather Station Using the Modbus RTU Binary or Modbus TCP IP Ethernet protocols it enables a programmable controller to monitor and carry out actions based on wind speed wind direction temperature and many other weather based variables The KTA 282 Modbus TCP Weather Station Gateway is a major upgrade to our popular GWY 141 Modbus VantagePro2 Gateway lt provides all the functionality of the GWY 141 with the following improvements e Addition of Ethernet o Allows the KTA 282 to be polled by up to three Modbus TCP IP masters
9. Serial Comms from PC to GWY 141 mu 192 168 1 100 Navigate Refresh Webpage Comms from GWY 141 to P2 Register Description N ian 3 Hour Barometer Trend Ocean Controls Packet Type Archive Location KTA 282 Modbus TCP Weather Station Gateway Barometer Inside Temperature Tanner 0 mbar 0 1 Inside Humidity a ae 177 C 01 Outside Temperature Wind Speed Outside Temperature 161 C x0 1 10 Min Average Wind Speed Wind Speed amp Direction 4 kph 4 Wind Direction Rain Rate 0 mm hr Extra Temperatures 1 amp 2 Extra Temperatures 3 amp 4 Communications to Weatherstation GOOD 2 3 4 5 6 7 8 3 Extra Temperatures 5 amp 6 MAC Address 00 04 a3 d3 95 98 Extra Temperatures 7 Soil Temperatures 1 amp 2 Soil Temperatures 3 amp 4 Leaf Temperatures 1 amp 2 After power cycle the TCP IP settings will load from memory Leaf Temperatures 3 amp 4 Outside Humidity IP Address 192 168 1 100 Extra Humidities 1 amp 2 Subnet Mask 255 255 Extra Humidities 3 amp 4 ir z Default Gateway 192 168 Figure 6 PC Application main screen The main page of the application features A grid displaying the values of the holding registers and their descriptions e Aweb browser with URL textbox and refresh button e Adynamic notifier of the communications statuses o Modbus RTU over RS485 o Modbus TCP IP o Communications with the weather station e Two buttons named bind all comms
10. 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 lt barometer calibration in Hg 1000 gt lt weather station elevation i
11. the Holding Register containing the weather variable to be monitored 118 1 Set Point Sets the threshold at which the open collector will turn On or Off 119 1 Direction Sets the direction of the switching behaviour O output active below setpoint 1 output active above set point 120 2 Register Sets the Holding Register containing the weather variable to be monitored 121 2 Set Point Sets the threshold at which the open collector will turn On or Off 122 2 Direction Sets the direction of the switching behaviour O output active below setpoint 1 output active above set point Example Wind speed is held in register 23 am on a farm where the roof of my tin shed will blow off above 70 km h gusts At 50km h want a buzzer to sound as a warning write 23 into register 117 50 into register 118 and 1 into register 119 The output will turn on the buzzer if the windspeed goes above 50 km h 7 05 2013 www oceancontrols com au Page 15 of 25 LOLEAN KTA 282 Modbus TCP Weather Station Gateway KTA 282 PC Application The KTA 282 can be configured using a purpose built PC application for windows XP Vista 7 8 This program is available for free download off the Ocean Controls website Simply unzip the compressed archive and run the installer setup HA KTA 282 PC Application V1 0 0 3 Setup Comms Change Conversions Change TCP IP Settings Write EEPROM Values to Weatherstation TCP IP Comms from PC to GWY 141 Nc
12. 4 Success will be represented with a 1 To write the second command first write register 114 to zero so that success can be confirmed on the next write Follow the same procedure as before OC decimal 12 the next address in the weather station s EEPROM to register 111 FE decimal 254 to register 112 and a 1 to register 113 Register 114 will again change 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 Ocean Controls website for detailed information on the EEPROM Modbus TCP Manual Socket Severing Some users have experienced some problems with their Modbus TCP connection failing after prolonged use between days and months If this is a problem for you it may help to enable manual socket severing by writing a one to Modbus Holding Register 125 Modbus Holding Description Register Modbus Socket 1 Automatically severs a Modbus TCP connection after Sever 90 seconds of inactivity 0 Normal Modbus behaviour socket remains open for the duration of the connection The issue is caused by the Modbus Master mishandling the Modbus connection In this situation the Master opens a socket to the KTA 282 and begins communicating over Modbus TCP At some point the Master stops communicating on that socket and tries to open another socket without properly closing the first connection
13. 55 255 0 Default Gateway 192 168 i Write to Gateway Figure 2 KTA 282 Webpage Some common current weather values are displayed along with their corresponding unit and multiplier The unit and multiplier are displayed dynamically that is they change if conversions change This is therefore a good way to view the current conversion settings of the KTA 282 Below these readings is an indication of the current communication status between the gateway and weather station either GOOD or BAD Directly above the horizontal line reads the MAC address for the KTA 282 This identifier is globally unique Directly below the horizontal line is the configuration fields for the gateway and a line of text reading After power cycle the TCP IP settings will load from lt dynamic value gt 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 switches on power up despite changing them using Modbus or the webpage XML Request In addition to Modbus TCP IP the gateway can also return the status of the holding registers via an XML file over HTTP port 80 To trigger this request send a HTTP GET query to the KTA 282 s IP Address with the register number appended after a forward slash Alternatively the entire register listing can be returned by using the same query with a registers xml termination Th
14. TCP IP Configuration Registers 7 05 2013 www oceancontrols com au Page 7 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Each register holds one octet of the TCP IP configuration These can be read to view the current TCP IP settings or written to set the values Once all twelve octets are manually set the settings are committed to the gateway by writing a one to holding register 92 Make sure all registers are written with correct values before they are committed to the gateway Weather Station Data The gateway operates as a Modbus slave To access the holding registers in the gateway the PLC or RTU must be configured as a Modbus Master Using Modbus Function 3 the PLC can read the Holding Registers Loop 1 Data Data returned by the loop 1 command All supported Davis Instruments hardware will populate these fields Holding No of Description Multiplier Units Notes Register Registers Address 1 Indicates the current 3 hour barometer trend 40 000 Packet Type always 0 2 3 1 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 it Barometer O S Cs 1 inside Temperature Inside Humidity e 10Min Average Wind Speed 1 mp Wind Direction Rain Rate UV index o INS Solar Radiation A StomRain 001 inches 2 mb N N w IRC Day Rain 00 inces 2 4 Soil Moistures
15. U Serial Modbus is provided on RS 485 The communications settings for this port are set using 8 DIP switches next to the Ethernet Socket Any changes to the switches won t take effect until the KTA 282 is power cycled Modbus RTU Switch 1 Switch 2 Switch 3 Switch 4 Address E 2 oN OO OFF pp 3 OFF N OFF OFF A A _ ON OS A O 4 pS TOF o _ ON OFF QQ 6 ON OFF ON OFF Y 8 N ON N OFF Y 9 OF OFF _ F ON Table 4 Modbus RTU address switches Baud Rate Switch 5 Switch 6 2400 4800 9600 19200 Table 5 Modbus RTU Baud Rate switches 7 05 2013 www oceancontrols com au Page 5 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Parity Switch 7 Switch 8 Odd OFF ON Table 6 Modbus RTU Parity switches Notes 1 The bootloader is an advanced function that allows firmware updates to be deployed in the field Modbus TCP IP amp Ethernet Webserver To communicate over a TCP IP network the KTA 282 needs five pieces of information 1 The Internet Protocol IP address of the KTA 282 within the network Set by the user 2 The Subnet Mask of the network Set by the user 3 The Default Gateway of the network Set by the user 4 Aunique MAC address Shipped preloaded by Ocean Controls 5 The TCP IP port the request is being sent on For the KTA 282 Modbus TCP IP is on port 502 and the webserver HTTP is on port 80 These settings themselves can b
16. a 1 TimeofSunrise 1 HHMM 54 et Bulb JO 01 O FE 3 7 17 Inches hour 4 1 o loja ajaja o RA o o 313 o SS Amma toto 5 5 7 05 2013 www oceancontrols com au Page 21 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Unused 1 Unused o 56e 1 Unused 58 1 Unused pos 1 Unused Comms status between KTA 282 and weather station 1 OK O Fault pe 1 Min Wind Speed 01 62 1 10Min Wind Gust 01 mph 63 1 WindDirectionfor10MinGust__ 1 degrees 6 1 DewPoint A Y 65 1 Heatiddex_ CC 1 F 6 1 Windchl 1 O F F 68 1 lLast MinRain___________ 001 inches 69 1 lLastHourRan___________ 001 inches Inches 71 Barometric Reduction Method Inches Inches Inches Absolute Barometric Pressure 0 001 Inches 7 Altimeter Setting 0 001 Inches 6 77 Index to Minute Within the Hour 78 Loop 2 Comms Status sid o o ms S S IP Address 1 octet sr 1 IPAddress 2 octet 82 1 IPAddress 3 octet Noe IP Address 4 octet Noe 84 1 SubnetMask1 octet Noe 85 1 Subnet Mask 2 octet Noe 86 CC Subnet Massk 3 octet Note Subnet Mask 4 octet Noe Default Gateway 1 octet Noe pos 1 Default Gateway 2 octet Noe 90 1 Default Gateway 3 octet Note pon 1 Default Gateway 4 octet Noe 1 Commit IP values to Gateway write a 1 to send values
17. ae cates alae aaa ee telcos cea temdoaie 9 A A 10 o a a ac ea eee 11 TOMA A A AA A AS AAA AS 11 Weather station Polling Pedo a A ualinieleay ed iaaii 12 Weather Station EEPROM Write Advanced USEIYS ccccsssssssssssssssssssssssssssssssssssssssssssssssssssesssessusesseseess 12 Example BAR COMMANA ccccsessseseseseseeesesesesssesesesessessesesessessssssseesessessesesesssssesesesesesssessseeasaeeesssss Write EEPROM Values to Weather Station cccsssssssssssssssssssssssesesesssssesessasasasaeasssseasasssssesssssssenes Ble A O A Py ME MUERTE RP TEE me eer Pee o A A A Weather station AS se ca a a a id E os bal NO N he a la FR e he e fa e ja fa ja fa fa fa fa fa fa fa fa uo SB ls lo leo lso lo loo lo UG la le lo ls ls lo 7 05 2013 www oceancontrols com au Page 2 of 25 CEAN CONTROLS KTA 282 Modbus TCP Weather Station Gateway Getting Started Certain generic terms are used throughout this manual to refer to equivalent hardware Terminology Refers To Weather station e Vantage Pro 2 console e Vantage Vue console e Envoy wired or wireless Any weather sensors your weather station communicates with This is commonly a bunch of sensors packaged together as an Integrated Sensor Suite ISS but can also include e ISS Plus ISS UV amp solar radiation e Wireless Temperature Sensor e Temp Humidity Sensor e Leaf amp soil moisture temp Or individual sensors not an exhaustiv
18. ailable serial ports TCP IP Switch Settings Modbus TCP IP is setup using a similar procedure using the other eight DIP switches near the Ethernet Socket Click open socket to establish the connection Weather Station Simulator The application also features a weather station simulator This software mimics the behaviour of the Davis Instruments weather stations providing dummy random weather data to the gateway Connect a D9 serial cable to the gateway and open the corresponding port using the dropdown box This establishes a simulation at 19200 baud the default for Davis hardware Provided there is also successful Modbus communications the grid on the main page will be populated with random data that will intermittently change Other Menu Items Change Conversions Displays a screen whereby the units conversions of the gateway can be set Choose your required 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 TCP IP settings of the gateway to be altered Fill out the relevant fields and click write to gateway to set If any fields are empty or contain invalid data they will turn yellow and the write will fail Clear cells empties all cells and returns them to white If the write is successful notification text will be displayed Configuration Written to Gatewa
19. dure e D s and retransmission of wireless sensors if applicable e Date and time e Latitude and longitude e Daylight savings e Elevation e Wind cup size large is standard e Rain collector size US models 0 01 in UK models 0 2 mm This will typically only need to be changed if a metric adapter is fitted to a US unit e Rain season start e Serial Baud Rate ensure it is at default 19200 No other baud rates are supported by the gateway 7 05 2013 www oceancontrols com au Page 3 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Continue the set up process by connecting all necessary cabling A generic set up is shown in the diagram below depending on your particular product connections may differ slightly Weather Sensors Wired S Wireless Cable with RJu Termination VA x Weather Station LL y Y WeatherLink Wired serial cable RJ12 to Dg plug into male Dg port 19200 Baud KTA 282 Modbus TCP a ast CZ Weather Station Gateway 5 Modbus RTU on RS485 Modbus TCP IP over Ethernet Controller Modbus Master Figure 1 Typical weather station set up Configuring the KTA 282 Connection Description Power Positive 8 to 28V DC 100mW Power Negative Ground RS 485 Data D RS 485 Data Ground Male D9 Serial communications RS 232 between KTA 282 and Weather station via WeatherLink cable RJ45 Socket Ethernet Port Open Collector Output 1 Open Collector Output4 ee
20. e XML file structure is shown in the screenshots This format is consistent Single Register lt IP Address gt lt holding register number gt Using a web browser with the gateway at its default address requesting register 60 192 168 1 100 60 7 05 2013 www oceancontrols com au Page 13 of 25 TICLAN US tonTROLS KTA 282 Modbus TCP Weather Station Gateway Firefox 7 5 E3 Mntp 1192 168 1 100 60 192 168 1 100 60 d oogle Py 4 D This XML file does not appear to have any style information associated with it The document tree is shown below lt xml device KTA 282 firmwareversion 100 gt lt modbusregisters gt lt register id 60 gt lt value gt 1 lt value gt lt register gt lt modbusregisters gt lt xml gt Figure 3 Single register HTTP query using browser All Registers lt IP Address gt registers xml Using a web browser with the gateway at its default address 192 168 1 100 registers xml Firefox v Bib http 1192 168 1 100jregisters xml 192 168 1 100 reaisters xml Cc B Google F 4 A B A This XML file does not appear to have any style information associated with it The document tree is shown below lt xml device KTA 282 firmwareversion 100 gt lt modbusregisters gt lt register id 1 gt lt value gt 255 lt value gt lt register gt lt register id 2 gt lt value gt 0 lt value gt lt regi
21. e list e Leaf wetness Solar radiation UV Anemometer Rain Collector Temperature Weatherlink The serial WeatherLink expansion cable Required for weather station connection to the KTA 282 Can also be used to update the firmware of your console Gateway ____ The KTA 282 Modbus TCP Weather Station Gateway The Modbus device you are using to poll the KTA 282 Weather station Persistent memory held inside the weather station used to store factory EEPROM calibration values location specific data and other configuration values It is this memory that is set during the setup of your weather station for first 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 need to fit the WeatherLink in this procedure This is now the best time to setup your weather station for first use Your Davis documentation will detail this process If you have a weather station with a screen you can follow the prompts after entering setup mode otherwise the setup process can be done by connection to a PC The KTA 282 also offers a method for setting up your weather station by directly writing to registers however it is designed for advanced users to alter calibration values and is not recommended for first use configuration The following values are typically set during this proce
22. e set by one of three available methods 1 8 DIP switches next to the Ethernet Connector 2 Modbus registers using either Modbus RTU on RS485 or Modbus TCP IP on Ethernet 3 The webpage Configuration Using Switches Switch one determines where 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 switch on the settings are loaded from internal memory saved after being previously configured via the webpage or Modbus Power Up Configuration Switch 1 TCP IP settings from switches TCP IP settings from internal persistent memo Table 7 TCP IP mode switch Switch two is the panic switch returning the KTA 282 to default if the user writes incorrect values or doesn t otherwise know what settings the card currently possesses To use flick the switch on hold for one second and turn back off again Don t leave this switch on the card will be constantly resetting and therefore unresponsive Default Values IP Address 192 168 1 100 Subnet Mask 255 255 255 0 Default Gateway 192 168 1 1 Reset to Default Switch 2 TCP IP settings reset to default Table 8 TCP IP Reset Switch Switches three and four choose between four different TCP IP schemes commonly used in private address space TCP IP Base Settings Switch 3 Switch 4 IP Address 192 168 1 x 7 05 2013 www oceanco
23. en P R C N A di Responsible Signature Name Title Name Title _Ja Date of Issue Date The Certification of Verification shows that the tested sample technically compliances with the FCC Part 15 The certification applies to the tested sample above mentioned only and should not implied an assessment of the whole Tel 86 755 33663308 Fax 86 755 33663309 E mail sem semtest com cn Website www semtest com cn 7 05 2013 www oceancontrols com au Page 25 of 25
24. h 1 is set to load from switches the KTA 282 will be on a different IP address to what is displayed 7 05 2013 www oceancontrols com au Page 23 of 25 ICCAN Wea KTA 282 Modbus TCP Weather Station Gateway 1 8 pp Shenzhen SEM Test Technology Co Ltd V Al 1 F Building A Hongwei Industrial Park Liuxian 2nd Road F t TEAS Bao an District Shenzhen P R C 518101 lt CERTIFICATE OF CONFORMITY Certificate No SEM13090897 The following product has been tested by Shenzhen SEM Test Technology Co Ltd with the listing standards and found in conformity with the EC Council Directive of 2004 108 EC It is possible to use CE marking to demonstrate the conformity with this EMC Directive Report No STR13098325E Applicant Ocean Controls Address Factory 3 24 Wise Ave Seaford Victoria Australia Manufacturer Ocean Controls Address Factory 3 24 Wise Ave Seaford Victoria Australia Description of Product Modbus TCP weather station Gateway Model No KTA 282 v6 Trade Name Ocean Controls Test Standards EN 61000 6 1 2007 EN 61000 6 3 2007 A1 2011 The referred test report s show that the product complies with the essential requirements in the 5 above listed standards The applicant is authorized to use this certificate in connection with the EC declaration of conformity according to Annex 1 of the Directive Test Laboratory This certificate of confor
25. ion to the gateway 4 Plug an Ethernet cable from the gateway to a controller either directly or via an Ethernet switch After a moment the lights on the Ethernet socket should illuminate flash If so go to step 4 If not there is a problem with the network hardware Try 1 Making a direct connection between the KTA 282 and a PC 5 Use the switches to set the TCP IP settings Using a machine in the same subnet browse to the IP address of the gateway If you see the KTA 282 webpage you have successful Ethernet communications The gateway can be polled by a Modbus TCP IP master on this address If not 1 Check your network settings to make sure the gateway is in the same subnet as your other network hardware On windows 1 Press windows R to open the run dialogue box 2 Type cmd to open the command prompt 7 05 2013 www oceancontrols com au Page 18 of 25 TICLAN US Tontrots KTA 282 Modbus TCP Weather Station Gateway Type the name of a program folder document or Internet resource and Windows will open it For you 3 Type ipconfig This will return the current PC s network adapter settings cx Command Prompt lolx C Documents and Settings Administrator gt ipconfig Windows IP Configuration Ethernet adapter Local Area Connection Connection specific DNS Suffix E IP Address cecssooo 192 168 1 205 Subnet Mask 255 255 255 0 Default Gateway 192 168 1 1 C Documents and Settings Admini
26. mity is based on a single evaluation of the submitted sample s of the above mentioned product It does not imply an assessment of the whole production and other relevant Directives have to be observed Tel 86 755 33663308 Fax 86 755 33663309 E mail sem semtest com cn Website www semtest com cn y 7 05 2013 Www oceancontrols com au Page 24 of 25 CONTROLS QE CAN KTA 282 Modbus TCP Weather Station Gateway VERIFICATION OF CONFORMITY r According to FCC Part 15B y Certificate No SEM13092599 g 4 D e Responsible Party s Name Ocean Controls g Address Factory 3 24 Wise Ave Seaford Victoria Australia f q gt Manufacturer Ocean Controls 2 Address Factory 3 24 Wise Ave Seaford Victoria Australia Description of Product Modbus TCP weather station Gateway 2 7 Model No KTA 282 v6 ie F Trade Name Ocean Controls N E D b Report No STR13098326E 3 4 Compliance With Part 15B of FCC Rules A d This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 This 4 4 device may not cause harmful interference and 2 This device must accept any interference received including Y interference that may cause undesired operation y Responsible Party Tested By 7 EE EM Shenzhen SEM Test Technology Co Ltd 1 F Building A Hongwei Industrial Park Liuxian 2nd Road Bao an District Shenzh
27. ms If the Gateway is receiving messages from the weather station the green Rx LED should flash in response to the red Tx LED roughly every 10 seconds Ethernet If a valid connection is made on Ethernet cable between another controller network card or Ethernet switch at least one LED on the Ethernet socket will be illuminated regardless of TCP IP settings If not there is a problem with the network equipment RS 485 If any type of serial data is sent over RS 485 the Rx LED will flash If the serial data is a valid Modbus command at the correct address baudrate and parity the gateway will send a response This will cause the green Tx LED to flash Troubleshooting Procedure 1 Begin with the Gateway disconnected from all cabling and all DIP switches in the off position 2 Apply 8 to 28 volts to the power terminals Check the Tx LED next to the D9 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 ensure you are receiving the required DC voltage 3 Plug the weather station into the KTA 282 using the D9 connector Check the Rx LED next to the D9 connector It should now flash green in combination with the red LED If so move to step 4 If not 1 Check that the weather station is powered 2 Check the WeatherLink is correctly installed 3 Check the cabling from the weather stat
28. n feet gt The EEWR command is of the following format EEWR lt address in hexadecimal gt lt value in hexadecimal gt 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 Name Description Register PRA EEPROM address Address of the EEPROM register in the weather station memo 111 EEPROM Payload Value to be committed to the memory at the address specified in Holding Register 110 Commit to EEPROM Write a 1 to this register to activate the EEPROM write command Barometer Value Value to be written to BAR_CAL Barometer argument 114 Elevation Value to be written to ELEVATION Elevation argument re Serene er ern enn command ee ae 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 The weather station requires the pressure to be in thousandths of an inch merc
29. ntrols com au Page 6 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Subnet Mask 255 255 255 0 A A Default Gateway 192 168 1 1 IP Address 10 0 0 x Subnet Mask 255 0 0 0 Default Gateway 10 0 0 1 IP Address 10 1 1 x Subnet Mask 255 255 0 0 Default Gateway 10 1 1 1 IP Address 172 16 0 x Subnet Mask 255 240 0 0 Default Gateway 172 16 0 1 Table 9 TCP IP Subnet switches The final four switches determine the last octet of the IP address Last Octet Switch 5 Switch 6 Switch 7 Switch 8 IP Address 115 Table 10 TCP IP IP Address switches Configuration Using Webpage The KTA 282 has an inbuilt web server that can service HTTP requests on port 80 Simply point your web 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 populated with the Gateway s current values These can be altered and written to the KTA 282 After writing these values you will likely want to change TCP switch 1 to read from memory on the next power up otherwise the TCP IP configuration will read from the switches Configuration Using Modbus RTU or TCP IP The KTA 282 has 13 Modbus holding registers reserved for configuration These settings can be read and written using either serial Modbus RTU on RS 485 or Modbus TCP IP Modbus Register Function 1 octet IP Address Table 11 Modbus
30. o your PC using an Ethernet cable and manually configure the PC to be 7 05 2013 www oceancontrols com au Page 19 of 25 QE CAN 7 05 2013 CONTROLS KTA 282 Modbus TCP Weather Station Gateway on that subnet On windows 3 1 Set the TCP IP settings of the gateway to default 3 2 Open the Control Panel and go to network connections 3 3 Right click on the LAN adapter and go to properties _ Local Area Connection Properties General Advanced Connect using BB Realtek ATL8168C P 8111C P PCI This connection uses the following items M E Client for Microsoft Networks M 8 File and Printer Sharing for Microsoft Networks A Z QoS Packet Scheduler Y Install Description Transmission Control Protocol Intemet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Show icon in notification area when connected Notify me when this connection has limited or no connectivity 3 4 Click on Internet Protocol TCP IP and go to properties Internet Protocol TCP IP Properties General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IP address 192 Subnet mask 255 Default gateway 192 Use the follo
31. simultaneously o Provides a webpage whereby TCP IP settings can be easily monitored and altered Also shows current settings weather data and communications statuses o Can be interrogated over HTTP to return Modbus register values in XML format e Allows all 125 registers to be polled at once previously limited to 30 e Supports the new LOOP 2 command in compatible devices VantagePro 2 firmware V1 90 or later and Vantage Vue This provides an additional 16 packets of previously unavailable weather data e Provides a method to setup the weather station for first use without the need to connect it to your PC Notes 1 The Weatherlink cable can be used to update the firmware of your weather station allowing it to respond to the loop 2 command Device Compatibility The KTA 282 is compatible with the following Davis Instruments weather stations Davis Instruments product numbers in bold 6152C Cabled VantagePro2 6162C Cabled VantagePro2 Plus 6152 Wireless VantagePro2 6162 Wireless VantagePro2 Plus 6153 Wireless Vantage Pro 2 Fan Aspirated 6163 Wireless Vantage Pro 2 Plus Fan Aspirated 6250 Vantage Vue 6316 Wireless Weather Envoy 6316C Cabled Weather Envoy 7 05 2013 www oceancontrols com au Page 1 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Contents E e T O AN 1 Does Compot b V a A A AA A AAA A AE A AAA 1 A eien uence beset E Ea E 4 EE Shon Set A cl i iS 4 Koo MD A ee ashes alc
32. ster gt lt register id 3 gt lt value gt 632 lt value gt lt fregister gt lt register id 4 gt lt value gt 0 lt value gt lt vegister gt lt register id 5 gt lt value gt 180 lt value gt lt register gt lt register id 6 gt lt value gt 72 lt value gt lt fregister gt lt register id 7 gt lt value gt 161 lt value gt Figure 4 Complete register listing HTTP request using browser Error Request If the GET request is of the wrong format or otherwise unrecognised by the KTA 282 a bad request XML is returned 7 05 2013 www oceancontrols com au Page 14 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Firefox gt Bi pito 192 168 1 100 3 192 168 1 100 7 EJ Googie Plts A B This XML file does not appear to have any style information associated with it The document tree is shown below lt xml device kta 282 firmwareversion 100 gt lt content gt bad request lt content gt lt xmal gt Figure 5 Bad Request XML file Open Collector Outputs PCB Rev 5 and later The KTA 282 is equipped with two open collector outputs able to sink up to 300mA These can be user configured to switch on off at a given threshold of any weather data point They are therefore useful as alarms or for basic control operations Set up is via six 6 Modbus registers Holding Open Name Function Register Collector 117 1 Register Sets
33. strator gt 4 Ensure these settings are in the same subnet as the gateway In this example the PC would be able to contact the PC at default subnet 192 168 1 x but not on 10 1 1 x 2 Check your network 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 that IP address If that address is already taken you will get returned packets 2 1 Open the command prompt as above on windows 2 2 Type ping lt IP address gt cx Command Prompt C Documents and Settings Administrator gt ping 192 168 1 166 Pinging 192 168 1 166 with 32 bytes of data t timed out t timed out timed out timed out Ping statistics for 192 168 1 160 Packets Sent 4 Received Lost 4 108 loss C Documents and Settings Administrator gt cx Command Prompt C Documents and Settings Administrator gt ping 192 168 1 168 Pinging 192 168 1 18B8 with 32 bytes of data Reply from 192 168 1 16 bytes 32 time lt ims TTL 128 from 192 168 1 100 byt time lt ims TTL 128 from 192 168 1 106 byt time lt ims TTL 128 from 192 168 1 106 bytes 32 time lt ims TTL 128 Ping statistics for 192 168 1 1066 Packets Sent 4 Received 4 Lost z loss Approximate round trip times in milli seconds Minimum ms Maximum ms Average Gms 3 Make a direct connection t
34. ury Therefore 1013 25 mbar 7 05 2013 www oceancontrols com au Page 11 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway becomes 29 9 inHg 29900 mInHg The elevation must be in feet 204 metres becomes 670 feet Write 29900 to Modbus register 115 and 670 to register 116 Commit the values to the weather station by writing register 117 to 1 Note the BAR command must send both arguments to the weather station If one of elevation or barometer calibration does not need to be written you must manually write that register to zero before sending the BAR command Example EEWR command The user desires the latitude to be set for Melbourne Australia The calculation is as follows Melbourne lies at 37 7 South Southern latitudes are represented in Davis weather stations as negative tenths of a degree 377 As an unsigned number in 2 s compliment this is 65159 or FE87 in hexadecimal To write this figure to the weather station two commands will have to be used one for each byte The latitude is held in EEPROM location OB in the weather station and is two bytes long Values are little endian least significant byte first therefore the following two commands must be sent EEWR OB 87 EEWR 0C FE This is done with the Modbus interface as Write OB or decimal 11 to register 111 and 87 decimal 135 to register 112 To send the command write a 1 to register 113 To confirm the EEPROM write as a success read register 11
35. wing DNS server addresses Preferred DNS server Alternate DNS server 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 Gateway 192 168 1 1 3 6 Use a ping request to 192 168 1 100 You should get returned packets 3 7 Point your web browser to the IP address A webpage should be displayed www oceancontrols com au Page 20 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Appendix A Complete Holding Register Listing Holding No of Description Multiplier Register Registers Address Indicates the current 3 hour barometer trend Packet Type always 0 40 000 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 0 001 E 1 0 1 o mn 3s oO e bh 7 Extra Humidities 28 n o Curent Date Somra fT O pp 1 DayRan 00 inches 30 1 Monthrain_ 001 inches 3 pp 1 YearRain 001 inches 32 1 DayEr 00014 inches 34 ps341s Yerer o00t inches O 35 37 2 4 Leaf Wetnesses 0 to 15 0 1 Very Dry 15 Very Wet a 7 inside Alarms A ae Co o Ronas A Oa n Outside alarms oo o paz a tra Temp Hum alarms a III 2 Soll and Leaf Alarms a 1 E Transmiter Batey Sus td Sd 49 1 Console Battery Voltage po Forecasts OO O o n ps 1 Forecast Rule Number J 1 ps
36. y Writes holding registers 80 to 92 Write EEPROM Values to Weather Station Provides an interface to write the EEPROM of the weather station using the method described in Weather station EEPROM Write The EEPROM command is set using the address and payload textboxes and committed to the weather station using Write EEPROM Similarly the BAR command is sent using the barometer and elevation textboxes and committed to memory with the Write elev barom button If any fields are empty or contain invalid data they will turn yellow and the write will fail Clear cells empties all cells and returns them to white A successful write can be checked by clicking Check Success Register This notification should be cleared using Clear Success Register so that success can be confirmed after every attempted write A failed write will cause the KTA 282 to reset power off and back on Writes holding registers 110 to 112 EEPROM 113 to 115 BAR and 116 Success register 7 05 2013 www oceancontrols com au Page 17 of 25 OSEAN KTA 282 Modbus TCP Weather Station Gateway Troubleshooting A number of LED s have been provided to assist with troubleshooting should you run into problems with the KTA 282 Power Connected Without any connections made except power the Tx LED next to the D9 port should flash red once roughly every 5 seconds This confirms the gateway is on and operational Weather station Com

Download Pdf Manuals

image

Related Search

Related Contents

Lasko 48" Max Air Tower Fan  Wasserkocher mit Teesieb.book - GT  CONDITIONS GÉNÉRALES DU CONTRAT D  Declaration Processing Training Booklet  Istruzioni per l`uso  El modelo - Renfert GmbH  Tiny Turbo XTra User`s Manual  取扱説明書 警告 警告 - Psn  SwitchBlade x8100 取扱説明書  エルメータ EDM-3D 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file