W&T Introduction The W&T Web-IO Analog-In/Out models include all the functions in a single box for capturing your analog measurements (0..20mA or 0..10V), tunneling them through the network, saving and displaying them. A variety of alarm functions are also available which can be custom added to your own applications or into existing systems.
W&T Content Introduction .................... 3 1 Quick-start, Commissioning ............7 1.1.1 Connect to power ........... 7 1.1.2 PoE supply ............. 8 1.2.1 Wiring the in- and outputs ........9 1.3 Network connection ............12 1.4 Assigning the IP address using „WuTility“ ....... 13 1.5 Assigning the IP address using DHCP protocol ....
Page 5
W&T 3.8 Box-to-Box ..............60 3.8.1 Configuring the Slave Web-IO ........ 60 3.8.2 Configuring the Master .......... 63 3.8.3 Determining Box-to-Box connection status ..... 67 3.8.4 Quitting Box-to-Box mode ........68 3.8.5 Quitting Box-to-Box mode only for the Slave Web-IO 69 3.9 OPC - Standardized access ..........
Page 6
W&T 4 Individual Measurement Polling ..........125 4.1 Polling via TCP/IP ............125 4.2 Polling via UDP ............125 4.3 Polling via SNMP ............126 5 Including Measurements in your own Web Page ..... 129 6 Data Logger ..................134 7 Appendix ..................
W&T 1 Quick-start, Commissioning To start up the W&T Web-IO Analog-In/Out and make it visible in your network only a few steps are necessary. 1.1.1 Connect to power If you want to use a power supply, connect 18-48V DC or 18- 30V AC to the screw terminal provided.
W&T To use the W&T model 11020 power supply, screw the power supply plug into the screw terminal adapter: 1.1.2 PoE supply The Web-IO Analog-In/Out can be used in PoE (Power-over- Ethernet) environments in accordance with IEEE802.3af. The supply voltage is provided then by the network infrastructure through the RJ45 terminal.
Depending on the configuration the W&T Web-IO Analog-In/Out can be wired as follows, whereby Ports 1 and 2 are indicated by an „X“. The configuration is identical for both ports: 1.2.2 Current input 0..20mA, passive (#57661) 1.2.3 Current input 0..20mA, active (#57661) Subject to errors and modifications...
Page 10
W&T 1.2.4 Current output 0..20mA (#57661) 1.2.5 Voltage input 0..10V (#57662) 1.2.6 Voltage output (#57662) The voltage output must be jumpered to the Sense input, which can be used to measure and regulate the output voltage. This jumper can be made either directly on the device or at the remote end.
Page 11
W&T Jumper directly on the device: Jumper at the remote end: Subject to errors and modifications...
W&T 1.3 Network connection The W&T Web-IO Analog-In/Out has an IEEE 802.3 compatible network connection on a shielded RJ45 connector. The pin configuration corresponds to an MDI interface, so that the connection is made to the hub or swtich using a 1:1 shielded patch cable..
W&T 1.4 Assigning the IP address using „WuTility“ Once the hardware has been connected to the power supply as described above, the IP address needed for operating in a TCP/IP network must be assigned. You should obtrain the correct value for this parameter from your systems administrator.
Page 14
W&T Click on the „IP address“ icon: In the resulting window enter the desired network parameters for the device. Clicking on the Next button assigns the network parameters to the device. All the columns in the WuTility device list are filled with information. After clicking on the globe in the WuTIlity menu bar your standard browser is opened and you see the start page of the device.
W&T 1.5 Assigning the IP address using DHCP protocol Many networks use DHCP (Dynamic Host Configuration Protocol) or the predecessor protocol BOOTP (described in the following section) for centralized and dynamic assignment of the network parameters. DHCP protocol is enabled by factory default setting, so that in network environments wtih dynamic IP assignment you need only to connect the W&T Web-IO Ana- log-In/Out to the network.
W&T • Web Based Management In the menu path Config r Device r Basic Settings r Network the protocols can be alternatingly enabled or disabled. For detailed information see the section Assigning basic network parameters.. 1.5.2 System Name To suypport any automatic updating of the DNS system by the DHCP server the W&T Web-IO Analog-In/Out identifies itself within the DHCP protocol by its system name.
W&T 1.5.3 Lease-Time The lease time determined and sent by the DHCP server specifies the term of the assigned IP address. After half the lea- se time has expired the W&T Web-IO Analog-In/Out attempts to extend or update the address. If this is not possible before the lease time expires, for example because the DHCP server can no longer be reached, the W&T Web-IO Analog-In/Out deletes the IP address and begins a cyclical search for alternate DHCP...
W&T 1.5.4 Reserved IP addresses The W&T Web-IO Analog-In/Out provides services which can make use of the other clients in the network as needed. Of course the current IP address of the W&T Web-IO Analog-In/Out is needed by these clients in order to open a connection, so that in these cases it makes sense to reserve a particular IP address for the W&T Web-IO Analog-In/Out.
W&T 1.6 Start page As soon as an IP address is assigned, the start page of the device can be opened in the Web browser: When first opened you must select the device language. Once this is done, you are taken to the actual start page of the device. Subject to errors and modifications...
Page 20
W&T To get to the configuration menu, click above on the page on the „Show menu“ link. If you assign a password later in the configuration, you can login here. Also on this page you can switch to the User page to directly read out the data logger of the unit.
W&T 1.7 Assigning the basic network parameters At left in the configuration tree click on „Config“. You are now prompted to enter a password. The factory default setting is for no password, so that you can simply click on the Login button without entering a password.
Page 22
W&T The device now automatically displays the necessary menu points for this profile. In the configuration menu click on the entry „Network“.
Page 23
W&T On the following page enter all the necessary network parameters and then click on the „Logout“ button. Clicking on the „Save“ button stores the settings in the device and closes your configuration session. After the network parameters are changed the device automatically performs a restart. The device is now ready to use in your network.
W&T 2 Graphical Representation of the Measurements 2.1 Basic functions The device provides a table of the current values and a chart of the current values on the home.htm page. The navigation vuttons on the bottom provide the following control functions.
Page 25
W&T Zooms out to the previous zoom level. Activates automatic updating of the chart. Updates the display. Opens the configuration menu beneath the chart Displays the values current displayed in the chart in table format Opens a new page with a snapshot of the chart display.
W&T Tools -> Internet options -> Advanced The design and configuration of the graphical display can be varied. For additional information, see the section Configuring the graphical display. 2.2 Config-Menu...
Page 27
W&T The following functions are available from the configuration menu below the graphical display: Start: Specify the starting time point for the x-axis End: Specify the end time point for the x-axis. Sensors: Turn individual sensors for the display on and off. Polling Rate: Enter here the desired polling rate for the graphical display.
W&T 2.3 Table This function uis used to show the currentlyh displaye dvalues in table format. As soon as not all the stored values can be displayed, the following values for the sensor are shown in the table: Max: The maximum value in the displayed interval Min: The minimum value in the displayed interval Ø: The average value of the displayed interval...
W&T 3 Other Basic Settings 3.1 Configuring the port and device name 3.1.1 Text Enter your personal descriptions in the fields and then click on „Apply“. Subject to errors and modifications...
Page 30
First enter a name and a descriptive text for the port and select the measuring range for adapting the input wiring for your measuring point (For model 57661 only: Measuring range 0..20mA or 4..20mA). To disable the port, select „Disconnect.“...
Page 31
W&T Configuring the voltage input and output (Model 57662): Subject to errors and modifications...
W&T 3.2 Specifying Output Mode You must specify which mode you want each individual output to operate in. The corresponding configuration can be made under Config >> Ports >> PortX >> Output Mode. Output Mask: Here you specify which operating mode is used for each output.
W&T Safety State / Timeout / Value If no network activity is detected for the timeout time set here, the Web-IO Analog-In/Out sets the outputs to a configurable value (Safety Value). After selecting the output modes click on Apply to sent the settings to the device.
Page 34
W&T This overshooting can be avoided with a compensation value between 0 and 1000. This value can be configured manually, or determined automatically. The device adjusts two test pulses with 80% amplitude at the output. To start the automatic determination of the compensation click on the button „send test pulses “.
Page 35
W&T Value: The device enters the determined compensation value automatically. This value is valid immediately. The value can also be set manually. Subsequently, the desired value which was present before the determination will be adjusted again. Mode: Auto adaptive enable: The device determines the compensation at run-time.
W&T 3.4 HTTP - Controlling outputs in the browser Access from the browser is probably the simplest way of working with the Web-IO Analog-In/Out. To operate the outputs from the browser it is necessary to log in as Administrator or with Config rights. After successfuly logging in, the control elements for the output are enabled using the Control menu point.
W&T The Follow slider checkbox causes the selected output value to be set as soon as the slide controller is released at a certain point. At the same time the slide controller automatically changes its position when the device changes its output value, for example using TCP commands.
W&T value: Here you enter the value you want to set on the respective output. The unit of the value corresponds to the scale settings you configured under Config >> Ports >> Port X >> Config. To set a value of 50 on Channel 2 without an assigned password, use for example the expression: GET /outputaccess2?PW=&State=50&...
W&T When entering the command string GET /Single without a port number the device outputs the values for both ports separated by semicolons: 10.40.42.44;WEBIO-046EE9;12,000 mA;5,000 mA 12.000 mA;5.000 mA 3.7 BINARY - Socket programs with binary structures The Web-IO Analog-In/Out provides two independent socket accesses, Binary 1 and Binary 2, for binary data exchange.
W&T . Box-to-Box Master . TCP-Client . Box-to-Box Slave . TCP-Server . OPC-Device together with the W&T OPC-Server . TCP-Server Binary socket access In this section you will learn how the Web-IO Analog-In/Out can be accessed from your own professional applications using sockets with binary structures.
W&T After selecting the desired mode and setting Enable Binary send the setting to the Web-IO Analog-In/Out by clicking on the Apply button. For access from your own application programs the developer is provided with two levels of the socket programming. 1.
Page 42
W&T Local Port The local port on the device is factory set to 49153. If your application requires a different local port for the Web-IO, enter the desired port number in the Local Port field. Client HTTP Port Is only relevant for OPC and Box2Box modes and specifies the HTTP port on which a control line should open a connection to the OPC server or slave box.
Page 43
W&T Application Mode Select here: . Socket Device - If you want access to the Web-IO password protected. . Compatible 50xxx - If you want access to the Web-IO using applications which were programmed fo the older Digital I/O Com-Servers. You can also use this mode for new applications that do not require password protection.
Page 44
W&T After all the entries have been made, send the setting by clicking on the Logout button. Click on the Save button to activate the settings. All configuration possibilities shown for Binary 1 may also be used for Binary 2.
W&T 3.7.3 The Web-IO as Socket-Client To operate the Web-IO as a socket client, a few additional settings must be made In the navigation tree select Config >> Device >> Basic Settings >> Binary 1>> TCP Client Necessary access rights: Administrator Local Port The local port of the Web-IO is factory set to AUTO.
Page 46
W&T Server Port Server Port Server Port Server Port Server Port Enter here the port number the server application should use to receive the connection. Server HTTP Port Is only relevant for Box2Box mode and specifies the HTTP port on which a control line should open a connection to the slave box.
Page 47
W&T Example: A value of 300 corresponds to 30 seconds. Please note that for connections using fee-based dial-up connections too small an interval may result in the connection not being closed, in turn resulting in permanent fees! Mode Select here: .
W&T After you have made all your settings, send them by clicking on the Logout button. Clicking on the Save button activates the settings. 3.7.4 The Web-IO as UDP-Peer To use the Web-IO as a UDP peer a few additional settings must be made.
Page 49
W&T Local Port The local port on the device is factory set to 45889. If your application requires a different local port for the Web-IO, enter the desired port number in the Local Port field.. Remote Port Enter here the port number you want the UDP application to use for receiving data when communicating with the Web-IO.
Page 50
W&T increments. Example: A value of 300 corresponds to 30 seconds. Please note that for connections using fee-based dial-up connections too small an interval may result in the connection not being closed, in turn resulting in permanent fees! Application Mode In the configuration as UDP peer there is no difference between Socket Device and Compatible 50xxx modes.
W&T 3.7.5 Password protection As already mentioned earlier, the Web-IO enables you in TCP server mode to protect access through the application using a password. Before the actual connection to the Web-IO is opened, the BinInfo structure defined here must be sent over a separate TCP connection to the HTTP port (factory set to Port 80) on the Web- For the reply the Web-IO also uses the structure BinInfo.
Page 52
W&T Is always = 0x00 Type Determines the type in which Binary mode is used. The application must enter 0x04 here in order to open a TCP connection. In its reply the Web-IO enters 0x02 if the connection request was accepted 0x03 if the connection request was denied.
W&T DestPort The client application enters here which port will be used for the connection (e.g. 49153 for Binary 1 or 49154 for Binary 2). The Web-IO always returns 0 The connection through which the BinInfo structure was transmitted is automatically closed by the Web-IO. 3.7.6 BINARY - The IO structures To enable simple communication between the user program on the computer and the Web-IO, there are a limited number of...
W&T disadvantages which must be considered depending on the application you want to create. Help with socket programming including the basics of TCP/IP can be found in a short and clear form in our manual „Ready in 1 day for TCP/IP Sockets“. Program examples for client/server applications under TCP/IP are located on our homepage at http://www.wut.de.
Page 55
W&T struct_type The value struct_type identifies which structure is being used. Both the PC application and the Web-IO decide when the data are received how the structure should be processed based on the value struct_type. length length indicates the total length of the structure in bytes, i.e. including the first 4 WORDs.
W&T 3.7.8 Working with the IO structures In the next section we will explain the individual structures and the corresponding values of the variables send_sequence, rec_sequence, struct_type and length, which are used to begin each packet. IO-Structure ReadRegister Sending this structure to the Web-IO causes it to send the status of the port to the user program.
Page 57
W&T IO structure Send Mode This structure determines the trigger conditions the Web-IO Analog-In/Out uses to send the state of the ports to the user program. The trigger can be configured for state changes on both ports. The respective hysteresis for the trigger must be set in the Web configuration SendMode WORD...
Page 58
W&T Diagnosis WORD send_sequence always 0 (Web-IO -> PC) WORD rec_sequence always 0 WORD struct_type 0x00D0 WORD length 0x001C LONG word_anz in this version 4 LONG diag_error_count quantity of pending errors LONG diag_errorbits0 binary error encoding LONG diag_errorbits1 LONG diag_errorbits2 The variable diag_error_count returns how many different errors are currently in the error log.
Page 59
W&T Bit 0 = 1 //The Web-IO returns the structure AnalogRegisterState when an output value is set. Bit 0 = 0 //The Web-IO sends no reply whyen an output value is set. To reliably receive the state in the reply after setting the output value(s), a time of at least 150ms should be kept between two output changing accesses.
W&T Box-to-Box In this mode the inputs of a Web-IO Analog are transferred to the outputs of a second Web-IO and vice-versa. In this way you can for example send signals from one location to another ove a WAN connection. With Box-to-Box connections a Web-IO assumes the function of the Master.
Page 61
W&T For Operation Mode set TCP-Server mode and activate Enable Binary. Then click on the Apply button to send the changes to the Web- Now in the navigation tree select: Config >> Device >> Basic Settings >> Binary1 >> TCP-Server. Subject to errors and modifications...
Page 62
W&T Local Port: Unless your network administrator has informed you otherwise, the factory default set Port 49153 may be used. One reason for changing the factory default set local port may be for example a fireweall which permits access only to a particular port.
W&T Activate the outputs to be set by the corresponding inputs on the Slave for Binary 1 and confirm by clicking on the Apply button. The outputs activated for Box-to-Box are no longer accessible for other modes. Next the new settings still need to be activated. Use the Logout button or select Config >>...
Page 64
W&T Then click on the Apply button to send the settings to the Web-IO.
Page 65
W&T Now in the navigation tree select: Config >> Device >> Basic Settings >> Binary1 >> TCP-Client. The following parameters must be entered: Local Port: Unless otherwise specified by your network administrator, the factory default setting AUTO can be used. ServerPort: Here the Local Port set for the Slave must be entered.
Page 66
W&T Binary Trigger: Activate here the inputs which the corresponding outputs should set for the Slave. The Web-IO Anaog-In/Out allows simultaneous access to the inputs from various modes.. This means for example that the inputs which control the outputs on the Master Web-IO can at the same time be read out over HTTP.
W&T Activate here the outputs which are to be set by the corresponding inputs on the Slave for Binary 1 and confirm by clicking on the Apply button. In contrast to the inputs, the outputs activated for Box-to-Box mode are no longer accessible for other modes. Now the new settings still need to be activated.
W&T 3.8.4 Quitting Box-to-Box mode Box-to-Box mode only for the Master Necessary access rights: Administrator Quitting Box-to-Box mode should always be done by configuring the Master correspondingly. Master and Slave Web-IO must be connected in the network. In the navigation tree select des Masters : Config >>...
W&T Nun In the navigation tree select Config >> Ports >> Port X >> Output Mode and set the outputs which are no longer to operate Box-to-Box to HTTP. Confirm by clicking on the Apply button. Now the changed settings still need to be activated. Use the Logout button or select Config >>...
Page 70
W&T If this button is not displayed, first click on the Reset button. The Web-IO is restarted. After logging in again and opening Config >> Session Control >> LogOut the Stopp Box2Box Slave button will be shown. Clicking on the button resets the Slave to Box-to-Box mode.
On our Web site www.WuT.de you will find at left the „Article number search“ function. Enter here for example article number 57661, select „Tools“ from the field below and click on „Go.“. On the page that then opens select the link „OPC- Server.“...
W&T The OPC server starts automatically upon such requests. To configure the server you can also run it manually. A corresponding entry W&T OPC-Server Version 4 can be found in the Start menu under „Programs.“ 3.9.2 Uninstalling You can remove the OPC server using the control panel component „Software.“...
Page 73
W&T Host name or IP address: Must agree with the IP address which was assigned to the unit. If there is also a DNS name for the address, you can also use this instead of a number combination. HTTP port: Should normally be 80 .
Page 74
W&T OPC Device name: All OPC variables for a device begin with a common (and unique) name component which you can specify here. Adjust timing: The amount of network traffic between the OPC server and devices depends essentially on the behavior of the OPC client: The more frequently a client requests updating of DA items, the more data must be sent over the network.
Page 75
W&T You can also edit the timing parameters for multiple devices at the same time. In dialog fields whose content is not the same for all selected devices, a tilde („~“) is displayed. Fields in which the tilde remains even when closing the dialog field retain their various contents.
W&T 3.9.4 3.9.4 3.9.4 3.9.4 3.9.4 Configuring the Web-IO as an OPC device Necessary access rights: Administrator In the navigation tree of the Web-IO select Config >> Device >> Basic Settings >> Binary 1 As Operation Mode set TCP-Server. Then click on the Apply button to send the changes to the Web- Now in the navigation tree select: Config >>...
Page 77
W&T Local Port: Unless otherwise specified by your network administrator, the factory default setting Port 49153 can be used. One reason for changing the factory default local part setting may be for example a firewall which only allows certain port accesses. I n a n y c a s e t h e s e t l o c a l p o r t o n t h e W e b - I O must be identical with the corresponding settings in the OPC server...
Page 78
W&T Client HTTP Port Specifies the HTTP port on which the control connection to the OPC server should be opened. Unless otherwise specified, always use Port 80 here. Binary Trigger: Here you activate the inputs which should trigger a message to the OPC server when there is a state change.
W&T After clicking on the Save button all the settings are updated in the Web-IO and the start page is reopened in the default user mode. The Web-IO can now be accessed by the OPC server. 3.9.5 Program options After clicking on General options you can specify some details about the behavior of the OPC server.
Page 80
W&T We consider the standard default value of 800 ms to be a practical compromise between reliability and speed. Enter a higher value if the problems described still occur, or a lower value if you want to try out the highest possible update rate (for your special application case).
W&T 3.9.6 Data model for OPC Data Access From the view of the OPC client an OPC-DA server provides a collection of named variables which can be read or written. Each variable is associated which a value, a time stamp and a signal quality, all of which are continually refreshed.
W&T In addition, the following abbreviations are used for access rights and OLE data types: R/W: Read and wrote VT_BOOL: Binary value VT_I2, VT_I4: Whole number (16bit/32bit) R: Read-only VT_R8: Floating point number W: Write-only VT_BSTR: Character string 3.9.7 OPC variables for Web-IO Analog Each Web-IO Analog has two ports for current and/or voltage depending on the model.
W&T Please note also the general notes for describing the OPC vari- ables. 3.9.8 OPC Alarms & Events Various device types (described individually below) provide not only variables for OPC Data Access, but can also provide events for OPC Alarms & Events. Common to all of them are the following events which refer to the network connection between OPC server and the device: Event Category Message...
Page 84
W&T · Message texts vary in the German and English version of the OPC server and should therefore not be used as a filter criterion. · Whether the network connection to a particular device has a fault can be determined by an A&E client only after it has first received an event from this device, and you cannot know in adavance when this will happen, or whether it will happen at all.
W&T 3.10 Local time setting 3.10.1 Time zone Define here the time zone where the device is located. The settings refer to UTC (Universal Time Coordinated). Then click on „Apply“. Subject to errors and modifications...
W&T 3.10.2 Summertime If you want your device to automatically take daylight savings time into account, first enter the offset to UTC. The standard value (e.g. for Germany) is two hours. Enable this function using „Apply Summertime“ and apply the settings. Start/Stop Define when summer time begins and ends.
Page 87
W&T 3.10.3 Device Clock If you do not wish to use a time server, you can set the clock manually here. Then click on „Logout“ and save your settings. Subject to errors and modifications...
W&T The device has an internal, battery-buffered clock, so the time remains stored even after a device is turned off 3.11 Automatic time setting using a network time service 3.11.1 Time server If you want to use a time server to adjust the time, enter the necessary information here.
W&T If you enter an address for a name, be sure that you have first configured the gateway and DNS server so that the device can resolve the addresses. Click on the „Logout“ button and save your settings. 3.12 Configuring the data logger Subject to errors and modifications...
Page 90
W&T 3.12.1 Select Make the following settings: Timebase: Defines at what time intervales the measurement data are stored in the data logger. The device will in any case measure a new value every four seconds. N o t e : I f T i m e b a s e o r S e l e c t S e n s o r a r e changed all the data in memory will be lost! Select Sensor: The sensor selected here is used for storing the values in the data logger...
W&T 3.12.2 Clear Clicking on the „Clear memory“ button clears the entire contents of the data logger. 3.13 Configuring the graphics output 3.13.1 Basic Settings Subject to errors and modifications...
Page 92
W&T Enable: Auto scroll enable: After opening the graphics display the measurements are automatically refreshed. The navigation buttons are not available for the Auto Scroll function. Show table: Shows the current values in table form as well. Show graph: Enables graph display of the measurements.
Page 93
W&T Show control buttons: Shows the navigation buttons. Show config menu: Shows the configuration menu for the graph display below the navigation buttons. Show alarm monitor: Uses a bar graph to show whether the alarm monitor for each alarm is active or inactive. Width: Enter here the desired width of the graph display Height: Enter here the desired height of the graph display.
W&T 3.13.2 Select Sensor Graphics Selection: The following parameters can be set for each sensor: Sensor X enable/disable: (Checkbox blank/filled in) Sensor Color: Enter the desired sensor color, or use the color selector to choose. Show extreme values: If a zoom level is selected in the graph display where a display point represents a measurement interval and not an individual measuring point, this function is used to show the maximum and minimum measured in this interval.
W&T 3.13.3 Scale Config Scale: The following parameters can be associated with the scale: unit: The unit to be shown for this scale. min: The lower value shown for this scale max: The upper value shown for this scale auto scale: The lower and upper values for this scale are automatically selected based on the measurement values, so that an optimal, dynamic representation can be achieved.
Page 96
W&T Slider: The following parameters can be applied to the sliders for direct access using the Control page: Pixel: Length of the slider in pixels Start: Lowest value that can be set using the slider. End: Highest value that can be set using the slider.
W&T 3.14 Calibration The sensor can be calibrfated using single-point and two-point reference measurements and corresponding entries for offset values. In single-point compensation the entered value is added to the measured valuem, whereas in two-point compensation a straight line is calculated for compensating the entire measuring range. To retain calibration setting, the user can store a comment text.
W&T HTTP Port: You can use this port to access the device. The factory default setting is the standard HTTP port 80. If you want to use a different port, this may need to be explicitly names when opening the page: http://webio:<PortNr>...
Page 100
W&T The e-mail function allows you to sent an information of alarm mail to one or more e-mail or SMS recipients. Name: Enter the name you want to appear for the e-mail recipient. ReplyAddr: The reply address the device uses to identify itself MailServer: In the next step enter the IP address of your mail server or its host name (for configured DNS servers) you want the...
Page 101
W&T device to use. If the e-mail port is not the same as the standard port 25, append the actual port to the address using a colon: mail.provider.de:476 Authentication: If authentication is required on the mail server, enter here the corresponding procedure for user identification: SMTP authentication off: No authentication ESMTP: A user name and password are required in order to log in on the mail server.
Page 103
W&T Trigger: Define here the triggers for the alarm e-mail. Multiple selections are possible. Min./Max.: Specifies the lower and upper limit. The range within these limits is considered to be „valid“. Hysteresis: You can also specify a hysteresis value used to reset the alarm status.
Page 104
W&T * : Stands for all valid values in the respective entry field (e.g. all minutes or all hours) - : Indicates a range of from..to. For example weekdayu „2-4“ stands for Tuesday to Thursday, whereas an entry of „*“ triggers the timer on all weekdays.
Page 105
W&T Enable: Select the type of message. For an e-mail alarm activate the „Mail enable“ checkbox“. 3.16.3 Alarm X -> Mail Under this menu item the actual contents of the e-mail is determined. Subject to errors and modifications...
Page 106
W&T E-Mail-Addr: Enter here the recipient‘s e-mail address. To send the e-mail to multiple recipients, separate the addresses with a semicolon. Subject & Mailtext: Specifies the subject line and mail text for the e-mail. In these text boxes the following tags are also accepted. The device replaces these tags with the respective values: W&T tag value Function...
Page 107
W&T Attach logger.csv enable: Using the „Attach logger.csv enable“ option you can append the complete contents of the data logger as a mail attachment in semicolon delimited CSV format. The time basis for the output corresponds to the data logger settings. The file is dynamically generated in the device, so that when the logger contents is large it may take up to 30 seconds to create the CSV file.
W&T 3.17 SNMP incl. alarm sending per Trap Send alarm messages as SNMP trap. 3.17.1 Basic Settings -> SNMP Define here the basic settings needed for SNMP operation.
Page 109
W&T Community String: Read: Using this string you can have read access to measurements in your SNMP manager. Community String: Write: Using this string you can have both read and write access to measurements in your SNMP manager. Manager IP: Contains the IP address of your SNMP manager. The device sends the SNMP messages to this address.
Page 110
W&T 3.17.2 Alarm X -> SNMP Under this menu item the actual contents of the SNMP is specified. Manager IP: Contains the IP address of your SNMP manager. The device sends SNMP messages to this address. Trap Text: Specifies the text for the trap. The following tags are also accepted in these text boxes.
Page 111
W&T W&T tag value Function comma spelling dot spelling (##.####) (##,####) Measurand 1: Displays the <M1> <m1> value for channel 1. Measurand 2: Displays the <M2> <m2> value for channel 2. Alarm active: Shows all alarms <AA> (numbers, komma separatet) which are currently active.
W&T 3.18 Sending alarms per TCP (Client Mode) Send the alarm messages as a TCP datagram. 3.18.1 Alarm X -> TCP IP Addr: The IP address you want the message sent to. Port: At the receiver end there must be a TCP server service on this port which can accept incoming connections.
W&T 3.19 Sending alarms per FTP (Client Mode) Write the analog values directly to an FTP server. Subject to errors and modifications...
Page 114
W&T 3.19.1 Basic Settings -> FTP Here you find the basic settings needed for FTP mode. FTP Server IP: Enter here the IP address or host name of the FTP server you want the data to be sent to. FTP Control Port: This is the port needed for the connection. The standard port for FTP access is 21.
Page 115
W&T 3.19.2 Alarm X -> FTP FTP Local Data Port: This is the local data port on the Web-IO. Valid are entries between 1 and 65536. Entering „AUTO“ causes the device to select the port dynamically. File Name: Enter here the path to the file you want the device to access.
Page 116
W&T W&T tag value Function comma spelling dot spelling (##.####) (##,####) Measurand 1: Displays the <M1> <m1> value for channel 1. Measurand 2: Displays the <M2> <m2> value for channel 2. Alarm active: Shows all alarms <AA> (numbers, komma separatet) which are currently active.
W&T 3.20 Syslog messages incl. alarm sending Send alarm messages as a Syslog message. Subject to errors and modifications...
Page 118
W&T 3.20.1 Basic Settings -> Syslog Server Server IP: The IP address you want the device to send status messages to. Syslog Server Port: A Syslog server service must be located on this port at the recipient end. This port must be able to receive incoming connections.
Page 119
W&T 3.20.2 Alarm X -> Syslog IP Addr: The IP address you want the message sent to. Port: A Syslog server service must be located on this port at the recipient end. This port must be able to receive incoming connections.
W&T 3.21 Time-based report Timer: The timer interval set here is based on the CRON service as used in Linux.Unix systems. Valid characters are: * : Stands for all valid values in the respective entry field (e.g. all minutes or all hours) - : Indicates a range of from..to.
W&T 3.23 ASCII command strings per TCP Port 80 3.23.1 HTTP The device can, when polled using an HTTP-Get command, also send along with the measured value a header with the IP address and name of the device. Check the corresponding box to enable this.
W&T The function GET HTTP enable causes a complete HTTP header to be sent along with the device reply. This is needed for example when polling mobile applications. 3.24 ASCII command strings per UDP In addition to TCP/IP commands the device can also reply to UDP datagrams.
W&T 3.25 UP-/Download In the Download area you can download the XMLconfigurations as well as the three user pages (home.htm, user.htm, log.htm) for further processing. With XML-Download you can read out the settings of the Web- IO, make any needed changes, and upload them back to the device using XML Upload.
Page 124
W&T The individual options and parameters correspond to the configuration points in the browser menu. Please note, especially for mass updates/configurations, that the IP address stored in the XML file is also sent and must then be changed accordingly. In addition, the user pages (user.htm, home.htm, log.htm) can also be replaced in the Upload area.
W&T 4 Individual Measurement Polling 4.1 Polling via TCP/IP It is possible to poll the current analog values manually in CSV format (comma delineated data) through a socket connection. This function is also used to poll the individual data without the Web interface.
<IP-Adresse> 1.3.6.1.4.1.5040.1.2.28.1.4.1.1.2 = Output value 2 as integer value in thousandths, not comma delineated. (Read/ Write) The IDs for the various device versions are as follows: #57661: 1.3.6.1.4.1.5040.1.2.28... #57662: 1.3.6.1.4.1.5040.1.2.29... Specify the configured SNMP Read or Read/Write Community for polling.
Page 127
W&T If you want to change settings (IP address, subnet mask, etc.) or output values in the device via SNMP, you must first use your SNMP manager to start a session on the device. Entering the Administrator password into the variable wtWebGraphAnalog57661SessCntrlPassword wtWebGraphAnalog57662SessCntrlPassword opens a session.
Page 128
W&T to close the session. wtWebGraphAnalog57661SessCntrl Logout = 1 All changes are saved 2 Quit without saving If while a session is open there is no SNMP communication over a period of 5 minutes, the device itself closes the session and all changes are cancelled.
W&T 5 Including Measurements in your own Web Page It is possible to use an implemented Java applet to integrate the measured values on your own Web page. The applet is refreshed every 60s. An example for this applet can be found here in the device itself: http://172.0.0.10/app.htm To incorporate the applet for the analog value monitoring in...
Page 130
W&T The sensor is selected using the parameter <Param Name="Sensor" VALUE="1"> The analog value is specified using Value 1, and the output status using Value 2. Units are specified using the parameter <Param Name="unit" VALUE="Liter"> The parameter is of the string type. If not specified, it is automatically set to „C“.
Page 131
W&T To output an error message when there are problems opening a connection, do this by turning the parameter <Param Name="showerrors" VALUE="on"> resp. „off“ on and off. The standard value is „off“. Once all parameters have been entered, the HTML tag must be closed using </Applet>...
Page 132
W&T The following read functions are used for this: function sensorChanged( iDevice, iSensor, iVal ) { Programmcode der beim Wechsel an den Inputs ausgeführt wird} The preceding function is invoked by the applet when a analog value change is detected at the sensors. iDevice specifies for which Web-IO Analog a value has changed.
Page 133
W&T <p><applet name="Analog" archive="A.jar" code="A.class" codebase="http://10.40.23.19" height="0" width="0" mayscript> <param name="device" value="0"> <param name="showerrors" value="off"> <param name="sensorpolling" value="on"> <param name="pollingrate" value="1000"> Java ist nicht aktiviert oder wird nicht unterstützt </applet></p> <table width="200" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" align="center"> <tr bgcolor="#CCCCCC"> <td id="currenttab" align="center">0</td> </tr>...
W&T 6 Data Logger The Web-IO saves all measured values in a fixed ring memory, so that they are retained even after disconnecting power or pressing the Reset button. T h e m e a s u r i n g d a t a i n t h e d a t a logger are opened from the user page of the device (Home ->...
W&T 7 Appendix 7.1 Alternative IP address assigning 7.1.1 Using DHCP-/BOOTP protocol Many networks use DHCP (Dynamic Host Configuration Protocol) or BOOTP for centralized and dynamic assignment of the IP addresses. Which of the two protocols is used in any individual situation makes no difference with respect to Web-IO devices, since DHCP is simply a downward compatible expansion of BOOTP.
Page 136
W&T When starting up the device in DHCP/BOOTP networks, please consult with your systems administrator. If address assignment will be handled using DHCP, . Once the necessary entries have been made, the device automatically obtains the desired IP address after each reset. To ensure that the Web-IO can be accessed even if the DHCP/ BOOTP server goes down, the previous IP address is retained when there is no reply.
Page 137
W&T arp -s <IP-Adresse> <MAC-Adresse> e.g. under Windows: arp -s 172.0.0.10 00-C0-3D-00-12-FF e.g. under SCO UNIX: arp -s 172.0.0.10 00:C0:3D:00:12:FF Now ping the device again (in our example you would ping 172.0.0.10). The IP address is not stored in the non-volatile memory.
W&T 7.2 Example for creating your own Web pages You can freely configure the standard display pages of the device (user.htm, home.htm, log.htm). Special control elements can be inserted into the page using „tags“. In the following you will find an example for creating the page „user.htm“. Create an HTMP file which must begin with the expression <user.htm>...
Page 139
W&T Background color: Background colors corresponding to the sensor state can be used for values shown in tables: <w&t_tag=bc1> describes a background color (BGcolor) which depends on the alarm state of the first port. If there is a limit violation, this color is red.
Page 140
W&T The „Previous“ button and the „Next“ button only have any function in the „Log.htm“ file. <w&t_tags=logtable> inserts a table with the current measurement values. On the „log- page“ only you can navigate forward and backward in this table using the „Next“ and „Previous“ buttons (see above). On both of the other pages (user.htm and home.htm) only the current measurement values can be displayed.
Page 141
W&T Resetting the device to its factory default settings restores the original HTMP pages Sample user.htm: <user.htm> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Web-IO Analog-In</p> <p>Zeit: <w&t_tags=time></p> <p><w&t_tags=sensor1>: <w&t_tags=m1></p> <p> </p> <form action="log.htm" method="POST"> <p>Output format Data Logger:</p> <p><w&t_tags=steps></p>...
Page 142
W&T The Web-IO displays this page in the Web browser as follows:...
Page 144
W&T The Web-IO displays this page in the Web browser as follows: The pages home.htm, user.htm and logger.htm are replaced by the factory integrated pages after the device language is changed.
W&T 7.3 Firmware update The operating software of the Web-IO is being constantly improved. The following section describes how to upload new firmware when necessary. . Firmware update over the network under Windows 7.3.1 Where is the current firmware available? The newest firmware including the available update tools and a revision history is published on our Web site at the following address: http://www.wut.de...
Page 146
W&T No special preparation of the Web-IO for a firmware update is necessary. WuTility, which is needed for the update, detects all WuT devices located in your network and is for the most part self- explanatory. If you do have questions or anything is unclear, please refer to the associated documentation or our online help.
W&T 7.3.3 LED indicators ■ Power-LED: Indicates that power is present. If the LED is not on, please check for a proper supply voltage connection. ■ Status-LED: Flashes whenever there is network activity with the Web-IO Analog. Periodic flashing indicates a ready state. ■...
Page 148
W&T Additional LEDs (internal) ■ on error http://xxx.xxx.xxx.xxx/diag -LED: Indicates an internal configuration error. For troubleshooting open page h t t p : / / x x x . x x x . x x x . x x x / d i a g i n t h e d e v i c e . ■...
W&T 7.4 Emergency access The device can be reset to its factory default settings in the following manner: 1. Open the housing The DIN rail mount housing is opened by plugging in the 6-pin connector. After tightening both the fastening screws the board can be removed from the housing by pulling on the connector.
W&T 7.6 Disposal This device conrtains a non-rechargeable lithium button battery of type BR (lithium-carbon monofluoride cell) First disconnect the device from all connected cables and sensors. Screw the 6-pin screw terminal strip tightly on and open the housing by gently pulling on the terminal strip. Remove the screw used to join the two boards and remove the upper circuit board.
Need help?
Do you have a question about the 57661 and is the answer not in the manual?
Questions and answers