MELSEC iQ-R/MELSEC iQ-F Web Server Function Guide Book
MELSEC iQ-R/MELSEC iQ-F Web Server Function Guide Book
[Design Precautions]
WARNING
● When connecting an external device with a CPU module or intelligent function module to modify data
of a running programmable controller, configure an interlock circuit in the program to ensure that the
entire system will always operate safely. For other forms of control (such as program modification,
parameter change, forced output, or operating status change) of a running programmable controller,
read the relevant manuals carefully and ensure that the operation is safe before proceeding. Improper
operation may damage machines or cause accidents.
● Especially, when a remote programmable controller is controlled by an external device, immediate
action cannot be taken if a problem occurs in the programmable controller due to a communication
failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions
to be taken between the external device and CPU module in case of a communication failure.
● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the
module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to
each module. Doing so may cause malfunction of the programmable controller system. For the
"system area", "write-protect area", and the "use prohibited" signals, refer to the user's manual for the
module used.
● To maintain the safety of the programmable controller system against unauthorized access from
external devices via the network, take appropriate measures. To maintain the safety against
unauthorized access via the Internet, take measures such as installing a firewall.
1
[Wiring Precautions]
CAUTION
● Securely connect the connector to the module. Poor contact may cause malfunction.
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction
due to noise.
● Place the cables in a duct or clamp them. If not, dangling cables may swing or inadvertently be pulled,
resulting in malfunction or damage to modules or cables.
In addition, the weight of the cables may put stress on modules in an environment of strong vibrations
and shocks.
● When disconnecting the communication cable or power cable from the module, do not pull the cable
by the cable part. Pulling the cable connected to the module may result in malfunction or damage to
the module or cable.
● Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an
incorrect interface) may cause failure of the module and external device.
● For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's
manual for the module used. If not, normal data transmission is not guaranteed.
[Operating Precautions]
CAUTION
● When changing data and operating status, and modifying program of the running programmable
controller from an external device such as a personal computer connected to an intelligent function
module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or
modification may cause system malfunction, damage to the machines, or accidents.
2
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above restrictions, Mitsubishi 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 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. For details, please
contact the Mitsubishi representative in your region.
3
INTRODUCTION
Thank you for purchasing the Mitsubishi Electric programmable controllers.
This manual describes the specifications, parameter settings, procedures before operation, system configuration, functions,
and troubleshooting of the Web server function.
Before using the products, please read this manual carefully and develop familiarity with the Web server function to handle the
products correctly.
When applying the program examples provided in this manual to an actual system, ensure the applicability and confirm that it
will not cause system control problems.
Please make sure that the end users read this manual.
4
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
CONTENTS
1.1 Specifications of Web Server Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 CPU Modules with Web Server Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CHAPTER 5 TROUBLESHOOTING 50
CHAPTER 6 PRECAUTIONS 52
APPENDICES 54
Appendix 1 System Web Page Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Appendix 2 User Web Page Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
INDEX 57
5
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
6
RELEVANT MANUALS
Manual name [manual number] Description Available form
MELSEC iQ-R/MELSEC iQ-F Web Server Function Guide Specifications, procedures before operation, and troubleshooting of the e-Manual
Book Web server function PDF
[SH-081982ENG] (this manual)
MELSEC iQ-R Ethernet User's Manual (Application) Functions, parameter settings, programming, troubleshooting, I/O Print book
[SH-081257ENG] signals, and buffer memory of Ethernet.
e-Manual
For the Web server function, details on JavaScript objects that can be
PDF
used in the user Web page.
MELSEC iQ-F FX5 User's Manual (Ethernet Communication) Functions of the built-in Ethernet port communication. e-Manual
[JY997D56201] For the Web server function, details on JavaScript objects that can be PDF
used in the user Web page.
MELSEC iQ-R CPU Module User's Manual (Application) Memory, functions, devices, and parameters of the CPU module Print book
[SH-081264ENG]
e-Manual
PDF
GX Works3 Operating Manual System configuration, parameter settings, and online operations of GX e-Manual
[SH-081215ENG] Works3 PDF
e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated
tool. e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
• Sample programs can be copied to an engineering tool.
7
TERMS
Unless otherwise specified, this manual uses the following terms.
Term Description
Buffer memory Memory in an intelligent function module for storing data such as setting values and monitored values. When
integrated into the CPU module, this memory refers to a memory for storing data such as setting values and
monitored values of the Ethernet function, and data used for data communication of the multiple CPU system
function.
Device A device (X, Y, M, D, or others) in a CPU module
Engineering tool A tool used for setting up programmable controllers, programming, debugging, and maintenance
8
1 WEB SERVER FUNCTION
1
The Web server function can read/write device data from/to the CPU module by using a Web browser. The device data can be
read/written from/to the CPU module by using a general-purpose Web browser of not only an Ethernet-connected personal
computer but also a tablet or smartphone via Ethernet. An original Web page can be created by users and displayed as well.
Ethernet
*1 For the FX5U CPU module and FX5UC CPU module, the ones with the firmware version 1.100 or later support these items.
Use a Web browser that supports HTML5, CSS3, and JavaScript for the Web server function.
GX Works3
Ethernet
1. Prepare the engineering tool and a device where a Web browser can be used.
2. Configure CPU module parameters with the engineering tool. ( Page 14 Parameter Settings of CPU Module)
3. Power off and on or reset the CPU module to reflect the parameter settings. ( Page 17 Reflecting the parameters).
4. Access the CPU module from the Web browser, and write the system Web page to the CPU module. ( Page 18 How
to Access Web Server).
6. Log off from the Web server. ( Page 20 Logging off from the Web server).
Before using the Web server function, enable JavaScript and cookies in settings of a Web browser.
2. Configure CPU module parameters with the engineering tool. ( Page 14 Parameter Settings of CPU Module)
3. Power off and on or reset the CPU module to reflect the parameter settings. ( Page 17 Reflecting the parameters).
4. Access the CPU module from the Web browser. ( Page 18 How to Access Web Server).
6. Log off from the Web server. ( Page 20 Logging off from the Web server).
Before using the Web server function, enable JavaScript and cookies in settings of a Web browser.
IP address settings
Set the IP address of the CPU module. Set the parameters by selecting the following menu items. The menu items to be
selected differ depending on the series of the CPU module used.
• MELSEC iQ-R
[Navigation window] [Parameter] [CPU module] [Module Parameter] [Basic Settings] [Own Node Settings]
• MELSEC iQ-F
[Navigation window] [Parameter] [CPU module] [Module Parameter] [Ethernet Port] [Basic Settings]
[Own Node Settings]
1. Set "Use" for "To Use or Not to Use Web Server Settings".
2. Set "Host Station Port No.". ("Host Station Port No." has a setting range. For details on the setting range, refer to the
following.)
*1 The port number used for another Ethernet function cannot be used.
The following table lists the characters that are available for the user name and password.
Type Character
One-byte alphanumeric characters (upper-case/ 0 to 9, A to Z, a to z
lower-case characters)
Symbols A one-byte space, !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \, ], ^, _, `, {, |, }, ~
Since the communications of the Web server function does not support encrypted communications (SSL
communications), do not access the Web server via the Internet. To access the Web server, use the LAN. The
communications may be intercepted if the Web server is accessed via the Internet.
If the own station port number has been changed from the default (80), input the following address.
http://[IP address of the Web server (CPU module)]:[Own station port number]/
• To access the Web server (CPU module) with a domain name specified, resolve the name on the client side
in advance.
• Do not directly specify the URL of each page after logon to access the Web server. Doing so displays an
incorrect window, and prevents collection of information from the Web server.
• If the following window appears after the access, follow the messages on the window to write the system
Web page file to the CPU module. ( Page 19 Procedure for writing the system Web page).
1. Consult your local Mitsubishi representative to get the system Web page file. 2
2. Decompress the system Web page file (zip file).
3. Set the decompressed system Web page file for the input form of the system Web page.
• If logon fails 10 times in succession, logon to the account is disabled for a certain time.
• Five minutes of no communications after logon automatically log off the Web server.
• Logon/logoff using different browsers on a single terminal are recognized as logon/logoff using different
terminals. Similarly, logon/logoff using a secret window or private window on a single browser are
recognized as logon/logoff using different terminals.
Item Description
Detailed Module Info Information related to the CPU module, such as the model name, production information,
firmware version, system Web page version, IP address, and MAC address, is displayed. This
window is displayed as the initial display window after logon. ( Page 23 Detailed Module
Information (Module Information)).
Device Batch Monitor Devices and buffer memory areas can be monitored in a batch. ( Page 24 Device batch
monitor).
Watch Devices and buffer memory areas can be monitored individually for each point. ( Page 28
Watch).
CPU Diagnostics Existing errors can be checked. ( Page 30 CPU Diagnostics)
Event History The event history retrieved from the CPU module (such as the date and time of occurrence,
event code, and detailed information) is displayed. ( Page 32 Event History)
Access Log The history of access to the Web server, operations performed to the Web server, and the IP
address of the access source can be displayed. Thus, the access frequency, each operation,
and unauthorized accesses to the Web server can be monitored. ( Page 34 Access Log).
User Web Page An original Web page created by users can be displayed on a Web browser by using HTML,
JavaScript, and image files. ( Page 41 USING USER WEB PAGE).
When "System Web Page Only" is set to "Authority for Window Display" with the engineering
tool, this item is not displayed.
System Web Update Writing the system Web page file to the CPU module updates the system Web page. (
Page 37 System Web Page Update)
When "Disable" is set to "Update System Web Page" with the engineering tool, this item is not
displayed.
Display Update Interval Set the interval for refreshing monitor items of each function on the system Web page to the
latest information. Set the value between 5 and 120 seconds in increments of 1 second.
(Default: 5 seconds) ( Page 38 Refreshing Cycle of Display)
Language The display language of the system Web page can be switched to the selected language. (
Page 39 Language switcher).
[Log off] button Click this button to log off from the system Web page.
Item Description
Module Information Information related to the CPU module, such as the model name, product number (production
information), firmware version, booter version, hardware version, IP address, and MAC
address, is displayed. This window is displayed as the initial display window after logout. (
Page 23 Detailed Module Information (Module Information)).
Device Batch Monitor Devices and buffer memory areas can be monitored in a batch. ( Page 24 Device batch
monitor).
Watch Devices and buffer memory areas can be monitored individually for each point. ( Page 28
Watch).
CPU Diagnostics Existing errors can be checked. ( Page 30 CPU Diagnostics)
Event History The event history retrieved from the CPU module (such as the date and time of occurrence,
event code, and detailed information) is displayed. ( Page 32 Event History)
Access Log The history of access to the Web server, operations performed to the Web server, and the IP
address of the access source can be displayed. Thus, the access frequency, each operation,
and unauthorized accesses to the Web server can be monitored. ( Page 34 Access Log).
User Web Page*1 An original Web page created by users can be displayed on a Web browser by using HTML,
JavaScript, and image files. ( Page 41 USING USER WEB PAGE).
When "System Web Page Only" is set to "Authority for Window Display" with the engineering
tool, this item is not displayed.
Display Update Interval Set the interval for refreshing monitor items of each function on the system Web page to the
latest information. Set the value between 5 and 120 seconds in increments of 1 second.
(Default: 5 seconds) ( Page 38 Refreshing Cycle of Display)
Language The language displayed on the system Web page is changed to the selected language. (
Page 39 Language switcher)
[Logout] button Click this button to log out from the system Web page.
*1 The FX5U CPU module and FX5UC CPU module support the user Web page.
Information related to the CPU module, such as the model name, production information, firmware version, system Web page
version, IP address, and MAC address, is displayed. This window is displayed as the initial display window after logon.
Item Description
System Webpage Version The version of the system Web page is displayed.
The number before the point indicates the major version, and the number after the point indicates the minor version.
• When the RnENCPU is used, the IP address of the CPU part is displayed in "IP Address".
• The time, time zone, and whether daylight saving time is set or not are displayed in "Time". "DST" is
displayed only while daylight saving time is set. For setting the time zone, refer to the following.
MELSEC iQ-R CPU Module User's Manual (Application)
■Monitoring example
1. Select a device to be monitored from "Device Memory" at the upper section of the window.
3. Select a value for "Data Type", "Display Format", "Display Unit Format", and "Order". The drop-down lists of "Data Type",
"Display Format", "Display Unit Format", and "Order" differ depending on the device.
The current values of the device areas being monitored are refreshed automatically at the interval specified in
"Display Update Interval" on the menu.
*1 The maximum numbers of link direct device points differ in the system Web page with version 1.02 or later.
Jn\X/Jn\Y: 160K points
Jn\B: 640K points
Jn\W: 2560K points
Jn\SB/Jn\SW: 5120 points
3. Select a value for "Data Type", "Display Format", "Display Unit Format", and "Order". The drop-down lists of "Data Type",
"Display Format", "Display Unit Format", and "Order" differ depending on the device.
3. Select "Data Type" and "Display Format". The drop-down lists of "Data Type" and "Display Format" differ depending on
the buffer memory area.
The current values of the device areas being monitored are refreshed automatically at the interval specified in
"Display Update Interval" on the menu.
■Available devices
All the devices can be monitored. However, the index modified devices, bit-specified word devices, or digit-specified bit
devices cannot be monitored.
MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
Click the current value of the device and the device test window appears. The current value can be changed in this window.
1. Click the current value of the device area to be changed
to display the device test.
To display the device test, set "Write Device" of the account currently logged on as "Enable" in advance. (
Page 16 Account settings)
Devices and buffer memory areas can be monitored individually for each point. Displayed items and available devices differ
depending on the series of the CPU module used.
Item Description
[Watch] button The device areas to be monitored can be registered in the "Watch1" to "Watch4" windows*1. Use of the "Watch1" to
"Watch4" windows*1 enables device areas to be monitored for different purposes.
[Delete Registered Devices] button The device areas registered in the "Watch1" to "Watch4" windows*1 can be deleted in a batch.
*1 For the MELSEC iQ-F series CPU modules, "Watch1" and "Watch2" windows are usable.
Monitoring example
1. Enter the device area to be monitored and press . When is pressed, "Display Format", "Data Type", and
"Current Value" are entered automatically.
2. Select a value for "Display Format" and "Data Type", and press . The drop-down lists of "Display Format" and "Data
Type" differ depending on the device.
Available devices
■MELSEC iQ-R series
Device
X, Y, M, L, B, F, SB, V, T, ST, LT, LST, C, LC, D, W, SW, DX, DY, SM, SD, Jn\X*1, Jn\Y*1, Jn\B*1, Jn\SB*1, Jn\W*1, Jn\SW*1, Un\G, U3En\G*2, U3En\HG*2, Z, LZ,
R, ZR, RD, BL, BLn\S
*1 The maximum numbers of link direct device points differ in the system Web page with version 1.02 or later.
Jn\X/Jn\Y: 160K points
Jn\B: 640K points
Jn\W: 2560K points
Jn\SB/Jn\SW: 5120 points
*2 The devices U3En\G and U3En\HG of another CPU module can be specified and the values can be changed in the Web server function,
however, the changed values will not be reflected in the CPU module and an error will occur.
Click the [Detail] button to check the detailed information of the error.
The following table lists the overview of the detailed information window for errors.
Item Description
Overview The overview (name) of the error is displayed.
Detailed Information Up to three detailed information sets corresponding to the error code selected are displayed.
"" is displayed when no information to display exists.
Cause The error details and error cause are displayed.
• The data in the CPU diagnostics is refreshed automatically at the interval specified in "Display Update
Interval" on the menu.
• Since the date and time of error occurrence is based on the time set in the CPU module, it may be different
from the time set in the personal computer used.
Item Description
Program location*1 The sequence step number (decimal) and the name of the file where an error has occurred are displayed.
Module position*1 Information on the location of the module where the error has occurred is displayed.
*1 When the error has no detailed information, such as sequence step number, file name, and module location, "" is displayed. If no error
occurs, these fields are blank.
The data in the CPU diagnostics is refreshed automatically at the interval specified in "Display Update
Interval" on the menu.
• For the FX5U CPU module and FX5UC CPU module, the ones with the firmware version 1.100 or later support this function.
The event history retrieved from the CPU module (such as the date and time of occurrence, event code, and detailed
information) is displayed. Up to 32 records are displayed in one page.
Item Description
[Prev Page] button, [Next Page] The 32 records before or after the records displayed in the current page are displayed.
button
[Refresh] button The event history is retrieved from the CPU module and the window is refreshed. The latest 32 registered events are
displayed in the first page after the refresh.
The event history is retrieved from the save destination of the event history selected in "Event History Setting" of the
engineering tool.
Last Update Date The time retrieved from the CPU module is displayed when the window is switched from another window to the "Event
History" window or when the [Refresh] button is clicked for the last time. When the event history has not been
refreshed, it will be blank.
The display format is as follows:
YYYY-MM-DD hh: mm: ss (YYYY: year, MM: month, DD: day, hh: hour, mm: minute, ss: second)
Click the [Detail] button to display the detailed information of the event. The following table lists the overview of the detailed
information window.
Item Description
Detailed Information Up to three detailed information sets corresponding to the event code selected are displayed.
"" is displayed when no information to display exists.
Cause The event description is displayed.
Item Description
[Prev Page] button, [Next Page] The 32 records before or after the records displayed in the current page are displayed.
button
[Refresh] button The event history is retrieved from the CPU module and the window is refreshed. The latest 32 registered events are
displayed in the first page after the refresh.
The event history is retrieved from the save destination of the event history selected in "Event History Setting" of the
engineering tool.
Last update date The time retrieved from the CPU module is displayed when the window is switched from another window to the "Event
History" window or when the [Refresh] button is clicked for the last time. When the event history has not been
refreshed, it will be blank.
The display format is as follows:
YYYY-MM-DD hh: mm: ss (YYYY: year, MM: month, DD: day, hh: hour, mm: minute, ss: second)
*1 When the error has no detailed information, such as sequence step number, file name, and module location, "" is displayed. If no error
occurs, these fields are blank.
The history of access to the Web server, operations performed to the Web server, and the IP address of the access source
can be displayed. Thus, the access frequency, each operation, and unauthorized accesses to the Web server can be
monitored. Displayed items and operations in the access log differ depending on the series of the CPU module used.
Updating the major version of the system Web page clears the access log. ( Page 37 System Web Page
Update)
Item Description
No. Records are listed with the newest access date at the top. Up to 128 records are displayed.
User name The user name who has performed the operation is displayed. ( Page 35 Operations displayed in the access log).
When a logon fails, the user name which is input in the logon operation is displayed.
Operation The operation performed by a user is displayed. ( Page 35 Operations displayed in the access log).
Destination IP Address The IP address (decimal) of a user is displayed.
• The access log can store up to 128 records. When the number of records exceeds 128, the access log is
cleared in the order from the oldest one.
• The access log of the MELSEC iQ-R series CPU module is retained by using the battery even while the
CPU module is powered off. When no battery is used, the access log can be retained by using the battery-
less option cassette. The R00CPU, R01CPU, and R02CPU can retain the access log without using the
battery or the battery-less option cassette.
• Logoff with an operation other than clicking the [Log off] button such as powering off the CPU module and
closing the browser is not stored in the access log.
Item Description
No. Records are listed with the newest access date at the top. Up to 128 records are displayed.
User name The user name who has performed the operation is displayed. ( Page 36 Operations displayed in the access log).
When a login fails, the user name that has been input for login is displayed.
Operation The operation performed by a user is displayed. ( Page 36 Operations displayed in the access log).
Destination IP Address The IP address (decimal) of a user is displayed.
Connection No. The connection number is displayed.
Protocol The protocol is displayed.
• The access log can store up to 128 records. When the number of records exceeds 128, the access log is
cleared in the order from the oldest one.
• The access log of the MELSEC iQ-F series CPU module is not retained while the CPU module power is off.
For the FX5U CPU module and FX5UC CPU module, use the optional battery, FX3U-32BL, to retain the
access log.
• Logout by an operation other than clicking the [Logout] button, such as powering off the CPU module and
closing the browser, is not recorded in the access log.
• For the FX5U CPU module and FX5UC CPU module, the ones with the firmware version 1.100 or later support this function.
iQ-R iQ-F
This function can be used with the MELSEC iQ-R series CPU modules.
Consult your local Mitsubishi representative to get the system Web page file (RWebFile_XX_YY.HVF).
Writing the system Web page file to the CPU module updates the system Web page.
Depending on the major version of the system Web page, updating the firmware version of the CPU module is required. (
Page 54 System Web Page Version)
File name of the system Web page String Description
RWebFile_XX_YY.HVF RWebFile Model name
XX Major version
YY Minor version
HVF (Httpserver Versionup File) Extension
The version of the system Web page and the firmware version of the CPU module can be checked in the "Detailed Module
Info" window. ( Page 23 Detailed Module Information (Module Information))
Before updating the minor version, set "Update System Web Page" as "Enable" in the account setting of the
engineering tool.
Set the interval for refreshing monitor items of each function on the system Web page to the latest information.
Setting procedure
The setting procedure is as follows:
2. Press . Pressing refreshes the window and starts to refresh the display at the interval entered.
Without pressing , the setting is not reflected, and therefore the display is refreshed at the interval before the change.
• When another Ethernet communication or other processing whose communication load is high is being
performed at the same time, the refreshing cycle may be longer than the set value.
• If the response is not received within the interval set in "Display Update Interval" due to high communication
processing load in the CPU module or a problem in the communication path, information on the window is
not refreshed. ( Page 50 TROUBLESHOOTING).
The display language of the system Web page can be switched to the selected language.
Series Language
MELSEC iQ-R • Japanese
• English
• Chinese (Simplified)
MELSEC iQ-F • Japanese
• English
• Chinese (Simplified)*1
*1 Some firmware versions of the CPU module are not supported. (Page 11 Specifications of Web Server Function)
• For the FX5U CPU module and FX5UC CPU module, the ones with the firmware version 1.100 or later support this function.
An original Web page created by users can be displayed on a Web browser by using HTML, JavaScript, and image files.
Procedure
The procedure for using the user Web page is as follows:
1. Consult your local Mitsubishi representative to get the library (zip file) of the user Web page. ( Page 42 Getting
Library of User Web Page)
2. Configure CPU module parameters with the engineering tool. ( Page 14 Parameter Settings of CPU Module)
3. Power off and on or reset the CPU module to reflect the parameter settings. ( Page 17 Reflecting the parameters).
5. Edit the HTML file (index.html) of the user Web page in the USER folder of the library of the user Web page. ( Page
43 Editing User Web Page)
6. Write the user Web page to the SD memory card. ( Page 46 Storing User Web Page in SD Memory Card)
7. Access the user Web page. ( Page 48 Accessing User Web Page)
Before using the Web server function, enable JavaScript and cookies in settings of a Web browser.
The MELSEC iQ-R series CPU modules have restrictions on the combination of the user Web page version
and the firmware version of the CPU modules. ( Page 55 User Web Page Version)
Before using the user Web page, set "Authority for Window Display" as "Permit Both Displays" or "User Web
Page Only" in the account setting of the engineering tool.
Available devices
The number of device areas to be specified in one user Web page should be up to 32 points regardless of the
device type. If the number exceeds 32 points, an error may occur.
*1 The maximum numbers of link direct device points differ in the user Web page with version 1.01 or later.
Jn\X/Jn\Y: 160K points
Jn\B: 640K points
Jn\W: 2560K points
Jn\SB/Jn\SW: 5120 points
*2 The devices U3En\G and U3En\HG of another CPU module can be specified and the values can be changed in the Web server function,
however, the changed values will not be reflected in the CPU module and an error will occur.
JavaScript objects
JavaScript objects enable device data to be read or written easily on the user Web page.
To use JavaScript objects, the library of JavaScript objects (RUserWebLib.js/FUserWebLib.js) is required. The library of
JavaScript objects is included in the library of the user Web page. ( Page 42 Getting Library of User Web Page)
The following table lists the JavaScript objects that can be used in the user Web page.
Object name (function name) Description
Data block Displays the specified device data in a table format.
(WSDatblk)
Level display Displays what percentage the device value accounts for of the whole (the range between the upper and lower limit
(WSLevel) values).
Figure display Displays the specified figure when the device value reaches the set value.
(WSFigure)
Image display Displays the specified image file when the device value reaches the set value.
(WSPicture)
Historical graph Displays the device data in a time-series line graph.
(WSHstgrp)
Write button Writes the specified value to the specified device area.
(WSWrtBtn)
Logoff/Logout button Performs the logoff operation.
(WSLogoutBtn)
Log-in_User.html
$MELPRJ$
RUserWebLib.js / FUserWebLib.js*1
css UserWebStyle.css
img sample0.png
sample1.png
sample2.png
***_1.html
·
***_*.html
Folder_1 File_1
·
Folder_* File_*
*1 The folder name varies depending on the library of the user Web page
cpu-user_web_r_vXXX.zip: RUserWebLib.js
cpu-user_web_f_vXXXX.zip: FUserWebLib.js
*2 The extension for the top page of the user Web page is fixed to .html.
*3 Store the created files or folders in the USER folder.
Available files
The following table lists the file types that are available as objects of the user Web page.
File Extension
HTML .html
.htm
JavaScript .js
CSS .css
GIF image .gif
PNG image .png
JPG/JPEG image .jpg (.jpeg)
Since the communications of the Web server function does not support encrypted communications (SSL
communications), do not access the Web server via the Internet. To access the Web server, use the LAN. The
communications may be intercepted if the Web server is accessed via the Internet.
If the own station port number has been changed from the default (80), input the following address.
http://[IP address of the Web server (CPU module)]:[Own station port number]/USER/[Default page name]
Do not directly specify the URL of each page after logon to access the Web server. Doing so displays an
incorrect window, and prevents collection of information from the Web server.
5 TROUBLESHOOTING
50
Description Cause Action
A message indicating that the setting value for the device The setting value for the device is out of Check that the device setting value is within the
is out of range is displayed. range. specified range.
A login is denied and the following message is displayed. The user name or password is incorrect. Check the user name or password.
The user name or password is incorrect. Please check the
user name or password and try again.
The following is displayed. The system Web page file in the Web Upload the system Web page file again. If the page
Can't open page on Web site. HTTP 500 Internal server server is corrupt. Or, it is not present. still does not open, please consult your local
error Mitsubishi representative.
A message indicating that the request source is incorrect The HTTP request received by the Web Check the settings of the browser or firewall and
is displayed. server includes no referer header field or ensure that the referer is correctly sent.
the one which is illegal.
Images or figure display objects are not displayed on the The file name written in the HTML file of Check that the file name written in the HTML file of
user Web page. the user Web page is incorrect. the user Web page matches the name of the file
An unsupported file format is used. stored in the SD memory card.
The file size is too large. Check that the format of the image file is the same as
The description of HTML or JavaScript of that described in the following. ( Page 47
the user Web page is incorrect. Available files).
The parameter settings of the user Web
page objects are incorrect.
Check the file size.
Check the description of HTML and JavaScript of the
5
user Web page.
Check the parameter settings of the user Web page
objects.
Items are not refreshed at "Display Update Interval". The communication load of the CPU Reduce the communication load of the CPU module.
module is high.
The line status is unstable. Check the line status (such as PING).
To perform a PING test from the engineering tool,
refer to the following.
MELSEC iQ-R Ethernet User's Manual
(Application)
MELSEC iQ-F FX5 User's Manual (Ethernet
Communication)
The PING test can also be performed from the
Microsoft Windows command prompt.
The CPU module has been powered off. Power on the CPU module.
5 TROUBLESHOOTING
51
6 PRECAUTIONS
This chapter describes precautions.
6 PRECAUTIONS
52
MEMO
6 PRECAUTIONS
53
APPENDICES
Appendix 1 System Web Page Version
The MELSEC iQ-R series CPU modules have restrictions on the combination of the system Web page version and the
firmware version of the CPU modules.
APPX
54 Appendix 1 System Web Page Version
Appendix 2 User Web Page Version
The MELSEC iQ-R series CPU modules have restrictions on the combination of the user Web page version and the firmware
version of the CPU modules.
R00CPU
The user Web page is not available to the R00CPU.
R01CPU, R02CPU
User Web page version CPU module firmware version
1.00 "05" or later
1.01 "11" or later
APPX
Appendix 2 User Web Page Version 55
MEMO
APPX
56 Appendix 2 User Web Page Version
INDEX
A R
Android . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 RUserWebLib.js . . . . . . . . . . . . . . . . . . . . . . 43,47
Authority for Window Display . . . . . . . . . . . . . . . 16
Available devices . . . . . . . . . . . . . . . . 25,26,28,43
S
Supported character code . . . . . . . . . . . . . . . . . .11
B
Supported language . . . . . . . . . . . . . . . . . . . . . .11
Buffer memory . . . . . . . . . . . . . . . . . . . . . . . . . . 8 System Web page . . . . . . . . . . . . . . . . . . . . . . .11
System Web page version . . . . . . . . . . . . . . . . . .54
System Webpage Version . . . . . . . . . . . . . . . . . .23
C
CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 U
CSS3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Update System Web Page. . . . . . . . . . . . . . . . . .16
User Web page . . . . . . . . . . . . . . . . . . . . . . . . .11
D
UserWebStyle.css . . . . . . . . . . . . . . . . . . . . . . .47
Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Device test . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 W
Write Device . . . . . . . . . . . . . . . . . . . . . . . . . . .16
E
Engineering tool . . . . . . . . . . . . . . . . . . . . . . . . . 8
Engineering tool version . . . . . . . . . . . . . . . . . . 12
F
Firmware version . . . . . . . . . . . . . . . . . . . . . . . 12
FUserWebLib.js . . . . . . . . . . . . . . . . . . . . . . 43,47
G
Google Chrome . . . . . . . . . . . . . . . . . . . . . . . . 11
GX Works3. . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 I
H
HTML5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
I
index.html . . . . . . . . . ................... 47
Initial Display Window . ................... 16
Internet Explorer . . . . . ................... 11
iOS . . . . . . . . . . . . . . ................... 11
J
JavaScript objects . . . . . . . . . . . . . . . . . . . . . . . 43
L
Log-in_User.html . . . . . . . . . . . . . . . . . . . . . . . 47
M
Major version . . . . . . . ................... 23
Minor version . . . . . . . ................... 23
Mobile Google Chrome ................... 11
Mobile Safari . . . . . . . ................... 11
57
REVISIONS
*The manual number is given on the bottom left of the back cover.
Revision date *Manual number Description
April 2018 SH(NA)-081982ENG-A First edition
October 2018 SH(NA)-081982ENG-B ■Added functions
Event history (MELSEC iQ-F), user Web page (MELSEC iQ-F)
■Added or modified parts
SAFETY PRECAUTIONS, RELEVANT MANUAL, Chapter 1, Section 1.1, 2.1, Chapter 3, Section
3.1, 3.4, 3.6, 3.9, Chapter 4, Section 4.1, 4.4, 4.5, Appendix 1
April 2019 SH(NA)-081982ENG-C ■Added or modified parts
Section 1.1, 3.2, Chapter 4, Section 4.1, 4.3, 4.4, 4.5, Appendix 1, 2
October 2019 SH(NA)-081982ENG-D ■Added or modified parts
Chapter 1, Section 1.1, 1.3, 2.1, 3.2, 3.5, 3.6, Chapter 4, Section 4.3, Appendix 1
58
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.
However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at
the customer's discretion. Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing
on-site that involves replacement of the failed module.
[Gratis Warranty Term]
The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place.
Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and
the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair
parts shall not exceed the gratis warranty term before repairs.
[Gratis Warranty Range]
(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., which
follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the
product.
(2) Even within the gratis warranty term, repairs shall be charged for in the following cases.
1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused
by the user's hardware or software design.
2. Failure caused by unapproved modifications, etc., to the product by the user.
3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions
or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by
industry standards, had been provided.
4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the
instruction manual had been correctly serviced or replaced.
5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force
majeure such as earthquakes, lightning, wind and water damage.
6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi.
7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user.
2. Onerous repair term after discontinuation of production
(1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc.
(2) Product supply (including repair parts) is not available after production is discontinued.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
4. Exclusion of loss in opportunity and secondary loss from warranty liability
Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to:
(1) Damages caused by any cause found not to be the responsibility of Mitsubishi.
(2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products.
(3) Special damages and secondary damages whether foreseeable or not, compensation for accidents, and
compensation for damages to products other than Mitsubishi products.
(4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks.
5. Changes in product specifications
The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice.
59
TRADEMARKS
Microsoft, Windows, Microsoft Edge, and Internet Explorer are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries.
Android and Google Chrome are either registered trademarks or trademarks of Google Inc.
Safari is a trademark of Apple Inc., registered in the U.S. and other countries.
IOS (iOS) is either a registered trademark or trademark of Cisco Systems, Inc. and/or its affiliates in the United States and
certain other countries, and iOS is used under license by Apple Inc.
The SD and SDHC logos are trademarks of SD-3C, LLC.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
60 SH(NA)-081982ENG-D
SH(NA)-081982ENG-D(1910)
MODEL: RAFCPU-GUIDE-WB-E
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.