Mitsubishi Electric MELSEC Q Series User Manual

Mitsubishi Electric MELSEC Q Series User Manual

Programmabale web server module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Quick Links

Web Server Module User's Manual
-QJ71WS96
Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC Q Series

  • Page 1 Web Server Module User's Manual -QJ71WS96...
  • Page 3: Safety Precautions

    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.
  • Page 4 [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.
  • Page 5 [Installation Precautions] CAUTION  Use the programmable controller in the environment specified in the user's manual of the CPU module. Using this programmable controller in an environment outside the range of the general specifications could result in electric shock, fire, erroneous operation, and damage to or deterioration of the product.
  • Page 6 [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.
  • Page 7 [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. ...
  • Page 8: Conditions Of Use For The Product

    Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 9: Revisions

    REVISIONS * The manual number is given on the bottom left of the back cover. Print Date * Manual Number Revision Dec., 2002 SH (NA)-080320E-A First Printing Apr., 2003 SH (NA)-080320E-B Correction 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.
  • Page 10: Operating Instructions

    This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 11 OPERATING INSTRUCTIONS This section explains the precautions in the following order. 1) Precautions for network connection 2) Precautions for performance/specifications 3) Precautions for security 4) Precautions for tag function 5) Precautions for logging function 6) Precautions for user screen creating function 7) Precautions for other functions 8) Precautions for access to Web server module 9) Precautions for battery...
  • Page 12 (3) Time handled by Web server module (Refer to Section 3.9) Transfer delay may occur since the Web server module acquires the clock data from CPU No.1 at the following timings. • When the programmable controller is powered off and then on or CPU module is reset •...
  • Page 13 Precautions for logging function (1) Logging setting (Refer to Section 6.4.4) (a) When the logging file storage has been set to the standard ROM, pay attention to the free user area of the standard ROM or the number of writes to standard ROM.
  • Page 14 (3) Windows When displaying the user screen, set any of the following (a) or (b). (a) Select [Tool] - [Compatibility View settings] on the Internet Explorer , and register the URL of the Web server module. (b) Add the following text between and in the source of the created user screen.
  • Page 15 (b) Carefully set the "PLC series" of the access target CPU setting. A wrong "PLC series" setting will generate an error in the programmable controller CPU or module on the route to the access target CPU, and a response time-out error (error code: 0002h) is displayed on the Web server module.
  • Page 16 (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". To print a Web screen, take a screen shot, paste it on graphics editing software and print it by using the print function on the software.
  • Page 17 (k) When displaying the standard screen using an operating system and a Web browser of English version, do not click the "Japanese" button, which jumps the page to the Japanese standard screen, on the TOP page in the standard screen. Doing so may display an incorrect screen. Doing so may display an incorrect screen.
  • Page 18 (4) FTP server function (Refer to Section 6.7.1) (a) It is required to end the FTP operation once and restart connection to FTP from the beginning if a wrong user name or password is entered to FTP, due to the restrictions on the FTP client side application. Even when the correct user name or password is entered to "user"...
  • Page 19 Precautions for battery In any of the following cases, erasure of data (e.g. logging data) being processed, corruption of data in the standard ROM drive/CompactFlash card during access, or a file system fault may occur. ( ) 1) When the battery is not replaced after battery error occurrence (Refer to Section 4.10.3) 2) When shut-down operation is not performed before power off during operation without battery (Refer to Section 4.11)
  • Page 20 (4) Diagnostic time of CompactFlash card (a) The Web server module executes diagnosis (including file restoration) of the CompactFlash card when: 1) Power is turned OFF and ON, or the CPU module is reset. 2) The CompactFlash card is inserted while the power is ON. (b) The diagnostic time of the CompactFlash card is lengthened if many files are stored in the card.
  • Page 21 Precautions for using multiple CPU system (1) Access to each CPU module at start-up of multiple CPU system In the system in which a Web server module is mounted in the multiple CPU system, an error may occur when accessing other CPU from the Web server module or accessing the other station via a network module controlled by other CPU from the Web server module due to the difference of start-up time of each CPU module.
  • Page 22: Table Of Contents

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC-Q series programmable controllers. 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.
  • Page 23 3.8.6 Error log area (Address: 150 to 247) ....................3-43 3.8.7 Login history area (Address: 250 to 380) ..................3-44 3.8.8 IP filter area (Address: 382 to 383) ....................3-45 3.8.9 Collection monitor cycle area (Address: 800 to 803) ..............3-45 3.8.10 Tag status area (Address: 1000 to 1075) ..................
  • Page 24 4.11 Operation without Battery Being Mounted ................... 4-76 4.12 Removing Battery for Storage ......................4-77 4.13 Returning the Web Server Module to the Default Setting ..............4-78 5 CONNECTING WEB SERVER MODULE TO NETWORK 5- 1 to 5-21 5.1 Network Connection through LAN ......................5- 1 5.1.1 Access procedure when using static IP address ................
  • Page 25 6.7.1 FTP server function .......................... 6-91 6.7.2 FTP client function ..........................6-95 6.7.3 FTP setting ............................6-98 6.7.4 File transfer by programmable controller CPU (PUT) ..............6-100 6.7.5 File transfer by programmable controller CPU (GET)..............6-103 6.7.6 File transfer by logging function ..................... 6-105 6.8 Access Log Function ..........................
  • Page 26 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).FTPGET ............................8-12 8.5 Z(P).TAG ..............................8-16 8.6 Z(P).LOG ..............................8-19 8.7 Z(P).LOGDEL ............................8-22 8.8 Z(P).WFWRITE ............................
  • Page 27 Appendix 7 Sizes of Data Written to Standard ROM and CompactFlash Card ........App-71 Appendix 7.1 Size of data written to standard ROM drive ..............App-71 Appendix 7.2 Size of data written to CompactFlash card ..............App-71 Appendix 7.3 Size of data written to logging file .................. App-72 Appendix 7.4 Size of data written to event history file .................
  • Page 28: Compliance With Emc And Low Voltage Directives

    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES (1) Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals. •...
  • Page 29: How To Use This Manual

    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.
  • Page 30: Generic Terms And Addreviations

    GENERIC TERMS AND ADDREVIATIONS Unless otherwise specified, this manual uses the following generic terms and abbreviations to explain the QJ71WS96 Web server module. Generic Term/Abbreviation Description Generic term for A1NCPU, A0J2HCPU, A1SCPU, A1SCPU-S1, A1SHCPU, A1SJCPU, A1SJHCPU, A2CCPU, A2CJCPU, A2NCPU, A2NCPU-S1, A2SCPU, A2SCPU-S1, ACPU A2SHCPU, A2SHCPU-S1, A2ACPU, A2ACPU-S1, A2UCPU, A2UCPU-S1, A2USCPU, A2USCPU-S1, A2ASCPU, A2ASCPU-S1, A2ASCPU-S30,...
  • Page 31 Generic Term/Abbreviation Description Abbreviation for Z.TAG and ZP.TAG Generic term for AJ71UC24, A1SJ71UC24-R2, A1SJ71UC24-R4, A1SJ71UC24-PRF, UC24 A1SJ71C24-R2, A1SJ71C24-R4, A1SJ71C24-PRF, A1SCPUC24-R2, A2CCPUC24, and A2CCPUC24-PRF Web browser Term for software used to locate and display Web pages Web server module Abbreviation for QJ71WS96 Web server module WFDEL Abbreviation for Z.WFDEL and ZP.WFDEL WFREAD...
  • Page 32: Meanings And Definitions Of Terms

    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 is an abbreviation for Asymmetric Digital Subscriber Line. ADSL This service enables high-speed data communication using the existing analog telephone line. CGI is an abbreviation for Common Gateway Interface.
  • Page 33: Packing List

    PACKING LIST The following table indicates the products that comprise the Web server module. Model Name Product Name Quantity QJ71WS96 Web server module QJ71WS96 Battery (Q6BAT) A - 31 A - 31...
  • Page 34: Overview

    1 OVERVIEW MELSEC-Q 1 OVERVIEW 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.
  • Page 35 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 External device Web server module...
  • Page 36 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.
  • Page 37 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.
  • Page 38 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.
  • Page 39 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.
  • Page 40 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). External device Programmable Web server module (FTP server)
  • Page 41 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.
  • Page 42 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 Web server module controller CPU Program [ZP.WFWRITE ] Device data User data 1 - 9...
  • Page 43 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.
  • Page 44 1 OVERVIEW MELSEC-Q (12) Compatibility with a variety of connection methods A connection method that meets a user's network environment can be selected. Web server module External device (Client) ADSL Analog modem For connection to the Internet, sign-up with the Internet service provider is required in advance. The Web server module can be connected to an ADSL line via a UPnP- compatible broadband router.
  • Page 45 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...
  • Page 46: System Configuration

    2 SYSTEM CONFIGURATION MELSEC-Q 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the Web server module. 2.1 Applicable Systems (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.
  • Page 47 2 SYSTEM CONFIGURATION MELSEC-Q (From the preceding page) Applicable CPU module Base unit (*2) No. of modules Extension base CPU type CPU model (*1) Main base unit unit Q03UDECPU (*6) Q04UDEHCPU (*6) Q06UDEHCPU (*6) Q10UDEHCPU (*6) Q13UDEHCPU (*6) Q20UDEHCPU (*6) Q26UDEHCPU (*6) Universal model Q50UDEHCPU (*7)
  • Page 48: Network Connections

    2 SYSTEM CONFIGURATION MELSEC-Q 11 Use the Web server module whose serial No. (first five digits) is 14122 or later. 12 Use the Web server module whose serial No. (first five digits) is 15052 or later. 13 Use the Web server module whose serial No. (first five digits) is 16072 or later.
  • Page 49 2 SYSTEM CONFIGURATION MELSEC-Q (2) Connection via ADSL modem The Web server module can be connected to the Internet through ADSL modem using 10BASE-T/100BASE-TX interface. (a) When using bridge type ADSL modem Web server module Twisted pair cable General Ethernet public line Internet PPPoE...
  • Page 50 2 SYSTEM CONFIGURATION MELSEC-Q (3) Connection via analog modem The Web server module can be connected to the Internet through analog modem using the RS-232 interface. Web server module RS-232 cable General public line Internet Modem External device POINT (1) Internet connection via analog modem is made in dial-up setting. (Refer to Section 4.6.4.) (2) A global IP address is assigned to the Web server module by the Internet service provider.
  • Page 51: System Configuration For Initial Setting, Maintenance And Inspection

    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. (1) System configuration for initial setting, maintenance and inspection by Web browser Web server module Twisted pair cable...
  • Page 52: Connection Device

    2 SYSTEM CONFIGURATION MELSEC-Q 2.4 Connection Device This section explains the devices compatible with the Web server module. (1) CompactFlash card One CompactFlash card can be set to the Web server module. Use a CompactFlash card manufactured by Mitsubishi listed in the following table. Failure to do so may cause a problem such as data corruption in the CompactFlash card and system stop.
  • Page 53 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). Should have the NAT (address conversion) function.
  • Page 54 2 SYSTEM CONFIGURATION MELSEC-Q (6) RS-232 cable When wiring, use applicable wires described below. Wire ( 1) Connector Length Diameter Type Material Temperature rating RS-232 28 to 15m or less Stranded Copper 60°C or more connector 24AWG 1 The recommenced cable is: 7/0.127 P HRV-SV...
  • Page 55: Checking Function Version And Serial No

    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.
  • Page 56 2 SYSTEM CONFIGURATION MELSEC-Q (3) Confirming the serial number on the system monitor (Product Information List) To display the system monitor window, select [Diagnostics] [System monitor]  button in GX Developer. Product inf. list Function version Serial No. Product No. 1) Production number display Since the Web server module does not support the production number display, "-"...
  • Page 57: Specifications

    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.
  • Page 58 3 SPECIFICATIONS MELSEC-Q 2 This item indicates the number of connectable levels using a repeater hub. For the number of connectable levels using a switching hub, contact the switching hub manufacturer. 3 For the maximum segment length (a length between hubs), consult with the manufacturer of the switching hub used.
  • Page 59 3 SPECIFICATIONS MELSEC-Q Item Specifications  When "Sampling: Execute at high speed" is selected in tag setting (control CPU only): Data 100 to 60000ms (total number of device points: Maximum 96) Sampling interval  When "Sampling: Execute" is selected in tag setting: collection 1 to 32767 seconds (number of components: Maximum 4096) ®...
  • Page 60 3 SPECIFICATIONS MELSEC-Q (2) Checking the Build number of Microsoft VM and downloading Microsoft (a) Checking the Build number of Microsoft By entering "jview" on the MS-DOS Prompt (command prompt) screen, the Build number of Microsoft VM can be checked as shown below. ( ) When not displayed as below, Microsoft VM has not been installed and must be installed.
  • Page 61 3 SPECIFICATIONS MELSEC-Q (3) Downloading Java VM (Oracle Corporation) and checking the version (a) Downloading Java VM (Oracle Corporation) When using Java VM (Oracle Corporation), download it from the Java website of Oracle Corporation (java.com/en). (b) Confirming version The version can be checked on the Java VM download website of Oracle Corporation.
  • Page 62 3 SPECIFICATIONS MELSEC-Q ® 4 Do not use the following functions of Internet Explorer • Quick Tabs • "Open in New Tab" • "Open in New Window" (a) Precautions 1) When displaying the standard screen using an operating system and a Web browser of English version, do not click the "Japanese"...
  • Page 63 3 SPECIFICATIONS MELSEC-Q (b) Changing security level Change the security level to "Medium" in the <> tab of the Java Control Panel. (8) Displaying user screen Clear the "Enable the next-generation Java Plug-in" check box in the <> tab of the Java Control Panel when displaying a user screen using the multiple applet parts.
  • Page 64: Connector Specifications

    3 SPECIFICATIONS MELSEC-Q 3.2 RS-232 Connector Specifications The RS-232 connector specifications are shown below. (1) RS-232 connector specifications Direction Pin No. Abbreviation Signal name Web server Modem module CD(DCD) Data carrier detect RD(RXD) Received data SD(TXD) Transmitted data ER(DTR) Data terminal ready Signal ground DR(DSR) Data set ready...
  • Page 65: Function List

    3 SPECIFICATIONS MELSEC-Q 3.3 Function List The following is the function list of the Web server module. Reference Function Description Section Section Device monitor Monitors device values. 6.2.1 Section Tag data monitor Monitors tag data. 6.2.2 Section Logging monitor Monitors logging data. 6.2.3 Monitor Function...
  • Page 66: Dedicated Instruction List

    3 SPECIFICATIONS MELSEC-Q 3.4 Dedicated Instruction List The following is a list of the dedicated instructions available for the Web server module. Reference Application Instruction Description Section E-mail transmission WMSEND Sends e-mail. Section 8.2 FTPPUT Transfers (PUT) a file to the FTP server. Section 8.3 FTPGET Transfers (GET) a file from the FTP server.
  • Page 67: Web Browser Setting Item List

    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. Reference Item Description Section This screen is displayed first when the URL of the Web server module is Top page specified.
  • Page 68: I/O Signals For Programmable Controller Cpu

    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"...
  • Page 69 3 SPECIFICATIONS MELSEC-Q Signal Direction Web server module Signal Direction Programmable controller CPU Programmable controller CPU Web server module Device Device Signal name Signal name ERR. LED status Error clear request ON: On, Flicker OFF: Off ON: Error clear requested OFF: Tag collection error ON: Error occurrence OFF: Normal...
  • Page 70: I/O Signals Details

    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 Signal Name Description Turns on when the Web server module becomes ready after the programmable controller is Module READY powered off and then on or the CPU module is reset.
  • Page 71 3 SPECIFICATIONS MELSEC-Q Device 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."...
  • Page 72 3 SPECIFICATIONS MELSEC-Q Device 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. ( 1) Network connection request (Y5)
  • Page 73 3 SPECIFICATIONS MELSEC-Q Device 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.
  • Page 74 3 SPECIFICATIONS MELSEC-Q Device Signal Name Description (1) Turns on when a logging error occurs. (2) When this turns on, an error code is stored into the logging status area (buffer memory: Logging error 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.
  • Page 75 3 SPECIFICATIONS MELSEC-Q (2) Output signal details Device Signal Name Description 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.
  • Page 76: Buffer Memory List

    3 SPECIFICATIONS MELSEC-Q 3.7 Buffer memory list The buffer memory addresses are listed below. Address Read/ Reference (Decimal Application Name Initial value write 1 section (Hex)) RUN LED status 0: Off 1: On Section 4.3 (1) ERR. LED status 0: Off 1: On 2: Flicker Switch 1 status (Mode setting)
  • Page 77 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address Read/ Reference (Decimal Application Name Initial value write 1 section (Hex)) Connection error code 0: Normal Other than 0: Error code Number of successful connection Number of failed connection Section Number of connection tries by request signal (Y5) 3.8.2 Number of connection tries by automatic connection Number of reconnection tries...
  • Page 78 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address Read/ Reference (Decimal Application Name Initial value write 1 section (Hex)) IP address setting 0: "Obtain an IP address automatically." 1: "Use the following IP address." 71 to 72 C0A80303 IP address setting: IP address to 48 73 to 74 FFFFFF00...
  • Page 79 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address Initial Read/ Reference Application Name (Decimal (Hex)) value write 1 section Error code Section 0: Normal Other than 0: Error code 3.8.5 Current error System area (Use prohibited) ( 2) 142 to 145 Section Time to 91...
  • Page 80 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 250 to 251 Number of login times to FB Login history write pointer User number 254 to 255 Source IP address to FF Login history 1 Login type...
  • Page 81 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 800 to 801 Current cycle (Unit: Second) (320 to 321 ) Collection Section monitor cycle 3.8.9 802 to 803 Maximum cycle (Unit: Second) (322 to 323 804 to 999...
  • Page 82 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 3000 CPU event setting data (BB8 3001 CPU event occurrence data (BB9 3002 CPU event monitor error data (BBA 3003 CPU event monitor 1 error code (BBB 3004 CPU event monitor 2 error code...
  • Page 83 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 3100 Tag event setting data (C1C 3101 Tag event occurrence data (C1D 3102 Tag event monitor error data (C1E 3103 Tag event monitor 1 error code (C1F 3104 Tag event monitor 2 error code...
  • Page 84 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 3200 Time event setting data (C80 3201 Time event monitor error data (C81 3202 Time event monitor 1 error code (C82 3203 Time event monitor 2 error code (C83...
  • Page 85 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 3376 to 3999 Use prohibited System area (D30 to F9F 4000 to 4003 Access target CPU setting data (FA0 to FA3 4004 to 4007 Access target CPU error data (FA4...
  • Page 86 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 5154 to 5174 Error log 8 (Same as Error log 1) (1422 to 1436 5175 to 5195 Error log 9 (Same as Error log 1) (1437 to 144B 5196 to 5216...
  • Page 87 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Address Initial Read/ Reference Application Name (Decimal (Hex)) value write 1 section 6002 Number of times when the FTPPUT instruction was normally (1772 completed 6003 Number of times when the FTPPUT instruction was abnormally (1773 completed 6004...
  • Page 88 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 6200 Transfer log write count (1838 6201 Transfer log write pointer (1839 6202 Transfer destination FTP client (183A Section status (PUT) 3.8.20 6203 to 6208 ( 2)
  • Page 89 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Read/ Address Initial Reference Application Name write 1 (Decimal (Hex)) value section 8152 to 8163 Error log 13 (Same as Error log 1) (1FD8 to 1FE3 8164 to 8175 Error log 14 (Same as Error log 1) (1FE4 to 1FEF 8176 to 8187...
  • Page 90 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).
  • Page 91 3 SPECIFICATIONS MELSEC-Q (From the preceding page) Logging 1 to 64 Data Area Name Error code 2132 2136 2140 2144 2148 2152 2156 2160 2164 2168 Number of 2133 2137 2141 2145 2149 2153 2157 2161 2165 2169 saved files Number of the 2134, 2138,...
  • Page 92 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). Access Target CPU 1 to 64 Error Code Area Name Error code 4008 4009 4010 4011 4012 4013...
  • Page 93 3 SPECIFICATIONS MELSEC-Q 8 The following shows the assignment of the transfer (PUT) log 1 to 32 area (address: 6202 to 6553). Transfer (PUT) Log 1 to 32 Area Name Transfer 6202 6213 6224 6235 6246 6257 6268 6279 6290 6301 destination Transferred...
  • Page 94 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). Tag Event Monitor 1 to 256 Error Code Area Name Error code 10192 10193 10194 10195 10196 10197 10198...
  • Page 95: Buffer Memory Details

    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.
  • Page 96 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) This area stores the number of reconnection to the network.
  • Page 97 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 connection status of Web server module(Address: 55 to This area stores the connection status of the network where the Web server module is currently connected.
  • Page 98: System Setting Status Area (Address: 70 To 86)

    3 SPECIFICATIONS MELSEC-Q Access point (Address: 67) This area stores the access point of the Internet service provider as the access point setting number on the "Dial-up setting" screen. 1 to 3: Access point setting number FTP port number (Address: 68) (16) Number of disconnections from user screen (number of disconnections by line disconnection part) (Address: 69) This area stores the cumulative number of disconnections from the network in...
  • Page 99: Error Log Area (Address: 150 To 247)

    3 SPECIFICATIONS MELSEC-Q POINT (1) The information of the current error area can be confirmed on the following diagnostic screen. (a) "Error data" of self-diagnostics monitor (Refer to Section 6.2.6) (b) "Present Error" in system monitor of GX Developer (Refer to Section 9.2.2) (2) The current error area can be cleared in any of the following methods.
  • Page 100: Login History Area (Address: 250 To 380)

    3 SPECIFICATIONS MELSEC-Q If an error that has already stored in the Error log area recurs, the error code is not stored in the Error log area. POINT (1) The information of the error log area can be confirmed on the following diagnostic screen.
  • Page 101: Ip Filter Area (Address: 382 To 383)

    3 SPECIFICATIONS MELSEC-Q Date and Time This area stores the date and time of the login in BCD code. Address: 253 to 260 Login history 1 User number 261 to 268 Login history 2 Source IP address Login type Month (01 to 12 Year (00 to 99...
  • Page 102 3 SPECIFICATIONS MELSEC-Q REMARKS (a) Collection monitor cycle The Web server module performs tag collection, logging and event monitoring in this order. Example) When the same time value is set to the Tag collection interval, logging interval and event interval: Sampling cycle Tag collection Logging...
  • Page 103: Tag Status Area (Address: 1000 To 1075)

    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) made or This area stores information on whether tag settings have been not.
  • Page 104: Logging Status Area (Address: 2000 To 2267)

    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.
  • Page 105 3 SPECIFICATIONS MELSEC-Q (3) Logging error data (Address: 2008 to 2011) This area stores the logging error data. The bit corresponding to the logging setting No. of a logging error turns on. 0: No logging error 1: Logging error detected b10 b9 b8 b7 b5 b4 b3 b2 b1...
  • Page 106: Cpu Event Monitor Status Area 1 (Address: 3300 To 3375)

    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) This area stores information on whether "CPU event setting"...
  • Page 107: Cpu Event Monitor Status Area 2 (Address: 3000 To 3018)

    3 SPECIFICATIONS MELSEC-Q 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.
  • Page 108: Tag Event Monitor Status Area 1 (Address: 10000 To 10447)

    3 SPECIFICATIONS MELSEC-Q (3) CPU event monitor error data (Address: 3002) This area stores the CPU event monitor error data. 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 b10 b9 b8 b7...
  • Page 109 3 SPECIFICATIONS MELSEC-Q (2) Tag event occurrence data (Address: 10064 to 10079) This area stores the tag event occurrence results. The bit corresponding to the tag event setting No. of a tag event turns on. 0: Event not occurred 1: Event occurred b10 b9 b8 b7 b5 b4 b3 b2 b1...
  • Page 110: Tag Event Monitor Status Area 2 (Address: 3100 To 3118)

    3 SPECIFICATIONS MELSEC-Q 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.
  • Page 111: Time/Interval Monitor Status Area (Address: 3200 To 3217)

    3 SPECIFICATIONS MELSEC-Q (3) Tag event monitor error data (Address: 3102) This area stores the tag event monitor error data. 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 b10 b9 b8 b7...
  • Page 112: Access Target Cpu Setting Status Area (Address: 4000 To 4071)

    3 SPECIFICATIONS MELSEC-Q 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.
  • Page 113: E-Mail Transmission Status Area (Address: 5000 To 5984)

    3 SPECIFICATIONS MELSEC-Q 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. ...
  • Page 114 3 SPECIFICATIONS MELSEC-Q (3) Error log storage area for abnormal completion The error log of failed e-mail transmission can be confirmed. Number of writes for error log (Address: 5005) This area stores the cumulative number of errors that were stored into the error log area.
  • Page 115 3 SPECIFICATIONS MELSEC-Q (4) Transmission log storage area for normal completion The transmission log of normally completed e-mail transmission can be confirmed. Number of writes for transmission log (Address: 5343) This area stores the cumulative number of registrations to the transmission log area.
  • Page 116: Ftp Server Status Area (Address: 6000 To 6001)

    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.
  • Page 117 3 SPECIFICATIONS MELSEC-Q (3) Error log storage area for abnormal completion The error log of failed file transfer can be confirmed. Number of writes for error log (Address: 6006) This area stores the cumulative number of errors stored in the error log area.
  • Page 118 3 SPECIFICATIONS MELSEC-Q (4) Transfer log storage area for normal completion The transfer log of normally completed file transfer can be confirmed. Number of writes for transfer log (Address: 6200) This area stores the cumulative number of registrations to the transfer log area.
  • Page 119: Ftp Client Status (Get) Area (Address: 8002 To 8553)

    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.
  • Page 120 3 SPECIFICATIONS MELSEC-Q 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. Error code This area stores the error code that indicates the error status. Refer to Section 9.3 for the error code.
  • Page 121: Module Initialization Request Area (Address: 9999)

    3 SPECIFICATIONS MELSEC-Q 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. Source This area stores the source FTP server No. of the normally completed FTP transfer (GET).
  • Page 122: Time Data Handling

    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.
  • Page 123: Files Handled By Web Server Module

    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 File Creation CSV file that saves tag data. Tag file Created when e-mail transmission/file System transfer is performed.
  • Page 124 3 SPECIFICATIONS MELSEC-Q MEMO 3 - 68 3 - 68...
  • Page 125: Set-Up And Procedure Before Operation

    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.
  • Page 126 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] IP address [192.
  • Page 127 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 Refer to Section 4. 2. (1). host station CPU.
  • Page 128 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 Refer to Section 4. 2. (1). (2). Confirm that the Web server module can access the host station CPU and/or other station CPU.
  • Page 129 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Web server module Internet personal computer MELSECNET/H, etc. Power the programmable controller ON and Refer to Chapter 5. connect the Web server module to the network. Obtain an address for the Web server module using the Address Notification function.
  • Page 130: Part Names And Functions

    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. [When LED cover is closed] [When LED cover is opened] 4 - 6 4 - 6...
  • Page 131 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Name 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.) (Refer to Section 2.2.) RS-232 interface connector Used for connecting Web server module to RS-232.
  • Page 132: Cable Connection

    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. Ground the RS-232 Cable shield at only one point.
  • Page 133: 10Base-T/100Base-Tx Connection

    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 Web server module Intranet Twisted pair cable (straight) (2) In the case of Internet connection using ADSL modem ADSL modem...
  • Page 134: Connection

    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...
  • Page 135: Network Setting Of Personal Computer For One-To-One Connection

    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.
  • Page 136 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (b) Make the network setting of the personal computer on the "TCP/IP Properties" screen. ® ® (Example 1) For Microsoft Windows 7 Professional Operating system [Control Panel]  "View network status and tasks" in "Network and Internet"...
  • Page 137 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating system [Control Panel]  "Network and Internet Connections"  "Network Connections"  "Local Area Connection"  tab  Properties button  Select "Internet Protocol (TCP/IP)".
  • Page 138 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Web browser setting 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. ®...
  • Page 139 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 3) For Microsoft Windows 98 operating system and Internet ® Explorer [Tools]  [Internet Options]  tab  LAN Settings...  "Local Area Network [LAN] Settings" screen 4 - 15 4 - 15...
  • Page 140 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Temporary Internet files settings/delete 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.
  • Page 141 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating ® system and Internet Explorer [Internet Options]  tab  [Tools] Settings in "Temporary Internet files"  "Settings" screen ® ® (Example 3) For Microsoft Windows 98 operating system and ®...
  • Page 142 4 SET-UP AND PROCEDURE BEFORE OPERATION 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.
  • Page 143 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating ® system and Internet Explorer [Tools]  [Internet Options]  tab  Delete Files in "Temporary Internet files"  "Delete Files" screen When using Java VM (Oracle Corporation) for : [Control Panel] ...
  • Page 144 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 3) For Microsoft Windows 98 operating system and ® Internet Explorer [Tools]  [Internet Options]  tab  Temporary Internet Files Delete Files...  "Delete Files" screen When using Java VM (Oracle Corporation) for : [Control Panel] ...
  • Page 145 4 SET-UP AND PROCEDURE BEFORE OPERATION 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". Make the setting in the "Internet Option" screen. ®...
  • Page 146 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 3) For Microsoft Windows 98 operating system and Internet ® Explorer [Tools]  [Internet Options]  tab Detailed setting Reset the advanced settings of the Web browser to default (the settings when the product is installed for the first time).
  • Page 147 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating system ® and Internet Explorer [Tools]  [Internet Options]  tab ® To use Microsoft VM, clear the "JIT compiler for virtual machine enabled (requires restart)"...
  • Page 148 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Cookies setting In the Advanced Privacy Settings window, specify how to handle cookies. ® ® (Example 1) For Microsoft Windows 7 Professional operating system and ® Internet Explorer [Tools]  [Internet Options]  tab  Advanced button ...
  • Page 149 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (4) Accessing the Web server module from the personal computer 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/] As the user authentication screen ("Enter Network password " screen) appears when accessing the Web server module, enter the following.
  • Page 150 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (5) Accessing the host CPU of the Web server module Display the "Device monitor" screen Within the Monitor screen. [Monitor screen] "Device monitor" Access the host CPU of the Web server module and confirm that the following input signals (X) are on.
  • Page 151: Setting From Web Browser

    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.
  • Page 152 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Monitor screen [Menu items] Item Description Reference Section Device monitor Monitors device values. Tag data monitor Monitors tag data. Logging monitor Monitors logging data. Section 6.2 Event history monitor Monitors event historical data. PLC diagnostics monitor Monitors programmable controller CPU operation status.
  • Page 153 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Administrative menu Screen name Screen name will be displayed. Location Menu Shows the location of Select a setting screen. the currently displayed screen. Click on the button to move to the Administrative menu top page or the default top page.
  • Page 154: Common Operations For The Standard Screen

    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 Start the Web browser from the personal computer and enter the Web server module's address.
  • Page 155 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Saving the Administrative menu settings On setting screens of the Administrative menu, change the settings and then click on the "Save" button. Clicking on the "Save" button writes the new settings over the set data of the Web server module.
  • Page 156 4 SET-UP AND PROCEDURE BEFORE OPERATION 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.
  • Page 157: System Setting

    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. [Start Procedure] [Administrative menu] "System setting"...
  • Page 158 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. Select the connection method of the Web server module to the network. Item Description Connecting through LAN Select this item when connecting through LAN or the router.
  • Page 159 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 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.
  • Page 160 4 SET-UP AND PROCEDURE BEFORE OPERATION 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.
  • Page 161 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.
  • Page 162: Dial-Up Setting

    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.
  • Page 163 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Connection method Set the connection method of the Web server module. Select the method of connecting the Web server module to the Internet from Modem or ADSL. Make the settings of (2) to (6) according to the selected connection method. The items unnecessary for the selected connection method are disabled.
  • Page 164 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (5) Retry Set the items related to network connection retries. Number of retries (0 to 255 times) Set the number of connection request retries when connection to the network fails. Change access point automatically. Make this setting when registering more than one access point.
  • Page 165 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q CALL function Set whether the CALL function will be enabled or not. (Disable/Enable) 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.
  • Page 166 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. Network connection method Item Modem ADSL Connection method Connection account Access point Dial method Retry Communication speed Calling timeout Dial pause time Modem attribute...
  • Page 167: Account Setting

    4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.6.5 Account setting [Setting Purpose] 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.
  • Page 168 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (1) Account setting 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.) ...
  • Page 169 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.
  • Page 170 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Initial screen 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.
  • Page 171 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.
  • Page 172: Ip Filter Setting

    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.
  • Page 173 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Mask bit length Set the valid bit length of the set IP address. (Setting range: 1 to 32) 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.
  • Page 174 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. Internet connection A setting example of enabling access from a mobile personal computer and office is given below.
  • Page 175 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q IP filter setting (5) Precautions for IP filter setting 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.
  • Page 176: Access Target Cpu Setting

    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"...
  • Page 177 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Edit screen Register the access target CPU. [Setting screen] [Setting item] Item Description CPU name 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.
  • Page 178 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Other station specification Set whether other station is specified or not. For details on accessible routes, refer to Appendix 2 (2). No specification Select this setting when making access to the host CPU. Other station (Single network) To access a CPU on another station in the following network configuration, select a single network.
  • Page 179 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q Network communication route, Different network communication route Set the network type, network No., start I/O address and station No. to be accessed. The setting items change depending on the set network. POINT (1) For access to the other station CPU, the routing parameters must also be set in addition to this setting.
  • Page 180 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (3) Precautions for access target CPU setting 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.
  • Page 181: Intelligent Function Module Switch Setting

    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. [Start Procedure] [GX Developer] ...
  • Page 182 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.
  • Page 183 4 SET-UP AND PROCEDURE BEFORE OPERATION 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.
  • Page 184 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.
  • Page 185: Self-Diagnostics Function

    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.
  • Page 186: Ch2 Self-Loopback Test

    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 In "Switch setting for I/O and intelligent function module"...
  • Page 187: Hardware Test

    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 In "Switch setting for I/O and intelligent function module" of GX Developer, set the mode to "Hardware test".
  • Page 188: Setting/Removal Of Compactflash Card And Precautions For Use

    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 available CompactFlash cards Use a CompactFlash card listed in Section 2.4.
  • Page 189 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (5) Precautions for formatting CompactFlash card (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 ®...
  • Page 190: Setting/Removal Of Compactflash Card

    4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q 4.9.2 Setting/Removal of CompactFlash card This section explains the setting/removal of the CompactFlash card. [Setting the CompactFlash Card] Setting of CompactFlash card Insert CompactFlash card. (Refer to Section (3)) Is power ON? Turn programmable controller ON. Check if CompactFlash card has been set in Web server module securely.
  • Page 191 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? Turn programmable controller ON. Stop file access and disable read from/write to CompactFlash card.
  • Page 192 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 Cancel the file access stop status. Turn File access stop cancel request (Y3) from OFF to ON. Confirm that the file access stop status has been cancelled.
  • Page 193 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q LED cover Pawl position EJECT button Insert in Orientation of this direction CompactFlash card CompactFlash card CompactFlash card slot 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.
  • Page 194 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. Attach the CompactFlash card slot cover and close the LED cover. Attach the CompactFlash card slot cover. When the CompactFlash card is not set, attach the CompactFlash card slot cover.
  • Page 195: Mounting And Replacement Of Battery

    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 Q6BAT Item...
  • Page 196: Mounting Of Battery

    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. Open the cover at the bottom of the Web server module. Confirm that the battery has been mounted correctly.
  • Page 197: Battery Replacement

    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.
  • Page 198 4 SET-UP AND PROCEDURE BEFORE OPERATION MELSEC-Q (2) Web server module battery (Q6BAT) life The following table shows the Web server module battery life. Battery life Energization Guaranteed value Actual service value Guaranteed time after battery error time ratio (reference value) occurrence 26,000 hour 43,800 hour...
  • Page 199 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.
  • Page 200: Operation Without Battery Being Mounted

    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.
  • Page 201: Removing Battery For Storage

    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.
  • Page 202: Returning The Web Server Module To The Default Setting

    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.
  • Page 203: Connecting Web Server Module To Network

    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 LAN- connected network.
  • Page 204 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Network setting of Web server module Make setting to connect the Web server module to the network. From the Administrative menu, set as follows (For other than the following settings, the default values will be used.): [Administrative menu] "System setting"...
  • Page 205 5 CONNECTING WEB SERVER MODULE TO NETWORK 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.
  • Page 206: Access Procedure When Obtaining Ip Address From Dhcp Server

    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.
  • Page 207 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Network setting of Web server module Make setting to connect the Web server module to the network. From the Administrative menu, set as follows (For other than the following settings, the default values will be used.): [Administrative menu] "System setting"...
  • Page 208 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.
  • Page 209 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 Outlook Express 5.5 (4) Access to Web server module...
  • Page 210: Network Connection By Dial-Up (Modem, Adsl)

    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 dial- up-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.
  • Page 211 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (1) Contract with Internet service provider 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.
  • Page 212 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q E-mail setting (Refer to Section 6.6.3) Item Set value Enter the e-mail setting of the Web server module.  SMTP server name : (example) mailserver@****.****.ne.jp  E-mail address (From:) : (example) mailaddress@****.****.ne.jp Send e-mail account setting ...
  • Page 213 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (3) Network connection of Web server module 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. 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.
  • Page 214 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (5) Access to Web server module Start a Web browser on the personal computer and enter the Web server module address obtained by the address notification function. When the user authentication screen is displayed at the time of access to the Web server module, enter the account.
  • Page 215: Operation For Returning To One-To-One Connection

    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.
  • Page 216 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q After writing the PLC parameters to the programmable controller CPU, power the programmable controller off and then on or reset the CPU module. The settings of the Web server module are as follows. System setting ...
  • Page 217: Network Connection/Disconnection Procedures For Non-Continuous Connection

    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.
  • Page 218 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 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.) Disconnection using Disconnect function (Only when modem is connected) When the "Disconnect function"...
  • Page 219 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. Disconnection Disconnection Disconnection Disconnection method using Disconnect using using line Automatic function Connection sequence disconnection disconnection...
  • Page 220: Network Connection/Disconnection Processing Using Sequence Program

    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.
  • Page 221 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q (2) Program example This section explains programs for connection/disconnection using sequence programs. Program execution environment Mount the Web server module on Slot "0" of the main base. Connect the Web server module and the personal computer with a crossing cable.
  • Page 222 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q Program example 5 - 20 5 - 20...
  • Page 223 5 CONNECTING WEB SERVER MODULE TO NETWORK MELSEC-Q 5 - 21 5 - 21...
  • Page 224: Functions

    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. Reference Function Description Section Section Device monitor Monitors device values.
  • Page 225: Monitor Function

    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.
  • Page 226 6 FUNCTIONS MELSEC-Q CPU name Set the access target CPU. Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting.
  • Page 227 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.
  • Page 228 6 FUNCTIONS MELSEC-Q Setting value 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. When setting the data type in bit, set ON/OFF. POINT (1) The device test may affect the control of the programmable controller.
  • Page 229: Tag Data Monitor

    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.
  • Page 230 6 FUNCTIONS MELSEC-Q Tag name Set the tag data to perform tag data monitor. Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) The Tag name drop-down list displays the setting No. and tag names of the tag setting.
  • Page 231 6 FUNCTIONS MELSEC-Q Tag name The tag name to perform the tag component test is displayed. Component name 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.) The Component name drop-down list displays the setting No.
  • Page 232 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.
  • Page 233: Logging Monitor

    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.
  • Page 234 6 FUNCTIONS MELSEC-Q (1) Logging name Set the logging data to perform the logging monitor. Select the tag name set in the logging setting. (Refer to Section 6.4.4 for the logging setting.) The Logging name drop-down list displays the setting No. and tag names of the logging setting.
  • Page 235 6 FUNCTIONS MELSEC-Q (5) Graph Logging data are displayed in graph form. 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) Specify the maximum value of the graph.
  • Page 236: Event History Monitor

    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. RCPU cannot perform the CPU monitor. ("System error" is displayed in the operation status.) [Start Procedure] [Monitor screen]...
  • Page 237 6 FUNCTIONS MELSEC-Q (2) CPU event The CPU event history is monitored. The contents of /ROM/WWW/EVENT/CPUWATCH.CSV are displayed. Date The date and time when the event occurred/was restored is displayed. (Example) 2002/08/05 08:58:17 Event number The event number of the event occurrence/restoration is displayed. The event number is the No.
  • Page 238 6 FUNCTIONS MELSEC-Q 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.
  • Page 239 6 FUNCTIONS MELSEC-Q Event number The event number of the event occurrence/restoration is displayed. The event number is the No. set in "Tag event setting" of the event setting. Status The occurrence/restoration of the event is displayed. Tag name The name of the tag in which the event occurred/was restored is displayed.
  • Page 240 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. Date The date and time when the event occurred is displayed. (Example) 2002/08/05 08:58:17 Event number The event number of the event occurrence is displayed. The event number is the No.
  • Page 241: Plc Diagnostics Monitor

    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. RCPU does not support the PLC diagnostics monitor function. [Start Procedure] [Monitor screen] "PLC diagnostics monitor" [Setting screen] [Setting Item] Item...
  • Page 242 6 FUNCTIONS MELSEC-Q (1) CPU name Set the access target CPU. The C Controller module cannot be monitored. To monitor the operation status and error information of the C Controller module, use the C Controller setting utility. Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) The CPU name drop-down list displays the setting No.
  • Page 243: Self-Diagnostics Monitor

    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.
  • Page 244 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.
  • Page 245: Precautions For Using Monitor Function

    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 Since the monitor screens use the Java applet, Java VM is required for the Web browser to execute the applet.
  • Page 246 6 FUNCTIONS MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating system [Start] → [Control Panel] → [Performance and Maintenance] → [Power Options] → "Power Options Properties" screen →< Power Schemes> tab (e) Temporary Internet files settings/delete Select any other than "Never" for "Check for newer versions of stored pages"...
  • Page 247 6 FUNCTIONS MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating ® system and Internet Explorer [Tools]  [Internet Options]  tab  Settings in "Temporary Internet files"  "Settings" screen ® ® (Example 3) For Microsoft Windows 98 operating system and ®...
  • Page 248 6 FUNCTIONS 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.
  • Page 249 6 FUNCTIONS MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating ® system and Internet Explorer [Tools]  [Internet Options]  tab  Delete Files in "Temporary Internet files"  "Delete Files" screen When using Java VM (Oracle Corporation) for : [Control Panel] ...
  • Page 250 6 FUNCTIONS MELSEC-Q ® ® (Example 3) For Microsoft Windows 98 operating system and ® Internet Explorer [Tools]  [Internet Options]  tab  Temporary Internet Files Delete Files...  "Delete Files" screen When using Java VM (Oracle Corporation) for : [Control Panel] ...
  • Page 251 6 FUNCTIONS 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". Make the setting in the "Internet Option" screen. ® ® (Example 1) For Microsoft Windows 7 Professional Operating System ®...
  • Page 252 6 FUNCTIONS MELSEC-Q ® ® (Example 3) For Microsoft Windows 98 operating system and Internet ® Explorer [Tools]  [Internet Options]  tab Detailed setting Reset the advanced settings of the Web browser to default (the settings when the product is installed for the first time). Make the setting in the "Internet Options"...
  • Page 253 6 FUNCTIONS MELSEC-Q ® ® (Example 2) For Microsoft Windows XP Professional operating system ® and Internet Explorer [Tools]  [Internet Options]  tab ® To use Microsoft VM, clear the "JIT compiler for virtual machine enabled (requires restart)" check box. ®...
  • Page 254 6 FUNCTIONS MELSEC-Q (2) Precautions for executing the device test/tag component test 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 A user without device write/tag component write authority is not allowed to conduct the device test/tag component test.
  • Page 255: Tag Function

    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 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.
  • Page 256: Setting Procedure For Tag Function

    6 FUNCTIONS MELSEC-Q (2) Tag setting Set a tag in the tag setting of the Administrative menu. (Refer to Section 6.3.3) Up to 64 tags can be registered. Up to 64 components can be registered for each tag. Set the communication path to access the programmable controller CPU in the access target CPU setting.
  • Page 257: Tag 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.
  • Page 258 6 FUNCTIONS MELSEC-Q (2) Edit screen (Tag setting) Set the tag name, tag collecting interval (Sampling), etc. [Setting screen] [Setting Item] Item Description Sets the tag name. (within 16 characters) Tag name Sets the collecting interval of the tag data. Sampling Sets whether data can be written to the tag or not.
  • Page 259 6 FUNCTIONS MELSEC-Q Execute at high speed (Sampling interval: 1 to 600 100ms) Tag data are collected once when the Web server module is started or the setting is updated, and thereafter are collected at the specified interval. Update before logging. ...
  • Page 260 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...
  • Page 261 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.
  • Page 262 6 FUNCTIONS MELSEC-Q Component name (within 16 characters) Set the component name. Refer to Appendix 4 (5) for the characters applicable to the component name. CPU name Set the access target CPU. Selects the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) The CPU name drop-down list displays the setting No.
  • Page 263 6 FUNCTIONS MELSEC-Q Display form Set the display form of the real number. Decimal/Exponential Set the number of decimal places. (0 to 6) 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.) Operator Set a mathematical operation to be performed for the collected data, or no...
  • Page 264: Logging Function

    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.
  • Page 265 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.
  • Page 266: Logging File

    6 FUNCTIONS MELSEC-Q 6.4.2 Logging file This section explains logging files. (1) Where logging files are saved Logging files are stored into standard ROM or CompactFlash card. When a logging file is created, the directory of the file name set at "File name"...
  • Page 267 6 FUNCTIONS MELSEC-Q Processing performed when file becomes full 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) Saved files names Saved files names are consecutively numbered with 8 digits...
  • Page 268 6 FUNCTIONS MELSEC-Q The number of saved files [When the number of saved files [Saved file name] exceeds the set value. exceeds the above set value] Stop Overwrite "When the number of saved files is '5'" Logging is stopped. LOGNAME.CSV LOGGING LOGNAME The oldest file is deleted and logging...
  • Page 269: Setting Procedure For Logging Function

    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 Refer to module to access the Web server module from a Section 4.
  • Page 270: Logging Setting

    6 FUNCTIONS MELSEC-Q 6.4.4 Logging setting [Setting Purpose] Make the setting for logging tag data. [Start Procedure] [Administrative menu] "Logging setting" (refer to (1)) Select logging setting No. and click on Edit "Edit screen" (refer to (2)) (1) Logging setting Make logging setting.
  • Page 271 6 FUNCTIONS MELSEC-Q (2) Edit screen Set the tag to be logged, execution timing, file capacity, etc. [Setting screen] [Setting Item] Item Description Sets the tag to be logged, logging file name, and the location where the logging file will be Logging setting saved.
  • Page 272 6 FUNCTIONS MELSEC-Q Tag name Set the tag name to be logged. Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) When using the logging function, it is required to set the tag in advance.
  • Page 273 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.
  • Page 274 6 FUNCTIONS MELSEC-Q 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.
  • Page 275 6 FUNCTIONS MELSEC-Q File capacity As the file capacity, select any of the following. Specification for number of lines (1 to 10000 lines)/for high-speed logging (100 to 10000 lines) Size specification (1 to 512k bytes)/for high-speed logging (10 to 512k bytes) Time specification Day: 1 to 31, "Per"...
  • Page 276 6 FUNCTIONS MELSEC-Q 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.
  • Page 277 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.
  • Page 278: Event Monitor Function

    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.
  • Page 279 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. CPU event The programmable controller CPU status (system error, RUN, STOP, PAUSE, etc.) set in "CPU event setting"...
  • Page 280: Setting Procedure For Event Monitor Function

    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.
  • Page 281: Event Setting

    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.
  • Page 282 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 Sets the number of tag event historical data. data No.
  • Page 283 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. RCPU cannot perform the CPU monitor. [CPU event setting screen] [Setting Item] Item Description Item Selects the CPU event setting No.
  • Page 284 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 Makes setting when sending e-mail at event occurrence. occurrence Saves the setting.
  • Page 285 6 FUNCTIONS MELSEC-Q CPU name Set the CPU name to be monitored. Select the CPU name set in the access target CPU setting. (Refer to Section 4.6.7 for the access target CPU setting.) The CPU name drop-down list displays the setting No. and CPU names of the access target CPU setting.
  • Page 286 6 FUNCTIONS MELSEC-Q 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.
  • Page 287 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.
  • Page 288 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 Makes setting when sending e-mail at event occurrence.
  • Page 289 6 FUNCTIONS MELSEC-Q Tag name Set the tag name to be monitored. Select the tag name set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) The Tag name drop-down list displays the setting No. and tag names of the tag setting.
  • Page 290 6 FUNCTIONS MELSEC-Q Restoration value Set the restoration value to make the event disappear. The restoration value can be set when the condition is >=, >, < or <=. In the following case, the event is restored. Condition Restoration Component = Trigger value Component <>...
  • Page 291 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 Description Item Selects the time/interval event setting No. to be edited or deleted. Time/Interval Displays the monitoring time/interval.
  • Page 292 6 FUNCTIONS MELSEC-Q [Setting Item] Item Description Time/Interval Sets the monitoring time/interval. Mail setting for event Makes setting when sending e-mail at event occurrence. 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.
  • Page 293 6 FUNCTIONS MELSEC-Q Attached file Select the file attached to e-mail. (None, Tag data, Logging Data) When attaching tag data, select the tag data set in the tag setting. (Refer to Section 6.3.3 for the tag setting.) When attaching logging data, select the logging data set in the logging setting.
  • Page 294: E-Mail Function

    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.
  • Page 295: E-Mail Transmission By Logging 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.
  • Page 296 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 Refer to to access the Web server module from a personal Section 4.
  • Page 297 6 FUNCTIONS MELSEC-Q (4) Procedure for sending e-mail by logging function Make the setting on the Logging setting so that an For logging function, refer to e-mail will be sent when a file is saved. Section 6. 4. Completed (5) Procedure for sending e-mail by diagnostics function For details of e-mail sending test, Execute e-mail sending test on the System setting.
  • Page 298 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 Description Send e-mail account Sets the account of the Web server module required to send e-mail. setting Option setting Sets the option related to e-mail.
  • Page 299 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.
  • Page 300 6 FUNCTIONS MELSEC-Q (2) Option setting How to authenticate a user when sending e-mail is set. Item Description This server has authentication Check the checkbox to execute authentication when sending e-mail. requirements which have to be met Select "SMTP-Auth" or "POP before SMTP" as the method of authentication. Method of authentication When "POP before SMTP"...
  • Page 301 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"...
  • Page 302 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 (S1) (S2) "Un" Subject + Main text Mail server Destination No. Tag/Logging No I/O No. File name.
  • Page 303 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.
  • Page 304 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.
  • Page 305 6 FUNCTIONS MELSEC-Q (4) Receiving e-mail by personal computer The e-mail sent by the Web server module is received by the personal computer. 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 set in the control data of the dedicated instruction (1 to Subject...
  • Page 306 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) In the Logging setting, set "E-mail delivery: Send a saved file to the following e-mail address."...
  • Page 307 6 FUNCTIONS MELSEC-Q The e-mail is received by the personal computer. (Example) In the case of Microsoft Outlook 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. When "When the number of saved files exceeds the above set value: Overwrite"...
  • Page 308: E-Mail Transmission By Event Monitor Function

    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 CPU event setting (Refer to Section 6.5.3) In the CPU event setting, set "Send an e-mail when an event occurs."...
  • Page 309 6 FUNCTIONS MELSEC-Q 1 Subject is as follows. (Example) Control CPU Status STOP 2002/07/24 16:46:23 Status Date CPU name • 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.
  • Page 310 6 FUNCTIONS MELSEC-Q (2) E-mail transmission by tag event Tag event setting (Refer to Section 6.5.3) 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. When a tag event occurs, an e-mail is sent to the destination e-mail address.
  • Page 311 6 FUNCTIONS MELSEC-Q 1 Subject is as follows. (Example) 2002/07/25 09:37:12 Production mngmt Product A Date Trigger value Condition Tag name Component 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.
  • Page 312 6 FUNCTIONS MELSEC-Q (3) E-mail transmission by time/interval event Time/Interval event setting (Refer to Section 6.5.3) 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. When a time/interval event occurs, an e-mail is sent to the destination e-mail address.
  • Page 313 6 FUNCTIONS MELSEC-Q Receiving e-mail by personal computer The e-mail sent by the Web server module is received by the personal computer. 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 "...
  • Page 314: Ftp Function

    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.
  • Page 315 6 FUNCTIONS MELSEC-Q (3) Setting procedure for FTP function Start Make access target CPU setting on the Access target Refer to Section 4. 6. FTP function is available with the setting in CPU setting. Section 4. 6. Login to the Web server module to operate files. Refer to Section (4).
  • Page 316 6 FUNCTIONS MELSEC-Q 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.
  • Page 317 6 FUNCTIONS MELSEC-Q ® To make access by Internet Explorer 7.0/8.0/9.0/10.0/11.0 in FTP, change the file display format of the Web server module from text format to explorer format. ® ® (Example) Using Microsoft Windows XP Professional operating system ® and Internet Explorer [Page] ...
  • Page 318: Ftp Client Function

    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. File transfer by programmable controller CPU FTPPUT instruction The tag data/logging data/user data file stored in the Web server...
  • Page 319 6 FUNCTIONS MELSEC-Q 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.
  • Page 320 6 FUNCTIONS MELSEC-Q (2) Setting procedure for FTP client function 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 Refer to CPU setting. Section 4. 6. For use of DNS server, make the DNS setting on the Refer to System setting.
  • Page 321: Ftp Setting

    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)) Select FTP setting No.
  • Page 322 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.
  • Page 323: File Transfer By Programmable Controller Cpu (Put)

    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 "Un" FTP server Transfer destination No. Tag/Logging No. I/O No. File name (4) File (.BIN/.CSV) Tag/Logging data, user data file...
  • Page 324 6 FUNCTIONS MELSEC-Q (2) Instruction execution timing Network connection processing File transfer Network connection status (X4) FTPPUT FTPPUT instruction 1 scan FTPPUT instruction Completion Device When abnormally completed FTPPUT instruction Completion Device + 1 (Completion/Failure) The Web server module is connected to the network. When the module is not connected to the network, it is automatically connected during execution of the FTPPUT instruction and disconnected after completion of the instruction.
  • Page 325 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 Description Tag data: TAG . CSV ( indicates the tag setting No.) File name Logging Data: File name set in the logging setting (.CSV) File data ( 1)
  • Page 326: File Transfer By Programmable Controller Cpu (Get)

    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 "Un" User data file FTP server Read 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.
  • Page 327 6 FUNCTIONS MELSEC-Q (2) Instruction execution timing Network connection processing File transfer Network connection status (X4) FTPGET FTPGET instruction 1 scan FTPGET instruction completion device When abnormally completed FTPGET instruction completion device + 1 (Completion/Failure) The Web server module is connected to the network. When the module is not connected to the network, it is automatically connected during execution of the FTPGET instruction and disconnected after completion of the instruction.
  • Page 328: File Transfer By Logging Function

    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) In the Logging setting, set "File transfer: Send a saved file to the following FTP server."...
  • Page 329: Access Log Function

    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.
  • Page 330 6 FUNCTIONS MELSEC-Q (2) User name The user name who made access is displayed. 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...
  • Page 331: Address Notification Function

    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.
  • Page 332: Address Notification Setting

    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.
  • Page 333 6 FUNCTIONS MELSEC-Q Set the notification IP address. Select the IP address of which the external device will be notified. Item Description Notify the IP address set Select this item when notifying the external device of the IP address in the "System setting" set in the system setting.
  • Page 334 6 FUNCTIONS MELSEC-Q (2) E-mail notification setting Make e-mail notification setting. [Setting Screen] [Setting Item] Item Description IP address notification Sets the destination e-mail address and address notification timing. 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.
  • Page 335 6 FUNCTIONS MELSEC-Q [Execution of address notification] When the external device is notified of the IP address when network connection is made Address notification e-mail is sent to the selected destination e-mail address when network connection is made. The send e-mail form is as indicated below. Item Description E-mail address of the Web server module...
  • Page 336 6 FUNCTIONS MELSEC-Q When the IP address is attached to the e-mail of the event monitor function When e-mail is sent at event occurrence, it is sent with URL data attached at the end of the main text. E-mail is received by the personal computer. The following provides an example when a time/interval event.
  • Page 337 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.
  • Page 338 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.
  • Page 339: Data Management Function

    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.
  • Page 340 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 BACKUP Important Do not change the backup data (files under \BACKUP\). Using the changed backup data can cause the module to fail or malfunction.
  • Page 341: Format Function

    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. 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.
  • Page 342: Csv Export/Import Function

    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.
  • Page 343 6 FUNCTIONS MELSEC-Q Set functions supported by the Web server module used for the setting information file. If set functions are not supported, they cannot be used. (Refer to Appendix 5.1.) (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 [CSV export]...
  • Page 344 6 FUNCTIONS MELSEC-Q 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.
  • Page 345 6 FUNCTIONS MELSEC-Q (From previous page) 6) Open COMPONENT.CSV on the spreadsheet software. ® ® (Display example of Microsoft 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.
  • Page 346 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.
  • Page 347: Data Management

    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 Description Backup...
  • Page 348 6 FUNCTIONS MELSEC-Q (1) Execution of backup Back up the standard ROM data to the CompactFlash card. Select the standard ROM data to be backed up. Click on the "Execute" button to execute backup. On the Status section, confirm the backup execution status. Click on the "Update"...
  • Page 349 6 FUNCTIONS MELSEC-Q (3) Execution of format Format the CompactFlash card. Select "Formatting a CompactFlash card." Click on the "Execute" button to execute format. On the Status section, confirm the format execution status. Click on the "Update" button to confirm the current status. When "Formatting ..."...
  • Page 350 6 FUNCTIONS MELSEC-Q (4) Execution of CSV export Export the setting data to the CSV file. Select the standard ROM or CompactFlash card, as a location from which the setting data file will be exported. Click the [Execute] button to execute CSV export. On Status, confirm the CSV export execution status.
  • Page 351 6 FUNCTIONS MELSEC-Q (5) Execution of CSV import Import the setting data from the CSV file. Select the standard ROM or CompactFlash card, as a location to which the setting data file is imported. Click the [Execute] button to execute CSV import. On Status, confirm the CSV import execution status.
  • Page 352: Diagnostics Function

    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.
  • Page 353 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.
  • Page 354 6 FUNCTIONS MELSEC-Q (1) Access target CPU test Conduct an access target CPU test. [Setting Screen] [Setting Item] Item Description Access target CPU Sets the access target CPU. Conducts an access target CPU test. Test [Test execution] Conduct an access target CPU test. Select the access target CPU set in the access target CPU setting.
  • Page 355 6 FUNCTIONS MELSEC-Q (2) E-mail sending test Conduct an e-mail sending test. [Setting Screen] [Setting Item] Item Description E-mail address (TO:) Sets the destination e-mail address. Conducts an e-mail sending test. Send [Test execution] Conduct an e-mail sending test. Select the destination e-mail address set in the e-mail setting. Click on the Send button to execute the e-mail sending test.
  • Page 356 6 FUNCTIONS MELSEC-Q 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 Outlook...
  • Page 357 6 FUNCTIONS MELSEC-Q (3) File transfer test Conduct a file transfer test. [Setting Screen] [Setting Item] Item Description FTP server name Sets the FTP server name. Conducts a file transfer test. Transfer [Test execution] Conduct a file transfer test. Select the FTP server name set in the FTP setting. Click on the Transfer button to execute the file transfer test.
  • Page 358 6 FUNCTIONS MELSEC-Q (4) PING test Conduct a PING test. [Setting Screen] [Setting Item] Item Description External device name Sets the external device name. Conducts a PING test. Execute [Test execution] Conduct a PING test. Set the external device name using the IP address or host name (domain name).
  • Page 359 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.
  • Page 360: User Screen Creation Function 7- 1 To

    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.
  • Page 361: Precautions For User Screen Creation Function

    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. (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.
  • Page 362: Applets Parts

    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. Reference Part Name File Name Function Section • Integrates the communications of all applet parts in the Web browser to make batch communication.
  • Page 363: Method Of Describing 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.
  • Page 364 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Applet Parts Item Description 1) applet Indicates the start of the applet tag. Sets the file name (.class) for the Java applet. 2) code (Example) code="WSDatblk. class" Sets the file storage location (directory path) for the Java applet. Since the Java applet is stored under the PARTS directory, make sure to set as follows: 3) codebase (Refer to Appendix 3 for the directory structure.)
  • Page 365: Data Block Parts

    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.
  • Page 366 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the tag data for data block display using the tag setting No. TAGNO 1 to 64 Must be set (Refer to Section 6.3.3) ELMNO1 to Sets the component for data block display using the component 1 to 64 Must be set...
  • Page 367 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.
  • Page 368 7 USER SCREEN CREATION FUNCTION MELSEC-Q
  • Storage of HTML file Transfer the HTML file to the Web server module by performing FTP operation.
  • Page 369: Level Display Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.3 Level display parts The percentage (%) of the specified component value to the whole (maximum and minimum range) is displayed. (1) Specifications Item Description File name WSLevel. class Display shape Rectangular display Component type that can Single word, Double word, Real number be specified (An error occurs when Bit or String is specified.)
  • Page 370 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the tag data for level display using the setting No. (Refer to TAGNO 1 to 64 Must be set Section 6.3.3) Sets the component for level display using the component setting ELMNO 1 to 64 Must be set...
  • Page 371 7 USER SCREEN CREATION FUNCTION MELSEC-Q Creation of HTML file (File name: SMPLVLEN.HTM) The HTML source is indicated below. Sample screen for level display part ...
  • Page 372 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen display Display the sample screen. (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http://192.168.3.3/USER/SMPLVLEN.HTM] 7 - 13 7 - 13...
  • Page 373 7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.4 Graphic display parts The specified graphic is displayed when the component reaches the set value. (1) Specifications Item Description File name WSPictur. class Display file form JPEG, GIF Component type that Single word, Double word, Real number, Bit can be specified (An error occurs when String is specified.) Device setting value...
  • Page 374 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Setting Item Description Initial Value Range Sets the tag data for graphic display using the tag setting No. TAGNO 1 to 64 Must be set (Refer to Section 6.3.3) Sets the component for graphic display using the component ELMNO 1 to 64 Must be set...
  • Page 375: Graphic Display Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen for graphic display part

    Sample screen for graphic display part

  • Page 376 7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.5 Comment display parts The specified comment is displayed when the component reaches the set value. (1) Specifications Item Description File name WSCmt.class Number of display Up to 32 characters comment characters Component type that can Single word, Double word, Real number be specified (An error occurs when String is specified.)
  • Page 377 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the tag data for comment display using the tag setting No. TAGNO 1 to 64 Must be set (Refer to Section 6.3.3) Sets the component for comment display using the component ELMNO 1 to 64 Must be set...
  • Page 378: Comment Display Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q (3) Sample screen for comment display part The following provides an example of creating the sample screen that displays the comment display parts. The sample screen (SMPCMTEN.HTM) is stored in the USER directory of the Web server module.
  • Page 379 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen display (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http://192.168.3.3/USER/SMPCMTEN.HTM] 7 - 20 7 - 20...
  • Page 380: Audio Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.6 Audio parts Plays the specified audio file when the component reaches the set value. (1) Specifications Item Description File name WSAudio. class Play file form WAV, AU Component type that Single word, Double word, Real number, Bit can be specified (An error occurs when String is specified.) Device setting value...
  • Page 381 7 USER SCREEN CREATION FUNCTION MELSEC-Q 1 If any setting ranges are overlapped, the audio file with the smaller number is played. (For parameter PLAYMODE=0 (Stop)) Audio file to be played HIGH2 Audio 1 FILE1.WAV FILE2.WAV HIGH1 Audio 2 Since setting range 1 has FILE2.WAV priority, Audio 1 is played.
  • Page 382 7 USER SCREEN CREATION FUNCTION MELSEC-Q Item Description Setting Range Initial Value LOW2, HIGH2, Setting AUDIO2, REPEAT2, Set the setting range 2. (The setting is the same as the setting range 1) range 2 PLAYMODE2 LOW3, HIGH3, Setting AUDIO3, REPEAT3, Set the setting range 3.
  • Page 383 7 USER SCREEN CREATION FUNCTION MELSEC-Q (3) Sample screen for audio parts The following provides an example of creating the sample screen that displays the audio parts. The sample screen (SMPAUDEN.HTM) is stored in the USER directory of the Web server module. Tag setting (refer to Section 6.3.3) Set the component setting No.
  • Page 384 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen display Display the sample screen. (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http://192.168.3.3/USER/SMPAUDEN.HTM] 7 - 25 7 - 25...
  • Page 385 7 USER SCREEN CREATION FUNCTION MELSEC-Q (4) Precaution for using the audio parts Applet size The icons are displayed in the entire applet area. When displaying the status icons Specify values larger than the following for the applet size. width=20, height=20 Note that, when the width is less than 200, a space for error code display may not be sufficient in the event of an error.
  • Page 386: Historical Graph Display Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.7 Historical graph display parts The logging data are displayed in a time-series line graph. Up to 100 pieces of logging data can be displayed. The latest logged data is displayed at the right end. At the rightmost end of the graph, new data is automatically added every time logging is performed.
  • Page 387 7 USER SCREEN CREATION FUNCTION MELSEC-Q Item Description 1) Graphic display No. of graphs: GRAPHNO YLINE DSPLNCOLOR BKCOLOR UPPER ELMNO1 GRCOLOR1 XLINE ELMNO2 GRCOLOR2 ELMNO3 GRCOLOR3 LOWER POINT 2) Numeric display box: DSPDATA DSPCOLOR 2002/07/12 10:18:00 Display form (continue) Data 1 Data 2 Data 3 DSPBKCOLOR...
  • Page 388 7 USER SCREEN CREATION FUNCTION MELSEC-Q Item Description Setting Range Initial Value DSPCOLOR Sets the character color of the numeric value and time. String Black DSPBKCOLOR Sets the background color of the numeric value and time. String White DSPLNCOLOR Sets the display line color. String APLCOLOR Sets the background color (undrawn area) of the Java applet.
  • Page 389 7 USER SCREEN CREATION FUNCTION MELSEC-Q Creation of HTML file (File name: SMPHSGEN.HTM) The HTML source is indicated below. Sample screen for historical graph display part ...
  • Page 390 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen display Display the sample screen. (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http://192.168.3.3/USER/SMPHSGEN.HTM] (4) Precautions for using the historical graph display parts The vertical axis line intervals of the historical graph parts may not be constant depending on the display resolution and specified width of the historical graph display parts.
  • Page 391: Historical Data Display Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.8 Historical data display parts The logging data are displayed in the table form. Up to 100 pieces of logging data can be displayed. The latest logged data is displayed at the bottom end. At the lowest end of the graph, new data is automatically added every time logging is performed.
  • Page 392 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the logging data for historical data display using the logging LOGNO 1 to 64 Must be set setting No. (Refer to Section 6.4.4) XNO( 1) Sets the number of item components (columns).
  • Page 393 7 USER SCREEN CREATION FUNCTION MELSEC-Q Creation of HTML file (File name: SMPHSDEN.HTM) The HTML source is indicated below. Sample screen for historical data display part ...
  • Page 394 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen display Display the sample screen. (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http://192.168.3.3/USER/SMPHSDEN.HTM] 7 - 35 7 - 35...
  • Page 395: Write Button Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.9 Write button parts The specified value is written to the specified tag component. Only the user having the tag component write authority is allowed to write a value to a tag component with the write button part. Refer to Section 4.6.5 for the user authority.
  • Page 396 7 USER SCREEN CREATION FUNCTION MELSEC-Q Item Description Setting Range Initial Value Sets the character string to be displayed on the standard button File not set CAPTION (TYPE=0). String (Not (Invalid when the user specified button (TYPE=1) is selected.) displayed). Sets the character size to be displayed on the standard button FONTSIZE 8 to 72...
  • Page 397 7 USER SCREEN CREATION FUNCTION MELSEC-Q (3) Sample screen for write button part The following provides an example of creating the sample screen that displays the write button parts. The sample screen (Smpwbten.htm) is stored in the USER directory of the Web server module.
  • Page 398 7 USER SCREEN CREATION FUNCTION MELSEC-Q Storage of HTML file Transfer the HTML file to the Web server module by performing FTP operation. File storage destination: [/ROM/WWW/USER/ Smpwbten.htm] Sample screen display Display the sample screen. (Example) When accessing the Web server module by one-to-one connection Sample screen address: [http: //192.168.3.3/USER/ Smpwbten.htm]...
  • Page 399 7 USER SCREEN CREATION FUNCTION MELSEC-Q A user without the tag component write authority is not allowed to write a value to a tag component with the write button part. When a write is attempted, the following screen appears. When Device write disable request (YA) has been set to "Disable", writing to a tag component with the write button part is not available.
  • Page 400: Device Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.10 Device monitor parts A monitor screen having the same display form as in the device monitor of the standard screen is displayed. Refer to Section 6.2.1 for the device monitor. (1) Specifications Item Description File name DevMon.class...
  • Page 401: Tag Data Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.11 Tag data monitor parts A monitor screen having the same display form as in the tag data monitor of the standard screen is displayed. Refer to Section 6.2.2 for the tag data monitor. (1) Specifications Item Description...
  • Page 402: Logging Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.12 Logging monitor parts A monitor screen having the same display form as in the logging monitor of the standard screen is displayed. Refer to Section 6.2.3 for the logging monitor. (1) Specifications Item Description File name LogMon.class...
  • Page 403: Event History Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.13 Event history monitor parts A monitor screen having the same display form as in the event history monitor of the standard screen is displayed. Refer to Section 6.2.4 for the event history monitor. (1) Specifications Item Description...
  • Page 404: Plc Diagnostics Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.14 PLC diagnostics monitor parts A monitor screen having the same display form as in the PLC diagnostics monitor of the standard screen is displayed. Refer to Section 6.2.5 for the PLC diagnostics monitor. (1) Specifications Item Description...
  • Page 405: Self-Diagnostics Monitor Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.2.15 Self-diagnostics monitor parts A monitor screen having the same display form as in the self-diagnostics monitor of the standard screen is displayed. Refer to Section 6.2.6 for the self-diagnostics monitor. (1) Specifications Item Description File name UniMon.class...
  • Page 406: Ssi Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.3 SSI Parts This section explains the SSI parts. An SSI parts list is given below. Reference Part Name Function Section By embedding an SSI part in HTML, a tag component name or tag component SSI read parts Section 7.3.1 value is displayed.
  • Page 407 7 USER SCREEN CREATION FUNCTION MELSEC-Q Creation of HTML file (File name: Smprdsen.htm) The HTML source is indicated below. Sample screen for SSI read part ...
  • Page 408: Cgi Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.4 CGI Parts This section explains the CGI parts. A CGI parts list is given below. Reference Part Name Function Section When the button is clicked, the specified value is written to the tag component CGI write parts Section 7.4.1 value.
  • Page 409 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the tag, where a value will be written, with the tag setting No. TAGNO 1 to 64 Must be set (Refer to Section 6.3.3.) Sets the component, where a value will be written, with the ELMNO 1 to 64 Must be set...
  • Page 410 7 USER SCREEN CREATION FUNCTION MELSEC-Q 2 When a real number is written to the target component, a rounding error may be produced. (3) Sample screen for CGI write part The following provides an example of creating the sample screen that displays the CGI write parts.
  • Page 411 7 USER SCREEN CREATION FUNCTION MELSEC-Q Tag No.

    Component No.

    Value


    ...
  • Page 412 7 USER SCREEN CREATION FUNCTION MELSEC-Q Precautions for using the CGI write parts Writing a value to a tag component with the CGI write part may change the control of the programmable controller CPU. Ensure safety before execution. When CONFIRM = 1, the following confirmation screen appears. A user without the tag component write authority is not allowed to write a value to a tag component with the CGI write part.
  • Page 413: Cgi Read Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.4.2 CGI read parts When the button is clicked, the tag component value is read. (1) Specifications Item Description
    ...
  • Page 414 7 USER SCREEN CREATION FUNCTION MELSEC-Q (2) Parameter Item Description Setting Range Initial Value Sets the tag to be read with the tag setting No. TAGNO 1 to 64 Must be set (Refer to Section 6.3.3) Sets the component to be read with the component setting No. ELMNO 1 to 64 Must be set...
  • Page 415 7 USER SCREEN CREATION FUNCTION MELSEC-Q Creation of HTML file (File name: Smprdcen.htm) The HTML source is indicated below. Sample screen for CGI read part ...
  • Page 416: Disconnect Parts

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.4.3 Disconnect parts When the button is clicked, the Web server module is disconnected from the network. Refer to Section 5.4 for network connecting/disconnecting processing for non-continuous connection. (1) Specifications Item Description ...
  • Page 417 7 USER SCREEN CREATION FUNCTION MELSEC-Q Sample screen for disconnect part

    Sample screen for disconnect part

  • Page 418: User Part Errors

    7 USER SCREEN CREATION FUNCTION MELSEC-Q 7.5 User Part Errors If an error occurs in a user part (setting error, communication error, etc.), the corresponding error code is displayed in the user part display area. When an error occurred, the user part stops operating. (Example) When an error occurred in a data block part (Example) When an error occurred in an SSI read part (Example) When an error occurred in a CGI write part...
  • Page 419: Dedicated Instruction

    8 DEDICATED INSTRUCTION MELSEC-Q 8 DEDICATED INSTRUCTION The dedicated instructions are designed to facilitate programming for using the functions of the intelligent function module. 8.1 Dedicated Instruction List and Available Devices (1) Dedicated instruction list This chapter explains the following dedicated instructions. Reference Application Instruction...
  • Page 420 8 DEDICATED INSTRUCTION MELSEC-Q (3) Precautions for dedicated instructions When the Web server module is connected to a redundant CPU, dedicated instructions are not executable. If instruction execution is attempted, an "OPERATION ERROR" will occur in the redundant CPU. However, some of the dedicated instructions may be executable using the Web server module functionalities.
  • Page 421: Z(P).Wmsend

    8 DEDICATED INSTRUCTION MELSEC-Q 8.2 Z(P).WMSEND E-mail is sent with this instruction. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module Word Word K, H (S1) (S2) [Instruction [Execution code] condition] Command...
  • Page 422 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) b8 b7 1) Completion type (b7) Set whether or not the clock data will be set to (S1) + 11 to (S1) + 15 in the case of abnormal completion.
  • Page 423 8 DEDICATED INSTRUCTION MELSEC-Q Setting Setting side Device Item Setting data range ( 1) Upper 8 bit: Month (01 to 12 ), Lower 8 bit: Year (00 to 99 ) Last 2 (S1) + 12 digits of the year Clock data (S1) + 13 Upper 8 bit: Hour (00 to 23...
  • Page 424 8 DEDICATED INSTRUCTION MELSEC-Q The execution and normal/abnormal completion statuses of the WMSEND instruction can be confirmed using the completion device ((D) + 0) and completion status indication flag ((D) + 1). Completion device ((D) + 0) This device turns on in the END processing of the scan for which the WMSEND instruction is completed, and turns off in the next END processing.
  • Page 425 8 DEDICATED INSTRUCTION MELSEC-Q Program example Program with which the Web server module mounted in the position of I/O numbers X/Y00 to X/Y1F sends an e-mail when M20 is turned on. Main text included, logging data attached, clock data setting required Destination No.
  • Page 426: Z(P).Ftpput

    8 DEDICATED INSTRUCTION MELSEC-Q 8.3 Z(P).FTPPUT A file is transferred (PUT) from the Web server module to the FTP server with this instruction. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module...
  • Page 427 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) 1) Completion type (b7) Set whether or not the clock data will be set to (S1) + 11 to (S1) + 15 in the case of abnormal completion. 0: Not set Completion 1: Set...
  • Page 428 8 DEDICATED INSTRUCTION MELSEC-Q Function A tag data, logging data or user data file (binary/CSV) is transferred to the specified destination FTP server. Executing the same instruction during execution of the instruction is not allowed. (The second instruction will not be processed.) In this case, even if an error is detected, the completion device ((D) + 0) and completion status indication flag ((D) + 1) do not turn on.
  • Page 429 8 DEDICATED INSTRUCTION MELSEC-Q The name of the file transferred by the FTPPUT instruction is as follows. For tag data : TAG . CSV ( indicates tag setting No.) For logging data (current file): File name set in the logging setting For logging data (saved file) : Saved file name When sending the logging data or user data file, do not delete the target file until its transmission is completed.
  • Page 430: Z(P).Ftpget

    8 DEDICATED INSTRUCTION MELSEC-Q 8.4 Z(P).FTPGET A file is transferred (GET) from the FTP server to the Web server module with this instruction. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module...
  • Page 431 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) 1) Completion type (b7) Set whether or not the clock data will be set to (S1) + 11 to (S1) + 15 Completion in the case of abnormal completion. (As in the (S) + 0 type/transfer...
  • Page 432 8 DEDICATED INSTRUCTION MELSEC-Q Function A user data file (binary/CSV) is transferred from the specified source FTP server to the Web server module. Executing the same instruction during execution of the instruction is not allowed. (The second instruction will not be processed.) In this case, even if an error is detected, the completion device ((D) + 0) and completion status indication flag ((D) + 1) do not turn on.
  • Page 433 8 DEDICATED INSTRUCTION MELSEC-Q Error When the dedicated instruction is abnormally completed, the abnormal completion signal ((D) + 1) turns on and a corresponding error code is stored into the completion status ((S) + 1). Check the error status according to the error code and take corrective action. Refer to Section 9.3 for the error code.
  • Page 434: Z(P).Tag

    8 DEDICATED INSTRUCTION MELSEC-Q 8.5 Z(P).TAG A tag collection command is issued with this command. (A tag collection is triggered.) Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module Word Word K, H...
  • Page 435 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) (S) + 0 System area The status of the instruction completion is stored. Completion (S) + 1 : Normal completion System status Other than 0 : Abnormal completion (Error code) ( 2) Turn on the bit corresponding to the No.
  • Page 436 8 DEDICATED INSTRUCTION MELSEC-Q The execution and normal/abnormal completion statuses of the TAG instruction can be confirmed using the completion device ((D) + 0) and completion status indication flag ((D) + 1). Completion device ((D) + 0) This device turns on in the END processing of the scan for which the TAG instruction is completed, and turns off in the next END processing.
  • Page 437: Z(P).Log

    8 DEDICATED INSTRUCTION MELSEC-Q 8.6 Z(P).LOG A logging command is issued with this command. (A logging is triggered.) Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module Word Word K, H [Instruction [Execution...
  • Page 438 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) (S) + 0 System area The status of the instruction completion is stored. Completion (S) + 1 : Normal completion System status Other than 0 : Abnormal completion (Error code) ( 2) Turn on the bit corresponding to the No.
  • Page 439 8 DEDICATED INSTRUCTION MELSEC-Q The execution and normal/abnormal completion statuses of the LOG instruction can be confirmed using the completion device ((D) + 0) and completion status indication flag ((D) + 1). Completion device ((D) + 0) This device turns on in the END processing of the scan for which the LOG instruction is completed, and turns off in the next END processing.
  • Page 440: Z(P).Logdel

    8 DEDICATED INSTRUCTION MELSEC-Q 8.7 Z(P).LOGDEL The saved file of logging data is deleted with this instruction. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module Word Word K, H [Instruction [Execution code]...
  • Page 441 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) Set the execution type. (b8) 0: Deletes one saved file of logging data according to the setting made (As in the (S) + 0 Execution type in (S) + 3 to (S) + 4.
  • Page 442 8 DEDICATED INSTRUCTION MELSEC-Q [Operation at execution of LOGDEL instruction] When the LOGDEL instruction is completed, the completion device (bit device) set in ((D) + 0) turns on in the END processing of the completed scan, and turns off in the next END processing.
  • Page 443: Z(P).Wfwrite

    8 DEDICATED INSTRUCTION MELSEC-Q 8.8 Z(P).WFWRITE The device data of the programmable controller CPU are written to the user data file of the CompactFlash card. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others...
  • Page 444 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) Specify the execution type. 0000 (S1) + 0 Execution type 0000 : Binary write User 0100 0100 : CSV format conversion write The status of the instruction completion is stored. Completion (S1) + 1 System...
  • Page 445 8 DEDICATED INSTRUCTION MELSEC-Q Send data Setting Setting side Device Item Setting data range ( 1) (S2) + 0 Written data Specify the data to be written. User (S2) + n FFFF 1 The setting side is as follows. • User : Data are set by the user before execution of the dedicated instruction.
  • Page 446 8 DEDICATED INSTRUCTION MELSEC-Q [Operation at execution of WFWRITE instruction] When the WFWRITE instruction is completed, the completion device (bit device) set in ((D) + 0) turns on in the END processing of the completed scan, and turns off in the next END processing. When an error occurs, the completion device set in ((D) + 1) turns on and an error code is stored into the completion status (word device) set in ((S1) + 1).
  • Page 447 8 DEDICATED INSTRUCTION MELSEC-Q Program example Program with which the Web server module mounted in the position of I/O numbers X/Y00 to X/Y1F adds 2-word binary data, 0100 and 0302 , to "ABCD.BIN" in the "/CF/USER/" directory when M26 is turned on. Execution type Number of data to be written...
  • Page 448: Z(P).Wfread

    8 DEDICATED INSTRUCTION MELSEC-Q 8.9 Z(P).WFREAD The user data file of the CompactFlash card is read to the device data of the programmable controller CPU. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others...
  • Page 449 8 DEDICATED INSTRUCTION MELSEC-Q Control data Setting Setting side Device Item Setting data range ( 1) Specify the execution type. 0000 (S) + 0 Execution type 0000 : Binary read User 0100 0100 : CSV format conversion reads The status of the instruction completion is stored. Completion (S) + 1 : Normal completion...
  • Page 450 8 DEDICATED INSTRUCTION MELSEC-Q Read data Setting Setting side Device Item Setting data range ( 1) (D1) + 0 Read data The read data are stored. System (D1) + n 1 The setting side is as follows. • User : Data are set by the user before execution of the dedicated instruction. •...
  • Page 451 8 DEDICATED INSTRUCTION MELSEC-Q [Operation at execution of WFREAD instruction] When the WFREAD instruction is completed, the completion device (bit device) set in ((D2) + 0) turns on in the END processing of the completed scan, and turns off in the next END processing.
  • Page 452 8 DEDICATED INSTRUCTION MELSEC-Q Program with which the Web server module mounted in the position of I/O numbers X/Y00 to X/Y1F reads the "ABCD.CSV" file in the "/CF/USER/" directory as a 2-column CSV format file when M29 is turned on. Execution type Number of data to be read...
  • Page 453: Z(P).Wfdel

    8 DEDICATED INSTRUCTION MELSEC-Q 8.10 Z(P).WFDEL The user data file of the CompactFlash card is deleted with this instruction. Applicable device Intelligent Internal device Link direct device Setting Index Constant File function (System, User) data register Others register module Word Word K, H [Instruction...
  • Page 454 8 DEDICATED INSTRUCTION MELSEC-Q 1 The setting side is as follows. • User : Data are set by the user before execution of the dedicated instruction. • System : The execution result of the dedicated instruction is stored by the programmable controller CPU.
  • Page 455 8 DEDICATED INSTRUCTION MELSEC-Q Error When the dedicated instruction is abnormally completed, the abnormal completion signal ((D) + 1) turns on and a corresponding error code is stored into the completion status ((S) + 1). Check the error status according to the error code and take corrective action. Refer to Section 9.3 for the error code.
  • Page 456: Trouble Shooting

    9 TROUBLE SHOOTING MELSEC-Q 9 TROUBLE SHOOTING 9.1 Trouble Shooting First check the module status and network connection status of the Web server module according to (1) and (2) in this section, and then read the troubleshooting of the corresponding function. (1) Troubleshooting on LED display and I/O signal Symptom Check point...
  • Page 457 9 TROUBLE SHOOTING MELSEC-Q (2) Troubleshooting on network connection (a) Common, LAN connection Symptom Check point Corrective action  Check the URL. The URL is not correct.  Set the mode to "Online". The mode is not "Online".  Connect the Web server module to the The Web server module is not connected to Access to the Web the network.
  • Page 458 9 TROUBLE SHOOTING MELSEC-Q (3) Troubleshooting on monitor display Symptom Check point Corrective action  Check the module status and network Web screen is not The Web server module is not connected to connection status of the Web server displayed. (Sounds are the network correctly.
  • Page 459 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action  Delete the temporary Internet files of the An old administrative menu screen is Check if temporary Internet files have been Web browser and JAVA VM. Then display displayed.
  • Page 460 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action  Take a screen shot of the Web screen, Unable to print a Web Web browser's print function was used for paste it on graphics editing software and screen (Web browser printing.
  • Page 461 9 TROUBLE SHOOTING MELSEC-Q (4) Troubleshooting on device test and tag component test Symptom Check point Corrective action  Access using the account with device write The account without device write authority Device test cannot be was used to access. authority.
  • Page 462 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action  After the Web screen is fully displayed, wait for several seconds then switch or update the screen. (Refer to Operating Instructions "Precautions for access to Web server The screen was switched or updated while module"...
  • Page 463 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action  Delete the file and perform the usual operation. Even if a file is created, the Web server module operates normally.  To avoid the file creation, perform either of A file named the following operations.
  • Page 464 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action ® Logging file cannot be Check that Microsoft Office 2007/2010 or Open the logging file after clicking the ® ® opened with the Open file button to open the file and saving Microsoft Excel 2007/2010 is used.
  • Page 465 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Symptom Check point Corrective action  Check the access target CPU setting. The access target CPU setting is not correct. (Refer to Section 4.6.7)  Check the event setting (condition, etc.). The event setting is not correct. (Refer to Section 6.5.3) ...
  • Page 466 9 TROUBLE SHOOTING MELSEC-Q (9) Troubleshooting on data management and CompactFlash card Symptom Check point Corrective action The CompactFlash card has not been  Format the CompactFlash card. Data cannot be backed up formatted. onto the CompactFlash  Wait until the access of the standard ROM The standard ROM or CompactFlash card card.
  • Page 467 9 TROUBLE SHOOTING MELSEC-Q (11) Troubleshooting on file system Symptom Check point Corrective action  A battery error has occurred. Web server module  When a battery error occurs, replace the does not start up. (Refer to Section 4.10)  During operation without battery, the battery.
  • Page 468: Error Codes

    9 TROUBLE SHOOTING MELSEC-Q 9.2 Error Codes This section explains the error code. 9.2.1 About error code (1) Checking the ERR. LED on the front of the Web server module Check the ERR. LED on the front panel of the Web server module for an error. : Module continue error has occurred.
  • Page 469 9 TROUBLE SHOOTING MELSEC-Q REMARKS How to turn off the ERR. LED is explained below. (1) Turning on Error clear request (Y10) during module continue error occurrence (while the ERR. LED is on) turns off the ERR. LED and turns off X10 to X19 and X1C.
  • Page 470: System Monitor

    9 TROUBLE SHOOTING MELSEC-Q 9.2.2 System monitor The Web server module status can be checked from the System monitor. (1) Checking the module status and error code on the "Module's Detailed Information" screen of the diagnostics function [Start-up procedure] GX Developer [Diagnostics] [System monitor] "Module's detailed...
  • Page 471 9 TROUBLE SHOOTING MELSEC-Q (2) Checking the LED ON/OFF status and switch setting status on the "H/W Information screen" of the diagnostics function [Start-up procedure] GX Developer [Diagnostics] [System monitor] "Module's detailed information" "H/W information" [Display details] The Web server module data stored in the following buffer memory areas are displayed.
  • Page 472: Error Code List

    9 TROUBLE SHOOTING MELSEC-Q 9.3 Error Code List The error code list is indicated on subsequent pages. [Error type] The errors are divided into the following three types. (1) Module stop error (Displayed as "Stop" in the table) The ERR. LED flickers. When a module stop error occurs, the following functions of the Web server module will stop.
  • Page 473 9 TROUBLE SHOOTING MELSEC-Q Table Error Code List Error Error name Error definition Corrective action Error type code  System error ( 1) 0001h System error Continue  Check the access target CPU setting. (Refer to Section 4.6.7)  Check the communication cable status and access target CPU status.
  • Page 474 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the CPU in the access path. 0067h Data receive error Failed to receive data. Continue  Check the CPU in the access path. 0080h Read size error The read size is abnormal.
  • Page 475 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the hardware of the The receive buffer of the access 00EAh Special module BUSY target is full or is not ready for intelligent (special) function Continue reception.
  • Page 476 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  After initialization of the module is System setting file read Failed to read the system setting complete (Refer to Section 4.13), 0301h Stop error...
  • Page 477 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Replace the modem with the one that is compatible with the flow control command. Flow control command The modem is not compatible with (Refer to Section 4.6.4 (6)) 0312h Continue...
  • Page 478 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Input the phone number in Access point The phone number of the access "Access point" of the dial-up 0318h Continue specification error point has not specified.
  • Page 479 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check whether the UPnP router is powered on.  Check the cable connected to up UPnP router detection 0341h Failed to detect the UPnP router. Continue fault to the UPnP router.
  • Page 480 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the item of the file displayed in Status on the data The setting referred to by the item management screen, and 0436h Reference error Display...
  • Page 481 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the free space of the CF An error occurred during execution of "backup" of the data card.  Check whether the CF card is set management.
  • Page 482 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code At start-up or setting update, the following was detected.  The tag name with no setting was specified in the logging Stop setting or tag event setting.
  • Page 483 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  After initializing the module (refer Access target CPU The access target CPU setting file to Section 4.13), make the 0607h Stop setting file error is missing or destroyed.
  • Page 484 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code At start-up or setting update, the  By FTP operation (refer to following was detected. Stop Section 6.7), delete unnecessary  Failed to create a file. files to secure a free space in the 0612h File creation error...
  • Page 485 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Update the setting again.  Reduce the load for Setting update time-out Since the module load is too high 0618h tag/logging/event monitor Display error the time for setting update ran out.
  • Page 486 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code At start-up or setting update, the following was detected. Stop  Accessing an unformatted CF card was attempted. At other than start-up or setting update, the following was detected in the logging function, dedicated Continue...
  • Page 487 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code At start-up or setting update, the following was detected.  File access was attempted Stop during "backup" in Data management. At other than start-up or setting update, the following was detected in the logging function or ...
  • Page 488 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code The network No., start I/O Network address, or station No. set in  Check the access target CPU 0627h communication route "Network communication route" of Stop setting.
  • Page 489 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  After initializing the module (refer Invalid setting was made in Logging specification "Timing" of the logging setting, or to Section 4.13), perform the 0632h Stop error...
  • Page 490 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code Tag event monitor The component specified in  Check the tag event setting. 063Fh component non-setting "Component name" of the tag Stop (Refer to Section 6.5.3) error event setting does not exist.
  • Page 491 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the logging setting. There are more than one logging (Refer to Section 6.4.4) Duplicate high speed  Initialize the module (refer to setting in which high speed 064Ah logging specification...
  • Page 492 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code 06A0h Stop  System error ( 1) 06A1h System error Continue 06A2h Continue  By FTP operation (refer to Section 6.7), delete unnecessary Failed to change (rename) a files to secure a free space in the 06A3h...
  • Page 493 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Delete unnecessary files. The disk has run out of a free 070Ch Disk full Display  Replace the CF card. area. ...
  • Page 494 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the FTP setting. (Refer to Section 6.7.3)  Check the network connection status by the PING test. FTP server control port Failed to connect to the control (Refer to Section 6.11) 0804h...
  • Page 495 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  After initializing the module (refer The e-mail setting file is missing or to Section 4.13), perform the e- Stop destroyed. mail setting (refer to Section 0810h E-mail setting file error 6.6.3) again.
  • Page 496 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the E-mail setting. (Refer to Section 6.6.3)  Check the connection with the mail server.  Check the mail server status of the send destination.
  • Page 497 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the e-mail setting. (Refer to Section 6.3.3)  Check the connection with the Failed to connect to the mail 081Bh POP server login error mail server.
  • Page 498 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code Device write disable Execution of the tag component  Turn off Device write disable 0908h (tag component test) test was attempted when Device Display request (YA) and execute again.
  • Page 499 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the device in the An incorrect device (that cannot Device specification 0A0Ch be handled) was specified in the component setting. (Refer to Display error component setting.
  • Page 500 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the setting of the The data type of the component Type check error specified in the user part is component specified in the user 0B03h Display incorrect.
  • Page 501 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code  Check the setting of the The form of the data being component specified in the user 0B10h Display String format error monitored is incorrect.
  • Page 502 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code Errors detected by the serial communication module 7000h Refer to the following manuals. Continue • User's manual of serial communication module being used 7FFFh •...
  • Page 503 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code E000h Errors detected in CC-Link IE Controller Network Continue Refer to the CC-Link IE Controller Network Reference Manual. EFFFh F000h Errors detected in the MELSECNET/H, MELSECNET/10 network system Continue Refer to the MELSECNET/H, MELSECNET/10 Network System Reference Manual.
  • Page 504 9 TROUBLE SHOOTING MELSEC-Q (From the previous page) Error Error name Error definition Corrective action Error type code The memory cassette has not  Confirm the memory cassette of been set to the accessed CPU FFF2h Memory cassette error Continue module, or an improper memory the access target CPU.
  • Page 505: Appendices

    APPENDICES MELSEC-Q APPENDICES Appendix 1 External Dimensions ( 1) 23 (0.91) 90 (3.54) 27.4 (1.08) Cable's outside diameter X 4 + 10 ( 2) (Unit: mm (in.)) 1 The bending radius near the connectors (reference value: R1) should be four times as long as the cable's outside diameter or more when connecting the twisted pair cable.
  • Page 506: Appendix 2 Accessible Devices And Ranges

    APPENDICES MELSEC-Q Appendix 2 Accessible Devices and Ranges This section provides information on the accessible devices and accessible ranges. (1) Accessible CPU module PLC series( 7) Model Basic model QCPU Q00JCPU, Q00CPU, Q01CPU High Performance Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU model QCPU Process CPU Q02PHCPU ( 2), Q06PHCPU ( 2), Q12PHCPU, Q25PHCPU...
  • Page 507 APPENDICES MELSEC-Q (2) Accessible routes (a) Single network Web server Network module module Networks 2 to 7 Request Relay Relay source Networks 1 Networks 8 Access target CPU station station Network communication route The network is any of CC IE Control, NET/10(H), Ethernet, or CC IE Field. The following lists CPU modules that can be used on the network communication route.
  • Page 508 APPENDICES MELSEC-Q Web server Network module module Request Access target CPU source C24 multidrop CC-Link Network communication route The following lists CPU modules that can be used on the network communication route. Use a QCPU (Q mode) or RCPU as a control CPU for the Web server Request source module and network module.
  • Page 509 APPENDICES MELSEC-Q (b) Different network Web server Network module module Networks 2 to 7 C24 multidrop CC-Link Request Relay Relay Relay Networks 1 Networks 8 Access target CPU source station station station Network communication route Different network communication route The network is any of CC IE Control, NET/10(H), Ethernet, or CC IE Field. The following lists CPU modules that can be used on the network communication route and different network communication route.
  • Page 510 APPENDICES MELSEC-Q Access target CPU (PLC series) Network Different network RCPU communication communication QCPU (Q mode) QCPU (A mode), C Controller LCPU QnACPU ( 9) route route ( 6) ACPU module CC IE Control, ( 5) ( 10) NET/10(H) ( 1) CC-Link, C24 ( 1) ( 1)
  • Page 511 APPENDICES MELSEC-Q (3) Accessible device Device QCPU QCPU RCPU 16 LCPU QnACPU ACPU Controller (Device name) (Q mode) (A mode) module Function input (FX) Function output (FY) Function register (FD) Special relay (SM) (M) Special register (SD) (D) Input relay (X) Output relay (Y) Internal relay (M) Latch relay (L)
  • Page 512 APPENDICES MELSEC-Q (From the previous page) Device QCPU QCPU RCPU 16 LCPU QnACPU ACPU Controller (Device name) (Q mode) (A mode) module File register (ZR) (ERn\R) 5 10 Link input (Jn\X) Link output (Jn\Y) Link relay (Jn\B) Link direct Link special relay (Jn\SB) device Link register (Jn\W) Link special register (Jn\SW)
  • Page 513 APPENDICES MELSEC-Q 13 When the access target CPU is Q12DCCPU-V, the access is not possible. 14 Newly added devices in RCPU cannot be accessed. 15 When the access target CPU is RCPU, only the device within the range of U3En\G0 to 9999 can be accessed. 16 When the access target CPU is RCPU, the device within the range that can be set for QCPU (Q mode) or C Controller module can be accessed.
  • Page 514: Appendix 3 Directory Structure

    APPENDICES MELSEC-Q Appendix 3 Directory Structure Data such as logging data or event historical data are stored as files in the standard ROM or CompactFlash card of the Web server module. Each file is managed in directory unit, and the access authority is required for the user to access the directory file via Web or FTP.
  • Page 515 APPENDICES MELSEC-Q (2) Access authority by directory The following table indicates the access authority by directory. With Administrator Without Administrator Authority Authority Directory Name Description FTP route /ROM/ Standard ROM /WWW/ HTTP home directory top page storage directory /LOGGING/ Logging data storage directory /EVENT/ Event historical data storage directory User-created screen directory...
  • Page 516: Appendix 4 Applicable Characters And Ascii Code Tables By Setting Items

    APPENDICES MELSEC-Q Appendix 4 Applicable Characters and ASCII Code Tables by Setting Items (1) ASCII code table (SP) " & < > (2) ASCII characters (User name, password, server name, e-mail address, directory path, external device name, etc.) Alphanumeric characters can be used. (However, "...
  • Page 517 APPENDICES MELSEC-Q (3) File name, directory name The ASCII characters other than \ / : , ; ? " < > | can be used. The hatched area is available. (SP) " & < > (4) Phone number , -, 0 to 9, P and p can be used. The hatched area is available.
  • Page 518 APPENDICES MELSEC-Q (5) Characters CPU name, Tag name, Component name and Comment display parts All characters can be used. (However, " (double quotation) is not available.) (Also, "," (comma) is not available (with the exception of the comment display parts.)) E-mail main text in the event setting, system name All characters can be used.
  • Page 519: Appendix 5 Improvement Of Web Server Module Functions

    APPENDICES MELSEC-Q Appendix 5 Improvement of Web Server Module Functions This section explains the functions added to/changed from the old version by the improvement of the Web server module functions, and provides the precautions for replacing the old version with the new version. Appendix 5.1 Functions added to/changed from old version This section explains the functions added to/changed from the old version.
  • Page 520 APPENDICES MELSEC-Q (From the previous page) Reference Added/Changed Function Description Section  The following items were added. 1) "Open file" button 2) The "Points" pull-down menu was added to the graph display  A change was made to automatically set the upper and lower scale values.
  • Page 521 APPENDICES MELSEC-Q (From the previous page) Reference Added/Changed Function Description Section  The following applet parts were added. 1) Write button parts 2) Device monitor parts 3) Tag data monitor parts 4) Logging monitor parts 5) Event history monitor parts 6) PLC diagnostics monitor part 7) Self-diagnostics monitor parts ...
  • Page 522 APPENDICES MELSEC-Q (3) Module with first 5 digits of serial No. 09012 or later Reference Added/Changed Function Description Section  Redundant CPUs were added to applicable systems. System configuration Section 2.1 (4) Module with first 5 digits of serial No. 09042 or later Reference Added/Changed Function Description...
  • Page 523 APPENDICES MELSEC-Q (8) Module with first 5 digits of serial No. 14022 or later Reference Added/Changed Function Description Section  The Q12DCCPU-V has been added to applicable systems. System configuration Section 2.1  The following browser (Java VM) is supported. Performance specifications Section 3.1 Oracle JRE(J2SE) v1.6.0_29...
  • Page 524: Appendix 5.2 Precautions For Replacing The Old Version With The New Version

    APPENDICES MELSEC-Q Appendix 5.2 Precautions for replacing the old version with the new version (1) Replacing a module with the first 5 digits of serial No. 05111 or earlier with a module with the first 5 digits of serial No. 05112 or later (a) Restoration of setting information file The setting information file of the module with the first 5 digits of serial No.
  • Page 525 APPENDICES MELSEC-Q 1 When the above user parts are used on the module whose first 5 digits of serial No. are 05111 or earlier, they operate with the initial values indicated above. 2 Be sure to set ELMNO1. Failure to do so will result in an error. Set ELMNO1 to ELMNO64 consecutively.
  • Page 526 APPENDICES MELSEC-Q (4) Replacing a module with the first 5 digits of serial No. 16071 or earlier with a module with the first 5 digits of serial No. 16072 or later (a) Restoration of setting information file The setting information file of the module with the first 5 digits of serial No. 16071 or earlier can be restored to the module with the first 5 digits of serial No.
  • Page 527: Appendix 6 Setting Information File Formats

    APPENDICES MELSEC-Q Appendix 6 Setting Information File Formats This section explains the setting information file formats used for the CSV export/import function. When editing a setting information file using a spreadsheet software, etc., change the setting items according to the corresponding setting information file format indicated in this section.
  • Page 528: Appendix 6.2 Setting Information File Formats And Editing Precautions

    APPENDICES MELSEC-Q Appendix 6.2 Setting information file formats and editing precautions This section explains the setting information file formats and editing precautions. The examples given in this section assume that setting information files are displayed on a spreadsheet program. (1) Setting information file formats There are two different setting information file formats: one consisting of a label column and setting area and the other consisting of a label column, item row and setting area.
  • Page 529 APPENDICES MELSEC-Q (2) Precautions for editing a setting information file (a) Space All spaces are regarded as part of the item. An error will occur if a space is used in an inapplicable setting item. (b) Upper case/lower case The setting information files are case-sensitive. (c) Special characters 1) "Line feed"...
  • Page 530 APPENDICES MELSEC-Q (3) How to use the setting information file formats The following describes how to use the setting information file formats given in this section and later. Indicates the file name and corresponding setting screen. Indicates the setting screen corresponding to the label column and item row in the file format, and its explanation.
  • Page 531: Appendix 6.3 System.csv (System Setting)

    APPENDICES MELSEC-Q Appendix 6.3 SYSTEM.CSV (System setting) (1) File format Item Description File name SYSTEM. CSV File contents System setting (Refer to Section 4.6.3) NWTYPE IPTYPE AUTO IPADDRESS SUBNET GATEWAY DNSTYPE AUTO DNS1 DNS2 HTTPTYPE DEFAULT HTTPPORT HTTPNAT File format FTPTYPE DEFAULT FTPPORT...
  • Page 532 APPENDICES MELSEC-Q Item Description [System setting] File format (Continued) (2) Label Setting Label Description Set value requirement Connecting through LAN or the router. Network type NWTYPE setting Dial-up to the network.(modem, DIALUP ADSL) Obtain an IP address AUTO IP address automatically.
  • Page 533 APPENDICES MELSEC-Q Setting Label Description Set value requirement When "AUTO" is selected at (Blank) IPTYPE IPADDRESS IP address When "SPECIFY" is selected at IP address (decimal) IPTYPE When "AUTO" is selected at (Blank) IPTYPE SUBNET Subnet mask When "SPECIFY" is selected at Subnet mask (decimal) IPTYPE When "AUTO"...
  • Page 534 APPENDICES MELSEC-Q Setting Label Description Set value requirement When " DEFAULT " is selected at (Blank) FTP port FTPTYPE FTPPORT number When "SPECIFY" is selected at 1024 to 65535 FTPTYPE Register the Mark above port No. FTPNAT to the router's Do not mark NAT.
  • Page 535: Appendix 6.4 Dialup.csv (Dial-Up Setting)

    APPENDICES MELSEC-Q Appendix 6.4 DIALUP.CSV (Dial-up setting) (1) File format Item Description File name DIALUP. CSV File contents Dial-up setting (Refer to Section 4.6.4) CMETHOD MODEM USERNAME USERNAME PASSWORD PASSWORD NUMBER1 012-3456-7890 NUMBER2 012-3456-7891 NUMBER3 DMETHOD TONE RETRY CHANGEPOINT SPEED 9600 TIMEOUT PAUSE...
  • Page 536 APPENDICES MELSEC-Q (2) Label Setting Label Description Set value requirement MODEM Modem Connection ADSL CMETHOD ADSL method DOPA Dopa (Japan only) 1 to 128 characters or USERNAME User name (Blank) 1 to 128 characters or PASSWORD Password (Blank) 1 to 20 (Applicable When "MODEM"...
  • Page 537 APPENDICES MELSEC-Q Setting Label Description Set value requirement 9600, 19200, 38400, 57600, When "MODEM" or "DOPA" is 115200 Communication selected at CMETHOD SPEED speed When "ADSL" is selected at (Blank) CMETHOD When "MODEM" or "DOPA" is 90 to 180 (unit : seconds) selected at CMETHOD TIMEOUT Calling timeout...
  • Page 538: Appendix 6.5 Cpu.csv (Access Target Cpu Setting)

    APPENDICES MELSEC-Q Appendix 6.5 CPU.CSV (Access target CPU setting) (1) File format Item Description File name CPU. CSV File contents Access target CPU setting (Refer to Section 4.6.7) ITEM CPUNAME SERIES MULTI CPU OTHER STATION NET1 CPU1 Contorol CPU QCPU CPU2 Assembler QCPU...
  • Page 539 APPENDICES MELSEC-Q (3) Setting items Setting Item Description Set value requirement Within 16 characters CPUNAME CPU name QCPU QCPU (Q mode)/RCPU QCPUA QCPU (A mode) LCPU SERIES PLC series LCPU QNACPU QnACPU ACPU ACPU No specification CPU No.1 When "QCPU" is selected at CPU No.2 Multiple CPU...
  • Page 540 APPENDICES MELSEC-Q Setting Item Description Set value requirement When "NET10" or 1 to 120 "ETHERNET" is When "SINGLE" selected at NET1 When "CCLINK" is 0 to 63 "DIFFERENT" is selected at NET1 selected at STATION1 Station No. When "C24" is OTHER 0 to 31 selected at NET1...
  • Page 541 APPENDICES MELSEC-Q When other than "QCPU" is selected at SERIES, "NO" cannot be set. Doing so will result in an error. The following restrictions apply to the setting values of NET1 and NET2, depending on a combination of the setting items. If a value other than those that can be set is set, an error occurs.
  • Page 542: Appendix 6.6 Tag.csv (Tag Setting)

    APPENDICES MELSEC-Q Appendix 6.6 TAG.CSV (Tag setting) (1) File format Item Description File name TAG. CSV File contents Tag setting (Refer to Section 6.3.3) ITEM TAGNAME SAMPLING INTERVAL BEFORE LOGGING WRITE COMPNUM TAG1 Line A EXECUTE ENABLE TAG2 Line B HIGHSPEED ENABLE TAG5...
  • Page 543 APPENDICES MELSEC-Q Setting Item Description Set value requirement When "NOT" is selected at (Blank) SAMPLING Sampling When "EXECUTE" is selected at 1 to 32767 (unit : seconds) INTERVAL Interval SAMPLING When "HIGHSPEED" is selected 1 to 600 (unit: 100ms) at SAMPLING Mark Update before BEFORE LOGGING...
  • Page 544: Appendix 6.7 Component.csv (Tag Setting - Component Setting)

    APPENDICES MELSEC-Q Appendix 6.7 COMPONENT.CSV (Tag setting - Component setting) (1) File format Item Description File name COMPONENT. CSV File contents Tag setting - Component setting (Refer to Section 6.3.3) ITEM COMPNAME CPUNO DATATYPE DEVICE FORMAT COMPONENT1-1 Valve COMPONENT1-2 Flow rate SINGLE D1003 COMPONENT64-1...
  • Page 545 APPENDICES MELSEC-Q (3) Setting items Setting Item Description Set value requirement Within 16 characters COMPNAME Component name 1 to 64 (fixed to 1 for high CPUNO CPU name (Access target CPU setting No.) speed sampling tag) SINGLE Single word DOUBLE Double word REAL Real number...
  • Page 546: Appendix 6.8 Logging.csv (Logging Setting)

    APPENDICES MELSEC-Q Appendix 6.8 LOGGING.CSV (Logging setting) (1) File format Item Description File name LOGGING. CSV File contents Logging setting (Refer to Section 6.4.4) ITEM TAGNO FILENAME SAVEIN TIMING INTERVAL TIME LOGGING1 ALINE LOGGING2 BLINE INTERVAL LOGGING5 CLINE TIME 00:00:00 LOGGING60 DLINE TIME...
  • Page 547 APPENDICES MELSEC-Q Item Description [Logging setting] File format (Continued) (2) Label Label Description LOGGING1 to Set the items of logging setting No. 1 to 64. LOGGING64 Enter only the necessary labels. (Labels that are not set need not be entered.) App - 43 App - 43...
  • Page 548 APPENDICES MELSEC-Q (3) Setting items Setting Item Description Set value requirement 1 to 64 TAGNO Tag name (tag setting No.) 1 to 8 characters FILENAME File name Standard ROM Save in CompactFlash card SAVEIN Fixed to "CompactFlash card" when the label is any of LOGGING5 to LOGGING64 or high speed logging has been set.
  • Page 549 APPENDICES MELSEC-Q Setting Item Description Set value requirement When "CPUEVENT" is selected 1 to 64 at START When "TAGEVENT" is selected 1 to 256 at START Event setting STARTEVTNO When "TIMEEVENT" is selected 1 to 16 at START When other than the above is (Blank) selected at START When "CPUEVENT"...
  • Page 550 APPENDICES MELSEC-Q Setting Item Description Set value requirement When "CPUEVENT" is selected at STOP When "TAGEVENT" is selected 0 to 32767 (unit : seconds) The specified at STOP STOPAFTER time after event When "TIMEEVENT" is selected occurrence at STOP When other than the above is (Blank) selected at STOP ...
  • Page 551 APPENDICES MELSEC-Q Setting Item Description Set value requirement Mark Saved files ADDNAME names : Add the name Do not mark Mark Saved files ADDDATE names : Add the date Do not mark Mark Saved files ADDTIME names : Add the time Do not mark 1 to 1000...
  • Page 552 APPENDICES MELSEC-Q Specify the tag setting No. set to the label of TAG.CSV. An error will occur if the specified tag setting No. does not exist in TAG.CSV. High speed logging is performed when "Execute at high speed" is selected for the specified tag setting No.
  • Page 553: Appendix 6.9 Ftp.csv (Ftp Setting)

    APPENDICES MELSEC-Q Appendix 6.9 FTP.CSV (FTP setting) (1) File format Item Description File name FTP. CSV File contents FTP setting (Refer to Section 6.7.3) ITEM SERVERNAME USERNAME PASSWORD DIRECTORY FTP1 111.222.111.222 USER1 PASSWORD1 FTP5 [email protected] USER2 PASSWORD2 /DATA/ FTP10 11.22.11.22 USER3 PASSWORD3 /DATA/XYZ/...
  • Page 554: Appendix 6.10 Email.csv (E-Mail Setting)

    APPENDICES MELSEC-Q Appendix 6.10 EMAIL.CSV (E-mail setting) (1) File format Item Description File name EMAIL. CSV File contents E-mail setting (Refer to Section 6.6.3) SMTPSERVER abc.ne.jp SMTPPORTTYPE DEFAULT SMTPPORT FROM [email protected] USERNAME PASSWORD SMTPAUTH POPBEFORESMTP POPSERVER POPPORTTYPE POPPORT [email protected] [email protected] File format [email protected] [email protected]...
  • Page 555 APPENDICES MELSEC-Q Item Description [E-mail setting] File format (Continued) App - 51 App - 51...
  • Page 556 APPENDICES MELSEC-Q (2) Label Setting Label Description Set value requirement 1 to 64 characters SMTPSERVER SMTP server name Use the default SMTP port DEFAULT number (25). SMTP server SUBMISSION SMTPPORTTYPE Use the SMTP port number (587). setting Use the following SMTP port SPECIFY number.
  • Page 557: Appendix 6.11 Event.csv (Event Setting - Common Setting)

    APPENDICES MELSEC-Q Appendix 6.11 EVENT.CSV (Event setting - Common setting) (1) File format Item Description File name EVENT.CSV File contents Event setting - Common setting (Refer to Section 6.5.3) CPUEVT TAGEVT 1000 TIMEEVT Label column : Cannot be set by the user. Setting area : Set by the user.
  • Page 558: Appendix 6.12 Cpuevt.csv (Event Setting - Cpu Event Setting)

    APPENDICES MELSEC-Q Appendix 6.12 CPUEVT.CSV (Event setting - CPU event setting) (1) File format Item Description File name CPUEVT.CSV File contents Event setting - CPU event setting (Refer to Section 6.5.3) ITEM CPUNO INTERVAL NSTOP NRUN WSTOP WRUN SERROR CPUEVT1 CPUEVT2 CPUEVT5 CPUEVT60...
  • Page 559 APPENDICES MELSEC-Q Item Description [Event setting - CPU event setting] File format (Continued) (2) Label Label Description CPUEVT1 to Set the items of CPU event setting No. 1 to 64. CPUEVT64 Enter only the necessary labels. (Labels that are not set need not be entered.) (3) Setting items Setting Item...
  • Page 560 APPENDICES MELSEC-Q Setting Item Description Set value requirement Mark WRUN Warning RUN Do not mark Mark SERROR System error Do not mark Mark PAUSE PAUSE Do not mark Send an e-mail Mark EMAIL when an event Do not mark occurs. Disconnect from When "YES"...
  • Page 561: Appendix 6.13 Tagevt.csv (Event Setting - Tag Event Setting)

    APPENDICES MELSEC-Q Appendix 6.13 TAGEVT.CSV (Event setting - Tag event setting) (1) File format Item Description File name TAGEVT.CSV File contents Event setting - Tag event setting (Refer to Section 6.5.3) ITEM TAGNO COMPONENTNO CONDITION TRIGGER RESTORATION TAGEVT1 EQUAL TAGEVT2 NEQUAL TAGEVT129 EGREATER...
  • Page 562 APPENDICES MELSEC-Q Item Description [Event setting - Tag event setting] File format (Continued) (2) Label Label Description TAGEVT1 to Set the items of tag event setting No. 1 to 256. TAGEVT256 Enter only the necessary labels. (Labels that are not set need not be entered.) (3) Setting items Setting Item...
  • Page 563 APPENDICES MELSEC-Q Setting Item Description Set value requirement Numerical value (integer, TRIGGER Trigger value real number) When "NEQUAL" or "EQUAL" is (Blank) selected at CONDITION Restoration RESTORATION value When other than the above is Numerical value (integer, selected at CONDITION real number) Send an e-mail Mark...
  • Page 564: Appendix 6.14 Timeevt.csv (Event Setting - Time/Interval Event Setting)

    APPENDICES MELSEC-Q Appendix 6.14 TIMEEVT.CSV (Event setting - Time/Interval event setting) (1) File format Item Description File name TIMEEVT.CSV File contents Event setting - Time/Interval event setting (Refer to Section 6.5.3) ITEM MODE TIME INTERVAL EMAIL DISCONNECT TIMEEVT1 TIME 09:00:00 TIMEEVT12 INTERVAL 7200...
  • Page 565 APPENDICES MELSEC-Q Item Description [Event setting - Time/Interval event setting] File format (Continued) (2) Label Label Description TIMEEVT1 to Set the items of time/interval event setting No. 1 to 16. TIMEEVT16 Enter only the necessary labels. (Labels that are not set need not be entered.) (3) Setting items Setting Item...
  • Page 566 APPENDICES MELSEC-Q Setting Item Description Set value requirement When "INTERVAL" is selected at 1 to 86400 (unit: seconds) MODE INTERVAL Interval When "TIME" is selected at (Blank) MODE Send an e-mail Mark EMAIL when an event Do not mark occurs. Disconnect from When "YES"...
  • Page 567: Appendix 6.15 Address.csv (Address Notification Setting)

    APPENDICES MELSEC-Q Appendix 6.15 ADDRESS.CSV (Address notification setting) (1) File format Item Description File name ADDRESS.CSV File contents Address notification setting (Refer to Section 6.9.2) IPTYPE SYSTEM IPADDRESS PORTTYPE SYSTEM PORT ECONNECTION EMAIL1 EMAIL2 EMAIL3 EMAIL4 EMAIL5 EMAIL6 EMAIL7 EMAIL8 EMAIL9 EMAIL10 EMAIL11...
  • Page 568 APPENDICES MELSEC-Q Item Description [Address notification setting - IP address setting] [Address notification setting - E-mail notification setting] File format (Continued) [Address notification setting - FTP notification setting] App - 64 App - 64...
  • Page 569 APPENDICES MELSEC-Q (2) Label Setting Label Description Set value requirement Notify the IP address set in the SYSTEM "System setting" screen. Notification IP Notify the global IP address ROUTER IPTYPE address obtained from the router FOLLOWING Notify the following IP address. When "FOLLOWING"...
  • Page 570 APPENDICES MELSEC-Q Setting Label Description Set value requirement When "YES" is Mark Target FTP selected at SERVER1 to Do not mark FCONNECTION server name 1 to SERVER16 16 2 When "NO" is selected at (Blank) FCONNECTION FILENAME Notification file name 1 to 8 characters LINK Character string for link...
  • Page 571: Appendix 6.16 Account.csv (Account Setting)

    APPENDICES MELSEC-Q Appendix 6.16 ACCOUNT.CSV (Account setting) (1) File format Item Description File name ACCOUNT.CSV File contents Account setting (Refer to Section 4.6.5) ITEM USERNAME PASSWORD DWRITE TWRITE ADMINISTRATOR ACCOUNT1 QJ71WS96 MITSUBISHI ACCOUNT2 USER1 USERUSER1 ACCOUNT12 USER2 USERUSER2 ACCOUNT16 USER3 USERUSER3 INITIAL FILENAME...
  • Page 572 APPENDICES MELSEC-Q (3) Setting items Setting Item Description Set value requirement User name USERNAME 1 to 20 characters Password PASSWORD 8 to 14 characters Access Mark DWRITE authority: Device Do not mark write Access Mark TWRITE authority: Tag Do not mark component write Access Mark...
  • Page 573: Appendix 6.17 Ipfilter.csv (Ip Filter Setting)

    APPENDICES MELSEC-Q Appendix 6.17 IPFILTER.CSV (IP filter setting) (1) File format Item Description File name IPFILTER.CSV File contents IP filter setting (Refer to Section 4.6.6) ACCESS BLOCK IPADDRESS1 192.168.0.0 MASK1 FILTER1 PASS IPADDRESS2 10.20.30.00 MASK2 FILTER2 PASS IPADDRESS3 10.20.30.40 MASK3 FILTER3 BLOCK IPADDRESS4...
  • Page 574 APPENDICES MELSEC-Q (2) Label Setting Label Description Set value requirement Pass the IP packet that has not PASS been set in [Filter setting]. ACCESS Access setting Block the IP packet that has not BLOCK been set in [Filter setting]. IPADDRESS1 to IP address (decimal), or IP address IPADDRESS32...
  • Page 575: Appendix 7 Sizes Of Data Written To Standard Rom And Compactflash Card

    APPENDICES MELSEC-Q Appendix 7 Sizes of Data Written to Standard ROM and CompactFlash Card This section explains how to calculate the sizes of data written to the standard ROM and CompactFlash card. Appendix 7.1 Size of data written to standard ROM drive The size of the data written to the standard ROM drive per day can be calculated as shown below.
  • Page 576: Appendix 7.3 Size Of Data Written To Logging File

    APPENDICES MELSEC-Q Appendix 7.3 Size of data written to logging file The size of data written to the logging file can be obtained from the following. Formula = Time character string length (19) + Comma (1) + TAGL + Line feed (1) = LT /INT Logging cycle is 1...
  • Page 577: Appendix 7.5 Size For File Writing By Dedicated Instruction

    APPENDICES MELSEC-Q Appendix 7.5 Size for file writing by dedicated instruction The size of data written to the file by a dedicated instruction can be obtained from the following. (1) WFWRITE instruction Formula Binary writing WFS = DTN WFS = (Data character string length ( 1) + Comma (1)) DTN + Line feed (1) LINE Word...
  • Page 578: Appendix 8 Transportation Precautions

    APPENDICES MELSEC-Q Appendix 8 Transportation Precautions When transporting lithium batteries, make sure to treat them based on the transport regulations Appendix 8.1 Target models of regulations The batteries for the Web server module are classified as follows: Classification for Product name Model Product supply status transportation...
  • Page 579: Appendix 9 Handling Of Batteries And Devices With Built-In Batteries In Eu Member States

    APPENDICES MELSEC-Q Appendix 9 Handling of Batteries and Devices with Built-in Batteries in EU Member States This section describes the precautions for disposing of waste batteries in EU member states and exporting batteries and/or devices with built-in batteries to EU member states.
  • Page 580: Appendix 9.2 Exportation Precautions

    APPENDICES MELSEC-Q Appendix 9.2 Exportation precautions The new EU Battery Directive (2006/66/EC) requires the following when marketing or exporting batteries and/or devices with built-in batteries to EU member states.  To print the symbol on batteries, devices, or their packaging ...
  • Page 581 APPENDICES MELSEC-Q MEMO App - 77 App - 77...
  • Page 582 INDEX Connection via ADSL modem 10BASE-T/100BASE-TX connection ..... 4-9 ....... 2-4, 2-7, 4-9, 4-34, 4-39, 4-42 Connection via analog modem ......2-5, 2-7, 4-10, 4-34, 4-39, 4-42 About error code ..........9-13 CPU event setting .......... 6-60 Access log function ........6-106 CSV export/import function......
  • Page 583 File transfer (Logging function) ....6-105 Monitor function ..........6-2 File transfer (Setting test) ......6-134 Mounting of battery ........4-72 Format function ........... 6-118 FTP ..............A-29 FTP client function......... 6-95 NAT ............... A-29 FTP function ..........6-91 Network connection by dial-up (modem, ADSL) FTP notification setting ........
  • Page 584 SMTP-Auth ............ A-29 Software specifications ........3-2 SSI parts ............7-47 SSI read parts ..........7-47 System configuration ........2-1 System configuration for initial setting, maintenance and inspection ......2-6 System monitor ..........9-15 System setting ........3-22, 4-33 Tag ..............A-29 Tag component test ........
  • Page 585 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 586 TRADEMARKS CompactFlash is either a registered trademark or a trademark of SanDisk Corporation. i-mode is either a registered trademark or a trademark of NTT DOCOMO, INC. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Microsoft, Microsoft Access, ActiveX, Excel, SQL Server, Visual Basic, Visual C++, Visual Studio, Windows, Windows NT, Windows Server, Windows Vista, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
  • Page 588 SH(NA)-080320E-S(2012)KWIX MODEL: QJ71WS96-U-SY-E MODEL CODE: 13JR58 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.
  • This manual is also suitable for:

    Melsec qj71ws96

    Table of Contents