Home
W&T Manual Web-IO Digital
Contents
1. ETSEEEETE Register Address High Byte 11 Byte 4 TEES 394 Register Value Subject to errors and modifications 119 W amp T Modbus TCP Register Address Register Address specifies which register address to write to Register Value A 16 bit register value which is written to the Modbus memory of the Web IO The Web IO replies with a data packet having the exact same structure Function Code OxOF Write Multiple Coils Function Code OxOF is intended for bit setting of outputs Transaction ID Protocol ID Length Unit ID Function Code BEE Start Address 16 Bit Word Quantity of Outputs Byte Count Output State 15 15 2 13 2110 Start Address Specifies at which address to begin writing output bits Quantity of Outputs Here the number of bits to write is transmitted W amp T Modbus TCP Bytes Count Indicates the number of transmitted bytes which the output bits being set contain One byte per 8 bits begun is sent This means 2 bytes are sent beginning at the 9th bit Output State Number of bytes as sent in Byte Count The first byte 14th byte contains beginning at Bit 0 the first 8 output bits outputs to be set If fewer than 8 bits outputs were specified the unused bits are sent with 0 For more than 8 bits it continues with the 15th byte The Web IO replies with a data packet having the following structure Transaction ID Pro
2. 11 44 02 953 11 44 02 953 11 44 02 953 11 44 02 953 11 44 02 953 11 44 02 953 Configuring the Web IO as OPC device Required access rights Administrator digital input digital input digital output digital output counter on input 0 counter on input 1 In the navigation tree of the Web IO select Config gt gt Device gt gt Basic Settings gt gt Binary 1 Subject to errors and modifications 105 W amp T OPC Config gt gt Device gt gt Basic Settings gt gt Binary 1 Operation Mode Application Operation Mode Box2Box Master TCP Client Box2BoxSlave Server OPC Device TCP Server ModBus Slave Server Socket Device Depends on application 50xxx compatible Depends on application TCP Server TCP Client C UDP Peer Enable Iv Enable BINARY 1 Free memory 20713 Bytes Tempo n Storage Undo Logout For Operation Mode set TCP Server mode Then click on the Apply button to send the changes to the Web lO Now select in the navigation tree Config gt gt Device gt gt Basic Settings gt gt Binary 1 gt gt TCP Server 106 W amp T OPC Local Port Port No 1 65534 49153 5 Config Client HTTP Port Control port in order to establishing Session Control and clearing connections 5 Device fo i 1 0 Text 7j Time Date O C3 Basic Settings Input Trigger M Input 0 m
3. s1 30 29 28 27 o 25 24 23p22 21 2o roa ve popa rs 2p foo 9 8 7 6 5 4 3 2 1 0 00 jr OO 32 Bit Value s1 3o 29p28 27 26 25 24 23p2 1 2o 19 pa 17 v6 o pap rs 2 fno 9 8 7 6 5 4 3 2 1 0 16 Byte of structure XX 15 Byte of structure 14 Byte of structure 13 Byte of structure Word 16 Bit Start 1 always 0 Word 16 Bit Start 2 always 0 Word 16 Bit structure type Word 16 Bit StructLength length in Bytes Longword 32 Bit Version in this release V4 StructType Options Longword 32 Bit 32 Bit Value binary option coding In the current version of the Web IO only Bit in the options variable is used Bit 0 1 the Web IO returns the Structure register state when an output is set Bit 0 0 the Web IO does not reply when setting an output To ensure that the state after setting the output s is reliably returned there should be a time of 150ms between two output changing accesses 228 W amp T Wayback 5 7 Wayback switching via FTP login In addition to the standard modes the ERP gateway models 57635 57638 and 57636 also include the patented Wayback procedure for accessing the digital outputs This makes it possible to send switching commands using the login name of an FTP client In addition communicatively limited systems such as SAP or other ERP PPS applications are made able to di
4. 7 6 p5p2 3 211 o Byte High Byte Low Byte 1 Byte 16 Bit Word 112 W amp T Modbus TCP Transaction Identifier Used to classify the reply from the Web lO to the request of the client The client normally increments the ID by 1 with each sending of data The Web IO always returns the received value 1 1 Protocol Identifier Has no meaning for communication with the Web IO and is always 0x0000 Length Number of bytes sent by Length entire number of bytes sent 6 Unit identifier Always 0x01 for Modbus TCP Function Code The Function Code specifies how the Modbus memory of the Web lO is accessed By bit register 16 bits and what the purpose of the request is 0x01 Read Coils read individual bits 0x02 Read Discrete Inputs read individual bits 0x03 Read Holding Registers read multiple registers 0x04 Read Input Register read multiple input registers 0x05 Write Single Coil write a bit 0x06 Write Single Register write only one register 0x07 Read Exception State read error status OxOF Write Multiple Coils write multiple bits 0x10 Write Multiple Register write multiple registers Start Address Start Address specifies which area of the Modbus memory in the Web IO will be accessed This also determines which Subject to errors and modifications W amp T Modbus TCP characteristic is accessed inputs outputs counters alarms eds A list with th
5. Output Mask Name UDPASCII Output 0 c amp 3 Session Control Output 1 c 5 1 Logout L Profiles Selecta o i New Password Safety Nach Ablauf des Zeitintervalls Zeit in 1 eS Device Timeout nehmen die Outputs die pro Port einste In 17 Text amp 7j Time Date ME Basic settings Power Max 150mA 10 Output Mode gt gt gt Internal 24V enable ipeichern R cksetzen Logout Select Power gt Internal 24V enable You must then save the changed setting in the Web IO using Logout and Save Outputs which are switched with an inductive load such as a relay should be protected with a free running diode The outputs feature thermal overload protection and are short circuit protected In the OFF state there is also a test to see whether a load is connected to the outputs If a load is connected a leakage current of approx 10pA flows This may result in slight illumination of the LEDs even in the quiescent state Web based management can be used to activate load monitoring which tells the user when there is no load e g cable break or overload When dimensioning the output voltage supply you should take the required current into account If the selected output voltage varies between 12V and 24V Vcc and Vdd can be provided from the same source Subject to errors and modifications W amp T Connections operating elements and LEDs 3 2 Conne
6. TS ETE T 2 Byte of structure 00 Byte of structure 00 76 Bit Value ppapspapsporopep7 e 5 2 3 2 1 0 High Byte Low Byte ofstucture OO myteorstuue OO 16 Bit Value popapspapsporo 17 6 5 2 3 2 1 0 High Byte Low Byte 6 Byte of structure 00 Bye of sruchre 16 Bit Value 5 4 13 12 11 10 9 8 7 6 5 4 3 2 1 h Low B 8 Byte of structure 00 Byte of structure 0 76 Bit Value 15 14 131211160 9 8 7 6 5 4 3 2 1 5 High Byte Low Byte OO Jo yi of structure 16 Bit Value amp F 2 H amp 2 m D s 2 2 3 14 Byte of structure X 13 Byte of structure 12 Byte of structure 31 30 29 28 27 26 25 24 2322 21 foro e iv en pna op 2p opo 8 7 6 p 5p 2 13 p2 1 fo 11 Byte of structure Word always 0 Word always 0 Word structure type Word length in Bytes Word counter indexl Word Start_1 always 0 Word Start_2 always 0 Word StructType structure type Word StructLength length in Bytes Word Counterlndex counter index CounterValue Longword 32 Bit Value The IO structure ReadAllCounter The user program sends this structure to the Web IO to request the counter states of all the inputs in a data packet The Web always replies with the structure ALL COUNTER 224 counter value W amp T TCP UDP Binary Die ReadAllCounter Struktur sPAT3 EST TS
7. 4 nc 5 nc RJ45 Buchse Belegung AT amp T256 10 100BaseT Autosensing Both 10BaseT and 100BaseTx standard with a bit rate of 100MBit s and the possibility of full duplex transmission are supported Changing between the two network speeds is automatically done by the autosensing function of the Web IO depending on the possibilities of the hub or switch used The prerequisite for operation at 1OOMBit s is suitable cabling at least conforming to Cat 5 ISO Class D Both stations Switch and Web IO should be run in auto negotiating mode Galvanic isolation The network connection is galvanically isolated with respect to the supply voltage and to the digital IOs and the serial port s up to at least 500 Link status The Error LED on the front of the unit indicates the current link status If it flashes at 1 2 second intervals there is no connection to the hub or the connection is faulty Manageable switches often have special protocols Spanning Tree Protocol Port Trunking as required for example for uplinks to other switches or for broadband connection of servers These protocols are not required for Subject to errors and modifications 37 W amp T Connections operating elements and LEDs connecting normal terminal devices such as the Web IO but do under some circumstances delay opening of communication considerably after a restart In some cases it can even happen that switches do not pass da
8. pope psg Te 5 3 2 1 o pope 5 13 2 o pspapsp2p pop prs ot ue OO s se te OO O1 see OO O8 se wee O In the examples all numbers are in hex format Working with the IO structures In the next section the individual structures are explained and the corresponding values of the variables Start_1 Start_2 struct_typ and length which begin each packet are indicated The IO structure ReadRegister Sending this structure to the Web IO causes it to send the status of Inputs 0 11 to the application program The packet consists only of these four WORDs This structure is used by the user program and the Web IO always responds by sending the WriteRegister structure The ReadRegister structure pore EE BET Word 16 Bit Start 1 always 0 16 Bit Value 5 Le 7 605 3 2 1 0 Start_2 uu 16 Bit Value 5 Ls 7 6 5 3 2 1 0 Word 16 Bit StructType structure type TCO le a OE Ea EA Word 16 Bit StructLength length in Bytes 16 Bit Value The IO structure WriteRegister This structure is used to send the state of the inputs or outputs for the Web IO 12xDigital If the application program sends this structure to the Web IO the Web IO sets the outputs corresponding to the value transmitted in value 220 W amp T TCP UDP Binary If the Web IO sends this struct
9. Outputs c 3 5 Safety State Safety enable OFF C ON i Logic Time Switch Temporary Storage Undo Logout Puls Safety State Select Safety State Enable if you want the output to be set toa fixed state when there is a fault Specify whether the output shall be switched to the ON or OFF state Outputs that are not selected keep the state that was present when the fault occurred All other settings on the page are not relevant to the Safety State and do not have to be changed Send the settings to the Web IO by clicking on the Temporary Storage button 244 W amp T Safety Timeout State Once you have made all the settings activate them under Config Session Control LogOut Save Subject to errors and modifications 245 W amp T Port configuration 6 3 Ports Input and output configuration 6 3 1 Input configuration The inputs are organized into groups of 4 In addition to the galvanic isolation of the groups Group 1 has the unique feature that the inputs can be selected for edge or pulse detection Individual base settings can be made for each input For example to change the settings for Input 0 select in the navigation tree Config gt gt Ports gt gt Inputs and for Input 0 gt gt In put O Required access rights Administrator or Config i Replaces standard name in displays 1j Smart Inputo amp Config Text Selectable from page home Sessio
10. Bit 32 Bit Value 8 ors EE 10 of struct Byte of struct XX Byte of struct XX n 5 Byte of struct IPAddress Word 16 Bit PETS ETE Dummy aways 151212121715 Byte 8 Bit Type e Byte 8 Bit 1 4 Byte SubType subtype of request SUB Longword 32 Bit source IP address 5 pap propor 9 7 6 5 3 2 1 0 9 Byte of struct 16 Bit value 5 14 13 121116 9 8 7 6 5 4 3 2 1 High Byte Low Byte 12 Byte of struct n 11 Byte of struct 16 Bit Value i 5E E gt lt x The individual variables of the structure are filled as follows HTTPLogin n Is a byte field or string consisting of a login string and the administrator password GET bin LPW lt AdministatorPasswort gt amp n stands for the number of bytes used and corresponds to 14 the length of the password The length of the password is restricted to max 31 characters In the reply from the Web IO HTTPLogin is always 8 characters long and contains the following string GET bin 216 Word 16 Bit srePort TCP source port DstPort Word 16 Bit TCP destination port W amp T TCP UDP Binary Dummy Separator between the ASCII and binary part of the structure is always 0x00 Type Determines the type in w
11. Pon na na na na Desbnaeon Loox OFF Funes Active ON OFF ON OFF OFF OFF EP OFF OFF OFF Prowse ASCE Gon 2 Bor Tme Profe ASCE Kom mancosinngs SIMP Braver mandosmmgs per lor orc Sate Parameter Alarm Mail SNMP Trap UDP Cent Pending TCP TCPChent Sysiog Message FTP Message Aum 2 Trag OFF OFF Orr OFF Connection Mecources Pending 3 262 W amp T Diagnostic and Test The Web page shows which access types are activated with which parameters Here the Web IO performs a plausibility check of the settings If missing parameters are detected which prevent proper operation of the access type the corresponding fields are highlighted in orange Also checked and displayed are which transmission channels are selected for the alarms and whether all necessary parameters have been configured Here again the access types which were not fully configured are highlighted in orange Finally the number of possible static connections on Port 80 of the Web IO is checked and displayed Port 80 of the Web IO can be used both for opening the Web pages as well as for so cket applications The factory default setting is for all free ports configured so that they work as a server port on Port 80 Dynamic connections are permitted on only two ports If for example 5 ports are configured on HTTP Port 80 3 of them can be used by conti
12. order to establishing and clearing connections 80 Server IP Addr Server Password 2 Mode Admin password of the Box2Box Slave HTTP Client Mail SNMP Inactive Timeout Time in 100ms no function in Box2Box Mode UDP L Syslog _ 0 FTP Input Trigger IV Input 0 9 05 Binary 1 M Input 1 c TCP Server Interval Time in 100ms 5 TCP Client 9 UDP Peer i Application Mode Socket device C Compatible 50xxx Box2Box Master Temnora Storage Undo Logout The following parameters must be entered Local Port Unless your network administrator has given you other instructions the factory default Port 49153 can be used ServerPort Here you must enter the Local Port set for the slave Here again you can use the factory default 49153 if your network administrator has not specified otherwise i Local Port and Slave Port do not necessarily have to be the same as set at the factory A reason for changing the factory default values for Local Port and Slave Port might be for example a firewall that only allows certain port accesses Subject to errors and modifications 71 W amp T Box to Box Server HTTP Port Specifies the HTTP port on which the control connection to the Salve should be opened Unless otherwise specified always use Port 80 Server IP Addr Enter here the IP address of the Web IO that you want to serve as a slave Se
13. C8 WEB IO 8 1 0x0108 unsigned int reserved 2 JBOX VERSION 286 W amp T Network inventory via UDP typedef struct BOX DESCRIPT 22 byte unsigned char mac addr 6 MAC address of the Com Server unsigned long IP number IP address of Com Server unsigned long gateway Gateway unsigned long subnet mask Subnet Mask unsigned int MIU MIU unsigned int port anz Number of ports in the Com Server BOX DESCRIPT port anz 10 byte typedef struct PORT DESCRIPT 10 bytes union unsigned int wState struct new type unsigned char port type 0x01 serial port Serial CPU Port 0x02 serial port UART Port 0x03 reserved 0x04 Digital I O 0x05 Analog I O in development 0x06 W amp T Dual Port RAM unsigned char state O0 free 1 connect 2 waits 3 Fr unsigned int mode 0x0001 TCP Client 0x0002 TELNET Client 0x0003 FTP Client 0x0004 Box2Box Client aktiv 0x0005 UDP Send ReceiveMode 0x0006 MULTI PORT DPRAM SERIAL PROTOCOL 0x0007 SNMP Agent 0x0008 Box2Box Server passive 0x0010 SLIP Router 0x0020 PPP Router in development 0x0030 Box2Box Bus System Slave Box 0x0040 Box2Box Bus System Master Box unsigned long remote IP if state CONNECT otherwise 0 unsigned int remote port if state CONNECT otherwise 0 PORT DESCRIPT typedef struct WT INTERN3
14. Month Select the month in which the change to summer time takes place Mode If summer time does not begin on the last Sunday of the selected month you can select a different mode here Weekday If the time change does not take place for example from Saturday to Sunday you can select a different day of the week Time Time at which the change takes place Send the settings to the Web IO by clicking on the Temporary Storage button 6 1 4 End of summer time m Required access rights Administrator To select when summer time ends select Config Device Time Date TimeZone Summertime Stop 238 W amp T Time Date Home Month Summertime end in gt E October gt E 5 Config Mode on Session Control fiast 7 io Device a E Weekday Sunday gt 6 3 TimelDate Time at 6 3 TimeZone J Summertime L Start in Stop Temporary Storage Undo Logout L ri rver A Device Clock Month Select the month in which summer time ends Mode If summer time does not change on the last Sunday of the selected month you can select a different mode here Weekday If the time change does not take place for example from Saturday to Sunday you can select a different day of the week Time Time at which the change takes place Send the settings to the Web IO by clicking on the Temporary Storage button 6 1 5 Time Server Required access rights Administr
15. PW password amp Mask XXXX amp State ON OFF YYYY amp NA ON amp ON Output 7 1 OFF Output 7 0 XXXX Hex value between 0000 and OFFF corresponding to the bits to be set yyyy Hex Wert between 0000 und OFFF corresponding to the output bit map PW password amp State ON OFF XXXX amp ON Output 7 1 OFF Output 0 Hex value between 0000 and OFFF corresponding to the output bit pattern PW password amp PW password amp Description Input status request x can be a value between 0 11 and indicates the input The reply from the Web IO is a string beginning with inputx followed by the input status ON Signal on input and OFF no signal on input If x is completely omitted the Web IO returns a bit pattern corresponding to the input signals in hex format Counter value request x can be a value between 0 11 and indicates the input The reply from the Web IO is a string beginning With counterx The counter state of the selected counter is attached in decimal format Setting one or more outputs x can be a value between 0 11 and indicates the output to be set The reply from the Web IO is a string beginning with output followed by a bit map corresponding to the output signals in hexadecimal format Specifying the mask is optional If mask is not sent the outputaccess command applies to all outputs NA ON is an option for causing the Web IO to send no reply to the
16. Subnet mask Gateway address DNS server Lease time A To prevent unintended address assignments or changes we recommend deactivating the DHCP BOOTP and RARP protocols if they are not expressly used in the respective 272 W amp T Assigning the IP addresse network environment Web lOss with incorrectly assigned IP addresses can be easily found after the fact using the scan function of the WuTility management tool and reconfigured Activating Deactivating DHCP The factory default setting is for DHCP protocol active To deactivate it or to enable it again later use one of the following options Management Tool WuTility Select the desired Web IO in the device list and click on the IP Address button In the first dialog box enter the newly assigned network parameters and then click on Continue In the following dialog BOX deactivate the options BOOTP and DHCP Clicking on Continue then sends the new configuration data to the Web IO Serial port As part of serial IP assignment the following options for deactivating activating DHCP and BOOTP can be selected directly following the address string 0 gt Deactivates DHCP and BOOTP 1 Activates BOOTP RARP 2 Activates DHCP A detailed description of the procedure can be found in the section on Serial assignment of IP subnet mask and gateway Web Based Management In the menu branchConfig Device Basic Settings Network gt DHCP BOOTP En
17. UDP command strings The syntax for the time setting is derived from the Cron format used in Linux Unix Multiple entries separated by commas can be entered in one field The stands for any permissible whole number value Example in the Month field stands for every month can be used to use time spans as triggers Example 1 5 in the Weekday field means Mo Fr If a is placed after the actual value or value range a cycle value can be indicated behind it Example 0 23 2 in the Hour field means an alarm every two hours even if the conditions in the other fields are met Wildcards are not allowed together with 2 would not bring a reliable result The fields filled in as above therefore mean every month on every Monday through Friday every two hours on the hour Send the selected settings to the Web IO by clicking on the Intermediate store button Once all your settings have been made activate them using Config Session Control LogOut Save new configuration E Smart Le Config eg T Exit without saving wo aout L New Password After clicking on the Save button the Web IO will now run as a TCP client Communication between Web IO and application 1 Opening the TCP connection The TCP connection is opened by the Web IO according to the configured trigger conditions 194 W amp T TCP UDP command strings After the connection has been successfully
18. Outputmode can also be used to activate continuous turnoff of the outputs To do this activate Load Control enable In case of overload the affected output is completely turned off an must be enabled again by the user See also Section 6 6 Diagnostics and Testing To automatically process overload errors from the application program it is possible to define a corresponding alarm which sends an error message to the program when a TCP connection is open Select Config Device Alarm Alarm1 Activate Load Control under System Trigger System Trigger Load Control I Interval Timer Cold Start Warm Start Enter E as an interval one time Interval Interval to send in minutes E one time default 0 or emptyz Off E Under Enable check 204 W amp T TCP UDP command strings Enable Mail enable SNMP Trap enable UDP Client enable IV Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Embers Storage Undo Logout and click on Intermediate Storage Once all entries pertaining to the alarm have been made activate the new settings under Config gt gt Session Control gt gt LogOut Save Now if an overload condition arises the Web IO sends the following to the application over the open TCP connection where is the hex value for the output which was turned off Example error 00
19. Subject to errors and modifications 207 W amp T TCP UDP Binary Both levels work with the same binary structures and differ only in the lack of password protection in 50xxx mode The Web O as socket server To operate the Web IO as a socket server you must make a few additional settings Select in the navigation tree Config Device Basic Settings gt gt Binary 1 gt gt TCP Server Required access rights Administrator ce Local Port Port No 1 65534 Smart 49153 9 65 Config Client HTTP Port Control port in order to establishing amp 7 Session Control and clearing connections B Br ret 7j TimeiDate 6 C3 Basic Settings Input Trigger Input 0 PL Language M Input 1 0 Network alu Application Mode socket device gt ahi E Compatible 50xxx 1 SNMP C Box2Box Slave iC UDP OPC Device Syslog ModBus L FTP 6 3 Binary 1 Temporary Storage Undo Logout EB Undo _togout i a UDP Peer Local Port The local port of the Web IO is factory set for 49153 If your application requires a different local port for the Web lO enter the desired port number in the Local Port field Client HTTP Port Has meaning only in OPC and Box2Box modes and specifies the HTTP port on which the control connection to the OPC server or slave box should be opened Unless otherwised specified always use Port 80 here 208 W amp T TCP UDP Binary I
20. W amp T Alarms Required access rights Administrator Home IP Addr Name or IP address of UDP server D E 10402201 amp Config Port 8500 UDP Text Kt Pump i0 Device Text amp 7j Time Date 6 amp 7j Basic Settings Output Mode Alarm Alarm Clear Text 2 5 Pump lt 10 gt 9 12 Alarm 1 Temas Storage Undo Logout Mail SNMP ijj UDP TCP IP Addr Here you enter the IP address of the network station you want to receive the alarm message Alternately you can enter a broadcast IP address to make the alarm messages accessible to all the participants in the network segment IP Adresse 172 16 232 255 for example would allow all network participants in segment 172 16 232 0 to receive the alarm Port In this field you enter the local UDP port on which the application program should receive the UDP alarm messages UDP Text Just as with the mail and SNMP function you can enter here a text which is sent to the UDP application To incorporate the state of inputs and outputs or counter states into the text you can also use the e mail tags Send the settings to the Web IO by clicking on the Temporary Storage button Switching outputs for a different Web IO using UDP Sending of UDP datagrams can also be used for sending commands to switch outputs on another Web IO To do this the address of the other Web IO must be entered as the IP Addr and local port of the othe
21. But this is a general problem of network security and every customer needs to find his own solutions 7 4 4 Ports with special function In addition to access over the Web interface a variety of functions can be activated through various TCP or UDP ports These are shown in Table 1 Excel table A series of functions can be turned on and off but only with Admin rights The basic recommendation is to turn off all the functions you are not using More on this subject can be found in the Manual SNMP To be able to incorporate the Web IO into an SNMP based systems management all the essential configuration settings can also be modified via SNMP Access is protected by using the Admin password in SNMP as a community string SNMP access can be turned off Ports for inventorizing using the WuTility tool Like all the intelligent components from W amp T the Web IO can be accessed using the WuTility tool The tool can use ports 8512 and 8513 to read information such as hard and firmware version IP address etc This access cannot be turned off but write access to the device is not possible with the tool Firmware Update The TFTP TCP port 69 protocol makes it possible to get a firmware update and overwrite all the configuration settings 282 W amp T Ports and security Only however if update mode was previously enabled There are several ways to do this B One time activation using a special http string in
22. Here again you can create the switching times using an online calendar The procedure is identical to that described previously Note however that the iCal file must first be downloaded to a PC connected to the Internet In the case of the Google calendar you only need to click on the link for the iCal file Private Address Please use the following address to access your calendar trom other applications You can copy and paste this into amy calendar product that supporta the iCal format bttp Aww google com calendar ic al 2899585982594 b 6409roop calendar google com erate 8o4 313697 108005391 tc T7953 ics 9 The downloaded iCal file can then be transferred to a PC connected to the Web IO using a memory stick Of course the iCal file can also be created using any calendar program having an iCal export function Subject to errors and modifications 87 W amp T Time Switch A recommended freeware program is Mozilla s Sunbird Free download at http www mozilla org projects calendar sunbird The installation for Sunbird is self explanatory ER gem dm em tm Im mm Onn To 91 xz AM Me gem After starting up for the first time select File gt gt New calendar Comte cmm teen i fma camus cam tamt on compedes i Hoe p iens LLLA sse Ee ORA Campum eo ma om Save the calendar on the local PC 88 W
23. Tempers ume Log Link iCal Use Ctrl V to paste the link that was copied to the clipboard Subject to errors and modifications 85 W amp T Time Switch Refresh Here you determine the cycle at which the Web IO downloads the calendar data from the online calendar Checking No means no automatic refreshing takes place and the file must be down loaded manually To do this go to the navigation tree for the Web IO and select Config gt gt Up Download gt gt Upload and then click on Time Switch File Upload Output O Time Upload Time Switch File Upload Output 1 Time Switch Output 0 Upload Online Calendar Link iCal 1 google comcalendariical your_calendar Fapilwww google comicalendavicalBqpBeveqtep gt Auto Reload 15 min iCal File Manual Uplaod a tkowda Time Switch Fite Upload Output Und 86 W amp T Time Switch Click on Upload iCal Datei Output O Use the same procedure for Output 1 Now you must activate the new settings Use the Logout button or Config Session Control LogOut Home User Contig gt gt Session Control gt gt LogOut S Config S J Session Control Save new configuration Logout Protins _ Mew Password 5 3 4 Load switching times as a iCal file If the Web IO does not have access to the Internet you can instead load the switching times into theunit from the hard dri ve of a local PC in the form of an iCal file
24. Timeout outputs switch to the configured safety states Power Max 150mA Internal 24V enable eu Tk Storage Undo Logout Here you activate the outputs to be controlled by the OPC server and confirm by clicking on the Apply button Now you must activate the new settings Use the Logout button or select Config gt gt Session Control gt gt LogOut Save new configuration ey Exit without saving Abort After clicking on Apply all the settings are updated in the Web and the Start page is reconstructed in Default User Mode The Web IO can now be accessed by the OPC server 108 W amp T OPC 5 4 3 Modbus TCP standardized access Modbus TCP is a software interface for address based access to process data The W amp T Web lOs when appropriately configured act as Modbus servers which can be controlled by Modbus controllers clients or masters Using Modbus TCP access you can read the status of outputs inputs and counters Status and system polling is also possible In addition the outputs can be switched via Modbus TCP and the counters cleared The Web IO provides 64 16 bit registers which can be freely written and which can be accessed from the browser Alarms can also be triggered by writing certain registers which in turn results for example in the sending of e mails or SNMP traps Configuration for Modbus TCP access In the navigation tree of the slave Web IO select Config gt gt De
25. Virtual registers for browse interaction The memory area which the device provides for sending to Web applications beginning at address 0x7000 Reading non supported registers When reading data memory areas which were not defined for the device the unit returns 0 Modbus virtual registers The Web IO provides 64 virtual 16 bit registers to which the Modbus master can write any desired values High Byte first Writing to these registers triggers no special actions in the Web IO The virtual memory is used rather for sending Modbus process data to Web applications Using an HTTP Request modbusreg PW lt password gt amp the 64 registers 128 bytes can be called by Web applications The Web lO replies with modbus lt HighBytel gt lt LowBytel gt lt HighByte2 gt lt LowByte2 gt lt HighByte3 gt In other words all 64 registers 128 bytes are output byte for byte separated by semicolons behind the word modbus Using JavaScript and programming techniques such as AJAX you can thereby implement process visualization in the browser In the simplest case the virtual registers can be displayed on the factory side User page of the Web IO only if Modbus mode has been enabled in the Web IO Subject to errors and modifications 127 W amp T Modbus TCP Web IO User Site WEBIO 05372A Von der Klemme direkt aufs Netzwerk Show c amp 16Bit 32Bit Modbus alarm triggering U
26. WEBIO2x2Digital BAFF26 Von der Klemme direkt aufs Netzwerk Password Login Inputs State Counter Clear Outputs State Switch InputO ON 120 OutputO ON Tesi Input1 OFF 113 Output 1 OFF Tesgie The functions shown below are based on two basic techniques identification and later changing of an HTML object using unique ID B Communication with the server Web IO after loading the Web page using HTTP requests Subject to errors and modifications 167 W amp T Own web applications The JavaScript which is part of the Web page uses both these techniques First maxi and maxo are used to determine how many inputs and outputs are to be supported A variable applicationsstep is defined for the various program steps 500ms is specified as the request interval and a variable is entered for the password var maxi 2 var maxo 2 var applicationstep 0 var interval 500 variopassword Die Funktion Hextolnt erlaubt die Umrechnung von hexa dezimalen Zahlen in Ganzzahlenwerte wird ben tigt wenn mit mehr als 2 lOs gearbeitet wird da die Zustands bergabe dann hexadezimal erfolgt function HexToInt HexStr var TempVal var HexVal 0 for var i 0 i lt HexStr length i if HexStr charCodeAt i gt 57 TempVal HexStr charCodeAt i 55 else TempVal HexStr charCodeAt i 48 HexVal HexVal TempVal Math pow 16 HexStr length i 1 return HexVal Th
27. font family arial table font size 14px borderLeft border left 1px solid 000000 button font size 9px width 40px ce text align center description font size 18px text align center Subject to errors and modifications 165 W amp T Own web applications info font size 10px text align center italic font style italic name font size 20px font weight bold text align center SideSpace padding left 5px padding right 5px table background color d6e8ff border collapse collapse border 1px solid 000000 whiteBack background color ffffff lt style gt lt script language JavaScript type text javascript gt this is actually the JavaScript section of the page which is described in greater detail below lt script gt lt head gt lt body onload CommandLoop gt lt div class name gt lt w amp t_tags device_name gt lt div gt lt div class description gt lt w amp t_tags device_text gt lt div gt lt br gt lt form gt lt div align center gt lt span id pt gt Password lt span gt lt input id pw type password name tfPassword maxlength 31 size 20 gt input id lb type button value Login onclick setPassword gt lt div gt lt form gt lt table align center class table gt lt tr class italic whiteBack gt lt td class sideSpace gt Inputs lt td gt lt td class sideSpace gt State lt td gt lt td clas
28. iopassword document getElementById pw value document getElementById pw value AJAX which is based on HTTP requests only be used if the Web page is loaded from the Web IO which will be receiving the requests The HTTP requests shown here can just as easily be used for other Web technologies such as PHP Using the Web IO s own Java applets Instead of AJAX the IO states of the Web IO can also be dynamically displayed using Java applets which are loaded from a third party server The applets are incorporated using the applet tag whereby the standard parameters archive and code are used as follows archive dio jar code dio class The other parameters are set individually according to the application name dio0 The designator dio was chosen here randomly and can be replaced with any other The only important thing is that when opening the applet function using JavaScript the same name is used codebase http IP Adresse If the Web page from which the applet is loaded is loaded directly from the Web IO as user htm or home htm you do not need the parameter codebase width 0 Angabe in Pixel height 0 Angabe in Pixel 172 W amp T Own web applications Since the applet does not contain any visual components width and height must always be 0 mayscript This option allows the Java applet to use JavaScript code in the HTML document In addition there are several ot
29. rechargeable lithium button cell type BR Lithium Poly Carbon Monofluoride for maintaining the clock time even when the device is turned off and this battery must be disposed of separately when it is depleted Take it to an official battery recycling site To remove the battery first disconnect the unit from all cables and sensors Loosen the four clamps on the housing side and open the housing Remove both the screws used to attach the two lower circuit boards and remove the bottom most board On the back side of the center board you will find the button cell Remove it from its holder and take it to the recycling site Seitenansicht Knopfzelle 44m 294
30. stands for any whole number value Example In the Minute field there is an alarm every minute even if the conditions in the other fields are met Appending a to the actual value or value range allows you to specify a cycle value behind it Example 0 59 5 in the Minu te field means there is an alarm every five minutes even if the conditions in the other fields are met If you want to work with cyclical alarms no wildcards are allowed in front of the Using allows you to use time spans as triggers Example 8 17 in the Hour field means every hour between 8 00 a m and 5 00 p m 136 W amp T Alarms The above fields then mean an alarm is triggered every month on every Monday through Friday between 8 00 a m and 5 00 p m every five minutes It makes no sense to enter anything other than E in the Inter val input field if you are not using Time Trigger For timer controlled alarms the alarm is sent the form of the Alarm Clear message Alarm at cold start Activating cold start causes the Web IO to trigger an alarm after a Hardware or Power ON Reset System Trigger Load Control Interval Timer Cold Start Warm Start A For cost start controlled alarms the alarm is sent in the form of the Alarm Clear message Alarm at warm start Activating warm start causes the Web IO to send an alarm after a software reset e g Connect to TCP Port 8888 System Trigger Load
31. 12 Byte of structure Byte of structure 32 Bit Value 31 30 25 28 27 26 25 24 23 2 21 2o o ep ve pris nap rS pop 10 9 8 7 6 5 4 3 2 1 0 18 Byte of structure 17 Byte of structure 16 Byte of structure X us Byte of structure 32 Bit Value i 31 30 29 28 27 26 25 24 2322 21 oro ep ve pis pna S 2 f8 6 5 2 3 2 3 fol XX Byte of structure XX Byte of structure Byte of structure XI xx Byte of structure 32 Bit Value The IO structure ClearCounter UDP Binary Start_1 Pm 0 Start 2 aed 0 StructType oe type StructLength oe in Bytes CounterNoOf Word CounterValue1 CounterValue2 CounterValuen number of counters Longword counter value 1 Longword counter value 2 Longword counter value n The user program sends this structure to the Web IO to reset the counter state of a certain input counter to 0 Which input is intended is sent in the variable counter index The ClearCounter structure BET TS i OW te Wi d ps 00 00 Start_1 always 0 16 Bit Value Word OO yie or structure 00 Start_2 always 0 16 Bit Value Word StructType structure type oo 202 StructLength 16 Bit Value Counterlndex Ward 9 Byte of structure 76 Bit Value 10 Structure ReadDiagnosis length in Bytes counter index If the Web IO determines that there is a communications or system error the latter i
32. 16 Bit Value Word 16 Bit always 0 Word 16 Bit Start 2 always 0 Word 16 Bit structure type On StructLength BAGS StructType The IO structure RegisterState The Web IO 12xDigital sends the contents of the inputs and outputs with this structure This structure is only sent if the user program has sent the structure Register Request to the Web lO The RegisterState structure ts Tells TET TS igh Byte ow Byte Word 16 Bit emus 00 Start 1 16 Bit Value Start _2 AS 16 Bit Value 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 igh Byte ow Byte Word 16 Bit hired ters 00 5 31 StructType oe 16 Bit Value 8 7 6 5 1 2 7 ET Word 16 Bit 00 0 StructLength mh Ens 16 Bit Value T igh Byte ow Byte i Word 16 Bit 10 eS 00 9 02 DriverlD 2 16 Bit Value 1 Word 16 Bit InputValue binary input state 16 Bit Value pakabino 6 5 3 3 211 o High Bj Low Bj 44 OX 18 sed OutputValue 16 Bit Value Word 16 Bit binary output state The IO structure Send Mode This structure is used to specify the trigger conditions the Web 12xDigital uses to send the status of the inputs to the us
33. 514 System Messages Cold Start Warm Start Diag Messages Enable M System Messages enable Tempo n Storage Undo Logout Syslog is enabled by checking System Messages enable and clicking on Temporary Storage W amp T Alarms 5 5 8 Sending alarms via FTP Server To write a message via FTP to a log file on an FTP server when an alarm condition occurs highlight FTP Client enable in the Enable area under Config gt gt Device gt gt Alarm gt gt Alarm Required access rights Administrator Enable Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Storage Undo Logout Send the settings to the Web IO by clicking on the Intermediate store button Under Config gt gt Device gt gt Alarm gt gt Alarmi gt gt FTP you can then enter the FTP specific configurations Local Data Port AUTO assign next free port number AUTO File Name FTP Alarm Text lt t gt Pumpe i0 2 Alarm Clear Text lt gt Pumpe lt 10 gt 2 A Options C STORE APPEND E Storage Undo Logout FTP Local Data Port Here you specify the local port for the connection on which the alarm messages are sent by the Web IO to the FTP server Subject to errors and modifications 153 W amp T Alarms If you specify AUTO the Web IO uses the next avai
34. Links and backlinks Some applications may make it necessary to link from the User or Home page of the Web IO to a Web page which exists on a different HTTP server If then the backlink causes navigation back to a Web IO page this is done using standard user access rights even if there was previously an administrator or operator login To enable a backlink with the higher access rights we provide the lt w amp t_tags session gt tag This tag is a placeholder for the session ID The corresponding link would then have to be inserted into the page as follows ahref http wut hs2 webioback htm w amp t tags session target top Testlink a 162 W amp T Own web applications When the link is opened the Web IO replaces the sessions tag with the session ID and sends this to the newly opened Web page To use the session ID for a backlink a small JavaScript must be inserted into the external page which receives the session ID when the page is opened and uses it in the backlink lt html gt lt head gt lt script language JavaScript gt session window location search function setbacklink var backlinkurl http 172 16 232 17 index htm var backlink backlinkurl concat session window location href backlink lt script gt Im Body Bereich der Seite kann dann die Funktion setbacklink als Hyperlink eingesetzt werden lt head gt lt body gt Es wird nun mit der tibergebenen Session eine T
35. Password and enter the desired passwords in the fields A password is limited to 31 characters 46 W amp T Configuring the network parameters Home Admin Password eee eee B Smart Retype Admin Password Z Config Session Control Logout Operator Password eeees p Profiles Retype Operator Password New Password amp 7 Ports Tempora Storage Undo L Manufacturer amp 7j Up Download It is not permitted to use the same password for both Admin and operator access Clilcking on the Temporary Storage button sends the new passwords to the Web IO You still have to activate the changes Tip Keep a copy of the passwords in your personal documents If you have forgotten the passwords see the Appendix of this manual for help 4 1 6 Saving and activating settings To increase you understanding of the sequences in Web Based Management first a few basic remarks concerning HTTP protocol With HTTP the browser opens a TCP connection to the HTTP server requests Web pages and contents from the server or sends data to the server The server then immediately closes the connection Entries made by the user on a Web page are first temporarily stored by the browser and only sent to the server after clicking on the Submit or Temporary Storage button through a new TCP connection If for example the browser is closed before the Temporary Sto rage button is clicked
36. This option can be used to send error and diagnostic messages as an SNMP trap to the SNMP management system As long as the internal memory of the Web IO is not deleted an error is sent as a trap only when it first occurs Which errors are currently present can be seen by opening the Diag page in the browser See http lt IP address of the Web lO diag 94 W amp T SNMP Enable At this point SNMP Enable must be activated in order to work with the Web IO on SNMP level Confirm your entries by clicking on the Temporary Storage button If you have no more configuration changes to make you still must activate the new settings Use the Logout button or select Config Session Control LogOut Save new configuration Exit without saving Abort After clicking on the Save button all settings in the Web IO are updated and the start page is restructured in Default User mode Activating the outputs for SNMP Required access rights Administrator Select in the navigation tree of the Web IO Config gt gt Device gt gt Output Mode Noone Output Mask me User Name UDPASCI SNMP Binary Binary2 Logic Switch f M d Qutputa gt r Cy Session Contro Output c c 9 c c r C3 Seiect c amp c e Text i e 1 Safety After expiration of this interval tme in 100ms without data Cj fask Settings Timeout Outp
37. W amp T Own web applications state 000000 006600 document getElementById output i style fontWeight state normal bold Display Counter if ReceiveData length maxi 1 gt 0 if ReceiveData ReceiveData length maxi 1 substring 0 1 c for var 0 i lt maxi i document getElementById counter innerHTML ReceiveData ReceiveData length maxi i Display cleared Counter if ReceiveData ReceiveData length 2 substring 0 1 c document getElementById counter ReceiveData ReceiveData length 2 substring 7 ReceiveData ReceiveData length 2 length innerHTML ReceiveData ReceiveData length 1 3 The setOutput function sends the corresponding command for toggling the selected output to the DataRequest function function setOutput iNr var commandstring outputaccess iNr PW iopassword amp State TOGGLES DataRequest commandstring The clearCounter function sends the corresponding command for clearing the counter state of the selected counter to the DataRequest function function clearCounter iNr DataRequest counterclear iNr PW iopassword amp setPassword takes the entered password and writes it to the iopassword variable which is a component of the command string Subject to errors and modifications 171 W amp T Own web applications function setPassword
38. When the web site is first opened this contains the current status of the inputs and outputs of the Web IO 4 1 2 Navigation The navigation frame contains a directory tree in which all the available menu items of the Web IO are listed by categories Clicking with the mouse either displays additional menu items for a category and or a new content is built in the configuration frame AX Avoid using the Forward and buttons of your browser Use only the navigation tree or buttons and links in the configuration frame to navigate Otherwise you could lose parameters buffered in the background when you jump forward or back 4 1 3 Easier navigation with profiles The Web IO 12xDigital offers a variety of operating mode and configuration possibilities And to get even the first time user 44 W amp T Configuring the network parameters of the Web IO off to a good start we have created profiles for the most common applications After successfully loggin in as an Administrator the next section will cover the possible access privileges the user is given a choice between configuration using profiles and expert mode which does not provide any configuration assistance Working with profiles simplifies configuration by color highlighting the configuration points which are actually needed for the corresponding mode Both the menu entries in the navigation tree and the respective parameters on the configuration pages are hi
39. button activates the settings n All the configuration possibilities shown for Binary 1 can also be used for Binary 2 The Web lO as socket client To operate the Web IO as a socket client you must make a few additional settings Select in the navigation tree Config Device Basic Settings gt gt Binary 1 gt gt Client Required access rights Administrator 210 Local Port Server Port Server IP Addr Ln HTTP Client O Mail 1 SNMP L UDP Input Trigger Interval 1 TCP Server TCP Client UDP Peer Local Port Server HTTP Port Server Password Inactive Timeout Application Mode TCP UDP Binary Static Port No 1 65534 Dynamic Ports AUTO AUTO 491 53 Control port in order to establishing 1040221 Admin password of the 2 Slave Time in 100ms no function in B2B Mode Iv Input 0 M Input 1 Time in 100ms C Socket device Compatible 50xxx Box2Box Master TEUER Storage Undo Logout The local port of the Web IO is factory set for 49153 If your application requires a different local port for the Web IO enter the desired port number in the Local Port field Server Port Enter here the port number which the server application will use to accept the connection Server HTTP Port Has meaning only in OPC and Box2Box modes and specifies the HTTP port on which the control connection to the OPC server
40. the entries are irretrievably lost This can Subject to errors and modifications 47 W amp T Configuring the network parameters also happen if the Web site is changed without sending the entries Nearly all the Web sites that can be opened from the navigation tree offer the possibility of making or changiong entries Once you are finished with the entries on such a configuration page you must first click on the Temporary Storage button and only then change to a new Web site Once all the entries and configuration changes have been made the new settings must still be activated Use the Logout button located on each configuration page or use the menu path Config Session Control LogOut Save new configuration Be p Smart Le 5 Config Exit without saving a Abt New Password After clicking on the Save button all the settings are updated in the Web IO and the start page is refreshed in Default User mode To make additional setting changes you must log in again with the necessary access rights Login Timeout If no entry is made in Adminstrator or Operatotmode for more than 60 minutes the Web IO resets itself to Default User rights All entries and changes made to this point even if they were already sent to the Web IO are lost 48 W amp T Configuring the network parameters 4 2 Basic setting of the network parameters Whenever a Web IO will be used beyond the borders of the local n
41. the header precedes all data sent by the Web lO Program controlled error management If the Web IO detects or more errors while processing its tasks these are saved and are viewable from the navigation tree under Diag A more detailed description of this can be found in Section 6 6 Diagnostics and Testing In some applications it may be desired that error management is handled not manually by viewing a Web page but rather errors are automatically evaluated in a program For such cases the Web IO provides several command strings for using TCP or UDP Creating a list pf possible error messages The Web IO can manage a maximum of 64 different error types The actual number may vary within this limit depending on the firmware version To get an overview of the possible errors the command GET diaglistx PW password amp can be sent to the Web IO xis replaced by a value between 0 and 64 INstead of password enter the Administrator or Operator password The Web IO replies with the corresponding error message diaglistx errortext 200 W amp T TCP UDP command strings Example If the application sends Passwort wut to the Web lO GET diaglist2 PW wut amp the Web IO responds with diaglist2 FormatfehlerinderDNSAnfrage With a for next loop the diaglist command can be used to read out all possible error messages and save them as a static list In binary mode for example you can only determine how m
42. upp i Syslog In this case value can be set to off Now when the inputs are refreshed there is only a data load if an input has changed To activate the changes in the input trigger the new settings must be saved under Session Control gt gt Logout outputpolling By using this parameter when the applet is started a determination is made whether the outputs should be checked for their status at the interval set under pollingrate As the value for outputpolling you can set on of off counterpolling By using this parameter when the applet is started a determination is made whether the counters should be checked for their status at the interval set under pollingrate As the value for counterputpolling you can set on of off pollingrate This parameter specifies using value at what interval in ms inputs outputs or counters should be refreshed Here an example lt applet name dio0 archive dio jar code dio class 174 W amp T Own web applications codebase http 172 16 232 11 width 0 height 0 mayscript gt lt param name device value 0 gt param name showerrors value off gt param name inputpolling value on param name outputpolling value on param name counterpolling value on gt param name pollingrate value 2000 gt lt applet gt A Parameters and values are all case sensitive Using the applet with JavaScript In order to work with the applet corresponding Ja
43. user amp Config Save new configuration T Session Control Seve ij Logout f 1 Profiles 234 W amp T 6 General Functions B Time Date B Poll watchdog access monitoring Port configuration B Changing the device specific displays B Upload Download B Diagnostics and testing Irrtum und Anderung vorbehalten 235 W amp T Time Date 6 1 Time Date Setting The Web IO Digital has an internal clock with date functions 6 1 1 Time zones Required access rights Administrator The Web IO usesUTC time universal time coordinated internally which is used as a general time base all over the World The local time deviates from UTC depending on the time zone you are in The time in Germany is UTC 1h in winter the time in the United States is UTC 5h etc If the Web IO will be used in another time zone the offset can be adjusted accordingly To do this go to Config Device Time Date TimeZone Home UTCoffset Offset to Universal Time UTC User do Smart A 8 5 Config Session Control Enable Iv Apply Time Zone Text Temporary Storage Undo 2 3 Time Date Le G4 TimeZone Summertime UTCoffset Enter here the difference between local and UTC time in the format hh mm A sign can also be used in the entry field or s Enable To activate check Apply Timezone to use the entered offset value Send the settings to the Web IO by clicki
44. vice Basic Settings Binary 1 Home Config gt gt Device gt gt Basic Settings gt gt Binary 1 FL User Smart E Operation Mode application Operation Mode Session Control Box2Box Master TCP Client O C3 Device Box2BoxSlave TCP Server BEP text OPC Device Server n 3 ModBus Slave TCP Server 0 Socket Device Depends on application 50xxx compatible Depends on application i 5 TCP Server iC HTTP C TCP Client C HTTP Client C UDP Peer Mail LEE Enable Q upp nable Enable BINARY 1 L Syslog D FTP Storage Unda Logout Binary 1 TCP Server _ TCP Client UDP Peer For Operation Mode set TCP Server and check Enable Binary Subject to errors and modifications 109 W amp T Modbus TCP Then click on the Apply button to send the changes to the Web lO Now select in the navigation tree Config Device Basic Settings Binary 1 TCP Server Home Config gt gt Device gt gt Basic Settings gt gt Binary 1 gt gt TCP Server i L User L Smart gt g Config i Session Control Local Port Port 1 65534 o Client HTTP Port so Input Trigger T Input 0 Input 1 Application Mode Socket device C Compatible 50xxx C Box2Box Slave C OPC Device ModBus Pre Server i UDP Peer 1 Binary 2 Output Mode j Alarm Local Port For us
45. 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 Inputs 0 11 Outputs 0 11 Alarm state 1 12 Counter 0 Counter 1 Counter 2 Counter 3 Counter 4 Counter 5 Counter 6 Counter 7 Counter 8 Counter 9 Counter 10 Counter 11 Diagnosis Error count Diagnostic state 0 31 Diagnostic state 32 63 Diagnostic state 64 95 virtuel Register 0 virtuel Register 1 virtuel Register 2 virtuel Register 3 virtuel Register 4 virtuel Register 5 virtuel Register 6 virtuel Register 7 virtuel Register 8 virtuel Register 9 23 virtuel Register 23 virtuel Register 24 virtuel Register 25 virtuel Register 26 virtuel Register 27 virtuel Register 28 virtuel Register 29 virtuel Register 30 virtuel Register 31 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 PHRHHAHHHRHPHPHKHHAHHPHRPHPHPHHRHHPHRHRHHHRHRHHRHRHRHHHAHHHH Please note that depending which Web IO model are you using the entire width of the inputs outputs counters or alarms may not be available Subject to errors and modifications 131 W amp T Modbus TCP 5 5 Email more Alarms In the Web IO you can specify up to 12 different alarm conditions Alarm messages can be issued depending on the status of the inputs and
46. 1 OFF C ON ANY System Trigger Interval Timer Cold Start warm Start Max Counter Value Interval Interval to send in minutes E one time Time Trigger Output of the alarrn triggered by timer Field Input Number Minute ach Hour Day_ofmonth Month Weekday Enable Mail enable SNMP Trap enable UDP Client enable Iv Send special alarm to pending TCP cc TCP Client enable Syslog Messages enable FTP Client enable nee Storage Undo Logout Input Trigger Here you specify which inputs are to be monitored for which state If you are activating multiple inputs in an alarm for monitoring there is an AND operation on the conditions Example In Alarm 1 Input 1 was activated for ON Input 2 for OFF An alarm is only sent to the TCP application if both conditions are met In this case Input 1 ON Input 2 OFF Subject to errors and modifications 189 W amp T TCP UDP command strings Interval To send alarms over an existing TCP connection it is practical to set the E parameter here so that only one alarm message is sent when the alarm condition occurs Enable Activate the Send input to pending TCP connections in the En able area Pass the selected alarm conditions to the Web IO by clicking on the Temporary storage button When all the alarm conditions have been specified activate the new settings using Config Session
47. 1000 sec E L Smart Config 5000 Session Control i e Device Puls Polarity Polarity of the start puls Ports negative positive S E Outputs G3 Output 0 a CRM a Storage Undo Logout L Time Switch ip Puls e CJ 1 Duration Enter here the desired pulse length in ms A value of 1000 corresponds to a 1 second long pulse Normally an output can not be switched back to the rest state by the user during the pulse If that is desired a capital R can be inserted behind the pulse length e g 2000R Pulse Polarity positive 254 W amp T Port configuration Puls Start Puls Duration ON OFF 0 50 100 150 200 250 300 ts In the base state the output is not switched OV If the output is now set to ON via browser or from an application the Web IO switches the supply voltage Vdd to the output for the set pul se duration negative Puls Start Puls Duration ON OFF 0 50 100 150 200 250 300 Lie In the base state the output is switched to supply voltage Vdd If the output is now set to ON from an application the Web IO turns the output off OV for the set pusle duration If O is entered as a pulse length for Pulse Polarity negative the physical output signal is inverted For the Web IO with relay outputs a pause of 200ms must be maintained between two switching operations on an output A With negative polarity negative logic is used Sw
48. 11 Scheduling switching times in Google Calendar 11 1 1 4 Integration into existing systems 11 OPC 11 Modbus TCP 11 SNMP Simple Network Management Protocol 11 1 1 5 Access from your own applications 11 Communication via HTTP Requests 12 Communication via command string 12 Communication via binary structures 12 1 1 6 Email and more information when status changes 12 1 1 7 Acquiring switching states 13 Messages via the Web IO alarm system 13 Acquiring IO states in the W amp T Motherbox 13 1 1 8 Logic functions linking inputs and outputs 13 1 1 9 Basic port behavior Inputs 13 Outputs 14 1 1 10 General basic functions 14 2 Before starting up 15 2 1 Supply voltage and network connection 16 2 1 1 57637 and 57638 16 2 2 Assigning the IP address 18 2 21 Automatically obtaining the IP address via DHCP 18 2 2 2 Assigning the address using the Wutility Tool 18 3 Connections operating elements and LEDs 21 3 1 Connecting Web IO 2xDig In 2xDig Out PoE 22 3 1 1 Supply voltage input Vcc 22 Subject to errors and modifications W amp T Content 3 1 2 Input wiring 23 3 1 3 Output circuit 25 3 2 Connecting Web IO 12xDig In 12xDig Out 3 2 4 Supply voltage input 28 3 2 2 Input circuit 29 3 3 3 Output circuit 31 3 4 Connecting Web IO 12xDig In 6xDig Relais 33 3 4 1 Supply voltage input 33 3 4 2 Input circuit 33 3 4 3 Output circuit 35 3 6 Ethernet connection 37 3 7 Serial connection 39 3 8 LEDs for device status 40 4 Configuri
49. 4567 9 410 11 12 13 14 Create event Edit avagt details 16 17 12 19 20 21 22 ke 23 24 25 26 27 20 20 3 35 2 2 14 My calendars Um Tasks Bw ta 19 m gt Other calendars add canda Ceutache Feiertage For Calendar select the calendar for the corresponding event and then click on Edit Edit event details s Back 1o Calesdar ave casce More Actions What cond sen When 3 8 2010 00 101700 32000 Plat day Repeats Every weekday Range Starts 22 7 2010 Ends T Until Where Calendar Ovtpet 0 bd Description Enter all the event details and then click on Save It makes no difference which name you enter under What The Web IO Subject to errors and modifications 83 W amp T Time Switch switches the output on at the beginning of each found event and off at the end of the event Use this procedure to configure all the desired switching times Create event Quick add Today August 2010 August 2010 Mm Tue M T W T F S S epee sir condition 0800 air 26 27 28 79 30 1 23458678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 00 mr comdibon 0890 air condde 23 24 25 26 27 28 WH 12 3 4 My calendars 0800 ar condition 02 00 air conddo re 999090 condibon 08 00 0 Tasks a Adi sepas 9 Other calendars 68 00 air condition 68 00 air condt Finally under My calendars click on the Settings li
50. 6 Special features of the Web IO Time Switch It is possible to both configure the refresh cycle with an online calendar and upload an iCal file In practice this makes sense only of you need to switch temporarily at times other than what you have set for normal operation If a cycle has been configured for the onloine refresh the manually uploaded switching times apply only until the next cycled online refresh takes place Then the switching times from the online calendar are applied again Regardless of which way the Web IO has received its time switching defaults if in addition to Time Switch one of the basic operating mode types HTTP UDP ASCII SNMP Binary 1 Binary 2 is activated from Config Device Outputmode the current switching status can be changed at any time using the set access type The next timed switching action would however again determine the output status 92 W amp T SNMP 5 4 Integration into existing systems To make it easy to integrate the Web IO into existing systems it also Supports several common standard communication methods used in automation and network technology B SNMP B Modbus 5 4 1 SNMP In Outputs in management systems The Web IO Digital can be incorporated into existing network management systems Here the entire configuration as well as the controlling and monitoring of inputs counters and outputs can be handled with SNMP ul The Private MIB is available
51. Abort After clicking on Save all the settings are updated in the Web and the start page is reopened in Default User mode The master Web IO now connect to the slave Web lO A The Box to Box Master can only connect with the Slave if there is no Administrator or Operator login for the Slave Subject to errors and modifications 69 W amp T Box to Box 5 2 2 Configuring the master Required access rights Administrator Select in the navigation tree Config gt gt Device gt gt Basic Settings gt gt Binary Config gt gt Device gt gt Basic Settings gt gt Binary 1 Operation Mode Application Operation Mode Box2Box Master TCP Client Box2BoxSlave TCP Server OPC Device TCP Server ModBus Slave Server Socket Device Depends on application 50xxx compatible Depends on application C TCP Server TCP Client C UDP Peer Enable Iv Enable BINARY 1 Free memory 20713 Bytes TCP Server e Temporay Storage Undo Logout UDP Peer Set TCP Client as the Operation Mode Then click on the Temporary Storage button to send the changes to the Web IO Select in the navigation tree Config Device Basic Settings Binaryl TCP Client 70 W amp T Box to Box Local Port Static Port No 1 65534 Dynamic Ports AUTO AUTO Server Port In Box2Box Mode Server is the according Box2Box Slave 49153 Server HTTP Port Control port
52. All functions introduced here in brief are described in greater detail in the following sections W amp T Before starting up 2 Before starting up We recommend to read the complete Manual for the Digital Web lO before startup E Connecting the supply voltage E Connecting to the network Bl Assigning the IP address W amp T Before starting up 2 1 Supply voltage and network connection 2 1 1 57637 and 57638 Use a patch cable to connect the Web IO to an unused HUB or SWITCH port The Web IO has an autosensing 10 100BaseT network connection and automatically detects the network speed RR Connect a supply voltage between 12 V and 24 V AC or DC to the power terminal on the underside of the Web IO Compatible power supplies can be obtained as an accessory from W amp T See http www wut de Products amp Downloads Web IO Digital After approx 2 sec a beep will sound and the Status and Error LEDs should have turned off If the red Error LED flashes check the network connection 2 1 2 57630 57631 57634 and 57636 Use a patch cable to connect the Web IO to an unused HUB or SWITCH port The Web IO has an autosensing 10 100BaseT network connection and automatically detects the network speed W amp T Before starting up Connect a supply voltage of between 12 V and 24 V AC or DC to terminals 1 and 2 Compatible power supplies can be obtained as an accessory from W amp T See http www wut de Afte
53. Binary Select in the navigation tree Config Device Basic Settings gt gt Binary 1 gt gt UDP Peer Required access rights Administrator Local Port Port No 1 65534 45889 Remote Port Port No 1 65534 45889 Remote IP Addr address of UDP peer amp 7j TimelDate 1040221 tapete Settings Input Trigger IV Input 0 E Input 1 O Interval Time in 100ms HTTP Client E Application Mode C socket device Compatible 50 FL Syslog E j FTP ey Storage Undo Logout 4 Binary 1 i TCP Server TCP Client i n UDP Peer 9C 2 Local Port The local port of the Web IO is factory set for 45889 If your application requires a different local port for the Web lO enter the desired port number in the Local Port field Remote Port Enter here the port number the UDP application communicating with the Web IO will use to receive data Remote IP Addr Enter here the IP address of the communications partner Input Trigger Check here the inputs whose state change will be used as a trigger for sending a UDP datagram important for event triggered applications 214 W amp T TCP UDP Binary Interval If you want to send the state of the inputs cyclically to the communications partner the interval can be entered here in 100ms increments Example The value 300 corresponds to 30 seconds Please note that when using charg
54. Control LogOut Home Alle neuen Einstellungen speichern User che Smart X Config Session Control Alle neuen Einstellungen verwerfen ifj Logout Abt 1 Profiles L New Password Clicking on the Save button restarts the Web IO with the new parameters 3 Close the TCP connection Here the Web IO deviates from HTTP protocol In contrast to HTTP protocol it is always the client application which closes a connection Exception When it receives a defective command string the Web IO immediately closes the connection TCP communication the Web IO as Client In some applications it is necessary to use the Web IO as client In this case the Web IO opens a TCP connection to a server application The trigger for opening the connection may be a 190 W amp T TCP UDP command strings status change on one of the inputs or a time based opening of a connection may be configured First you must specify which of the outputs should be available for access via command strings after the connection is opened In the navigation tree select Config Device Output Mode a Output Mask Name Hre UDPASCI SNMP Binary1 Binary2 Logie ime Quoto 5 4 Contig eo Session Control Output 1 n a_y Devico Setect amp c amp c c c c O Text C Timei ate Safety After expiration of this interval bre in 100 5 d
55. FT STAS EE T Word 2 00 00 Start_1 Immer 0 76 Bit Variable a EE Word 00 00 Start_2 Immer 0 16 Bit Variable EN EA Word 6 Di ies 00 a CS B1 StructType Strukturtype 16BiVariable pspapspoppopo fetz iets 212 12 o Word 8 Se eee 00 ae 08 StructLength Lange in Bytes The 10 Structure ReadClearAllCounter The application program sends this structure to the Web IO in order to request the counter states of all inputs in a data pa cket and then immediately sets the counters to 0 The Web IO always replies with the structure ALL COUNTER The ReadClearAllCounter structure EE EK TS EET Word x rs OD ses 009 Start 1 always 0 16 Bit Value 42 r 4 1 7 AMBY Word 00 OO Start_2 always 0 16 Bit Value ETE BEES Word 6 aero 00 Loon ners C1 StructType structure type 16 Bit Value 5 2 1110 9 87 6 5 4 13 21 o 00 08 StructLength length in Bytes Word The IO structure AllCounter The Web IO uses this structure to send the counter states of all the inputs at one time Subject to errors and modifications 225 W amp T The AllCounter structure ETE BET TS High Byte Low Byte 2 Byte of structure 00 1 Byte of structure 00 16 Bit Value TT TS TEE BET TS High By Low i xm 00 EET 00 Low Byte 9 Byte of structure
56. InputO Counter Mode Required access rights Administrator ome Puls Polarity C negative i User jt 0 Smart positive Config Inactive Timeout Time in 100ms Session Control p Device Gre Undo Irem s Input 0 1 Counter Mode o i Jut Pulse Polarity Select here whether you want the Web IO to trigger on positive or negative edges 248 W amp T Port configuration Inactivity Timeout If no valid edges are detected on either of the inputs within the set time the counting is cancelled Send the settings to the Web IO by clicking on the Intermediate store button Once you have made all the entries activate the new settings under Config Session Control LogOut Save 6 3 2 Output configuration To change the settings for Output 0 for example select Config gt gt Ports gt gt Outputs and gt gt Output Required access rights Administrator oder Config Home Name Replaces standard name in displays ru AS output 1 Smart 6 Config Text Selectable from page home Session Control Description Output 0 Group Mode 01 separated C 0 1parallel amp Inputs 6 C3 Outputs Safety State Safety enable OFF C ON 5 45 Output 0 i Ha Logic Storage Undo Logout L Time Switch Puls Name Enter here a name for the input This name will then be displayed in the browser for Output 0 Text Her
57. Language Input 1 1 Network D B Application Mode socket device 3 a C Compatible 50xxx SNMP C Box2Box Slave upp OPC Device Syslog C ModBus FIP 6 C3 Binary 1 Temporary Storage Undo Logout Mor ee In 5 TCP Client UDP Peer Local Port Unless your network administrator has indicated otherwise you may use the factory default setting of 49153 for the port Reasons for replacing the factory set local port could include for example a firewall which only allows certain port accesses In any case the set local port for the Web IO must be identical to the corresponding settings in the OPC server Client HTTP port Specifies the HTTP port on which the control connection to the OPC server should be established Unless otherwise specified always use Port 80 here Input trigger Here you activate the inputs which should trigger a message to the OPC server when there is a status change Application Mode Select OPC Device Subject to errors and modifications W amp T OPC After all the parameters have been entered confirm by clicking on the Apply button Now select in the navigation tree Config gt gt Device gt gt Output Mode pet Mask Name HTTP ASCI SNMP Binary 1 Binan s a c Output 1 o o o e c Select all o c c Safety After expiration of this interval time in 100ms without receiving data
58. Periodic blinking indicates that the port has a connection to another station Error LED The Error LED uses various blinking codes to indicate error states on the device or network port 1x blinking of the Error LED Check network connection The Web IO is not getting a link pul se from a hub switch Check the cable or the hub switch port 2x or 3x blinking of the Error LED Press the button on the housing to perform a reset on the Web IO 2xDigital by interrupting power If this does not clear the error reset the device to its factory defaults Since this resets all network settings you should write down your settings first Web Based Management Config Session Control LogOut Restore Defaults Following a reset the device is restored to its factory defaults Reconfigure your network settings n More information about menus and coniguration can be found in the section Web Based Management on error http xxx xxx xxx xxx diag LED Indicates internal configuration errors For troubleshooting go to page http IP address of the Web IO diag in the unit For example http 172 16 232 17 diag 40 W amp T Connections operating elements and LEDs system error Serious hardware error Try to restart the unit by disconnecting the power supply If the condition persists please return the unit to your dealer so that it can be checked by W amp T Power LED Status LED Error LED on Self test error
59. Switch InputO OFF 1 QutputO ON ON oF Input 1 ON 2 Output 1 OFF oF Free available Modbus Memory 8bit Add o 1 2 3 4 5 6 7 8 9 A B C 7000 o0 00 00 00 00 7010 oo o0 7020 00 00 OC 00 oo oo oc 00 00 7050 oo 7060 C 7070 00 D 00 Only if the Web IO has been configured for Modbus access does a table also appear beneath the IO status in which the contents of the available Modbus memory is displayed For details see section Integration into existing systems Mod bus 58 W amp T HTTP Inputs and Outputs control from the Browser There are two ways to display only the User page without the navigation tree when opening in the browser 1 Entry in the address line http lt ip address gt user 2 Configure the Web IO so that only the Home page is displayed To do this log in as administrator and under Config De vice Basic Settings HTTP select user htm at Start Up ia User EI Config 5 Session Control g Device D Text 6 7j Time Date GC Basic Set
60. Weight Ethernet 10 100BaseT autosensing TCP and UDP Sockets Client and Server SNMP incl traps SMTP E Mail FTP Syslog OPC Server Inventorizing group management The Web IO 12xDigital is designed for signal change time gt 50ms The time response is also highly dependent on the network load and network infrastructure 6 potential free contacts normally open Switching voltage max 48V AC at 5A load current Switching voltage max 30V DC at 5A load current Pause between two switching operations min 200ms 12 x Digital In max input voltage 30V Reverse polarity protected within this range Switching threshold 8V 1V On current 2 2 mA 2 x 16x screw terminals Digital outputs network min 500V to network Digital inputs min 1000V Configuration port with RS232 interface DB9 male pinout for PC COM 9600 baud 8 data bits 2 stop bits No Parity No Handshake Status LEDs Network 24 LEDs for digital states 1 covered Reset button 12 24V AC DC Current draw at 12V approx 300mA Current draw at 24V approx 150mA 25 C 70 C 0 C 60 Plastic housing for DIN rail mount 106 8 x 87 8 x 62 6 Ix w x h approx 260 g Subject to errors and modifications 293 W amp T Error messages 7 9 Disposal Web IO devices are not to be disposed of along with normal waste but rather at an official collection point for electronic waste Web IO models 57634 57637 and 57638 contain a non
61. all high level languages such as Visual Basic Visual Basic for Applications Delphi C C etc permit uncomplicated working with string variables even unskilled programmers can quickly obtain the desired results B Under TCP Port 80 otherwise HTTP is used which is not blocked by most firewalls This means that generally not hing in the network infrastructure needs to be modified B The combination of using string variables and TCP port 80 makes integration into PHP and CGI scripts quite simple PLCs and other microcontrollers can be accessed if there is a network connection Disadvantage Subject to errors and modifications 179 W amp T Controling the Web IO with TCP IP Sockets Only conditionally event controlled programming is possible This makes it of limited use for time critical applications Summary Access via command strings speeds up development time for applications where processing speed does not have the greatest priority Binary structures BINARY In this mode the Web IO can operate as a TCP client TCP server or UDP peer Access can be password protected The Web IO defines binary structures for the various functions such as reading inputs setting outputs etc Access takes place solely by exchanging these structures Advantages B Rapid communication through use of structures The required status values are present at a defined point and no strings have to be checked for their content E Event c
62. amp T Time Switch Creste anm cael mim ena om Mum im t ome cmd o nenne amd icem he cem monet Cue Umm m Give the calendar a name and confirm by clicking on Next Sunbird permits both single and recurring events To create a new event double click on the desired day in the calendar fe de ges Qemem new 52 00 0 icm mate Cipry Mm Qe 43 indem po 219 252 aM 9100 2 pa LI eem 2 imee o Mtm iwn geme Specify all the details of the event and then click on Save and Close It makes no difference what name you enter under Title The Web IO will switch the output on at the beginning of each found event and off at the end of the event Use this procedure for configuring all your desired switching times Subject to errors and modifications 89 W amp T Time Switch Beet ee NN pie New Lee Mes Calendar pen Comme Pte Ow be Category eR te e Dentes 1 JIO ORG Danae depot 290 1708 mem et Mates 4 qut N50 CRM Mates 4 Augen 220 1200 dpt roten Pementes S leget Saget L Cons t ee 4 Pam Seam b Apt 2012 Onin Dey Wes Mi Meth fa le 22 t nere sn caf fm it LL Si LI LLI EI La gt Lr E a RR ae ht mt ect RR me Ed t zay 1 4 woe LIRE LI Coed Phor ta hl e Pme Tan The
63. at http www wut de for for downloading From there the easiest way to navigate is using the menu tree on the life side The path Products amp Downloads gt gt Web lO gt gt Tools takes you to the Web page containing a direct link to the MIB download Enabling SNMP access Required access rights Administrator Select in the navigation tree des Web IO Config gt gt Device gt gt Basic Settings SNMP Subject to errors and modifications 93 W amp T Home p User 7 Session Control 6 C3 Device Pb L Text C Time Date i 3 Basic Settings Language Network jC HTTP HTTP Client iC Mail SNMP AJ UDP SNMP Community string Read public Community string Read Write public Manager IP SNMP System Traps Name or IP address of the SNMP manager 1040221 e System Traps Cold Start Warm Start M Diag Messages Enable Iv SNMP enable Storage Undo Logout Community String Read Enter here the community string for SNMP access with read authorization Community String Read Write Enter here the community string for SNMP access with read and write authorization Manager IP IP address of the SNMP Management System System Traps The Web IO offers the possibility of sending a system trap to the entered SNMP manager at a cold or warm start Hardware Reset and Power ON or Software Reset Select Cold Start or Warm Start Diag Messages
64. between B The Motherbox cyclically polls the associated Web IO and stores the obtained data in a fixed time grid B The Web lOs send their data to the Motherbox when there is a status change 1 1 8 Logic functions linking inputs and outputs Another way to switch the outputs is to use logical operations between inputs and outputs The status of an output can be switched to ON or OFF depending on a defined input pattern 1 1 9 Basic port behavior Inputs The inputs are configured for 24V automation signals but can be switched using voltages between 30V and 30 V An ON signal is reliably detected from 8V 1V Subject to errors and modifications 13 W amp T Introduction A configurable time filter can be used to eliminate the effects of contact bounce and noise pulses Outputs Models 57630M 57631M 57637 and 57636 have current sourcing outputs with a load capacity of 500mA To drive larger currents up to four outputs can be combined into a common switching group Model 57634M switches the outputs with max 5A via relays The outputs can be configured so that they resume the quiescent state after switching following a specified time pul se mode 1 1 10 General basic functions In addition to the functions of the Web IO which directly access inputs and outputs there are several important system functions These include B Web Based Management System clock incl time server synchronization B Firmware updates n
65. controlled error management BINARY socket programs with binary structures Specifying the operation mode The Web IO as socket server The Web IO as socket client The Web IO as UDP Peer Passwort protection BINARY The IO structures Definition of the IO structures Working with the IO structures Wayback switching via FTP login Functional principle The Wayback commands Enabling Wayback access Activating the outputs for Wayback access 6 General Functions 6 1 6 1 1 6 1 2 6 1 3 6 1 4 6 1 5 6 1 6 6 1 7 6 2 6 21 6 2 2 6 3 6 33 6 3 2 Time Date Setting Time zones Summertime Winter time Start and end of summer time End of summer time Time Server Manually setting time and Date Activating all time date settings Safety Timeout State Access monitoring Specifying safety timeout Specify Safety State Ports Input and output configuration Input configuration Output configuration Content 158 163 172 175 179 180 183 190 196 200 206 207 208 210 213 216 218 219 220 229 229 230 231 233 235 236 236 237 237 238 239 241 242 243 243 244 246 246 249 W amp T Content 6 3 3 Logic functions 252 6 3 4 Pulse mode 254 6 5 Changing device specific displays 256 6 6 Upload Download 258 6 6 1 Download 258 6 6 2 Upload 259 6 7 Diagnostics and testing 261 6 7 1 Errorreport 261 6 7 2 Configuration 262 6 7 3 LEDtest 266 7 Appendix 267 7A IP address assignment alternati
66. currently saved messages GET diaglistx PW password amp Returns the messages for the individual message bits max 64 GET diagclear PW password amp Clears the message memory GET errorclear PW password amp Clear load errors and re enables the affected outputs See section Diagnostics and Testing TCP communication the Web IO as server First you must determine which of the 12 outputs will be made available for access via command strings Select in the navigation tree Config Device Output Mode Noone Output Mask Time 7 User P Name UOPASCI SNMP Binary1 Binary 2 Logic Switch Smart a ue Output Q amp c amp c c amp Sesion Controt Output 1 Oty Ouro Sesect all amp amp c c c p Text TimeDate Satety After of this interval irme in 100ms without data D Masi estinga Timeout outputs swch to Ihe configured safety states Mode m D Aem Power Max 150mA Porte internal 24V enable 7 UpOownioad Storage Undo Logout 50 Subject to errors and modifications 183 W amp T TCP UDP command strings Required access rights Administrator All the outputs that will be used must be activated for HTTP factory default If you have changed the output modes click on the Temporary Storage button and then on the Save and activate all temporary settings link Clicking on th
67. e mail recipient subject and text Required access rights Administrator Under Config gt gt Device gt gt Alarm gt gt Alarm gt gt Mail you can now specify who should receive an alarm mail what should appear as the subject and what text the e mail contains i L User E Mail Addr myaddress amp myserver de Subject Pump failed S Config Session Control men Time t 2 Device Pod 11 Text Pump i0 zi Time Date Alarm Clear Subject operation gt Basic Settings Bf THEN Alarm Clear Text Time t Pump io i Oj Alarm 1 _ upp E Mail Addr Enter the e mail address for sending the e mail when the alarm conditions are met If you want multiple recipients for the e mail you must separate the e mail addresses with colons e g 1 domain de user2 domain de Subject Enter here the text to appear in the subject line of the e mail Mailtext This can be a variable text In addition you can use alarm vari ables These are placeholders for the state of the individual inputs and outputs as well as for the counter states Alarm Clear Subject As soon as the configured alarm condition is no longer present an Alarm Clear message is sent with the subject line entered here 140 Is pm E er Storage Undo Logout W amp T Alarms Alarm Clear Text As with the mail text here you may enter a freely formulated te
68. is used only by the application program The SetBit structure Low Byte 00 1 Byte of structure 00 16 Bit Value TS T TEE BETTE High Byte Low Byte H 00 3 Byte of structure 00 16 Bit Value STATSEIETSTSTS TTE EE BEETTS High Byte Low Byte 00 5 Byte of structure 09 16 Bit Value TESTS TS TTE ETE BEE TS High Byte Low Byte 8 Byte of structure 00 7 Byte of structure 0C 16 Bit Value TS T TEE BEES Start 1 Start 2 StructType StructLength High Byte Low Byle 10 Byte of structure OX Byte of structure Mask T6 Bit Value STAT3EI 5113127715 Value High Byte Ox eee 12 Byte of structure 11 Byte of structure 16 Bit Value Example set bits 0x0124 value 0x0104 Subject to errors and modifications Word 16 Bit always 0 Word 16 Bit always 0 Word 16 Bit structure type Word 16 Bit length in Bytes Word 16 Bit binary output mask Word 16 Bit binary output state 221 W amp T TCP UDP Binary Output 2 and Output 8 counting OutputO 11 are set to ON and Output 5 to OFF No other outputs are changed The IO structure RegisterRequest This structure sends the user program to the Web IO 12xDigital so that the contents of inputs and outputs can be read in overview form The Web IO 12xDigital always responds with the 1 O structure RegisterState The RegisterRequest structure 2 1 1 00 VES 00 Start 1
69. of whether the Subject to errors and modifications 269 W amp T Assigning the IP addresse Web IO already has an IP address or not The procedure may be repeated as often as desired Therefore you should use this method if you don t know the IP address or have forgotten it The appendix to this manual contains a detailed description for using Windows with Hyperterminal First connect the Web IO to the serial port of a computer Fora standard PC a crossed RS232 cable null modem cable is required see section Serial connection The serial transmission parameters of the terminal program used are configured for 9600 baud no parity 8 bits 1 stop bit no handshake Press the reset button on the Web IO briefly and enter the letter x at least three times on the terminal until the prompt Pno lt Enter gt appears in the terminal program Use the conventional format xxx xxx xxx xxx to enter the IP address and finish your entry with Enter If the entry was accepted the system acknowledges with the assigned IP address Otherwise a FAIL message is issued followed by the last current IP address All additional settings can now be made easily via Web Based Management in the browser see section Basic setting of the network parameters Serial assignment of subnet mask and gateway Together with the IP address the subnet mask and gateway address can also be assigned serially The entry is comma delineated following the IP add
70. opened the Web sends the input status in format input 0000 to the server application The 4 place numerical value 8 place for the 24x Web lO represents the input status in hex format The Web IO uses null terminated strings This means that everything the Web IO sends to the application ends with a O character For Web lOs with relay outputs you must maintain a pause of at least 200ms between two switching operations on one output 2 Communication between Web IO and application Whenever there is an existing connection the server application can communicate with the Web IO using command strings Example 1 Query the status of Input 3 on which a 12 signal is present No administrator password has been assigned to the Web lO The application sends the following string to the Web lO GET input3 PW amp The Web IO returns with input3 ON Example 2 Set outputs 3 4 7 9 In binary this is 0000 0010 1001 1000 which corresponds to 0298h The administrator password for the Web IO is blue The application sends the following string to the Web lO Subject to errors and modifications 195 W amp T UDP command strings GET outputaccess PW blau amp State 0298 amp The Web IO returns with output 0298 A The Web IO uses null terminated strings This means that everything the Web IO sends to the application ends with a character 3 Closing the TCP connection The Web IO automatically closes the c
71. or counter has changed The variable iVal represents the current state Please note that names of functions are case sensitive The following source text shows a small example for dynamic display of Input 0 lt html gt lt head gt lt script language JavaScript type text javascript gt lt function inputChanged iDevice iNr iVal if iNr 0 amp amp iDevice 0 document getElementById input iNr firstChild nodeValue iVal OFF ON else iVal 0 function setPassword document applets dio0 setPassword wut fe lt script gt lt head gt lt body gt applet name dio0 archive dio jar code dio class codebase http 172 16 232 11 width 0 height 0 gt 176 W amp T Own web applications param name device value 0 gt param name showerrors value off gt param name inputpolling value on gt param name outputpolling value off param name counterpolling value off param name pollingrate value 1500 gt lt applet gt lt p gt State of Input 0 lt p gt lt id input0 gt OFF lt p gt lt script language JavaScript type text javascript gt co setPassword ff lt script gt lt body gt lt html gt The example contains only the function inputChanged since only inputpolling was enabled in the applet tag area In any case setPassword cannot be opened until the Java applet has been starte
72. or slave box should be opened Unless otherwised specified always use Port 80 here Server IP Addr Enter here the IP address of the server Subject to errors and modifications 211 W amp T UDP Binary Server Password A server password only needs to be entered if you want the Web IO to work as box to box master or access an additional Web lO as a TCP client in server mode See Box to Box section Inactive Timeout Here you configure the timer used by the Web IO to close the connection after the time has expired Enter the value in decimal using 100ms increments When there is an active network connection the timer is reset once all the data have been exchanged Example The value 10 corresponds to one second If no data transfer is detected during this time the Web IO closes the connection Entering no value means automatic connection closing is deactivated Input Trigger Check the inputs whose state change you want to use as triggers for opening the TCP connection and sending data to the server important for event triggered applications Interval If you want to cyclically notify the server application of input state changes enter the interval here in value will be multiplied with 100ms Example The value 300 corresponds to 30 seconds Please note that when using charged dial up connections too short an interval can result in this connection remaining open while charges continue to acc
73. outputaccess command Sets one or more outputs x can be a value between 0 11 and indicates which output to set The reply from the Web IO is a string beginning with output followed by a bit pattern corresponding to the output signals in hex format Resets a counter to 0 x can be a value between 0 11 and indicates which output to set The reply from the Web IO is a string beginning with counterx The new counter state of the selected counter is attached in decimal format If x is not specified all 12 counters are reset to 0 In this case there is no reply Clears the error report in the Web IO See section Diagnostics and Testing W amp T TCP UDP command strings Commands Parameter Description GET time PW password amp Returns the system time of the Web IO in format DD MM YYYY hh mm ss D day M month Y year h hour m minute s second PW password amp Sets the system time of the Web IO to time DD MM YYYY hh mm ss amp the value transmitted with time GET diagnosis PW password amp Requests the status of the diagnostic memory The Web IO returns diagnosis 0000 00000000 00000000 The four digit value represents the number of stored messages For the 8 digit hexadecimal values each set bit represents one of the 64 possible messages PW password amp x indicates the index for one of the currently stored messages The Web IO returns the corresponding message text x must not be larger than the number of
74. outputs Four different network protocols are available Mail SMTP SNMP Syslog UDP TCP on an existing connection TCP Client FTP Client In addition to the alarm messages the Web IO also sends Alarm Clear messages when the alarm conditions are no longer met i e the normal state is present again 5 5 1 Determining the alarm conditions Required access rights Administrator The alarm conditions can be specified in various trigger groups B Input Trigger B Output Trigger B System Trigger The conditions for different trigger groups should not be mixed within an alarm Make triggering of an alarm dependent either on the Status of the inputs or by one of the system triggers A distinction is made between two basic types of alarm triggers Trigger with alarm state and normal state Trigger as single event 132 W amp T Alarms Trigger with alarm state and normal state The trigger condition may be states ON or OFF for the in or outputs but may also be the system trigger Load Control If for example ON is selected as a trigger for an input the alarm message is sent when this input goes to ON When the input returns to OFF the Web IO sends the Alarm Clear message If an alarm condition returns to the normal state before the Web IO was able to send the alarm message only the Alarm Clear message is sent You could therefore say that these alarms are always finished with an Alarm Clear message Tr
75. over Ethernet Network Power Status 12 24 DC max 150mA Outputs Vdd GND Inputs d ee The auxiliary voltage must first be enabled using Web Based Management Log in as administrator and select Config Device Output Mode from the menu tree Output Mask Binary 1 Name HTTP UDP asen SNMP Outputo gt r c c v Select all c o c Safety After expiration of this interval time 100ms without Timeout data outputs switch to the configured safety states 50 Power Max 150mA gt gt gt Internal 24V enable Tempong Storage Undo Logout Select Power gt Internal 24V enable You must then save the changed setting in the Web IO using Logout and Save 24 W amp T Connections operating elements and LEDs The input lines should not be longer than necessary Unshielded cable may be used for cable lengths less than 2m For longer cable runs you should always take suitable shielding measures against noise interference We recommend the use of shielded cable and or ferrite rings as well as separate cable routing to ensure that noise signals are not interpreted as desired signals In addition to detecting the input status ON OFF each input is also equipped with a counter In the factory default configuration edges state change are counted The counter may alternately be reconfigured from edge to pulse counting In addition 2 inputs can
76. page is reopened in Default User mode 5 2 5 Stopping Box to Box Modus only for the Slave If the master is no longer available for example because there is no network connection but you still want to deactivate Box to Box mode for the slave select in the navigation tree Config gt gt Session Control gt gt LogOut In the configuration frame there should be an additional button Stop Box2Box Slave 76 W amp T Box to Box Save new configuration User Save L Smart idis Config Exit without saving Session Control Abort E storta XJProfiles Stop Slave Mode New Password Stopp B ox Slave Device NT Ports Restore Factory Defaults 1 Manufacturer Restore Defaults e 2 Open port for an update from a non Vindows system Lj Manual TFTP Update Reset without saving mmu Men ausblenden If this button is not displayed first click on the Reset button This will restart the Web lO After a new Login and invoking Config Session Control LogOut the Stopp Box2Box Slave button will be displayed Clicking on it will deactivate Box to Box mode in the slave 5 2 6 Box to Box notes and limitations Runtimes Please note that when sending data using a network protocol system related runtime delays occur In contrast to a direct cable connection whereby a switching signal is present directly on the actuator latency times of between 20 and 50 ms mu
77. signals In addition to detecting the input status ON OFF each input also has a counter As shipped the edges are counted state change The counters in the first input group can alternately be changed from edge to pulse counting 30 W amp T Connections operating elements and LEDs 3 3 3 Output circuit The 12 outputs of the Web IO are current sourcing The supply voltage for the outputs can be between 6 V and 30 V and is brought in through terminals 16 Vdd and 15 GND 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3132 W amp T S http Serial Port 12 24V AC DC Each output can switch a maximum of 500mA To achieve higher currents individual outputs can be combined into groups of 2 or 4 The maximum switching current is the total of the individual currents max 1A for 2 outputs max 2A for 4 outputs The outputs have thermal overload protection and are short circuit protected In the OFF state there is also a check to see whether a load is present on the outputs When a load is connected a current of approx flows even when the output is turned off This means that the LEDs associated with the outputs may glow slightly even when the output is OFF Web based Management can be used to activate load monitoring which lets the user know when there is no load e g cable break or overload Outputs which are switched with an inductive load such as a relay should be p
78. the factory set device name of a Web IO having Ethernet address 00 c0 3d 01 02 03 is WEBIO 010203 The device name is required especially in networks in which the Web lO obtains its IP address from a DHCP server which does automatic synchronizing with the DNS system The Web IO identifies itself within the DHCP protocol using its device name Using Web Based Management the device name can be changed at any time Access rights Administrator In the navigation menu select Config Device Text The following input screen appears b User Device Appears on page Home and on user defined pages IWEBIO wuti Device Text Appears on page Home and on user defined pages on der Klemme direkt aufs Netzwerk Location Location of installation Halle 5 Contact Contact address Tel 0815 4711 Herr Schmidt ES m Storage Undo Logout Subject to errors and modifications 53 W amp T Configuring the network parameters Device Name System Name with which the Web IO reports to a DHCP server using DHCP protocol and which is also displayed on the homepage In networks with DHCP and DNS the name entered here should be unique Device Text The administrator can place a text here which describes the Web IO and its function This text is displayed on the homepage of the Web IO Location Here you can enter the installed location of the Web IO to make it easier
79. this link changes the state of the outputs or sets the counter to 0 So that the changed state is then displayed the browser automatically reloads the Web page The following W amp T tags are available Subject to errors and modifications W amp T Own web applications Invoke Tag Function device_name Inserts the name assigned for the Web IO in the web site device text Inserts the description defined for the Web IO in the web site inputx Inserts the name specified for input no x x can be a number between 0 11 and indicates which input the invoke refers to This applies as well to the output and counter invokes described below Indicates the state ON OFF of the input corresponding to x Represents the background of a table cell depending on the state of Input x OFF no backaround color ON areen Inserts the counter state of the counter for Input x in the web site Inserts the name specified for Output x Shows the state ON OFF of the output corresponding to x When logging in with Operator or Administrator rights the state indication is given a hyperlink Clicking on this link changes the state of the corresponding output and refreshes the web site Represents the background of a table cell depending on the state of Output x OFF background color ON green Can be added on a link to the pages home htm user htm or index htm When there is an Administrator login multiple outputs are switched at the
80. timing 7 5 Timing and signal processing limits The system architecture of the Web IO tries to use the least possible energy to achieve the greatest possible processing speed To accomplish this the Web IO uses multithreading a process whereby all the used services and functions share the overall system power 7 5 1 Signal detection Signal detection on the inputs has an especially high priority Up to 500 signal changes per second are reliably detected and counted The signals must be present for at least 1 ms in short pulse mode 50us for Inputs 0 3 7 5 2 Signal transmission Signal transmission over the network interface is asynchronous to signal detection There are various reasons for this For one thing depending on the network load the entire network bandwidth may not always be available and for another the ratio of protocol overhead to user data varies sending of signal states via e mail is for example much more involved than sending via a simple TCP connection Depending on which mode is selected the application processes of the Web IO also take more or less time The time response can therefore vary considerably depending on the mode and protocol 7 5 3 Signal timing Two factors are considered in signal transmission timing E Signal distance The signal distance is the minimum required time between two signal changes for both changes to be not only detected counted but also sent 284 W amp T E Latency tim
81. 00c03d003fa0 Ethernet address OK xxxxxx Now use the following command to add a static entry to the ARP table of your 268 W amp T Assigning the IP addresse arp s IPaddress MACaddress Example under Windows arp s 10 40 72 15 00 C0 3D 00 3F A0 Example under SCO UNIX arp s 10 40 72 15 00 C0 3D 00 3F A0 n Older Windows systems accept a static entry only if a dynamic entry already exists Here you should first ping another network station Finally start the Web browser and enter the following URL http IP address return Example Adress http 10 40 72 15 In Windows environments IP addresses must be entered without leading zeroes Otherwise the system interprets the entry incorrectly and an incorrect IP address is assigned to the Web IO The Web lO takes the IP address of the first network packet sent to its Ethernet address as its own and saves it in non volatile memory The HTTP connection is then opened and the Home page of the Web IO appears in the browser All other settings can now be easily made via Web Based Management see section Basic setting of the network parameters 7 1 2 Assigning the IP address through the serial port After a reset of the Web IO a time window of approx 1 2 seconds is made available during which entering at least 3 x makes it possible to assign a new IP address In contrast to the previously described method via ARP the serial way works regardless
82. 01 In this case Output 0 is affected To turn on the affected outputs again the application program sends GET errorclear PW password amp to the Web IO Now if there is no longer an overload condition the Web IO resumes as normal on all outputs A Please note that the GET HEADER ENABLE setting under Config gt gt Device Basic Settings gt gt HTTP also precedes Subject to errors and modifications 205 W amp T TCP UDP Binary the Error and Diag messages with a header The character is still appended for error messages BINARY socket programs with binary structures The Web IO 12 X Digital provides two independent socket accesses Binary 1 and Binary 2 for carrying out binary data exchange Both can be used and configured independently of each other Whether the Web IO functions on the respective BINARY socket as a TCP server TCP client or UDP peer depends on the desired application First an overview of which operation mode the Web IO uses for which application B Your own socket application binary with password protection TCP Server B TCP Client B UDP Peer B Your own socket application which was originally programmed for the W amp T Digital I O Com Server 50xxx B TCP Server B TCP Client B UDP Peer WB Box to Box Master B TCP Client Box to Box Slave B TCP Server OPC Device together with the W amp T OPC Server B TCP Server Binary socket access and 50xxx Mode In this section you
83. 2 2 mA 2 x 16 screw terminals Digital outputs Network min 500 V to network Digital inputs min 1000 V Configuration port with RS232 interface DB9 plug configured like PC COM 9600 baud 8 data bits 2 stop bits No Parity No Handshake Status LEDs for network 24 LEDs for digital states 1 hidden reset button 12 24V AC DC 25 C 70 C 0 C 60 Plastic housing for top hat rail mount 106 8 x 87 8x 62 6 Ix w x h approx 260 g Subject to errors and modifications 291 W amp T Ports and security 7 8 2 Technical Data 57637 57638 Galvanic isolation Supply voltage Operating temperature Weight 292 Ethernet 10 100BaseT autosensing The Web IO 12xDigital is designed for signal change times gt 50ms The time behavior is also heavily dependent on the network load and network infrastructure 2 x Digital In Max input voltage 30V Reverse polarity protected within this range Switching threshold 8V 1V On current 2 2 mA Digital outputs Network min 500 V to network Digital inputs min 1000 V PoE or 24V 48V AC DC 0 C 60 C approx 260 g W amp T Error messages 7 8 3 Technical Data 57634 Latency times Digital outputs Digital inputs Connections Galvanic isolation Serial port Baud rate Data format Flow control Displays lOperating elements Supply voltage Storage temperature Operating temperature Housing
84. 57637 0x2000 in the 32 bit area beginning at 0x5000 Outputs Are located in the bit area beginning at address 0x1020 Example 57637 0x1020 and 0x1021 in the 16 bit area beginning at 0x2002 in the 32 bit area beginning at 0x5002 Subject to errors and modifications 125 W amp T Modbus TCP Alarms Are located in the bit area beginning at address 0x1040 Example 57637 0x1040 and 0x1041 in the 16 bit area at 0x2004 Alarm triggers are located in the bit area beginning at address 0x1800 Counters Are located in the 32 bit area beginning at address 0x5004 Example 57637 0x5004 0x5005 and 0x5006 0x5007 Writing counter values Counter can be set to any desired values Exception Status Located in the bit area beginning at address 0x1050 in the 16 bit area at 0 200 Low Byte Alternately the Exception Status is read using Function Code 0x07 Configuration status Located in the bit area at address 0x1058 in the 16 bit area at 0x200C High Byte Diagnostics status Number of errors Lies in the 16 bit area at 0x2005 in the 32 bit area at 0x5048 Diagnostics status bits Lie in the 16 bit area beginning at 0x2006 in the 32 bit area beginning at 0x5048 The Web IO Digital allows 84 error messages A list of possible error messages can be found in the Appendix Device identification Consists of a serial number beginning at 0x6000 and Mac address beginning at 0x6004 126 W amp T Modbus TCP
85. 6 default 21 User Password FTP Account Options PASV 7 HTTPCiient Enable Iv FTP enable 0 Mail SNMP Teme Storage Unda Logout UDP 1 Syslog i e Binary 1 FTP Server IP Enter here the IP address of the FTP server on which you want to save the alarm messages FTP Control Port Here the TCP port for the FTP control connection is specified FTP servers normally use Port 21 User Here you enter the name of a registered user with write access on the FTP server Password User password stored on the FTP server FTP Account If applicable enter here the account of the user Subject to errors and modifications 155 W amp T Alarms Options Specify here whether the FTP client should be active or passive If unsure consult with your system administrator Enable Highlight Enable and click on Intermediate store to enable FTP as a service Once you have made all your alarm related entries activate the new settings with Config Session Control LogOut Save 5 5 9 General information about alarms Multiple and even all send paths at the same time can be used for an alarm For example it is no problem to send both an e mail and an SNMP Trap 156 W amp T Alarms 5 6 Access from your own application There are two basic ways to access the Web IO directly from your own applications E Access from the browser HTTP Request Java Applet Access
86. Code 0x01 Read Coils 114 Function Code 0x02 Read Discrete Inputs 115 Function Code 0x03 Read Holding Registers 116 Function Code 0x04 Read Input Registers 118 Function Code 0x05 Write Single Coil 118 Function Code 0x06 Write Single Register 119 Function Code OxOF Write Multiple Coils 120 Function Code 0x10 Write Multiple Registers 122 Function Code 0x07 Read Exception State 123 Incorrect master requests 124 Modbus address areas for Web IO Digital 125 Modbus virtual registers 127 5 5 Email and more Alarms 132 5 5 1 Determining the alarm conditions 132 5 5 2 E Mail Alarm SMTP 137 5 5 3 SNMPAlarm 141 5 5 4 Alarm via UDP 143 Switching outputs for a different Web IO using UDP 145 5 5 5 Alarm message to your own TCP applications 146 5 5 6 Alarm message to a TCP server 147 Switching outputs for a different Web IO using 149 5 5 7 Sending alarm messages to a Syslog Server 150 5 5 8 Sending alarms via FTP Server 153 5 5 9 General information about alarms 156 5 6 Access from your own application 157 5 6 1 Access from the browser 157 Irrtum und Anderung vorbehalten W amp T 5 6 2 5 7 5 7 5 7 2 5 73 5 7 4 Using W amp T Tags Dynamic Web pages with JavaScript and AJAX Using the Web IO s own Java applets Using the applet with JavaScript Access from various high level languages Socket programming with command strings TCP communication the Web IO as server TCP communication the Web IO as Client UDP communication Program
87. Company specific device name 256 W amp T Changing device specific displays Device No Company specific article number Logo Path and name of the logo positioned above the navigation tree If you specify only logo gif the Web IO uses the internally stored logo Alternately you can reference a JPG or GIF file located on another server Note that the dimensions of the logo must closely approximate those of the W amp T logo width max 200 pixels height max 100 pixels to retain clarity in the navigation frame Send the settings to the Web IO by clicking on the Temporary Storage button Activate the new settings under Config Session Control LogOut Save Subject to errors and modifications 257 W amp T Upload Download 6 6 Upload Download The Web IO Digital allows the user to upload or download custom HTML pages configuration data and the logo 6 6 1 Download To download an HTMP page or the configuration select in the navigation tree Config gt gt Up Download gt gt Download Required access rights Administrator Home User D smar S Config C Session Control home htm Download Device Ports userhtmDownload Manufacturer UpiDownload smart htm Download Download X Upload iCal Datei Config xml Download The entire Web IO configuration is stored in the unit as an XML file This means that when there are projects involving multiple Web lOs havi
88. Control Interval Timer Cold Start Warm Start For warm start controlled alarms the alarm is sent the form of the Alarm Clear message After the alarm conditions have been specified you can select which path to use for issuing the alarm 5 5 2 E Mail Alarm SMTP To send an alarm via e mail you must also activate Mail Enable in addition to the alarm conditions under Config gt gt Device gt gt Alarm gt gt Alarml Subject to errors and modifications 137 W amp T Alarms Required access rights Administrator Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Tempo n Storage Undo Logout Send these settings to the Web IO by clicking on the Temporary Storage button Basic settings for sending by e mail Required access rights Administrator In order for the Web IO to send e mail in the first place you must make a few basic settings Goto Config Device MailAdmin 138 ReplyAddr MailServer Identification as sender Web4o 2xDigital mywebioG gmx de Name or IP address of the SMTP mailserver mail gmx de Authentication User Password Retype Password SMTP authentication off C ESMTP SMTP after POP3 mywebio gmx de ITTEEETETETE ZO Name or IP address of the POPS mailserver POPS Server on
89. ET HTTP enable Basic Settings t Default Port 80 Network a 3 HTTP gger Input 0 i wy m Input 1 Mail L Syslog All additional settings on this page are described the manual and should not be changed at this point The Home page can be replaced with an individually constructed Web page For details see section Access from your own application 5 1 2 The User page The User page shows the status of inputs counters and outputs In contrast to the Home page you can log in for the functions of this page without accessing the navigation tree A password entered at login is stored on the PC as a cookie For the user the advantage of this is that he can access the outputs from the same PC when repeatedly opening the User page without having to log in each time since login is automatic If a password was assigned for the Web IO login is required for displaying the status of inputs outputs and counters Subject to errors and modifications 57 W amp T HTTP Inputs and Outputs control from the Browser Web lO User Site WEBIO 05372A Von der Klemme direkt aufs Netzwerk Password eesse Losy Outputs State Switch OutputO ON oF Output 1 ON OFF After entering the password the status of the 105 is displayed and the outputs can be operated Web lO User Site WEBIO 05372A Von der Klemme direkt aufs Netzwerk Logout Inputs Outputs Name State Counter Clear Name State
90. Input 1 M Input 1 COR O c3 Ports 1 Inputs Temporary Storage Undo Logout E _ Undo Output 0 ip Logic rene Switch Puls Input Mask Select here all the inputs you want to be included in the logic operation Input Inverter Here you specify whether the state of the input should be inverted Input is evaluated as it is The inverse of the input state is evvaluated Logic Func Specifies whether an AND or OR operation is applied Output Inverter Here you specify whether fulfillment of the logic conditions sets the output to ON or OFF Output is set to ON 7 Output is set to OFF Example The configuration illustrated sets Output 0 to ON when Input 0 is ON and Input 1 is OFF Send the settings to the Web IO by clicking the Temporary Storage button Subject to errors and modifications 253 W amp T Port configuration Once you have entered the conditions for all the outputs activate the new settings under Config gt gt Session Control LogOut Save 6 3 4 Pulse mode In addition to purely static switching of the outputs to ON or OFF the Web IO also permits pulses to be output This means an output can be switched to On or OFF for a preset amount of time and resumes its base state after the set pulse length To configure the Web IO for outputting pulses select Config Ports Pulse Required access rights Administrator DE Duration Duration of the pulse in 1
91. Logged in output 1 Message configurable TCP Close 5 7 2 The Wayback commands The following commands can be sent as an FTP User Name to the ERP gateway The commands are not case sensitive All replies from the ERP gateway are send using the variable lt MSG gt in the Wayback Response output x onloff x Number of the desired output beginning with 0 ro the first output of an ERP gateway on Switches Output x on off Switches Output x off The command enables targeted on off switching of indivi dual ERP gateway outputs Example outputO on turns Output 0 on the ERP gateway ON output xxxx XXXX Bit pattern of the desired state of all outputs in hex format Example output 2 binary 0000 0010 turns Output 1 ON and all other available outputs are turned OFF 230 W amp T Wayback output 3e binary 0011 1110 turns Outputs 1 to 5 ON and all other available outputs are turned OFF output This command enables reading of the state of the digital outputs The reading is a hex value for the binary state of all outputs using the variable MSG in the Wayback Re sponse input This command enables reading of the state of the digital inputs The reading is a hex value for the binary state of all inputs using the variable MSG in the Wayback Response counter x x Number of the desired input beginning with O for the first output of the ERP gateway The command allows you to read the cou
92. Manual Web IO Digital Time Switch iCal Google Calendar Web Technology EMAIL Intranet Internet 4 JavaScript C C C 7 Visual Basic Java Individual Software Type 57637 Web O 2xDigital In 2xDigital Out 57630M Web IO 1 2xDigital In 12xDigital Out 57631M Web IO 1 2xDigital In 12xDigital Out with Com Server 57634M Web lO 12xDigital In 6xRelaisOut 57638 ERP Gateway 2xDig In 2xDig Out Release 3 25 April 2011 Firmware 3 26 W amp T 04 2011 by Wiesemann und Theis GmbH Microsoft MS DOS Windows Winsock and Visual Basic are registered trademarks of Microsoft Corporation Subject to error and alteration Since it is possible that we make mistakes you mustn t use any of our statements without verification Please inform us of any error or misunderstanding you come about so we can identify and eliminate it as soon as possible Carry out your work on or with W amp T products only to the extent that they are described here and after you have completely read and understood the manual or guide We are not liable for unauthorized repairs or tampering When in doubt check first with us or with your dealer W amp T Introduction 1 Overview of Potential Uses 9 1 1 Overview of potential uses 10 1 1 1 Browser access 10 For PC browsers 10 For smart phone 10 Your own Web pages 10 1 1 2 Box to Box 10 1 1 3 Time based switching 10 Use of alocal calendar program
93. Pope 8 7 T6 2 p 3p 2 1 0 ErrorCount Longword G2 Bi 32 Bit Value 50 29 25 27 26 25 24 23p2 p1 20 ro e oz eis pa propo p op 8 7 6 15 T4 p 3 12 1 0 i ena onaman eame ErrorBitet error codir 120 Byte of structure 19 Byte of structure 18 Byte of structure 17 Byte of structure binary error coding 32 Bit Value 31 30 29 28 27126 26 24 28122 24 20 9 8 1716 5 2 etr fe 2 p 3p2 1 0 24 Byte of structure Xs Byte of structure XX Byte of structure 21 Byte of structure 32 Bit Value s 5o 29 28 27 26 25 24 23p2 p1 20 19 pe 17 e ps pna os 2 p no 8 7 6 5 4 3 2 1 0 28 Byte of structure XX Byte of structure XX Byte of structure 25 Byte of structure XX 32 Bit Value Word 16 Bit StructType structure type Word 16 Bit StructLength length in Bytes Longword 32 Bit in this release V4 Version x 2 lt ErrorBits2 Longword 32 Bit binary error coding ErrorBits3 Longword 32 Bit binary error coding The variable diag_error_count returns how many various errors are currently in the error memory Web lO distinguishes a total of up to 64 different error states whereby each set bit of the two variables diag_errrorbitsO and diag errorbitsl stands for an error type The exact text description can be obtained on TCP Port 80 For a more detailed description see the section on socket
94. Save the extracted files in any desired directory on your hard drive e g C Temp Start the setup program for example by selecting Run from the Start menu and then enter CNTemp Setup This installs and registers the OPC server on your computer Uninstalling The OPC server can be removed using the Software system component You will find it there in the list as W amp T OPC Server Configuration First start the configuration program of the OPC server For nor mal installations you will find the corresponding Start icon on your Windows interface under Start Programs W amp T OPC Server Version 4 Configure OPC Server 102 W amp T OPC General options Click on the Web IO icon or in the menu on Device gt gt New I O device The following window opens 1 0 Server ej 21 x a fe x E ee Host name or address Enter here the IP address of your Web lO If the address was also assigned a host name via DNA or a similar naming service you may use this name instead of the IP address HTTP port Enter here the port which the Web IO will use as the HTTP port factory default setting 80 Subject to errors and modifications 103 W amp T OPC TCP port number Must be the same as the Local Port entry in the Web IO factory default setting 49153 Password Enter here the configurator or administrator password for the Web IO If you are uncertai
95. The self test performed by the Web lO after each start or reset could not be correctly finished due for example to an incomplete update of the firmware In this condition the device is no longer functional Please return the unit to your dealer so that it can be checked out by W amp T AX If the Web IO has no IP address or the address is 0 0 0 0 the LEDs on error and system error will remain on after a reset or new start The LEDs will turn off only if an IP address is assigned The Web IO 2xDigital does not have the on error and system error LEDs Subject to errors and modifications 41 W amp T Connections operating elements and LEDs 42 W amp T Configuring the network parameters 4 Configuring the network parameters Web Based Management Bi Basic setting of the network parameters Subject to errors and modifications 43 W amp T Configuring the network parameters 4 1 Web Based Management The W amp T Web IO Digital provides the user with a complete Web Based Management system This means If the Web IO has an IP address all the settings can be conveniently made over the network from the browser 4 1 1 Structure of the Web site When the Web IO is opened in the browser a 2 part Web site always appears These two parts are also known as frames On the left side is always the navigation frame which one could compare with the table of contents of a book To the right is the display and configuration frame
96. Use the Logout button or menu path Config gt gt Session Control gt gt LogOut Horne Contig gt gt Session Control gt gt LogOut juser Contig Save new configuration I Session Control pLogOut Profiles 5 7 4 Activating the outputs for Wayback access Required access rights Administrator The ERP gateways 57635 and 57636 are factory configured for using the Wayback procedure so that Subject to errors and modifications 233 W amp T Wayback when first starting up the unit you do not need to activate the outputs as shown here In the ERP gateway navigation tree select Config Device Output Mode Contig gt gt Dev Output Mask Select by which operation mode the re f outputs are joined into a group the accor Y Name WayBack Comte c Cuno e DProties Output 6 Hew Password d onm Select c c Diet Safety Timeout Aner expiration of this interval in 100n Settings Outputs switch to the corfigured safety stati unm Ports T Here you activate the desired outputs you want to control using Wayback and then click on the Save button If no other configuration changes are required you must still activate the new settings Use the Logout button or menu path Config Session Control LogOut Hore Config gt gt Session Control gt gt LogOut
97. V are interpreted by the Web IO as ON or 1 Input voltages between 7V and 9V should be avoided since they cannot be definitively interpreted 12V o 7 GND 12V o 18V o GND 18V o W amp T system oror ehttp 123 4 5 67 8 9 10 11 12 13 14 15 16 Power Status 2 Serial Port 12 24V AC DC Example of an input circuit This connection example shows two inputs being driven with signals from different circuits It is important that all signals for an input group have the same ground reference For signals with with a different reference ground the circuit should be configured in separate input groups as shown in the example Subject to errors and modifications 29 W amp T Connections operating elements and LEDs If the inputs will be monitoring the states of potential free contacts the supply voltage Vcc can be connected to the inputs through the contacts In this case VCC must be connected to a DC voltage of 12 24V W amp T EX Shttp dag CE 1234 56 7 8 9 10 11 12 13 14 15 16 o 12 24V DC The cables should not be longer than necessary Unshielded cables can be used for lengths under 2m Longer runs should always use appropriate shielding measures to protect against noise We recommend using shielded cable and or ferrite cores as well as separate cable runs to prevent noise signals from being interpreted as actual
98. Y hh mm ss D day M month Y year h hour m minute s second PW password amp Sets the system time of the Web IO to time DD MM YYYY hh mm ss amp the value transmitted with time PW password amp Requests the status of the diagnostic memory The Web IO returns diagnosis 0000 00000000 00000000 00 000000 The four digit value represents the number of stored messages For the 8 digit hexadecimal values each set bit represents one of the 92 possible messages PW password amp x indicates the index for one of the currently stored messages The Web IO returns the corresponding message text x must not be larger than the number of currently saved messages PW password amp Returns the messages for the individual message bits max 64 PW password amp Clears the message memory errorclear PW password amp Clear load errors and re enables the affected outputs See section Diagnostics and Testing An example for use of HTTP requests The following example shows how you can construct a self refreshing Web page for the Web IO using JavaScript and HTTP requests AJAX First the purely HTML section of the Web page which serves in essence as a display foundation for AJAX user htm lt DOCTYPE html PUBLIC W3C DTD HTML 4 01 Transitional EN gt html lt head gt lt meta http equiv Content Type content text html charset windows 1250 gt lt title gt Web IO Digital User lt title gt lt style type text css gt
99. _text gt lt p gt lt table border 2 gt SUE lt td gt Inputs lt td gt lt td gt State lt td gt lt td gt Counter lt td gt lt td gt Outputs lt td gt lt td gt State lt td gt lt tr gt lt tr gt lt th gt lt w amp t_tags input0 gt lt th gt lt td w amp t tags bci0 w amp t tags i0 td lt td gt lt w amp t_tags c0 gt lt td gt lt th gt lt w amp t_tags output0 gt lt th gt td lt w amp t_tags bco0 gt gt lt w amp t_tags 00 gt lt td gt lt tr gt lt tr gt th w amp t tags inputl th td w amp t tags bcil w amp t tags il td td w amp t tags c1 td th w amp t tags outputl th td w amp t tags bcol w amp t tags ol td lt tr gt lt table gt Subject to errors and modifications 161 W amp T Own web applications lt p gt last update lt w amp t_tags time gt lt p gt lt form action home htm method GET gt lt w amp t_tags reload_button gt lt form gt lt br gt lt a href index htm lt w amp t_tags session gt target _top gt Reload Web IO Digital Homepage lt a gt lt div gt lt body gt lt html gt The page looks like this in the browser WEBIO2x2Digital Von der Klemme direkt aufs Netzwerk Inputs State Counter Outputs Input 0 OFF 0 Output 0 OFF Input 1 OFF 0 Output 1 OFF last update Mo KW10 07 03 2011 11 11 59 Reload Reload Web IO Digital Homepage
100. able you can alternatingly enable or disable both protocols For detailed information refer to the section Configuring the network parameters System Name To support any automatic updating of the DNS system by the DHCP server the Web IO identifies itself within the DHCP protocol with its system name The factory default setting for this is WEBIO_ followed by the last three places of the Ethernet address For example the factory set system name of a Web lO with the Ethernet address 00 c0 3d 01 02 03 is WEBIO 010203 Subject to errors and modifications 273 W amp T Assigning the IP addresse The system name of the Web IO can be changed in the configuration For additional information refer to the section Menu Config Device Text Lease Time The lease time determined and transmitted by the DHCP server specifies the Time To Live of the assigned IP address After half the lease time has expired the Web IO attempts to extend the time for the assigned DHCP server and up update the address If this is not possible by the time the lease time expires for example because the DHCP server can no longer be reached the Web IO deletes the IP address and starts a new cyclical search for alternate DHCP servers for the purpose of assigning a new IP address Because of the absent clock the lease time associated with the current IP address is no longer available after a reset After the restart therefore a corresponding update request is iss
101. all parameters in Hostorder Low Byte First BOX VERSION bv Port UDP BOX INFO 8513 BOX DESCRIPT bd PORT DESCRIPT pd ACT PROCESS WT INTERN3 pragma pack The structure PORT_DESCRIPT does not have to be evaluated for the Web IO It is intended only for information pertaining to W amp T Com Servers Subject to errors and modifications 287 W amp T Network inventory via UDP AX All variables of type integer and long are represented in host order This means the low bytes come first The IP Adresse 172 17 2 3 appears for example in byte sequence 3 2 17 172 UDP packets are connectionless and unsecured datagrams Especially when using with broadcasts both your own request packet as well as the reply packet from the Com Server can become lost To be sure you have gotten all the Com Servers installed in a subnet the request broadcast should therefore be repeated as necessary 288 W amp T Error messages 7 7 Error messages and causes The following list provides an overview of all the error messages that can be shown in the report under Diag gt gt Report Error no Error message 0 Device status System Network fault or configuration error DNS Format error in the DNS query DNS Internal DNS Server error DNS Name does ot exist DNS DNS query type not supported DNS DNS query was rejected DNS DNS Server cannot be reached DNS DNS Serve
102. amp T Introduction 1 1 Overview of potential uses Depending on the configuration the outputs inputs and counters on Web IO boxes can be accessed in various ways 1 1 1 Browser access In the simplest case the inputs and outputs on the Web IO can be accessed directly from the browser The Web lO provides finished Web pages for this purpose For PC browsers The home and the user page display the self refreshing status of inputs outputs and counters It is also possible to switch the outputs and clear the counters For smart phone The Smart page provides a very compact overview optimized for the display size of mobile phones of the status of inputs outputs and counters In addition the outputs can be switched Your own Web pages Of course it is also possible to display the 105 and counters of the Web IO on your own Web pages and replace the pre prepared pages with your own 1 1 2 Box to Box In this mode the outputs one Web IO follow the inputs of another This is how you would send switching signals between two locations over the network 1 1 3 Time based switching The outputs on the Web IO can be switched on a time basis There are two ways to configure the switching times W amp T Introduction Use of a local calendar program Programs such as Outlook or Sunbird allow you to export events the switching times are treated as events as an iCal file The Web IO can import these iCal files and convert them into s
103. any errors there are currently The associated error numbers are also sent By using the static error list a readable error can be output Direct evaluation of the current errors To get the current error status of the Web IO you can use the command GET diagnosis PW password amp The Web IO responds with 22222222 XXXXXXXX In 2222 the Web IO returns the number of current errors in 4 place hex format ZZZZZZZZ yyyyyyyy may be ignored for normal standard applications For expert programmers yyyyyyyy are two 32 bit values each in 8 place hex format THe resulting 64 bits substitute for the 64 possible error types By using the static error list see GET diaglist the individual bits can be decoded The LSB appears to the right in the x range and the MSB to the left in the y range Subject to errors and modifications 201 W amp T UDP command strings To get the current errors as an error text the Web lO provides the command GET diagnosisx PW amp Here x is the index for the error in decimal format beginning with 1 The reply from the Web IO then looks as follows diagnosisx errortext In contrast to the error texts which are read from the Web IO using diaglist the error text for diagnosis may also contain dynamic elements such as IP addresses or port numbers Example The application sends GET diagnosis PW wu
104. ata Baste Settings Timeout outputs swich to the configured safety states omm Power 150mA T a internal 24V enable 1 UpPowrtoad jo emporary Storage Undo Leges 0v Required access rights Administrator At least one or all outputs used must be activated for HTTP If you have changed the output modes click on the Temporary storage button Then you must configure and activate the Web IO for TCP client communication In the navigation tree select Config Basic Settings HTTP Client Required access rights Administrator Subject to errors and modifications 191 W amp T TCP UDP command strings HTTP Client HTTP Client enable Enable GET Header enable GET HTTP enable Local Port UTO Server Port 80 Server IP Addr 1040221 3 Server URL Inactive Timeout Time 100ms 2000 Input Trigger Input 0 Iv Input 1 Time Trigger Output of the alarm triggered by timer Field Input Number Minute Hour Day_of_month Month Weekday ieee Storage Undo Logout HTTP Client This field must be acvitated for the Web IO to operate as a TCP client Enable Activate this field if you want to precede the data sent by the Web IO to the server application with a header Example B The IP address of the Web IO is 172 16 232 17 B As a Device Name W amp T Web lO 12xDigital was entered under Config Device Text Th
105. atible or Socket Device mode is used All structures begin with the same header which consists of the following 4 WORDS 16 bit Integer IE EL E eu Word 16 Bit 2 Byte of structure Start 1 always 0 16 Bit Value EN NN Word 16 Bit 4 Byte of structure 3 Byte of structure Start_2 always 0 16 Bit Value 2 ETET igh Byte ow Byte Word 16 Bit puse StructType structure typo 16 Bit Value 10 7 igh Byte Word 16 Bit StructLength 9016 80 Start 1 Start 2 Start_1 and Start 2 are there for reasons of compatibility with earlier models but they are not used Both values are always 0 StruktTyp The value struct typ identifies the structure Both the PC application and the Web IO use the value struct when data are received to determine how the structure should be evaluated StructLength length indicates the total length of the structure in bytes i e including the first 4 WORDs Note The following applies to all IO structures A word corresponds to 16bit integer Subject to errors and modifications W amp T TCP UDP Binary A char corresponds to one byte 8bits A long corresponds to a 32bit integer Hexadecimal format Ox in front of the value PN sending and receiving the variable Low Byte first applies to all structure variables Start 1 Start 2 StructType StructLength 1515 1213 1201 13 21
106. ator Select in the navigation tree des Slave Web IO Config gt gt Device Basic Settings Binary 1 Set TCP Server as the Operation Mode Then click on Temporary Storage to send the changes to the Web lO 66 W amp T Enable Box to Box Config Device Basic Settings Binary 1 ModBus Slave Socket Device Depends on application 50xxx compatible Depends on application TCP Server TCP Client C UDP Peer Iv Enable BINARY 1 Free memory 20713 Bytes fener Storage Undo Logout Now select Config gt gt Device gt gt Basic Settings gt gt Binaryl gt gt TCP Server Local Port Client HTTP Port Input Trigger Application Mode Local Port Port No 1 65534 49153 Control port in order to establishing and clearing connections B IV Input 0 IV Input 1 C Socket device C Compatible 50xxx Box2Box Slave OPC Device ModBus en Storage Undo Logout Unless your network administrator has given you other instructions the factory default port 49153 can be used Subject to errors and modifications 67 W amp T Box to Box A reason for changing the factory default Local Port might be for example a firewall that only allows certain port accesses any case the Local Port for the slave must be identical with the Server Port entry of the master Client HTTP Port Specifies the HTTP port on which the control connection t
107. ator A time server can be used to synchronize the internal clock of the Web IO The Web IO checks against the time server after it is powered up There is also a daily time synchronisation at a selected time every day Subject to errors and modifications 239 W amp T Time Date To enter the necessary settings for the time server select in the navigation tree Config gt gt Device gt gt Time Date gt gt Time Ser ver Home UTC Server1 Name or IP address of the timeserver B Hseeimpog Ul S E Config UTC Server2 Name or IP address of the timeserver e 3 Session Control Jeuropepoolniporg i gt b Sync Time Synchronisation time with the time server In il L New Password o n Enable V Apply TimeServer amp n a SNTP Service TimeZone Storage Undo _Logout O Summertime L Start Stop p Time Server Device Clock UTC Servers 1 2 Enter here or two time servers that be reached from the location of the Web lO Sync Time The hour the time will be synchronized with an external time server Synchronization with the time server takes also place approx 30 seconds after the Web IO is turned on or after a reset If the Web page of the Web IO is opened immediately after a new start the old unsynchronized time will still be displayed Only after opening the page again will the current time of day be shown Enable Select Apply Timeserver so t
108. aults Up Download E A 22 Open port for an update from a non Windows system Doc Manual TFTP Update ummy Mend susblenden Clicking on this button resets any existing old connection parameters and opens the Slave box for a new connection Subject to errors and modifications 79 W amp T Time Switch 5 3 Time Switch Using the Web IO as a Time Switch The Web IO Model 57637 in addition to its normal range of functions can also be used to switch the outputs on a timed basis 5 3 1 Activate the outputs for timed switching From the Web IO navigation tree select Config gt gt Device gt gt Output Mode W amp T Config gt gt Device gt gt Output Mode Weblo Output Select here by which operation mode the respective outputs are controted Mask outputs are joined into group the according consecutive rows have the Wob 2x2 same colour eer Name ps 4 SNMP 1 Binary 2 Logic Switch User lOuputQ 3 Contig f 9 oj Session Control e i e i e t e Logout Select all Profiles 1 New Password eg Dmte Satety Aller expiration of this interval lime in 100ms without receiving cata Text Timeout outputs to te configured safety states C TmeDate Basic Settings Snar Power 150mA gt Asm s Pons intemal 24V enable S UpDewnisad Fre
109. be used together for incremental directional counting Here the counter which first detects the change is incremented 3 1 3 Output circuit a 2 a 2 3 E 5 5 s e g 24V E 1 2s e g 18V Subject to errors and modifications 25 W amp T Connections operating elements and LEDs The 2 outputs on the Web IO are current sourcing The supply voltage for the outputs may be between 6 V and 30 V DC and is introduced on terminals Vdd and GND Each output should switch a maximum of 500mA To achieve higher switching currents both outputs can be combined and switched together The maximum switching current is the sum of the individual currents For 2 outputs this is max 1A When powering using PoE the outputs may alternately be supplied by the internal 24V auxiliary power PoE Power over Ethernet Network Power Status c i 8 Outputs Vdd GND Inputs ib E max 150mA In this case both outputs together have a maximum switching current capacity of 150mA The auxiliary power is protected by a self resetting thermal fuse In case of overload the voltage is turned off and is not available again until several minutes after removing the load The internal auxiliary power must first be activated using Web Based Management Log in as administrator and select Config Device Output Mode in the menu tree 26 W amp T Connections operating elements and LEDs
110. by clicking HTML Upload The name of the file does not matter Whether the file is being uploaded as a home user or smart page will be determined in the first line of the page source text lt user htm gt lt DOCTYPE html PUBLIC W3C DTD HTML 4 01 Transitional EN lt html gt lt head gt The Web IO removes the first line after uploading before the page is saved which is why there is no associated closing tag Using W amp T Tags As described in section 5 1 4 Labeling and texts the Web IO itself can be used to freely name and label inputs outputs and counters A corresponding display in the browser is accomplished by using W amp T tags W amp T tags are placeholders which are replaced 158 W amp T Controling the Web IO with TCP IP Sockets by the Web IO when sending the Web page to the browser using the stored names This makes it possible for one and the same Web page to have a different appearance in different Web lOs These tags consist of lt wet_tags and the actual function invocation lt w amp t_tags time gt for example shows the current system time and the date in the browser There is a special feature of the W amp T tags which show the status of the outputs and the counter states of the input counters lt w amp t_tags ox gt and lt w amp t_tags cx gt When there is an administrator or operator login the displayed contents ON OFF or counter state has a hyperlink Clicking on
111. by not changed The 3 LEDs for the Ethernet connection are not affected by this test 266 W amp T 7 Appendix B P address assignment alternatives B Firmware update B Emergency access B Port numbers and network security B Timing and signal processing limits B Error messages and their causes B Technical data B index Irrtum und nderung vorbehalten 267 W amp T Assigning the IP addresse 7 1 IP address assignment alternatives In most cases in which the IP address is not assigned using DHCP the simplest method is to use the WuTility tool for assigning an IP address to the Web IO see section 2 2 In exceptional cases or if no PC with a Windows operating system is available the following alternatives are available Bl Using the ARP command Bl Using the serial port Bl Using RARP protocol Bl Using DHCP protocol Bl Using BOOTP protocol 7 1 1 Assigning the IP address using the ARP command AX This method can only be used if the Web IO does not yet have an IP address i e if the entry is 0 0 0 0 To change an IP address use one of the other methods described in this section or use the menu item Config Device Network in the Web Based Management of the Web IO An additional prerequisite is a computer which is located in the same network segment as the Web IO and on which TCP IP protocol is installed Read off the Ethernet address of the Web from the sticker on the side of the housing 5763x Model EN
112. connection with the Admin password if set B One time activation using Config gt gt Session Control gt gt Log out and the Firmware Update button Reset using Port 8888 Opening a connection e g using Telnet to Port 8888 allows the device to be reset Here you must give the Admin password if set right after the connection is opened This immediate sending of the password is impractical by manual means and should be performed by a program The consequences of a reset are the same as for a momentary interruption of power or pressing the Reset button on the device 7 4 5 Restoring the factory defaults Restoring the factory faults allows you to undo all the security settings made previously Among other things the Admin user is no longer password protected This option thus represents also an emergency access for cases where the password has been forgotten or in emergencies where the persons who know the passwords are not available Admin authorization is required to reset the factory defaults via software over the network The factory defaults can however be restored through the serial port of the Web IO by pressing a key combination after powering up or after a reset In any case you should be sure that only authorized persons have physical access to the unit including the serial port which may mean keeping the device in a lockable control cabinet Subject to errors and modifications 283 W amp T Signal and connection
113. cting Web IO 12xDig In 12xDig Out Inputs Reset Device State 17 18 19 20 21 22 23 24 25 26 27 28 29 3031 32 l LEDs E Ethernet 12x Digital Input 12x Digit ea http RS232 Port Y NE A 3 4 8 6 7 9 10 1112 13 14 15 46 OO Outputs Supply Voltage Input 3 2 1 Supply voltage input The supply voltage is connected to screw terminals 1 and 2 The included 230V plug in power supply is equipped with a special plug on the low voltage side Alternately an existing voltage of between 12V and 24V can be connected Since the Web IO can operate on AC or DC voltage the polarity of the supply voltage is not an issue To prevent cable breaks we recommend fitting the ends of the conductors with crimp contacts Ae 15 and 16 supply only the switched outputs and require a DC voltage Please read the section Input and Output connections and LEDs before applying power 3 6 Input and Output connections 28 W amp T Connections operating elements and LEDs 3 2 2 Input circuit The Web IO 12xDigital has 12 digital inputs divided into 3 groups of 4 inputs The groups are galvanically isolated from each other for up to 2kV A reference ground is brought out for each input group The permitted input voltage range is 30V with respect to the corresponding reference ground The switching threshold of the inputs is 8V 1V Voltages less than this are interpreted as an OFF or 0 signal Voltages over 8
114. d since otherwise there would be runtime errors The following applies to processing inputs outputs and counters If the corresponding polling is enabled the associated JavaScript function must be declared in the HTML text so that runtime errors are avoided AS you want the password to be automatically transmitted when the Web page is opened opening of the setPassword function must be located behind the applet tag In this case the password is stored unencrypted readable in the source text For security reasons we therefore recommend password prompting with an entry field Write functions To also permit individual access to the outputs the applet provides corresponding functions Subject to errors and modifications 177 W amp T Own web applications function setOutput iDevice iOutput iValue i0ut 0 iout Math pow 2 iOutput document applets dio iDevice outputAccess iOut iValue If you wish to use JavaScript to access the outputs preceding functions should be inserted into the header of the Web iDevice indicates on which Web IO an output will be switched iOutput indicates which output to set and iValue is set to OxOFFF if the output is supposed to be turned ON 0x000 corresponds to OFF Within the function the JavaScript command document applets dio iDevice outputAccess iOut iValue is used If you want to switch more than one output at a time you can use this command in your own
115. d into 3 groups of 4 inputs The groups are galvanically isolated from each other for up to 2kV A reference ground is brought out for each input group Subject to errors and modifications 33 W amp T Connections operating elements and LEDs The permitted input voltage range is 30V with respect to the corresponding reference ground The switching threshold of the inputs is 8V 1V Voltages less than this are interpreted as an OFF or 0 signal Voltages over 8V are interpreted by the Web IO as ON or 1 Input voltages between 7V and 9V should be avoided since they cannot be definitively interpreted system orror S http This connection example shows two inputs being driven with signals from different circuits It is important that all signals for an input group have the same ground reference For signals with with a different reference ground the circuit should be configured in separate input groups as shown in the example If the inputs will be monitoring the states of potential free contacts the supply voltage Vcc can be connected to the inputs through the contacts In this case VCC must be connected to a DC voltage of 12 24V 34 W amp T Connections operating elements and LEDs Serial Port 123 4 5 6 7 8 9 10 11 12 13 14 15 16 o 12 24V DC The cables should not be longer than necessary Unshielded cables can be used for lengths under 2m Longer runs should always use appropriate shielding meas
116. de you can check whether the session was successfully opened Il Session open Web IO in Configuration Mode Opening of the session failed Check whether the password was incorrectly entered Il Subject to errors and modifications 97 W amp T SNMP After successful opening of the session the variables defined in the private MIB can be used to make any desired configuration changes or input and output accesses Changing an output To change the state of individual outputs after a successful session login use the SNMP variable wtWebioEA12x1l20utputState To specify which output you want to change the number of the output must be appended to the corresponding OID separated by a decimal point A value of 1 for ON and 0 for OFF is used Here for example Output 7 is set to ON Changing all outputs at the same time In addition to setting individual outputs you can change all outputs at once To do this use the SNMP variable wtWebioEA12x120utputValue Sent is the integer value which corresponds to the binary pattern of the outputs 98 W amp T SNMP Example Set Output 0 and Output 2 to ON All other outputs should assume the OFF state The value you send is calculated as follows 1x29 0x2 1x2 0x2 0x24 0x25 0x29 0x27 0x28 0x2 0 210 0x21 5 Changing multiple outputs Finally the Web IO allows you to set multiple outputs at once while leaving othe
117. e Signal and connection timing The latency time specifies how much time from the occurrence of a signal change is required before the corresponding message arrives at the communication partner Access mode Socket Access Web IO as TCP Server Binary Socket Access Web IO as TCP Client Binary Socket Access Web IO as UDP Peer Binary Socket Access Web IO as TCP Server Command String Socket Access Web IO as TCP Client Command String Socket Access Web IO as UDP Peer Command String Box To Box SNMP Alarm via Email Alarm via SNMP Trap Alarm via Syslog Alarm via FTP Alarm via Alarm via UDP Logic Input detection time between signal changes 50ms 150ms 120ms 600ms 300ms polling only 50ms polling only 20s 10s 10s 2s 2s 2s 2ms Output switching time between signal changes 30ms 30ms 30ms 30ms 30ms 30ms 50ms 100ms The times given here are reference values for exclusive access ina local non loaded network Depending on the network environment and application these values may vary significantly especially if multiple modes are used in parallel Subject to errors and modifications typical latency 30ms 30ms 30ms 30ms 30ms 30ms 30ms 30ms 20s 10s 10s 2s 2s 2s ims 285 W amp T Network inventory via UDP 7 6 Network inventory via UDP Larger installations especially often require inventorizing of the Web lOs or also W amp T Com Servers currently located in the ne
118. e Modbus memory B Smart IO status optimized for smart phone display 5 1 1 The Home page The Home page provides the user with the status of the inputs counters outputs and configured alarms all self refreshing W amp WEBIO 05372A Von der Klemme direkt aufs Netzwerk Wee Aktualisierung Fr 28 01 11 10 34 13 Web lO 2x2 Digital Inputs Outputs eres Name Status Counter Name Status Home InputO OFF 0 OutputO OFF iC User Input 1 OFF Output 1 OFF 0 Smart L Config C Diag amp 7 Doc Men ausblenden Time Switch Preview To be able to operate the outputs as well it is necessary to log in to the Web IO from the navigation tree as an administrator or with operator rights The factory default setting of the Web IO is for the Home page to be visible next to the navigation tree To display only the Home page when opened in the browser there are two possibilities 1 Entry in the address line http lt ip address gt home 2 Configure the Web IO so that only the Home page is displayed 56 W amp T HTTP Inputs and Outputs control from the Browser To do this log in as administrator and under Config De vice Basic Settings HTTP select home htm at Start Up Config gt gt Device gt gt Basic Settings gt gt HTTP User Smart Startup index htm 9 amp Config home htm i amp Session Control C user htm rin Device GET Header enable i Text EIE A Timeiate G
119. e Save button saves all your settings The Web IO now functions as TCP server which results in a three part program sequence regardless of which programming language is used 1 Opening of the TCP connection The application always acts as a client and therfore opens the TCP connection The socket interface of the Web IO is broadly derived from HTTP protocol This means that the Listen port is factory set to TCP Port 80 and corresponds to the configured HTTP port To use a different port it is possible to change the HTTP port using Config gt gt Device gt gt Basic Settings gt gt HTTP m Required access rights Administrator EL user Startup index htm i p Smart C home htm 6 3 Config user htm amp 7 Session Control C smart htm Enable I GET Header enable H O Text amp j Timeiate GET HTTP enable C3 Basic Settings Port Default Port 80 Language 80 L Network HTTP Input Trigger Input 0 HTTP Client Input 1 j Mail SNMP Temporary Storage Undo Logout Syslog 184 W amp T TCP UDP command strings Under HTTP port you may enter a TCP port for HTTP access which is different from the standard Port 80 If the port is changed the Web IO will only be reachable from the browser by specifying the selected HTTP port Adresse http 172 16 232 17 85 index htn Example for HTTP Port 85 This applies to all co
120. e Web IO receives any IP address from the address pool of the DHCP server unless a special address reservation has been made Assured use of the Web IO server services is then only possible if there is automatic synchronization in the network between the DHCP and DNS server The Web IO is then uniquely addressable using the De vice Name Alternately the Web IO can obtain an IP address using the older BootP protocol but this requires an address reservation on the DHCP BootP server for trouble free operation If the Web IO will not be taking part in central IP address assignment via DHCP or BootP choose static DNS Server With some network partners for example mail and time servers it is recommended that these not be addressed using their IP address but rather using a name A DNS server is required to resolve names into IP addresses If DHCP BootP is used for assigning the network parameters the Web IO also gets the address of the DNS server automatically assigned The field DNS Server by DHCP is filled in by the Web IO The user can not make changes to this entry There are two additional fields available for manual entry of DNS servers Subject to errors and modifications 51 W amp T Configuring the network parameters To search an IP address for a name the Web IO first turns to the automatically assigned DNS server If the latter cannot be reached or if the entry is missing the Web IO tries DNS servers 1 and 2 U
121. e exact memory organization can be found later in this section Both the Function Code and Start Address determine what the sent request should trigger for the Web lO Other parameters and registers Depending on which Function Code is used other parameters and registers may follow Function Code 0x01 Read Coils Function Code 0x01 is intended for binary reading of the status of the Web IO outputs Transaction ID Protocol ID Length Unit ID Function Code TEE EET emper Ol Fase 2 Start Address popapspopepore pa 7 pep 5 T4 3 2 o High Byte Low Byte Quantity of 11 Byte 12 Byte Outputs Start Address Specifies starting at which address bits outputs should be read Quantity of Outputs Here the number of bits outputs to be read is transmitted By sending a data packet with FC 0x01 one or more Boolean values output states i e 0 1 or ON OFF can be requested W amp T Modbus TCP The Web IO replies as follows Transaction ID Protocol ID Length Unit ID ISI BET TS 01 Function Code 8 Bit Byte EEEE 9 bye Byte Count 8 Bit Byte A000080 Byte 10 Byte Output State LTIELEBELI woe Bytes Count Contains the number of send bytes which contain the requested bits One byte per 8 started bits is sent That means starting with the 9th bit 2 bytes are sent Output State Number of bytes as sent in Byte Count The first State Byte 10th byte contains beginnin
122. e function CommandLoop combines the HTTP requests and sends them to the DataRequest function function CommandLoop var commandstring applicationstep switch applicationstep 168 W amp T Own web applications case 1 commandstring input PW iopassword amp break case 2 commandstring output PW iopassword amp break case 3 commandstring counter PW iopassword amp applicationstep 0 break DataRequest commandstring maintimer setTimeout CommandLoop interval The DataRequest function is the heart of this JavaScript It receives the HTTP request and sends it to the server Web lO The DataRequest function also receives the reply from the Web and sends it to the updateDisplay function function DataRequest SendString f var xmlHttp if window ActiveXObject Internet Explorer xmlHttp new ActiveXObject Microsoft XMLHTTP else if window XMLHttpRequest Mozilla Opera und Safari xmlHttp new XMLHttpRequest if xmlHttp xmlHttp onreadystatechange function if xmlHttp readyState 4 if xmlHttp status 200 if xmlHttp responseText length gt 0 updateDisplay xmlHttp responseText j xmlHttp null xmlHttp open GET SendString true xmlHttp setRequestHeader Connection close Subject to errors and modifications 169 W amp T Own web applications xmlHttp setRequestHeader I
123. e in normal Modbus TCP environments the local port of the Web IO must be set to 502 Client HTTP Port This port is not used for Modbus TCP access and can remain at the factory default setting 80 Input Triggers The Input Trigger are not permitted to be enabled for Modbus TCP operation Application Mode Check Modbus 110 W amp T Modbus TCP After all the parameters have been entered confirm by clicking on the Apply button Now select in the navigation tree Config Device Output Mode Output Mask Name HTTP UDPASCI SNMP Binary1 Binary Outputo c 6 Output 1 e C Select all c Safety After expiration of this interval time in 100ms without receiving data Timeout outputs switch to the configured safety states Power Max 150mA Internal 24V enable Storage Undo Logout Here you activate the outputs you want to be controlled by the Modbus client for Binary 1 and confirm by clicking on the Apply button Now you must still activate the new settings Use the Logout button or select Config gt gt Session Control gt gt Logout Save new configuration aH Exit without saving Abort After clicking on Apply all the settings are updated in the Web and the Start page is reconstructed in Default User Mode The Web IO can now be accessed by the OPC client Modbus TCP communication Modbus TCP is a maste
124. e memory 30021 bytes gt __ Diag E gea Here you activate the outputs you want to switch on a timed basis and confirm by clicking on the Apply button When the Web IO is operating in Output Mode Time Switch it can still be switched using the preset normal operating mode This means that the output state set by the time switch can still be changed for example from the browser The next timed switching action does then change the manually set state 80 W amp T Time Switch Parallel accessing of Logic and Time Switch is not permitted 5 3 2 Load the switching defaults The Web IO does not have a configuration interface for setting the time switch Instead there are two ways of loading the control data into the Web IO in the form of an iCal calendar file B Load the iCal file from an online calendar directly over the Internet B Load the iCal file from the local PC 5 3 3 Load switching times from an online calendar Here we show an example of how to manage the switching times using the Google calendar To use the functionality of the Google calendar you must set up a corresponding user account at www google com Please note the terms of use for the Google account which you agree to when setting up the account You may of course use any other online calendar which provides a public link to the iCal file associated with the calendar Each of the two outputs requires its own calendar in which you ent
125. e server application queried the inputs using GET input PW amp The Web lO sends 192 W amp T TCP UDP command strings 172 16 232 17 W amp TWeb I012xDigital input 0000 If GET Header enable was activated the header precedes all the data sends from the Web IO In server applications that can accept more than one connection this makes it very simple to distinguish from where the data is coming Local Port Enter the desired local port in the Local Port field The factory default setting is AUTO and the Web IO uses the next available port Server Port Here you enter the port on which the server application accepts the connection Server IP Adress Here you enter the IP address of the PC to connect to Inactivity Timeout After the timeout time entered here the Web IO automatically closes the connection to the server The timeout time starts as soon as there is no more data traffic on the connection Input Trigger Here you highlight all inputs that are supposed to trigger a connection opening or input status packet for the server application when there is a status change Time Trigger In this area you can configure a time controlled connection opening Field Input Number Range of values Minute 0 59 Hour D232 0 23 0 is midnight Month SCS 1 31 Month P gt 1 12 Weekday 5 0 6 0 is Sunday Subject to errors and modifications 193 W amp T
126. e you can provide a more detailed description including for example the function of the output which can then be viewed by clicking on the Output link in the browser Group Mode The outputs can be combined into groups of two or four to increase the maximum switching current Combining two Subject to errors and modifications 249 W amp T Port configuration outputs allows you to switch a maximum current of 1A With four outputs this increases to 2A not applicable to with relay outputs Safety State Select Safety State Enable if you want the output to be set to a fixed state when there is a fault Specify whether the output shall be switched to the ON or OFF state This will only have an effect if a time is selected for Safety Time out in Config Device Output Mode A detailed description of Safety State can be found in the section Safety Timeout State Send the settings to the Web IO by clicking on the Temporary Storage button Once you have made all the entries pertaining to the alarm activate the new settings under Config gt gt Session Control LogOut Save Outputs that are combined in a group should be configured for the same operation mode Otherwise conflicts can arise if for example Outputs and 1 are in Box to Box nmode and Outputs 2 and 3 can be switched from the browser since each access switches all the outputs in a group at the same time An overview of the configured outpu
127. eadable command set based on HTTP is used Communication via binary structures In this mode communication takes place via binary data structures In the last two variations the Web IO can function as a TCP client or server or even as a UDP peer All programming languages which permit TCP IP communication are suitable for programming applications for the Web IO C C C VB VB net JAVA Delphi Lazarus Pearl Python Even access from embedded systems and PLCs is possible 1 1 6 Email and more information when status changes The Web IO has an internal alarm system An alarm can be triggered by the occurrence of certain conditions on the inputs outputs or counters The following methods are available for sending the alarms Email SNMP Trap SYSLOG Message to TCP Server Message via UDP FTP W amp T Introduction 1 1 7 Acquiring switching states Messages via the Web IO alarm system To capture the switching states of the Web IO with a time stamp you can also use the alarm system of the Web IO In addition to a status change in the 105 a timer can be used as the trigger Practical methods of data storage are SYSLOG Message to TCP Server Message via UDP FTP E mail and SNMP traps can also be used Acquiring IO states in the W amp T Motherbox The W amp T Motherbox is a Web server which also provides a MyS QL database for storing the data from Web lO products There are two recording models to choose
128. ecimal s unsigned decimal u hexadecimal x adress offset two digits hexadecimal Example At address 7004 Modbus wrote the 16 bit value 0 4711 The alarm text was configured the Web IO as follows lt t gt Register 4 has the following value lt rwx04 gt The received alarm message would look like this 2011 02 22 10 34 21 Register 4 has the following value 4711 a All the details and possibilities for Web lO alarm messages are described in the following section E mail and more alarm when status changes Subject to errors and modifications 129 W amp T Modbus TCP Modbus memory organization bit area addresse description memory length read bits read reg Write bits write reg hexadec type byte with FC with FC with FC with FC 0x01 0x02 1001 Input 1 bit 1 0x01 0x02 0x01 0x02 1003 Input 3 bit 1 0x01 0x02 0x01 0x02 1005 Input 5 bit 0x01 0x02 0x01 0x02 1007 Input 7 bit 0x01 0x02 0x01 0x02 1009 Input 9 bit 0x01 0x02 0x01 0x02 100B Input 11 bit 0x01 0x02 0x01 0x02 1021 Output 1 bit 0x01 0x02 0x01 0x02 1023 Output 3 bit 0x01 0x02 0x01 0x02 1025 Output 5 bit 0x01 0x02 0x01 0x02 1027 Output 7 bit 0x01 0x02 0x01 0x02 1029 Output 9 bit 0x01 0x02 0x01 0x02 102B Output 11 bit 0x01 0x02 0x01 0x02 1041 Alarm state 2 bit 0x01 0x02 0x01 0x02 1043 Alarm state 4 bit 0x01 0x02 1 0x01 0x02 1045 Alarm state 6 bit 0x01 0x02 l 0
129. ed dial up connections too short an interval can result in this connection remaining open while charges continue to accumulate Application Mode In UDP peer configuration there is no difference between the Default and Compatible 50xxx modes Once you have made all your settings send them to the Web by clicking on the Temporary Storage button In addition you must enable the corresponding inputs for binary mode Under Config Device Output Mode select the desired binary access Required access rights Administrator Home Save new configuration P L User Save Smart Config eC Exit without saving Abort L New Password Once you have made all your entries send the setting to the Web IO by cliking on the Logout button Clicking on the Save button activates the settings Subject to errors and modifications 215 W amp T TCP UDP Binary Passwort protection As already mentioned several times the Web IO in TCP server mmode makes it possible to protect access to the application by means of a password Before the actual connection to the Web IO is opened the BIN INFO structure defined here must be sent to Port 80 of the Web lO over a separate TCP connection The Web IO also uses the BIN INFO structure for its reply The BinInfo structure BES REE EGS 3902 is ene Ekl PEP PE lt Pessword gt HTTPLogin String String 5 14 13 12 1110 9 8 716 5 4 13 2 1 0
130. ed off If no load is detected it works also Over or underload can also be used as an alarm condition To do this select Load Control under Config gt gt Device gt gt Alarm gt gt Alarml System Trigger System Trigger Load Control Interval Timer Cold Start Warm Start PN When an overload occurs the corresponding output can be enabled again after eliminating the overload by opening Diag Report in the navigation tree and clicking on the Cancel Report button An Alarm Clear message is issued when the affected output is enabled Time based alarm Activating Interval Timer can allow the Web IO to regularly issue alarms at intervals specified under Interval regardless of the input and output state Subject to errors and modifications 135 W amp T Alarms System Trigger Load Control Interval Timer Cold Start warm Start In this way you can for example implement a keep alive monitor At which times the alarm is triggered is determined in the area Time Trigger Time Trigger Uhrzeitgesteuerte Ausgabe des Alarms Feld Eingabe Zahl m glicher Zahlenbereich Minute 05915 0 59 Stunde 8 17 0 23 0 ist Mitternacht Monatstag 1 31 1 31 Monat 1 12 1 12 Wochentag 5 o 0 ist Sonntag The syntax for the time setting is derived from the Cron format used in Linux Unix Multiple entries separated by commas can be entered in one field The
131. em Error and On Error Bit 0 2 1 corresponds to System Error Bit 2 1 corresponds to ON Error All other bits have no meaning for the Web IO and are sent as 0 Incorrect master requests If the Modbus TCP master is supposed to send requests to the Web IO which cannot be processed by the Web IO in terms of form and number of parameters or with respect to the selected 124 W amp T Modbus TCP register address the Web IO returns a Modbus packet whose structure corresponds to a reply to Function Code 0x07 In such cases the Web IO adds 0x80 to the received Function Code and sets this code into its own packet The Exception Code includes additional details about the error 0x01 Function Code not supported by Web IO 0x02 Write attempt to read only area 0x03 Write attempt with wrong data 0x04 Write attempt to allowed area failed Modbus address areas for Web IO Digital All addresses are given in hex format The Web IO has various Modbus memory areas E Bit area beginning at address 0x1000 B 16 bit area beginning at address 0x2000 B 32 bit area and 2x16 bit area beginning at address 0x5000 Addressing in the bit area is by the bit i e 1 bit requires one address In the 16 bit and 32 bit area addressing is by the word 2 bytes Inputs Are located in the bit area beginning at address 0x1000 Example 57637 0x1000 and 0x1001 in the 16 bit area beginning at 0x2000 in the 16 bit area beginning at 0x2000 Example
132. ent enable JEDE Storage Undo Logout Send the settings to the Web IO by clicking on the Temporary Storage button Once you have made all the entries pertaining to the alarm activate the new settings using Config Session Control LogOut Save 5 5 6 Alarm message to a TCP server You can also send an alarm messag to a TCP server If there is an alarm the Web IO opens TCP connection to the configured Server and sends the message The server hat to close the connection after recept of message To activate TCP client for alarm transmission select in the navigation tree Config gt gt Device gt gt Alarm gt gt Alarm and select TCP Client Enable in the Enable area Required access rights Administrator Enable Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable ser Storage Undo Logout Send the settings to the Web IO by clicking on the Temporary Storage button Subject to errors and modifications W amp T Alarms Under Config gt gt Device gt gt Alarm gt gt Alarm gt gt the TCP specific configurations can then be entered Required access rights Administrator IP Addr Name or IP address of TCP server 102402201 Pe Port 8000 TCP Text lt Pump i0 Alarm Clear Text Pump i0 iz Tempora Storage Undo Logout IP Addr Here y
133. entory via UDP Error No Error message 290 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Binary 1 No or invalid oftination IP address System Port number assigned more than once Binary 2 Invalid local port number Binary 1 Invalid local port number Box2Box Access by Slave rejected please check Box2Box settings Box2Box Slave is in Box2Box Master mode Box2Box Master could not be cleared plase log out System Load turned off Details under Diag gt gt Test gt OutputConfig System Clear restart with report Reserved port number please note Manual appendix Time Server Synchronization failed System Data Overrun Error Data in input buffer were overwritten TCP Client Alarm IP address or name of TCP server not entered TCP Client Alarm Port of TCP server not entered TCP Client Alarm Server not reached Syslog Alarm IP address or name of Syslog server not entered Syslog Alarm Port of Syslog servers not entered Syslog Alarm Server not reached Reserved port number Setting changed to Port 80 Mail IP address or name of POP3 server not entered FTP Alarm IP address or name of FTP server not entered FTP Alarm Control Port of FTP Server not entered FTP Alarm Data Port of FTP Server not entered FTP Alarm Data transfer error FTP Alarm No user entry found FTP Alarm No password entered FTP Alarm No account entry found FTP Alarm No file name entered FTP Alarm Serve
134. er 222 W amp T TCP UDP Binary program There are basically three possibilities but they may be combined with each other 1 The user program polls the Web IO by sending the READ structure 2 The Web IO sends the WriteRegister structure with the status of the inputs in a configurable interval 3 The Web IO sends the WriteRegister structure with the status of the inputs after a state change of the configured inputs The SendMode structure Word 16 n 00 0010 Structtype Ord 16 Bt StructLength Bes TETTE TE 10 OX s ye S Mask Wo a pete gger ma sk EEE Ooo Word 16 Bit High Byte Low Byte 12 Bye of stricture 111 of structure Interval sending interval fo input state 16 Bit Value The IO structure ReadCounter The user program sends this structure to the Web IO to request the counter state of a certain input counter Which input is intended is sent in the variable counter index The Web IO always replies with the COUNTER structure The ReadCounter structure ET ETE T Word High Byte Low Byte g 00 onere 0 Start 1 always 0 ps e 5 2 3 2 io Word 4 RES 00 E oboe 0 Start 2 always 0 76 Bit Value S pa pspooppo o 8 7 6 5 4 3 2 1 0 Word 6 dE A 00 5 StructType structure type 76 Bit Value 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 Wo
135. er the switching defaults Google allows multiple calendars to be maintained under a single account Subject to errors and modifications 81 W amp T Time Switch Google calendar Search my calendars Sow starch optors Create event Quick add Today ENDE August 2010 Pim Refresh Day Week Month 4Day August 2010 oo c Mon Tve wea Tw Fri Set MT w 1 f 3 3 1 27 75 29 1 2 3 4 8 9 10 11 12 13 14 15 4 16 17 18 19 20 21 22 23 24 25 26 27 20 29 wn R My calendars Um Tasks Bw 1 m 4 Other calendars Deutsche Feiortape DE To create a new calendar select Add under My calendars C RN Back to calendas seem ume eame Calendar Name Output 0 Deseription It makes no difference what names you assign to the calendars We do however recommend giving a meaningful name so that it is easier to distinguish them when using multiple Web lOs No other entries or changes are necessary at this point To create the calendar simply click on Create calendar If one calendar has been created for both outputs you can enter the desired switching times W amp T Time Switch The Google calendar permits both one time and recurring events To add a new event click on Create event or on the desired day in the calendar Google calendar Evert Create event Quick add Today Tue August 10 im Refresh Day Week Month 4 Day von Set August 2010 oo E eg pm Diosec at Panchz s urwress Gs
136. estseite aufgerufen a href javascript setbacklink Aufruf Testseite lt a gt lt body gt lt html gt This ensures that after jumping back to the Web IO the access rights level is maintained Dynamic Web pages with JavaScript and AJAX The current status of inputs outputs and counters can be requested from the Web IO using HTTP requests The following HTTP requests are supported by the Web lO Subject to errors and modifications 163 outputaccessx errorclear 164 Parameter PW password amp Password must be filled with the Administrator password If no password was assigned enter PW amp applies to all commands PW password amp PW password amp PW password amp Mask XXXX amp State ON OFF YYYY amp NA ON amp ON Output 7 1 OFF Output 7 0 XXXX Hex value between 0000 and OFFF corresponding to the bits to be set yyyy Hex Wert between 0000 und OFFF corresponding to the output bit map PW password amp PW password amp Own web applications Description Input status request x can be a value between 0 11 and indicates the input The reply from the Web IO is a string beginning with inputx followed by the input status ON 7 Signal on input and OFF no signal on input If x is completely omitted the Web IO returns a bit pattern corresponding to the input signals in hex format Counter value request x can be a value between 0 11 and indicates the in
137. eters Once the correct password has been entered the Web lO confirms successful login At this point you can choose between Expert mode and working with profiles Use the Profi les button In the Web page which now appears select the radio button Basic network parameters and confirm by clicking on the Show profiles button In the navigation menu now select the color highlighted item Config gt gt Device gt gt Basic Settings gt gt Network Now go to the navigation menu and select Config gt gt Device gt gt Basic Settings gt gt Network The following screen appears Home Addr 10 40 22 126 Subnet Mask 255 255 0 0 eo Gateway 1040250250 BOOTP Client STATIC BOOTP enable DHCP enable DnsServert IP address of DNS server DnsServer2 IP address of DNS server Keep Alive Time Checking of connections Interval in seconds Enter here the required network parameters IP Addr The IP address may be changed at this point 50 1040250251 pe 1040250252 pel JEDE Storage Undo Logout W amp T Configuring the network parameters Subnet Mask Gateway For data exchange throughout the subnet the appropriate subnet mask and IP address of the gateway must be entered DHCP Client BOOTP Client The factory default configuration is for the Web IO to be able to obtain its IP address and other necessary network parameters from a DHCP server In this case th
138. etwork a few additional network parameters are needed in addition to the IP address To be able to perform the configurations described at this point the Web IO should already have an IP address for the network If this is not the case or if the current IP address of the Web IO is unknown first perform the steps described in section 2 If the Web IO already has an IP address enter this in the URL field of your browser After a few seconds the start page of the Web lO will appear Web IO Digital 2xIn 2xOut Windows Internet Explorer m ni Go z ka x Q Google wet http 10 40 22 126 ir 7 Datei Bearbeiten Ansicht Favoriten Extras wat Web IO Digital 2xIn 2xOut Tp E Dmm Sete Sicherheit Extrasy gt W amp T WEBIO Von der Klemme direkt aufs Netzwerk Web IO Aktualisierung Do 13 01 11 16 35 29 Digital 24 2xOut Inputs Outputs En Name State Counter State Home InputO OFF 0 OutputO0 ON 0 User Input1 OFF 0 Output1 OFF Config Alarme amp 7 Diag Alarm State Alarm State G Doc 1 3 2 4 Men ausblenden Time Switch Preview T T T TFT nene Fa 10 7 Select Config in the navigation menu You are now prompted to enter the correct administrator password As shipped there is no password required and it is sufficient to click the Login button Subject to errors and modifications 49 W amp T Configuring the network param
139. f Modified Since Thu 1 Jan 1970 00 00 00 GMT xmlHttp send null The updateDisplay function evaluates the reply from the Web and correspondingly adjusts the browser display A check is made as to whether the Web IO reply refers to inputs outputs or counters JavaScript uses document getElementByld ID to ide ntify the objects for changing and adjusts their properties to the actual IO status function updateDisplay ReceiveStr 170 var HexVal var state var ReceiveData ReceiveStr split Display Intput state if ReceiveData ReceiveData length 2 substring 0 1 i HexVal HexToInt ReceiveData ReceiveData length 1 for var i 0 i lt 2 i state false if HexVal amp Math pow 2 i Math pow 2 i state true document getElementById input i firstChild data state OFF ON document getElementByTd input i style color state 000000 006600 document getElementById input i style fontWeight state normal bold Display Output state if ReceiveData ReceiveData length 2 substring 0 1 o HexVal HexToInt ReceiveData ReceiveData length 1 for var i 0 i lt 2 i state false if HexVal amp Math pow 2 i Math pow 2 i state true document getElementById output i firstChild data state OFF ON document getElementByTd output i style color
140. f the configuration 18 E Von der Klemme direkt aufs Netzwerk Config Output Modus Group Mode Safety State Load Control G Diag Output 0 Binary 1 0 1 parallel unchanged inactive Output 1 1 0 1 parallel unchanged inactive last update Mo KWO09 28 02 2011 16 52 30 E Conto Binary 1 ModBus TCP Server waiting for TCP Client Check iCal Timer 3 ZD EV Output Power State 0 mA Here you are shown which operation mode the individual outputs are working in Additionally the current status of a Box to Box connection is displayed at the bottom of the Web page 5 2 4 Stopping Box to Box mode Box to Box Modus only by Master Required access rights Administrator 74 W amp T Box to Box Stopping Box to Box mode should always be done using the corresponding configuration of the master The master and slave Web IO must be connected on the network Select in the navigation tree of the master Config Device Basic Set tings Binaryl TCP Client and delete the entry for Server IP Addr Also set Application Mode to Default Confirm by clicking on the Temporary Storage button Then under Config Device Basic Settings Binaryl set the Operation Mode to TCP Server Confirm by clicking on the Temporary Storage button Now select in the navigation tree of the master Config De vice Output Mode and set the outputs that you no longe
141. from various high level languages TCP IP Sockets 5 6 1 Access from the browser In its default configuration the Web IO allows access to the inputs outputs and counters on three ready made Web pages home htm Y Dynamic visualization of the 1 and alarms Y Switching the outputs only after login using the menu tree user htm Y Dynamic visualization of the 105 and the virtual Modbus registers Y Switching of the outputs after a special login on the User page possible v password can be stored in a cookie so that you do not have to log in each time when opening from the same PC smart htm v page optimized for dynamic visualization on smart phones Y Switching of the outputs possible after a special login v password can be stored in a cookie so that you do not have to log in each time when opening from the same smart phone All three pages can be replaced by Web pages you create yourself To do this select Config Up Download Upload Subject to errors and modifications 157 W amp T Controling the Web IO with TCP IP Sockets _ Home i A R ae config xml Upload e Config home htm user htm amp Session Control H iud 5 Device E 7 Logo Upload janufactu Bis P Oupuo _TimeSwitchFile Upload _ Upload c and then click on the HTML Upload button File JE aaaa him Browse HTML EI Undo Select the file you are uploading and confirm
142. functions The variable iOut is a whole number 16 bit value Using for example mathematical functions or sending constants the bits which are supposed to be changed can be set to 1 In iValue you specify for the individual bits whether the corresponding output should be 0 OFF or 1 ON Example in hex format iOut 0x0013 iValue 0x0101 In this case Outputs O and 4 are set to ON and Output 1 to O All other outputs remain unchanged Another function is provided for clearing counters function clearCounter iDevice iValue iVal 0 ival Math pow 2 iValue document applets dio iDevice counterClear iVal When opening this function iValue indicates which of the counters will be cleared 178 W amp T Own web applications n A detailed example for the use of the Java applet is found on the Web page app htm which can be opened in the Web IO Open http lt ip adresse gt app htm 5 6 2 Access from various high level languages The Web IO offers two ways to access using TCP IP sockets Access via Command strings ASCII W Binary structures BINARY Command strings ASCII Depending on the configuration the Web IO works in this mode as a TCP server TCP client or UDP peer By exchanging simple command strings you can read the inputs and counters and set the outputs Outputs are normally read by polling Event driven evaluation is only possible if appropriately configured Advantages Since
143. g with Bit O the first 8 requested bits outputs If less then 8 bits were requested the unused bytes are sent with 0 For more than 8 bits it continues with the 11th byte Example Read the status of Outputs 0 and 1 Output 0 is OFF Output 1 is ON Start Address is set to 0x1020 Quantity of Outputs to 0x02 The outputs can be called starting at address 0x1020 The Web lO replies with Byte Count 1 and Output State 0x02 Function Code 0x02 Read Discrete Inputs Function Code 0x02 is intended for binary reading of the status of Web IO inputs Subject to errors and modifications 115 W amp T Modbus TCP The packet construction and reply with Function Code 0x02 is identical to that of Function Code 0x01 Example Read the status of Inputs 0 and 1 Input 0 is OFF Input is ON Start Address is set to 1000 Quantity of Inputs to 2 The inputs can be called starting at address Ox1000 The Web IO replies with Byte Count 1 and Output State 0x02 Function Code 0x03 Read Holding Registers Function Code 0x03 is intended for reading multiple registers 16 bit values Using FC 0x03 the values of inputs outputs counters etc can be polled for the Web IO depending on which Start Address is used Transaction ID Protocol ID Length Unit ID e Bye Function Code MOE geo ue Wl Wes OO Start Address 16 Bit Word Bux esa Registers Start Address Specifies the address to start reading the registers Nu
144. ghlighted 4 1 4 Access rights Depending on the login the Web IO distinguishes among 3 dif ferent access rights Default User Anyone opening the start page of the Web IlO has this status initially The status of the inputs and outputs can be displayed but not modified No changes to the configuration are possible Administrator Clicking on Config in the menu tree and entering the administrator password gives you full access to the Web IO The start page is refreshed with a significantly expanded menu tree As shipped it is not necessary to enter a password it is sufficient to click on the Login button The next sub section describes assigning passwords in greater detail Operator The access rights of the operator are limited to setting the outputs clearing the counter changing the alarm outputs and a few diagnostic activities The operator has no additi onal configuration options The login in this mode is also Subject to errors and modifications 45 W amp T Configuring the network parameters accomplished by entering the password selected for this access The login is done after opening the Web IO using Config in the menu tree Here again a the menu trees for the various access rights by way of comparison Default User Administrator Operator 4 1 5 Changing and creating the access passwords The user must be logged in as an Administrator In the navigation tree select Config Session Control New
145. ghts Administrator The appearance of the Web IO standard pages in the browser can be individually designed and modified in that naming of 60 W amp T HTTP Inputs and Outputs control from the Browser the Web IO the inputs counters and outputs is freely configurable Device name and description You can change the device name and description of the Web lO under Config Device Text amp C3 Config Device Name Appears on page Home and on user defined pages WEBIO lt wutt gt Device Text Appears on page Home and on user defined pages 6 amp 7j Session Control Von der Klemme direkt aufs Netzwerk 6c Device i Text For anew line use lt br gt 7 Basic Settings Location Location of installation Output Mode Alarm Ports Undo n Logout If the description extends over more than two lines the br tag is inserted at the position desired for the line break The Location and Contact fields are not displayed in the browser and are used only for identifying the Web IO The display in the browser changes are Apply and Logout Save Port name and description Individualized names and descriptions can also be created for the inputs and outputs To change the input name use Config Ports Inputs and for Input 0 gt gt Input Subject to errors and modifications x E 61 W amp T HTTP Inputs and Outputs c
146. gs This means that everything the Web IO sends to the application ends with a chr 0 character So that under UDP a message can be automatically received when states change the Web IO provides a variety of various alarm conditions n A detailed description of how to use these alarm possibilities can be found in the Alarms section Include a header The Web IO can if needed precede the sent string with a header containing the IP address and the name i User 0 Se Device FED ec og ssion Control Text Time Date Basic Settings jj HTTP HTTP Client C Mail Lj SNMP j L Syslog Startup index htm C home htm user htm C smart htm Enable GET Header enable GET HTTP enable HTTP Port Default Port 80 80 Input Trigger Input Input 1 Storage Undo Logout To enable a header go to Config gt gt Basic Settings gt gt HTTP select GET Header enable Clicking on Logout and Save activates sending of the header Example B The address of the Web IO is 172 16 232 17 B W amp T Web lO 12xDigital was entered as the device name under Config gt gt Device gt gt Text B GET input PW amp was used by the application to poll the inputs Subject to errors and modifications 199 W amp T TCP UDP command strings The Web IO returns 172 16 232 6 W amp T Web IO 12xDigital input 0000 If GET Header enable was activated
147. hat the time of day will from now on be synchronized with an external time server Send the settings to the Web IO by clicking on the Temporary Storage button The factory default addresses can only be reached via an Internet connection If names instead of IP addresses 240 W amp T Time Date were specified for the time servers a DNS server must be specified in the network configuration 6 1 6 Manually setting time and Date Required access rights Administrator oder Operator If there is no Internet access to a time server the time of day can also be set manually under Config Device Time Date Device Clock Time Time in format hh mm It is not necessary to set to second accuracy Day Format dd Month Format mm Year Format yyyy Home Time fis 1 58 Smart Day 28 9 5 Config Session Control Month o2 07 LogOut Year pori Profiles sop Temporary Storage 3 Device ie Tey Storage Undo Logout Text 2 23 Time Date 9 19 TimeZone Summertime Start L Stop 0 Time Server 10 Device Clock co Settings Send the settings to the Web IO by clicking the Temporary Storage button Subject to errors and modifications 241 W amp T Time Date 6 1 7 Activating all time date settings Once all the entries pertaining to the time and date have been made activate the new setting under Config Session Control Logout and then click
148. he configuration frame in which you can enter or select the upload file File Essa him Browse HTML Undo Click on the Upload button to start the upload Subject to errors and modifications 259 W amp T Upload Download A convenient way of saving managing and later uploading XML files from the Web IO is by using the Wutility tool ul At our Web site www WuT de you will find at left the Insi der Search for Article No Enter here article no 57630 select Tools in the field below and click on On the page which then opens select the link to the Wutility tool HTML Upload The upload procedure for the home htm and user htm page is exactly analogous to the XML upload The exact procedure is described in detaili in the HTTP section logo Upload For a custom appearance of the Web lO start page you can replace the W amp T logo in the navigation frame with another one of your choice GIF or JPC Clicking on the corresponding button displays an entry field in the configuration frame in which you can enter or select the upload file Click on the Upload button to start the upload For the uploads to remain in effect even after a power interruption activate the new settings under Config Session Control gt gt LogOut Save Time Switch File Upload Time Switch File Upload Here you can upload the calendar data which determine the time based switching in iCal format Details abo
149. he input This setting affects the way the counter counts If Pulse Detection is not activated each state change on the inputs is counted A change from OFF to ON increments the counter just as a change from ON to OFF So a complete puls will increment the counter by two In this mode has to be one state present for at least 1ms to be recorded If Pulse Detection is activated there must be a change from ON to OFF and then a change from OFF to ON before the counter is incremented The ON state must be present for at least 50ms for the pulse to be detected and counted In both cases a maximum of 1000 state changes per second can be counted Subject to errors and modifications 247 W amp T Port configuration Input Mode Change Detection Enable In addition to counting complete pulses here you can switch to counting edge changes This has no meaning if Short Puls Detection enable is active Input Mode Clear counter on read Here you can specify whether the counter is automatically set to 0 when it is read Input Mode Bidirectional counter enable Two adjacent inputs are combined for processing direction dependent encoders Depending on which of the two inputs a valid edge is first detected the corresponding counter is incremented by one Send the settings to the Web IO by clicking on the Temporary Storage button The necessary settings for direction dependent counting are made under Config Ports Inputs
150. her Web IO specific parameters which can be set which are always inserted in a separate param tag device Whole number value between 0 and 255 The device parameter is used for indexing when you need to operate more than one Web IO on a Web page If you are using only one Web IO set the value to 0 For all ad ditional Web lOs incorporated into the Web page the value increments by 1 showerrors If errors occur when using the Java applet this parameter can be used to specify whether an error message should be output in the form of an alert window inputpolling This parameter is used when starting an applet to specify whether the inputs should be checked for their status at an interval set under pollingrate As the value for inputpolling you can set on or off To reduce the data load on the network use the Web lO navigation tree under Config Device Basic Settings HTTP to set the Input Trigger for the inputs you want to monitor Subject to errors and modifications 173 W amp T Own web applications Startup index htm Smart S E Config C user htm Session Control C smart htm AS Device Enable GET Header enable b L Text y Time Date GET HTTP enable Basic Settings Port Default Port 80 L Language 80 Network HTTP Input Trigger Iv Input HTTP Client M Input 1 Mail SNMP Temporary Storage Undo Logout
151. hich the binary mode shall be used The application must enter 0x04 here 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 rejected SubType Gives additional details on the status of the connection request The application always sends 0x00 The Web lO replies with 0x01 BINSUBTYPE_OK if the connection request was accepted 0x02 BINSUBTYPE_NO_ACCESS if a connection is already open 0x04 BINSUBTYPE_WAIT If the connection is only allowed to be opened after a timeout 0x07 BINSUBTYPE PW MISMATCH if wrong password 0x08 BINSUBTYPE DEST PORT MISMATCH if wrong Destination Port 0x09 BINSUBTIYPE MODUS MISMATCH ifwrongmode If 0x01 or 0x04 was received the actual data connection can be opened SrcPort The client application always enters 0 here The Web IO returns here the opened server port e g 49153 for binary 1 If the login attempt fails the Web IO enters 80 Subject to errors and modifications 217 W amp T TCP UDP Binary DestPort The client application enters here which port the connection is to be opened on 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 exchanged is automatically closed by the Web lO BINARY The IO structures To enable simply communication between the application pro gram on the com
152. home htm user htm P coniun HTMLUpload 7 Ports Logo Upload Output 0 Time Switch File Upload amp Doc Click on the ogo gif upload button Upload File N zeichnun logo wut gif Browse Back to the Web IO Homepage Select the desired JPG or GIF file and click on the logo gif upload button Note that the dimensions of the logo should be close to those of the W amp T logo width max 200 pixels height max 100 pixels so that the clarity of the navigation frame is retained The display in the browser changes after Apply and Logout gt Save Subject to errors and modifications W amp T HTTP Inputs and Outputs control from the Browser Home Save new configuration E E e e Config Control Exit without saving L New Password If you do not want the new logo to appear right away the next time the system is started up delete the browser cache 5 1 5 Changing the HTTP port Browser access to the Web server of the Web IO is made according to HTTP protocol using TCP Port 80 factory default setting There are cases such as NAT routing or port forwarding which make it necessary to configure a different port for HTTP access To do this log in as administrator and in the navigation tree and select Config gt gt Device gt gt Basic Settings gt gt HTTP Under HTTP Port you can enter a TCP port for HTTP access which differs from the standard Po
153. igger as single event Here triggers such as cold and warm start timer interval and the ANY setting count for the inputs and outputs There is no normal state as such for these one time events SInce alarms shoud always be finished with an Alarm Clear message this type of trigger always generates only one Alarm Clear message There is no alarm message but rather only Alarm Clear messages Alarm based on the status of the inputs and outputs Select in the navigation tree Config gt gt Device gt gt Alarm gt gt Alarm if for example you want to process the alarm conditions for Alarm 1 Under Input Trigger and Output Trigger you can specify the following 1 Which inputs or outputs to check for status 2 Which state ON or OFF meets the condition AND operation Subject to errors and modifications 133 W amp T Alarms The trigger conditions of the blocks Input Trigger Output Trig ger Interval Timer and Load Control can be set independently OR operation All inputs outputs which are selected must meet the specified condition for the alarm to be triggered AND operation If multiple inputs outputs are configured with the ANY condition these must switch at the same time for the alarm to be triggered Alarms triggered using ANY only generate one Alarm Clear message Example Trigger an alarm when Input 0 and Input 1 are ON and no signal OFF is on Input 1 Inputs 3 11 are ignored The configurat
154. input triggers 2 and 3 for Binary 2 In addition Outputs 0 and 1 are configured for Binary 1 and Outputs 2 and 3 for Binary 2 in the Output Mode area The configuration is then saved The 1st Web IO 2xDigital is configured as a normal Box to Box Master for Binary 1 Proceed similarly for the 2nd Web lO 2xDigital for Binary 2 After saving the settings for all Web IOs involved Output 0 on the Web IO 12xDigital follows changes on Input 0 of the Ist 78 W amp T Box to Box Web lO 2xDigital If Input 1 on the 2nd Web IO 2xDigital changes this results in a change on Output 2 of the Web IO 12xDigital Old and new units in Box to Box combination It is not possible to operate older 50xxx I O Com Servers with a Web IO in Box to Box Web lOs working in Box to Box mode should have the same firmware version Problems with Box to Box Especially when the IP addresses of a Box to Box pair have changed for example by a change in the infrastructure it can happen that the Master can no longer open a connection to the Salve or vice versa In such cases there should be an additional Stopp Box2Box Sla ve button under Config Session Control LogOut Home Save new configuration r L User Save j Smart amp c3 Config Exit without saving amp C3 Session Control Abort Et profiles Stop Slave Mode i New Password Stopp Box2Box Slave Device NT 5 Ports Restore Factory Defaults 1 Manufacturer Restore Def
155. ion BOOTP protocol is based on fixed reservations of fixed IP addresses for particular Ethernet addresses This means a Web connected to the network only gets an IP address if the latter was previously stored in the BOOTP server Check with your system administrator for creating this reservation The Ethernet address of the Web IO can be found on the housing sticker 5763x Model EN 00c03d003fa0 Ethernet address OK xxxxxx Once the administrator has made the necessary entries the Web IO obtains the desired IP address automatically after each reset To ensure accessibility of the Web IO even should the BOOTP server go down the previous IP address is retained should there be no reply 276 W amp T Firmware Update 7 2 Firmware Update The operating software of the Web IO is under constant development The following section describes how to perform an upload for the latest firmware version 7 2 1 Where can I get the current firmware ul On our web site www WuT de having selected the Englisch language version on the left side you find Insi der search via article number Enter here the article no 57630 select Firmware in the checkbox below and click On the page that will open you select the link to the latest firmware 7 2 2 Firmware update over the network using WIndows For this you will need a PC running under Windows 9x NT 2000 XP with a network connection and activated TCP IP stack F
156. ion would then look like this Input Trigger Inputo C OFF amp ON C ANY IV Input 1 OFF C ON C ANY Output Trigger Output 0 OFF C ON C ANY Output 1 OFF C ON C ANY In addition you must specify whether an alarm is triggered only once when the alarm condition is met Alternately you can specify an interval at which the alarm is repeated as long as the alarm condition persists Interval Interval to send in minutes E one time default 0 or empty Off E In the Interval field you can specify either E for one time or an interval in minutes Theoretical values between 1 and 4 2 billion minutes are possible If the field is blank or 0 no alarm will be issued 134 W amp T Alarms Alarm when a counter value is reached Instead of responding to the state of the inputs and outputs you can trigger an alarm when a counter state is reached To do this you must enter a value between 1 and 4 2 billion in the Max Counter Value field An alarm is issued when one of the activated inputs reaches this counter value Max Counter Value 48 Counter and input patterns are mutually exclusive as alarm conditions As soon as you have entered a value in Max Counter Value the state of the inputs is no longer used as an alarm condition and only the counter state is monitored Alarm for load error The outputs of the Web IO Digital have thermal overload monitoring If an overload is detected on an output it is immediately turn
157. itching to ON causes the corresponding output to be turned off It is not possible to switch a negative pulse via HTTP from the browser If you need to work with negative pulses from the browser this can be done using the Java applet Logout and Save activates the new setting Subject to errors and modifications 255 W amp T Changing device specific displays 6 5 Changing device specific displays For project specific OEM applications of the Web IO you can change displays such as article number manufacturer logo etc Select in the navigation tree Config gt gt Manufacturer Required access rights Administrator W amp T Wiesemann amp Theis GmbH EZENN Web IO Address Porschestr 12 lt br gt zl 42279 Wuppertal br Web l0 2x2 Digital 57637 i For a new Line use lt br gt _ Home Support Hotline 49 0 202 2680 0 i User 1 H Eu Internet http www wutde Config Device Type Web 10 2x2 Digital _ amp Session Control C Device Device No 657637 Ports iq Manufacturer Logo logogf _ amp Up Download amp 7 Diag amp Doc TERN Storage Undo Logout Field for the company name Address Field for the company address Support Hotline Telephone number the user can call to get technical support for the Web IO or for the overall project Internet Homepage of the company responsible for the device Device Type
158. lable note the section Alternative IP address assigning in the Appen dix m The WuTility installation files are found on the product Cl D whereby you enter the article number of your Web IO into the Search field after starting the CD W amp T Assigning the IP addresse Alternately you can download WuTility from www WuT de using Article Search and Tools Start WuTility by double clicking oin the Easy Start icon on the desktop Wutility now automatically scans your network for available W amp T devices The list of found W amp T network components should now contain an entry for the Web IO The IP address should be indicated as 0 0 0 0 if you are starting up for the first time Use the displayed Ethernet address to ensure that the entry corresponds to your Web lO rg Untitled WuTility o x File Device Configuration Firmware Options Help D ux 0 X 193 S24 New Open Save Scan IP Address Telnet Browser Firmware Help __ Ethernet address IP address Product ID Read the Ethernet address of the Web IO from the label on the side of the housing 5763x Model EN 00c03d003520 Ethernet address Highlight the entry for your Web IO t EX IP Address Click on the IP address icon and enter the IP address you want to assign to your Web lO Subject to errors and modifications W amp T Assigning the IP addresse New Device Set Network Parameters po are z
159. lable port File Name In this field you enter the name of the file in which the messages should be saved FTP Alarm Text Just as with the mail and SNMP function it is possible to enter a text here which is sent to the syslog server To incorporate the status of inputs and outputs or the counter states of the counters you can also use the alarm variables n In addition text variables can be used in the file name and in the FTP alarm These are placeholders for status and name of of the individual inputs and outputs as well as for the counter states of the counters In addition placeholders can be used for Date and Device Name lt gt formatted yyyy lt d gt Day formatted DD lt i gt Minutes formatted mm depending on the Web IO Type x can be between 0 and 23 Alarm Clear Text As in the case of FTP Alarm Text here you can enter a freely formulated text for the Alarm Clear message Option Select STORE if you want the file to be completely overwritten each time a message arrives For a file that expands with each message select APPEND 154 W amp T Alarms Send these settings to the Web lO by clicking on the Inter mediate store button Finally you must enable the FTP service and configure it To do this use the path Config Device Basic Settings FTP FTP Server IP Name or IP address of the FTP server pam Mol FTP Control Port Port No 1 6553
160. ly for SMTP after POP3 pop gmx de pe Enable Mail enable IDEEN Storage Unda Logout W amp T Alarms Fill in the fields according to your application Name Name entered as the sender when sending the e mail Reply Address E mail address entered as the destination address in the outgoing e mail when the recipient of an alarm e mail selects Reply SInce the Web IO itself can only send but not receive e mail you should enter here the e mail address of the person who has technical responsibility for the Web lO Mail Server Here you must enter the host name or the IP address of the SMTP server used to send its alarm mails through the Web IO Authentification Here you can select whether you want to use e mail authentication depending on the ISP requirements the Web lO can be configured for a login with ESMTP or SMTP after POP3 User Enter here the user name for the e mail account Password Retype Password Here the password assigned for the e mail account must be entered POP3 Server If you are using SMTP after POP3 you must enter here the name or the IP address of the POP3 server Enable Set Mail enable to activate sending of e mail If the name of the SMTP or POP3 server is specified DNS server_must be specified in the network settings Send the settings to the Web IO by clicking on the Temporary Storage button Subject to errors and modifications 139 W amp T Alarms Specifying the
161. mber of Registers Here the number of registers to read is transmitted The Web lO replies with the following packet 116 W amp T Modbus TCP Transaction ID Protocol ID Length Unit ID Function Code Byte Count popapspoppopo 17 65 3 2 1 0 High Byte Low Byte 10 Byte 11 Byte XX 16 Bit Word Register Value EISEXETSESTISETEETE DELI yte High Byte B n Byte n 1 Byte 16 Bit Word i Bytes Count Contains the number of bytes sent as registers 2 bytes per 16 bit register Register Value One or more 16 bit register values The first 16 bit register beg ins with the high byte at the position of the 10th byte Depending on the start address beginning at 0x5000 two 16 bit values i e 4 bytes are passed for one requested 32 bit register In this case again the value begins with the highest byte at the position of the 10th byte and the first low byte lies at the position of the 13th byte of the data packet Example Read the status of the outputs of a Web IO 2xDigital Output 0 is OFF Output 1 is ON Start Address is set to 0x2002 Number of Registers to 0x01 The outputs can be called as registers starting at address 0x2002 The Web lO replies with Byte Count 0x02 Subject to errors and modifications 117 W amp T Modbus TCP Register Value 0x0002 Function Code 0x04 Read Input Registers Function Code 0x04 is especially provided for reading the status of the Web IO inp
162. n Control Description Input 0 Device eo Filter Pulses with a duration shorter than specified here e e gt duration in 1 1000 sec are ignored O C3 Inputs 16 ae Counter Mode Input Mode Short Pulse detection enable input 1 Change detection enable Outputs Clear counter read i lanufacturer we 3 eg Bidirectional counter enable Diag Vene Storage Undo Logout amp Doc Name Enter here a name for the input This name will then be displayed in the browser for Input O Text Here you can provide a more detailed description including for example the function of the input which can then be viewed by clicking on the Input link in the browser 246 W amp T Port configuration Filter Pulses with a duration shorter than specified here duration in1 1000sec are ignored Whenusing inputs that work with Short Pulse Detection the configured filters have no effect Input Mode Short Pulse Detection Enable This mode is available only for inputs 0 3 and also allows detection of extremely short pulses down to 50us in length In this mode only complete pulses not edge transitions can be counted If Pulse Detection is not enabled signals must be present for at least 1ms in order to be detected and counted In both cases a maximum of 1000 counts per second can be detected Input Mode Pulse Detection Select this field if you want to configure a pulse count for t
163. n of the correct password please note after closing the dialog the status message for the device in which any problems are indicated Password required or Incorrect password Device type Select here for example Web lO 2xDigital OPC device name Enter here the name which you want the newly added device to be listed as under OPC in the front part of the OPC item name Poll only do not subscribe to messages Skipping automatic messaging has the advantage that the amount of data traffic on the network does not depend on external events Finally you must save the configuration as an active configuration Select File gt gt Save as active configuration untitled w amp T Configuration File Edit View Device OPC Server Help EN lle vorale eea ae iy Device Type uus Pott Device Type General options Active Configuration S_WebIO 242 Digital 0 Active Configuration Recent File Exit Save the current document For execution by the OPC server 104 W amp T OPC OPC client applications can now access the Web IO The OPC server starts as a service and can be found in the OPC server list under the name Wiesemann Theis Network lO An overview of the items available in this name space is given by the OPC mini client which can be started under Start Pro grams W amp T OPC Server Version 4 Minimal OPC Client Client Edit View Window Help
164. n this Manual 7 4 3 The authorization concept of the Web IO As already described in the section Web Based Management the Web IO uses three authorization levels B Default User with no special login B Operator B Admin These users normally access Port 80 through the Web interface as is customary with http The default user can use the Web interface to read Web IO data and has access to the diagnostic tools as well as some online documentation abbreviated manual data sheet for the device support information The operator can also set the outputs and configure the alarm outputs No other settings can be changed by the operator The Administrator has full access to all the functionalities of the device He specifies the operation mode s used and the network parameters Subject to errors and modifications 281 W amp T Ports and security Passwords can be defined for the Operator and Admin The device does not require that passwords be used nor that they must be different for the Operator and Admin nor the minimum length composition or regular changing of othe passwords This is left to the user as he sees fit No encoding is used to send the password to the Web IO You should therefore ensure that password protected access is only over an Intranet which the customer considers to be secure For accesses over the public Internet additional measures such as a VPN tunner Virtual Private Network may need to be taken
165. n under Calendar click on Export file Save the iCal file on the hard drive of the PC In the Web IO navigation tree select Config gt gt Up Download Upload and then click on Time Switch File Upload Output Config Up Download Upload home ntm user ntm To load the iCal file into the Web lO select the desired file and dick on Time Switch File Upload Output O 90 W amp T Time Switch Time Switch Output 0 Upload Online Calendar Link iCal Le http www googie comcalendar icali your calendar a Auto Reload 15 min iCal File Manual Uplaod Proceed in the same manner for Output 1 Now you must still activate the new settings Use the Logout button or select Config gt gt Session Control gt gt LogOut Contig gt gt Session Control gt gt LogOut Save new uration 5 3 5 Time Switch preview After you have finished configuring the Time Switch the Web begins to run the loaded time control program You can open a preview of the switching events of the next 24 hours from the homepage of the Web IO To do this simply click on Time Switch Preview Subject to errors and modifications 91 W amp T Time Switch Preview iCal Timer WEBIO2x2Digital 04D9D7 Time Switch Preview Date Time Output 0 Output 1 02082010 121824 OFF 02082010 170000 OFF OFF 02 06 2010 210000 03 06 2010 060000 OFF 03 08 2010 osoooo 5 3
166. nfiguration accesses as well PN As a protection against blocked TCP connections the Web IO has a timer set for Port 80 which automatically closes the connection 30 seconds after it is opened if no syntactically correct commands have been received After a connection has been successfully opened the application should therefore always send for example an output query to the Web IO 2 Communication between Web IO and application Normal communication takes place in polling mode This means the client application uses the command strings to request the desired values and set the outputs Example 1 Query the status of Input 3 where there is 12 V signal present No administrator password was assigned for the Web lO The application sends the following string to the Web lO GET input3 PW amp The Web IO responds as follows input3 ON Example 2 Set outputs 3 4 7 9 In binary this is 0000 0010 1001 1000 which corresponds to 0298 hex The administrator password for the Web IO is blue Subject to errors and modifications 185 W amp T TCP UDP command strings The application sends the following string to the Web IO GET outputaccess PW blue amp State 0298 amp The Web IO responds as follows output 0298 For the Web IO 24xDigital 8 character hexadecimal values The Web IO works with null terminated strings This means that everything the Web IO sends to the application ends with a chr 0 character Fo
167. ng on the Temporary Storage button 236 Logout W amp T Time Date 6 1 2 Summer time Winter time Required access rights Administrator The Web IO automatically distinguishes between summer and winter time To change the reference values for summer winter time select in the navigation tree Config Device Time Date TimeZone Summertime Home UTCoffset Offset to Universal Time P L User E i m o2 Joo 5 Config Session Control Enable IV Apply Summertime i eg Device L Text 6 TimelDate E Storage Undo Logout TimeZone O A Summertime C Start L Stop UTCOffset Enter here the difference between local summer time and UTC time in the format hh mm A sign can also be used in the entry field or Enable To activate check Apply Summertime to use the entered offset value Send the settings to the Web IO by clicking the Temporary Storage button 6 1 3 Start and end of summer time Required access rights Administrator To set when summer time begins select Config Device Time Date TimeZone Summertime Start Subject to errors and modifications 237 W amp T Time Date 8 Month Summertime starts in _ User E met March 7 Config Mode on fiast 7 Weekday Sunday at j Summertime 2 Start ty son Temporary Storage Undo Logout Time Server R Device Clock
168. ng the network parameters 43 4 1 Web Based Management 44 4 1 1 Structure ofthe Web site 44 4 1 2 Navigation 44 4 1 3 Easier navigation with profiles 44 4 1 4 Access rights 45 4 1 5 Changing and creating the access passwords 46 4 1 6 Saving and activating settings 47 4 2 Basic setting of the network parameters 49 5 Basic Functions 55 5 1 HTTP Controlling IOs in the browser 56 5 1 1 The Home page 56 5 1 2 The User page 57 5 1 3 TheSmart page 59 5 1 4 Labeling and texts 60 5 1 5 Changing the HTTP port 64 5 2 Box to Box 66 5 2 1 Configuring the Slave Web IO 66 5 2 2 Configuring the master 70 5 2 3 GetBox to Box connection status 74 5 2 4 Stopping Box to Box mode 74 5 2 6 Box to Box notes and limitations 77 53 Time Switch Using the Web IO as a Time Switch 80 5 3 1 Activate the outputs for timed switching 80 5 3 2 Load the switching defaults 81 5 3 3 Load switching times from an online calendar 81 W amp T Content 5 3 4 Load switching times as a iCal file 87 5 3 5 TimeSwitch preview 91 5 3 6 Special features of the Web IO Time Switch 92 5 4 Integration into existing systems 93 5 4 1 SNMP In Outputs in management systems 93 Enabling SNMP access 93 Activating the outputs for SNMP 95 Main steps for SNMP access 96 5 4 2 OPC Standardized access 102 Installing the OPC server 102 Uninstalling 102 Configuration 102 Configuring the Web IO as an OPC device 105 5 4 3 Modbus TCP standardized access 109 Modbus TCP communication 111 Function
169. ng the same configuration the Administrator can make configure just one unit and load the settings into all the others Start the download of the XML file by clicking on the corresponding button The XML parameters are then displayed in the browser window To safe the XML data as a file most browsers allow you to right click the source text in the text editor and from there save it home html user html Download Here again the selected page is displayed first in the browser window and can be saved from the source text display Fora detailed description of this procedure refer to the section HTTP 258 W amp T Upload Download iCal file To configure the Web IO as a time switch the currently active iCal files can be downloaded here Details about time based switching can be found in section 5 3 Time Switch Web IO as time switch 6 6 2 Upload Just as you can download HTML and XML files it is also possible to upload them to the Web IO Select Config gt gt Up Download gt gt Upload Required access rights Administrator 7 Home Eu 4 config xml Upload eg Config home htm user htm J Session Control HTML Upload amp 1 Device E Output 0 Time Switch File Upload i ec Tu config xml Upload The entire configuration of the Web IO can be loaded into the Web IO as an XML file in one operation Clicking on the corresponding button displays an entry field in t
170. nk Bock to calendar My Calendars Calendars Can 252 mode CALENDAR SHOW ai none wut wut de Output 1 s Tasks ENITITICTUNM calendas Export calendars Select the calendar for Output 0 84 W amp T Time Switch bought 800 kameboeder I Calendar Address ELS 0919 EE Catendar ID 184 4436442 3 46 0 eam mote This is the nose ter your caleegar one can wse link untess you 5 Change shanng setings Private Address Reset Private URL Loam more This is ahhaaa for tha calendar Dor share thie addtesa with it In the lower section of the resulting Web page you will find the item Private address Click here on iCal Private Address Please use the following addres to access your calendar from other applications You can copy and paste this into any calemdar product that supports the iCal format EA rs Next the online link to the iCal file associated with the calendar is shown Select this link and copy it to the clipboard using lt Ctrl gt C Now in the navigation tree of the Web IO select Config gt gt Ports Outputs Output 0 Time Switch Config gt gt Ports gt gt Outputs gt gt Output 0 gt gt Time Switch Link iCal ie http www google comicalendarheal your calendar google com ealendarical 38apiSE36a82n9 Refresh C No 15min 60 mn C 240s
171. nput Trigger Here you check the inputs whose state change will trigger data to be sent to the client application important for event triggered applications Application Mode Select here Default f you want access to the Web IO to be password protected B Compatible 50xxx If you want to access applications that were programmed for the older Digital I O Com Servers You can also use this mode for new applications that do not require password protection n Additional information concerning Box2Box Slave and OPC Device modes can be found in the corresponding sections Once you have made all your settings send them to the Web by clicking on the Temporary Storage button In addition you must enable the corresponding outputs for binary mode Under Config Device Output Mode select the desired bnary access Required access rights Administrator Subject to errors and modifications 209 W amp T TCP UDP Binary Masi Name HTTP UDPASCII SNMP Binary1 Binary c c outputa Selecta c c c Safety After expiration of this interval time in 100ms without receiving data Timeout outputs switch to the configured safety states Power Internal 24V enable Storage Undo Logout Once you have made all your settings send them to the Web IO by clicking on the Logout button Clicking on the Save
172. nter of the specified digital input The value is sent as a decimal value with the variable MSG in the Wayback Response 5 7 3 Enabling Wayback access Required access rights Administrator In the navigation tree for the ERP gateway select Config De vice Basic Settings WayBack FTP Subject to errors and modifications 231 W amp T Wayback W amp T Config gt gt Device gt gt Basic Settings gt gt WayBack FTP Enable F Wayback FTP enable Control Port No 1 65536 defaut 21 ENT gt Ot 1 522 Password Home 9 WayBack Response cro message sent to the chent prior to closing of dg Session Comtret the connection in the best the following variables O can be used iren cum 3673 the st outputs inputs W reme One or counter ng to the co S fg Gann sengs D etwrork 11567 m ENIERE DTTP Chers us 250 User Logged in chLF 3 samp 2 gue zj Syslog are Connect Timeout Time in second 2 or 60 1 Free memory 4155 You can make the following settings on this page Mte Enable Activates the Wayback service If this option is deactivated the Wayback server service is not started and connection attempts to the FTP Control Port are rejected FTP Control Port Indicates the TCP server port at which the Wayback service is accessible for FTP clients The port reserved for FTP and used by m
173. nuous TCP connections e g by so cket applications The remaining two free ports can accept connections but the Web IO rejects then again after a short timeout This ensures that you can always reach the Web IO via the browser Overview of the output configuration In addition to the overview of the general configuration the Web IO also offers an additional Web page which shows the configuration and status of the outputs Select Diag Test Output Config m Required access rights Administrator Subject to errors and modifications 263 W amp T Diagnostic and Test Bo E Output Configuration und Status Config Output Modus Group Mode Safety State Load Control Output 0 HTTP 0 1separated No Change i 2 E Output 1 0 1 separated No Change inactive L Check Config Binary 1 ModBus TCP Server waiting for TCP Client e Eu Check ical Timer Output Power State 0 mA 03 LED The following information is output for each of the outputs Mode Displays the configured mode HTTP UDP ASCII SNMP Binary 1 Binary 2 Logic Group Mode If 2 or 4 outputs are combined in a group that is indicated in this column Safety State This column may contain the following entries E unchanged No watchdog function was set for this output ON A watchdog function was set for this output E Error When Load Control is activated an
174. o take effect This is done by writing the variable wtWebioEA12x12SessCntrlLogout Avalueisusedtodeterminehowtoquit thesession 1 All changes are saved 2 Quit without saving If no SNMP communication takes place within 5 minutes during an open sesison the Web IO automatically quits the session and all changes are cancelled Opening an SNMP session has priority over login This means A user with Config or Administrator rights loses his browser access as soon as an SNMP session is opened Subject to errors and modifications 101 W amp T SNMP 5 4 2 OPC Standardized access OPC OLE for Process Control is a software interface for accessing process data based on Microsoft s OLE technology Application programs such as visualization systems which use this interface are called OPC clients On the other side of the interface you have OPC servers These are device drivers which represent a particular hardware in abstract form as a set of OPC variables Installing the OPC server You can find the OPC server on the product CD which accompanies the Web IO in the Web IO Digital section m At our Web site www WuT de you will find at left the link Search by article number Enter here the article number of your Web IO select Tools from the field below and then click on On the resulting page select the link Server For ease of downloading the required files are contained in a ZIP file
175. o the Master box should be opened Unless otherwise specified always use Port 80 Input Trigger Here you activate the inputs that you want to set the corresponding outputs on the master n The Web IO 12XDigital allows simultaneous access to the inputs from various operation modes This means for example that inputs 0 5 control outputs 0 5 on the master Web lO but can also be read via HTTP at the same time Application Mode Select Box2Box Slave After you have entered all the parameters confirm by clicking on the Temporary Storage button Select Config Device Output Mode 68 W amp T Box to Box Output Mask Name HTTP UDPASCI SNMP Binary1 Binary Outputo c c c Output 1 c C Seectal c c Safety After expiration of this interval time in 100ms without receiving data Timeout outputs switch to the configured safety states Power Internal 24V enable Er Storage Undo Logout Here you activate the outputs that will be set by the corresponding slave inputs for Binary 1 and confirm by clicking on Temporary Storage In contrast to the inputs the outputs activated for Box to Box are no longer accessible for other operation modes Now you still need to activate the new settings Use the Logout button or select Config gt gt select gt gt Session Control gt gt LogOut Save new configuration a Exit without saving
176. of the outputs and the error type the Web IO may not be able to definitively determine which output is responsible for the error In this case both outputs are set to OFF Also monitored is whether any load at all is present If the Web can definitively determine that the error represents the absence of a load Load Control is deactivated only for this Subject to errors and modifications 265 W amp T Diagnostic and Test pair of outputs By clicking on the Delete report button under Diag gt gt Report the Administrator can turn the outputs back on Required access rights Administrator In the case of error messages generated by Load control the physical wiring of the affected outputs must in any case be checked before they can be enabled again n Overload errors can also be configured as triggers for an alarm See section on Alarms 6 7 3 LED test To test all LEDs for the input output section of the Web IO 12xDlgital select Diag Test LED and click on the LED Test button Required access rights Default User Config Administrator Home Diag gt gt Test gt gt LED 1 E Activates all LEDs for 2s e g to identify the device locally C cont G Test Check Config Output Config 1 Check iCal Timer ah LED All LEDs are turned on for approx 2 sec This function can be used to uniquely identify a Web IO in the control cabinet n The actual state of the outputs is there
177. onnection when the set timtout time after the last data communication between Web lO and server application has elapsed Naturally the server application may close the connection at any desired time UDP communication First you need to activate the Web IO for communication via UDP command strings and enter the local port Select in the navigation tree Config Basic Settings UDP Required access rights Administrator In the Port field enter the desired local port The factory setting is Port 42279 Check UDP enable 196 W amp T TCP UDP command strings Port Port No 1 65534 42279 Remote Port Static Port No 1 65534 Dynamic Ports AUTO Enable Iv UDP enable HTTP Client E ERN Storage Undo Logout y UDP Syslog Click on the Temporary Storage button to pass the selected settings to the Web IO You must also specify which of the 12 outputs you want to make available for access via UDP using command strings Select in the navigation tree Config gt gt Device gt gt Output Mode Required access rights Administrator All the outputs used must be activated for UDP ASCII Output Mask ame HTTP UDPASCI SNMP Output e C Output 1 c c Seectal C G c Safety After expiration of this interval time in 100ms withe Timeout outputs switch to the configured safety states Power Max 150mA Internal 24V enable Tempo n Sto
178. ontrol from the Browser Name Replaces standard name in displays Input 0 Text Selectable from page home Description Input 0 Filter Input Mode Short Pulse detection enable Change detection enable Clear counter on read Bidirectional counter enable Tempora Storage Undo Logout The settings for Filters and Input Mode should not be changed For detailed information about these parameters see section Port Settings To change the output names select Config gt gt Ports gt gt Outputs and e g gt gt Output for Output 0 Replaces standard name in displays Output 0 Text Selectable from page home Session Control Description Output 0 Cj Device 6 C3 Ports Group Mode 01 separated i C 0 1 parallel Safety State Safety enable OFF C ON Storage Undo Logout The settings for Group Mode and Safety State should not be changed For detailed information about these parameters see section Port Settings The display in the browser changes after Apply and Logout gt Save 62 W amp T HTTP Inputs and Outputs control from the Browser Logo in the navigation frame To enable as custom an appearance of the Web IO Start page as possible it is possible to replace the W amp T logo in the navigation frame with your own In the navigation tree and select Config gt gt Up Download gt gt Upload ce 9c e
179. ontrolled communication enables the application to respond immediately to changes on the inputs B High application security is possible using password protection Disadvantage In high level languages which do not support binary structures you must use a workaround in the form of binary strings or byte arrays Summary For professional applications which require high processing speed BINARY mode should be used Socket programming with command strings To access the Web IO from simple application programs can use TCP or UDP sockets Data exchange between the PC and Web IO then takes place by sending simple command strings 180 W amp T Controling the Web IO with TCP IP Sockets The command strings consist of The initial sequence GET The actual command command The separator and one more parameters parameterl amp All command strings always end with Example GET input amp PW mypassword amp This is how the status of the inputs is polled using a Web IO protected with mypassword Subject to errors and modifications 181 W amp T Commands GET inputx GET counterx GET outputaccessx GET outputaccessx GET counterclearx GET errorclear 182 TCP UDP command strings Parameter PW password amp k Password must be filled with the Administrator password If no password was assigned enter PW amp applies to all commands PW password amp
180. operating software is complete and then automatically performs a reset In rare cases it may be necessary after an update to restart the Web IO using a hardware reset Reset button of Po wer ON A software reset via network access through Port 8888 will not then be sufficient Web IlOs which before the update have a firmware version 1 34 1 00 or older can only have their firmware updated to the newest version by W amp T the unit must be returned Web lOs which before the update have firmware version 1 47 2 09 or older should be reset to factory defaults after the update 278 W amp T Emergency access 7 3 Emergency access The serial port DTE of the device provides an emergency access Activiate this as follows Use a serial cable to connect the device to a PC null modem connection and start a serial terminal program Use the following program settings 9600 8 N 1 no handshake Press the Reset button on the device As soon as you hear the tone press the following letters on your keyboard 3 times for the individual accesses 3x Opens the update port You can now load a firmware update f Resets the device to its factory default settings All previous configuration settings including the IP address are lost 3x Deletes all previously assigned passwords For confirmation the system error and the on error http LEDs flash several times in succession Enter directl
181. or the update process you will need two files which as already described are available from the Homepage at http wWW Wut de B The executable WuTility Tool for sending the firmware to the Web lO Bi The file with the new firmware you want to send to the Web IO No special preparation of the Web IO is necessary for performing the firmware update The WuTility used for the update recognizes all W amp T 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 use our online help Subject to errors and modifications 277 W amp T Firmware Update A Be sure to use only the current version of Wutility for the update Use of older Wutility versions may render the Web IO inoperable We recommend deleting all passwords and performing Reset of the Web IO before the update is loaded A For the update Wutility requires unrestricted network access to the Web IO Software firewalls and Internet security tools should be configured so that access to the Web IO is not prevented Never intentionally interrupt the update process by disconnecting power or actuating the Reset button Af ter an incomplete update the Web IO will be non operational Never mix files with different version numbers the file name This will render the device inoperable The Web IO normally recognizes when transmission of the new
182. ost FTP clients as the standard is TCP port 21 Password The Wayback password entered on the FTP client for correct execution of the command This is not identical to the Ad min or Operator password Wayback Response Final message sent to the FTP client after receipt of the correct Wayback password After this message the EROP gateway automatically closes the TCP conneciton The following variables may be used within the text lt MSG gt 232 W amp T Wayback The ERP gateway replaces this variable with the status of the outputs corresponding to the previous comnmand The information is sent as a hex equivalent of the binary state of all in outputs or as a decimal value for the counters If an output command was sent and Outputs 0 and 1 are both ON the response is for example output 3 If Outputs 0 4 and 5 are ON on a model 57636 with 6 relay outputs output 3 1 is returned lt CRLF gt The ERP gateway repalces this variable with the characters CR Carriage Return OxOd and LF Linefeed 0x0a Line breaks inserted in the input window using the ENTER key are not included in the reply Connect Timeout After the specified time in seconds has expired with no activity form the FTP client the ERP gateway closes the existing TCP connection After configuring the desired parameters the changes are saved by clicking on the Save button If no other configuration changes are required you must still activate the new settings
183. ou enter the IP address of the network station you want to receive the alarm message Port In this field you enter the local TCP port on which the server application should receive the TCP alarm messages TCP Text Just as with the mail and SNMP or UDP function you can enter here a text which is sent to the TCP server application To incorporate the state of inputs and outputs or counter states into the text you can also use the Alarm tags 148 W amp T Alarms lt y gt Year formatted yyy d Day formatted Dp i Minutes formatted mm depending on the Web IO Type x can be between 0 and 23 Alarm Clear Text As in case of TCP text you can enter here a freely formulated text for the Alarm Clear message Send the settings to the Web IO by clicking the Temporary Storage button Switching outputs for a different Web IO using TCP Sending of TCP messages can also be used for sending commands to switch outputs on another Web lO For this the address of the other Web IO must be entered as IP Addr and the local port normally 80 of the other Web IO as Port n localhost or 127 0 0 1 or the Web IO s own address may be entered as the address The Web IO then sends the command to itself which enables switching of its own outputs using the alarms Under TCP Text the corresponding command for switching an output is entered e g GET outputaccess0 PW password amp State ON amp NA ON amp for tu
184. outputs to be switched depending on the state of certain inputs Example Output 0 is set to ON when Input 0 and Input 1 are OFF For the logic functions to be applied to an output the latter must first be configured to Logic mode To do this use the path Config Device Outputmode Required access rights Administrator Output Mask UDP A 2 Logic Switch to C C 6 7 Session Control Output 1 Q Device Select all C La y Time Date Safety After expiration of this interval without receiving data oL 16 1 TimeZone Timeout switch to the confiqured safety st O23 Summertime 50 EE x icm D Stop Power Max 150mA Time Server F Internal 24V enable Device Clock Basic Settings Storage Undo Logout ogni Output Mode p Click on the Logic column for the outputs you want to control using the Logic function and then click on Save Select in the navigation tree Config Ports Outputs Out put O gt gt Logic Required access rights Administrator or Config The example above looks like this in the browser 252 W amp T Port configuration 13 User Input Mask Input Inverter Logic Func Output Inverter net Selection for the Inverts the input Inverts the output amp 3 Config Logic function Session Control M Input 0 Input 0 AND Output Inverter 5 Device M
185. overload or the absence of a load is detected In case of overload the Web IO turns the output off not for Web IO models with relay outputs n Since the latter case may represent a serious error these fields are highlighted in red 264 W amp T Diagnostic and Test Load Control not applicable to Web IO with relay outputs In addition to the thermal short circuit protection the Web lO 12xDigital has load monitoring which in case of error turns the outputs off until they are enabled again by the Administrator The factory default setting is for Load Control not activated Under Config Device Output Mode you can activate or deactivate load monitoring by selecting Load Control Enable m Required access rights Administrator y e Home I L User Smart Output 1 on Config 1 amp j Session Control x ie ey Device Safety Timeout Text amp j Time Date Enable Load Control enable eo Basic Settings Output Mode Tempora Storage Undo _Logout i Alarm n Regardless of whether Load Control is activated or not the thermal overload protection protects the affected output from damage Activating Load Control enables a management function which in case of overload can turn the affected outputs OFF and notify the user For hardware reasons load monitoring is done in pairs i e always for two outputs at a time for example Output 0 and Out put 1 Depending on the state
186. programming with command strings Subject to errors and modifications 227 W amp T 10 Structure ClearDiagnosis This structure clears the error memory of the Web IO Die ClearDiagnosis Struktur popapspappopo 7 6 5 2 3 2 1 0 High Byte Low Byte 2 Byte der Struktur 00 1 Byte der Struxtur 16 Bit Variable 514 13 12 11 10 9 8 7 6 5 4 312 1 0 High Byte Low Byte sarete 00 16 Bit Variable popapspappopo p8 7 6 5 2 3 2 1 0 HshBye Low Byte D 6 Byte der Struktur 5 Byte der Struktur 16 Bit Variable popapspappopop8p7 6 5 2 3 2 1 0 High Byte Low Byte enews Suau 00 eyo cer Susur 08 16 Bit Variable 10 Structure Options Start_1 Start_2 StructType StructLength TCP UDP Binary Word 16 Bit Immer 0 Word 16 Bit Immer 0 Word 16 Bit Strukturtype Word 16 Bit Lange in Bytes This structure is used to set certain options in the Web IO The options variable provides 32 bits for this The Options structure High Byte 00 Low Byte 00 2 Byte of structure 1 Byte of structure 16 Bit Value TE TEE ETE High Byte Low Byte 4 Byte of structure 00 76 Bit Value 15 14 13 121116 9 8 7 6 5 4 3 2 1 0 00 Low Byte F 6 Byte of structure 5 Byte of structure 16 Bit Value nsfiahisfizfifiofe 8 7 605 3 2 1 fol High Byte Low Byte 8 Byte of structure 00 O 76 Bit Value e
187. put The reply from the Web IO is a string beginning with counterx The counter state of the selected counter is attached in decimal format Output status request x can be a value between 0 11 and indicates the output The reply from the Web IO is a string beginning with outputx followed by the input status ON 7 Signal on input and OFF no signal on input If x is completely omitted the Web IO returns a bit pattern corresponding to the input signals in hex format Setting one or more outputs x can be a value between 0 11 and indicates the output to be set The reply from the Web IO is a string beginning with output followed by a bit map corresponding to the output signals in hexadecimal format Specifying the mask is optional If mask is not sent the outputaccess command applies to all outputs NA ON is an option for causing the Web IO to send no reply to the outputaccess command Resets a counter to 0 x can be a value between 0 11 and indicates which output to set The reply from the Web IO is a string beginning with counterx The new counter state of the selected counter is attached in decimal format If x is not specified all 12 counters are reset to 0 In this case there is no reply Clears the error report in the Web IO See section Diagnostics and Testing W amp T Own web applications Parameter Description PW password amp Returns the system time of the Web IO in format DD MM YYY
188. puter and the Web IO there is a variety of structures variable fields which define the format and content of the data which are exchanged between the application pro gram and the Web IO IO structures are offered for the following functions Reading inputs Reading inputs and outputs Setting outputs Reading counters Resetting counters Parameterizing cyclical and automatic messaging for state changes The application program employs the easy to use socket interface Windows WinSock UNIX Linux Berkley Sockets for exchanging data with the Web IO over the network via TCP IP in the form of these data structure The IO structures are independent of the selected network protocol TCP or UDP The choice of which protocol to use UDP or TCP depends on the type of application Both protocols have their advantages and disadvantages that need to be weighed depending on the application you are creating 218 W amp T TCP UDP Binary n Help for socket programming including the basics of TCP IP can be found in a short easy to understand guide Ready for TCP IP Sockets in 1 Day Program examples for client server applications under TCP IP can be downloaded from our homepage at http www wut de Definition of the IO structures To be able to unambiguously identify and evaluate the content of a packet in BINARY mode all the data must be sent to the Web lO in the form of these IO structures regardless of whether 50xxx comp
189. r gt gt UTC Server2 S Diag 10 Report Diagnose Archive a Test eL Doc Ger testatus OK mm 8 chen Men ausblenden Clicking on the Delete report button allows the Administrator to clear all error messages m Required access rights Administrator A reset also deletes the report regardless of whether it is performed by pressing the Reset button on the device Subject to errors and modifications 261 W amp T Diagnostic and Test interrupting the supply voltage or by using the Reset function from the Logout page n An exact list of possible error messages and their cause can be found in the Appendix In the section So cket programming you are shown how errors can also be processed from your own applications You can also process error and diagnostic messages using SNMP traps or as a Syslog system message See the SNMP and Syslog sections 6 7 2 Configuration Overall view The Web IlO allows the Administrator to view and check the Web lO configuration on a comprehensive Web page Select Diag Test Check Config Validation of configuration Parameter SNMP Mad Syslog Binary 1 Binary2 Logie 4 y Fiag Orr ON OFF orr OFF ON OPF Output Mode OFF Orr orr oer or Pot 42279 t61 auto 10 20 22 126 10 40 22 126 104022 12 10 40 22 126 10 40 22 128 10 40 22 125 10 40 22 126 0 40 22 126
190. r want to work under Box to Box to HTTP Confirm by clicking on the Temporary Storage button Now you must still activate the new settings Use the Logout button or in the Config menu select Session Control LogOut Home Save new configuration 9 Smart LS amp C Config Exit without saving yon New Password After clicking on the Save button all the settings are updated in the Web IO and the start page is reopened in Default User mode Stopping Box to Box Modus for the Slave Web IO Required access rights Administrator Select in the navigation tree of the slave Config gt gt Device gt gt Basic Settings gt gt Binary gt gt TCP Server and set Application Mode to Default Subject to errors and modifications 75 W amp T Box to Box Confirm by clicking on the Temporary Storage button Now select in the navigation tree Config gt gt Device gt gt Output Mode and set the outputs that you no longer want to work under Box to Box to HTTP Confirm by clicking on the Temporary Storage button Now you must still activate the new settings Use the Logout button or In the Config menu select gt gt Session Control gt gt LogOut Home Save new configuration E oo Smart Le S Config 9 23 Session Control Exit without saving ip Logout Profiles _ Abort New Password After clicking on the Save button all the settings are updated in the Web IO and the start
191. r Web IO as the local port Subject to errors and modifications 145 W amp T Alarms n localhost or 127 0 0 1 or the Web IO s own address may be entered as the address The Web IO then sends the command to itself which enables switching of its own outputs using the alarms Under UDP Text the corresponding command for switching an output is entered e g GET outputaccess0 PW password amp State ON amp NA ON amp for turning on Output 0 or GET outputaccess0 PW password amp State OFF amp NA ON amp for turning it off A linefeed should be added to the command by pressing the Enter key Details on the commands can be found in section 5 6 2 A Please note that the trigger for the alarm must be present for min 1 second for the command to be reliably sent 5 5 5 Alarm message to your own TCP applications In applications which communicate with the Web IO over the socket interface via TCP existing TCP connections can be used to send the input state when there is a state change So that a TCP data packet is sent to the active TCP client application when the alarm condition is met go to Config gt gt Device gt gt Alarm gt gt Alarm in the Enable area and select Send input to pending TCP connections 146 W amp T Alarms Enable Mail enable SNMP Trap enable UDP Client enable IV Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Cli
192. r Web lOs with relay outputs you must maintain a pause of at least 200ms between two switching operations on one output Event driven messaging Some applications make it necessary to report changes on certain inputs automatically over the existing TCP connection One reason for this is to reduce the data load on the network If the inputs are polled at a cyclical interval this will create a continuous data load There is also the risk that changes on the inputs will not be detected if they occur between intervals To set the conditions for event driven messaging go to the navigation tree and select Config Device Basic Settings gt gt Required access rights Administrator 186 W amp T TCP UDP command strings B User Startup index htm 1 Smart C home htm S E Config C user htm amp Session Control C smart htm Device Enable L1 Text GET Header enable Time Date GET HTTP enable amp CgBasicSettings Port Default Port 80 Language 80 Network HTTP Input Trigger Input 0 9 HTTP Client M Input 1 oo Mail Lj SNMP Temporary Storage Undo Logout j upp Wi L Syslog Input Trigger Here you specify which inputs are to be monitored for a state change If there is an existing connection the Web lO automatically sends the new input state to the application Include a header The Web IO can if needed precede the sent string with a header which con
193. r approx 2 sec a beep will sound and the Status and Error LEDs should have turned off If the red Error LED flashes check the network connection If the WEB IO has no IP address or address 0 0 0 0 the on error and system error LEDs remain on after a reset or new start The LEDs will turn off only if an IP address has been assigned 17 W amp T Assigning the IP addresse 2 2 Assigning the IP address The Web IO is factory set to IP address 0 0 0 0 Before assigning a new one you must obtain an appropriate IP address from your system administrator In smaller unrouted networks use the IP address of your PC and simply change the last digit 2 2 1 Automatically obtaining the IP address via DHCP By factory default setting the Web IO automatically attempts to obtain an IP address from a DHCP server upon system startup The following parameters are sent Subnet mask Gateway address DNS Server Lease Time Please note that the be assigned a different IP address upon restart To be able to specifically contact the Web lO an address reservation or a fixed association between device name and assigned IP address should be made in the DHCP server Additional details about DHCP can be found in the section ternative IP address assignment 2 2 2 Assigning the address using the Wutility Tool This method of address assigning only be used ona Windows based PC If no Windows system is avai
194. r not responding PPP Modem DCD Line Error PPP Modem Not found PPP Modem Command Error PPP Modem Busy PPP Modem No Carrier PPP Modem No Dialtone PPP Modem No Answer PPP Time Out PPP Authentication Error DYNDNS Error Service was turned off HTTP Client IP address or name of HTTP Server not entered HTTP Client Port of HTTP Server not entered The following count pulses could not be associated with a direction Counter x W amp T Network inventory via UDP 7 8 Technical Data 7 8 1 Technical Data 57630 57631 Network Protocol Latency times Digital outputs Digital inputs Terminations Galvanic isolation Serial port Baud rate Data format Flow control Displays Operating elements Supply voltage Storage temperature Operating temperature Housing Weight Ethernet 10 100BaseT autosensing TCP and UDP Sockets Client and Server SNMP incl Traps SMTP E Mail FTP Syslog OPC Server Inventory group management The Web IO 12xDigital is designed for signal change times gt 50ms The time behavior is also heavily dependent on the network load and network infrastructure 12 x Digital Out 6V 30V 500mA Grouping a 2 or 4 outputs Max group current 2A Max total current 6A Minimum load 22kOhm Thermal short circuit protected 12 x Digital In Max input voltage 30V Reverse polarity protected within this range Switching threshold 8V 1V On current
195. r reply not recognized DNS Wrong IP address DNS No resolution possible Mail Server refuses access Mail Sender transmission failed Mail Recipient transmission failed Mail Change to data mode failes Mail Transmission of mail text failed Mail Closing of mail server connection failed Mail Mail Server not responding Mail IP address or name of mail server not entered Mail Sending of the mail was cancelled and is being repeated Transmission error Protocol error System No router was configured System Destination IP address not recognized System A network fault was detected cable open or no link System The COM Server triggered a reset Warnung Watchdog Timer Reset triggered UDP UDP Port number invalid use Port 42279 System Checksum error Factory Defaults were loaded Snmp IP address or name of SNMP Manager not entered UDP Alarm IP address or name of UDP Server not entered UDP Alarm UDP server port not entered System Number of pulses exceeds 2000 sec Pulse mode Input 0 stopped System Number of pulses exceeds 2000 sec Pulse mode Input 1 stopped System Number of pulses exceeds 2000 sec Pulse mode Input 2 stopped System Number of pulses exceeds 2000 sec Pulse mode Input 3 stopped Binary 2 No or invalid Destination Port Binary 2 No or invalid Destination IP address System Watchdog Timer expired Binary 1 No or invalid Destination Port Subject to errors and modifications 289 W amp T Network inv
196. r slave procedure in which a Modbus master sends a request to the slave Web IO and the slave Web IO answers with a reply Subject to errors and modifications 111 W amp T Modbus TCP Data exchange between the Modbus client and the Web IO takes place using Modbus TCP packets The Web IO has a memory from which the Modbus master can read or to which it can write This memory is divided into areas which represent certain characteristics of the Web lO There are areas for the status of inputs outputs and counters Other areas indicate the system status or pertain to the alarms A special feature of the Web IO is a memory area which on the one hand can be freely read or written via Modbus access and on the other hand can be called via the Web interface With appropriate Web page programming a Modbus system can therefore be used for visualizing process data in the browser Another special function of the Web IO is that an alarm can be triggered by writing to a particular memory area A list with the exact memory organization follows later in this section The Modbus data packets always consist of a header the function code the start address and other parameters and registers Transaction ID Protocol ID Length Unit ID 31217 Function Code ER Start Address 1 High Byte 7 Low Byte XXI 11 Byte 12 Byte 3 16 Bit Word Weitere Parameter oder Register
197. rage Undo Logout If you have changed the output modes click on the Temporary Storage button and then on the Save and activate all Subject to errors and modifications 197 W amp T TCP UDP command strings temporary settings link Clicking on the Save button saves all your settings Communication between Web IO and the application In contrast to TCP there is no communication between the Web and the other communications partner when communicating via UDP protocol Data are exchanged using datagrams Normal communication takes place in polling mode This means the application uses command strings to request the desired values and set the outputs The Web IO always responds to a poll by returning the IP address and port of the requesting network station Example 1 Query the status of Input 3 where there is a signal of 12 V present No administrator password was asigned for the Web lO The application sends the following string to the Web IO GET input3 PW amp The Web IO responds as follows input3 ON Example 2 Set outputs 3 4 7 9 In binary this is 0000 0010 1001 1000 which corresponds to 0298 hex The administrator password for the Web IO is blue The application sends the following string to the Web IO GET outputaccess PW blue amp State 0298 amp The Web IO responds as follows output 0298 198 W amp T TCP UDP command strings The Web IO works with null terminated strin
198. rd 8 00 0 StructLength length in Bytes 16 Bit Value 5 4 1 12 11 10 9 87 7 6 5 4 3 2 1 Word High Byte 00 Low Byte 10 Byte of structure 9 Byte of structure Counterlndex counter index Subject to errors and modifications 223 W amp T The IO Structure ReadClearCounter TCP UDP Binary The application program sends this structure to the Web IO in order to request the counter status of a particular input counter and then immediately set to counter to 0 Which input this involves is transmitted in the variable counter index The Web always replies with the structure COUNTER The ReadClearCounter structure 5 papspopi pope 7 6 5 4 3 2 1 fo High Byte Low Byte 00 1 Byte of structure 00 76 Bit Value 5 14 13 121110 9 8 7 6 5 4 3 2 1 High Byte Low Byte 4 Byte of structure OO a of structure OO 16 Bit Value pspapspoppopopep7 e 5 4 3 2 To High By Low ens 16 Bit Value nshiahisfizfrifiofe 7 605 3 2 1 0 High Byte Low Byte y 00 fz Byte of structure 0 16 Bit Value 5 14 13 12 11 1 9 8 7 6 5 4 3 2 1 0 Low Byte 10 Byte of structure 9 Byte of structure 16 Bit Value Start_1 Start_2 StructType StructLength Counterlndex The IO structure Counter With this structure the Web IO sends the counter state of the input counter specified in counter index The Counter structure
199. receiving data Timeout outputs switch to the configured safety states Power mA Internal 24V enable err Storage Undo Logout Here you activate the outputs that will be set by the corresponding slave inputs for Binary 1 and confirm by clicking on the Temporary Storage button In contrast to the inputs the outputs activated for Box to Box are no longer accessible by other operation modes Now you must activate the new settings Use the Logout button or Config gt gt select gt gt Session Control gt gt LogOut Save new configuration Exit without saving Abort After clicking on the Save button all the settings are updated the Web IO and the start page is reopened in Default User Subject to errors and modifications 73 W amp T Box to Box mode The master Web IO then attempts to open a connection to the slave Web lO All the functions described here for Binary 1 can of course also be used under Binary 2 Thus a Web IO A can be configured in the Binary 1 area so that the inputs outputs 0 5 Box to Box work with a Web IO B In the Binary 2 area inputs outputs 6 11 can then be configured so that they work Box to Box with another Web lO 5 2 3 GetBox to Box connection status Required access rights Administrator The connection status of a Box to Box connection can be obtained from the navigation tree under Diag gt gt Test gt gt Out put Config Verification o
200. rectly access the in outputs without any special drivers special software packages or particular user access rights to the file system In contrast to the other Web IO Digital versions models 57635 57638 and 57636 have the Wayback FTP preconfigured as a factory default setting 5 7 1 Functional principle After the TCP connection is opened the Wayback FTP server sends its welcome message to the FTP client Now the command for switching the outputs or reading the outputs is entered as the User Name As soon as the command is authenticated using the Wayback Password the command is executed and for example the specified output is switched to the desired state The Wayback server sends the configurable terminating message and then automatically closes the connection To prevent simultaneous competing access attempts the Way back service is designed to be exclusive This means that after a client opens the connection this connection must first be closed by a valid command password combination or by the timeout before a new access is accepted Sequence example of a switching command for Output 0 Subject to errors and modifications 229 W amp T TCP UDP Binary FTP client ERP Gateway fep 92682 10 0 220 WuT WayBack FTP Server version 1 1 0 220 copyright by Wiesemann amp Theis GmbH User 192 168 1 16 none output0 on 331 Password required for output0 on Password password E 230 User
201. ress The following example assigns IP address 10 40 72 15 subnet mask 255 255 0 0 and gateway 10 40 1 1 to the Web IO IP no lt ENTER gt Web IO 10 40 72 15 255 255 0 0 10 40 1 1 Web IO 10 40 72 15 255 255 0 0 10 40 1 1 1 Web IO Serial deactivation of the DHCP BOOTP client The DHCP BOOTP function of the Web IO can be turned off while serially assigning the IP address We recommend doing 270 W amp T Assigning the IP addresse this in any case where the IP assignment will not be expressly performed using DHCP BOOTP To deactivate the DHCP BOOTP client enter the option 0 zero immediately following the IP address no spaces and finish the entry with Enter Example XXX gt Web 1O IP no lt ENTER gt Web IO 10 40 72 15 255 255 0 0 10 40 1 1 0 gt Web IO 10 40 72 15 255 255 0 0 10 40 1 1 0 Web IO This of course functions the same way when entering the subnet mask and gateway You can reactivate the function at any time later by using Web Based Management im the browser Menu item Config Device Network 7 1 3 IP assignment via RARP server UNIX environments especially often use RARP protocol for centrally assigning IP addresses Here TCP IP devices that want an IP address send RARP requests with your Ethernet address as a network broadcast Activate the RARP server on the UNIX system and enter the Ethernet address of the Web lO in the file etc ethers You must also en
202. restarted or after the lease time has expired only makes sense in network environments with automatic cross connection between the DHCP and DNS services This means when a new IP address is assigned to the Com Server the DHCP server then automatically updates the DNS system as well The new address is associated with the respective domain name If in doubt consult your system administrator for detailed information about your network environment If the Web IO is configured as a TCP or UDP client and itself actively searches for a connection to server services in your network dynamic changing IP addresses may be used 7 1 5 Assigning the IP using BOOTP protocol Some networks use BOOTP as predecessor of DHCP protocol for centralized and dynamic assignment of IP addresses The factory default setting is for BOOTP turned off You can activate it from Config Device Basic Settings Network The following parameters can be assigned Paddress e Subnet mask Gateway address e DNS server A To prevent unintended address assignments or changes we recommend deactivating the DHCP BOOTP and RARP protocols if they are not expressly used in the respective network environment Web lOs with incorrectly assigned IP Subject to errors and modifications 275 W amp T Assigning the IP addresse addresses can be easily found after the fact using the scan function of the WuTility management tool and reconfigured Address reservat
203. rning on Output 0 or Subject to errors and modifications 149 W amp T Alarms GET outputaccess0 PW password amp State OFF amp NA ON amp for turning it off A linefeed should be added to the command by pressing the Enter key Details on the commands can be found in section 5 6 2 A Please note that the trigger for the alarm must be present for min 1 second for the command to be reliably sent 5 5 7 Sending alarm messages to a Syslog Server To send a system message to a Syslog server when the alarm condition is met select Syslog Message enable under Config gt gt Device gt gt Alarm gt gt Alarm in the Enable area Required access rights Administrator Enable Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Storage Undo Logout Click on the Temporary Storage button to send the settings to the Web IO b Under Config gt gt Device gt gt Alarm gt gt Alarm1 gt gt Syslog you can then enter the Syslog specific configurations 150 W amp T Alarms IP Addr Name or IP address of the Syslog server 10402201 pe Port 514 5 Session Control Syslog Text gt Pur Aa O 3 Device LED Tex il Hene Date Alarm Clear Text lt c gt Pump lt 0 gt E _ Basic Settings L Output Mode 1 o Alarm S Alarm 1 Tempora
204. rotected with a free running diode Subject to errors and modifications 31 W amp T Connections operating elements and LEDs When dimensioning the output voltage supply the required current should be taken into consideration If the selected output voltage varies between 12V and 24V Vcc and Vdd can also be supplied from the same source 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3132 Web lO 57630 12x Digital Input 12x Digital Output lt gt 10 1008T Idiag C ee http 123 4 5 6 7 8 9 10 11 12 13 14 15 16 32 W amp T Connections operating elements and LEDs 3 4 Connecting Web IO 12xDig In 6xDig Relais Inputs Reset Device State rur 19 19 20 21 22 23 24 25 26 27 28 29 30 313 LEDs ES C ox Ethernet 12x Digital Input 6x Relais AIO a m CE Rs232 BE Port a AE A567 8 9 10 1112 13 14 1546 Outputs not connected Supply Voltage Input 3 4 1 Supply voltage input The supply voltage is connected to screw terminals 1 and 2 The included 230V plug in power supply is equipped with a special plug on the low voltage side Alternately an existing voltage of between 12V and 24V can be connected Since the Web IO can operate on AC or DC voltage the polarity of the supply voltage is not an issue To prevent cable breaks we recommend fitting the ends of the conductors with crimp contacts 3 4 2 Input circuit The Web IO 12xDigital has 12 digital inputs divide
205. rs in their existing state Here you work with an output mask and the output value The output mask specifies which outputs are changed The output value specifies which state these outputs should assume Example Output 1 should be switched ON Output 2 should be switched OFF Output 4 should be switched ON Output 5 should be switched OFF Output 10 should be switched ON Output 11 should be switched ON This means the following outputs are changed Subject to errors and modifications 99 W amp T SNMP 1 2 4 5 10 and 11 The output mask is calculated as follows 0x29 1x2 1x2 0x23 1x24 1x2 0 26 0x27 0x28 0x29 1 210 1x2 3126 In hexadecimal format this corresponds to 0xC36 To calculate the output value you only need to add the bit significances which correspond to the ON state i e 1 1x2 1x24 1 210 1042 In hexadecimal format this corresponds to 0x412 The output mask and value are sent using the SNMP variable wtWebioEA12x1l2SetOutput as an 8 byte octet string Changing the configuration The basic settings of the Web IO can likewise be read using SNMP and changed after a valid session login The private MIB represents all the parameters which can be configured from the browser interface In contrast to setting the outputs takes 100 W amp T SNMP place immediately after a valid session is opened the session must first be properly closed for the changes t
206. rt 80 64 W amp T HTTP Inputs and Outputs control from the Browser Config Device Basic Settings HTTP User Lp Smart tup index htm eg Config home htm ser htm GET Header enable GET HTTP enable HTTP Port Default Port 80 fo gger InputO Input 1 VEU Storage Undo Logout All other settings on this page are described later in the manual and should not be changed at this point If the HTTP port is changed the Web IO can be reached from the browser only by additionally specifying the selected HTTP port Adresse http j 172 16 232 17 85 ndextm Example for HTTP Port 85 This also applies to all configuration access The change takes effect after Apply and Logout Save Save new configuration Exit without saving Abort In this mode the inputs of a Web IO Digital are sent to the outputs of a second Web IO and vice versa Subject to errors and modifications 65 W amp T Box to Box 5 2 Box to Box Web lO A In the case of Box to Box connections one Web IO assumes the function of the master The second Web IO functions as a slave The slave waits for the master to connect with it Both the master and the slave must be configured correspondingly For Web IOs with relay outputs you must maintain a pause of at least 200ms between two switching operations on one output 5 2 1 Configuring the Slave Web lO Required access rights Administr
207. rver Password Here you enter the Administrator password for the slave Web IO If no password was assigned for the slave leave this field blank Inactive Timeout This parameter has no function in Box to Box mode since a continuous connection is desired Input Trigger Activate here the inputs that will set the corresponding slave outputs n The Web IO 12XDigital allows simultaneous access to the inputs from various operation modes This means for example that inputs 0 5 control outputs 0 5 on the slave Web IO but can also be read via HTTP at the same time Interval If no interval is entered the state of the inputs is sent to the outputs of the other Box to Box partner each time the state changes Entering an interval sends the state cyclically even if there is no change AX If two locations are connected over a fee based ISDN line you should not use an interval since depending on the timeout and interval the ISDN connection is never closed or is very frequently reopened 72 W amp T Box to Box Application Mode Select Box2Box Master After you have entered all the parameters click on the Temporary Storage button Select in the navigation tree Config Device Output Mode Output Mask Name HTTP UDPASCI SNMP Binary Binary c c 6 Output 1 c c amp C Select all OI C Safety After expiration of this interval time in 100ms without
208. ry Storage Undo Logout i Mail i iO SNMP 0 UDP FO i n Syslog FTP IP Adr Here you enter the IP address of the Syslog server receiving the Syslog message Port In this field enter the local UDP port on which the Syslog server should receive the Syslog message The standard port for Syslog is 514 Syslog Text Just as with the mail and SNMP function it is possible to enter a text here for sending to the Syslog server To include the status of inputs and outputs or states of the counters you can also use the alarm variables Subject to errors and modifications 151 W amp T Alarms Alarm Variable Input state as bit pattem in hex format lt inx gt Name of Input No x ox State of Output No x EH OFF cx Count state of counter no x in decimal format lt y gt Year formatted lt d gt Day formatted DD lt i gt Minutes formatted mm depending on the Web IO Type x can be between 0 and 23 Alarm Clear Text As in case of syslog text you can enter here a freely formulated text for the Alarm Clear message Send the settings to the Web IO by clicking on the Temporary Storage button Finally you must enable the Syslog service To do this select Config gt gt Device gt gt Basic Settings gt gt Syslog Syslog Server IP Syslog System Messages Name or IP address of the Syslog server n Syslog Server Port Port No 1 65534 default 514
209. s ce sideSpace20 gt Counter lt td gt lt td class ce gt Clear lt td gt lt td class borderLeft sideSpace gt Outputs lt td gt lt td class sideSpace gt State lt td gt lt td class ce gt Switch lt td gt lt tr gt lt tr gt lt td class sideSpace gt lt w amp t_tags input0 gt lt td gt td class ce id input0 gt lt td gt td class ce id counter0 gt lt td gt td class ce sidespace gt input class button onclick clearCounter 0 type button value Clear gt lt td gt 166 W amp T Own web applications td class borderLeft sideSpace w amp t tags output0 td td class ce id output0 gt lt td gt td class sideSpace gt input class button onclick setOutput 0 type button value Toogle gt lt td gt lt tr gt lt tr class whiteBack gt td class sideSpace gt lt w amp t_tags input1 gt lt td gt td class ce id input1 gt lt td gt td class ce id counter1 gt lt td gt lt td class ce sidespace gt lt input class button onclick clearCounter 1 type button value Clear gt lt td gt lt td class borderLeft sideSpace gt lt w amp t_tags output1 gt lt td gt td class ce id output1 gt lt td gt lt td class sideSpace gt lt input class button onclick setOutput 1 type button value Toogle gt lt td gt lt tr gt lt table gt lt bo y gt lt html gt Here is how this looks in the browser
210. s a gt Check whether the entries for subnet mask and gateway are correct and confirm with Continue Once all the settings have been correctly added the Web IO appears with the desired IP address in the list After scanning the network again Wutility should update the display in full All other settings can now be made conveniently from the browser using Web Based Management After loggin in as Administrator use the mode Profiles to configure standard application cases Detailed descriptions for configuring the various modes can be found in the following sections 20 W amp T Connections operating elements and LEDs 3 Connections operating elements and LEDs E Supply voltage connection Bl input and Output connections E Ethernet connection E RS232 Bl Device status LEDs Subject to errors and modifications 21 W amp T Connections operating elements and LEDs 3 1 Connecting Web IO 2xDig In 2xDig Out PoE Type 57637 57638 Network Power Status 3 a E a z G El 3B gt 5 2 S fe di ag 3 1 1 Supply voltage input Vcc The supply voltage is coinected to the screw terminals on the underside of the housing The AC adapters availble from W amp T are equipped on the low voltage side with a special plug Alternately an availble voltage of between 12V and 24V for po wer can be connected Since the Web IO can be operated on AC or DC voltage polarity of the s
211. s listed on the HTML page diag and can be read using the browser Since error management via browser for program controlled applications is not always available the error status of the Web IO can be queried using the structure ReadDiagnosis 226 W amp T TCP UDP Binary The ReadDiagnosis structure 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n moms Ol auum 00 Start 1 ba A 16 Bit Value 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Start_2 Bit 16 Bit Value ESTATSTEISTSSTS TE TEE PET TS i ow Byte Word 16 Bit xs Esser DA StructType Word 1 oe 16 Bit Value nshiahishizfrifiofo Ls 7 6 5 4 3 211 0 Word 16 Bit GESTUS 08 StructLength length in Bytes The Web IO replies with a Diagnosis type structure 10 Structure Diagnosis The Web IO replies to the ReadDiagnosis structure with a Dia gnosis type structure The Diagnosis structure EET Word 16 Bit 2 EP 00 opere 00 Start 1 always 0 514 13 12 1110 9 8 7 6 5 4 3 2 1 a ae Start_2 A 76 Bit Value 514 13 12 1116 9 8 7 6 5 4 3 2 1 High Byte Low Byte Byte ofstructure OO 5 of structure DO 16 Bit Value 514 13 12 1116 9 8 7 6 5 4 3 2 1 High Byte Low Byte 8 Byte of structure 00 7 Byte of structure 1 Bit Valu 31 30 29 28 27 26 25 24 23 2 21 poho he 17 s aps 2 1 hos 8 7 6 5 4 3 2 1 0 32 Bit Value 131 30 29 28 27 26 25 24 23 22 o1 po 1e a ve Spa ppp
212. same time xxxx represents in hex format which outputs are permitted to change yyyy represents in hex format to what state the outputs should be switched Inserts the system time and data of the Web IO in the Web site Inserts a button having a reload function in the Web site When logging in with Operator or Adminstrator rights the Web IO generates a Session ID When the page is opened again this Session ID must be specified as a parameter so that for example when jumping back through a link the access rights are retained An example for use of W amp T Tags The following HTMP source text shows an example of how to use W amp T tags Since the W amp T tags are replaced by the actual content when first loaded into the Web IO browser the Web page must first be saved in the Web lO 160 W amp T Own web applications In this case as a User page user htm lt DOCTYPE html PUBLIC W3C DTD HTML 4 01 Transitional EN gt html lt head gt lt meta http equiv Content Type content text html charset iso 8859 1 gt lt linkrel stylesheet href style css type text css gt Damit die Inhalte der W amp T Tags richtig angezeigt werden muss das Sylesheet style css verlinkt werden title W amp amp T Web IO Home lt title gt lt head gt lt body gt lt div align center gt lt p class size5 gt lt b gt lt w amp t_tags device_name gt lt b gt lt p gt lt p class size4 gt lt w amp t_tags device
213. select in the navigation tree Config Device Output Mode Required access rights Administrator Home Output Mask User Name HTTP Smart eae Output 0 _ 6 amp j Session Control Output 1 Select all s 1 Text 9 35 Time Date Safety After expiration of this interval time in 100ms without receiving data 9 5 TimeZone Timeout outputs switch to the configured safety states Summertime Bo C Start E a Stop Power Max 150mA Time Server Internal 24V enable Device Clock amp 7 Basic Settings Storage Undo Logout p Output Mode Voc Safety Timeout Enter here the time that should elapse before the absence of a network access causes the outputs to be set to the set pattern Subject to errors and modifications 243 W amp T Safety Timeout State The entered value times 100ms is the timeout time you can enter values between 1 and 9999 Example a value of 50 represents 5 seconds As a rule of thumb use a timeout that is 10x longer than the time between two scheduled or expected accesses Send the settings to the Web IO by clicking on the Temporary Storage button 6 2 2 Specify Safety State Select in the navigation tree Config Ports Outputs and for example Output oo User vo Smart 9 5 Config Text ta Mi Description Output 0 Device G Ports Group Mode q 9 4 separated i Inputs C 0 4 pz
214. sing an alarm trigger bit in the bit memory area you can trigger alarms The bits begin at address 0x1800 For models 57630 57631 and 57634 there are 12 alarms available Model 57637 provides 4 alarms In the browser configuration interface for example under Config gt gt Device gt gt Alarm gt gt Alarm you select how the alarm should be sent Here for example via e mail Required access rights Administrator Enable Iv Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Tempo n Storage Undo Logout For an alarm triggered by Modbus there should be no other triggers Input Trigger Output Trigger System Trigger activated 128 W amp T Modbus TCP The remaining configuration of the alarms is done normally as described in the following section E mail and more alarm when status changes Using special tags when sending alarms mail FTP SNMP you can also embed a representation of the virtual memory into the alarm message The tag stands so to speak as a placeholder for the contents of the selected register The tags allow representation in 8 16 or 32 bit manner You can specify whether the addressed value is output in decimal or hexadecimal In addition the memory offset is given starting at address 0x7000 lt r gt register type ze Bit 16 Bit w 32 Bit format signed d
215. sing the gx Button you can ping the entered server This allows you to verify whether the entered server is accessible by the Web lO If the entered server is not located in the same subnet the condition is that subnet mask and gateway have first been stored in the Web IO using Logout gt gt Save If you do not have the required information contact your network administrator When you have made all your entries click on the Temporary Storage button This sends the parameters first to the Web lO The changes do not become effective until they have been activated For this use the Logout button or menu path Config Session Control LogOut Home Save new configuration M b Smart Oj Config OS Session Control Exit without saving we Abort Profiles New Password After clicking the Save button the Web IO is restarted with the current parameters Normally the start page of the Web IO is refreshed within about 10 seconds If it does not refresh click on the here link Note that applications which are communicating with the Web IO at this point in time may experience a fault The Web IO is now set up to the point that it can also be accessed throughout the subnet 52 W amp T Configuring the network parameters Changing the Device Name By default each Web IO has an individual device name which consists of the designation WEBIO followed by the last 3 places of the Ethernet address For example
216. st be factored in If active components such as routers bridges or even ISDN segments are included in the transmission path the latency time increases correspondingly so that latency times of 500ms or more can occur Box toBox with multiple partners It is not possible to outputs signals from an input to the outputs of multiple Web IOs It is possible however to use Bina Subject to errors and modifications 77 W amp T Box to Box ry 1 and Binary 2 modes of a master Web IO for example to link inputs 0 5 to Slave by tinputs 6 11 to Slave B Mixing the various Web IO models It is possible to connect different Web IO models with each other box to box The condition is that the Web IO is configured with a smaller number of ports than the Master 1 Example You want to connect a Web IO 2xDigital to a Web IO 12xDigital Box to Box The Web IO 12xDigital in this case is configured under Binary 1 as Box to Box Slave whereby the input triggers for InputO and Input are set Also in the Output Mode area the outputs 0 and 1 are enabled for Binary 1 The configuration is then saved The Web IO 2xDigital is configured as a normal Box to Box Master for Binary 1 2 Example You want to connect a 2 Web IO 2xDigitals to a Web IO 12xDigital Box to Box As in the first example you first configure the Web IO 12xDigital as a Slave This is done both for Binary 1 and Binary 2 The input triggers 0 and 1 are set for Binary 1 and
217. t amp The Web IO responds diagnosis 0005 00400040 008A0000 00000000 The application sends GET diagnosis1 PW wut amp The Web IO responds diagnosis1 MailServerantwortetnicht The application sends GET diagnosis2 PW wut amp The Web IO responds diagnosis2 DasVersendenderMailwurdeabgebrochenundwirdwiederholt 202 W amp T TCP UDP The application sends GET diagnosis3 PW wut amp The Web lO responds diagnosis3 ZiellP Adresseunbekannt 172 16 232 8 The application sends GET diagnosis4 PW wut amp The Web lO responds diagnosis4 WatchdogTimerabgelaufen The application sends GET diagnosis5 PW wut amp The Web lO responds diagnosis5 TCPClientAlarm Servernichterreicht Clearing the error memory command strings The list of errors occuring during runtime remains stored in the Web IO even if the error is no longer present at the time of query To clear the error memory use the command GET diagclear PW password amp The Web IO responds with diagnosis 0000 00000000 00000000 00000000 if there are no current errors Subject to errors and modifications 203 W amp T TCP UDP command strings Special handling of overload errors TCP only The Web IO can continuously monitor for the load on the outputs If the maximum output current is exceeded the corresponding output is turned off as long as the overload is present The menu item Config Device
218. t groups can be found under Config Device Output Mode Required access rights Administrator 250 W amp T Port configuration Output Mask Name HTTP UDP asen SNMP Binary Outputo gt o Output 1 g c gt Selectall c Safety After expiration of this interval time 100ms witho Timeout data outputs switch to the configured safety states 50 Power Max 150mA Internal 24V enable Storage Undo Logout Here the outputs that are combined group are highlighted in the same color In the example shown Outputs 0 3 represent a group Out puts 4 and 5 and Outputs 6 and 7 represent two additional groups Outputs 8 9 10 and 11 are ungrouped and can be switched individually An additional way to see the groups at a glance is under Diag gt gt Test gt gt Output Config in the column Group Mode Required access rights Administrator Output Konfiguration und Status Von der Klemme direkt aufs Netzwerk Output Modus Group Mode Safety State Load Control Output 0 Binary 1 0 1 parallel unverandert inactive Output 1 Binary 1 0 1 parallel unverandert inactive last update Mo KWO09 28 02 2011 16 52 30 Binary 1 ModBus TCP Server waiting for TCP Client Output Power State 0 mA Subject to errors and modifications 251 W amp T Port configuration 6 3 3 Logic functions The Web IO allows
219. ta which the Web IO sends after the physical links are established e g ARP requests and BootP packets We recommend deactivating the unneeded protocols and functions of the switch on the port used for the Web IO Please consult the responsible network administrator 38 W amp T Connections operating elements and LEDs 3 7 Serial connection In the Web IO 12xDigital without Com Server functionality and in the Web IO 24xDigital OEM the serial port is available only for configuration purposes such as IP address assignment The pinouts of this RS232 port are identical to those of your PC This lets you use standard cables A detailed pin description as well as the W amp T cables required for most common applications can be found in the illustrations below RS232 pin assignments and functions DB9 plug TxD RxD PC PC cable 11992 DTR GND DSR O O o O O RTS To serially assign the IP address cable 1199x and 1179x are recommended The Web IO 2xDigital does not have a serial port n c CTS DB9 female DB9 female Subject to errors and modifications 39 W amp T Connections operating elements and LEDs 3 8 LEDs for device status Power LED Indicates the presence of supply voltage If the LED does not come on check the power supply connections Status LED Blinks whenever there is network activity with the Web lO
220. tains the IP address and the name Example B The P address of the Web IO is 172 16 232 17 B W amp T Web lO 12xDigital was entered as the device name under Config Device Text B The application polled the inuts using GET input PW d The Web lIO returns 172 16 232 6 W amp IWeb I012xDigital input 0000 If GET Header enable was activated the header precedes all data transmission from the Web lO If all conditions have been specified activate the new setting using Config Session Control LogOut Subject to errors and modifications 187 W amp T TCP UDP command strings Messaging with defined input patterns In some applications it is practical to get the state of the inputs only when certain input patterns occur n The messaging method described here can be used in tandem with normal event triggered operation in practice however this does not offer any advantages since in this case there will be a message whenever there is a change This means you would receive double messaging whenever the specified input pattern occurs To set the conditions for a TCP alarm message when certain input patterns occur go to the navigation tree and select Config Device Alarm Alarm 1 Required access rights Administrator 188 W amp T TCP UDP command strings Input Trigger IV InputO C OFF ON C ANY Input 1 OFF C ON C ANY Output Trigger Output O0 OFF C ON C ANY Output
221. ter the IP address of the Web IO in the file etc hosts 5763x Model EN 00c03d003fa0 Ethernet address OK xxxxxx The Web IO must be located the same subnet as the RARP server Subject to errors and modifications 271 W amp T Assigning the IP addresse Example Your Web IO has the MAC address EN 00C03D003FA0 device sticker You want to give it the IP address 172 16 232 17 and the alias name 1 a Entry in the file etc hosts 10 40 72 15 WEBIO 1 Entry in the file etc ethers 00 C0 3D 00 3F A0 WEBIO 1 If the Web IO s IP address is 0 0 0 0 Factory Default RARP broadcasts are cyclically generated in order to obtain a valid address from any existing RARP daemon If the Web IO already has a valid IP address an RARP broadcast is generated following each reset If a reply follows within 500ms the IP address contained therein is accepted As with assigning via the serial port this method also makes it possible to overwrite a current IP address 7 1 4 Assigning the IP using DHCP protocol Many networks use DHCP Dynamic Host Configuration Proto col or its predecessor described in the following section for centralized and dynamic assignment of the network parameters DHCP protocol is activated by the factory default settings so that in network environments dynamic IP assignment is sufficient for connecting the Web IO to the network The following parameters can be assigned using DHCP IP address
222. the Save button AX If you log in again as a Configurator or Administrator immediately after activating the time server synchronization it can happen that access will be denied to you after a few seconds This is because for security reasons the Web IO resets the login rights after one hour If for example the Web IO has a time setting of 12 00 hours on 01 01 2002 factory default at power on just when the login takes place and the time server sets the time to 13 42 hours on 26 06 2003 the time span is considerably greater than one hour and the Web IO cancels the access rights After logging in again the full hour can then be fully used up for configuration 242 W amp T Safety Timeout State 6 2 Safety Timeout State Access monitoring Components that communicate with each other over a network must rely on a functioning network infrastructure Even though today s networks offer a high degree of transmission security problems can never be entirely precluded To ensure predictable behavior of the Web IO when there is a network disturbance a Safety Timeout is provided The associated watchdog monitors whether there has been a network access to the Web IO within a configurable interval of time The watchdog timer is reset each time there is a network access and plces the outputs in the configurable state when the set Safety Timeout time has been reached 6 2 1 Specifying safety timeout To configure the safety timeout
223. the Temporary Storage button Select in the navigation tree Config gt gt Device gt gt Alarm gt gt Alarmi gt gt SNMP Required access rights Administrator Manager IP Name or IP address of the SNMP manager 10402201 Config Trap Text lt t gt Pump i0 ES E Alarm Clear Text lt gt Pump lt 10 gt E I Storage Undo Logout Manager IP Enter here the IP address of the network management system that will receive the SNMP information Trap Text Just as with the mail function you can also enter a trap text here which is sent to the manager software 142 W amp T Alarms To incorporate the status of inputs and outputs as well as counter states into the text you can likewise use alarm variab les Alarm Clear Text As in the case of the trap text here you may enter here a freely formulated text for the Alarm Clear message The maximum length of the trap text must not exceed 450 bytes Longer texts are cut off by the Web IO Alarm Variable Description lt i gt Input state as bit pattern in hex format lt inx gt Name of Input No lt gt State of Output No x ON OFF em Count state of counter no x in decimal format lt gt Year formatted lt d gt Day TREE DD lt 1 gt Minutes formatted mm depending on the Web IO Type x can be between 0 and 23 If you have entered an Administrator password you will ave to enter
224. this in your manager software as a community string 5 5 4 Alarm via UDP Another way to pass an alarm to another network station is provided by UDP protocol Here a corresponding program must be running on those PCs that are supposed to receive such an alarm To enable UDP for alarm sending select Config Basic Set tings UDP in the navigation tree Required access rights Administrator Subject to errors and modifications 143 W amp T Alarms In the Port field enter the desired local port The factory default setting is Port 42279 Check the UDP enable box Port Port No 1 65534 42279 Remote Port static Port No 1 65534 Dynamic Ports AUTO Enable Iv UDP enable bul Storage Undo Logout Send the selected settings to the Web IO by clicking on the Save button To activate UDP for alarm transmission select in the navigation tree Config gt gt Device gt gt Alarm gt gt Alarm and select UDP Cli ent Enable inthe Enable area Required access rights Administrator Enable Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable JEN Storage Undo Logout Send the settings to the Web IO by clicking on the Temporary Storage button Under Config gt gt Device gt gt Alarm gt gt Alarm gt gt UDP the UDP specific configurations can then be entered 144
225. tings imi Language L Network in i 0 Mail SNMP upp L Syslog Config Device Basic Settings HTTP Startup index htm home htm user htm GET Header enable GET HTTP enable Default Port 80 Input 0 Input 1 Storage Undo Logout All additional settings on this page are described in the manual and should not be changed at this point The User page can be replaced with an individually constructed Web page For details see section Access from your own application 5 1 3 The Smart page The Smart page has been optimized for display on smart phones such as the iPhone and is opened at http lt IP address gt smart Subject to errors and modifications 59 W amp T HTTP Inputs and Outputs control from the Browser The Smart page displays the status of inputs counters and outputs Just as with the User page login is possible for the page functions without also accessing the navigation tree A password entered at login is stored on the smart phone as a cookie For the user the advantage of this is that he can access the outputs from his smart phone when repeatedly opening the Smart Phone page without having to log in each time since login is automatic If a password was assigned for the Web IO login is required for displaying the status of inputs outputs and counters 5 1 4 Labeling and texts Required access ri
226. to locate and maintain it in larger installations Contact Here you can enter for example an e mail address or telephone number at which the responsible technician can be reached when service is needed To save the texts click on the Apply button and in the Config menu select gt gt Session Control gt gt LogOut Save new configuration E Smart Le Config eg T Exit without saving wo 20 L New Password After clicking on the Save button the Web IO is restarted using the current parameters i If you like to learn more about the expressions and names used ask for a free copy of our book TCP IP Ether net and Web IO where the necessary basics for starting up network components are explained WWW WUT DE 54 W amp T Access types 5 Basic Functions B HTTP Controlling inputs and outputs in the browser B Box to Box B Time based switching E Integration into existing systems E E mail and more information when status changes alarms E Access from your own application Subject to errors and modifications 55 W amp T HTTP Inputs and Outputs control from the Browser 5 1 HTTP Controlling 105 in the browser Access from the browser is the simplest way for the user to monitor inputs and counters and to control the outputs The Web IO offers standard views and Web pages B Home For viewing the IO states and alarm status User For viewing the IO states and as needed the availabl
227. tocol ID Length Unit ID Function Code MES Start Address 16 Bit Word pakabino Ls 7 605 3 2 1 0 Quantity of SER Outputs Start Address Specifies at which address to begin writing output bits Quantity of Outputs Here the number of output bits written is sent Example Output 1 on a Web IO should be turned ON Output 0 should be turned OFF Output 1 is ON Output Address is set to 1020 Quantity of Outputs to 0x02 Byte Count to 0x01 Subject to errors and modifications 121 W amp T Modbus TCP One byte Output Value with content 0x02 is sent The Web IO replies with Output Address 1020 Quantity of Outputs 0x0002 Function Code 0x10 Write Multiple Registers Function Code OxOF is intended for writing multiple 16 bit register values Transaction ID Protocol ID Length Unit ID Function Code ise Start Address 16 Bit Word Quantity of Registers BE Byte Count Register Value 12 11 8 7 605 3 2 1 0 High Byte Low Byte miae XX 16 Bit Word Start Address Specifies at which address to begin writing registers Quantity of Registers Here the number of 16 bit registers to write is sent When writing to the 32 bit area of the Web IO two 16 bit registers must be counted per 32 bit value Bytes Count Contains the number of bytes to be sent 2 bytes are counted for each 16 bit register to be sent 122 W amp T Modb
228. twork UDP Port 8513 is provided for this purpose After receiving a network packete on this port the Web IO replies to the sender with an info packet This contains information about the Web IO and its network parameters Whether a packet was received via broadcast or directly addressed makes no difference in generating the info structure The only requirement is that Port 8513 be used For reasons of backward compatibility the Web lOs continue to support UDP info port 8512 For new applications however only Port 8513 should be used 7 6 1 The info packet Each info packet consists of 3 6 data structures BOX_VERSION contains information about the respective model of the Web lO or Com Server and its firmware version Network relevant data such as MAC and IP address can be taken from the BOX_DESCRIPT structure The 3 6 structure PORT_DESCRIPT provides information about the sete operation mode for W amp T Com Servers only and the current connection status of the in dividual ports The total length of an info packet is calculated as follows 10 22 port_anz x 10 bytes pragma pack 1 typedef struct _BOX_VERSION 10 byte unsigned int version 0x10 1 0 Version of this structure unsigned int sw_rev z B 1 24 0x1501 unsigned int hw rev C2 EURO 2 0 0x0002 C3 PC104 3 0 0x0003 C4 MINI 4 0 0x0004 C5 100BT 5 0 0x0005 C6 INDUSTRY 6 0 0x0006 C8 LOW VOLTAGE 8 0 0x0008
229. ued with the original DHCP server If the latter is not resolvable at this point in time the Com Server deletes the IP address and starts a new cyclical search for alternate DHCP servers If DHCP is activated the remaining lease time together with the current IP address is displayed in the menu item Config De vice gt gt Basic Settings gt gt Network using the format hh mm ss AX If after the assigned lease time has expired the DHCP server is not reachable the Web IO deletes its IP address All existing TCP UDP connections between the Web IO and other network clients are thereby closed To prevent such events we recommend configuring the assigned lease time in the DHCP server to infinite if possible Reserved IP addresses If the Web IO is used as a TCP server or UDP peer it provides services which other clients in the network can also make use of as needed To open a connection they of course need the current IP address for the Web IO so that in such situations it makes sense to reserve a particular IP address for the Web lO on the DHCP server This is generally done by linking the IP 274 W amp T Assigning the IP addresse address to the unique Ethernet address of the Web IO which can be found on the sticker attached to the housing 5763x Model EN 00c03d003fa0 Ethernet address OK xxxxxx Dynamic IP addresses Fully dynamic address assignment whereby the Web IO gets a different IP address every time it is
230. umulate Mode Select here E Default f you want access to the Web IO to be password protected 212 W amp T TCP UDP Binary B Compatible 50xxx If you want to access applications that were programmed for the older Digital I O Com Servers You can also use this mode for new applications that do not require password protection Additional information about Box2Box Master can be found in the section Box to Box Once you have made all your settings send them to the Web 10 by clicking on Temporary Storage In addition you must enable the outputs you want to use for binary mode Under Config Device Output Mode check the desired binary access Required access rights Administrator Output Mask Safety Timeout Power Name HTTP UDP ASCII SNMP Binary 1 Binary Ou 0 c o C Output 1 c amp C Select all C After expiration of this interval time in 100ms without receiving data outputs switch to the configured safety states Max 150mA Internal 24V enable Storage Undo Logout Once you have made all your entries send them to the Web IO by clicking on the Temporary Storage button Clicking on the Save button activates the settings The Web IO as UDP Peer To operate the Web IO as a UDP peer you must make a few ad ditional settings Subject to errors and modifications 213 W amp T TCP UDP
231. upply voltage is non critical To prevent cable break we recommend fitting the wire ends with crimp contacts A The terminals Vdd on the front side power only the switching outputs and require a DC voltage Please refer to the section Output wiring 22 W amp T Connections operating elements and LEDs 3 1 2 Input wiring The Web IO 12xDigital is equipped with 2 digital inputs The permissible input voltage range is 30V referenced to ground The switching threshold for the inputs is 8V 1V Voltages less than that are recognized as OFF 0 signal Voltages above 8V are by the Web IO as ON 1 signal Input voltages between 7V and 9V should be avoided since they represent no defined state Network 3 a 2 5 EH i 8 Outputs Vdd GND Inputs 1 24 The connection example shows how two inputs are driven by signals from different circuits without PoE Here it is important that the input signals have the same reference to ground Alternately it is possible to power the device using PoE In this case the internal auxiliary supply can be used for example to switch a signal to the inputs through potential free contacts The Web lO 2x Dig Inp 2x Dig Out PoE 24V DC provides 24V DC on terminals 3 and 4 of the front terminal strip These have a maximum load capacity of 150mA Subject to errors and modifications 23 W amp T Connections operating elements and LEDs i PoE Power
232. ure to the user program value has the value corresponding to the input state The WriteRegister structure ESESETSESSTSETS EET ETT High Byte Low Byte ofstructure 00 1 eyieorstuctue OO Start_1 76 Bit Value 5 14 13 12 1110 9 8 7 6 5 4 3 2 1 High Byte Low Byte 4 Byte of structure 00 3 Byte of structure 00 Start_2 16 Bit Value 5 14 13 12 1110 9 8 7 6 5 4 3 2 1 High Byte Low Byte 6 Byte of structure 00 s Byte of structure 08 StructType 76 Bit Value 7 6 5 4 3 2 1 Low Bj OS StructLength 76 Bit Value popapspops nope p 7 p4 2 0 High Byte Low Byte 10 Byte of structure 00 9 Byte of structure 01 Amount 16 Bit Value 5 14 13 12 1110 9 8 7 6 5 4 3 2 1 High Byte Low Byte 12 Byte of structure 0 11 Byte of structure Value 16 Bit Value Word 16 Bit always 0 Word 16 Bit always 0 Word 16 Bit structure type Word 16 Bit length in Bytes Word 16 Bit always 0 Word 16 Bit binary input State For Web IOs with relay outputs you must maintain a pause of at least 200ms between two switching operations on one output The IO structure SetBit This structure allows you to set individual outputs on the Web 10 12xDigital If for example the entire process status is not represented in the user program individual output can be set without changing the value of the others Bits 0 11 in set bits and value correspond to the respective outputs This structure
233. ures to protect against noise We recommend using shielded cable and or ferrite cores as well as separate cable runs to prevent noise signals from being interpreted as actual signals In addition to detecting the input status ON OFF each input also has a counter As shipped the edges are counted state change The counters in the first input group can alternately be changed from edge to pulse counting 3 4 3 Output circuit The 6 outputs of the Web IO are relay contacts N O The switch voltage for the outputs can be up to 30V DC 150W or 48V AC 240W Subject to errors and modifications W amp T Connections operating elements and LEDs 10 57634 Web 12x Digital Input 6x Relais Output lt gt 10 100BT spe enor S http Serial Port max 30V DC max 48V AC When dimensioning the output voltage supply the required current should be taken into consideration If the selected output voltage varies between 12V and 24V Vcc and Vdd can also be supplied from the same source 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 z 5 8 36 W amp T Connections operating elements and LEDs 3 6 Ethernet connection The Web IO models provide an IEEE 802 3 compatible network connection via a shielded RJ45 connector The pinouts correspond to an MDI interface so that the connection to the hub or switch can be made with a 1 1 shielded patch cable PLANS PG 3 SX Rx
234. us TCP Register Value Here the 16 bit registers are sent The first high byte is set as the 14th byte in the data packet the first low byte as the 15th byte etc When writing to the 32 bit area of the Web lO starting at address 0x5000 two 16 bit registers per 32 bit value beginning with the highest byte of the 32 bit value must be written The Web IO replies with a data packet having the following structure Transaction ID Protocol ID Length Unit ID Function Code FTETELT deo od Start Address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ES Byte bow Byte Xx Quantity of 12 Byte 11 Byte 16 Bit Word Registers Start Address Specifies at which address to begin writing the 16 bit registers Quantity of Outputs Here the number of written 16 bit registers is sent Function Code 0x07 Read Exception State Function Code 0x07 is intended for reading the exception state error status of the Web lO Subject to errors and modifications 123 W amp T Modbus TCP Transaction ID Protocol ID Length Unit ID Function Code Packets sent by the master with Function Code 0x07 consist only of a Modbus header and Function Code No other parameters are sent The Web IO replies with a data packet having the following structure Transaction ID Protocol ID Length Unit ID Function Code Exception Code Exception Code For the Web IO the Exception Code simply indicates the state of the LEDs for Syst
235. ut time based switching can be found in the section 5 3 Time Switch Web IO as time switch To ensure that the uploads are still in effect after power has been interrupted enable the new settings using Config Ses sion Control gt gt LogOut Save 260 W amp T Diagnostic and Test 6 7 Diagnostics and testing The Web IO provides internal error management and a diagnostics system 6 7 1 Error report When an error occurs this is indicated on the device by the on error LED flashing In addition any error states occuring are documented in a report and can be read out later All error messages are stored in the Web IO and are retained even if the cause of the error has been remedied To do this select Diag gt gt Report W amp T Diagnose Web IO e System Netzwerkst rung oder Fehler der Konfiguration e DNS DNS Server Antwort nicht erkannt Web lO 2x2 Digital Bitte ggf folgende Einstellungen kontrollieren Ud Home gt gt Config gt gt Device gt gt Basic Settings gt gt Network gt gt DnsServer1 Home gt gt Config gt gt Device gt gt Basic Settings gt gt Network gt gt DnsServer2 Home m Time Server Synchronisation fehlgeschlagen i Bitte ggf folgende Einstellungen kontrollieren imet o gt gt Config gt gt Device gt gt Time Date gt gt Time Server gt gt UTC Server1 C Config o Home gt gt Config gt gt Device gt gt Time Date gt gt Time Serve
236. uts as 16 bit registers The packet structure of request and reply with Function Code 0x04 is identical to that of Function Code 0x03 Example Read the status of the inputs of a Web IO 2xDigital Input 0 is OFF Input is ON Start Address is set to 0x2000 Number of Registers to 0x01 The inputs can be called as registers starting at address 0x2002 The Web IO replies with Byte Count 0x02 Register Value 0x0002 Function Code 0x05 Write Single Coil Function Code 0x05 is intended for setting a single output Transaction ID Protocol ID Length Unit ID Function Code 10 Byte Output Address 16 Bit Word 01 High By Le wee _ Output Value 118 W amp T Modbus TCP Output Address Using Output Address you indirectly determine which output to switch Beginning at 0x1020 each output has its own address Output Value Here you specify whether an output should be turned ON or OFF ON OxFFOO OFF 0x0000 The Web IO replies with a data packet having the exact same structure Example Output 1 of a Web IO should be turned ON Output Address is set to 0x1021 Output Value to OxFFOO The Web lO replies with Output Address 1021 Output Value OxFFOO Function Code 0x06 Write Single Register Function Code 0x06 works just the same way as Function Code 0x05 and is used for setting any desired register Transaction ID Protocol ID Length Unit ID Function Code
237. uts switch to the configured safety states toc Power Max 150mA a a internal 24V enable j UpDownioad er Storage _ unio Logon Subject to errors and modifications 95 W amp T SNMP Activate here the outputs you want to control using SNMP protocol and confirm by clicking on theTemporary Storage button Now you must activate the new settings Use the Logout button or In the Config menu select gt gt Session Control gt gt LogOut After clicking on the Save button all the settings are updated in the Web IO and the start page is reopened in Default User mode Main steps for SNMP access The private MIB provided by W amp T can be used for all Web IO Digital devices Separate OID branches are used for the various models The procedure shown here applies as an example for the Web IO 12xDigital Input 1 2xDigital Output As soon as the SNMP access was enabled as described above read access is possible at any time To have write access to the Web IlO you must first open an SNMP session This applies especially if you want to use SNMP for setting the outputs Session Login To open a session you must enter the Administrator password into the variable wtWebioEAl2xl2SessCntrlPassword An opened session remains viable for 5 minutes and is then automatically closed 96 W amp T SNMP Checking a session for validity By reading out the variable wtWebioEAl12x12SessCntrlConfigMo
238. vaScript functions must be declared in the header of the Web page For read only access there are 4 functions Password protection lt script language JavaScript type text javascript gt lt function setPassword document applets dio0 setPassword Administratorpasswort If an administrator or operator password was set for the Web lO the setPassword function must be opened so that the applet can access the Web IO Instead of a static password the user can of course also be prompted by an entry field and the password be sent in that way In any case setPassword cannot be opened until the Java applet has been started since otherwise there would be runtime errors n An example where the password is transmitted using an entry field can be seen when you open the Web page app htm in the Web IO Read functions Subject to errors and modifications 175 W amp T Own web applications function inputChanged iDevice iNr iVal Programmcode der beim Wechsel an den Inputs ausgef hrt wird function outputChanged iDevice iNr iVal Programmcode der beim Wechsel an den Outputs ausgef hrt wird function counterChanged iDevice iNr iVal ProgrammcodederbeiAnderungeinesdenCountersausgeftihrtwird The three functions above were opened by the applet when a change in the inputs or outputs or counters is detected iDevice indicates in which Web IO a value has changed iNr indicates which input output
239. ves 268 7 1 1 Assigning the IP address using the ARP command 268 7 1 2 Assigning the IP address through the serial port 269 7 1 3 IPassignment via RARP server 271 7 1 4 Assigning the IP using DHCP protocol 272 7 1 5 Assigning the IP using BOOTP protocol 275 7 2 Firmware Update 277 7 2 1 Where can get the current firmware 277 7 2 2 Firmware update over the network using WIndows 277 7 3 Emergency access 279 7 4 Ports and network security 280 7 4 1 Ports 280 7 4 2 TheW amp T Web lO and network security 280 7 4 4 Ports with special function 282 7 5 Timing and signal processing limits 284 7 5 1 Signal detection 284 7 5 2 Signal transmission 284 7 5 3 Signal timing 284 7 6 Network inventory via UDP 286 7 6 1 Theinfo packet 286 7 7 Error messages and causes 289 7 8 Technical Data 291 7 8 1 Technical Data 57630 57631 291 7 8 2 Technical Data 57637 57638 292 7 8 3 Technical Data 57634 293 7 9 Disposal 294 Irrtum und nderung vorbehalten W amp T Content W amp T Introduction 1 Overview of Potential Uses Devices in the W amp T Web IO Digital product family provide the user with a number of switching in and outputs on a screw terminal with the number depending on the model A TCP IP Ethernet 10 1 00BaseT interface gives the Web IO boxes access to a variety of protocols land applications Time Switch iCal Google Calendar Intranet Internet Visual Basic Java Subject to errors and modifications W
240. will be shown how the Web IO 12XDigital can be accessed from your own professional applications using sockets with binary structures 206 W amp T UDP Binary n Box to box and OPC device modes will be treated in detail in the following sections Specifying the operation mode First you must specify whether the Web IO is to be a TCP client TCP server or UDP peer in your application Select in the navigation tree Config Device Basic Settings Binary 1 if you want to configure the operation mode for access through Binary 1 Required access rights Administrator Config Device Basic Settings Binary 1 Operation Mode Application Operation Mode Box2Box Master TCP Client Box2BoxSlave TCP Server OPC Device TCP Server ModBus Slave Server Socket Device on application 50xxx compatible Depends on application TCP Server C TCP Client HTTP Client C UDP Peer tL Mail H E Enable Enable BINARY 1 1 Syslog FTP Free memory 20713 Bytes e Binary 1 TCP Server i d TCP Client Storage Undo Logout UDP Peer After selecting the desired mode pass the setting to the Web 10 by clicking on Temporary Storage Two levels of socket programming are available to the programmer for access from your own application programs 1 Password protected access 2 50xxx Mode compatible with the older W amp T Digital I O Com Servers
241. witching times Scheduling switching times in Google Calendar The switching times can be specified like normal events in the Google online calendar The Web IO then automatically opens the calendar dates cyclically if desired from Google and calculates the switching times 1 1 4 Integration into existing systems To make it easy to integrate into existing systems the Web IO supports the most commonly used communication standards OPC The included product CD provides the free OPC server for W amp T devices This allows Web lOs to be incorporated into all OPC capable display and control systems Modbus TCP The Web lO can if needed work as a Modbus TCP client and provide the status of inputs outputs and counters using corresponding memory sectors SNMP Simple Network Management Protocol By supporting SNMP the Web IO is able to simply pass the switching states to network management systems It is also possible to send SNMP traps An appropriate MIB can be directly downloaded from the Web IO 1 1 5 Access from your own applications The socket interface of the Web IO offers three possibilities Subject to errors and modifications W amp T Introduction Communication via HTTP Requests Using HTTP requests the Web IO can be accessed from Web applications with techniques such as JavaScript AJAX and PHP This allows you to create individual applications for the browser Communication via command string In this mode a r
242. x01 0x02 1047 Alarm state 8 bit 0x01 0x02 0x01 0x02 1049 Alarm state 10 bit 0x01 0x02 0x01 0x02 104B Alarm state 12 bit 0x01 0x02 C 0x01 0x02 1068 Config state bit 0x01 0x02 0x01 0x02 1801 Alarm trigger 2 bit 0x01 0x02 0x01 0 02 1803 Alarm trigger 4 bit 0x01 0x02 0x01 0x02 1805 Alarm trigger 6 bit 0x01 0x02 0x01 0x02 1807 Alarm trigger 8 bit 0x01 0x02 0x01 0x02 1809 Alarm trigger 10 bit 0x01 0x02 0x01 0x02 180B Alarm trigger 12 bit 0x01 0x02 Please note that depending on which Web IO model are you using the entire width of the inputs outputs counters or alarms may not be available 130 W amp T Modbus TCP 16 and 32 bit area addresse description memory length read bits read reg Write bits write reg hexadec type byte with FC with FC with FC with FC 21 ut 16 bi 2 0x03 0x04 Outputs 0 11 0x03 0x04 Ale tate 1 12 2 0x03 0x04 Diagnosis Error count 0x03 0x04 0x06 0x10 Diagnostic stai 15 2 0x03 0x04 Diagnostic state 16 31 0x03 0x04 Di stic state 32 47 bil 2 0x03 0x04 Diagnostic state 48 63 0x03 0x04 Diagnostic state 64 79 ES 0x03 0x04 Diagnostic state 80 95 0x03 0x04 Exception Conf State 2 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10 0x03 0x04 0x03 0x04 0x06 0x10
243. xt for the Alarm Clear message i In addition alarm variables can be used in the subject line and in the mail text These are placeholders for status and name of of the individual inputs and outputs as well as for the counter states of the counters In addition placeholders can be used for Date and Device Name Description Input state as bit pattern in hex format Name of Input No State of Output No x ON OFF Count state of counter no x in decimal format Year formatted Day formatted pp Minutes fernated mm depending on the Web IO Type x can be between 0 and 23 The example entered in the configuration frame would then look as follows as an e mail Subject tank 1 is empty time 18 Nov 2003 13 44 38 pump 1 OFF The mail tags were replaced by the values current at the time the mail was sent 5 5 3 SNMP Alarm In networks with a network management program you can also use SNMP protocol for sending alarms Under Config gt gt Device gt gt Alarm gt gt Alarm you must also activate SNMP Trap Enable in addition to the alarm settings Subject to errors and modifications 141 W amp T Alarms Required access rights Administrator Enable Mail enable SNMP Trap enable UDP Client enable Send special alarm to pending TCP connections TCP Client enable Syslog Messages enable FTP Client enable Zwis R cksetzen Logout Send the settings to the Web IO by clicking on
244. y after pressing the Reset button before the audible tone assigning changing the IP address At the prompt enter the desired IP address Subject to errors and modifications 279 W amp T Ports and security 7 4 Ports and network security 7 4 1 Ports Following is an overview of all the ports used in the Web IO Di gital Each port number may be used for only one service the Web IO If differing numbers are used with the changeable ports be sure that no port number is used twice 7 4 2 W amp T Web IO and network security Security in networks is justifiably gaining increased attention All the experts agree that there can be no such thing as abso 280 W amp T Ports and security lute security at today s state of technology Each customer must therefore find an appropriate balance between security functionality and cost for his specific requirements To give the customer the greatest possible degree of flexibility in this regard while responding to changing security requirements from a pure testing and installation environment to critical production applications the security measures offer a high degree of user configurability This document provides an overview of the security measures implemented on the Wiesemann amp Theis Web IO and how they can be used It is assumed that the original W amp T firmware without custom modifications is used For additional details refer to the respective sections i
Download Pdf Manuals
Related Search
Related Contents
1/2.7型 2.8-8mm F/1.2 1/2.7型 8 目 录 - MapmyIndia HORNO MICROONDAS Manuel d`instructions Essick Air AD20012 Fan User Manual 23575-00 INDY-X Chopper Gun User Manual OPERATING INSTRUCTIONS FOR LOCK TESTER PART # SK Montage- u. Bedienungsanleitung 製品安全データシート 平成24年11月28日 1/8 Nuvo NV-E6DMS User's Manual Copyright © All rights reserved.
Failed to retrieve file