background image

85

W&T

Controlling the Web-IO with TCP/UDP Sockets

Subject to errors and modifications:

5.5.3 Program-controlled error management

If the Web-IO detects one 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&

can be sent to the Web-IO.

x

 is 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

Example:

If the application sends (Passwort = „wut“) to the Web-IO

GET 

/diaglist2?PW=wut&

Содержание 57630

Страница 1: ...Manual Web IO 12 12 Digital Release 2 07 November 2004 Type 57630 57631 Model Firmware 1 42 2 07 and higher W T...

Страница 2: ...y 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 T pro...

Страница 3: ...t interface is configured as 10 100Mbit autosensing The following TCP IP protocols are available for reading and setting the in and outputs HTTP Simple user interface in the browser window TCP Direct...

Страница 4: ...otocol 20 3 Connections operating elements and LEDs 23 3 1 Overview of connections and elements 24 3 2 Ethernet connection 25 3 3 Serial connection 26 3 4 Supply voltage input 27 3 5 LEDs for device s...

Страница 5: ...r management 85 5 6 BINARY socket programs with binary structures 91 5 6 1 Specifying the operation mode 92 5 6 2 The Web IO as socket server 93 5 6 3 The Web IO as socket client 94 5 6 4 The Web IO a...

Страница 6: ...s to a Syslog Server 160 5 11 8 General information about alarms 162 6 General Functions 163 6 1 Time Date Setting 164 6 1 1 Time zones 164 6 1 2 Summer time Winter time 165 6 1 3 Start and end of sum...

Страница 7: ...twork using WIndows 196 7 2 Emergency access 198 7 3 Ports and network security 199 7 3 1 Ports 199 7 3 2 The W T Web IO and network security 199 7 3 4 Ports mit special function 201 7 4 Network inven...

Страница 8: ...8 W T Content...

Страница 9: ...9 W T Befor starting up 1 Before starting up We recommend to read the complete Manual for the 12 12 Di gital Web IO before startup Connecting the supply voltage Connecting to the network...

Страница 10: ...OUP 2 0 11 10 9 GND 8 7 5 4 6 3 2 1 Vcc 6 30V DC Vdd OUTPUT GROUP 0 OUTPUT GROUP 1 OUTPUT GROUP 2 12 24V Vcc W T www wut de Web IO 57630 12xDigital IO 10 100BT Connect a supply voltage of between 12 V...

Страница 11: ...n 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 1 Always bear in mind that IP addresses must be u...

Страница 12: ...bed in this section of by using the menu item Config Device Network in the Web based Management of the Web IO First start WuTility exe from any desired directory on your hard drive g On our web site w...

Страница 13: ...side of the housing 5763x Model EN 00c03d003fa0 OK xxxxxx Ethernet address Select the entry for your Web IO Click on the icon and enter the IP address you want to assign to the Web IO Click on the ico...

Страница 14: ...eb IO and on which TCP IP protocol is installed Read off the Ethernet address of the Web IO from the sticker on the side of the housing 5763x Model EN 00c03d003fa0 OK xxxxxx Ethernet address Now use t...

Страница 15: ...and an incorrect IP address is assigned to the Web IO The Web IO 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...

Страница 16: ...ired 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 W...

Страница 17: ...ning the IP address We recommend doing 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...

Страница 18: ...d in the same subnet as the RARP server 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 WEBIO_1 Entry in the...

Страница 19: ...ds a corresponding BOOTP request as a broadast to the network following each new start The resulting reply generated by the DHCP BOOTP server contains in addition to the IP address the subnet mask and...

Страница 20: ...desired with the Web IO the latter uses the BOOTP protocol based on fixed relationships between Ethernet and IP address DHCP servers should reply to BOOTP requests only if they use explicit IP reserv...

Страница 21: ...P address Subject to errors and modifications In existing systems the BOOTP client of the Web IO can also be activated and deactivated at any time using Web Based Manage ment in the browser Menu item...

Страница 22: ...22 W T Assigning the IP address...

Страница 23: ...ating elements and LEDs Subject to errors and modifications 3 Connections operating elements and LEDs Ethernet connection RS232 Supply voltage connection Reset button Device status LEDs Input and Outp...

Страница 24: ...GROUP 1 INPUT GROUP 2 0 11 10 9 GND 8 7 5 4 6 3 2 1 Vcc 6 30V DC Vdd OUTPUT GROUP 0 OUTPUT GROUP 1 OUTPUT GROUP 2 12 24V Vcc W T www wut de Web IO 57630 12xDigital IO 10 100BT 1 2 3 4 5 6 7 8 9 10 11...

Страница 25: ...MBit 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 possibilit...

Страница 26: ...ndfunctions DB9plug RS232 1 NC 2 RxD 3 TxD 5 GND 4 DTR 8 CTS NC 7 RTS 6 DSR Com Server PC 9pin W T Item 1199x 1 2 3 4 5 6 7 8 4 3 2 1 5 6 8 7 DB9 FEMALE DB9 FEMALE Pin 1 2 3 4 5 6 7 8 9 Direction IN O...

Страница 27: ...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...

Страница 28: ...k pulse 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 If this does not clear the error reset the device...

Страница 29: ...LED Status LED Error LED on Self test error The self test performed by the Web IO after each start or reset could not be correctly finished due for example to an incomplete update of the firmware In t...

Страница 30: ...re interpreted by the Web IO as ON or 1 Input voltages between 7V and 9V should be avoided since they cannot be definitively interpreted on error system error http diag 0 11 10 9 GND 8 7 5 4 6 3 2 1 G...

Страница 31: ...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 6 2 Output circuit The 1...

Страница 32: ...outputs max 2A for 4 outputs The outputs have thermal overload protection and are short circuit protected Web based Management can be used to activate load monitoring which lets the user know when th...

Страница 33: ...33 W T configuring the network parameters Subject to errors and modifications 4 Configuring the network parameters Web Based Management Basic setting of the network parameters...

Страница 34: ...way regardless of the operating system At this point we would like to explain a few basic principles of Web Based Management and help to understand how this works with the Web IO 4 1 2 Structure of t...

Страница 35: ...d shows new contents in the configuration frame Indicates that additional sub categrories or contents are present Clicking on this icon expands the menu tree but not the contents of the configuration...

Страница 36: ...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 highlighted 4 1 5 Access rights Dependin...

Страница 37: ...the alarm outputs and a few diagnostic activities The operator has no additional configuration options The login in this mode is also accomplished by entering the password selected for this access Th...

Страница 38: ...emporary 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...

Страница 39: ...shed 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...

Страница 40: ...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 unk...

Страница 41: ...here is no password required and it is sufficient to click the Login button Once the correct password has been entered the Web IO confirms successful login After clicking on OK the start page is refre...

Страница 42: ...this a DNS server must be specified 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...

Страница 43: ...is now set up to the point that it can also be accessed throughout the subnet 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...

Страница 44: ...44 W T configuring the network parameters...

Страница 45: ...t to errors and modifications 5 Access types Overview HTTP Controlling inputs and outputs in the browser Java Applets Automatic refreshing in the browser TCP UDP Controlling the Web IO using sockets B...

Страница 46: ...e and cannot be accessed in any other way The inputs and counters on the other hand can be read equally in all operating modes HTTP browser access This mode can be used immediately without additional...

Страница 47: ...when opening a connection to protect the application from undesired access by third parties In addition to standard client and server applications the Web IO offers three other application modes in bi...

Страница 48: ...e Update Logic Control Input Group 0 Input Group 1 Input Group 2 Safety Output on Network Error Load Control Output Group 0 Output Group 0 Output Group 0 Ethernet IP Interface TCP UDP System Service B...

Страница 49: ...NMP trap UDP TCP 5 1 3 Input Output service In addition to the ph ysical properties of the inputs and outputs See section Con nections operating elements and LEDs the Web IO 12 12 Di gital has logic a...

Страница 50: ...rn As son as triggering from the network side resumes the outputs are set to their original state and can be controlled normally Load Control The outputs have thermal protection and are monitored by t...

Страница 51: ...he mode For more detailed information refer to the description of the respective operating mode Safety Timeout If no network activity is detected for the timeout period set here the Web IO sets the ou...

Страница 52: ...that the input voltage 12V was detected on the input Lower voltages are indicated by Status OFF Status ON is also highlighted by a green background on the table field In addition the counter status fo...

Страница 53: ...ling and texts m Required access rights Administrator The appearance of the Web IO pages in the browser can be individually designed and changed within certain limits Device name and description In th...

Страница 54: ...uts To change the input name select in the navigation tree Config Ports Inputs and for Input 0 Input 0 I Please do not make any changes to the settings for Input Mode at this time For detailed informa...

Страница 55: ...Set tings In the browser window you can adapt the display after sending and activating the settings Clicking on the name of the inputs and outputs opens the associated description Logo in navigation...

Страница 56: ...ettings HTTP m Required access rights Administrator Startup Here you can specify how the Web IO is displayed in the browser when opened index htm Both the navigation tree and the Homepage are displaye...

Страница 57: ...eb site for the Web IO m Required access rights Administrator The start or home page contains a clear summary of all the Web IO functions available in the browser It is also possible to create another...

Страница 58: ...sponding 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...

Страница 59: ...download the original HTML code with the W T tags is loaded into the browser When user htm is normally opened the Web IO replaces the W T tags with the HTML code filled with the current values The to...

Страница 60: ...er Web site is opened The states of the inputs are best displayed in the form of a 2 column table In the following example Column 1 contains the designation and Column 2 the state of Input 0 table bor...

Страница 61: ...s the state of the output to be changed by clicking on the link You can also show the time when the user Web site was opened Lastrefresh w t_tags time By inserting a reload button you allow the user t...

Страница 62: ...b site can be opened Links and back links Some applications may make it necessary to link from the user or home page of the Web IO to a Web site which is located on another HTTP server If a back link...

Страница 63: ...must be inserted into the external page which accepts the session ID when opening the page and inserts it in the back link html head script language JavaScript session window location search function...

Страница 64: ...e HTML page In addition the Java applet provides functions which allow you to set outputs and clear counters using JavaScript Working with the Java applet The applet is incorporated using the applet H...

Страница 65: ...O set the value to 0 For all addi tional Web IOs being incorporated into the Web site the value is raised by 1 showerrors If errors occur when using the Java applet this parameter can be used to speci...

Страница 66: ...out outputpolling This parameter is used to specify when starting the applet whether the outputs should be checked for their state at the interval set under pollingrate The value for outputpolling can...

Страница 67: ...pollingrate value 2000 applet 1Both the parameters and the values are case sensitive Using the applet with JavaScript To work with the applet corresponding JavaScript functions must be declared in the...

Страница 68: ...n counterChanged iDevice iNr iVal Programcodeexecutedwhenthereisachangeinthecounters The three functions above are invoked by the applet when there is a change on the inputs or outputs or in the count...

Страница 69: ...guage JavaScript type text javascript setPassword script body html Das Beispiel beinhaltet nur die Funktion inputChanged da im Bereich des Applet Tags nur das inputpolling aktiviert wurde 1The followi...

Страница 70: ...ice outputAccess iOut iValue is used within the function If you want to switch more than one output at a time you can use this command in separate functions The variable iOut is a whole number 16 bit...

Страница 71: ...If no password is assigned on the Web IO read access can at least be used Microsoft Internet Exlorer on the other hand can be used without limitations To be able to work with the Web IO without restri...

Страница 72: ...sing polling Event controlled processing is only conditionally possible for imput patters defined in alarms Advantages Since all higher level languages such as Visual Basic Visual Basic for Applicatio...

Страница 73: ...ts application since client and server applications are possible Fast communication through use of structures The status values are always at a defined location and no strings need to be analyzed for...

Страница 74: ...ides an OPC server which allows direct access to process and visualization applications to the Web IO via OPC 50xxx Compatibility mode to older W T Digital I O Com Ser vers A detailed description for...

Страница 75: ...tputx PW password 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 output status ON Signal on o...

Страница 76: ...nection The application always functions as a client and opens the TCP connection The socket interface of the Web IO is based to a great extent on HTTP protocol This means that the listen port is fixe...

Страница 77: ...IO GET outputaccess PW blue State 0298 The Web IO responds as follows output 0298 1 The Web IO works with null terminated strings This means that everything the Web IO sends to the application ends wi...

Страница 78: ...nnection the Web IO 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 contains the IP address and the nam...

Страница 79: ...it is practical to get the state of the inputs only when certain input patterns occur i The messaging method described here can be used in tandem with normal event triggered operation in practice how...

Страница 80: ...ring 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 In...

Страница 81: ...gOut 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...

Страница 82: ...lso specify which of the 12 outputs you want to make available for access via UDP using command strings Select in the navigation tree Config Device Output Mode m Required access rights Administrator A...

Страница 83: ...dress 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 IO The application send...

Страница 84: ...t string with a header containing the IP address and the name To enable a header go to Config Basic Settings HTTP and select GET Header enable Clicking on Logout and Save activates sending of the head...

Страница 85: ...rs 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 o...

Страница 86: ...se the command GET diagnosis PW password The Web IO responds with diagnosis zzzz yyyyyyyy xxxxxxxx In zzzz the Web IO returns the number of current errors in 4 place hex format yyyyyyyy xxxxxxxx may b...

Страница 87: ...lements such as IP addresses or port numbers Example The application sends GET diagnosis PW wut The Web IO responds diagnosis 0005 00400040 008A0000 The application sends GET diagnosis1 PW wut The Web...

Страница 88: ...rror is no longer present at the time of query To clear the error memory use the command GET diagclear PW password The Web IO responds with diagnosis 0000 00000000 00000000 if there are no current err...

Страница 89: ...ssible 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 Enter E as...

Страница 90: ...n the affected outputs again the application program sends GET errorclear PW password to the Web IO Now if there is no longer an overload condition the Web IO resumes as normal on all outputs 1Please...

Страница 91: ...application First an overview of which operation mode the Web IO uses for which application Your own socket application binary with password protection TCP Server TCP Client UDP Peer Your own socket a...

Страница 92: ...ou want to configure the operation mode for access through Binary 1 m Required access rights Administrator After selecting the desired mode pass the setting to the Web IO by clicking on Temporary Stor...

Страница 93: ...Binary 1 TCP Server m Required access rights Administrator 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 IO enter th...

Страница 94: ...e made all your settings send them to the Web IO by clicking on the Temporary Storage button In addition you must enable the corresponding outputs for binary mode Under Config Device Output Mode selec...

Страница 95: ...ts Administrator 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 IO enter the desired port number in the Local Port fie...

Страница 96: ...s 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 tr...

Страница 97: ...e Web IO 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 m Required access righ...

Страница 98: ...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 co...

Страница 99: ...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...

Страница 100: ...YTE type type of request BYTE subtype additional type information LONG srcip source IP address WORD srcport source port WORD destport detination port The individual variables of the structure are fill...

Страница 101: ...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...

Страница 102: ...ading 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...

Страница 103: ...d must not be omitted The value struct_type identifies the contents of the structure after the first 4 WORDs and indicates the total length of the structure in bytes i e including the first 4 WORDs Th...

Страница 104: ...value word_anz must always be 1 The Web IO sets the outputs corresponding to the value sent in register 0 If the Web IO sends this structure to the uer program register 0 has the value corresponding t...

Страница 105: ...tructure is sent by the user program to the Web IO in order to be able to read the content of inputs and outputs in overview form The Web IO always replies with the I O structure REG_STATE RegisterReq...

Страница 106: ...in 100ms 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 count...

Страница 107: ...ORD struct_type 0x00B1 WORD length 0x0008 The IO 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...

Страница 108: ...the Web IO can be queried using the structure ReadDiagnosis ReadDiagnosis WORD send_sequenz always 0 PC Web IO WORD rec_sequenz always 0 WORD struct_type 0x00D1 WORD length 0x0008 The Web IO replies...

Страница 109: ...e provides 32 bits for this Options WORD send_sequenz always 0 PC Web IO WORD rec_sequenz always 0 WORD struct_type 0x01F0 WORD length 0x0010 LONG word_anz in this release 1 LONG options binary coding...

Страница 110: ...equence word rec_sequence word struct_typ word length word counter_index long counter_value COUNTER pragmapack Byte alignment in memory is important so that for example the sequence of bytes resulting...

Страница 111: ...pe Struct_ReadCounter send_sequence As Integer rec_sequence As Integer struct_type As Integer length As Integer counter_index As Integer EndType Public Type Struct_Counter send_sequence As Integer rec...

Страница 112: ...ec_sequence And HFF _ Chr ReadCounter rec_sequence And HFF00 H100 _ Chr ReadCounter struct_type And HFF _ Chr ReadCounter struct_type And HFF00 H100 _ Chr ReadCounter length And HFF _ Chr ReadCounter...

Страница 113: ...r 14 1 H1000000 EndSub The example shown above can of course also be applied to all other structures Delphi Since Delphi offers very straightforward support of structures using it to handle IO structu...

Страница 114: ...orm1 TForm1 ReadCounter RReadCounter Counter RCounter The following procedure opens the TCP connection procedure TForm1 bConnectClick Sender TObject begin ClientSocket1 Host 172 16 232 17 ClientSocket...

Страница 115: ...ally invokes when data are received by the network procedure TForm1 ClientSocket1Read Sender TObject Socket TCustomWinSocket var BytesReceived Integer begin BytesReceived ClientSocket1 Socket ReceiveL...

Страница 116: ...0 11 10 9 GND 8 7 5 4 6 3 2 1 GND GND GND INPUT GROUP 0 INPUT GROUP 1 INPUT GROUP 2 0 11 10 9 GND 8 7 5 4 6 3 2 1 Vcc 6 30V DC Vdd OUTPUT GROUP 0 OUTPUT GROUP 1 OUTPUT GROUP 2 12 24V Vcc W T www wut d...

Страница 117: ...Box to Box Subject to errors and modifications Set TCP Server as the Operation Mode Then click on Temporary Storage to send the changes to the Web IO Now select Config Device Basic Settings Binary1 TC...

Страница 118: ...h the Server Port entry of the master Input Trigger Here you activate the inputs that you want to set the corresponding outputs on the master i The Web IO 12XDigital allows simultaneous access to the...

Страница 119: ...ed to activate the new settings Use the Logout button or select Config select Session Control LogOut After clicking on Save all the settings are updated in the Web IO and the start page is reopened in...

Страница 120: ...T Box to Box 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 Binary1 TCP C...

Страница 121: ...or 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...

Страница 122: ...e the inputs that will set the corresponding slave outputs i The Web IO 12XDigital allows simultaneous access to the inputs from various operation modes This means for example that inputs 0 5 control...

Страница 123: ...operation modes Now you must activate the new settings Use the Logout button or Config select Session Control LogOut After clicking on the Save button all the settings are updated in the Web IO and th...

Страница 124: ...ng Box to Box mode Box to Box Modus only by Master m Required access rights Administrator Stopping Box to Box mode should always be done using the corresponding configuration of the master The master...

Страница 125: ...in the Web IO and the start page is reopened in Default User mode Stopping Box to Box Modus for the Slave Web IO m Required access rights Administrator Select in the navigation tree of the slave Conf...

Страница 126: ...frame there should be an additional button Stop Box2Box Slave If this button is not displayed first click on the Reset button This will restart the Web IO After a new Login and invoking Config Session...

Страница 127: ...x 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 Binary 1 and Binary 2 modes of a master Web IO for example...

Страница 128: ...ich contains the actual OPC server as well as operating elements for configuration and diagnostics 5 8 1 Installing the OPC Server g On our web site www WuT de having selected the Englisch language ve...

Страница 129: ...ound in the update package DCOM for Windows 95 which Microsoft provides free for downloading at http www microsoft com com dcom dcom95 dcom1_3 asp 5 8 2 Uninstalling The OPC server can be removed from...

Страница 130: ...ice I O The following window will be opened Host name or IP address Enter here the IP address of your Web IO If a host name was also assigned by DNS or a similar name service you may also use this nam...

Страница 131: ...umber to the I O ports and the serial port of an I O server The resulting device name would then be for example Box1 and Com1 Refresh at least every sec While the Web IO is itself reporting changes to...

Страница 132: ...cess rights Administrator Select in the navigation tree of the Web IO Config Device Basic Settings Binary 1 Set Operation Mode to TCP Server Then click on the Temporary Storage button to send the chan...

Страница 133: ...wall that only allows certain port accesses 1In any case the Local Port for the Web IO must be identical with the corresponding settings in the OPC server Input Trigger Activate here the inputs that w...

Страница 134: ...n now be accessed by the OPC server 5 8 5 Program options The Options window is used to specify various details about the behavior of the OPC server Hide window Recommended no later than when everythi...

Страница 135: ...0 is reached The status of the OPC server then changes to OPC_STATUS_SUSPENDED and reading individual variables only returns OPC_QUALITY_NOT_CONNECTED The client can prevent this by repeatedly at reg...

Страница 136: ...ibilities as the OPC interface Click on the Control button in the This device area of the main window The individual control elements are labeled with the names of the corresponding OPC variables This...

Страница 137: ...utomation interface as per the new OPC standard 2 0 If you are familiar with the old OPC automation standard 1 0 The differences between the two versions are considerable Besides that you need a minim...

Страница 138: ...alue Unit and Description for all variable names appearing in column 1 of the current Excel table and enters them in the adjacent columns The property Signal quality has a special significance and ess...

Страница 139: ...ED ElseIf Data 1 192 Then OPC_QUALITY_GOOD Cells i 6 ERROR Range Cells i 2 Cells i 3 ClearContents End If n n 1 Wend TheOpcServer Disconnect Set TheOpcServer Nothing EndSub Allocate values Here a vari...

Страница 140: ...erver Nothing End Sub 5 8 8 One Web IO multiple client computers The TCP connection which the OPC server has opened to a Web IO assigned to it gives it exclusive access to the device Therefore a confi...

Страница 141: ...on on the subject of DCOM can also be found in the Microsoft Knowledge Base in articles such as 176799 INFO Using DCOM Config DCOMCNFG EXE on Windows NT 165101 HOWTO Use Win95 as a DCOM Server 182248...

Страница 142: ...MIB is available 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 Downloads Web IO Tools takes you to the Web pa...

Страница 143: ...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 Enable At this point SNMP En...

Страница 144: ...ew settings Use the Logout button or In the Config menu select Session Control LogOut After clicking on the Save button all the settings are updated in the Web IO and the start page is reopened in Def...

Страница 145: ...on changes or input and output accesses using the variables defined in the Private MIB Once you are finished configuring writing the variable wtWebioEA12x12SessCntrlLogout closes the session wtWebioEA...

Страница 146: ...dress of the Syslog server to which the messages should be sent Syslog Server Port Enter here the port on which the Syslog server receives the Syslog messages The default is Port 514 Allowed are all U...

Страница 147: ...P address of Web IO diag Enable At this point Syslog Enable must be selected in order to send Syslsog system messages using the Web IO Additional Syslog system messages can be sent using the alarm fun...

Страница 148: ...navigation tree Config Device Alarm Alarm1 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 o...

Страница 149: ...m condition is met Alternately you can specify an interval at which the alarm is repeated as long as the alarm condition persists In the Interval field you can specify either E for one time or an inte...

Страница 150: ...nd only the counter state is monitored Alarm for load error The outputs of the Web IO 12 12 Digital have thermal overload monitoring If an overload is detected on an output it is immediately turned of...

Страница 151: ...before the interval has expired this will also trigger an alarm and the timer starts counting all over again Alarm at cold start Activating cold start causes the Web IO to trigger an alarm after a Ha...

Страница 152: ...s rights Administrator In order for the Web IO to send e mail in the first place you must make a few basic settings Go to Config Device MailAdmin Fill in the fields according to your application Name...

Страница 153: ...e mail server is specified a DNS server must be specified in the network settings Send the settings to the Web IO by clicking on the Temporary Storage button Specifying the e mail recipient subject an...

Страница 154: ...of output no x ON 1 OFF 0 x may be between 0 and 11 cx Count state of counter no x in decimal format x can be between 0 and 11 t Time stamp with date and time formatted DD MMM YYYY hh mm ss br Insert...

Страница 155: ...larm1 SNMP m Required access rights Administrator 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...

Страница 156: ...ill ave to enter this in your manager software as a community string 5 11 4 Alarm via UDP Another way to pass an alarm to another network station is provided by UDP protocol Here a corresponding progr...

Страница 157: ...ou 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 a...

Страница 158: ...rtaining to the alarm activate the new settings using Config Session Control LogOut Save 5 11 6 Alarm message to a TCP server You can also send an alarm messag to a TCP server If there is an alarm the...

Страница 159: ...hen be entered m Required access rights Administrator IP Addr Here you 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...

Страница 160: ...ending 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 Device Alarm Alarm1 in the Enable area m...

Страница 161: ...er 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 Alarm Variable Description i Input state as b...

Страница 162: ...Syslog is enabled by checking System Messages enable and clicking on Temporary Storage Once you have made all your alarm related entries activate the new settings with Config Session Control LogOut Sa...

Страница 163: ...T Time Date Subject to errors and modifications 6 General Functions Time Date Poll watchdog access monitoring Port configuration Changing the device specific displays Upload Download Diagnostics and t...

Страница 164: ...me zone you are in The time in Germany is GMT 1h in winter the time in the United States is GMT 5h etc If the Web IO will be used in another time zone the offset can be adjusted accordingly To do this...

Страница 165: ...ice Time Date TimeZone Summertime GMTOffset Enter here the difference between local summer time and GMT time in the format hh mm A sign can also be used in the entry field or Enable To activate check...

Страница 166: ...re 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...

Страница 167: ...ifferent 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 m Required access rights Administrator...

Страница 168: ...rage button 1The factory default addresses can only bereached via an Internet connection If names instead of IP addresses were specified for the time servers a DNS server must be specified in the netw...

Страница 169: ...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 t...

Страница 170: ...tion 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 set...

Страница 171: ...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...

Страница 172: ...ed accesses Send the settings to the Web IO by clicking on the Temporary Storage button 6 2 2 Safety State festlegen Select in the navigation tree Config Ports Outputs and for example Output 0 Safety...

Страница 173: ...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 Once you have made all the...

Страница 174: ...ach input For example to change the settings for Input 0 select in the navigation tree Config Ports Inputs and for Input 0 Input 0 m Required access rights Administrator or Config Name Enter here a na...

Страница 175: ...ctivated 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 50 s for the pulse to be detected and counte...

Страница 176: ...ws you to switch a maximum current of 1A With four outputs this increases to 2A Safety State Select Safety State Enable if you want the output to be set to a fixed state when there is a fault Specify...

Страница 177: ...at the same time An overview of the configured output groups can be found under Config Device Output Mode m Required access rights Administrator Here the outputs that are combined in a group are high...

Страница 178: ...ons The Web IO allows 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 Select in the navigation tree Config Ports Outputs...

Страница 179: ...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 Outpu...

Страница 180: ...n 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...

Страница 181: ...300 0 250 200 150 100 OFF ON Puls Duration Puls Start 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...

Страница 182: ...er logo etc Select in the navigation tree Config Manufacturer m Required access rights Administrator Name Field for the company name Address Field for the company address Support Hotline Telephone num...

Страница 183: ...b 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 T logo width...

Страница 184: ...rojects involving multiple Web IOs having 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 clic...

Страница 185: ...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 the configuration frame in which yo...

Страница 186: ...one of your choice GIF or JPG 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 st...

Страница 187: ...retained even if the cause of the error has been remedied To do this select Diag Report Clicking on the Delete report button allows the Administrator to clear all error messages m Required access righ...

Страница 188: ...b IO allows the Administrator to view and check the Web IO configuration on a comprehensive Web page Select Diag Test Check Config The Web page shows which access types are activated with which parame...

Страница 189: ...ult 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 o...

Страница 190: ...onfigured 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 entr...

Страница 191: ...r these fields are highlighted in red Load Control In addition to the thermal short circuit protection the Web IO 12xDigital has load monitoring which in case of error turns the outputs off until they...

Страница 192: ...set to OFF Also monitored is whether any load at all is present If the Web IO can definitively determine that the error represents the absence of a load Load Control is deactivated only for this pair...

Страница 193: ...difications All LEDs are turned on for approx 2 sec This function can be used to uniquely identify a Web IO in the control cabinet i The actual state of the outputs is thereby not changed The 3 LEDs f...

Страница 194: ...194 W T Diacnostics and testing...

Страница 195: ...e Subject to errors and modifications 7 Appendix Firmware update Emergency access Port numbers used network security Error messages and their causes Technical data Declaration of Conformity Navigation...

Страница 196: ...under Windows 9x NT 2000 XP with a network connection and activated TCP IP stack For the update process you will need two files which as already described are available from the Homepage at http www w...

Страница 197: ...ications Never mix files having different version numbers in the file name This will cause the device to become inoperable The Web IO automatically recognizes when transmission of the new operating so...

Страница 198: ...e press the following letters on your keyboard 3 times for the individual accesses 3x u Opens the update port You can now load a firmware update 3x f Resets the device to its factory default settings...

Страница 199: ...for only one service in the Web IO If differing numbers are used with the changeable ports be sure that no port number is used twice 7 3 2 The W T Web IO and network security Security in networks is j...

Страница 200: ...rm 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...

Страница 201: ...ent components from W 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...

Страница 202: ...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 defa...

Страница 203: ...wever only Port 8513 should be used 7 4 1 The info packet Each info packet consists of 3 6 data structures BOX_VERSION contains information about the respective model of the Web IO or Com Server and i...

Страница 204: ...tate 0 free 1 connect 2 waits 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...

Страница 205: ...dresse 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 t...

Страница 206: ...0 Example Input 0 belongs to input group 0 OUT PUTS Driving with a potential free contact Web IO OUT PUTS VCC Attachment circuit for Web IO inputs Connecting a device with a potential free contact 9...

Страница 207: ...ed switching load capacity must be connected together a s agroup in the output configuration Switching loads through a relay Attachment circuit for Web IO outputs with relays for potential free contac...

Страница 208: ...ransmitted Format of the sender address not accepted Mail Recipient could not be transmitted Format of the recipient address not accepted Mail Switch to data mode failed Mail server could not correctl...

Страница 209: ...ce Box 2 Box Box2Box Invalid slave IP address No IP address specified or invalid address format Config Device Box 2 Box Port number assigned more than once Each mode must use a unique port number see...

Страница 210: ...igital inputs 12 x Digital In Max input voltage 30V Reverse polarity protected within this range Switching threshold 8V 1V On current 2 2 mA Terminations 2 x 16 screw terminals Galvanic isolation Digi...

Страница 211: ...211 W T Decalration of conformity Subject to errors and modifications 7 9 Declaration of Conformity...

Отзывы: