ControlByWeb DAQ Series User Manual

Five-input module

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for ControlByWeb DAQ Series

  • Page 2: Table Of Contents

    1.1 Features 1.2 Available Models 1.3 Connectors & Indicators 1.4 Example Configurations and Applications 1.4.1 Basic Configuration 1.4.2 Five Input Module used with other ControlByWeb™ Products Section 2: Installation and Setup 2.1 Mounting 2.1.1 Wall Mounting 2.1.2 DIN-Rail Mounting 2.2 Connection 2.2.1 Power Supply Connection...
  • Page 3 Five-Input Module™ Users Manual Appendix A: Restoring Factory Default Settings Appendix B: Installing New Firmware Appendix C: Specifications Appendix D: Mechanical Information Appendix E: Open TCP Legal Notice Xytronix Research & Design, Inc. Page 3...
  • Page 4: Trademark And Copyright Information

    This document is Copyright ©2005-2018 by Xytronix Research & Design, Inc. All rights reserved. DAQ Series™ and ControlByWeb™ are Trademarks of Xytronix Research & Design, Inc. 2005-2018. All parts of this product and design including but not limited to firmware, hardware design, schematics, PCB layout, concept, graphics, users manual, etc., are property of Xytronix Research &...
  • Page 5: Warranty

    Five-Input Module™ Users 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. This warranty is extended to the original purchaser of the equipment only.
  • Page 6: Fcc Statement

    FCC Statement Five-Input Module™ Users 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.
  • Page 7: Installation Guidelines (Read Before Installing)

    Notes about security By design, the DAQ Series™ products are very secure. They do not support terminal or file transfer programs such as telnet, ftp, ssh, etc. This means that it is not possible for someone to ‘break in’ to this module and access other devices on your local network.
  • Page 8: Section 1: Introduction

    Five-Input Module™ Users Manual Section 1: Introduction The DAQ Series™ Five Input Module is an industrial grade, Ethernet data acquisition module with five optically-isolated, digital inputs. Each input can be used to monitor the state of a digital signal via a web browser, a custom control application, a Programmable Logic Controller (PLC), or an automation controller.
  • Page 9: Connectors & Indicators

    Five-Input Module™ Users Manual 1.3 Connectors & Indicators 1.3 Connectors & Indicators The input module has a removable 14-position terminal connector and an Ethernet connector. The 14- position terminal connector is used to provide power to the module and is used for all input connections. In addition, a 5 VDC output is provided as a convenient voltage source for the inputs when they are used with dry contact switches or sensors.
  • Page 10: Example Configurations And Applications

    1.4 Example Configurations and Applications Five-Input Module™ Users Manual 1.4 Example Configurations and Applications The Five Input Module is very versatile and can be used in many applications. Several basic installation schemes are illustrated in this section. 1.4.1 Basic Configuration The illustration below shows a simple example of using the input module to monitor a device (or devices) over an IP network.
  • Page 11: Five Input Module Used With Other Controlbyweb™ Products

    A control voltage applied to the input module controls the relay contacts of WebRelay-Quad™ (or other ControlByWeb™ device) at a remote location. This configuration has may uses. It allows switches to be placed very far away from the devices that they control and sensors to sound alarms at distant locations.
  • Page 12 1.4 Example Configurations and Applications Five-Input Module™ Users Manual The illustration below shows how the input module and WebRelays can be used together to control devices at multiple locations. In the example, a single switch controls four different remote devices. Page 12 Xytronix Research &...
  • Page 13: Section 2: Installation And Setup

    Five-Input Module™ Users Manual Section 2: Installation and Setup Section 2: Installation and Setup Installation consists of mounting the input module, connecting to an IP network, connecting inputs, providing power, and configuring via a web browser. 2.1 Mounting The Five Input Module can be be wall mounted or DIN rail mounted. It should be mounted in a clean dry location where it is protected from the elements.
  • Page 14: Connection

    Section 2: Installation and Setup Five-Input Module™ Users Manual 2.2 Connection CAUTION: MAKE SURE POWER IS SHUT OFF BEFORE WIRING! A removable14-terminal connectors is provided for simple wiring to the input module. The correct wiring procedure is as follows; 1. Make sure power is turned off. 2.
  • Page 15 Five-Input Module™ Users Manual Section 2: Installation and Setup 14-Pin Connector Pinout Description VIn+ Power supply input +. Connect to the positive side of the appropriate power supply. DO NOT EXCEED MAXIMUM POWER SUPPLY VOLTAGE. Model X-DAQ-5I5-5 5VDC Power supply Model X-DAQ-5I5-I and X-DAQ-5I24-I 9-28VDC Power supply Model X-DAQ-5I5-E...
  • Page 16: Power Supply Connection

    The optically-isolated inputs can be used to monitor the state of digital signals, they can be used as counters, or they can be used to control relay contacts in other ControlByWeb™ products (for example WebRelay™) over the network. Connect a DC signal voltage directly to the inputs. A current limiting resistor is provided internally, so no external resistor is required as long as the maximum input voltage is not exceeded.
  • Page 17 Five-Input Module™ Users Manual Section 2: Installation and Setup The illustration below shows an input connected to a dry contact. In this case, the 5V output from the input module is used to provide the voltage necessary to activate the input. For applications where detection of 120VAC or 240VAC voltages is necessary, a simple DC power supply may be used for signal conditioning.
  • Page 18 Section 2: Installation and Setup Five-Input Module™ Users Manual The digital inputs each have an internal 3K ohm resistor. The forward voltage drop of the photo-coupler is approximately 1.2V and works well with an input current of 9mA. Use the following formula to determine the resistor value needed for other voltage ranges: R =((Vin-1.2)/0.009)-3000 Where:...
  • Page 19: Establishing Communications For Setup

    Five-Input Module™ Users Manual Section 2: Installation and Setup 2.3 Establishing Communications for Setup The Five Input Module is set up using a web browser. The first task is to establish communications between a computer and the the input module so that the browser-based configuration can begin. To do this, the computer and the input module must be physically connected to the same network and both must have IP addresses on the same network.
  • Page 20 Section 2: Installation and Setup Five-Input Module™ Users Manual 10.10.10.40 the following command would be used. arp -s 10.10.10.40 00:0c:c8:01:00:01 Next, type... ping -s 102 {new IP address} For example, if the new IP address is 10.10.10.40, the following command would be used. ping -s 102 10.10.10.40 Mac OS X Open a terminal,...
  • Page 21: Option 2: Assign A Temporary Ip Address To Configuration Computer

    Five-Input Module™ Users Manual Section 2: Installation and Setup 2.3.2 Option 2: Assign a Temporary IP Address to Configuration Computer If the first option above is not used, you can use this option to communicate with the input module. By default, the input module comes from the factory with an IP address of 192.168.1.2.
  • Page 22 Section 2: Installation and Setup Five-Input Module™ Users Manual Double click on the icon labeled Network Connections. The following menu will pop up. Step 3: Right click on the icon labeled Local Area Connection. Another menu will appear. Select the option at the bottom of the menu labeled Properties.
  • Page 23: Open Configuration Web Page

    Five-Input Module™ Users Manual Section 2: Installation and Setup then click the button labeled Properties. Step 5: Before making any changes to the network settings, write down the current settings so that they can be restored once the input module is configured. Next, select the radio button labeled “Use the following IP address,”...
  • Page 24: Web-Based Setup

    Section 2: Installation and Setup Five-Input Module™ Users Manual 2.4 Web-Based Setup The Five Input Module is fully configurable through HTML 4.0 compliant web browsers such as Internet Explorer and Mozilla Firefox. It’s easy to use tab based menu system has been designed to allow the unit to be configured easily.
  • Page 25 Five-Input Module™ Users Manual Section 2: Installation and Setup Each setup page has a “Submit” button and a “Reset” button at the bottom of the page. After entering the desired parameters into each page, the “Submit” button must be pressed before any parameters will be saved.
  • Page 26: Network Setup Page

    Five-Input Module™ Users Manual 2.4.2 Network Setup Page The network parameters are changed on this page. Note that if multiple ControlByWeb™ products are used on the same network, install one device at a time and set the IP address of each unit before connecting the next unit to the network.
  • Page 27 An example screenshot of a gateway router configuration is given below. This setup allows seven ControlByWeb™ products to be accessed on a private network behind a gateway router. Note that this screenshot is simply an example of a typical router setup page.
  • Page 28 This WebRelay™ must have its TCP Port set to 8002 in it's network settings page. This pattern continues through 10.10.10.77 which is assigned the port 8007. To access the ControlByWeb™ units from the Internet, enter the IP address of the gateway plus the port number of the desired device.
  • Page 29: Email Setup Page

    Five-Input Module™ Users Manual Section 2: Installation and Setup When SNMP is used, this field is used to specify the SNMP Trap port of the SNMP manager. The default setting for this field is 162. Speed This option sets the data rate of the Ethernet port. Both 10Mbps and 100Mbps can be selected. The 100Mbps option offers faster communications but the amount of data to and from the input module is so small that users will not likely notice much of a difference.
  • Page 30 Section 2: Installation and Setup Five-Input Module™ Users Manual DNS Address If Email notification will be used, enter the IP address of a DNS server. The DNS server is used to look up the IP address of the mail (SMTP) server. If the IP address of the SMTP server is known, the DNS server can be bypassed by leaving the Mail Server field blank and entering the IP address of the SMTP server directly into the DNS Address field.
  • Page 31 Five-Input Module™ Users Manual Section 2: Installation and Setup Most ISPs require authentication to access their mail servers from outside the network, but do not require authentication from inside the network. If authentication is required, enter the user-name here. If authentication is not required, leave this field blank. Password Most ISPs require authentication to access their mail servers from outside the network, but do not require authentication from inside the network.
  • Page 32: Password Setup Page

    Section 2: Installation and Setup Five-Input Module™ Users Manual 2.4.4 Password Setup Page The password setup page is used to change and enable passwords. A password is required for the setup pages but is optional for the control page. The password is enabled or disabled for the control page by using the Yes or No radio buttons.
  • Page 33: Input Setup

    Five-Input Module™ Users Manual Section 2: Installation and Setup 2.4.4 Input Setup Pages These pages (Input 1 through Input 5) define how the inputs function and create the control page. All five pages are identical with the exception of the Input 1 page which also includes some additional settings for the control page.
  • Page 34 Section 2: Installation and Setup Five-Input Module™ Users Manual The first three parameters only appear on the Input 1 page. Main Header Text The text entered here appears at the top of the control page. It also appears in the header of the email text when the email notification is used.
  • Page 35 Five-Input Module™ Users Manual Section 2: Installation and Setup Counter Options The inputs can be used as counters. This field specifies counter operation. Note that the input voltage must remain on or off for the minimum hold time before counter will be incremented (see specifications in the back of this manual for minimum hold time).
  • Page 36 'Reset Count' or the counter will never reach this value. Remote Relay Options Each input can be configured to control the relay contacts of another ControlByWeb™ device (such as WebRelay™) at a remote location. The ‘Remote Relay Options’ setting is used to specify if and how the input affects the remote relay.
  • Page 37 Five-Input Module™ Users Manual Section 2: Installation and Setup configuration is used with a remote WebRelay that controls the alarm. The alarm would be wired to WebRelay using the normally-closed contacts, so as long as the relay is "on", the alarm will remain off.
  • Page 38 Keep Alive option may be turned on to keep the TCP connection to the remote ControlByWeb™ device alive. If the connection is alive, commands sent to the remote unit will change the state of the remote relay almost instantly (with a good network connection). If the connection is not alive, commands sent to the remote unit will be delayed a few seconds while the connection is being setup.
  • Page 39 Five-Input Module™ Users Manual Section 2: Installation and Setup password is sent, the more opportunity hackers would have to capture the password, decode it, and potentially use it to control the remote relay (especially in public networks such as the Internet). Keep Alive Period This field is used to specify the time interval that keep alive messages are sent.
  • Page 40: Section 3: Operation

    Section 3: Operation Five-Input Module™ Users Manual Section 3: Operation Once the input module is set up, operating the units simply consists of reading the input states when necessary. The input states can be read by viewing the control page using a web browser, by sending requests to the XML status/control page, or by using Modbus/TCP.
  • Page 41: Xml Operation

    Five-Input Module™ Users Manual Section 3: Operation 3.2 XML Operation Custom computer applications can be created to monitor and control the input module without using a web browser. Monitoring the state of the inputs is done by sending a request to port 80 (or port specified in setup) for the XML page.
  • Page 42 Section 3: Operation Five-Input Module™ Users Manual 3.2.2 XML Control Commands can be sent to the input module to set the counters or to clear the power up flag. Commands are issued by sending http get commands to port 80 (or currently selected port). The two supported commands are powerUpFlag and countX.
  • Page 43 64 encoded version of the username and password none:webrelay A utility is provided at http://www.ControlByWeb.com/encoder that can be used to encode the password. The utility is used by simply typing the string username:password into the website and pressing encode.
  • Page 44: Modbus Operation

    Section 3: Operation Five-Input Module™ Users Manual 3.3 Modbus Operation The Five Input Module can be controlled (and read) using Modbus/TCP protocol. This provides a standard means of using the input module in conjunction with devices and software from other manufacturers.
  • Page 45: Read Discrete Inputs (Modbus Function Code 02 (0X02))

    Five-Input Module™ Users Manual Section 3: Operation Response Modbus/TCP: Transaction identifier (2 Bytes): 0x0001 Protocol identifier (2 Bytes): 0x0000 Length (2 Bytes): 0x0004 Unit identifier (1 Byte): 0xff Modbus: Function code (1 Byte): 0x01 (Read coils) Byte count (1 Byte): 0x01 Data(1 Byte): 0x00, 0x01 (bit 0 = power up flag state (1, device has lost power...
  • Page 46: Read Holding Registers (Modbus Function Code 03 (0X03))

    Section 3: Operation Five-Input Module™ Users Manual Exception code (1 Byte): 0x01 or 0x02 Exception codes: 0x01 - Function code not supported 0x02 - Incorrect starting address / quantity of outputs combination Character String Example: char read_coils_mb_response[] = {0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0xff, 0x02,0x01, 0x1F }; 3.3.3 Read Holding Registers (Modbus Function Code 03 (0x03)) Read current counter values Request:...
  • Page 47: Write Single Register (Modbus Function Code 6 (0X06))

    Five-Input Module™ Users Manual Section 3: Operation 3.3.4 Write Single Register (Modbus Function Code 6 (0x06)) Reset the counter to zero. Request Modbus/TCP: Transaction identifier (2 Bytes): 0x0001 Protocol identifier (2 Bytes): 0x0000 Length (2 Bytes): 0x0006 Unit identifier (1 Byte): 0xff Modbus: Function code (1 Byte): 0x06 (write single register) Register address (2 Bytes): 0x0010 to 0x0014...
  • Page 48: Write Multiple Registers (Modbus Function Code 16 (0X10))

    Section 3: Operation Five-Input Module™ Users Manual 3.3.5 Write Multiple Registers (Modbus Function Code 16 (0x10)) Reset multiple counters to zero. Request: Modbus/TCP Transaction identifier (2 bytes): 0x0001 Protocol identifier (2 bytes): 0x0000 Length (2 bytes): 0x0009 Unit identifier (1 byte): 0xff Modbus Function code (1 Byte): 0x10 (Write Multiple Registers) Starting address (2 Bytes): 0x0010 to 0x0014...
  • Page 49: Special Functions

    Five-Input Module™ Users Manual Section 3: Operation 3.4 Special Functions 3.4.1 Email Alerts The Five Input Module can be configured to send an email message to up to three email addresses when inputs change. The email message is basic, but provides the current state of all five inputs and indicates what triggered the message.
  • Page 50: Loss Of Power Indicator

    Section 3: Operation Five-Input Module™ Users Manual http://192.168.1.2/state.xml?testEmail=1 This will cause an email message to be sent immediately. 3.4.2 Loss of Power Indicator Some applications (such as security or applications that use counters) could miss or lose important information if the input module loses power. For those applications, it is useful to know when the input module has lost power.
  • Page 51 Five-Input Module™ Users Manual Appendix A: Restoring Factory Default Settings Appendix A: Restoring Factory Default Settings In the event that the IP address or passwords are forgotten, the input module may be restored to its original factory default settings. To do this, first remove the power from the unit. Next, insert a thin object (such as a toothpick) through the small hole in the bottom of the unit to press the small button that is located inside the unit.
  • Page 52 Setup 1. Download the firmware zip file from the ControlByWeb website. Only an Input Module image can be installed on the Input Module so make sure the correct image is being downloaded. 2. bootloader.exe will connect to the Input Module using default IP address 192.168.1.2, not the address currently assigned to the Input Module.
  • Page 53 Continue to hold the reset button for the next step. 4. While holding the reset button, press the Upload Firmware button at the bottom of the ControlByWeb™ Programmer window. After the programming process begins, the reset button can be released 5.
  • Page 54 Appendix B: Installing New Firmware Five-Input Module™ Users Manual 6. Refer to Section 2.3 Establishing Communication for Setup to reconfigure the Input Module. Verify the new version of firmware has been installed by viewing the default setup page with a web browser (http://192.168.1.2/setup.html).
  • Page 55 Five-Input Module™ Users Manual Appendix C: Specifications Appendix C: Specifications Power Requirements: Models: X-DAQ-5I-I Voltage: 9~28VDC Current: See table below for typical values 10Mbps Network 100Mbps Network 9 VDC 130 mA 218 mA 12 VDC 100 mA 165 mA 24 VDC 55 mA 90 mA Model: X-DAQ-5I5-5 (discontinued)
  • Page 56 Appendix C: Specifications Five-Input Module™ Users Manual Vin: 26V (max) Vin Hi: 4V (min) Vin Lo: 1.5V (max) Input Functions: Monitor State, Counter, Remote Relay Control Input to Remote Relay Settings: equal, invert, toggle, latch, pulse, none Input Isolation: 1500V Counters: Number of counters: Counter Triggers:...
  • Page 57 Five-Input Module™ Users Manual Appendix D: Mechanical Information Appendix D: Mechanical Information Xytronix Research & Design, Inc. Page 57...

Table of Contents