Professional Documents
Culture Documents
Technical Information for Creating Custom Web Pages Using Microsoft Expression Web 4
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-1-
Disclaimer
Yokogawa makes no warranties regarding the configuration information explained in this document. Yokogawa assumes no liability to any party for any loss or damage, direct or indirect, caused by the use of the configuration information explained in this document.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-2-
Contents
1. 2. 3. 4. 5. 6.
Introduction ............................................................................................ 4 Custom Web Parts ................................................................................... 5 Items to Prepare ..................................................................................... 7 Limitations .............................................................................................. 8 Preparation ............................................................................................. 9 Creating Custom Web Pages ............................................................. 12
12 13 16 19 26 38 41 43
6.1 Opening the Template Page and the Parts Collection 6.2 Duplicating and Embedding the Communication Applet 6.3 Deleting a Control Applet or Duplicating and Embedding a Control Applet 6.4 Embedding Custom Monitoring Web Parts 6.5 Embedding Custom Control Web Parts 6.6 Inserting Characters Using the Parts Collection 6.7 Inserting Images Using the Parts Collection 6.8 Adjusting the Size and Position by Changing the Style Attributes
7. Transferring a Custom Web Page to the MW100 ....................................... 45 8. Checking the Operation .......................................................................... 46
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-3-
1. Introduction
This document explains how to create DAQMASTER MW100 custom Web pages using Microsoft Expression Web 4, a Web page creation application. You can use Expression Web 4 to embed MW100 Trend Graph displays, Digital displays, and other parts as you like in Web pages that you create. Fig. 1 is a flowchart of how to create custom Web pages.
(1) Create a Web page using Expression Web 4.
User
Expression Web 4
CompactFlash card
MW100
Expression Web 4
MW100
Internet Explorer
MW100
-4-
Digital
Overview
Alarm TAG
-5-
Measure Start/Stop
Manual Sample
Math Start/Stop/Reset/Clear
Timer Reset
Transmit Start/Stop
Record Start/Stop
Clear Error
Arbitrary Output
-6-
3. Items to Prepare
DAQMASTER MW100 (firmware release no. R2.11 or later)
The most recent firmware is available below. URL: http://www.yokogawa.com/ns/mw100/
CompactFlash card
For storing custom Web pages. To use only monitoring parts, prepare at least one set; to also use control parts, prepare as many sets as there are MW100s. Use genuine Yokogawa products (772093, 772094, and 772095) .
PC
A PC with Microsoft Expression Web 4 installed. If Microsoft Expression Web 4 is not installed, download and install it. Also note the system requirements for using DAQMASTER MW100 and Expression Web 4.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-7-
4. Limitations
The maximum number of MW100s that can be monitored from a single page is 10. The maximum number of Trend Graphs that can be embedded in a single page is 6, and the total number of channels is 60. Only a single Overview can be embedded for each MW100.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-8-
5. Preparation (1)
If not installed already, install Microsoft Expression Web 4. If you do not have, obtain a free version by following the procedure below.
Open the Microsoft Web page. Open Download Center.
If the Web page that opens is not the US version, move to the US (English) version.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
-9-
5. Preparation (2)
Search for Expression Web 4. Check the system requirements, and install it according to the instructions.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 10 -
5. Preparation (3)
Create a work folder. Copy the custom Web template software suite to the work folder. Fig. 4 shows an example of the folder contents when the work folder is "c:observer" . Duplicate or rename the template page as necessary for your purpose. Note that the maximum number of characters in the file name is eight (the extension is "htm" ) .
observer [work folder] control2.htm [parts collection] form2.htm [template page] custom.js [control program] Custom.cla [control program] Aoctrl.cla [control program] image alack1.png [icon image] alack2.png [icon image] mestart1.png [icon image] mestart1.png [icon image] Fig. 4 Work folder contents
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 11 -
- 12 -
Repeat this procedure to create duplicates as many times as there are MW100s.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 13 -
style
1 MW100 in which the custom Web page will be stored 2 xx.xx.xx.xx is the MW100 IP address or host name.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 14 -
Note: There is an increased risk of leaks for the user name and password set in the applet parameters. If you only need to use monitoring parts, use a "User" level user. If you need to use control parts, you will need to use an "Admin" level user, but we recommend that you use the system in a secure network.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 15 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 16 -
Repeat this procedure to create duplicates as many times as there are MW100s.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 17 -
style
1 MW100 in which the custom Web page will be stored 2 xx.xx.xx.xx is the MW100 IP address or host name.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 18 -
Fig. 20 Using cursor keys or dragging the edge to move; Fig. 19 Embedding custom monitoring using [Ctrl] + cursor keys or dragging the edge to resize Web parts
- 19 -
1 MW100 in which the custom Web page will be stored 2 xx.xx.xx.xx is the MW100 IP address or host name.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 20 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 21 -
1 MW100 in which the custom Web page will be stored 3 MW100 in which the custom Web page will be stored 2 A001 corresponds to "101" , and A300 corresponds to "400" . 4 A001 corresponds to "101" , and A300 corresponds to "400" .
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 22 -
3 MW100 in which the custom Web page will be stored 4 A001 corresponds to "101" , and A300 corresponds to "400" .
1 MW100 in which the custom Web page will be stored 2 A001 corresponds to "101" , and A300 corresponds to "400" .
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 23 -
draw channel
1 MW100 in which the custom Web page will be stored 2 A001 corresponds to "101" , and A300 corresponds to "400" . 3 MW100 in which the custom Web page will be stored 4 A001 corresponds to "101" , and A300 corresponds to "400" . 5 Regardless of the syntax, redundant channels are excluded, and channels are sorted in ascending order.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 24 -
Value (contd.) Display format during alarm hold5 Label during alarm active and hold3 Display format during alarm active and hold5
draw channel
level normalprop
MW100 in which the custom Web page will be stored A001 corresponds to "101" , and A300 corresponds to "400" . Up to 40 characters Color designation according to Table 13 or RGB designation using hexadecimal notation "#000000" to "#ffffff" 5 Same as parameter normalprop.
*1: Web normal Label during MW100 no alarm3 *2: A001 "101" , A300 "400"
- 25 -
Click the edge to copy Do not copy each part the whole set. separately Fig. 23 Embedding custom control Web parts Fig. 24 Note on copying the message part
- 26 -
src style Fig. 25 Button part attributes (Measure Start button) width
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 27 -
onmousedown
onmouseup
1 MW100 in which the custom Web page will be stored 2 Match the order of the "id"s that were verified with button part attributes on p. 27.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 28 -
onmouseup
1 MW100 in which the custom Web page will be stored 2 Match the order of the "id"s that were verified with button part attributes on p. 27.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 29 -
size
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 30 -
Fig. 28 Message selection events Table 18 Editing message selection events Event onchange Action (for R3.01 and later) 1st item1: "javascript:msgN1.disabled=(msgnumN1.selectedIndex==0)?false:true;" (verify) 2nd item1: "javascript:msgN2.disabled=(msgnumN2.selectedIndex==0)?false:true;" (change) : : : 1 [n]th item : "javascript:msgN[n].disabled=(msgnumN[n].selectedIndex==0)?false:true;" (change)
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
1 Match that the order of the "name"s verified with the message selection attributes on p. 30. - 31 -
size type
1 Verify that the order matches the order of the "name"s verified with the message selection attributes on p. 30.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 32 -
type value
1 Verify that the order matches the order of the "name"s verified with the message selection attributes on p. 30.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 33 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 34 -
Event onclick
(change)
1 Match that the order of the "name"s verified with the message selection attributes on p. 30. 2 MW100 in which the custom Web page will be stored
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 35 -
1 MW100 in which the custom Web page will be stored 2 xx.xx.xx.xx is the MW100 IP address or host name.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 36 -
digital
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 37 -
Table 24 Editing language parameters Item Page language Mark current document as: HTML encoding Save the document as: Character encoding for saving the custom Web page Example) "Japanese (Shift-JIS)" Language of the text used on the page Example) "Japanese (Japan)" Value
- 38 -
- 39 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 40 -
Value Text to display when the image cannot be displayed (changeable) "0" (verify) Image height (unit: pixel, change) "image/xxxxx.jpg" 2 (change) You can adjust the position. For details, see p. 43. Image width (unit: pixel, change)
1 Leave it blank to set the size to the original image size. 2 xxxxx.jpg is the image file name
- 41 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 42 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 43 -
Distance from the top edge (default unit: pixel) (not used) (not used) Distance from the left edge (default unit: pixel)
1 For example, if you want to arrange the image part as a background image, change the index to a number less than 1 (e.g. "0" ). 2 Do not use for button and image parts (use the "height" and "width" attributes to adjust the size as described on pp. 27 and 41).
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 44 -
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 45 -
Check that the custom Web page that you created is displayed.
- 46 -
YOKOGAWA, vigilantplant and DAQMASTER are either registered trademarks or trademarks of Yokogawa Electric Corporation in the United States and/or other countries. Microsoft, Windows and Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. CompactFlash is a registered trade mark or trade mark of Sandisk Corporation in the United States and/or other countries. Java is a registered trademark or trademark of Oracle America, Inc. in the United States and/or other countries.
DAQMASTER MW100 Custom Web Copyright Yokogawa Electric Corporation August 2013
- 47 -