background image

Содержание WebRelay Wireless XW-210I

Страница 1: ......

Страница 2: ...us directly to a single user through web browsers or the CBW Mobile app After being commissioned the XW 210 can recognize and attach to your Wi Fi access point The XW 210 offers the ability to control...

Страница 3: ...obes are interchangeable and need no calibration Powered from a 9 to 24V DC power adapter The power supply voltage is monitored internally and can be logged Sensor Input status can control a relay on...

Страница 4: ...l temperature sensor with 32 foot wire leads housed in water resistant stainless steel probe X DTS S32C Temperature Humidity Sensor Wall Mount Digital temperature and humidity sensor housed in vented...

Страница 5: ...4 Security Notes The XW 210 is a dedicated device and does not employ a general purpose computer operating system i e Windows Linux etc It does not have features such as telnet FTP SSH nor uncontrolle...

Страница 6: ...he sensors are available in several configurations are interchangeable and require no calibration The sensors require three connections for communications and power 5V Gnd Data Control relays or trigg...

Страница 7: ...to power 1 wire sensor s 50mA max Data Serial data line for 1 wire sensor s Gnd Gnd output for 1 wire sensor s Din Digital Input The positive side of the optically isolated input Din Digital Input The...

Страница 8: ...andard web browser This allows users to access the unit with NO SPECIAL SOFTWARE installed on their computer This is ideal for applications that require a quick simple solution that does not need to b...

Страница 9: ...protected from the elements Ventilation is recommended for installations where ambient air temperatures are expected to be high See Appendix E Mechanical Information for additional mechanical details...

Страница 10: ...n on unexpectedly Make certain the wires are properly inserted into to the terminals and that the screws are tight Relay Connector Specifications Type 3 position removable 7 62 mm 30 pitch Connection...

Страница 11: ...ient the antenna vertically so the antenna will radiate in all horizontal directions and so little radio energy is aimed into the sky or down toward the earth and lost This device has been approved to...

Страница 12: ...e illustration below shows a simple example of using the relay in the XW 210 to control a device over an IP network The device to be controlled is wired in series with the relay contacts Note The circ...

Страница 13: ...e interchangeable and require no calibration The sensors accuracy is 0 5 C 10 C to 85 C The temperature sensor is available in several configurations The encapsulated version has a stainless steel pro...

Страница 14: ...ize sensor runs and minimize problems Cat 5 and Cat 5e network cable has proven to be an effective and low cost solution for long runs Other cable types can be used but cable capacitance generally lim...

Страница 15: ...an be reduced with an external resistor of the appropriate value and power rating to reduce the input current The digital input has an internal 3K ohm resistor The forward voltage drop of the photo co...

Страница 16: ...ut The XW 210 can be configured for the alarm to be active when the switch is either open or closed The illustration below shows an example of using the XW 210 to monitor the status of a gate or door...

Страница 17: ...put will be On When water is detected the relay contacts open and the digital input will be Off With the connections shown the sensor is a closed loop supervised alarm circuit such that if a wire is d...

Страница 18: ...tributors A simple voltage converter module RedLion VCM10000 or VCM20000 is shown below These are available in two input voltage ranges that cover the spectrum from 4 270VAC DC These devices have a MO...

Страница 19: ...d a password prompt will appear Enter the username and password The username is admin and the password is webrelay password is case sensitive The next chapter explains each of the setup tabs and scree...

Страница 20: ...that was assigned To begin press the WPS button on your wireless router or access point You will generally have about two minutes to connect wireless devices to the network with WPS Now press the WPS...

Страница 21: ...nsecured and open and the default passwords cannot be changed 3 3 2 Warehouse Temperature Example with an Access Point You wish to monitor the temperature of a warehouse with your smart phone or offic...

Страница 22: ...address in the setup pages If you are accessing the unit through the network after it has been configured you will use the IP address that was assigned to the device If the XW 210 has been added to a...

Страница 23: ...r is also the MAC address of the unit Vin Voltage This field shows the input voltage on the Vin and Gnd terminals from your power supply Signal Strength This indicates the current receive Wi Fi signal...

Страница 24: ...this process WiFi SETTINGS SSID The SSID Service Set Identifier is the name of the Wi Fi network you wish the XW 210 to connect to Click the Refresh button to make a fresh scan of available networks N...

Страница 25: ...for servers This is because servers usually don t initiate communications with other devices but rather they wait for a request from clients To make this request the client must know the IP address of...

Страница 26: ...lished This string should include any information required by the server at connection For example it may include an ID number customer number password etc The format is entirely dependent upon the se...

Страница 27: ...ormation Manual Certificate Upload Client Certificate A client certificate is used with custom remote services servers for device authentication To upload a custom client certificate to the XW 210 cli...

Страница 28: ...See Section 6 6 Modbus Operation Note Modbus communications are disabled whenever the Control Password is enabled Modbus Port This specifies the port used for Modbus TCP communications with XW 210 By...

Страница 29: ...vers If using SSL TLS this port number is generally 465 SSL Check this check box if the server and port you have configured is expecting a SSL connection User Name Email user name if required Password...

Страница 30: ...specified Error with RCPT To field Error sending or error receiving proper response to the SMTP RCPT TO command Ensure the To email addresses are using valid characters and formatted properly Error s...

Страница 31: ...XW 210 WiFi Users Manual and the XW 210 is not connected to the Internet In this mode no email messages can be sent and the Test Email button is disabled Xytronix Research Design Inc Page 31...

Страница 32: ...ld If the password is not entered identically in both fields the password will not be changed CONTROL PAGE Enable Control Password The user control web page is normally viewed without entering a passw...

Страница 33: ...ng the time Manually or Sync with NTP server The options that follow this field will change based upon how this option is set Manually Requires the user to enter the time and date Sync with NTP server...

Страница 34: ...top computer is used firewall settings may need to be adjusted to allow for NTP communications on UDP port 123 Public NTP servers can be found at www pool ntp org Some of these are listed below US Ser...

Страница 35: ...ttings were submitted The default value of this setting is Once the unit will immediately sync with the NTP server but will not automatically sync again until power cycled UTC Offset Time servers retu...

Страница 36: ...default setting is Yes Note Logged data includes a time stamp based upon the current time in the device so it is possible to duplicate log times in the spring and miss log times in the fall To avoid c...

Страница 37: ...and 4 bytes for each sensor selected 1 byte for input 4 bytes for the counter 1 byte for relay and 4 bytes for Vin A log of Vin 1 4 bytes and the digital input 1 byte will occupy 14 bytes per entry No...

Страница 38: ...lowed to cause the I O state to be logged For example if the check box for the relay in the Event Trigger column is checked a log entry will be entered each time the relay changes state even if the lo...

Страница 39: ...may be up to 24 characters long Enter a descriptive name such as Stockroom Door On Status Text The text in this field specifies the text that will be displayed in the Control Page and in email messag...

Страница 40: ...g units This scaled value is calculated using a linear Y mX b formula Scaled Value Slope Count Offset The calculated scaled value is used for trigger logs email messages control page XML page and retu...

Страница 41: ...eck boxes will show the respective Email addresses Remote Service When this box Send State Message on Input Change is checked State messages will be sent whenever the input state changes Remote Servic...

Страница 42: ...utton Label The text entered in this field appears in the On button for the corresponding output on the Control Page Up to 15 characters may be entered in this field The default text is On Off Button...

Страница 43: ...odBus the command can include a pulse time which will over ride this value for that pulse only The time is specified in seconds and can range from 0 1 seconds to 86400 seconds in 0 1 second increments...

Страница 44: ...Simple email messages can be sent in response to relay state changes This parameter is used to specify what relay state changes if any will cause email messages to be sent Note that email notificatio...

Страница 45: ...be controlled by 1 Wire Sensor alarms Action These drop down menus specify what action to take when a criteria is met The actions change depending on what control source has been selected The followin...

Страница 46: ...ulse the relay If 1 Wire Sensor is selected choose the sensor number For each sensor the following action options are available Send On Command When Alarm1 Alarm2 Alarm1 or Alarm2 A command is sent to...

Страница 47: ...corresponding temperature humidity value on the Control Page This field may be up to 35 characters long Sensor Address Each sensor connected to XW 210 must be associated assigned to a sensor number Ev...

Страница 48: ...the alarm value and a low alarm is occurs when the sensor reading falls below the alarm value Generally this value will be static but a Register can be used as a trigger point for an alarm condition...

Страница 49: ...il notifications will be sent due to an Alarm 1 or Alarm 2 condition Send email on Alarm 1 Alarm 2 and normal Email notifications will be sent when Alarm 1 or Alarm 2 occur or when normal conditions a...

Страница 50: ...t This field displays the txt file that is uploaded to XW 210 Text displayed in this screen cannot be edited In order to edit any script it must be rewritten in the txt file and uploaded again Interpr...

Страница 51: ...gram loop IF input1 1 THEN Checks if input 1 is on Door is open CALL delay Calls the delay function IF input1 1 THEN After the delay is done it will check the door again LET relay1 1 Turns the relay o...

Страница 52: ...the Control Page including what measurement values and buttons are to be shown Module Description The text entered here appears at the top of the Control Page It also appears in the header of the emai...

Страница 53: ...here The default text is Register 1 Button 1 Label This text field is used to describe the function of button 1 of the selected Register When the user clicks button 1 the Register is set to 1 The tex...

Страница 54: ...hanged from the default the user must use the new IP address Note that if any port is used other than the default port 80 the port must also be included in the request For example accessing the unit a...

Страница 55: ...description text By default the status text will read ON or OFF however the status text can be changed in the Relay tab To the right of the relay status three buttons provide on off and pulse control...

Страница 56: ...through the setup pages http 192 168 1 2 setup html Clicking the Control Page Tab will open a new browser window and display the control page shown below To access the setup tabs again click on the X...

Страница 57: ...state relay1state 0 relay1state units F units sensor1 x x sensor1 sensor2 x x sensor2 sensor3 x x sensor3 sensor4 x x sensor4 s1Alrm 0 s1Alrm s2Alrm 0 s2Alrm s3Alrm 0 s3Alrm s4Alrm 0 s4Alrm count1 23...

Страница 58: ...t the output will turn ON for the Pulse Duration specified in the Relay setup page It is also possible to send a pulse time command that is different than the configured Pulse Duration This is done by...

Страница 59: ...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 Relay 1 ON without returning state state xml...

Страница 60: ...using r n first and if that doesn t work you may try using the enter key In no case will you need to use the string r n No Password GET requests to the device for XML files Example request state xml...

Страница 61: ...l server can use to communicate with XW 210 and other ControlByWeb devices Direct Server Control and Remote Services 6 3 3 Direct Server Control The first approach is for the external server to create...

Страница 62: ...will be sent In version 2 0 of the protocol it is required for the server to send back an acknowledgment packet after every connection string message received The server does this by sending a 3 byte...

Страница 63: ...e The top line that reads XW 210 appears in the subject line of the email message This is the same text that appears as the header on the Control Page It is set in the Main Header Text field under the...

Страница 64: ...8 Note XW 210 must be power cycled power disconnected then reconnected or rebooted before network settings take effect Only the settings on the Network tab require power cycling before taking effect...

Страница 65: ...changes see Section 4 6 Logging Tab for more information It can be up to 512 Kbytes long and is stored using a comma separated value formatting scheme Inputs Relays Vin and Sensors will only be displa...

Страница 66: ...2 168 1 2 8000 log txt The log txt file may be erased with the following command http 192 168 1 2 log txt erase 1 After erasing the file it might be necessary to refresh the page Note If the Control P...

Страница 67: ...me Modbus Function XW 210 Feature XW 210 Start Address Hexadecimal Decimal Read Coils 01 Relay 1 0x0000 0 Read Discrete Inputs 02 Input 1 0x0000 0 Read Analog Inputs 03 Vin 0x0010 16 Read Sensors 03 S...

Страница 68: ...es 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 XW 210 feature...

Страница 69: ...PLC Address Mode 584 984 Read Relay 1 01 0 Discrete 1 1 Write Relay 1 05 0 Discrete 1 1 Read Input 1 State 02 0 Discrete 1001 10001 Read Vin 03 16 32 bit Float 4017 40017 Read Sensor 1 03 272 32 bit F...

Страница 70: ...value will be the state of the coil corresponding to the start address For example if a start address of 0x0000 is used bit zero will be the status of Relay 1 Coil State Byte Bit 7 6 5 4 3 2 1 Bit 0 X...

Страница 71: ...A 1 indicates that the input is switched high ON A 0 indicates that the input switched low OFF Bit zero of the return value will be the state of the coil corresponding to the start address For exampl...

Страница 72: ...put Quantity 0x0002 Response 32 bit floating point values are returned either as little endian or big endian numbers depending on the configuration in the Advanced Network tab With little endian order...

Страница 73: ...ss 2 bytes 0x0000 Relay 1 Output Value 1 byte 0x00 OFF 0xFF ON Padding 1 byte 0x00 Response The response mirrors the requested state 0x00 or 0xFF Errors Single Coil Write Error Function Code 1 Byte 0x...

Страница 74: ...urn ON all of the relays in the range or 0x0000 to turn them OFF In the above example the relay value 0xFF would turn relay 1 ON Start Address 2 bytes 0x0000 Relays 1 Output Quantity 2 bytes 0x0001 By...

Страница 75: ...pulse timer will be set to 0 1 If any commands are sent to XW 210 Modbus XML or HTML before the pulse timer has expired the pulse timer will be canceled immediately and the new command will be execute...

Страница 76: ...ly be nested up to 5 times per command For those not familiar with nesting the following is an example of nested FOR loops FOR a 0 to 100 FOR b 0 to 100 NEXT b NEXT a Every program must end with an EN...

Страница 77: ...s Function 1 see above may be placed after the THEN statement This interpreter requires Function 1 to be put on the following line FOR TO NEXT The FOR TO statement loops a section of code a predefined...

Страница 78: ...nished the interpreter returns to the line immediately following the CALL statement The format is CALL name of subroutine SUB END SUB The SUB statement defines the beginning and name of a subroutine T...

Страница 79: ...to count down immediately by decrementing one count every 100 ms until it reaches zero Examples Let t3 1500 set timer 3 to 150 seconds Let t1 0 disable time 1 6 7 5 2 Relay Variables Relay variables r...

Страница 80: ...emperature Other Sensor Variables Each temperature sensor or other Xytronix 1 wire sensor can be read in BASIC scripts temp1 temp or other sensor 1 temp2 temp or other sensor 2 temp4 temp or other sen...

Страница 81: ...ed3 will be incremented The following script example demonstrates defining the event variables and comparing it to the current date and time Assume current time is April 10 2010 at 1 30 AM and the ev...

Страница 82: ...lowing requests into a web browser or by configuring on and off buttons to appear on the Control Page for register1 http 192 168 1 2 state xml register1 1 http 192 168 1 2 state xml register1 0 6 7 7...

Страница 83: ...nitial Contact The initial contact request is sent to discover ControlByWeb devices on the network It is recommended to send this message multiple times in environments where many ControlByWeb devices...

Страница 84: ...ASCII String no null terminator xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx IP Address 4 bytes Network endianness 0xc0 0xa8 0x01 0x02 192 168 1 2 Subnet 4 bytes Network endianness 0xff 0xff 0xff 0x00 255 255 255...

Страница 85: ...tup successful response 0x04 MAC Address 6 bytes Binary version 0x00 0x0c 0xc8 0x00 0x00 0x00 Error Response Header 12 bytes ASCII String ControlByWeb Message ID 1 byte Command not recognized response...

Страница 86: ...loud based server Remote Relays Control relays on other ControlByWeb products Polling state xml web server is always active Power Requirements Input Voltage 9 28 VDC Current See table below for typica...

Страница 87: ...1 wire thermometer Available in bare or encapsulated versions Also works with ControlByWeb wall mount humidity sensors and other Xytronix 1 wire sensors Measurement Range 55 C to 125 C 67 F to 257 F...

Страница 88: ...NEMA 4 protected location Altitude up to 2000m Operating Temperature 40 C to 65 5 C 40 F to 150 F Storage Temperature 40 C to 85 C 40 F to 185 F Humidity 5 95 non condensing Mechanical Size 1 41 x 3 8...

Страница 89: ...n the personal use by the purchaser of this product Xytronix Research Design Inc assumes no responsibility for any errors that may appear in this document Whereas reasonable effort has been made to ma...

Страница 90: ...ser as long as the product is shipped within the continental United States If the product is shipped outside of the continental United States or the product was shipped more than one year earlier the...

Страница 91: ...essly approved by the party responsible for compliance could void the user s authority to operate the equipment RF Exposure Information This equipment complies with the FCC RF radiation exposure limit...

Страница 92: ...Appendix E Mechanical Dimensions XW 210 WiFi Users Manual Appendix E Mechanical Dimensions Page 92 Xytronix Research Design Inc...

Отзывы: