X-320M™ User's Manual Warranty Warranty This Xytronix Research & Design, Inc. product has a warranty against defects in material and workmanship for a period of one year from the date of shipment. During the warranty period, Xytronix Research & Design, Inc. will, at its option, either repair or replace products that prove to be defective.
FCC Statement X-320M™ User's Manual FCC Statement This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: - This device may not cause harmful interference. - This device must accept any interference received, including interference that may cause undesired operation.
If X-320M™ is installed on the Internet, it is recommended that passwords be enabled for the Control Page. Passwords should be at least 8 characters in length and use a combination of upper and lower case letters and numbers.
Introduction X-320M™ User's Manual Section 1: Introduction X-320M™ contains a unique combination of dedicated meteorological instrument functions as well as general purpose control capability in a compact, cost-effective package. Like all ControlbyWeb products, X-320M is designed to operate through a web browser; no driver required, no subscription, no remote server, no script programming.
Page 9
Introduction With proper configuration of Ethernet gateways, X-320M can be viewed through an Internet connection at remote locations. In addition to standard weather information, users can leverage the sophistication of X-320M for some of the following functions: - Data logging.
Outputs can be used for irrigation and pump control. Remote Relays (2) Control relays on other ControlByWeb products based on input conditions. Useful for remote control of alarms, irrigation systems, or equipment protection applications, such as cutting power during lightning activity or turning on heating equipment in freezing conditions.
X-320M™ User's Manual Introduction 1.2 X-320M™ Models Available X-320M™ is currently available in one model. X-320M-I Web-enabled Meteorological Station Controller 1.2.1 Optional Accessories Accessory Description Part Number Temperature Sensor Digital temperature sensor with 12 inch wire leads. X-DTS-U Note: Leads may be extended.
1.3 Connectors & Indicators Figure 1.4a - Connections & Indicators I/O Connector X-320M™ has a 14-position removable terminal connector. Which is used to provide power to the module and connect Digital I/O, Analog Inputs, Frequency Input, and Temperature/Humidity Sensor Inputs.
1.4 Accessing X-320M™ Standard Access Using a Web Browser X-320M™ has a built-in web server that provides simple web pages that can be accessed directly using a standard web browser. This allows users to access the unit with NO SPECIAL SOFTWARE installed on their computer.
2.5 inches apart. The head of the screw should be about 1/10 inch away from the wall. 2.1.2 DIN-Rail Mounting Attach X-320M™ to the DIN-Rail by hooking the top hook on the back of the enclosure to the DIN-Rail and then snap the bottom hook into place. To remove X-320M™ from the DIN-Rail, use a flat-head screwdriver.
3. Reconnect the terminal connector. 4. Apply power. It is recommended that the load (device to be controlled) not be connected to X-320M™ until after X- 320M™ has been configured and tested. By doing this, wiring and configuration mistakes will not cause the load device to turn on unexpectedly.
2.2.1 Power Supply Connection X-320M™ requires power for its internal logic circuits. Connect a 9-28 VDC power supply to the Vin+ and Vin- terminals. Note that a regulated power supply is recommended, such as a wall-mount AC-DC adapter, or POE Injector and Splitter.
X-320M™ User's Manual Installation and Setup 2.2.2 Digital Input/Output Connections The Digital I/O's can be individually programmed to function as either inputs or outputs. When configured as inputs, pull-up or pull-down resistors can be programmed. For unconnected inputs, the pull resistors will be read as ON when pulled up, or OFF when pulled down.
Page 18
Relays on other ControlByWeb devices can be controlled with X-320M through the Remote Relay feature. Up to two remote relays can be configured, each of which may be on a separate device.
X-320M™ User's Manual Installation and Setup 2.2.3 Analog Input Voltage and current output sensors can be connected to X-320M analog inputs. Typical weather station analog sensors can measure temperature, humidity, solar radiation, barometric pressure, and soil moisture. Additionally, the analog inputs can function in a digital mode, activating alarms based on voltage thresholds.
Page 20
X-320M™ User's Manual Wiring Considerations The analog inputs on X-320M™ are very sensitive (10 uV) and can be affected by low level noise. The Vin- on X-320M™ should be connected to earth ground. Additionally, all cable shields should be connected to earth ground. Users should observe single-point ground strategies, typical of instrumentation systems.
Page 21
X-320M™ User's Manual Installation and Setup 4-20 mA Sensors (Current level conveys information, not voltage levels) Some sensors are designed to change the output of the current instead of the voltage levels. To use these sensors, a resistor is placed in parallel with the sensors. Placing a resistor across the terminals of the sensor creates a voltage drop between them that changes as the current changes.
Figure 2.2f - Frequency Input Connection Wiring Considerations The frequency input on X-320M™ is very sensitive and can be affected by low level noise. The Vin- on X-320M™ should be connected to earth ground. Additionally, all cable shields should be connected to earth ground.
X-320M™ User's Manual Installation and Setup 2.2.5 Digital Temperature/Humidity Sensor Connection The digital sensors use a one-wire data bus, which allows up to six sensors to share the same terminals (+5V, Ground, Data). Every sensor on the one-wire bus is assigned a unique serial number when it is manufactured.
Page 24
(linear topology) as shown in Figure 2.2i. Many factors will determine the maximum length of cable used to connect sensors to X-320M™. Some of these factors include, but are not limited to, the type of cable used, the number of sensors, ambient electromagnetic noise, and sensor network topology.
Ethernet port on a computer using a “crossover” cable. Otherwise, for connection through a hub or router, a standard “straight-through” cable should be used. Figure 2.2k - Network Connection X-320M™ can be used on a wireless network by connecting through an Ethernet bridge or a wireless router. Figure 2.2l - Wireless Connection Note: The wireless Ethernet bridge or router must be properly configured for the wireless network.
This option is used to TEMPORARILY assign an IP address to X-320M™ without the need to change the IP address of the configuration computer. X-320M™ will use this IP address as long as power is maintained. Once power is lost, X-320M™ will use the IP address assigned in the setup page and not the temporary address assigned here.
Page 27
Note: IP address format is xxx.xxx.xxx.xxx. The serial number can be found on a label on the module board. The format is ss:ss:ss:ss:ss:ss. For example, to set X-320M™ (with serial number 00-0C-C8-01-00-01 ) to 10.10.10.40 the following command would be used: arp -s 10.10.10.40 00:0c:c8:01:00:01...
2.3.2 Method 2: Assign a Temporary IP Address to Configuration Computer If the foregoing option above is not used, you can use this option to communicate with X-320M™. By default, X-320M™ comes from the factory with an IP address of 192.168.1.2. Communications with X- 320M™...
Page 29
X-320M™ User's Manual Installation and Setup 2. Double click on the icon labeled Network Connections. The Network Connections window will open (Figure 2.3c). Figure 2.3c- Network Connection 3. Right click on the icon labeled Local Area Connection. In the menu that follows, select the option at the bottom of the menu labeled Properties.
Page 30
Figure 2.3e- TCP/IP Properties 7. Open the setup pages as described in section 2.4. If the setup pages are not accessible, verify that X-320M™ is powered on and that the LINK light is illuminated. Check all network connections and settings.
X-320M™ User's Manual Installation and Setup 2.4 X-320M™ Setup Pages X-320M™ is configured using a web browser. To access the setup pages, enter the following URL in the address bar of a web browser: http://{ipaddress}/setup.html For example, using the default IP address, enter: http://192.168.1.2/setup.html...
Page 32
This is the serial number of this unit. The serial number is also the MAC address of the unit. System Monitoring: Internal Temp: This displays the current temperature inside X-320M™. Note that it is normal for this to be significantly higher than room temperature.
2.4.2 Network Tab The network parameters are set on this page. Note: X-320M™ must be power-cycled (power disconnected, then reconnected) before network settings take effect. Only the settings on the Network tab require power-cycling before taking effect. Figure 2.4b - Network Tab Xytronix Research &...
Page 34
Use DHCP This option allows DHCP to be enabled or disabled. If this option is set to Yes, X-320M™ will wait for an IP address from a DHCP server each time it is powered. If DHCP is set to Yes, the Network page must be submitted and X-320M™...
Page 35
The 100 Mbps option offers faster communications, but the amount of data to and from X- 320M™ is so small that users will not likely notice much (if any) difference. When X-320M™ is set to 10 Mbps, it draws less power and runs a little cooler, which may translate into a longer product life.
Installation and Setup X-320M™ User's Manual 2.4.3 Hidden Network Settings These settings are not graphically displayed on the default setup pages, but can be accessed by manually typing the commands below into the URL bar of a web browser. MTU Setting To change the MTU, manually enter the advSetup.html (case sensitive) page into the address bar.
Figure 2.4c - Advanced Network Tab Data Publishing/Upload: The X-320M™ is capable of uploading data directly to a few weather services without the need for external software. Currently the X-320M™ support upload to the Citizen Weather Observer Program or CWOP, Weather Underground, and WeatherBug. For details on configuring the device to upload data to one or more or these services see appendix H.
Page 38
This field can be set within the range of 1 to 34452 minutes. The default setting for this field is 1 minute. SNMP Enabled When this option is set to Yes, X-320M™ will support SNMP. The default setting for this option is No. (See Appendix I for more information.) Page 38...
Page 39
When SNMP is used, this field is used to specify the IP address of the SNMP manager. The default setting for this field is 192.168.1.25. SNMP Port When SNMP is used, this field is used to specify the SNMP port that X-320M™ listens on. The default setting for this field is 161. SNMP Trap Port When SNMP is used, this field is used to specify the SNMP Trap port of the SNMP manager.
2.4.5 Password Tab X-320M™ requires a password to log into the setup pages. The password can be changed on this page. Additionally, a password can be enabled for the Control Page.
Page 41
X-320M™ User's Manual Installation and Setup However, some browsers require that a user name be entered. In this instance, enter none as the user name. The default Control Password is webrelay. Re-enter Control Password When the Control Password is changed, it must be entered twice. One time in the previous field, and a second time in this field.
X-320M™ User's Manual 2.4.6 Date/Time Tab X-320M™ uses the time for logging (a time stamp is included with each logged event). The time is stored and displayed in 24-hour time format. X-320M™ has a capacitor-backed real-time-clock circuit that will keep track of time for several days in the event of a power failure.
Page 43
X-320M™ User's Manual Installation and Setup Manual Time Configuration Date The current date is entered by first selecting the correct month and year, using the left and right arrows at the top of the calender. The single arrows (< and >) change the month and the double arrows (<<...
Page 44
Installation and Setup X-320M™ User's Manual Figure 2.4f - Date/Time Tab - Sync with NTP Server NTP Time Configuration Server Name/IP Address This field is used to specify the name or IP address of the NTP server. If a name is specified, a working DNS server address must be entered into the Network settings.
Page 45
When this option is set to Yes, X-320M™ will be synchronized with the time server each time it is powered. Note: If X-320M™ will lose power on a frequent basis, it may be beneficial to set this option to No, as some servers are configured to dis-allow access from client devices that excessively request their services.
Page 46
This is an effort to conserve energy by making the daylight last longer into the evening hours. If this option is set to Yes, the time on X-320M™ will automatically be shifted forward by one hour between the hours of 12:00 AM – 5:00 PM on the Daylight Savings Start date set below, and it will shift back to standard time between the hours of 12:00 AM –...
16 bytes per entry. Note: Changing the log settings will erase the current log file. Logging Enabled When this option is set to Yes, X-320M™ will record data as configured on this page. The default setting for this option is No.
Page 48
Installation and Setup X-320M™ User's Manual Logging Rate This field is used to specify the time period of logging. A numerical value is entered into the text field, and the unit of time is selected using the adjacent radio buttons. Time units are Minutes, Hours, and Days.
Note: Remote Relay 1 and 2 can be separate remote devices. - Remote Analog: This allows you to receive analog data from another ControlByWeb devices that features Analog Inputs, such as the X-320, X-320M, or Analog Module. Up to 4 single-ended analog inputs from a device can be read.
Page 50
If the remote device has multiple relays, this field should be set to the relay number. For example, if relay 2 is to be controlled on another ControlByWeb™ product, the Relay # would be set to 2. This field can be set from 0 to 255.
X-320M™ User's Manual Installation and Setup 2.4.9 I/O Tab This page provides configuration options for the two Digital I/O's built into X-320M™. The Digital I/O may be configured as inputs or outputs. Different configuration pages are used for each of these modes.
Page 52
Installation and Setup X-320M™ User's Manual incremented. - Counter off: The counter is deactivated and will not be incremented. - Increment when input on: Each time the input is considered on, the counter will increment. - Increment when input off: Each time the input is considered off, the counter will increment.
Page 53
Figure 2.4j - Digital I/O Tab - Output Configuration State at Powerup This drop-down menu lets the user specify the state of each of the output when X-320M™ is powered up. The following options can be selected: - off (unless overridden by alarm ): The output will be off upon power up. This is the default setting.
The default text for the description is MET Station. Site Location This text field is used to describe the location where X-320M™ is installed. This field can be up to 40 characters long. There is no default text for this field.
Page 55
Installation and Setup Site Longitude This field specifies the longitude coordinate of X-320M™ in decimal degrees. It is included with data uploaded to remote weather services. Positive longitudes are east of the Prime Meridian, negative longitudes are west of the Prime Meridian.
Installation and Setup X-320M™ User's Manual 2.4.11 Wind Speed Tab This page provides options for configuring the Wind Speed sensor input. Additional information about the Wind Speed calculations can be found in Appendix F: Methods and Calculation Details. Figure 2.4l - Wind Speed Tab Page 56 Xytronix Research &...
Page 57
The Average Period is the length of time used to average the Scaled Value. For example, if the Average Period is set to 5 minutes, X-320M™ will keep track of the last 150 samples (30 samples/min) and average them over the 5 minute period. If the Average Period is set to zero, no averaging will be used.
Page 58
Installation and Setup X-320M™ User's Manual Units This drop-down allows you to specify the units of measure for the wind speed sensor. The units selected will be determined by the Slope and Offset used to calibrate the sensor. The following options are available: - mph: This option is used if you are measuring the wind speed in miles per hour.
Page 59
- High or Low Alarm: The specified output action occurs due to the High and/or Low Alarm. Remote Relay 1-2 The X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote locations on the network. This field determines the action taken by Remote Relay due to an alarm condition.
Page 60
Installation and Setup X-320M™ User's Manual Remote Services This field specifies the action with a remote server due to an alarm condition. The following actions are available: - No Action: No action is taken. - Send Message: state.xml will be sent to the remote server.
X-320M™ User's Manual Installation and Setup 2.4.12 Wind Direction Tab This page provides configuration options for configuring the Wind Direction sensor input. Additional information about the Wind Direction calculations can be found in Appendix F: Methods and Calculation Details. Figure 2.4n - Wind Direction Tab Sensor Connection This drop down menu allows you to select which type of input you are using to monitor wind speed.
Page 62
The Average Period is the length of time used to average the Scaled Value. For example, if the Average Period is set to 5 minutes, X-320M™ will keep track of the last 150 samples (30 samples/min) and average them over the 5 minute period. If the Average Period is set to zero, no averaging will be used.
X-320M™ User's Manual Installation and Setup 2.4.13 Rain Tab This page provides options for configuring the Rain Accumulation sensor input. Additional information Figure 2.4o - Rain Sensor Tab about the Rain gauge calculations can be found in Appendix F: Methods and Calculation Details.
Page 64
X-320M™ User's Manual Slope In many cases, the inputs must be scaled to represent “real-world” measurements. X-320M™ reads the “raw” value from each input, and calculates the number that represents the “real-world” measurement that the user is actually interested in. This real-world value (referred to as the “Scaled Value”...
Page 65
- High Alarm: The specified output action occurs due to High Alarm. Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. This field determines the action taken by Remote Relay due to an alarm condition.
Installation and Setup X-320M™ User's Manual 2.4.14 Temperature Tab This page provides options for configuring the Temperature sensor input. Additional information about the Temperature calculations can be found in Appendix F: Methods and Calculation Details. Figure 2.4p - Temperature Tab Sensor Connection This drop-down menu allows you to select which type of input you are using to monitor temperature.
Page 67
Each 1-Wire sensor comes from the factory with a unique, non-changeable address. When the Temperature tab is selected, X-320M™ scans the bus for sensors, the addresses of the sensors that are found on the bus are listed in the drop-down list.
Page 68
Installation and Setup X-320M™ User's Manual High Alarm This setting is used to set the trigger point for a high alarm condition. The number field specifies the temperature at which the alarm is triggered. An alarm is triggered when the sensor reading exceeds the High Alarm value.
Page 69
X-320M™ User's Manual Installation and Setup Email Option Simple email messages can be sent in response to alarm conditions. This parameter is used to specify what alarm conditions, if any, will cause email messages to be sent. Note that email notification will work only if email is correctly set up in the Network setup page.
Page 70
X-320M™ User's Manual Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. The same actions for the local outputs also apply to remotely controlled relays. This field determines the action taken by Remote Relay due to an alarm condition.
X-320M™ User's Manual Installation and Setup 2.4.15 Humidity Tab This page provides options for configuring the Humidity sensor input. Additional information about the Humidity calculations can be found in Appendix F: Methods and Calculation Details. Figure 2.4r - Humidity Tab Sensor Connection This drop-down menu allows you to select which type of input you are using to monitor humidity.
Page 72
Each 1-Wire sensor comes from the factory with a unique, non-changeable address. When the Humidity tab is selected, X-320M™ scans the bus for sensors. The addresses of the sensors that are found on the bus are listed in the drop-down list.
Page 73
X-320M™ User's Manual Installation and Setup Deadband The Deadband prevents alarms from triggering excessively when the sensor measurement vacillates around the trigger point. With High Alarms, the measurement must fall below the High Alarm point minus the Deadband before the High Alarm will be triggered again. Likewise, the Deadband on the Low Alarm requires the measurement to rise above the Low Alarm point plus the Deadband before the low alarm will be triggered again.
Page 74
- High or Low Alarm: The specified output action occurs due to the High and/or Low Alarm. Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. The same actions for the local outputs also apply to remotely controlled relays.
X-320M™ User's Manual Installation and Setup 2.4.16 Solar Radiation Tab Figure 2.4t - Solar Radiation Tab This page provides options for configuring the Solar Radiation sensor input. Additional information about the Solar Radiation calculations can be found in Appendix F: Methods and Calculation Details.
Page 76
The Average Period is the length of time used to average the Scaled Value. For example, it the Average Period is set to 30 minutes, X-320M™ will keep track of the last 30 samples (1 sample/min) and average them over the 30 minute period. If the Average Period is set to zero, no averaging will be used.
Page 77
X-320M™ User's Manual Installation and Setup triggered again. For example, if the deadband is set to 50, and a High Alarm occurs at 300 W/m , the alarm will not trigger again until the Solar Radiation first drops below 250 W/m...
Page 78
- High or Low Alarm: The specified output action occurs due to the High and/or Low Alarm. Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. This field determines the action taken by Remote Relay due to an alarm condition.
X-320M™ User's Manual Installation and Setup 2.4.17 Barometric Pressure Tab This page provides configuration options for configuring the Barometric Pressure sensor input. Additional information about the Barometric Pressure calculations can be found in Appendix F: Methods and Calculation Details. Figure 2.4v - Barometric Pressure Tab...
Page 80
Analog device, such as another X-320™ or Analog Module. Slope In many cases, the inputs must be scaled to represent “real-world” measurements. X-320M™ reads the “raw” value from each input, and calculates the number that represents the “real-world”...
Page 81
X-320M™ User's Manual Installation and Setup High Alarm This setting is used to set the trigger point for a high alarm condition. The alarm is triggered when the value at the sensor exceeds the High Alarm Value. The default High Alarm is 20.
Page 82
- High or Low Alarm: The specified output action occurs due to the High and/or Low Alarm. Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. This field determines the action taken by Remote Relay due to an alarm condition.
X-320M™ User's Manual Installation and Setup 2.4.18 AUX1 and AUX2 Tab The AUX1 and AUX2 setup pages allow you to configure additional sensors that are not listed under the default setup tabs. Figure 2.4x - AUX 1 and 2 Tab Sensor Connection This drop-down menu allows you to select which type of AUX input you are using.
Page 84
Each 1-Wire sensor comes from the factory with a unique, non-changeable address. When the AUX tab is selected, X-320M™ scans the bus for sensors. The addresses of the sensors that are found on the bus are listed in the drop-down list.
Page 85
X-320M™ User's Manual Installation and Setup Deadband The Deadband prevents alarms from triggering excessively when the sensor measurement vacillates around the trigger point. With High Alarms, the measurement must fall below the High Alarm point minus the Deadband before the High Alarm will be triggered again. Likewise, the Deadband on the Low Alarm requires the measurement to rise above the Low Alarm point plus the deadband before the Low Alarm will be triggered again.
Page 86
- High or Low Alarm: The specified output action occurs due to the High and/or Low Alarm. Remote Relay 1-2 X-320M™ can be configured to control relays in other ControlByWeb™ products that are located at a remote location on the network. This field determines the action taken by Remote Relay due to an alarm condition.
3.1 Browser Operation Once X-320M™ is set up, users can access the Status Page using a web browser by typing the IP address of X-320M™ into the web browser address bar. For example, using the default IP address, the user would enter http://192.168.1.2.
Page 88
Last Power Up This displays the last time that X-320M™ was powered on. This information can be useful if the user wants to know whether or not the unit lost power during the time since the page was last viewed.
Page 89
X-320M™ User's Manual Operation tab. Date/Time Displays the current time that is set using the Date/Time tab in the setup pages. Note: Information about how these values are measured and calculated can be found in Appendix F: Methods and Calculation Details.
3.2 XML Operation Custom XML computer applications may be created to monitor and control X-320M™. This method does not use a web browser. There are three XML pages that can be used to monitor or control X-320M™: state.xml, eventX.xml. and Diagnostics.xml.
Page 91
<time>1309963843</time> </datavalues> The numbers enclosed by the tags, <tag>, indicate the current state or value monitored by X-320M™. Values for each tag are described in the table below. XML computer applications will open a TCP/IP socket with X-320M™ and send a GET command followed by the state.xml command string.
Page 92
1 = High 2 = Low <powerUp> Time device powered on. (number of seconds since January 1, 1970). <serialNumber> 00:00:00:00:00:00, serial number of X-320M™. <time> Time displayed in “epoch time” (number of seconds since January 1, 1970). Page 92 Xytronix Research & Design, Inc.
Page 93
In other words, you must issue the pulseTime command for each pulse command that differs from the preset value. For example, say X-320M™ is configured for a Pulse Duration of 1.5 seconds. To send one 1.5-second pulse, three 5-second pulses, and another 1.5-second pulse to Output 1, you would issue the following commands.
Page 94
Operation X-320M™ User's Manual Message Acknowledgment By default, when commands are sent to X-320M™, the state.xml page is returned. The XML reply can be disabled by adding the noReply field as follows: Command Description state.xml?relay1State=1&noReply=1 Turn Output 1 ON without returning state.
By default, this will read 1 until it is set to 0. <devicePowerUpFlag> Indicates a loss of power to the device. This field can also be set to 0. A value of 1 means X-320M™ has lost power at least one time since the flag was set to 0.
GET /state.xml?relay1State=1\r\n\r\n Password Enabled If the Control Password is enabled on X-320M™ and the state.xml page is requested through a browser, the user will be prompted for a password. If the XML request is sent from an XML application, the html request will need to contain the password, encoded as Base64.
Password is disabled (default) and Modbus functionality is enabled on the Advanced Network. X-320M™ functions as a Modbus slave. Host devices, such as PLCs, open a connection with X-320M™ on port 502 (configurable under Advanced Network tab) and then send requests to read the sensor values.
Function codes, memory types, and addresses can be converted to the PLC addressing equivalent using the table below. To use the table, look up the row corresponding to the Modbus function code. Then take the desired X-320M™ feature address and add to it the address offset in the PLC address mode column.
Operation X-320M™ User's Manual 3.4.4 Read Sensors – Modbus Function Code 03 (0x03) The Read Holding Registers function is used for the sensors, calculated values, and high/low values. Request 32-bit sensor values are read from 16-bit register pairs. Consequently, senors addresses and registers must be even numbers.
3.5 Email Notification 3.5.1 Email Notification Description X-320M™ can be configured to send messages to five email addresses when a sensors alarm point is reached. Sensors that are connected to X-320M™ and configured can generate an email message When an email message is sent, it will look similar to this:...
Page 102
Email 4 Email 5 Note: X-320M™ must be power-cycled (power disconnected, then reconnected) before network settings take effect. Only the settings on the Network tab require power-cycling before taking effect. The email options and recipients for each monitored value can be configured separately. Select the Email Option and checkbox for the desired email recipient for each measured value.
Appendix A: Restoring Factory Default Settings Appendix A: Restoring Factory Default Settings In the event that the IP address or passwords are forgotten, X-320M™ may be restored to its original factory default settings. 1. Remove the DC power from the unit.
X-320M™ so make sure the correct image is being downloaded. 2. bootloader.exe will connect to X-320M™ using default IP address 192.168.1.2, not the address currently assigned to X-320M™. After the update, all settings will be lost and the device will return to its default IP address of 192.168.1.2.
Page 105
1. Remove DC power from X-320M™. 2. Using a small, non-conductive tool, press and hold the reset button. 3. While holding the reset button, apply power to X-320M™. The LINK and ACT lights will flash. Continue to hold the reset button for the next step.
X-320M™. This guide is not meant to be a tutorial in router setup, but rather to provide a basic overview of remote access.
Page 107
X-320M™ User's Manual Appendix C: Accessing X-320TM Over the Internet Figure Appendix C.1 - Local Area Network A Simple LAN connected to the Internet The LAN in the example above can be connected to the Internet by adding a router and an Internet connection.
Page 108
As a general rule, numbers above 8000 are safe to use. All of the ControlByWeb™ products come from the factory with the HTTP port set to 80, which is the standard port for HTTP. In this example, X-320M™ HTTP port will be changed to port 8000 and WebRelay™ port will be changed to 8001. Once the ports are changed in the two ControlByWeb™...
Page 109
For example, to access the setup pages when the port is set to 8000, the following command would be used: http://192.168.1.25:8000/setup.html To access the ControlByWeb™ units from the Internet, enter the public IP address of the router plus the port number of the desired device in the following format: http://(Public IP Address of Router):(Port Number of Device)/setup.html Using the example above, the following line would be used to access the setup page of X-320M™:...
320M™. In this case, the external server opens the connection, sends commands and/or reads the device, and closes the connection. This method is ideal when the the web server and all of X-320M™ devices are on the same network (without routers between them). In this case, the server can communicate with X-320M™ devices directly and securely since data never has to leave the local network.
Page 111
See section 2.4.3 Advanced Network Tab for more information. X-320M™ can be configured to establish a connection when triggered by an event, such as a I/O state changing. This is done by setting the Remote Service/SNMP checkbox in the I/O setup tabs.
Appendix E: Log Files X-320M™ logs information to two different log files: log.txt and syslog.txt. Both log files are text files and are stored in nonvolatile memory. This data will not be lost due to power failure and is also not cleared when restoring factory defaults.
Page 113
X-320M™ User's Manual Appendix E: Log Files System Log File – syslog.txt The syslog file records various system events, which can be used for diagnostics and troubleshooting purposes. File Format: MM/DD/YYYY HH:MM:SS, (category to which message applies): (message) Sample File: 01/02/2010 04:08:13 DEVICE: Power Up.
Page 114
Appendix E: Log Files X-320M™ User's Manual This file is read by requesting the syslog.txt file. For example, using the default IP address, the following command would be used: http://192.168.1.2/syslog.txt Note: The setup user name and password are required to access this file.
Calculated values (Wind Chill, Dew Point, and Heat Index) are updated every 2 seconds. Note: The measured and calculated values are not retained by X-320M™ during a power loss. Compensation Once the raw measurement is taken, the Slope and Offset are applied.
Page 116
180 degrees, instead of the correct average of 360 degrees. Rain X-320M™ keeps track of rainfall using the input to count bucket tips in a rain collector. The 1 Hr Rainfall reflects the rainfall for the previous 60 minutes. This value is updated every 4 minutes.
Page 117
X-320M™ User's Manual Appendix F: Methods and Calculation Details Barometric Pressure The Barometric Pressure reading is the instantaneous reading, no averaging is done. Once an hour, the current Barometric Pressure is stored. This provides an hourly history for the past 24-hours.
Page 118
10 knots above lulls. X-320M™ measures the Wind Speed over a two second period. This is considered a sample value used in the running average. A gust is detected when the wind velocity exceeds 10 knots (11.5 mph, 18.54 kph) above the lowest Wind Speed sample within the Averaging Period.
The following are setup parameters that may be used with typical weather sensors. Please refer to the 2.2 Connection for descriptions on the respective electrical connections. X-320M ™ is easily adapted to the Davis Integrated Sensor Suite (ISS) by using the Davis adapter board, Xytronix product number X-MDA-1. Please refer to X-MDA-1 product information on the ControlByWeb web site.
Page 120
0.1 Ground Temperature X-320M™ can be used with 1-Wire temperature sensors such as Xytronix X-DTS-U, X-DTS-WM, and X- DTS-S12. Linear response analog sensors (voltage or current output) may also be used. Non-linear thermistors are not compatible. The use of 1-Wire sensors has the advantage of allowing multiple sensors to be installed and frees up analog ports for other sensor options.
Page 121
X-320M™ User's Manual Appendix G: Common Sensor Setup Parameters Humidity X-320M™ can be used with 1-Wire humidity/temperature sensor such as Xytronix X-DTHS-WM. Linear response analog sensors (voltage or current output) may also be used. Non-linear thermistors are not compatible. The use of 1-Wire sensors has the advantage of allowing multiple sensors to be installed and frees up analog ports for other sensor options.
Page 122
Appendix G: Common Sensor Setup Parameters X-320M™ User's Manual Barometric Pressure Barometric Pressure sensors are typically installed on the analog input ports. Make Model Output Slope Offset Connections Apogee SB-100 0-5 VDC hPa: 218 hPa: 114 5Vout Instruments approx inHg: 6.437 inHg: 3.637...
Appendix H: Weather Service Data Publishing/Upload Appendix H: Weather Service Data Publishing/Upload Currently the X-320M supports direct data publishing to three weather services. Data Publishing can be enabled through the Advanced Network tab by selecting the link corresponding the weather service to be enabled.
Page 124
Appendix H: Weather Service Data Publishing/Upload X-320M™ User's Manual Citizen Weather Observer Program Setup There are four steps to configuring data publishing to the CWOP system: 1 – Obtain a DW number from CWOP by clicking on the 'here' link and following the instructions on the registration form that appears.
Page 125
X-320M™ User's Manual Appendix H: Weather Service Data Publishing/Upload Weather Underground Setup There are four steps to configuring data publishing to the Weather Underground system. 1 – Obtain an ID number from Weather Underground by clicking on the 'here' link and following the instructions on the registration form that appears.
Page 126
Appendix H: Weather Service Data Publishing/Upload X-320M™ User's Manual 4 – To see if the test packet was received click on 'station status' to be taken to the Weather Underground status page for this device. For more information on Weather Underground, visit their website at http://www.wunderground.com/ .
Page 127
X-320M™ User's Manual Appendix H: Weather Service Data Publishing/Upload 3 – Once data publishing has been enabled and the data publishing settings have been submitted to the device, a test packet can be sent to WeatherBug. Press the Test button to send a test packet now.
X-320M* *The sysName is customizable under the Control Page Setup tab. Xytronix Objects X-320M™ also supports some special objects that can be found in the XYTRONIX.mib. This MIB can be downloaded from our website. Page 128 Xytronix Research & Design, Inc.
Page 129
Value: x.x (Low Humidity Yesterday.) Password X-320M™ uses the Control Password for both the read and write community strings. If the Control Password is disabled, any object can be read without the need for a correct community string. By default the Control Password is webrelay.
Appendix J: Specifications X-320M™ User's Manual Appendix J: Specifications Power Requirements - Input Voltage: 9-28 VDC - Current: See table below for typical values at 25°C. 10 Mbps Network Speed Power Supply Digital Outputs Digital Inputs w/ Pull Resistors All Off...
Page 131
X-320M™ User's Manual Appendix J: Specifications Pulse Counters - See Digital Input Mode - 2 second average - 0.5 Hz read rate Frequency Input - 0-130 kHz input frequency - AC or DC input, 20 V peak to peak - Sine or square wave (Triangle wave, add 10% to Min Vin) - 2 second average - 0.5 Hz read rate...
Page 132
Appendix J: Specifications X-320M™ User's Manual 5 LED Indicators - Power On - I/O (1-2) - Network Linked - Network Activity Real-Time Clock - Manual or NTP (Network Time Protocol) setup - NTP Sync Configurable for Once, Daily, Weekly, or On Power-up...
Page 136
Appendix K: Mechanical Information X-320M™ User's Manual Wind Direction Tab..........61 Wind Speed Tab............56 XML Operation............90 Page 136 Xytronix Research & Design, Inc.
Need help?
Do you have a question about the X-320m and is the answer not in the manual?
Questions and answers