-
MITSUBISHI ELECTRIC Programmable Logic Controllers User's Manual QJ71WS96 Web Server Module Art. no.
-
-
SAFETY PRECAUTIONS (Always read these instructions before using this equipment.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. Note that these precautions apply only to this product. Refer to the user's manual of the CPU module for the programmable controller system safety precautions. In this manual, the safety instructions are ranked as "WARNING" and "CAUTION".
-
[Design Precautions] ! WARNING • Do not write any data into the "System area" of the buffer memory of the intelligent function module. Also, do not output (turn on) the "Use prohibited" signal, which is one of the output signals from the programmable controller CPU to the intelligent function module. If data is written to the "System area" or the "Use prohibited" signal is output, there is a risk that the programmable controller system may malfunction.
-
[Installation Precautions] ! CAUTION • For connector wiring, correctly press, pressure-weld or solder the connecting part by using the tool specified by the manufacturer. Poor connection may cause short circuits, fires or malfunctions. • Be sure to set the CompactFlash card by pressing it into the CompactFlash card slot. Confirm it is completely set. Poor contact may lead to malfunctions.
-
[Startup/Maintenance Precautions] ! CAUTION • Never disassemble or modify the module. This may cause failure, malfunctions, injuries or a fire. • Before mounting/dismounting the module, be sure to shut off all phases of external power supply used by the system. Failure to do so may cause failure or malfunctions of the module. • Do not mount/remove the module onto/from base unit more than 50 times (IE C61131-2 compliant), after the first use of the product.
-
• CONDITIONS OF USE FOR THE PRODUCT • (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
-
REVISIONS * The manual number is given on the bottom left of the back cover. Print Date * Manual Number Dec., 2002 SH (NA)-080320E-A First Printing Apr., 2003 SH (NA)-080320E-B Correction Revision Operating Instructions, Section 4.9.1, Section 9.1 (1)(9) Addition Section 4.9.2 Nov., 2003 SH (NA)-080320E-C The whole manual was reexamined with the enhancement of the Web server module functions. Refer to Appendix 5 for the enhancement of the Web server module functions. Apr.
-
Print Date May, 2009 * Manual Number SH (NA)-080320E-J Nov., 2009 SH (NA)-080320E-K * The manual number is given on the bottom left of the back cover. Revision Correction Generic Terms and Abbreviations, Section 2.1, 2.4, 2.5, 3.1, 4.3, 4.5, 4.6.3, 4.10.2, 6.2.7, 6.6.3, 9.1,9.2.2,9.3, Appendix 1, Appendix 2, Appendix 5.1, Appendix 6.10 Correction SAFETY PRECAUTIONS, Operating Instructions, 3.1, 4.5, 4.7, 4.10.3, 6.2.7, 6.8, 6.11.3, 9.
-
Operating Instructions This section explains the precautions in the following order.
-
Precautions for performance and specifications (1) Performance of the Web server module and the system using the Web server module. Performance of the Web server module and the system using the Web server module differs depending on the following factors. Conduct verification by user prior to starting the system.
-
(2) Remote password function of QCPU The remote password function of the QCPU is not used for the Web server module. When restricting access to the QCPU, use the user authentication function of the Web server module. Precautions for tag function (1) Tag setting and component setting (Refer to Section 6.3.3) (a) When a component setting is deleted, the settings of the components after the deleted setting No. are shifted up.
-
(2) High-speed logging (a) Be sure to create a user-set system area in the program memory of the control CPU. (Refer to Section 6.3.3 REMARKS.) (b) A delay may occur in the logging interval depending on the scan time of the control CPU and the time of access from a peripheral device/intelligent function module to the programmable controller CPU. Precautions for user screen creating function (1) User parts (a) Be sure to set the must-be-set parameters of the user parts.
-
(3) Access target CPU setting (Refer to Section 4.6.7) (a) Web server module requires preparatory time to communicate with the access target CPU when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. Therefore, it may take several minutes before the communication will be available if many access target CPUs are set.
-
(d) As the setting information file includes the password and other important information and its information may be obtained illegally, delete the file from the standard ROM or CompactFlash card after the setting is completed. (8) Web screen printing Do not use the print function of a Web browser. Depending on the version of Java VM, the Web browser may display "No response".
-
(i) In the advanced settings of the Web browser, set to "Restore Defaults". Refer to Section 4.5 (3). ( ) When using Microsoft VM, clear the "JIT compiler for virtual machine enabled [requires restart]" check box. R (j) When displaying the TOP page of the standard screen using an operating system and a Web browser of English version, do not click on the "Japanese" button provided for link to the Japanese version. Doing so may display an incorrect screen.
-
(e) In the case of FTP access by the Internet Explorer, the user authentication screen may not be displayed depending on the Internet Explorer's specifications. In this case, enter the Web server module address as follows: ftp://:@/ Precautions for battery In any of the following cases, erasure of data (e.g.
-
(3) CompactFlash card formatting (a) Use the formatting function of the Web server module to format the CompactFlash card. (Refer to Section 6.10.2.) (b) Do not format the CompactFlash card on Windows . If it is formatted on Windows by mistake, recover it according to the manual of the CompactFlash card. R R (4) Precaution for CompactFlash card lifetime (limited number of writes) The CompactFlash card has its own lifetime (the limited number of writes).
-
(c) TAG instruction Please consider collecting tags by the tag setting. (Refer to Section 6.3.3.) (d) LOG and LOGDEL instructions Please consider logging data based on the logging setting. (Refer to Section 6.4.4.
-
INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC-Q series general-purpose programmable controller. Before using the equipment, please read this manual carefully to fully understand the functions and performance of the Q series programmable controller so as to ensure correct use. CONTENTS SAFETY PRECAUTIONS..............................................................................................................................A- 1 CONDITIONS OF USE FOR THE PRODUCT .............................
-
3.8.6 Error log area (Address: 150 to 247) ............................................................................................... 3-41 3.8.7 Login history area (Address: 250 to 380) ........................................................................................ 3-42 3.8.8 IP filter area (Address: 382 to 383).................................................................................................. 3-43 3.8.9 Collection monitor cycle area (Address: 800 to 803) .......................
-
4.11 Operation without Battery Being Mounted ........................................................................................... 4-69 4.12 Removing Battery for Storage .............................................................................................................. 4-70 4.13 Returning the Web Server Module to the Default Setting ................................................................... 4-71 5 CONNECTING WEB SERVER MODULE TO NETWORK 5- 1 to 5-21 5.
-
6.7.1 FTP server function.......................................................................................................................... 6-88 6.7.2 FTP client function............................................................................................................................ 6-91 6.7.3 FTP setting ....................................................................................................................................... 6-94 6.7.
-
8 DEDICATED INSTRUCTION 8- 1 to 8-37 8.1 Dedicated Instruction List and Available Devices .................................................................................. 8- 1 8.2 Z(P).WMSEND........................................................................................................................................ 8- 3 8.3 Z(P).FTPPUT .......................................................................................................................................... 8- 8 8.4 Z(P).
-
Appendix 7 Sizes of Data Written to Standard ROM and CompactFlash Card......................................App-66 Appendix 7.1 Size of data written to standard ROM drive ...................................................................App-66 Appendix 7.2 Size of data written to CompactFlash card ....................................................................App-66 Appendix 7.3 Size of data written to logging file...................................................................................
-
Compliance with the EMC and Low Voltage Directives (1) For programmable controller system To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to Chapter 9 "EMC AND LOW VOLTAGE DIRECTIVES" of the QCPU User's Manual (Hardware Design, Maintenance and Inspection).
-
How to Use This Manual For the Web server module (QJ71WS96), the explanation sections are indicated by the purpose of use. Use this manual, when you need to know the following. (1) Features, functions and components (a) Features and functions 1) Chapter 1 describes the features of the Web server module. 2) Chapter 3 describes the common functions, specifications, etc. of the Web server module.
-
Generic Terms and Abbreviations Unless otherwise specified, this manual uses the following generic terms and abbreviations to explain the QJ71WS96 Web server module.
-
Generic Term/Abbreviation Description WFDEL Abbreviation for Z.WFDEL and ZP.WFDEL WFREAD Abbreviation for Z.WFREAD and ZP.WFREAD WFWRITE Abbreviation for Z.WFWRITE and ZP.WFWRITE WMSEND Abbreviation for Z.WMSEND and ZP.
-
Meanings and Definitions of Terms The following table indicates the meanings and definitions of the terms used in the manual of the Web server module. Term Description ADSL ADSL is an abbreviation for Asymmetric Digital Subscriber Line. This service enables high-speed data communication using the existing analog telephone line. CGI CGI is an abbreviation for Common Gateway Interface. This technology starts the program on the server and displays the execution result of the program on the Web browser.
-
Packing List The following table indicates the products that comprise the Web server module.
-
1 OVERVIEW MELSEC-Q 1 OVERVIEW 1 This manual provides the specifications, preparatory procedures, functions, troubleshooting, etc. of the MELSEC-Q Series QJ71WS96 Web server module (hereafter referred to as the Web server module). When applying the following program examples to the actual system, make sure to examine the applicability and confirm that it will not cause system control problems. 1.1 Features This section explains the features of the Web server module.
-
1 OVERVIEW MELSEC-Q (2) Collection/Display of tag data (Tag function) A set of individual programmable controller CPU's device data on a network is entered as a tag and the Web server module collects those device data in tag unit. The collected data can be displayed in a Web browser by specifying a tag name. (2) Collects device data in tag unit according to the tag setting. External device (Client) Web server module (3) Specifies a tag name to display the tag data.
-
1 OVERVIEW MELSEC-Q (4) Data write from Web browser to programmable controller CPU Using the standard screen or user screen, device data or tag data can be written from the Web browser to the programmable controller CPUs. While data can be written in word unit, ON/OFF data can be used for ON/OFF operation in bit unit. Web server module Requests for writing in the device test or user part. External device (Client) MELSECNET/H, etc.
-
1 OVERVIEW MELSEC-Q (5) Event monitoring/History display (Event monitor function) The Web server module can monitor the programmable controller CPU status (CPU monitor), tag data (tag monitor) and time (time/interval monitor), and store the historical data of occurred events into CSV files. The stored files can be displayed in a Web browser or downloaded by FTP operation. The e-mail transmission at event occurrence is also available.
-
1 OVERVIEW MELSEC-Q (6) Storage of logging data before and after event occurrence (Logging function) By setting the occurrence of an event as the start/stop condition of logging, logging data before and after event occurrence can be stored. This enables only necessary data to be stored without the logging data before and after event occurrence being buried in the file. Web server module Event occurrence After event occurrence, logging stops in specified time.
-
1 OVERVIEW MELSEC-Q (7) Data transmission/Alarm notification by e-mail (E-mail function) (a) E-mail transmission by programmable controller CPU With the dedicated instruction (WMSEND), a tag data/logging data/user data file can be sent as an attached file of e-mail. (1) Makes required setting for e-mail in control data of dedicated instruction. Web server module Programmable controller CPU [ZP.
-
1 OVERVIEW MELSEC-Q (8) Read/Write of file by FTP (FTP function) (a) FTP client function 1) FTPPUT instruction The tag data/logging data/user data file stored in the Web server module can be written to an external device (FTP server). Programmable controller CPU External device (FTP server) Web server module (FTP client) Program Write (Upload) Tag Tag [ZP.
-
1 OVERVIEW MELSEC-Q (9) Read/write of user data file by programmable controller CPU (Dedicated instructions) (a) WFREAD instruction The user data file on the compactflash card mounted on the Web server module can be read to the device data of the programmable controller CPU. Programmable controller CPU Web server module Program [ZP.
-
1 OVERVIEW MELSEC-Q (b) WFWRITE instruction The device data of the programmable controller CPU can be written to the user data file of the compactflash card mounted on the Web server module. Programmable controller CPU Web server module Program [ZP.
-
1 OVERVIEW MELSEC-Q (10) Easy Web server (Web server module) system configuration by setting in Web browser Setting in a Web browser allows easy Web server system configuration. Once the Web server module is connected to the network, users can monitor device data on the standard screen of the Web server module.
-
1 OVERVIEW MELSEC-Q (12) Compatibility with a variety of connection methods (a) A connection method that meets a user's network environment can be selected. Web server module External device (Client) ADSL Analog modem LAN For connection to the Internet, sign-up with the Internet service provider is required in advance. (b) The Web server module can be connected to an ADSL line via a UPnPcompatible broadband router.
-
1 OVERVIEW MELSEC-Q (13) Seamless access beyond network hierarchies Using the Web server module as a gateway, the statuses of the programmable controller CPUs connected hierarchically with Ethernet, MELSECNET/H and/or CC-Link can be monitored and those data can be collected. (14) High capacity and backup memory (a) Processing of large data volume Large volume of data that is beyond capability of the programmable controller CPU can be processed using the standard ROM and CompactFlash card.
-
2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the Web server module. 2.1 Applicable Systems 2 (1) Applicable modules and base units, and No. of modules (a) When mounted with a CPU module The table below shows the CPU modules and base units applicable to the Web server module and quantities for each CPU model. Depending on the combination with other modules or the number of mounted modules, power supply capacity may be insufficient.
-
2 SYSTEM CONFIGURATION MELSEC-Q (From the preceding page) Applicable CPU module CPU type No. of modules CPU model (*1) Base unit (*2) Main base unit Extension base unit Q03UDECPU Q04UDEHCPU Programmable controller CPU Universal model QCPU (*5) (*6) (*7) 2 Q06UDEHCPU Q10UDEHCPU 64 Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Safety CPU QS001CPU N/A Q06CCPU-V C Controller module Q06CCPU-V-B N/A Q12DCCPU-V : Applicable, : N/A 1 Limited within the range of I/O points for the CPU module.
-
2 SYSTEM CONFIGURATION MELSEC-Q (2) Application to multiple CPU system The Web server module is compatible with a multiple CPU system. When using the Web server module in a multiple CPU system, refer to the QCPU User's Manual (Multiple CPU System). The Web server module is compatible with the multiple CPU system with function version B from the first product.
-
2 SYSTEM CONFIGURATION MELSEC-Q 2.2 Network Connections This section explains the connection methods of the Web server module to the network. (1) LAN connection The Web server module can be connected to a LAN using the 10BASET/100BASE-TX interface. Web server module Twisted pair cable Ethernet Intranet External device (2) Connection via ADSL modem The Web server module can be connected to the Internet through ADSL modem using 10BASE-T/100BASE-TX interface.
-
2 SYSTEM CONFIGURATION MELSEC-Q 1 It is recommended to use a UPnP-compatible product. When the product is incompatible with UPnP, contract on a static IP address with an Internet service provider and the NAT setting on the router are required. 2 Independently of whether the product is compatible or incompatible with UPnP, the initial setting of the modem or router must be made before start-up. POINT (1) Internet connection via ADSL modem is made in dial-up setting. (Refer to Section 4.6.4.
-
2 SYSTEM CONFIGURATION MELSEC-Q 2.3 System Configuration for Initial Setting, Maintenance and Inspection This section shows a system configuration in the case of initial setting (system setting, dial-up setting), maintenance and inspection of the Web server module.
-
2 SYSTEM CONFIGURATION MELSEC-Q 2.4 Connection Device This section explains the devices compatible with the Web server module. (1) CompactFlash card The CompactFlash card applicable to the Web server module is a TYPE I storage card that meets the CompactFlash specifications. One CompactFlash card can be set to the Web server module. Use either of the following CompactFlash cards.
-
2 SYSTEM CONFIGURATION MELSEC-Q (4) Broadband router The following table provides the specifications of the broadband router applicable to the Web server module. Item Specifications Operable with the interface specifications of the CH1 (10BASE- Web server module side interface T/100BASE-TX) side of the Web server module (refer to Section 3.1). NAT Should have the NAT (address conversion) function. UPnP Should be compatible with Universal Plug and Play (UPnP).
-
2 SYSTEM CONFIGURATION MELSEC-Q (6) RS-232 cable Use the RS-232-compliant cable of up to 15m. [Recommended cable] Oki Electric Cable Co., Ltd. 7/0.127 P HRV-SV ... : Specify the number of pairs. (For 13 pairs, specify 7/0.127 13P HRV-SV.) (7) Internet service provider The following table provides the specifications of the Internet service provider to be connected to the Web server module.
-
2 SYSTEM CONFIGURATION MELSEC-Q 2.5 Checking Function Version and Serial No. The serial No. and function version of the Web server module can be confirmed on the rating plate and GX Developer's system monitor. (1) Confirming the serial number on the rating plate The rating plate is situated on the side face of the Web server module. Serial No. (first 5 digits) Function version MAC ADD. 110128 Relevant regulation standards (2) Checking on the front of the module The serial No.
-
2 SYSTEM CONFIGURATION MELSEC-Q (3) Confirming the serial number on the system monitor (Product Information List) To display the screen for checking the serial number and function version, select [Diagnostics] → [System monitor] → Product inf. list in GX Developer. Function version Serial No. Product No. 1) Production number display Since the Web server module does not support the production number display, "-" is displayed. POINT The serial No.
-
3 SPECIFICATIONS MELSEC-Q 3 SPECIFICATIONS This chapter provides information on the performance specifications, transmission specifications, etc. of the Web server module. For the general specifications of the Web server module, refer to the user's manual of the CPU module. 3.1 Performance Specifications This section shows the performance specifications of the Web server module.
-
3 SPECIFICATIONS MELSEC-Q (2) Software specifications Item Number of simultaneously connectable nodes HTTP version Web server User area capacity 3 Parts for creating user screen Valid browser Browser (Refer to REMARKS (6).) Specifications 5 1.
-
3 SPECIFICATIONS MELSEC-Q POINT Performance of the Web server module and the system using the Web server module differs depending on following factors. Conduct verification by user prior to starting the system. • Operating environment (personal computer, network, and the CompactFlash card) • Loading status of the network • Sequence scan time • Accessing status from a personal computer, terminal display, or intelligent function module to the programmable controller CPU.
-
3 SPECIFICATIONS MELSEC-Q (2) Checking the Build number of Microsoft VM and downloading Microsoft VM (a) Checking the Build number of Microsoft VM By entering "jview" on the MS-DOS Prompt (command prompt) screen, the Build number of Microsoft VM can be checked as shown below. ( ) R R R R When not displayed as below, Microsoft VM has not been installed and must be installed. (Refer to (b).
-
3 SPECIFICATIONS MELSEC-Q (3) Downloading Sun Microsystems Inc. Java VM and confirming its version (a) Downloading Sun Microsystems Inc. Java VM When using Sun Microsystems Inc. Java VM, download it from the Sun Microsystems Inc. Home Page. (b) Confirming version The version can be confirmed on the Java VM download site of the Sun Microsystems Inc. (c) Precautions for use of Java VM of Sun Microsystems Inc. 1) Installation When installing Java VM of Sun Microsystems Inc.
-
3 SPECIFICATIONS MELSEC-Q Operating system (OS) R Web browser R R Microsoft Windows 98 Operating System (Japanese version) Microsoft Internet Explorer 5.5/6.0 (Japanese version) 1 When displaying the TOP page of the standard screen using an operating system and a Web browser of English version, do not click on the "Japanese" button provided for link to the Japanese version. Doing so may display an incorrect screen.
-
3 SPECIFICATIONS MELSEC-Q 3.2 RS-232 Connector Specifications The RS-232 connector specifications are shown below. (1) RS-232 connector specifications 1 2 3 4 5 6 7 Pin No.
-
3 SPECIFICATIONS MELSEC-Q 3.3 Function List The following is the function list of the Web server module. Function Monitor Description Device monitor Monitors device values. Tag data monitor Monitors tag data. Logging monitor Monitors logging data. Function Event history monitor PLC diagnostics monitor Self-diagnostics monitor Monitors event histories. Monitors programmable controller CPU operation status. Monitors Web server module operation status. Reference Section Section 6.2.1 Section 6.2.
-
3 SPECIFICATIONS MELSEC-Q 3.4 Dedicated Instruction List The following is a list of the dedicated instructions available for the Web server module. Application Instruction E-mail transmission WMSEND FTPPUT FTP Tag Logging Description Reference Section Sends e-mail. Section 8.2 Transfers (PUT) a file to the FTP server. Section 8.3 FTPGET Transfers (GET) a file from the FTP server. Section 8.4 TAG Issues a tag collection command. (Triggers a tag collection.) Section 8.
-
3 SPECIFICATIONS MELSEC-Q 3.5 Web Browser Setting Item List The following is a list of the parameter setting items to be set on a Web browser. Item Description Top page This screen is displayed first when the URL of the Web server module is specified. Monitor screen Monitors device data, tag data, logging data, event historical data, PLC diagnostics and self-diagnostics. Device monitor Monitors device values. Tag data monitor Monitors tag data. Logging monitor Monitors logging data.
-
3 SPECIFICATIONS MELSEC-Q 3.6 I/O Signals for Programmable Controller CPU 3.6.1 I/O signals list The following is the I/O signal list of the Web server module for the programmable controller CPU. The following I/O signal assignment is based on the case where the start I/O No. of the MES interface module is "0000" (installed to slot 0 of the main base unit) If mounted on other than Slot 0, use the device numbers corresponding to the slot.
-
3 SPECIFICATIONS MELSEC-Q Signal Direction Web server module Signal Direction Programmable controller CPU Programmable controller CPU Device Signal name No. X10 X11 X12 X13 X14 X15 X16 X17 X18 X19 X1A X1B X1C X1D X1E X1F ERR.
-
3 SPECIFICATIONS MELSEC-Q 3.6.2 I/O signals details The following table shows the details of the I/O signals of the Web server module. (1) Input signals Device No. X0 X1 Signal Name Module READY CompactFlash Description Turns on when the Web server module becomes ready after the programmable controller is powered off and then on or the CPU module is reset. (1) Turns on when the CompactFlash card is set and File access status (X2) is off.
-
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) Turns on when the Web server module is connected to the network. (2) The Web server module is connected to the network. (Connection trigger) when: (a) The programmable controller is powered off and then on or the CPU module is reset when "Automatic connection to network at start-up." is set in the System setting. (Refer to Section 4.6.3) (b) Network connection request (Y5) is turned from OFF to ON.
-
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) Turns on at completion of connection made by Network connection request (Y5). Does not turn on by any connection trigger other than Network connection request (Y5) indicated in (2) of X4. (2) Turns off when Network connection request (Y5) turns off.
-
3 SPECIFICATIONS Device No. MELSEC-Q Signal Name Description (1) Is on while the Web server module is processing for disconnection from the network. Turns on in response to any of the disconnection triggers shown in (3) of X4. (2) Upon completion of the network disconnection processing, Network connection status (X4) turns off.
-
3 SPECIFICATIONS Device No. Signal Name MELSEC-Q Description (1) Turns on when a logging error occurs. X12 Logging error (2) When this turns on, an error code is stored into the logging status area (buffer memory: 2000 to 2267). (3) Turns off when Error clear request (Y10) is turned on. (1) Turns on when an error of CPU event monitor occurs. (2) When this turns on, an error code is stored into the CPU event monitor status area 1 X13 CPU event monitor error (buffer memory: 3300 to 3375).
-
3 SPECIFICATIONS MELSEC-Q (2) Output signal details Device No. Y2 Y3 Signal Name File access stop (1) Turns on when file access is stopped. request (2) Refer to X2 for ON/OFF timing. File access stop (1) Turns on when a file access stop is canceled. cancel request (2) Refer to X2 for ON/OFF timing. Network Y5 connection request Network Y7 Description disconnection request (1) Turns on when the Web server module is connected to the network. (2) Refer to X6 for ON/OFF timing.
-
3 SPECIFICATIONS MELSEC-Q 3.7 Buffer memory list The buffer memory addresses are listed below. Address (Decimal (Hex)) 0 (0H) 1 (1H) 2 (2H) 3 (3H) 4 (4H) 5 to 6 (5H to 6H) 7 (7H) 8 to 9 (8H to 9H) 10 to 11 (AH to BH) Application Name RUN LED status 0: Off 1: On ERR.
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) 30 (1EH) 31 (1FH) 32 (20H) 33 (21H) 34 (22H) 35 (23H) 36 (24H) 37 (25H) 38 (26H) 39 (27H) 40 (28H) 41 to 42 (29H to 2AH) 43 to 44 (2BH to 2CH) 45 to 46 (2DH to 2EH) 47 to 48 (2FH to 30H) Application Network connection status area Name Initial value Read/ write 1 Connection error code 0: Normal Other than 0: Error code 0 R Number of successful connection 0 R Number of failed connection 0 R Number of connection tries
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application IP address setting 0: "Obtain an IP address automatically." 1: "Use the following IP address.
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) 140 (8CH) 141 (8DH) 142 to 145 (8EH to 91H) 146 to 149 (92H to 95H) 150 (96H) 151 (97H) 152 (98H) 153 (99H) 154 to 157 (9AH to 9DH) 158 to 163 (9EH to A3H) 164 to 169 (A4H to A9H) 170 to 175 (AAH to AFH) 176 to 181 (B0H to B5H) 182 to 187 (B6H to BBH) 188 to 193 (BCH to C1H) 194 to 199 (C2H to C7H) 200 to 205 (C8H to CDH) 206 to 211 (CEH to D3H) 212 to 217 (D4H to D9H) 218 to 223 (DAH to DFH) 224 to 229 (E0H to E5H) 230 to 235 (E6
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application 250 to 251 (FAH to FBH) 252 (FCH) 0 R Login history write pointer 0 R User number 0 R Source IP address 0 R 0 R 0 R Login history 1 256 (100H) 257 to 260 (101H to 104H) Login type 1: Web login 2: FTP login Date and Time 261 to 268 (105H to 10CH) Login history 2 (Same as Login history 1) 269 to 276 (10DH to 114H) Login history 3 (Same as Login history 1) 277 to 284 (115H to 11CH) Login hist
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application 800 to 801 (320H to 321H) Collection monitor cycle 802 to 803 (322H to 323H) Read/ Initial value Name write Current cycle (Unit: Second) 0 R Maximum cycle (Unit: Second) 0 R 1 Reference section Section 3.8.
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application Name Read/ Initial value write 3000 (BB8H) CPU event setting data 0 R 3001 (BB9H) CPU event occurrence data 0 R 3002 (BBAH) CPU event monitor error data 0 R 3003 (BBBH) CPU event monitor 1 error code 0 R 3004 (BBCH) CPU event monitor 2 error code 0 R 3005 (BBDH) CPU event monitor 3 error code 0 R 3006 (BBEH) CPU event monitor 4 error code 0 R 3007 (BBFH) CPU event monitor 5 error code
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application Name Read/ Initial value write 3100 (C1CH) Tag event setting data 0 R 3101 (C1DH) Tag event occurrence data 0 R 3102 (C1EH) Tag event monitor error data 0 R 3103 (C1FH) Tag event monitor 1 error code 0 R 3104 (C20H) Tag event monitor 2 error code 0 R 3105 (C21H) Tag event monitor 3 error code 0 R 3106 (C22H) Tag event monitor 4 error code 0 R 3107 (C23H) Tag event monitor 5 error code
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application Name Read/ Initial value write 3200 (C80H) Time event setting data 0 R 3201 (C81H) Time event monitor error data 0 R 3202 (C82H) Time event monitor 1 error code 0 R 3203 (C83H) Time event monitor 2 error code 0 R 3204 (C84H) Time event monitor 3 error code 0 R 3205 (C85H) Time event monitor 4 error code 0 R 3206 (C86H) Time event monitor 5 error code 0 R 3207 (C87H) Time event monitor
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) 3376 to 3999 (D30H to F9FH) Application Use prohibited 4000 to 4003 (FA0H to FA3H) 4004 to 4007 (FA4H to FA7H) 4008 (FA8H) Access target CPU setting status Read/ Initial value Name write Access target CPU setting data 0 R Access target CPU error data 0 R Access target CPU 1 error code 0 R The composition of each area is the same as that of the Access target CPU 2 to 64 access target CPU 1 error code.
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application 5154 to 5174 (1422H to 1436H) Error log 8 (Same as Error log 1) 5175 to 5195 (1437H to 144BH) Error log 9 (Same as Error log 1) 5196 to 5216 (144CH to 1460H) Error log 10 (Same as Error log 1) 5217 to 5237 (1461H to 1475H) Error log 11 (Same as Error log 1) Error log 12 (Same as Error log 1) Error log 13 (Same as Error log 1) 5280 to 5300 (14A0H to 14B4H) Error log 14 (Same as Error log 1) 5301 to
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application Initial value Name Read/ Reference write 1 section 6002 (1772H) Number of times when the FTPPUT instruction was normally completed 0 R 6003 (1773H) Number of times when the FTPPUT instruction was abnormally completed 0 R 6004 (1774H) Number of normally completed FTP transfers (PUT) 0 R 6005 (1775H) Number of abnormally completed FTP transfers (PUT) 0 R 6006 (1776H) Number of writes for error log
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) Application Read/ Initial value Name write 6200 (1838H) Transfer log write count 0 R 6201 (1839H) Transfer log write pointer 0 R Transfer destination 0 R Transferred file name 0 R Data 0 R 6202 (183AH) 6203 to 6208 (183BH to 1840H) FTP client status (PUT) ( 2) Transfer log 1 6209 to 6212 (1841H to 1844H) Transfer log 2 to 32 6213 to 6553 (1845H to 1999H) 6554 to 8001 (199AH to 1F41H) 8002 (1F42H) 8003 (1
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address (Decimal (Hex)) 8152 to 8163 (1FD8H to 1FE3H) 8164 to 8175 (1FE4H to 1FEFH) 8176 to 8187 (1FF0H to 1FFBH) 8188 to 8199 (1FFCH to 2007H) 8200 (2008H) 8201 (2009H) 8202 (200AH) 8203 to 8208 (200BH to 2010H) 8209 to 8212 (2011H to 2014H) 8213 to 8553 (2015H to 2169H) 8554 to 9998 (216AH to 270EH) 9999 (270FH) Application FTP client status (GET) ( 2) Module initialization request Tag event 10000 to 10015 monitor status (2710H to 271FH) 1 ( 2) 10
-
3 SPECIFICATIONS MELSEC-Q 1 Shows whether or not reading/writing is possible. R: Only reading is possible. W: Only writing is possible. R/W: Both reading and writing are possible. 2 Can be used in the product whose first 5 digits of serial No. are 05112 or later. (Assigned as system area for the product earlier than that) 3 The following shows the assignment of error code area for the tag collection 1 to 64 (address: 1012 to 1075).
-
3 SPECIFICATIONS MELSEC-Q (From the preceding page) Name Error code Number of saved files Number of the latest saved file Logging 1 to 64 Data Area 31 32 33 34 35 36 37 38 39 40 2132 2136 2140 2144 2148 2152 2156 2160 2164 2168 2133 2137 2141 2145 2149 2153 2157 2161 2165 2169 2134, 2135 2138, 2139 2142, 2143 2146, 2147 2150, 2151 2154, 2155 2158, 2159 2162, 2163 2166, 2167 2170, 2171 41 42 43 44 45 46 47 48 49 50 Error code 2172 2176 2180 2184 2188
-
3 SPECIFICATIONS MELSEC-Q 6 The following shows the assignment of error code area for the access target CPU 1 to 64 (address: 4008 to 4071).
-
3 SPECIFICATIONS MELSEC-Q 8 The following shows the assignment of the transfer (PUT) log 1 to 32 area (address: 6202 to 6553).
-
3 SPECIFICATIONS MELSEC-Q 10 The following shows the assignment of the tag event monitor 1 to 256 error code area (address: 10192 to 10447).
-
3 SPECIFICATIONS MELSEC-Q 3.8 Buffer memory details This section explains the buffer memory details. POINT (1) The value stored into the buffer memory is cleared when the programmable controller is powered off and then on, or the CPU module is reset. Normally, this area need not be read. Read as necessary when maintenance is performed. (2) When a value of 65536 or more is stored in the area consisting of one word, a count is stopped at FFFFH (65535).
-
3 SPECIFICATIONS MELSEC-Q (5) Number of connection tries by automatic connection (Address: 34) This area stores the cumulative number of attempted automatic connection from the Web server module to the network. Refer to X4 of Section 3.6.2 (1) for the trigger of connection to the network. (6) Number of reconnection tries (Address: 35) (a) This area stores the number of reconnection to the network.
-
3 SPECIFICATIONS MELSEC-Q (14) Current connection time (Address: 53 to 54) This area stores the time of current connection to the network. (Unit: Minute) (15) Network setting status of Web server module(Address: 55 to 68) This area stores the setting status of the network where the Web server module is currently connected.
-
3 SPECIFICATIONS MELSEC-Q (2) Time (Address: 142 to 145) Stores the error occurrence time in BCD code. b15 Address: 142 to b8 Month (01H to 12H) b7 to b0 Year (00H to 99H, last 2 digits) 143 Hour (00H to 23H) Day (01H to 31H) 144 Second (00H to 59H) Minute (00H to 59H) 145 Year (00H to 99H, first 2 digits) Day of the week (0H to 6H) POINT (1) The information of the current error area can be confirmed on the following diagnostic screen.
-
3 SPECIFICATIONS MELSEC-Q (b) Time This area stores the error occurrence time in BCD code.
-
3 SPECIFICATIONS MELSEC-Q (b) Source IP address This area stores the IP address of the access source for login. (c) Login type This area stores whether Web or FTP has been used for login. 1: Web login 2: FTP login (d) Date and Time This area stores the date and time of the login in BCD code.
-
3 SPECIFICATIONS MELSEC-Q REMARKS (a) Collection monitor cycle The Web server module performs tag collection, logging and event monitoring in this order.
-
3 SPECIFICATIONS MELSEC-Q 3.8.10 Tag status area (Address: 1000 to 1075) The status related to the tag function can be confirmed. Refer to Section 6.3 for the tag function. (1) Tag setting data (Address: 1000 to 1003) (a) This area stores information on whether tag settings have been made or not. (b) Address: 1000 1001 1002 1003 b15 16 32 48 64 The bit corresponding to the preset tag setting No. turns on.
-
3 SPECIFICATIONS MELSEC-Q (c) The following is observed when a tag collection error occurs. (Example) When an error occurs in tag collection of the tag setting No. 16 • Tag collection error (X11) turns on • Tag collection error data area (address: 1008 (bit 15)) of the buffer memory turns on. • The error code is stored into the tag collection 16 error code area (address: 1027) of the buffer memory.
-
3 SPECIFICATIONS MELSEC-Q (3) Logging error data (Address: 2008 to 2011) Address: (a) This area stores the logging error data. (b) The bit corresponding to the logging setting No. of a logging error turns on.
-
3 SPECIFICATIONS MELSEC-Q 3.8.12 CPU event monitor status area 1 (Address: 3300 to 3375) The status related to the CPU event monitor function can be confirmed. Refer to Section 6.5 for the CPU event monitor function. (1) CPU event setting data (Address: 3300 to 3303) Address: 3300 3301 3302 3303 (a) This area stores information on whether "CPU event setting" in the event setting has been made or not. (b) The bit corresponding to the preset CPU event setting No. turns on.
-
3 SPECIFICATIONS MELSEC-Q (c) The following is observed when a CPU event monitor error occurs. (Example) When an error occurs in CPU event monitor of the CPU event setting No. 16 • CPU event monitor error (X13) turns on • CPU event monitor error data area (address: 3308 (bit 15)) of the buffer memory turns on. • The error code is stored into the CPU event monitor 16 error code area (address: 3329) of the buffer memory.
-
3 SPECIFICATIONS MELSEC-Q (3) CPU event monitor error data (Address: 3002) Address: (a) This area stores the CPU event monitor error data. (b) The bit corresponding to the CPU event setting No. of a CPU event monitor error turns on. 0: No CPU event monitor error occurred 1: CPU event monitor error occurred 3002 b15 b14 b13 b12 b11 b10 b9 16 15 14 13 12 11 10 (c) b8 b7 9 8 b6 7 b5 6 b4 5 b3 4 b2 3 b1 2 b0 1 The following is observed when a CPU event monitor error occurs.
-
3 SPECIFICATIONS MELSEC-Q (2) Tag event occurrence data (Address: 10064 to 10079) (a) This area stores the tag event occurrence results. (b) The bit corresponding to the tag event setting No. of a tag event turns on.
-
3 SPECIFICATIONS MELSEC-Q (c) The following is observed when a tag event monitor error occurs. (Example) When an error occurs in tag event monitor of the tag event setting No. 16 • Tag event monitor error (X14) turns on • Tag event monitor error data area (address: 10128 (bit 15)) of the buffer memory turns on. • The error code is stored into the tag event monitor 16 error code area (address: 10207) of the buffer memory.
-
3 SPECIFICATIONS MELSEC-Q (3) Tag event monitor error data (Address: 3102) Address: (a) This area stores the tag event monitor error data. (b) The bit corresponding to the tag event setting No. of a tag event monitor error turns on. 0: No tag event monitor error occurred 1: Tag event monitor error occurred 3102 b15 b14 b13 b12 b11 b10 b9 16 15 14 13 12 11 10 (c) b8 9 b7 8 b6 7 b5 6 b4 5 b3 4 b2 3 b1 2 b0 1 The following is observed when a tag event monitor error occurs.
-
3 SPECIFICATIONS MELSEC-Q (c) The following is observed when a time event monitor error occurs. (Example) When an error occurs in time event monitor of the time/interval event setting No. 16 • Time event monitor error (X15) turns on. • Time event monitor error data area (address: 3201 (bit 15)) of the buffer memory turns on. • The error code is stored into the time event monitor 16 error code area (address: 3217) of the buffer memory.
-
3 SPECIFICATIONS MELSEC-Q (c) The following is observed when an access target CPU error occurs. (Example) When an error occurs in the access target CPU of the access target CPU setting No. 16 • Access target CPU error (X16) turns on. • Access target CPU error data area (address: 4004 (bit 15)) of the buffer memory turns on. • The error code is stored into the access target CPU 16 error code area (address: 4023) of the buffer memory.
-
3 SPECIFICATIONS MELSEC-Q (3) Error log storage area for abnormal completion The error log of failed e-mail transmission can be confirmed. (a) Number of writes for error log (Address: 5005) 1) This area stores the cumulative number of errors that were stored into the error log area. 2) The error code is stored when e-mail transmission error (X17) turns on. (b) Error log write pointer (Address: 5006) 1) This area stores the error log No. of the latest error log. ( ) 0 : No error.
-
3 SPECIFICATIONS MELSEC-Q (4) Transmission log storage area for normal completion The transmission log of normally completed e-mail transmission can be confirmed. (a) Number of writes for transmission log (Address: 5343) 1) This area stores the cumulative number of registrations to the transmission log area. 2) This area stores the transmission log when the Web server module sent e-mail to the mail server normally.
-
3 SPECIFICATIONS MELSEC-Q 3.8.19 FTP server status area (Address: 6000 to 6001) The status related to the FTP server function can be confirmed. Refer to Section 6.7.1 for the FTP server function. (1) Number of successful login (Address: 6000) This area stores the cumulative number of successful login to the FTP server. (2) Number of failed login (Address: 6001) This area stores the cumulative number of failed login to the FTP server. 3.8.
-
3 SPECIFICATIONS MELSEC-Q (3) Error log storage area for abnormal completion The error log of failed file transfer can be confirmed. (a) Number of writes for error log (Address: 6006) 1) This area stores the cumulative number of errors stored in the error log area. 2) The error code is stored when FTP transfer error (X18) turns on. (b) Error log write pointer (Address: 6007) 1) This area stores the error log No. of the latest error log. ( ) 0 : No error. (No error stored) 1 or more : Error log No.
-
3 SPECIFICATIONS MELSEC-Q (4) Transfer log storage area for normal completion The transfer log of normally completed file transfer can be confirmed. (a) Number of writes for transfer log (Address: 6200) 1) This area stores the cumulative number of registrations to the transfer log area. 2) This area stores the transfer log when the Web server module transferred (PUT) a file to the FTP server normally. (b) Transfer log write pointer (Address: 6201) 1) This area stores the transfer log No.
-
3 SPECIFICATIONS MELSEC-Q 3.8.21 FTP client status (GET) area (Address: 8002 to 8553) The status related to the FTP client function (GET) can be confirmed. The FTP client function (GET) reads the file of the FTP server to the Web server module. Refer to Section 6.7.2 for the FTP client function (GET). (1) FTPGET instruction execution count storage area The number of times when the FTPGET instruction was executed can be confirmed.
-
3 SPECIFICATIONS MELSEC-Q (c) Error log 1 to 16 (Address: 8008 to 8199) This area stores the error logs of failed file transfer. The error log area is composed of 16 portions of the same data arrangement. 1) Error code This area stores the error code that indicates the error status. Refer to Section 9.3 for the error code. 2) Source This area stores the source FTP server No. when a communication error occurs. The source FTP server No. is set in the FTP server setting.
-
3 SPECIFICATIONS MELSEC-Q (c) Transfer log 1 to 32 (Address: 8202 to 8553) This area stores the transfer logs of normally completed file transfer. The transfer log area is composed of 32 portions of the same data arrangement. 1) Source This area stores the source FTP server No. of the normally completed FTP transfer (GET). The source FTP server No. is set in the FTP server setting. 2) Transferred file name This area stores the transferred file name in ASCII code.
-
3 SPECIFICATIONS MELSEC-Q 3.9 Time Data Handling This section explains the time data handled by the Web server module. (1) Time data handled by Web server module The Web server module acquires and uses the clock data of CPU No. 1 at the following timings. ( ) • When the programmable controller is powered off and then on or the CPU module is reset • Every 60 seconds The time data is used mainly for the time stamp of logging and event history files and the time specification of logging and event monitor.
-
3 SPECIFICATIONS MELSEC-Q 3.10 Files Handled by Web Server Module This section indicates the files that can be handled by the Web server module. Name Description Storage Directory 1 File Creation CSV file that saves tag data. Tag file System Created when e-mail transmission/file transfer is performed. [/ROM/WWW/LOGGING] Logging file CSV file that saves logging data. or System Event history file CSV file that saves event historical data.
-
3 SPECIFICATIONS MELSEC-Q MEMO 3 - 66 3 - 66
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4 SET-UP AND PROCEDURE BEFORE OPERATION This chapter explains the set-up and preparatory procedure to operate the Web server module in a system. POINT (1) Prior to use, make sure to read the safety precautions in the beginning of this manual. (2) The mounting and installation environment of the Web server module are the same as those of the CPU module. For details, refer to the user's manual of the programmable controller CPU module. 4.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.2 Set-up and Procedure before Operation The following provides pre-operation procedure. (1) Accessing the host CPU from the Web server module Web server module personal computer crossing cable IP address [192. 168. 3. 3] Subnet mask [255. 255. 255. 0] IP address [192. 168. 3. ] Subnet mask [255. 255. 255. 0] Procedures before operation 4 Mount a battery to the Web server module. Refer to Section 4. 10. 2.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Accessing the other station CPU from the Web server module Web server module personal computer crossing cable MELSECNET/H, etc. Procedures before operation Confirm that the Web server module can access the host station CPU. Refer to Section 4. 2. (1). Confirm that the access target network system operates correctly.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Connecting the Web server module to the network Web server module personal computer crossing cable MELSECNET/H, etc. Procedures before operation Confirm that the Web server module can access the host station CPU and/or other station CPU. Refer to Section 4. 2. (1). (2). A contract with the Internet service provider is required prior to the Internet connection.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION Web server module Internet MELSEC-Q personal computer MELSECNET/H, etc. 1) Power the programmable controller ON and connect the Web server module to the network. Refer to Chapter 5. Obtain an address for the Web server module using the Address Notification function. Start up the Web browser on a personal computer and access the Web server module. Refer to Section 4. 6. 2. Set various functions from the Administrative menu.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.3 Part Names and Functions This section indicates the part names of the Web server module.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION Name 1) 2) 3) 4) Description LED Display Refer to (1) LED display. 10BASE-T/ Used for connecting Web server module to 10BASE-T/100BASE-TX. 100BASE-TX interface (Web server module recognizes 10BASE-T/100BASE-TX according to the external connector (RJ45) device.) RS-232 interface connector Used for connecting Web server module to RS-232. EJECT button Used for ejecting a CompactFlash card from Web server module.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.4 Cable Connection This section explains how to connect cables to the Web server module. To realize a reliable system and fully utilize the Web server module functions, wiring resistant to external noise is required. 4-8 (1) Ground the RS-232 Cable shield at only one point. (2) When connecting to an external device with an RS-232 cable, use a connector shell specified in Section 3.2 for the Web server module side.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.4.1 10BASE-T/100BASE-TX connection This section provides connection examples for use of the 10BASE-T/100BASE-TX interface of the Web server module. (1) In the case of LAN connection HUB Web server module Intranet Twisted pair cable (straight) (2) In the case of Internet connection using ADSL modem ADSL modem LAN LINE Web server module Telephone wire To telephone line Twisted pair cable (straight) Splitter Modular jack POINT Refer to Section 2.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.4.2 RS-232 connection This section provides a connection example for use of the RS-232 interface of the Web server module. • In the case of Internet connection using analog modem Analog modem RS-232 LINE Web server module Telephone wire To telephone line Modular jack ( ) RS-232 cable For a connector of the web server module, use 9 pin D-sub (Male) fixing type. (Refer to Section 3. 2.) POINT Refer to Section 2.2 and Section 2.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.5 Network Setting of Personal Computer for One-to-one Connection Connect the Web server module with the personal computer on a one-to-one basis, and set the Web server module from the Web browser on the personal computer. This section explains the network setting of the personal computer when the Web server module and personal computer are connected on a one-to-one basis.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (Example 2) For Microsoft Windows 98 operating system [Control panel] [Network] tab Properties" screen tab R (c) 4 - 12 R "TCP/IP Restart the personal computer to make the network setting valid.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Web browser setting (a) Local area network [LAN] setting In Local Area Network [LAN] Settings of the Web browser, make setting so that the proxy server is not used at the local address. (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (b) MELSEC-Q Temporary Internet files settings/delete 1) Select any other than "Never" for "Check for newer versions of stored pages" in the temporary Internet files settings of the Web browser. If "Never" is set, the old screen (the one saved in the temporary Internet files) is displayed unchanged when the file is read from the Edit screen, etc. (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION 2) MELSEC-Q The old screen (the one saved in the temporary Internet files) may be displayed unchanged if the file is read from the User HTML, Edit screen, etc. In that case, delete the temporary Internet files (cache) of the Web browser and read the file again. (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.5 [Tools] [Internet Options] tab Temporary Internet Files Delete Files... "Delete Files" screen R R R When using Java VM of Sun Microsystems Inc. for
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (c) MELSEC-Q Security level setting In the security level setting of the Web browser, set the security level of the Internet and Intranet zones to "Default Level". (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.0 [Tools] [Internet Options] tab R R R (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (d) MELSEC-Q Detailed setting In the advanced settings of the Web browser, set to "Restore Defaults". (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.0 [Tools] [Internet Options] tab R R R To use Microsoft VM, clear the "JIT compiler for virtual machine enabled (requires restart)" check box. R (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (e) MELSEC-Q Cookies setting In the Advanced Privacy Settings window, specify how to handle cookies. (Example) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.0 [Tools] [Internet Options] tab Advanced... R R R Select "Override automatic cookie handling", "Accept" for "Firstparty Cookies", and "Always allow session cookies". Select any for "Third-party Cookies".
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (4) Accessing the Web server module from the personal computer (a) Start the Web browser from the personal computer and enter the address of the Web server module as indicated below. [http://192.168.3.3/] (b) As the user authentication screen ("Enter Network password " screen) appears when accessing the Web server module, enter the following.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (5) Accessing the host CPU of the Web server module 4 - 21 (a) Display the "Device monitor" screen Within the Monitor screen. [Monitor screen] "Device monitor" (b) Access the host CPU of the Web server module and confirm that the following input signals (X) are on. Module READY (X0) Network connection status (X4) (c) Since the monitor screens use the Java applet, Java VM is required for the Web browser to execute the applet. Refer to Section 3.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6 Setting from Web Browser It is required to make setting from the Web browser to use the Web server module. The Web server module has the standard screen for setting/monitoring the Web server module. 4.6.1 Display of standard screen The following shows the display of the standard screen. Although English and Japanese versions are provided, when a browser in English is used, the standard screen is displayed in English.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Monitor screen Screen name Screen name will be displayed. Location Menu Select a monitor screen. Shows the location of the currently displayed screen. Click on the button to move to the monitor screen top page or the default top page. [Menu items] Item Description Device monitor Monitors device values. Tag data monitor Monitors tag data. Logging monitor Monitors logging data. Event history monitor Monitors event historical data.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Administrative menu Screen name Screen name will be displayed. Menu Location Select a setting screen. Shows the location of the currently displayed screen. Click on the button to move to the Administrative menu top page or the default top page. [Menu items] Item System setting Description Makes the initial setting required for network connection. Be sure to perform this setting to use the Web server module. Reference Section Section 4.6.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.2 Common operations for the standard screen This section explains the common operations for the standard screen. Refer to the corresponding sections for the monitor and set screens. (1) Standard screen displaying procedure (a) Start the Web browser from the personal computer and enter the Web server module's address. Refer to Section 4.6.3 for the IP address setting.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Saving the Administrative menu settings (a) On setting screens of the Administrative menu, change the settings and then click on the "Save" button. (b) Clicking on the "Save" button writes the new settings over the set data of the Web server module. (The old data before overwrite are lost.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (b) MELSEC-Q Update by powering off the Web server module and on, or resetting the CPU module Powering the programmable controller off and then on or resetting the CPU module updates the settings made on the setting screen on the Web server module. POINT (1) The system settings, dial-up settings and IP filter settings are not updated by clicking on the "Update" button.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.3 System setting [Setting Purpose] Makes the initial setting required for the Web server module to connect to the network. Be sure to make this setting to use the Web server module.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Network type setting Set the connection method of the Web server module to the network. (a) Select the connection method of the Web server module to the network. Item Connecting through LAN or the router. Description Select this item when connecting through LAN or the router. Dial-up to the network. Select this item in the case of Internet connection using dial-up (Modem, ADSL) connection.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (b) When "Use the following DNS server address." has been selected, set the IP address of the DNS server in decimal number. Up to two DNS servers can be registered for a web server module. When obtaining the IP address from the domain name, retrieve it from the DNS server of the DNS server address 1. (c) Make the DNS server setting after consulting the network administrator (person who in charge of network planning, IP address management, etc.).
-
4 SET-UP AND PROCEDURE BEFORE OPERATION 1) 2) (b) MELSEC-Q When "Use the following FTP port number." is selected, set the FTP port number in decimal. • 1024 to 65535: FTP port number Consult the network administrator (person who plans the network and manages the IP address) before setting the FTP port number. "Register the above port No. to the router's NAT.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (8) Automatic network connection setting at start-up Set whether automatic network connection will be made or not at a start. Item Description No connection to network Network connection/disconnection processing is required when at start-up. continuous connection is not available. (Refer to Section 5.4) Automatic connection to The Web server module automatically connects to the network at a network at start-up start.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.4 Dial-up setting [Setting Purpose] Make the setting required for the Web server module to connect to the Internet. [Start Procedure] [Administrative menu] " Dial-up setting" [Setting Screen] [Setting Item] Item Description Connection method Sets the connecting method of the Web server module. Connection account Sets the account for connecting to the Internet service provider.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Connection method Set the connection method of the Web server module. (a) Select the method of connecting the Web server module to the Internet from Modem or ADSL. (b) Make the settings of (2) to (6) according to the selected connection method. The items unnecessary for the selected connection method are disabled. Input to the column cannot be made. (2) Connection account Set the account for connecting to the Internet service provider.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (5) Retry Set the items related to network connection retries. (a) Number of retries (0 to 255 times) Set the number of connection request retries when connection to the network fails. (b) Change access point automatically. Make this setting when registering more than one access point. 1) The module connections to the access point in due order starting from the Phone number 1.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (e) MELSEC-Q CALL function 1) Set whether the CALL function will be enabled or not. (Disable/Enable) 2) When using the CALL function, make a call from the telephone to the Web server module side modem. This allows the Web server module to connect to the network. ISP Internet 1) Makes phone call to the web server module modem. Web server module 2) Connects to the network.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q REMARKS The following table indicates the setting necessity of the dial-up setting for the network connection method.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.5 Account setting [Setting Purpose] (a) Set the user authentication account that will be confirmed when accessing the Web server module. When accessing the Web server module, the following user authentication screen ("Enter Network password" screen) appears. Enter the account set in the Account setting. (b) The following access authorities are available for the user account. (Multiple access authorities can be selected for one account.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Account setting (a) (b) Make account setting. Up to 16 accounts can be set. Prior to shipment, the following default account is registered for the Web server module as the account setting No. 1. (The default account can be edited.) • User name : QJ71WS96 • Password : MITSUBISHI • Access authority : Device write/Tag component write/Administrator • Initial screen : Standard screen top page (Top page (/index.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Edit screen Register the account. [Setting screen] [Setting item] Item Description User name Sets the user name. (1 to 20 characters) Password Sets the password. (8 to 14 characters) Confirm password Enters the password again. Access authority Selects device write/tag component write/administrator authority. Initial screen Sets the initial screen address for access to the Web server module. Saves the settings.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (e) Initial screen 1) The initial screen can be set to be displayed when the address "http://IP address" of the Web server module is specified from the Web browser. Make this setting when it is desired to change the top page of the standard screen (refer to Section 4.6.1) to a user-specified screen. [Setting item] Item Description Top page (/index.htm) Select this item to display the top page of the standard screen.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Security precautions for the Web server module The Web server module supports the basic authentication by the user name and password (account setting) and the IP filter function (Refer to Section 4.6.6), however, they cannot prevent illegal access from the outside completely. When it is required to keep the programmable controller system safe against illegal access from the outside, the user should also take preventive measures.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.6 IP filter setting [Setting Purpose] The IP filter function identifies the IP address of the access source to restrict access to the Web server module. The IP filter function applies to all access of the Web, FTP, etc. to the Web server module. In IP filter setting, make the setting necessary to use the IP filter function. Configuring the IP filter setting is recommended for Internet connection.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (b) Mask bit length Set the valid bit length of the set IP address. (Setting range: 1 to 32) (c) Action Set the action (pass/block) to be taken when the received IP packet meets the filter setting condition. (Example) When the IP address is set to "210.99.88.00", the action becomes valid in the following IP address range. IP address 210.99.88.00 Mask bit length Action 16 Block 24 IP address range where access is blocked 210.99.00.00 to 210.99.255.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (4) IP filter setting example When making the IP filter setting, take the precautions given in (5) of this section. (a) Internet connection A setting example of enabling access from a mobile personal computer and office is given below. 1) System configuration Mobile personal computer ( 1) Office 222.100.100.1 Proxy server Web server module Internet LAN 233.10.10.1 Plant ISP Mail server, FTP server, DNS server, etc. 211.100.10.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION 2) MELSEC-Q IP filter setting (5) Precautions for IP filter setting (a) When using a mail server, FTP server, DHCP server, DNS server or router, do not set the IP addresses of these devices to "Block". If it is blocked, communication with the corresponding device is disabled. (b) When a proxy server exists on the LAN, block the IP address of the proxy server.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.7 Access target CPU setting [Setting Purpose] Sets the connection path to the access target CPU. When performing device monitor, tag setting, etc., specify the CPU name set in this setting. [Start Procedure] [Administrative menu] "Access target CPU setting" (Refer to (1)) Select the access target CPU setting No. to be edited, and click on Edit . "Edit Screen" (Refer to (2)) (1) Access target CPU setting Make access target CPU setting.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Edit screen Register the access target CPU. [Setting screen] [Setting item] Item CPU name Description Sets the access target CPU name. (Within 16 characters) PLC series Sets the programmable controller series of the access target CPU. Multiple CPU specification Sets the CPU No. when the access target CPU is in a multiple CPU system.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (d) Other station specification Set whether other station is specified or not. 1) No specification Select this setting when making access to the host CPU. 2) Other station (Single network) Select this when accessing a CPU on another station via only one kind of network, such as CC-Link IE controller network, MELSECNET/H, MELSECNET/10 or Ethernet, or via a network consisting of multi-tier systems.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Precautions for access target CPU setting 4 - 50 (a) Web server module requires preparatory time to communicate with the access target CPU when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. Therefore, it may take several minutes before the communication will be available if many access target CPUs are set.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.7 Intelligent Function Module Switch Setting [Setting Purpose] Set the mode, default operation, battery error detection, logging monitor, response monitoring time, and access log (HTTP login) registration inhibition for Web server module on the "Intelligent function module switch setting" screen.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Default operation setting/Battery error detection setting/Logging monitor setting/Access log (HTTP login) registration inhibit setting (switch 2) Select the default operation setting/battery error detection setting/logging monitor setting/access log (HTTP login) registration inhibit setting for the Web server module. b15 to Speccify 0.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION (b) (c) (d) MELSEC-Q Battery error detection setting (bit 2) This setting is provided to determine whether battery error detection is enabled or not while the Web server module is operating without battery. (Refer to Section 4.11.) 0 : Detects battery error. 1 : Not detect battery error. Logging monitor setting (bit 4) Whether the latest file update time is displayed or not in the file specification field of the logging monitor is set in this setting.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q [Operation procedure] Make setting from the I/O assignment setting screen of GX Developer. (a) I/O assignment setting screen Set the following to the slot mounted with the Web server module. Type : Select "Intelli.". Model name : Enter the model name of the Web server module. Points : Select 32 points. Start : Enter the head I/O number of the Web server module. Detailed setting : Specify the control CPU of the Web server module.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.8 Self-diagnostics Function This section explains the self-diagnostics function designed to check the communication function and hardware of the Web server module 4.8.1 CH1 self-loopback test Conduct a self-loopback test to check hardware including the communication function of the CH1 (10BASE-T/100BASE-TX interface) of the Web server module.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.8.2 CH2 self-loopback test Conduct a self-loopback test to check a hardware including the communication function of the CH2 (RS-232 interface) of the Web server module. (1) Operation mode setting for Web server module (a) In "Switch setting for I/O and intelligent function module" of GX Developer, set the mode "CH2 Self-loopback test". (Switch 1: 0003H) (b) Write the PLC parameters to the programmable controller CPU.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.8.3 Hardware test Conduct a test related to the ROM/RAM/switch setting of the Web server module. (1) Operation mode setting for Web server module (a) In "Switch setting for I/O and intelligent function module" of GX Developer, set the mode to "Hardware test". (Switch 1: 0001H) (b) Write the PLC parameters to the programmable controller CPU. (2) Execution of hardware test (a) Set the programmable controller CPU to a STOP status.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.9 Setting/Removal of CompactFlash Card and Precautions for Use This section describes how to set or remove the CompactFlash card and precautions for use. 4.9.1 Precautions for using CompactFlash card This section explains precautions for use of the CompactFlash card. (1) Precautions for removal or replacement of CompactFlash card (a) Be sure to stop file access before removing or replacing the CompactFlash card. (Refer to Section 4.9.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (4) Precaution for CompactFlash card lifetime (limited number of writes) The CompactFlash card has its own lifetime (the limited number of writes). For details, check the specifications of each product. Since the lifetime of the CompactFlash card generally varies depending on its free space, it is advisable to use the card with sufficient free space. For the size of the data written to the CompactFlash card, refer to Appendix 7.2.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q [Removing or Replacing the CompactFlash Card] Before removing or replacing the CompactFlash card, be sure to stop the file access by the following procedures. Removal/Replacement of CompactFlash card Is power ON? NO Turn programmable controller ON. YES Stop file access and disable read from/write to CompactFlash card. (Refer to Section (1)) Remove CompactFlash card. (Refer to Section (4)) Replace? NO YES Insert a new CompactFlash card.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q File access stop request (Y2) (Operating) (Stopped) File access status (X2) CompactFlash card setting status (X1) (2) Canceling file access stop status (a) Cancel the file access stop status. 1) Turn File access stop cancel request (Y3) from OFF to ON. (b) Confirm that the file access stop status has been cancelled. 1) CompactFlash card setting status (X1) is ON. 2) File access status (X2) is OFF.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q LED cover Pawl position EJECT button Insert in this direction Orientation of CompactFlash card CompactFlash card CompactFlash card slot (c) Lower the LED cover until it clicks. When the CompactFlash card is set, the CompactFlash card slot cover cannot be attached to the Web server module. Save the removed CompactFlash card slot cover carefully.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 2) When removing the CompactFlash card from the Web server module, press the EJECT button to push the CompactFlash card out. REMARKS When having difficulty in replacing the CompactFlash card, the following tweezers are available. Product Model name (b) Attach the CompactFlash card slot cover and close the LED cover. 1) 2) 4 - 63 : Plastic tweezers : NK-2539 Attach the CompactFlash card slot cover.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10 Mounting and Replacement of Battery This section explains the mounting and replacement of the battery. 4.10.1 Battery specifications The following table provides the specifications of the battery for the Web server module. Model Item Type Initial voltage Nominal current Q6BAT Manganese dioxide lithium primary battery 3.0V 1800mAh Battery life (when stored) Actual life of 5 years (room temperature) Battery life (when used) Refer to Section 4.10.3.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.2 Mounting of battery At shipment, the battery connector is not mounted to the battery of the Web server module. Before using the Web server module, connect the battery connector. (1) Open the cover at the bottom of the Web server module. (2) Confirm that the battery has been mounted correctly. (3) Insert the connector attached to the battery to the connector pin on the case.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.10.3 Battery replacement This section explains the battery replacement of the Web server module. The battery of the Web server module is used for file protection. It is required to replace the battery when the voltage of the Web server module battery has dropped. (1) Checking the Web server module for a battery voltage drop (a) Check for a battery voltage drop in the battery status area (buffer memory: 7). (b) The following results at battery error.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Web server module battery (Q6BAT) life (a) The following table shows the Web server module battery life. Energization time ratio 1 Guaranteed value 2 26,000 hour 2.96 years 37,142 hour 4.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Web server module battery replacement When the Web server module battery has been exhausted, replace the battery with a new one according to the procedure shown below. The programmable controller must be powered on for 10 minutes or more before removing the battery. Even if the battery is removed, the memories are backed up by the capacitor for a while.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.11 Operation without Battery Being Mounted This section explains the operation without the battery being mounted. (1) Shut-down operation required when powering off during no battery operation If the file protection battery is not mounted on the Web server module, make sure to perform shut-down operation at power-off of the programmable controller.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.12 Removing Battery for Storage When storing the Web server module with no battery mounted, make sure to perform shut-down operation, then power off the programmable controller, and remove the battery. Important Failure to observe the following procedure may cause erasure of logging data during processing, corruption of data in the standard ROM drive/CompactFlash card during access, or a file system fault.
-
4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.13 Returning the Web Server Module to the Default Setting The Web server module stores and manages the setting information, logging data, user HTML, event history, etc. as files in the standard ROM. The operation described in this section initializes the files stored in the Web server module to return the Web server module to the default setting. In the module initialization mode, access cannot be made by the Web browser.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5 CONNECTING WEB SERVER MODULE TO NETWORK This chapter explains procedures for connecting the Web server module to the network by LAN/dial-up connection and procedures for connecting and disconnecting it to/from the network for non-continuous connection. 5.1 Network Connection through LAN This section explains the case where the Web server module is connected to the LANconnected network. 5.1.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Network setting of Web server module (a) Make setting to connect the Web server module to the network. (b) From the Administrative menu, set as follows (For other than the following settings, the default values will be used.): [Administrative menu] (Refer to 2)) 1) "System setting" (Refer to 1)) "Account setting" System setting (Refer to Section 4.6.3) Item Set value Network type setting Select "Connecting through LAN or the router.".
-
5 CONNECTING WEB SERVER MODULE TO NETWORK (c) MELSEC-Q When connection to the network fails, connection error (X19) turns on and an error code is stored into the connection error code area (buffer memory: 30). Take corrective measures according to the troubleshooting. POINT In the network connection status area (buffer memory: 28 to 69), the current network connection status of the Web server module can be confirmed.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5.1.2 Access procedure when obtaining IP address from DHCP server The following shows the procedure for access from the external device to the programmable controller CPU when an IP address for the Web server module is obtained from the DHCP server.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Network setting of Web server module (a) Make setting to connect the Web server module to the network. (b) From the Administrative menu, set as follows (For other than the following settings, the default values will be used.): [Administrative menu] "System setting" (Refer to 1)) "E-mail setting" (Refer to 2)) "Address notification setting" (Refer to 3)) "Account setting" (Refer to 4)) 1) System setting (Refer to Section 4.6.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q POINT After changing the setting, make sure to click on the "Save" button. The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. ( ) Note that the setting of the System setting is not updated even if the "Update" button is clicked. (2) Network connection of Web server module (a) Since "Automatic connection to network at start-up.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (3) Receiving the account notification by the personal computer By the address notification setting, the URL of the Web server module is sent by e-mail to the destination e-mail address. (Example) In the case of Microsoft R Corporation's Outlook R Express 5.5 (4) Access to Web server module 5-7 (a) Start a Web browser on the personal computer and enter the Web server module address obtained by the address notification function.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5.2 Network Connection by Dial-up (Modem, ADSL) This section explains the case where the Web server module is connected to the dialup-connected network using ADSL. 5.2.1 Access procedure The following shows the procedure for access from the external device to the programmable controller CPU when an ADSL modem is used for connection.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Contract with Internet service provider (a) To connect the Web server module to the Internet, a contract with an Internet service provider is required. Contact the Internet service provider for service details and how to sign up for the service. (b) Create a proper environment for the external device (personal computer) so that Internet connection is available.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK 3) MELSEC-Q E-mail setting (Refer to Section 6.6.3) Item Set value Enter the e-mail setting of the Web server module. Send e-mail account setting • SMTP server name : (example) mailserver@****.****.ne.jp • E-mail address (From:) : (example) mailaddress@****.****.ne.jp • User name : (example) mitsubishi@****.****.ne.jp • Password : (example) MITSUBISHI • Confirm password : (example) MITSUBISHI Enter an e-mail address (To:) of the personal computer.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (3) Network connection of Web server module (a) Since "Automatic connection to network at start-up." is set in the automatic network connection setting at start-up on the "System setting" screen, the Web server module automatically makes network connection at start-up. (b) Using GX Developer, confirm the following connection status of the Web server module to the network with input signals of the buffer memory and the programmable controller CPU.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (5) Access to Web server module (a) Start a Web browser on the personal computer and enter the Web server module address obtained by the address notification function. (b) When the user authentication screen is displayed at the time of access to the Web server module, enter the account. (Setting in (2) 5)) User name : administrator001 Password : (example) QJ71WS96ADMIN (c) The standard screen is displayed in the Web browser.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5.3 Operation for Returning to One-to-one Connection This section explains the operation for returning to one-to-one connection. If connection of the Web server module to the network cannot be made or if the network setting is to be changed, it is required to make one-to-one connection and perform setting with the Web browser.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (b) After writing the PLC parameters to the programmable controller CPU, power the programmable controller off and then on or reset the CPU module. (c) The settings of the Web server module are as follows. 1) System setting • IP address : 192. 168. 3. 3 • Subnet mask : 255. 255. 255. 0 • Connecting through LAN or the router. • Use the default HTTP port number (80). • Use the default FTP port number (21).
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5.4 Network connection/disconnection procedures for non-continuous connection This section explains the network connection and disconnection methods and their combinations and the procedures for connecting to and disconnecting from the network with sequence programs. 5.4.1 Network connection and disconnection methods and their combinations This section provides the network connection and disconnection methods and their combinations.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (b) Disconnection using line disconnection part When a button is clicked in a line disconnection part, the Web server module disconnects from the network. (Refer to Section 7.4.3.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (3) Combinations of network connection and disconnection methods Combinations of the network connection and disconnection methods are indicated below.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5.4.2 Network Connection/Disconnection Processing Using Sequence Program The Web server module must be connected to the network for access from the external device. With the Web server module connected to the network, access from the external device by Web or FTP is available.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (2) Program example This section explains programs for connection/disconnection using sequence programs. (a) Program execution environment 1) Mount the Web server module on Slot "0" of the main base. 2) Connect the Web server module and the personal computer with a crossing cable. Web server module Crossing cable Personal computer IP address : 192.168.3.3 Subnet mask : 255.255.255.0 IP address : 192.168.3.1 Subnet mask : 255.255.255.
-
5 CONNECTING WEB SERVER MODULE TO NETWORK (b) 5 - 20 MELSEC-Q Program example 5 - 20
-
5 CONNECTING WEB SERVER MODULE TO NETWORK 5 - 21 MELSEC-Q 5 - 21
-
6 FUNCTIONS MELSEC-Q 6 FUNCTIONS This chapter explains the functions of the Web server module. 6.1 Function List of Web Server Module The following is the function list of the Web server module. Function Monitor Description Reference Section Device monitor Monitors device values. Section 6.2.1 Tag data monitor Monitors tag data. Section 6.2.2 Logging monitor Monitors logging data. Section 6.2.3 Monitors event histories. Section 6.2.
-
6 FUNCTIONS MELSEC-Q 6.2 Monitor Function 6.2.1 Device monitor [Setting Purpose] This monitoring function is used to specify one type of device to execute batch monitor. Users with the device write authority can write data in word unit or operate ON/OFF data in bit unit. [Start Procedure] [Monitor screen] (refer to (2)) "Device monitor" (refer to (1)) Device test "Device test" (1) Device monitor [Setting screen] 6 [Setting Item] Item Description CPU name Selects the access target CPU.
-
6 FUNCTIONS MELSEC-Q (a) CPU name 1) Set the access target CPU. 2) Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) 3) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting. (Example) 01: Control CPU 4) By default, the host CPU of the Web server module is set as the access target CPU setting No. 1. (b) Device 1) Specify the device type and actual device number of the device.
-
6 FUNCTIONS MELSEC-Q (2) Device test Executing device test turns the bit device of the programmable controller CPU on/off forcibly or changes the current value of the word device. Only users with the device write authority are allowed to conduct this test. Refer to Section 4.6.5 for the user authority. [Setting screen] (When Data type is 16 bit integer/32 bit integer) (When Data type is Bit) [Setting Item] Item Description CPU name Displays the CPU name on which the device test will be performed.
-
6 FUNCTIONS MELSEC-Q (e) Setting value 1) When setting the data type as a 16 bit integer or 32 bit integer, set a new value in accordance with the DEC/HEX input form. 2) When setting the data type in bit, set ON/OFF. POINT (1) The device test may affect the control of the programmable controller. Ensure safety before execution. (2) A user without the device write authority is not allowed to conduct the device test. When the device test is attempted, the following screen appears.
-
6 FUNCTIONS MELSEC-Q 6.2.2 Tag data monitor [Setting Purpose] This monitoring function is used to monitor the tag data, which have been collected by the Web server module with the tag function, in tag unit. Refer to Section 6.3 for the tag function. By conducting a tag component test, users with the tag component write authority can write tag data in the component unit.
-
6 FUNCTIONS MELSEC-Q (a) Tag name 1) Set the tag data to perform tag data monitor. 2) Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) 3) The Tag name drop-down list displays the setting No. and tag names of the tag setting. (b) Monitor form The monitor form is indicated below. 1) 1) 2) 2) Components set in the tag are displayed. The values stored for the components are displayed.
-
6 FUNCTIONS MELSEC-Q (a) Tag name The tag name to perform the tag component test is displayed. (b) Component name 1) Select the component name set in "Component setting" of the tag setting. (Refer to Section 6.3.3 for "Component setting" of the tag setting.) 2) The Component name drop-down list displays the setting No. and component names of the Component setting. (c) Data type The data type of the selected component is displayed.
-
6 FUNCTIONS MELSEC-Q POINT (1) The tag component test may affect the control of the programmable controller. Ensure safety before execution. (2) A user without the tag component write authority is not allowed to conduct the tag component test. When the tag component test is attempted, the following screen appears. (3) When Device write disable request (YA) has been set to "Disable", the tag component test is not available. When the tag component test is attempted, the following screen appears.
-
6 FUNCTIONS MELSEC-Q 6.2.3 Logging monitor [Setting Purpose] This monitoring function displays the logging data that have been collected by the Web server module with the logging function. Refer to Section 6.4 for the logging function. The display form is selectable from List or Graph. The contents of the logging file located under /ROM/WWW/LOGGING/ or /CF/LOGGING are displayed. [Start Procedure] [Monitor screen] "Logging monitor" (list) "Logging data" (graph) Select "Graph" as Display form.
-
6 FUNCTIONS MELSEC-Q (1) Logging name (a) Set the logging data to perform the logging monitor. (b) Select the tag name set in the logging setting. (Refer to Section 6.4.4 for the logging setting.) (c) The Logging name drop-down list displays the setting No. and tag names of the logging setting. (2) Specified file (a) Set the logging data file to perform the logging monitor. (b) Select the file from the current file and saved files of the logging data specified as the logging name.
-
6 FUNCTIONS MELSEC-Q (5) Graph Logging data are displayed in graph form. (a) (c) (b) (a) (b) Specify the component to be monitored. (Up to four components can be specified.) ( 1) Specify the maximum and minimum values and No. of horizontal grid lines in the graph. ( 1) 1) 2) 3) 4) 5) 1) Specify the maximum value of the graph. (Can be entered as a decimal integer or real number form (decimal/exponential form).) 2) Specify the minimum value of the graph.
-
6 FUNCTIONS MELSEC-Q 6.2.4 Event history monitor [Setting Purpose] This monitoring function displays the history of the events occurred in the Web server module and saved with the event monitor function. Refer to Section 6.5 for the event function. [Start Procedure] [Monitor screen] "Event history monitor" (CPU event) 1) 1) Select "Tag event" as Event type. "Event history monitor (Tag monitor)" 1) Select "Time/Interval event" as Event type.
-
6 FUNCTIONS MELSEC-Q (2) CPU event The CPU event history is monitored. The contents of /ROM/WWW/EVENT/CPUWATCH.CSV are displayed. (a) 6 - 14 (b) (c) (d) (e) (f) (a) Date The date and time when the event occurred/was restored is displayed. (Example) 2002/08/05 08:58:17 (b) Event number 1) The event number of the event occurrence/restoration is displayed. 2) The event number is the No. set in "CPU event setting" of the event setting.
-
6 FUNCTIONS MELSEC-Q (e) Operation status The operation status of the programmable controller CPU in which the event occurred/was restored is displayed. Item Description Normal STOP The programmable controller CPU is stopped with no error. Normal RUN The programmable controller CPU is running with no error. PAUSE The programmable controller CPU is pausing. Warning STOP ( 1) The programmable controller CPU is stopped with a continue error.
-
6 FUNCTIONS MELSEC-Q (b) Event number 1) The event number of the event occurrence/restoration is displayed. 2) The event number is the No. set in "Tag event setting" of the event setting. (c) Status The occurrence/restoration of the event is displayed. (d) Tag name 1) The name of the tag in which the event occurred/was restored is displayed. 2) The setting No. and tag names set in the tag setting are displayed in the tag name column.
-
6 FUNCTIONS MELSEC-Q (4) Time/Interval event The time/interval event history is monitored. The contents of /ROM/WWW/EVENT/TIMWATCH.CSV are displayed. (b) (a) (c) (a) Date The date and time when the event occurred is displayed. (Example) 2002/08/05 08:58:17 (b) Event number 1) The event number of the event occurrence is displayed. 2) The event number is the No. set in "CPU event setting" of the event setting. (c) E-mail sending The e-mail transmission status due to event occurrence is displayed.
-
6 FUNCTIONS MELSEC-Q 6.2.5 PLC diagnostics monitor [Setting Purpose] This monitoring function is used to monitor the operating status/error information of the programmable controller CPU. [Start Procedure] [Monitor screen] "PLC diagnostics monitor" [Setting screen] [Setting Item] Item Description CPU name Selects the access target CPU. Operation status Displays the operation status and switch status of the programmable controller CPU. Error status Displays the current error status.
-
6 FUNCTIONS MELSEC-Q (1) CPU name (a) Set the access target CPU. (b) Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) (c) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting. (Example) 01: Control CPU (d) By default, the host CPU of the Web server module is set as the access target CPU setting No. 1.
-
6 FUNCTIONS MELSEC-Q 6.2.6 Self-diagnostics monitor [Setting Purpose] Self-diagnostics monitor monitors the LED status and error status of the Web server module. [Start Procedure] [Monitor screen] "Self-diagnostics monitor" [Setting Screen] [Setting Item] Item Description LED status Displays the LED status of the Web server module. Error status Displays the latest error code. Clear error status Turns off the ERR. LED and clears the error status. Error history Displays a history of errors.
-
6 FUNCTIONS MELSEC-Q (1) LED status • The LED status (RUN LED, ERR. LED) of the Web server module is displayed. Refer to Section 4.3 (1) for the LED indications. (2) Error status • The status of the current error area (address: 140 to 145) of the buffer memory is displayed. Refer to Section 9.3 for the error code. (3) [Clear error status] button • Turns off the ERR. LED, X10 to X19, and X1C. • Clears the current error area (address: 140 to 145) of the buffer memory.
-
6 FUNCTIONS MELSEC-Q 6.2.7 Precautions for using monitor function This section explains the precautions for using the monitor function. (1) Precautions for displaying the monitor screen 6 - 22 (a) Since the monitor screens use the Java applet, Java VM is required for the Web browser to execute the applet. Refer to Section 3.1 REMARKS (2) and (3) for how to download Java VM. (b) Start of each monitor screen may take a little while.
-
6 FUNCTIONS MELSEC-Q (d) Temporary Internet files settings/delete 1) Select any other than "Never" for "Check for newer versions of stored pages" in temporary Internet files settings of the Web browser. If "Never" is set, the old screen (the one saved in the temporary Internet files) is displayed unchanged when the file is read from the Edit screen, etc. (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.
-
6 FUNCTIONS MELSEC-Q 2) The old screen (the one saved in the temporary Internet files) may be displayed unchanged if the file is read from the User HTML, Edit screen, etc. In that case, delete the temporary Internet files (cache) of the Web browser and read the file again. (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.
-
6 FUNCTIONS MELSEC-Q (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.5 [Tools] [Internet Options] tab R R R Temporary Internet Files Delete Files... screen "Delete Files" When using Java VM of Sun Microsystems Inc. for
-
6 FUNCTIONS MELSEC-Q (e) Security level setting In the security level setting of the Web browser, set the security level of the Internet and Intranet zones to "Default Level". (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.0 [Tools] [Internet Options] tab R R R (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.
-
6 FUNCTIONS MELSEC-Q (f) Detailed setting In the advanced settings of the Web browser, set to "Restore Defaults". ( ) (Example 1) For Microsoft Windows XP Professional operating system with Microsoft Internet Explorer 6.0 [Tools] [Internet Options] tab R R R To use Microsoft VM, clear the "JIT compiler for virtual machine enabled (requires restart)" check box. R (Example 2) For Microsoft Windows 98 operating system with Microsoft Internet Explorer 5.
-
6 FUNCTIONS MELSEC-Q (2) Precautions for executing the device test/tag component test (a) The device test/tag component test may affect the control of the programmable controller CPU. Ensure safety before execution. (Example) When the device test is executed (b) A user without device write/tag component write authority is not allowed to conduct the device test/tag component test. When the device test/tag component test is attempted, the following screen appears.
-
6 FUNCTIONS MELSEC-Q 6.3 Tag Function 6.3.1 Tag function The tag function is designed to store a set device data of individual programmable controller CPUs on the network as a tag, and collect those device data in tag unit. (1) Tag (a) A tag is a data table contains a set of data (components) required to access the device data of the programmable controller CPUs on the network. (b) For component, set the communication path, data type, device, etc.
-
6 FUNCTIONS MELSEC-Q (2) Tag setting (a) Set a tag in the tag setting of the Administrative menu. (Refer to Section 6.3.3) (b) Up to 64 tags can be registered. (c) Up to 64 components can be registered for each tag. (d) Set the communication path to access the programmable controller CPU in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) When setting the component, specify the communication path (CPU name) set in the access target CPU setting.
-
6 FUNCTIONS MELSEC-Q 6.3.3 Tag setting [Setting Purpose] 1) In the tag setting, set a tag. On the Edit screen (Tag setting), set the tag name, tag collecting interval, etc. 2) In the component setting, set components for each tag. On the Edit screen (Component setting), set the access target CPU, data type, device, etc.
-
6 FUNCTIONS MELSEC-Q (2) Edit screen (Tag setting) Set the tag name, tag collecting interval (Sampling), etc. [Setting screen] [Setting Item] Item Description Tag name Sets the tag name. (within 16 characters) Sampling Sets the collecting interval of the tag data. Data write Sets whether data can be written to the tag or not. Save Saves the setting.
-
6 FUNCTIONS MELSEC-Q 4) Update before logging. • When this setting is valid, tag collection is executed before logging, regardless of the settings of the above 1) to 3). • Set this item when it is desired to execute tag collection in synchronization with logging. 1 Regardless of this setting, tag collection is performed when the dedicated instruction TAG is executed.
-
6 FUNCTIONS MELSEC-Q (3) Component setting Set components for each tag. Up to 64 components can be registered for each tag. Component setting is registered in order of serial numbers starting from the setting No. 1. Component registration is not valid with any omitted setting. [Setting screen] [Setting Item] Item Tag name Description Displays the setting No. and name of the tag being edited. Item Selects the component No. that will be edited or deleted. Component name Displays the component name.
-
6 FUNCTIONS MELSEC-Q POINT (1) Before making component setting, it is required to make tag setting on the "Edit screen (Tag setting)". (2) If any component has a wrong device number in the component setting, the other component that has a device of the same access target CPU will also result in an error. Reexamine the device numbers set in the component setting.
-
6 FUNCTIONS 6 - 36 MELSEC-Q (a) Component name (within 16 characters) 1) Set the component name. 2) Refer to Appendix 4 (5) for the characters applicable to the component name. (b) CPU name 1) Set the access target CPU. 2) Selects the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) 3) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting.
-
6 FUNCTIONS MELSEC-Q (e) Display form 1) Set the display form of the real number. Decimal/Exponential 2) Set the number of decimal places. (0 to 6) 3) Enabled when the data type is either of the following. • Real number type • Single word/Double word (After operation, a numeric value below decimal point may be produced.) (f) Operator Set a mathematical operation to be performed for the collected data, or no mathematical operation to be performed.
-
6 FUNCTIONS MELSEC-Q 6.4 Logging Function 6.4.1 Logging function The logging function stores tag data as a CSV format logging file into standard ROM or CompactFlash card in time series at the user-specified execution timing (by setting timing, start/stop condition). Tag data will be logged. (1) Logging file can be monitored/downloaded The logging file can be monitored on the logging monitor screen.
-
6 FUNCTIONS MELSEC-Q (2) Logging data before and after event occurrence can be stored By setting the occurrence of an event as the start/stop condition of logging, logging data before and after event occurrence can be stored. This enables only necessary data to be stored without the logging data before and after event occurrence being buried in the file. Web server module Event occurrence After event occurrence, logging stops in specified time.
-
6 FUNCTIONS MELSEC-Q 6.4.2 Logging file This section explains logging files. (1) Where logging files are saved (a) Logging files are stored into standard ROM or CompactFlash card. (b) When a logging file is created, the directory of the file name set at "File name" in the logging setting is created under the following directory, and the logging file is stored there.
-
6 FUNCTIONS MELSEC-Q (c) Processing performed when file becomes full 1) Creating new file and saving current file When the currently logging file becomes full, a new file is created. The file that has become full is renamed and saved. (Creation of saved file) 2) Saved files names Saved files names are consecutively numbered with 8 digits (hexadecimal). By setting the "Saved files names" in the logging setting, the name, date and time can be added to the saved file name.
-
6 FUNCTIONS MELSEC-Q (4) File format The file format of a logging file is shown below. Component name 1 , Component name 2 , Component name 3 , Component name 4 , Component name 5 [CR+LF] 2002/07/01 09:00:00 , 1 , 100 , 123 , 2.123 , 1280 [CR+LF] 2002/07/01 09:05:00 , 2 , 97 , 125 , 2.544 , 1280 [CR+LF] 2002/07/01 09:10:00 , 3 , 101 , 125 , 2.343 , 2300 [CR+LF] 2002/07/01 09:15:00 , 4 , 100 , 123 , 2.
-
6 FUNCTIONS MELSEC-Q 6.4.3 Setting procedure for logging function The setting procedure for use of the logging function is indicated below. Start Create a network environment for Web server module to access the Web server module from a personal computer. Refer to Section 4. 6. Make access target CPU setting on the Access target CPU setting. Refer to Section 4. 6. 7. Set a tag on the Tag setting. Refer to Section 6. 3. 3. Make logging setting on the Logging setting. Refer to Section 6. 4. 4.
-
6 FUNCTIONS MELSEC-Q 6.4.4 Logging setting [Setting Purpose] Make the setting for logging tag data. [Start Procedure] [Administrative menu] No. and click on Edit "Logging setting" (refer to (1)) "Edit screen" (refer to (2)) Select logging setting (1) Logging setting Make logging setting. Up to 64 logging settings can be performed. [Setting screen] [Setting Item] Item Description Item Selects the logging No. to be edited or deleted. Tag name Displays the logged tag name.
-
6 FUNCTIONS MELSEC-Q (2) Edit screen Set the tag to be logged, execution timing, file capacity, etc. [Setting screen] [Setting Item] Item Logging setting Schedule setting Saved file setting Description Sets the tag to be logged, logging file name, and the location where the logging file will be saved. Sets the execution timing and conditions for start/stop. Sets the file capacity, number of saved files, and operation performed when the number of saved files exceeds the set value.
-
6 FUNCTIONS MELSEC-Q (a) Tag name 1) Set the tag name to be logged. 2) Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) 3) When using the logging function, it is required to set the tag in advance. 4) The tag whose data are collected at high speed can be selected in only one logging setting. (Multiple setting not allowed) For the tag whose data are collected at high speed, its displayed tag name is followed by "( )".
-
6 FUNCTIONS MELSEC-Q POINT (1) Depending on the setting of the tag sampling interval and logging timing, the data accumulated for up to the time length of the tag sampling interval are logged. (Example) When the tag sampling interval is 10 seconds and the logging interval is 1 second, the tag data of up to 10 seconds earlier is logged. (2) By selecting "Sampling: Update before logging." in the tag setting, tag data can be collected in synchronization with the logging timing.
-
6 FUNCTIONS MELSEC-Q 4) Start at the specified time. Logging is started at the specified time. Hour: 0 to 23, "Per" Minute: 0 to 59, "Per" (Per minute can be specified only when Per hour is specified) Second: 0 to 59 1 Regardless of this setting, logging is performed when the dedicated instruction LOG is executed. (f) Condition for Stop As the condition for stopping logging, select any of the following. 1) Do not stop. • Logging is not stopped. • Select this item for continuous logging.
-
6 FUNCTIONS MELSEC-Q (g) File capacity As the file capacity, select any of the following.
-
6 FUNCTIONS MELSEC-Q 2) 3) (l) Checked • When the file is saved, it is attached to e-mail and sent. • Refer to Section 6.6.5 for the e-mail transmission by the logging function. E-mail addresses 1 to 3 Select the e-mail addresses set in the "E-mail address (TO:) setting" of the E-mail setting. (Refer to Section 6.6.3 for the E-mail setting.) File transfer: Transfer a saved file to the following FTP server. Set whether the saved file will be transferred to the FTP server or not.
-
6 FUNCTIONS MELSEC-Q REMARKS (1) When the file storage has been set to the standard ROM When the logging file storage has been set to the standard ROM in the logging setting, pay attention to the setting of the free space of the user area in the standard ROM or the number of write times to standard ROM. ( 1) ( 2) 1 For the free space of the user area, it is required to consider the capacity of the logging file, user HTML file and user data file.
-
6 FUNCTIONS MELSEC-Q 6.5 Event Monitor Function 6.5.1 Event monitor function The event monitor function monitors the programmable controller CPU status (CPU monitor), tag data (tag monitor) and time (time/interval monitor), and stores the historical data of occurred events into CSV files. The stored files can be displayed in a Web browser or downloaded by FTP operation. Also, e-mail can be sent as required when an event occurs. 2) According to event setting, Web server module performs monitoring.
-
6 FUNCTIONS MELSEC-Q (1) Event history file The following conditions can be set as event history conditions, and an event history file is created for each event history condition. (a) CPU event 1) The programmable controller CPU status (system error, RUN, STOP, PAUSE, etc.) set in "CPU event setting" of the event setting is monitored. 2) Storage • File name : "CPUWATCH.CSV" • Storage location (Standard ROM) : /ROM/WWW/EVENT/ 3) File format Refer to Section 6.2.4 (2) for details of each item.
-
6 FUNCTIONS MELSEC-Q (2) When the number of event historical data exceeds the limit In each event history file, the following operation is performed when the number of event historical data set in "Common setting" of the event setting exceeds the limit. (a) Half of the event historical data are deleted, starting from the oldest data. (b) The latest data are saved into the line after the remaining data.
-
6 FUNCTIONS MELSEC-Q 6.5.3 Event setting [Setting Purpose] 1) In the common setting, set each number of event historical data. 2) In the CPU event setting, make setting to monitor the operation status of the programmable controller CPU. 3) In the tag event setting, make setting to compare the tag data and condition value. 4) In the time/interval event setting, make setting to monitor the time/interval.
-
6 FUNCTIONS MELSEC-Q (1) Common setting Make common setting. [Setting Screen] [Setting Item] Item Description No. of CPU event historical Sets the number of CPU event historical data. data No. of tag event historical data Sets the number of tag event historical data. No. of time/interval event historical data Sets the number of time/interval event historical data. Clear history Save Back / Cancel 6 - 56 Clears all historical data of each file. Saves the setting.
-
6 FUNCTIONS MELSEC-Q (2) CPU event setting Make setting to monitor the operation status of the programmable controller CPU. Up to 64 CPU event settings are available. [CPU event setting screen] [Setting Item] Item Description Item Selects the CPU event setting No. to be edited or deleted. CPU name Displays the CPU name. Interval Displays the CPU event interval. Condition Displays the CPU event conditions. E-mail sending Displays Whether e-mail will be sent or not upon event occurrence.
-
6 FUNCTIONS MELSEC-Q [Edit screen] [Setting Item] Item Description CPU name Sets the CPU name. Interval Sets the CPU event interval. Condition Sets the CPU event conditions. Mail setting for event occurrence Save Makes setting when sending e-mail at event occurrence. Saves the setting. The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset.
-
6 FUNCTIONS MELSEC-Q (a) CPU name 1) Set the CPU name to be monitored. 2) Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) 3) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting. (Example) 01: Control CPU 4) By default, the host CPU of the Web server module is set as the access target CPU setting No. 1. (b) Interval 1) Set the CPU event monitor interval.
-
6 FUNCTIONS MELSEC-Q (e) Disconnect from the network after sending mail. Disable this setting when it is not desired to disconnect the network after sending e-mail at event occurrence. This setting is available when the Web server module is not continuously connected to the network. Refer to Section 5.4 for the procedures for connecting to and disconnecting from the network for non-continuous connection. (f) E-mail main text 1) Enter the main text of e-mail.
-
6 FUNCTIONS MELSEC-Q (3) Tag event setting Make setting to monitor the tag data compared with the trigger value. Up to 256 tag event settings are available. Tag event monitoring is executed every time the target tag is collected by the Web server module. [Tag event setting screen] [Setting Item] Item Description Item Selects the tag event setting No. to be edited or deleted. Tag name Displays the tag name. Component name Displays the component name. Condition Displays the tag event condition.
-
6 FUNCTIONS MELSEC-Q [Edit screen] [Setting Item] Item Description Tag name Sets the tag name. Component name Sets the component name. Condition Sets the tag event condition. Trigger value Sets the trigger value. Restoration value Sets the restoration value. Mail setting for event occurrence Makes setting when sending e-mail at event occurrence. Saves the setting.
-
6 FUNCTIONS MELSEC-Q (a) Tag name 1) Set the tag name to be monitored. 2) Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) 3) The Tag name drop-down list displays the setting No. and tag names of the tag setting. (b) Component name 1) Set the component name to be monitored. (Except the component of which data type is String) ( ) 2) Select the component name set in "Component setting" of the tag setting. (Refer to Section 6.3.3 for the tag setting.
-
6 FUNCTIONS MELSEC-Q (e) Restoration value 1) Set the restoration value to make the event disappear. 2) The restoration value can be set when the condition is >=, >, < or <=. 3) In the following case, the event is restored.
-
6 FUNCTIONS MELSEC-Q (4) Time/Interval event setting Make setting to monitor the time/interval. Up to 16 time/interval event settings are available. [Time/Interval event setting screen] [Setting Item] Item Item Description Selects the time/interval event setting No. to be edited or deleted. Time/Interval Displays the monitoring time/interval. E-mail sending Displays whether e-mail will be sent or not upon event occurrence. Attached file Displays the details of the file attached to e-mail.
-
6 FUNCTIONS MELSEC-Q [Setting Item] Item Time/Interval Mail setting for event occurrence Description Sets the monitoring time/interval. Makes setting when sending e-mail at event occurrence. Saves the setting. Save The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. Back / Cancel Select time/interval event setting No.
-
6 FUNCTIONS MELSEC-Q (e) Attached file 1) Select the file attached to e-mail. (None, Tag data, Logging Data) 2) When attaching tag data, select the tag data set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) 3) When attaching logging data, select the logging data set in the logging setting. (Refer to Section 6.4.4 for the logging setting.) (f) Send to 1 to 16 1) Select the destination of e-mail.
-
6 FUNCTIONS MELSEC-Q 6.6 E-mail Function This section explains the e-mail function. 6.6.1 E-mail function The e-mail function sends the data (tag data, logging data, user data file), which were collected by the Web server module from the programmable controller CPUs, to a remote external device by e-mail. There are the following four methods for sending e-mail with this function.
-
6 FUNCTIONS MELSEC-Q (3) E-mail transmission by logging function E-mails are sent by the Web server module according to the logging setting of the Web browser. An e-mail is sent when a file is saved. A fixed subject, fixed main text and a CSV-format attached file of logging data can be sent. 1) According to logging event setting, Web server module converts tag data into logging data.
-
6 FUNCTIONS MELSEC-Q 6.6.2 Setting procedure for e-mail function The following is the setting procedure for use of the e-mail function. (1) Common procedure The common procedure for this function is shown below. Start Create a network environment for Web server module to access the Web server module from a personal computer. Refer to Section 4. 6. For use of DNS server, make the DNS setting on the System setting. Refer to Section 4. 6. 3.
-
6 FUNCTIONS MELSEC-Q (4) Procedure for sending e-mail by logging function 1) Make the setting on the Logging setting so that an e-mail will be sent when a file is saved. For logging function, refer to Section 6. 4. Completed (5) Procedure for sending e-mail by diagnostics function 1) Execute e-mail sending test on the System setting. For details of e-mail sending test, refer to Section 6. 11. 2.
-
6 FUNCTIONS MELSEC-Q 6.6.3 E-mail setting [Setting Purpose] In the e-mail setting, setting required for e-mail transmission is set. [Start Procedure] [Administrative menu] "E-mail setting" [Setting Screen] [Setting Item] Item Send e-mail account setting Option setting E-mail address (TO:) setting Save Description Sets the account of the Web server module required to send e-mail. Sets the option related to e-mail. Sets the destination e-mail address. Saves the setting.
-
6 FUNCTIONS MELSEC-Q (1) Send e-mail account setting The account of the Web server module required to send e-mail is set. Set the account specified by the Internet service provider and system administrator. Refer to Appendix 4 (2) for the characters applicable to the send e-mail account setting. Item Description Set the SMTP server name using the IP address or domain name.
-
6 FUNCTIONS MELSEC-Q (2) Option setting How to authenticate a user when sending e-mail is set. Item Description This server has authentication requirements which have Check the checkbox to execute authentication when sending e-mail. to be met Method of authentication POP sever name POP port number 6 - 74 Select "SMTP-Auth" or "POP before SMTP" as the method of authentication. When "POP before SMTP" is selected, set "POP sever name" and "POP port number" as well.
-
6 FUNCTIONS MELSEC-Q (3) E-mail address (To:) setting Set the e-mail address of the transmission destination. Up to 16 destination e-mail addresses can be registered. Refer to Appendix 4 (2) for the characters applicable to the destination e-mail address. POINT After changing the settings, make sure to click on the "Save" button. The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset.
-
6 FUNCTIONS MELSEC-Q 6.6.4 E-mail transmission by programmable controller CPU This section explains the WMSEND instruction used to send e-mail with a sequence program. ZP.WMSEND 1) 2) 3) 4) "Un" (S1) (S2) (D) Subject + Main text Mail server I/O No. Destination No. Tag/Logging No File name. 5) Main text Tag/logging data, user data file 6) Attached file (.BIN/.CSV) Web server module 1) Head I/O number of Web server module 2) Control data (Transmission destination No.
-
6 FUNCTIONS MELSEC-Q (1) E-mail transmission by sequence program The following explains the method for sending e-mail by a sequence program. Refer to Section 8.2 for details of the WMSEND instruction. Instruction Create control data in D0 and later. Create sending data in D100 and later. An e-mail will be sent. ZP.
-
6 FUNCTIONS MELSEC-Q (3) Sample program The following is a program in which the Web server module mounted in the position of I/O number X/Y00 to X/Y1F sends e-mail when M20 is turned ON. Main text included, logging data attached, clock data setting required Destination No. 1 Logging No. 5 Logging history No.
-
6 FUNCTIONS MELSEC-Q (4) Receiving e-mail by personal computer (a) The e-mail sent by the Web server module is received by the personal computer. (b) The e-mail format used by the Web server module is as follows.
-
6 FUNCTIONS MELSEC-Q 6.6.5 E-mail transmission by logging function When a file is saved, the Web server module sends an e-mail to the destination e-mail address. Refer to Section 6.4 for details of the logging function. (1) Logging setting (Refer to Section 6.4.4) (a) In the Logging setting, set "E-mail delivery: Send a saved file to the following e-mail address." and select a destination e-mail address. (b) When a file is saved, an e-mail is sent to the destination e-mail address.
-
6 FUNCTIONS MELSEC-Q (c) The e-mail is received by the personal computer. (Example) In the case of Microsoft Corporation's Outlook R R Express 5.5 (3) Precautions for sending e-mail by logging function E-mail transmission requires several to several tens of seconds depending on the network line and data size.
-
6 FUNCTIONS MELSEC-Q 6.6.6 E-mail transmission by event monitor function Performing CPU monitor, tag monitor and time/interval monitor, the Web server module sends an e-mail to the destination e-mail address when an event occurs. Refer to Section 6.5 for details of the event monitor function. (1) E-mail transmission by CPU event (a) CPU event setting (Refer to Section 6.5.3) 1) In the CPU event setting, set "Send an e-mail when an event occurs." and set the E-mail main text, Attached file and Send to.
-
6 FUNCTIONS MELSEC-Q 1 Subject is as follows. (Example) Control CPU Status STOP 2002/07/24 16:46:23 Status CPU name Date • CPU name The CPU name preset in the Access target CPU setting is displayed. • Status The following table shows the send messages corresponding to the CPU module status.
-
6 FUNCTIONS MELSEC-Q (2) E-mail transmission by tag event (a) Tag event setting (Refer to Section 6.5.3) 1) In the Tag event setting, set "Send an e-mail when an event occurs." and set the E-mail main text, Attached file and Send to. 2) (b) When a tag event occurs, an e-mail is sent to the destination e-mail address. Receiving e-mail by personal computer 1) The e-mail sent by the Web server module is received by the personal computer. 2) The e-mail format used by the Web server module is as follows.
-
6 FUNCTIONS MELSEC-Q 1 Subject is as follows. (Example) Production mngmt : Product A = 100 2002/07/25 09:37:12 Date Trigger value Condition Component name Tag name • Tag name The tag name set in the Tag setting is displayed. • Component name The component name set in "Component setting" of the Tag setting is displayed. • Condition/Trigger value The condition and trigger value of the tag event are displayed. • Date The date of the event occurrence is displayed.
-
6 FUNCTIONS MELSEC-Q (3) E-mail transmission by time/interval event (a) Time/Interval event setting (Refer to Section 6.5.3) 1) In the Time/interval event setting, set "Send an e-mail when an event occurs." and set the E-mail main text, Attached file and Send to. 2) 6 - 86 When a time/interval event occurs, an e-mail is sent to the destination e-mail address.
-
6 FUNCTIONS MELSEC-Q (b) Receiving e-mail by personal computer 1) The e-mail sent by the Web server module is received by the personal computer. 2) The e-mail format used by the Web server module is as follows. Item Description E-mail address (From: ) E-mail address of the Web server module Subject ( 1) Time Event "Date" Main text set in "E-mail main text" of the Time/Interval event Main text setting (0 to 128 words) Attached file name : TAG .CSV ( Tag data indicates the tag setting No.
-
6 FUNCTIONS MELSEC-Q 6.7 FTP Function The FTP function is designed to transfer a file between the Web server module and external device. The FTP function has the FTP server function and FTP client function. 6.7.1 FTP server function (1) About FTP server function From the external device (FTP client), the file stored in the Web server module can be read and written.
-
6 FUNCTIONS MELSEC-Q (3) Setting procedure for FTP function Start Make access target CPU setting on the Access target CPU setting. Refer to Section 4. 6. FTP function is available with the setting in Section 4. 6. Login to the Web server module to operate files. Refer to Section (4). Completed (4) Example of access to FTP server The following provides an example that a user HTML file is written from Microsoft Corporation's Internet Explorer 5.
-
6 FUNCTIONS MELSEC-Q (b) After login to the Web server module, write the user HTML file on the personal computer to the USER directory of the Web server module so that normal file operation using Explorer is available. File can be transferred by drag and drop.
-
6 FUNCTIONS MELSEC-Q 6.7.2 FTP client function (1) About FTP client function From the Web server module, the file stored in the external device (FTP server) can be read and written. The following three methods are available for transferring a file by this function. (a) File transfer by programmable controller CPU 1) FTPPUT instruction The tag data/logging data/user data file stored in the Web server module can be written to an external device (FTP server).
-
6 FUNCTIONS MELSEC-Q (b) File transfer by logging function A file is transferred by the Web server module according to the logging setting of the Web browser. When a file with full data is saved, the logging file is transferred to the FTP server. Programmable controller CPU 1) According to the logging event setting, Web server module logs tag data. Web server module Tag data [When file with full data is saved] Logging data 3) File is transferred when it is saved.
-
6 FUNCTIONS MELSEC-Q (2) Setting procedure for FTP client function (a) Common procedure The common procedure required to use the FTP client function is indicated below. Start Make access target CPU setting on the Access target CPU setting. Refer to Section 4. 6. For use of DNS server, make the DNS setting on the System setting. Refer to Section 4. 6. 3. Make the required setting for file transfer to FTP sever on the FTP setting. Refer to Section 6. 7. 3.
-
6 FUNCTIONS MELSEC-Q 6.7.3 FTP setting [Setting Purpose] In the FTP setting, make setting to use the FTP client function. When the FTP server function is used, this setting is not required. [Start Procedure] [Administrative menu] "FTP setting" (refer to (1)) click on Edit (refer to (2)) Select FTP setting No. and (1) FTP setting Make FTP setting. [Setting Screen] [Setting Item] Item Description Item Selects the FTP setting No. to be edited or deleted.
-
6 FUNCTIONS MELSEC-Q [Setting item] Item Description FTP server name Sets the FTP server name of the file transfer destination using the IP address or domain name. Login user name Sets the login user name for the FTP server. Login password Sets the login password for the FTP server. Confirm login password Sets the login password again to confirm the login password. Directory path Sets the directory path of the FTP server. Saves the setting.
-
6 FUNCTIONS MELSEC-Q 6.7.4 File transfer by programmable controller CPU (PUT) This section explains the FTPPUT instruction used to transfer a file with a sequence program. ZP.FTPPUT 1) 2) 3) "Un" (S) (D) FTP server I/O No. Transfer destination No. Tag/Logging No. File name Tag/Logging data, user data file (4) File (.BIN/.CSV) Web server module 1) 2) 3) 4) Head I/O number of Web server module Control data (transfer destination No., tag/logging No., etc.
-
6 FUNCTIONS MELSEC-Q (2) Instruction execution timing Network connection processing Network connection status (X4) File transfer (a) (b) FTPPUT FTPPUT instruction (c) FTPPUT instruction Completion Device 1 scan When abnormally completed FTPPUT instruction Completion Device + 1 (Completion/Failure) (a) The Web server module is connected to the network.
-
6 FUNCTIONS MELSEC-Q (4) Format of transferred file The following table shows the form of the file transferred by the Web server module to the FTP server. Item File name Description Tag data: TAG . CSV ( indicates the tag setting No.) Logging Data: File name set in the logging setting (.CSV) File data ( 1) Tag data/logging data/user data file File capacity Maximum 512k bytes 1 The CSV format file of the tag data is as follows.
-
6 FUNCTIONS MELSEC-Q 6.7.5 File transfer by programmable controller CPU (GET) This section explains the FTPGET instruction used to transfer a file with a sequence program. ZP.FTPGET User data file FTP server Read 1) 2) 3) "Un" (S) (D) I/O No. Web server module 1) Head I/O number of Web server module 2) Control data (transfer source No., file name, etc.) Set the transfer source FTP server preset in the FTP setting, the file name to be transferred, etc.
-
6 FUNCTIONS MELSEC-Q (2) Instruction execution timing Network connection processing Network connection status (X4) File transfer a) b) FTPGET FTPGET instruction c) 1 scan FTPGET instruction completion device When abnormally completed FTPGET instruction completion device + 1 (Completion/Failure) (a) The Web server module is connected to the network.
-
6 FUNCTIONS MELSEC-Q 6.7.6 File transfer by logging function When a file is saved, the Web server module transfers a logging file to the destination FTP server. Refer to Section 6.4 for details of the logging function. (1) Logging setting (Refer to Section 6.4.4) (a) In the Logging setting, set "File transfer: Send a saved file to the following FTP server." and select the transfer destination FTP server name. (b) When a file is saved, a logging file is transferred to the destination FTP server.
-
6 FUNCTIONS MELSEC-Q 6.8 Access Log Function [Setting Purpose] Access log is a function to record access from the external device to the Web server module. It allows users to check the access frequency from the external device and check for the illegal access. [Start Procedure] [Administrative menu] "Access log" [Setting Screen] [Setting Item] Item Description Time Displays the time when access was made. User name Displays the user name who made access.
-
6 FUNCTIONS MELSEC-Q (2) User name (a) The user name who made access is displayed. (b) Set the user name in the account setting. (Refer to Section 4.6.5 for the account setting.) (3) Operation The following table explains the operations performed for access. Item Description HTTP login Login to the Web server was executed. HTTP login failure Login to the Web server failed. Data write Write to device data or write to tag data was performed. System setting System setting was made.
-
6 FUNCTIONS MELSEC-Q 6.9 Address Notification Function 6.9.1 Address notification function The address notification function notifies the external device of the URL of the Web server module by E-mail or FTP. When network connection is made, the global IP address is assigned from the Internet service provider to the Web server module. When the external device is notified of the IP address that the Web server module has obtained through address notification, access to the Web server module is enabled.
-
6 FUNCTIONS MELSEC-Q 6.9.2 Address notification setting [Setting Purpose] 1) In the IP address setting, set the IP address and HTTP port number of which the external device will be notified by E-mail or FTP. 2) In the e-mail notification setting, set the destination e-mail address and address notification timing when IP address notification is made by e-mail. 3) In the FTP notification setting, set the transfer destination FTP server when IP address notification is made by file transfer.
-
6 FUNCTIONS MELSEC-Q (a) Set the notification IP address. 1) Select the IP address of which the external device will be notified. Item Description Notify the IP address set in the "System setting" screen. Notify the global IP Select this item when notifying the external device of the IP address set in the system setting. (Refer to Section 4.6.3) Select this item when connecting through a router. address obtained from the The WAN side (Internet side) IP address is obtained from the router router.
-
6 FUNCTIONS MELSEC-Q (2) E-mail notification setting Make e-mail notification setting. [Setting Screen] [Setting Item] Item IP address notification Description Sets the destination e-mail address and address notification timing. Save Saves the setting. The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. Cancel Discards the changed setting and returns to the previous setting.
-
6 FUNCTIONS MELSEC-Q [Execution of address notification] (a) When the external device is notified of the IP address when network connection is made 1) Address notification e-mail is sent to the selected destination e-mail address when network connection is made. 2) The send e-mail form is as indicated below.
-
6 FUNCTIONS MELSEC-Q (c) When the IP address is attached to the e-mail of the event monitor function 1) When e-mail is sent at event occurrence, it is sent with URL data attached at the end of the main text. 2) E-mail is received by the personal computer. The following provides an example when a time/interval event. (Example) In the case of Microsoft Corporation's Outlook Express 5.
-
6 FUNCTIONS MELSEC-Q (3) FTP notification setting Make FTP notification setting. [Setting Screen] [Setting Item] Item Description IP address notification Sets the target FTP server. Option setting Sets the option related to FTP notification. Saves the setting. Save The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset.
-
6 FUNCTIONS MELSEC-Q POINT After changing the settings, make sure to click on the "Save" button. The settings are updated when the "Update" button on the Setting update screen is clicked, the programmable controller is powered off and then on, or the CPU module is reset. [Execution of address notification] 1) 2) Address notification is made to the selected transfer destination FTP server when connecting to network. The file data transferred to the FTP server is as indicated below. File name : QJ71WS96.
-
6 FUNCTIONS MELSEC-Q 6.10 Data Management Function This section explains the data management function designed to operate the CompactFlash card set in the CompactFlash card slot of the Web server module. 6.10.1 Backup/Restore function (1) About backup/restore function Using the CompactFlash card, the setting information, logging data, user HTML and event history stored in the standard ROM can be backed up/restored.
-
6 FUNCTIONS MELSEC-Q (3) Directory structure on personal computer The following shows the directory structure when the CompactFlash card storing the backup data is confirmed on the personal computer. LOGGING USER CSV BACKUP Important Do not change the backup data (files under \BACKUP\). Using the changed backup data can cause the module to fail or malfunction. (4) Setting of CompactFlash card Refer to Section 4.9 for the setting method of the CompactFlash card.
-
6 FUNCTIONS MELSEC-Q 6.10.2 Format function (1) About format function The directory required for use in the Web server module can be created by formatting the CompactFlash card. (a) Formatting of CompactFlash card On the data management screen, format the CompactFlash card in the MS-DOS media compatible file system form (FAT form) to create the directory required for use in the Web server module. POINT When the CompactFlash card is formatted, the data stored in the CompactFlash card are all deleted.
-
6 FUNCTIONS MELSEC-Q 6.10.3 CSV export/import function The setting data (various settings of the administrative menu) of the Web server module can be stored into a CSV file and edited using spreadsheet software, etc. on the personal computer. The edited CSV file can be read to the Web server module to change the setting data. This function is convenient for editing a screen with many settings, e.g. the component setting. POINT The setting data of the Web server module can be set in the Web browser.
-
6 FUNCTIONS MELSEC-Q (3) Operation procedure for CSV export/import function Refer to the setting example in (4) for an entire sequence. Start On Data management, export the setting data to the CSV file (setting data file). [CSV export] Transfer the setting data file to be edited to the personal computer via FTP. Open the setting data file on spreadsheet software, etc., and edit it according to the corresponding setting data file format. Refer to Appendix 6 for the setting data file format.
-
6 FUNCTIONS MELSEC-Q (b) Operation procedure (Start) 1) On Data management, export the setting data file to the standard ROM. (Refer to Section 6.10.4 (4) for execution of CSV export.) [Web server module side] 2) Transfer TAG.CSV and COMPONENT.CSV on /ROM/WWW/USER/CSV to the personal computer via FTP. (Refer to Section 6.7.1 for FTP.) Drag & drop [Personal computer side] 3) Open TAG.CSV on the spreadsheet software.
-
6 FUNCTIONS MELSEC-Q (From previous page) 6) Open COMPONENT.CSV on the spreadsheet software. (Display example of Microsoft R EXCEL 2000 is shown on the left) 7) Copy the row of COMPONENT1-1 to create COMPONENT1-2 to COMPONENT1-50. Change COMPNAME and DEVICE on each row. 8) Save new COMPONENT.CSV over old COMPONENT.CSV in CSV format. (Display example of Microsoft R EXCEL 2000 is shown on the left) [Personal computer side] 9) Transfer TAG.CSV and COMPONENT.
-
6 FUNCTIONS MELSEC-Q (From previous page) 10) On Data management, import the setting data file from the standard ROM. (Refer to Section 6.10.4 (5) for execution of CSV import.) 11) On Tag setting, confirm that the edited portions have been changed correctly. 12) Delete the setting data file from the standard ROM.
-
6 FUNCTIONS MELSEC-Q 6.10.4 Data management [Setting Purpose] In data management, the backup/restore/format operation using the CompactFlash card and the export/import operation of the setting data file can be performed. [Start Procedure] [Administrative menu] "Data management" [Setting Screen] [Setting Item] Item Backup Restore Format CSV export CSV import Status 6 - 120 Description Backing up the standard ROM data to the CompactFlash card.
-
6 FUNCTIONS MELSEC-Q (1) Execution of backup Back up the standard ROM data to the CompactFlash card. (a) Select the standard ROM data to be backed up. (b) Click on the "Execute" button to execute backup. (c) On the Status section, confirm the backup execution status. Click on the "Update" button to confirm the current status. When "Backing up..." appears, click on the "Update" button again to confirm that the executed operation has been completed. Backup completed : Backup is completed.
-
6 FUNCTIONS MELSEC-Q (3) Execution of format Format the CompactFlash card. (a) Select "Formatting a CompactFlash card." (b) Click on the "Execute" button to execute format. (c) On the Status section, confirm the format execution status. Click on the "Update" button to confirm the current status. When "Formatting ..." appears, click on the "Update" button again to confirm that the executed operation has been completed. Format completed : Format is completed. Perform the next processing.
-
6 FUNCTIONS MELSEC-Q (4) Execution of CSV export Export the setting data to the CSV file. (a) Select the standard ROM or CompactFlash card, as a location from which the setting data file will be exported. (b) Click the [Execute] button to execute CSV export. (c) On Status, confirm the CSV export execution status. As the drive name, the destination drive name (standard ROM or CompactFlash card) is displayed. Click the [Update] button to confirm the current status.
-
6 FUNCTIONS MELSEC-Q (5) Execution of CSV import Import the setting data from the CSV file. (a) Select the standard ROM or CompactFlash card, as a location to which the setting data file is imported. (b) Click the [Execute] button to execute CSV import. (c) On Status, confirm the CSV import execution status. As the drive name, the source drive name (standard ROM or CompactFlash card) is displayed. Click the [Update] button to confirm the current status.
-
6 FUNCTIONS MELSEC-Q 6.11 Diagnostics Function This section explains the function to diagnose the hardware fault and setting of the Web server module. 6.11.1 Diagnostics function The following explains the method to diagnose the hardware fault and setting of the Web server module. (1) Self-diagnostics test by switch setting of GX Developer (refer to Section 4.8) A self-diagnostics test can be conducted by switch setting of GX Developer. (a) CH1 self-loopback test (refer to Section 4.8.
-
6 FUNCTIONS MELSEC-Q 6.11.2 Setting test [Setting Purpose] 1) An access target CPU test confirms whether normal access can be made to the access target programmable controller CPU set in the access target CPU setting. 2) An e-mail sending test sends e-mail to the destination e-mail address set in the e-mail setting to confirm the e-mail transmission status. 3) A file transfer test transfers a test file to the FTP server set in the FTP setting to confirm the file transfer status.
-
6 FUNCTIONS MELSEC-Q (1) Access target CPU test Conduct an access target CPU test. [Setting Screen] [Setting Item] Item Access target CPU Test Description Sets the access target CPU. Conducts an access target CPU test. [Test execution] Conduct an access target CPU test. 1) Select the access target CPU set in the access target CPU setting. 2) 3) Click on the "Test" button to execute the access target CPU test. The access target CPU test result is displayed.
-
6 FUNCTIONS MELSEC-Q (2) E-mail sending test Conduct an e-mail sending test. [Setting Screen] [Setting Item] Item E-mail address (TO:) Send Description Sets the destination e-mail address. Conducts an e-mail sending test. [Test execution] Conduct an e-mail sending test. 1) Select the destination e-mail address set in the e-mail setting. 2) 3) Click on the "Send" button to execute the e-mail sending test. The e-mail sending test result is displayed.
-
6 FUNCTIONS MELSEC-Q 4) E-mail is received by the personal computer. The e-mail form sent by the Web server module is as indicated below. Item Description Subject Test "Date" (Example) Test 2002/07/22 10:09:15 Main text Same as in Subject Attached file None (Example) In the case of Microsoft 5.
-
6 FUNCTIONS MELSEC-Q (3) File transfer test Conduct a file transfer test. [Setting Screen] [Setting Item] Item FTP server name Transfer Description Sets the FTP server name. Conducts a file transfer test. [Test execution] Conduct a file transfer test. 1) Select the FTP server name set in the FTP setting. 2) 3) Click on the "Transfer" button to execute the file transfer test. The file transfer test result is displayed.
-
6 FUNCTIONS MELSEC-Q (4) PING test Conduct a PING test. [Setting Screen] [Setting Item] Item External device name Execute Description Sets the external device name. Conducts a PING test. [Test execution] Conduct a PING test. 1) Set the external device name using the IP address or host name (domain name). When using the host name for setting, make the following setting. ( ) Refer to Appendix 4 (2) for the characters applicable to the external device name.
-
6 FUNCTIONS MELSEC-Q 6.11.3 PING test by IBM-PC/AT-compatible personal computer The following provides an example that the PING command is issued from the external device (IBM-PC/AT-compatible personal computer) to the Web server module connected to the same Ethernet (LAN) to confirm the existence of the Web server module.
-
6 FUNCTIONS MELSEC-Q MEMO 6 - 133 6 - 133
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q 7 USER SCREEN CREATION FUNCTION This chapter explains the user screen creation function. 7.1 User Screen Creation Function 7.1.1 User screen creation function The user screen creation function allows users to display a user-original monitor screen in the Web browser by creating an HTML file and registering it into the Web server module.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.1.2 Precautions for user screen creation function This section provides precautions for the user screen creation function. Refer to Section 7.1.3 for precautions for the user screen for cellular phone display. (1) Precautions for describing HTML file on user screen (a) Be sure to set the user part parameters that must be set. Failure to do so will result in an error. (b) The file name and parameters of a user part are not case sensitive.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2 Applets Parts This section explains the applet parts (Java applets). An applet parts list is given below. Part Name File Name Function Reference Section • Integrates the communications of all applet parts in the Communication parts WSCom.class Web browser to make batch communication. • When using applet parts, be sure to describe only one Section 7.2.1 communication part before the applet parts in HTML.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.1 Method of Describing Applet Parts in HTML This section explains how to describe the applet parts (Java applets) in HTML. Describe applet tags in the location within HTML, where the applet parts to be displayed, as shown below.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.2 Data block parts The components as many as the specified blocks within the specified tag data are displayed in table form. Writing to the specified tag component is also available. Only the user having the tag component write authority is allowed to write a value to a tag component with the data block part. Refer to Section 4.6.5 for the user authority. (1) Specifications Item Description File name WSDatblk.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item TAGNO Description Sets the tag data for data block display using the tag setting No. (Refer to Section 6.3.3) ELMNO1 to Sets the component for data block display using the component ELMNO64( 1) setting No. (Refer to Section 6.3.3) DIRECTION Sets the display direction of the block data.
-
7 USER SCREEN CREATION FUNCTION MELSEC-Q (3) Sample screen for data block part The following provides an example of creating the sample screen that displays the data block parts. The sample screen (SMPBLKEN.HTM) is stored in the USER directory of the Web server module. (a) Tag setting (refer to Section 6.3.3) 1) Set "Data write" in the tag setting No. 1 to "Enable". 2) Set the component setting No. 1 to 5 of the tag setting No. 1.
-
7 USER SCREEN CREATION FUNCTION