Home
Q Corresponding Ethernet Interface Module User's Manual (Web
Contents
1. MC protocol HTTP Response message header Web browser TM Displav of Execution requests results of the ASP file Eea 1 OVERVIEW MELSEC Q 2 Device memory read write remote RUN STOP and other operations can be performed for the QCPU of an Ethernet module mounted station by specifying the URL of the sample screen using the Web browser x The execution result is displayed by simply entering the access device the number of devices etc in the items to be displayed in the Web browser Example To read three points of data registers DO 1234n D1 5678H and D2 9ABCH QE ACCESS verto Last Maied 05 11 2001 Free Download Input screen Execution result screen 4 Utilizing the Web server Access to the programmable controller using the Web function becomes possible by combining an Ethernet module and a Web server computer a A system can easily be configured by utilizing a Web server 1 Complicated screens can be created The user can create multiple HTML files and HTML files of large sizes without being limited by the size of the Ethernet module memory by storing these HTML files in a Web server The HTML files for Web browser can be created or changed easily if the user has knowledge of creating a web page 2 Reducing the load on the Ethernet module Since access programs for the programmable controller and control programs for We
2. Firewall Web browser see 5 HTML files for Web browser ASP files for programmable controller access Created by the user Commercially sold product lt Factory production site gt PP SSSR Se Psi OB Sea eee ye Sie Sars a a aa Ethernet Ethernet module see 3 2 System configuration when accessing via the Intranet Ethernet Files Ethernet module see 3 Web server see 4 Web browser see 5 Communication library DLL Sample screen HTML ASP Provided by Mitsubishi Electric Corporation Files S HTML files for Web browser HE E ASP files for programmable p controller access Commercially sold product Created by the user External device Commercially sold product 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q 3 Ethernet module The Ethernet module that can use the Web function is as follows e Model QJ71E71 100 Ethernet interface module e Model QJ71E71 B5 Ethernet interface module e Model QJ71E71 B2 Ethernet interface module For the applicable systems and the devices required for network configuration of the above Ethernet module see Chapter 2 of the User s Manual Basic 4 Web server The Web server is a computer in which the Web server software operates a The operating environment of the Web server is listed bel
3. Folder name File name Remark dev_read html dev_write html foot html kt For sample screen j71e71 menu html l proxy_set html s HIME files req_cmd html rmt_run html rmt_stop html dev_read asp dev_write asp proxy_set asp For sample screen req_cmd asp e ASP files rmt_run asp rmt_stop asp QeAccess dil Communication librarv l DLL file mitsubishi gif For sample screen qeaccess_logo gif e Image files Procedure 2 Copying the files Copy the decompressed folder _qj71e71 under the root folder Inetpub wwwroot of the Web server 3 OPERATING PROCEDURE MELSEC Q Procedure 3 Registering the communication library DLL file Register the DLL file in the OS registry of the Web server The following shows how to register it in MS DOS mode x The regsvr32 may not be executed properly when registering the communication library DLL file In that case install the Microsoft Corporation s Internet Explorer 5 5 or later and then execute again 1 Set the Web server to MS DOS mode 2 Switch the current directory Civ cd Inetpub wwwroot _qj71e71 _dll 3 Input the directory path of the regsvr32 command for Windows set path C windows system 4 Register the communication library DLL with the regsvr32 command for Windows Civ Inetpub wwwroot _qj71e71 _dll gt regsvr32 qeaccess dll Example When the root directory is in drive C ws E a d
4. 3 Setting items The following explains the setting items on the Remote RUN STOP screen a Connection target character string Specify the IP address or host name of the connection target Ethernet module Example To specify using the IP address enter 10 97 85 200 b Target PLC selection Select the target programmable controller for remote RUN STOP operation To perform remote RUN STOP to a single CPU specify the control CPU c Operation mode selection Select whether or not to execute remote RUN forcibly 1 Do not execute forcibly Does not perform remote RUN when remote STOP is being executed from other external device Force execution Performs remote RUN even if remote STOP is being executed from other external device d Clear mode selection Specify clear initialization processing of QCPU s device clear when starting QCPU calculation by remote RUN Do not clear Does not clear the device memory Clear all except latch Clears the device memory outside the latch range Clear all Clears all device memory including the latch range 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 4 3 Data Request The Data Request function accesses the programmable controller CPU by inputting the application data of the MC protocol QnA compatible 3E frame This section explains how to read four points of the data registers DO through D3 by specifying the application data of De
5. Web browser 1 It is necessary to take sufficient security measures for connection to the Internet Consult with a network installer an Internet service provider and a network administrator person in charge of network planning and IP address management Mitsubishi Electric Corporation will not take any responsibility for any system problems that may occur while connecting to the Internet If a firewall function is installed in the network set it so that the HTTP protocol can pass the firewall function When accessing multiple Ethernet modules via one Web server Personal Web Server the next processing may not be executed during the time from the request start through until the response is returned If no response is received due to a communication line fault the next processing may be delayed until a timeout occurs on the Web server Example Accessing 2 Ethernet modules using one Web server i Ethernet module 1 Because no response is received from Ethernet module 1 the next request cannot be handled Web server PWS Response to Web server Intranet Web browser 2 Ethernet module 2 e Access from Web browser 1 to Ethernet module 1 e Access from Web browser 2 to Ethernet module 2 The line fault between the Web server and Ethernet module 1 disables the response from Ethernet module 1 to the Web server This brings the Web server into the wait s
6. lt TABLE gt Description Response Write lt INPUT TYPE hidden NAME iHostName VALUE amp HostName amp gt relating to Response Write lt INPUT TYPE hidden NAME iDevCode VALUE amp DevCode amp gt the remote Response Write lt INPUT TYPE hidden NAME iDevNo VALUE amp DevNo amp gt password Response Write lt INPUT TYPE hidden NAMES IDevNum VALUE amp DevNum amp gt Response Write lt INPUT TYPE hidden NAME iPassCnt VALUE amp PassCnt 1 amp gt Response Write lt FORM gt Response Write lt CENTER gt Else Response Write disp End If Else Response Write disp End If Else Response Write disp End If gt lt BODY gt lt HTML gt 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q This chapter explains an example of creating a file for accessing the programmable controller This file sample e exe can be obtained by contacting your local agency or marketing company 1 Configuration of a user created screen The following shows the screen configuration of a file used for accessing the programmable controller to be created in this chapter The function being used is enclosed with parentheses X WEB FUNCTION TEST Netscape File Edit View Go Window Help vw 4 4 2 wU 2 all 2 Back Relo
7. 2 Execution environment for the above data communication example Ethernet module side a Mount an Ethernet module to slot 0 of the basic base unit b Setthe parameters for Ethernet using GX Developer For the setting items other than shown below the default values will be used 1 Network parameters Setting screen Setting item Setting data Network tvpe Ethernet Starting I O No 0000 Network parameters setting the number of ang 2 Ethernet CC IE MELSECNET cards O Station No Operational settings IP address 10 97 85 200 2 Remote password Setting item Setting data Password setting Remote password settings i S QJ71E71 Password active module settings Start X Y 0000 Remote password detail settings _ System connection Check HTTP port c Write data to the data registers DO through D3 SM402 Nov H1234 DO MOV H5678 DI MOV HOABC D2 vov H1234 D3 d Write the Ethernet parameters and programs to the programmable controller CPU and restart the programmable controller CPU When it is operating normally the initial processing of the Ethernet module will be completed normally and the INIT LED will be lit 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 3 Execution environment of the above data communication example external device side a b Web server 1 Setup the communication library and the sample screen See Section 3
8. 2 gt lt Select Case Left disp 5 Case lt OK gt 5 5 5 5 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER Answer Normal completion Case lt NG gt Answer Abnormal completion amp Mid disp Instr disp error Len error 1 4 End Select gt lt TEXTAREA NAME Answer ROWS 5 gt lt Answer gt lt TEXTAREA gt lt INPUT TYPE BUTTON VALUE Clear ONCLICK this form elements Answer value gt lt TH gt lt TR gt lt TABLE gt lt FORM gt lt BODY gt lt HTML gt C test2 asp lt Language VBScript gt lt Option Explicit Dim Time Time Dim Password Password not set Dim disp Return value Dim Value Result Dim Answer For display gt lt HTML gt lt HEAD gt lt META HTTP EQUIV Content Type Content text html charset x sjis gt lt META NAMES GENERATOR Content Microsoft Visual Studio 6 0 gt lt If Request QueryString stop And Request QueryString time lt gt Then Time setting Time Request QueryString time gt lt Refresh by time gt lt META HTTP EQUIV Refresh CONTENT lt Time gt gt lt End If gt lt HEAD gt lt Execute if time is specified If Time lt gt Then MELSEC Q 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q Dim Object Communication library Set Object Server CreateObject QeAccess McProtcol Dim HostName Host name
9. 4 WHEN COMMUNICATING USING THE QnA COMPATIBLE 2C FRAMES 4 1 Control Procedures and Message Formats 4 2 Contents of the Data Designation Items 4 3 List of Commands and Functions for QnA Compatible 2C Frames 4 4 Precautions on the Data Communication 4 5 Example of Data Communication Using QnA Compatible 2C Frames 5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES 5 1 Control Procedures and Message Formats 5 2 Device Memory Read Write 5 3 Extension File Register Read and Write 5 4 Reading and Writing in the Buffer Memory of an Intelligent Function Module 5 5 Loopback Test 6 WHEN COMMUNICATING USING THE A COMPATIBLE 1E FRAMES 6 1 Message Formats and Control Procedures 6 2 List of Commands and Functions for A Compatible 1E Frames 6 3 Device Memory Read Write 6 4 Extension File Register Read and Write 6 5 Reading and Writing in the Buffer Memory of an Intelligent Function Module APPENDIX Appendix 1 Reading and Writing by Designation of the Device Memory Extension Appendix 2 Reading from and Writing to the Buffer Memory Appendix 3 Processing Time of the Programmable Controller CPU Side While Communicating Using the MC Protocol About Manuals The following manuals are also related to this product In necessary order them by quoting the details in the tables below Related Manuals Manual name Manual number Model code Q Corresponding Ethernet Interface Module User s Manual Basic This manual explains the specif
10. GX Developer 11 3 Error Code List 11 4 Troubleshooting Flowchart Related Manual 1 Q Corresponding Ethernet Interface Module User s Manual Basic APPENDIX Appendix 1 Appendix 2 Appendix 3 Appendix 4 Appendix 5 Appendix 6 Appendix 7 Appendix 8 Appendix 9 Appendix 10 Appendix 11 Appendix 12 Function Upgrade for the Ethernet Module The QnA A Series Module Installing the Ethernet Module on Existing Systems Processing Time ASCII Code List References External Dimensions Program Examples Communication Support Tool MX Component Differences between the Ethernet and the IEEE802 3 ICMP Protocol Supported by the Ethernet Module Setting Value Recording Sheets SH 080009 M Related Manual 2 Q Corresponding MELSEC Communication Protocol Reference Manual 1 OVERVIEW 1 1 Overview of the MELSEC Communication Protocol 1 2 Features of the MELSEC Communication Protocol 2 DATA COMMUNICATION USING THE MELSEC COMMUNICATION PROTOCOL 2 1 Types and Applications of Data Communication Frames 2 2 Accessible Range of Each Data Communication Frames 2 3 How to Read the Control Procedures of the MC Protocol 2 4 Access Timing of the Programmable Controller CPU Side 2 5 Setting Method for Writing to the Programmable Controller CPU during RUN 2 6 Accessing Other Stations 2 7 Precautions on Data Communication 2 8 Time Chart and Communication Time of the Transmission Sequence of the Serial Communication Module 2 9 Tran
11. data communication Close the Web browser 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 4 1 Device Read Write The Device Read and Device Write functions QnA compatible 3E frame commands 0401 and 1401 read and write the bit device memory 16 bit units and word device memory 1 word units of the local station s QCPU in batch mode For details on the MC protocol refer to the Reference Manual This section explains an example of reading four points of the data registers DO through D3 1 Device Read Screen RY QE ACCESS verl 0 Netscape BEE File Edt View Go Window Help S L 4 lt ee 24 a l sa di Back Reload Home Search Netscape Print Security Stop E Bookmarks A Goto fhttp 10 87 85 10 qi71e71 index html B al What s Related 7 WebMail Contact People YellowPages Download 4 Channels MITSUBISHI QE ACCESS ver1 0 Device Read Connection target 10 97 85 200 Head device D sib Number of device 4 Hex Read Clear Last Modified 05 11 2001 Free DownLoad a Document Done Setting item Setting value Connection target 10 97 85 200 0000000 Number of device 0004 2 Execution result Z Device Read QE ACCESS verl 0 Netscape Jol File Edit View Go Window Help 7 x y Po 3 A a U g fi Nil Reload Home Search Netscape Print Security A Bookmarks Z Location hitp 10 97 85 10 _qi 1e71 _asp
12. dev_read asp E WebMail E Contact E People E YellowPages E Download C4 Channels gt la Gal What s Related The execution result of Device Read The normal completion Device code DF Device 000000 Number of device 4 r When completed normally Reading data 123456789ABC 1234 3 The execution result of Device Read The abnormal completion C056 r When completed abnormally mi Document Done 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 3 Setting items The following explains the setting items on the Device Read Write screen a c d Connection target character string Specifv the IP address or host name of the connection target Ethernet module Example To specifv using the IP address enter 10 97 85 200 Head device Specify the device code and head device of the device for reading writing data 1 Device code selection Select the device memory 2 Head device character string Specify the head number of the device memory for which data is to be read written Specify the head device number in decimal hexadecimal from the target device memory Example To specify the data register D100 select the device code D and specify 000100 for the head device Only 100 may be specified by omitting the first three O s Example To specify the link register W1FF select the device code W and specify OO
13. of the buffer memory in the intelligent function module Also do not use any use prohibited signals as an output signal from the programmable controller CPU to the intelligent function module Doing so may cause malfunction of the programmable controller system A CAUTION e Do not bundle the control wires and the communication cables with the main circuit and the power wires and do not install them close to each other They should be installed at least 100 mm 3 94 in away from each other Failure to do so may generate noise that may cause malfunctions e When changing the operating status of the programmable controller CPU such as remote RUN STOP from the external device select Always wait for OPEN Communication possible at STOP time for the Initial timing setting in the network parameter The communication line will be closed when Do not wait for OPEN Communications impossible at STOP time is selected and the remote STOP is executed from the external device Consequently the programmable controller CPU cannot reopen the communication line and the external device cannot execute the remote RUN Operating Precautions A CAUTION e When changing data and operating status and modifying program of the running programmable controller from 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 syst
14. to the Reference Manual Precautions for use of Data Request a Available communication frame Application data of the QnA compatible 3E frame command can be specified Specification of the 4E or A compatible 1E frame is not allowed b No of commands that can be specified at a time Only one command can be specified at a time Continuous specification of more than one command is not allowed c Remote password unlock lock Command 1630 1631 Remote password unlock lock Command 1630 1631 is not available The remote password to the HTTP port is unlocked in the dialog box which is displayed in the Web browser when accessing to a programmable controller CPU See Section 1 1 5 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 4 4 Proxy Setting In case an Ethernet module is connected via a proxy server specify the address and HTTP port of the proxy server to be routed through when accessing from the Web server to the Ethernet module It is necessary to set the URL of the Ethernet module in advance in order to access via Internet network Public line AN the proxv server Ethernet Proxy server External device Web browser 4 Specifv the address and HTTP port of the proxv server to be routed through when accessing from the Web server Ethernet module It is necessary to set the URL of the Ethernet module in advance in order to access via the p
15. ulee Bl ea AJ Corp 1981 1999 lt d DilRegisterServer in qeaccess dll succeeded Procedure 4 When all settings are complete restart the Web server When deleting the files that have been set up delete all files below the _qj71e71 folder of the root folder Inetpub wwwroot 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN This chapter explains how to access the QCPU using the Web function through a sample screen 4 1 Web Function Items Available on the Sample Screen The following lists the items of the Web function whose operations can be verified on the sample screen Device Read dev read hirni Reads from a bit devices X Y M etc in 16 point units Reads from a word devices D R T C etc in one point units Writes to a bit devices X Y M etc in 16 point units Device Write dev_write html z F Writes to a word devices D R T C etc in one point units Requests a remote RUN operation to the programmable controller CPU 4 Requests a remote STOP operation to the programmable controller CPU 4 2 Operating Procedure The following shows the operating procedure for accessing a QCPU from a sample screen Set up both the sample screen and the communication library in the Web server in advance See Chapter 3 y Start the Web browser and specify See Section 4 3 the URL
16. 1 Overview of the Communication Procedure 5 2 Initial Processing 5 3 Router Relay Parameter 5 4 Confirming the Completion of the Initial Processing 5 5 Open Settings 5 6 Open Processing Close Processing of the Connection 5 7 Pairing Open 5 8 Automatic Open UDP Port 5 9 Corresponding with the QCPU Remote Password Function 5 10 Hub Connection Status Monitor Function 5 11 Configuring a Network in Redundant System Redundant System Support Function A 5 SH 080009 M 6 COMMUNICATION USING THE MC PROTOCOL 6 1 Data Communication Function 6 2 Utilizing the MX Component 7 FIXED BUFFER COMMUNICATION WITH THE PROCEDURE EXIST CONTROL METHOD 7 1 Control Method 7 2 Sending Control Method 7 3 Receiving Control Method 7 4 Data Format 7 5 Programming 8 FIXED BUFFER COMMUNICATION WITH THE NO PROCEDURE CONTROL METHOD 8 1 Control Method 8 2 Sending Control Method 8 3 Receiving Control Method 8 4 Data Format 8 5 Simultaneous Broadcast Using UDP IP 8 6 Programming 9 COMMUNICATION USING THE RANDOM ACCESS BUFFER 9 1 Control Method 9 2 Data Format 9 3 Physical and Logical Addresses of the Random Access Buffer 9 4 Precautions when Creating Programs 10 DEDICATED INSTRUCTIONS 10 1 Dedicated Instruction List 10 2 ZP BUFRCV 10 3 Z BUFRCVS 10 4 ZP BUFSND 10 5 ZP CLOSE 10 6 ZP ERRCLR 10 7 ZP ERRRD 10 8 ZP OPEN 10 9 ZP UINI 11 TROUBLESHOOTING 11 1 How to Check Errors Using LED Displavs 11 2 How to Check an Error Through
17. 2 2 2 Register the DLL file in the OS registry See Section 3 2 2 This registration is not required if it has already been registered 3 After all settings are completed restart the Web server Web browser Start the Web browser 4 Execution of data communication a b c d URL displav on the sample screen Specifv the following URL for the sample screen in the Web browser http 10 97 85 10 qj71e71 index html Unlocking the remote password If the port of the Ethernet module to be used for data communication with the Web server is subject to remote password check the following dialog box will be displaved when access to a QCPU will start Enter the remote password to perform unlock processing This operation is not required if the port of the Ethernet module is not subject to remote password check Therefore the following dialog box will not be displayed x Device Read QE ACCESS ver1 0 Netscape File Edit View Go Window Help zi al FTA 32 A 2a u g3 amp fi Reload Home Search Netscape Print Security A Bookmarks A Location http 7710 97 85 10 _qi71e71 _asp dev_read asp E webMal Contact People YellowPages BB Download 4 Channels oh x Ea What s Related Input remote password PASSWORD F OK Cancel Fy Document Done Data communication For an example of data communication see Section 4 4 1 and subsequent sections End of
18. Form iPassWord Passinf Request Form iPassinf PassCnt Request Form iPassCnt gt lt Setting of default value gt lt NetNo 00 B PcNo FF CpuTime 0028 RetType 0 gt Create an object call the communication library lt Calling of DLL gt l lt Set Object Server CreateObject QeAccess McProtcol disp Object DevRead HostName NetNo PcNo CpuTime DevCode DevNo DevNum PassWord RetType gt lt Showing of execution result When the password error occurs it makes input a password gt lt Execute device read If InStr disp lt HTTP error 401 gt lt gt 0 Then If PassCnt lt 3 Then If Passinf lt gt Cancel Then Response Write lt CENTER gt Response Write lt FONT SIZE 4 gt Input remote password lt FONT gt Response Write lt FORM ACTION dev_read asp METHOD POST TARGET _BLINK gt Response Write lt TABLE gt Response Write lt TD VALIGN middle gt PASSWORD lt TD gt lt TD gt lt INPUT TYPE PASSWORD SIZE 20 NAME iPassWord gt lt TD gt Response Write lt TABLE gt Response Write lt P gt Response Write lt TABLE gt Response Write lt TD gt Response Write lt INPUT TYPE SUBMIT NAME iPassinf VALUE OK gt Response Write lt TD gt Response Write lt TD gt Response Write lt INPUT TYPE SUBMIT NAME iPassinf VALUE Cancel gt Response Write lt TD gt Ae Response Write
19. HostName 00 0 00 0 Dim CmdData Command data CmdData 500000FFO03FF0000340040040600000201SD0002030001D 0001000002M 0001000001 Dim RetType Execution result type RetType 1 disp Object ReqCmd HostName CmdData PassWord RetType Select Case Left disp 5 Case lt OK gt Value Mid disp Len lt OK gt 1 End Select End If gt lt BODY STYLE RIGHT gt lt TABLE HEIGHT 80 gt lt TR gt lt TD gt Time Read lt FormatDateTime Now 3 gt lt P gt lt TD gt lt TR gt lt TABLE gt lt FORM gt lt TABLE BGCOLOR lightyellow CELLPADDING 5 CELLSPACING 0 BORDER 0 gt lt TR BGCOLOR ccccff gt lt TH COLSPAN 2 gt DATA DISPLAY lt TH gt lt TR gt lt TR gt lt TD HEIGHT 50 gt Read interval lt INPUT SIZE 2 MAXLENGTH 2 NAME time VALUE lt Time gt ONCHANGE check_number this gt seconds lt INPUT TYPE submit VALUE Set gt lt INPUT TYPE submit NAME stop VALUE Stop gt lt TD gt lt TR gt lt TR gt lt TD COLSPAN 2 ALIGN middle HEIGHT 50 gt lt Dara register read result gt lt INPUT TYPE TEXT SIZE 10 MAXLENGTH 8 VALUE lt Mid Value 27 8 gt gt Hexadecimal lt BR gt D100 D101 lt TD gt lt TR gt lt TR gt 5 7 5 7 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q lt TD ALIGN middle COLSPAN 2 HEIGHT 80 gt lt FONT SIZE 0 gt lt B gt lt Select Case Mid Value 38 1 Case 0 gt OFF lt Case 1 gt ON lt E
20. ICATION LIBRARY FUNCTIONS This chapter explains the communication library functions 1 List of supported communication library functions The following table lists the functions supported for the communication library Web function item Device Read DevRead Reads from a bit device X Y M etc in 16 point units Corresponds to GT 0401 Reads from a word device D R T C etc in one point units 00LJ0 for QnA compatible 3E frame Writes to a bit device X Y M etc in 16 point units Corresponds to command 1401 Device Write DevWrite Writes to a word device D R T C etc in one point units 00C10 for QnA compatible 3E frame Requests a remote RUN operation to the programmable Corresponds to command 1001 0000 controller CPU for QnA compatible 3E frame Remote RUN RmtRun Requests a remote STOP operation to the programmable Corresponds to command 1002 0000 Remote STOP RmtStop controller CPU for QnA compatible 3E frame Sends a user specified command an application data Data Request ReqCmd l subheader text of the MC protocol and receives the result A Specifv the proxv server when connecting a Ethernet module Proxv Setting ProxvSet via a proxy server Proxy Reset ProxyReset jResets the proxy setting a aa 2 Communication library functions The following table lists the communication library functions Web function item Function RetType Execution result type 1 Actual data only Other tha
21. Index 2 Related Manual 1 Q Corresponding Ethernet Interface Module User s Manual Basic 1 OVERVIEW 1 1 Overview of the Ethernet Module 1 2 Features of the Ethernet Module 1 3 Additional Functions in Function Version B or later 1 4 Software Configuration 2 SYSTEM CONFIGURATIONS 2 1 Applicable Svstems 2 2 Devices Required for Network Configuration 2 3 For Use in Multiple CPU Svstem 2 4 For Use with Basic Model QCPU or Safety CPU 2 5 For Use with Redundant CPUs 2 6 For Use at MELSECNET H Remote I O Station 2 7 Checking the Function Version and Serial No 3 SPECIFICATIONS 3 1 Performance Specifications 3 2 Data Codes for Communication 3 3 Relationship between the External Devices and Additional Functions for Each Communication Function 3 4 Ethernet Module Function List 3 5 Dedicated Instruction List 3 6 List of GX Developer Setting Items for Ethernet Modules 3 7 List of Input Output Signals to from the Programmable Controller CPU 3 8 List of Applications and Assignments of the Buffer Memory 4 SETTINGS AND PROCEDURES PRIOR TO OPERATION 4 1 Loading and Installation 4 2 Settings and Procedures Prior to Starting the Operation 4 3 Components of the Ethernet Module 4 4 Connecting to the Network 4 5 Settings from GX Developer 4 6 Network Parameters Setting the Number of Ethernet CC IE MELSECNET Cards 4 7 Operational Settings 4 8 Self Diagnostic Tests 4 9 Maintenance and Inspection 5 COMMUNICATION PROCEDURE 5
22. Netscape L JOlxI File Edt View Go Window Help lt gt 3 A a nu Back Reload Home Search Netscape Print Security Stop 7 aE Bookmarks A Gotosjhitp 10 37 85 10 qi71e71 ndex html gt Ea What s Related N WebMail Contact People BB YellowPages BI Download C4 Channels MITSUBISHI QE ACCESS verto Remote RUN Connection target 10 97 85 20 Target PLC Control PLC PLC No 1 C PLC No 2 C PLC No 3 PLC No 4 Operation mode Do not execute forcibly Force execution Clear mode Do not clear Clear all except latch Clear all Run Clear Last Modified 05 11 2001 Free DownLoad Document Done Setting item Setting value Connection target 10 97 85 200 i Operation mode Do not execute forciblv 2 Execution result XY Remote RUN QE ACCESS verl 0 Netscape BEE File Edit View Go Window Help 7 L ee v p l 3 A a A d S fi Ni Reload Home Seach Netscape Print Security AG Bookmarks Z Location http 2710 37 85 10 _qi71e717_asp mt_run asp z KI What s Related B WebMal Bl Contact People E YellowPages B Download C4 Channels The execution result of Remote RUN The normal completion r When completed normally The execution result of Remote RUN The abnormal completion 4B00 f When completed abnormally Document Done 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q
23. O1FF for the head device Only 1FF may be specified by omitting the first three O s Number of device character string Specify the number of points hexadecimal of the device for which reading writing are to be performed Example To specify 20 points as the number of device points specify 0014 Only 14 may be specified by omitting the first two O s Read data write data character string See item 4 1 Read data execution result screen Displays the content of data for the number of device points read from the specified device memory 2 Write data Specify the data to be written to the device for the number of device points 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 Arrangement of read write data The following explains the transmission method and placement of the bit device data and word device data handled by device read write operation The data is handled in word units during device read write operation on the sample screen a When reading writing the bit device memory In the bit device memory one word is expressed in 4 bit units sequentially from upper bits in hexadecimal Example To write data to 32 points from the internal relay M16 In the case of data read operation the content of data ON OFF status when 32 points are specified from the internal relay M16 is shown Specify each setting item as follows e Device code Sel
24. Q Corresponding Ethernet Interface Module MITSUBISHI Web function Q l carrie series Mitsubishi Programmable Controller QJ71E71 100 QJ71E71 B5 MELSEG Q QJ71E71 B2 e SAFETY PRECAUTIONS e Always read before starting use 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 The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the user s manual for the CPU module to use In this manual the safety instructions are ranked as DANGER and CAUTION Z N Indicates that incorrect handling may cause hazardous conditions H DANGER resulting in death or severe injurv l T CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please store this manual in a safe place and make it accessible when required Always forward it to the end user Design Precautions lt DANGER e For the operating status of each station after a communication failure refer to relevant manuals for the network Erroneous outp
25. Then Dim Object Communication library Set Object Server CreateObject QeAccess McProtcol Dim HostName Host name HostName 0 0 00 0 Dim NetNo Network number NetNo 00 Dim PcNo PC number PcNo FF Dim CpuTime CPU monitering timer CpuTime 0040 Click Set Clear If Request Form SetData lt gt Then Call command data Dim DevCode Device code DevCode M Dim DevNo Device number DevNo 000100 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q Dim DevNum Number of device DevNum 0001 Dim SetData Set data Select Case Request Form SetData Case Set SetData 0001 Case Reset SetData 0000 End Select disp Object DevWrite HostName NetNo PcNo CpuTime DevCode DevNo DevNum SetData PassWord Else Click remote RUN remote STOP If Request Form CpuNo lt gt Then Dim CpuNo CPUNO CpuNo 03FF Dim CmdMode Commmand mode CmdMode 0001 Select Case Request Form CpuNo Case Remote RUN Dim CirMode Clear mode ClrMode 02 disp Object RmtRun HostName NetNo PcNo CpuTime CpuNo CmdMode ClrMode PassWord Case Remote STOP disp Object RmtStop HostName NetNo PcNo CpuTime CpuNo CmdMode PassWord End Select Else Dim DevCode_ Device code DevCode D Dim DevNo Device number DevNo 000100 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q Dim De
26. Write data Specify 56AB170F The following data will be written In the case of device read operation the following data will be read Be MA 6h G AL I Be ods See Spe Ti T e B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 BS B4 B3 B2 B1 BOJB15 B14 B13 B12 B11B10 B9 B8 B7 B6 B5 B4JB3 B2 B1 BO T T fe ef T 1 Indicates ON 0 1 0 1 0 1 1 0 17071 0 1 011 1 070 0 110117 1 11070 070 1 1 171 0 Indicates OFF X The content of D350 indicates 56ABH The content of D351 indicates 170FH 22187 in decimal 5903 in decimal If values real numbers character strings other than integers are stored in the word device memory from which data is to be read the Ethernet module reads the stored values as integer values Example 1 If a real number 0 75 is stored in DO and D1 it will be read as the following integer value 00003F40 DO 0000n D1 3F40n Example 2 If a character string 12AB is stored in D2 and D3 it will be read as the following integer value 32314241 D2 32314 D3 42414 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN 4 4 2 Remote RUN STOP MELSEC Q The Remote RUN and Remote STOP functions QnA compatible 3E frame commands 1001 and 1002 stop and run the local station s QCPU For details on the MC protocol refer to the Reference Manual This section explains an example of Remote RUN 1 Remote RUN screen jit QE ACCESS verl 0
27. ad Home Search Netscape Print Security BEE E Bookmarks A Location http 10 97 85 10 _user frame htm 7 Bl WebMail E Contact BI People YellowPages Download C4 Channels gt Ga What s Related WEB FUNCTION TEST Time Read 4 16 29 PM DATA INPUT DATA DISPLAY Read interval seconds SEE BEB a _ _ gt Execute Gexadecimal Hexadecimal D100 D101 D100 D101 b _ 7 Set Reset M100 M100 c Remote RUN Remote STOP CPU status RESULT RESULT lt e a Device Write DevWrite Writes data into D100 and D101 b Device Write DevWrite Turns ON OFF M100 c Remote RUN STOP RmtRun RmtStop Performs remote RUN STOP d Results Displays the execution results of items a through c above e Read interval Sets the read interval time Performs random read see item f below processing for each set time interval after the read interval is set Ends random read processing by STOP f Random read ReqCmd Reads the following device memory e D100 and D101 2 points M100 SD203 g Result Displays the execution result of item f above 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q 2 File configuration a The following shows the file configuration of a file used for accessing the programmable controller _user frame htm HTML file for Web browser test1 asp ASP file for data input test2 asp ASP f
28. ample The screen display when Device Read has been selected Last Modified 05 11 2001 Free DownLoad Document Done 2 Execution result screen X Device Read QE ACCESS verl 0 Netscape MEE e Ea Vo Go Whim Hop TE 3 A a u st fi N Reload Home Search Netscape Print Security 4G Bookmarks L Location http qe_serv _qi 1e71 _asp dev_read asp 7 B WebMail B Contact BI People YellowPages Download C4 Channels Gl What s Related La The execution result of Device Read gt The normal completion Device code D Device 000000 Number of device 10 Reading data 123456789ABC123456789ABC123456789ABC1234 1 The execution result is displayed on a new screen When completed normally la The execution result is displayed When completed abnormally An error code is displayed x Refer to the explanation of troubleshooting in the User s Manual Basic Fy 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 4 Example of Data Communication on the Sample Screen The following shows how to access a QCPU using the sample screen 1 System configuration The following shows a system configuration for data communication Explanation of proxy setting is omitted Network No 1 Oo Ethernet module Web server Web browser 10 97 85 200 10 97 85 10 10 97 85 201 Station number 1
29. are that supports the WWW World Wide Web services 1 OVERVIEW MELSEC Q 1 OVERVIEW This manual explains the Web function of the MELSEC Q Series model QJ71E71 100 QJ71E71 B5 and QJ71E71 B2 Ethernet interface module hereinafter called the Ethernet module When applying the following program examples to the actual system make sure to examine the applicability and confirm that it will not cause system control problems 1 1 Overview The following shows an overview of the Web function of the Ethernet module 1 Programmable controller monitoring via the Internet using the Web function The Web function of the Ethernet module is used for the system administrator to monitor Q Series CPUs at a remote location via the Internet using a commercially available Web browser Internet network Public line Internet service provider Internet L Ethernet module External devices Web browsers 1 OVERVIEW MELSEC Q 2 Access function to the programmable controller By using the Web function the programmable controller data can be collected or updated the CPU module operation can be monitored and the status control of the CPU module can be performed in order to control and monitor the equipment on the programmable controller side using a Web browser 1 1 With the Web function exchange of information between the Ethern
30. b browsers are executed in the Web server the load on the Ethernet module can be minimized when accessing the programmable controller 3 Separating an Ethernet line By separating the line connecting between the Ethernet module and the Web server and the line between the Web server and the Web browser the screen data for the Web browser will not be sent to the line connecting between the Ethernet module and the Web server Therefore it is possible to reduce effect on the transmission reception of data for system control for communication between the Ethernet module and the external device 1 VERVIEW MELSEC Q b System expansion can easily be achieved because the Web server and the Ethernet module are separated For example the following function can be added If it is necessary to maintain the security of the programmable controller system against any unauthorized access to damage programs or data etc from external devices the user can take a measure by adding a firewall function to the Web server c The communication information between the Ethernet module and the Web server and between the Web server and the Web browser can be recorded and used for maintenance using the functions of the Web server 5 Remote password check function a The remote password check function of the Ethernet module is provided to prevent any unauthorized access to the QCPU by the user at a remote location For details on the remote password c
31. bers The devices that can be accessed using device memory read write vary depending on the target programmable controller CPU For details refer to the Reference Manual code at default assignment Specialrelay o sm 000oooooo2047 o Special register o sp oooo0tooo2047 o Cd Inputreay o xx oowoo o loutputrelay o v ooto o intemalreay o mx ooooo0woo8191 o lLatchreay o 000000 Raat o O Annunciator o F 00ooooooo2047 o Rage gar o v 000000 Riana o Linkretav OC Bx conn00to00reF o Data register o p ooo000t0012237 o Link register o wx ooto S CSO conas o ts Dre TT I a Eee 000000 to 002047 a i I T E lt a E 000000 to 001023 l o l I Timer ooooo0to007FF o 000000 to 007FF Co i ew o00000t0008191 0001F o P ooooootoooirrr o ooo00010000015 o oo0000t0032767 OT coooootoorevre d o tc Lee i ss sw se x l a zx l Re ZA 6 COMMUNICATION LIBRARY FUNCTIONS MELSEC Q 4 Return values of the functions The following explains the return values of the communication library functions a Acode for judging the execution result is added to the head of the return value For normal completion lt OK gt is added For abnormal completion lt NG gt is added x For ReqCmd
32. cess c Amaximum of four connections are allowed as the simultaneous access count when accessing the Ethernet module using the Web function If this maximum allowable access number is exceeded a timeout error will be returned from a communication library function In case a timeout error occurs extend the access interval time and retry Precautions for registering the communication library DLL file The regsvr32 may not be executed properly when registering the communication library DLL file In that case install the Microsoft Corporation s Internet Explorer 5 5 or later and then execute again 3 OPERATING PROCEDURE MELSEC Q 3 OPERATING PROCEDURE 3 1 General Procedure up to Communication Using the Web Function The following shows a general procedure up to access to the programmable controller from the Web server using the Web function 1 Settings on the Ethernet module side Start the Ethernet module mounted station When it is operating normally the INIT LED on the front of the Ethernet module lights up For details refer to the User s Manual Basic 2 Settings on the external device side Web server Web browser See Chapter 2 This sets an environment that enables the connection of the Web server Web browser and Ethernet module to the Internet Checks the system configuration Obtains the communication library and the sample screen P 7 See Section 3 2 v Sets u
33. configuration for utilizing the Web function 2 To find out about the procedure for using the Web function e Section 3 1 describes the procedure up to communication using the Web function e Section 3 2 describes how to obtain and set up the communication librarv and sample screen e Section 4 2 describes the procedure for accessing the programmable controller using a sample screen 3 To check the operation of the Web function Chapter 4 describes an example when accessing the programmable controller using a sample screen 4 To create data used to access the programmable controller bv the user e Section 4 5 describes an overview of ASP Active Server Pages files for accessing the programmable controller as well as HTML Hvper Text Markup Language files to be displayed by the Web browser both of which are to be created by the user e Chapter 5 describes an example of file creation for programmable controller access e Chapter 6 describes the communication library functions To know about the following items see the Ethernet Interface Module User s Manual Basic 1 To learn startup processing of Ethernet module e Chapter 4 describes a general procedure up to operation of Ethernet module e Section 5 4 describes confirmation of initial processing completion 2 Detailed descriptions of the error codes Chapter 11 describes troubleshooting how to check for errors and detailed descriptions of error codes for the E
34. e Character RetTvpe Specifies the clear mode 00 01 02 Section 3 6 Specifies the application data subheader text Enter according to command of the MC protocol QnA the MC protocol Chapter 3 compatible 3E frame format Specifies the remote operation mode 0001 0003 Section 3 6 Specifies the CPU monitoring timer 0000 to FFFF Section 3 1 3 mi AI 0000 to 01FF Specifies the target CPU request destination l 03E0 to 03E3 Section 3 1 6 module I O No O3FF Specifies the device code See item a Specifies data for the number of device mee l Section 3 3 Specifies the head device number See item a Specifies the number of device 1 to 960 Specifies the IP address or host name of the connection target Ethernet module Specifies the network No to be routed thorough l MA 00 to EF FE Section 3 1 3 ast Specifies the remote password Pee l Specifies the PC No of the access station i e a Section 3 1 3 Specifies the HTTP port No Specifies the IP address or host name of the proxy server Specifies the execution result type 1 Actual data only Returns only the application data subheader text response returned from the programmable controller CPU Other than 1 Normal execution result Returns the data edited in the communication library 6 COMMUNICATION LIBRARY FUNCTIONS MELSEC Q a Device codes and head device numbers The following table lists the device codes and head device num
35. ect M e Head device Specify 000016 Only 16 may be specified by omitting the first four 0 s gt Number of device 0002 Only 2 may be specified by omitting the first three 0 s e Write data Specifv AB1234CD The following data will be written In the case of device read operation the following data will be read Reg JB EJJA SE oS T ea DA B15 B14 B13 B12 B11B10 B9 B8 B7 B6 B5 B4JB3 B2 B1 BO B15 B14 B13 B12 B11B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 BO 1 Indicates ON 0101001 0100091009010017 9l0 9001990701917071 0 Indicates OFF M M M M M M MM M M MM M M M M M M M M M M M M M M MM M M M M 31 30 29 28 27 26 25 24 23 22 2120 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q b When reading writing the word device memory In the word device memory one word is expressed in 4 bit units sequentially from upper bits in hexadecimal Example To write data to the data registers D350 and D351 In the case of data read operation the content of data when the data registers D350 and D351 are specified is shown Specify each setting item as follows e Device code Select D e Head device Specify 000350 Only 350 may be specified by omitting the first three O s gt Number of device 0002 Only 2 may be specified by omitting the first three O s e
36. ely 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 indust
37. em malfunction damage to the machines or accidents REVISIONS The manual number is given on the bottom left of the back cover Print Date_ Manual Number Jun 2001 SH NA 080180 A First Edition Apr 2003 SH NA 080180 B T T modal QJ71E71 B5 QJ71E71 B2 Correction About the Generic Terms and Abbreviations Section 1 1 Section 2 1 2 2 Section 4 1 Chapter 6 1 Aug 2005 SH NA 080180 C Correction Section 1 1 Section 4 1 4 4 3 Chapter 6 Jun 2007 SH NA 080180 D Change of a term PLC was changed to programmable controller Correction About Manuals About the Generic Terms and Abbreviations Section 3 2 1 Chapter 6 3 Oct 2008 SH NA 080180 E SAFETY PRECAUTIONS About Manuals About the Generic Terms and Abbreviations Section 4 4 Japanese Manual Version SH 080144 E 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 2001 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the MELSEC Q series programmable controller Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the Q serie
38. et module and the Web server and between the Web server and the Web browser is performed via HTTP With the Web function the programmable controller is accessed bv sending receiving messages of the MC protocol which are used for communication between the programmable controller and the external device via HTTP 3 Availabilitv of a communication librarv and a sample screen a The Web function can be used by installing the following P Requireddevicelsoftware Programmable controller side Ethernet module Subject module of this manual See Section 2 1 2 Communication library See item b Files created by the user to be used ASP files for accessing the programmable controller Files created by the user to be used HTML files l for displaving the Web browser Device on the Web browser side See Section 2 1 3 b A sample screen HTML files ASP files is provided lt is used to check the access function to the programmable controller using the communication librarv and the Web function Contact vour local agencv or marketing companv 1 The user can easily create ASP files in order to access the programmable controller by using the communication library In addition the result of access to the programmable controller using ASP files can arbitrarily be displayed on the Web browser using user created HTML files Ethernet module Web server External device HTTP MC protocol header Command message HTTP
39. evice Read QE ACCESS ver1 0 lt TITLE gt lt BODY BGCOLOR F FFFFF gt lt BR gt lt CENTER gt lt IMG SRC _img qeaccess_logo gif gt lt BR gt lt TT gt lt FONT SIZE 5 FACE Arial Lucida Sans Time Roman gt Device Read lt FONT gt lt TT gt lt BR gt lt Action gt Specify the lt FORM ACTION _asp dev_read asp METHOD POST TARGET _BLINK gt lt BR gt transmission lt TABLE BORDER 0 gt destination lt Connection target gt lt TR gt lt TD WIDTH 140 ALIGN RIGHT gt lt FONT FACE Arial Lucida Sans Time Roman gt Connection target lt FONT gt lt TD gt lt TD WIDTH 200 COLSPAN 2 gt lt INPUT TYPE TEXT SIZE 26 NAME iHostName gt lt TD gt lt TR gt lt Input type gt lt INPUT TYPE RESET VALUE Clear gt lt CENTER gt lt BODY gt lt HTML gt 1 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 1 l ASP file dev_read asp lt LANGUAGE VBScript gt lt HTML gt Execution result screen lt HEAD gt ser lt TITLE gt Device Read QE ACCESS vert 0 lt TITLE gt JE 3 A a a lt HEAD gt L Fens E rena TG wras Raiatea lt BODY gt rr lt Getting of input data gt peer lt Sumber nee 4 Reading data 12345 789ABC1234 HostName Request Form iHostName DevCode Request Form iDevCode DevNo Request Form iDevNo DevNum Request Form iDevNum PassWord Request
40. for the sample screen yi The Device Read screen Index screen is displayed N y Select the function item to be used from the menu 9 See Section 4 3 y y v Device Device Remote Remote Data Proxy fis ess ei 4 a red items Read Write RUN STOP Request Setting x1 on the screen displayed Vv y Execution Execution Execution Execution Execution Execution See Section 4 4 result result result result result result P The execution result is displayed 4 1 Set this to access an Ethernet module via the proxy server Close the Web browser 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 4 3 Explanation of the Sample Screen The following shows the operations that are performed on the sample screen 1 Setting screen HY QE ACCESS verl 0 Netscape Bee H TEEN 1 Start the Web browser and speci dZ A a 9 dAd a y p Back Foward Reload om a gt p the URL for the sample screen A Bookmarks A Locatid sad L Example If the host name of the Web server is qe serv specify http qe_serv _qj71e71 index html r 2 Select the Web function item to be used from the menu QE ACCESS verto Device Read 4 Connection target 10 97 85 200 Head device D xe 3 Enter the required items on each function Number of device e Hex screen and execute the selected Web function item Read Clear Ex
41. heck function see Section 5 9 of the User s Manual Basic b Ifthe HTTP port is set as the target connection for remote password check access to the QCPU will become possible by performing unlock processing of the remote password via the dialog box displayed in the Web browser X Device Read QE ACCESS verl 0 Netscape _ oy x File Edit View Go Window Help 4 A 2s E fi Reload Home Search Netscape Print Security af Bookmarks Af Location http qe_serv _qi 1e71 _asp dev_tead asp E WebMail Contact People YellowPages BB Download C4 Channels v Ga What s Related Input remote password PASSWORD a Document Done The remote password lock processing is performed when the Web browser ends 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q 2 SYSTEM CONFIGURATIONS 2 1 System Configurations This section explains the environment and system configurations for using the Web function The following describes the system configurations for using the Web function of the 2 Ethernet module 1 System configuration when accessing via the Internet Internet network public line Internet service provider Web server see 4 Communication library DLL a Sample screen HTML ASP Provided by Mitsubishi Electric Corporation Internet service provider lt System administrator gt Boe SSS a SSS SSeS Sapa aS Ser eras Ethernet
42. ications of the Ethernet module data communication procedures with SH 080009 opposite devices line connections open close fixed buffer communication random access buffer 13JL88 communication and troubleshooting sold separately Q Corresponding Ethernet Interface Module User s Manual Application This manual explains the e mail function of the Ethernet module the programmable controller CPU status monitoring function the communication function via CC Link IE controller network MELSECNET H U e MELSECNET 10 as well as the communication function using data link instructions and how to use file transfer FTP server etc sold separately Q Corresponding MELSEC Communication Protocol Reference Manual This manual explains the communication methods and control procedures through the MC protocol for the SH 080008 external devices to read and write data from to the programmable controller CPU using the serial 13JF89 communication module Ethernet module sold separatelv The Manuals Use e How to use this manual This manual explains how to use the Web function of the Ethernet module QJ71E71 100 QJ71E71 B5 and QJ71E71 B2 Please refer to the applicable items of this manual by referring to the following outline of the contents of this manual 1 To find out how to use the Web function and to learn about the operating environment e Chapter 1 describes an overview of the Web function e Chapter 2 describes a svstem
43. ile for data display b Copy the above files to the root directory Inetpub wwwroot of the Web server Inetpub wwwroot B _qj71e71 sample screen See Chapter 4 _user user created screen c Register the communication library DLL file See Section 3 2 If the communication library has already been registered it is not necessary to register it 3 File content Shows the content of the file to be created Enter the host name for HostName in the program a frame htm lt HTML gt lt HEAD gt lt META HTTP EQUIV Content Type Content text html charset x sjis gt lt META NAME GENERATOR Content Microsoft Visual Studio 6 0 gt lt HEAD gt lt TITLE gt WEB FUNCTION TEST lt TITLE gt lt FRAMESET COLS 50 FRAMEBORDER 0 gt lt Specify a read file gt lt FRAME SRC test1 asp gt lt FRAME NAME DATA SRC test2 asp gt lt FRAMESET gt 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q b testi asp lt Language VBScript gt lt Option Explicit Dim Password Password not set Dim disp Return value Dim Value Result Dim DevData Device data use input value Dim Answer _ For display gt lt HTML gt lt HEAD gt lt META HTTP EQUIV Content Type Content text html charset x sjis gt lt META NAME GENERATOR Content Microsoft Visual Studio 6 0 gt lt HEAD gt lt If Request ServerVariables REQUEST_METHOD POST
44. k Input E iInput Remoto Stop Argument ime itoring ti Input CpuNo Target programmable controller Request destination module I O No Input i input B Input p Pointer to the execution result character string 1Output BSTR p ReqCmd HostName CmdData PassWord RetType HostName Connection target Input CmdData Application data part subheader text command input Data Request i Argument PassWord Password Input RetType Execution result type 1 Actual data only Other than 1 Normal execution result Input p Pointer to the execution result character string Output BSTR p ProxySet ProxyName PortNo ProxyName Proxy server address Input Argument PortNo HTTP port No Input p Pointer to the execution result character string Output BSTR p ProxyReset Proxy Reset p Pointer to the execution result character string Output y Z TERRE a 12 5 5 16 Z 5 9 sjslzjalalz v IS 0 6 3 g le fs S 12 ja 3 Z RERI F 3 S 2 3 le 3 oO 2 Proxy Setting 6 COMMUNICATION LIBRARY FUNCTIONS MELSEC Q 3 Arguments used by the functions The following table lists the arguments used by the communication library functions All of the arguments of the communication library are specified using the same character string as used for the communication settings of the MC protocol in ASCII code Argument Data type Overview Setting range ClrMode CmdData CmdMod
45. ller CPU from an external device using the communication procedure for Q serial communication modules or Ethernet interface modules etc Two type of communication systems are available one using ASCII code data and the other using binary code data For more details see to the Reference Manual Abbreviation for MELSECNET 10 Network system Abbreviation for MELSECNET H Network system Generic term for IBM PC AT or 100 compatible personal computer Generic term for QOOJCPU QOOCPU Q01CPU QOZCPU QO02HCPU QO6HCPU Q12HCPU Q25HCPU QO2ZPHCPU QO6PHCPU Q12PHCPU Q25PHCPU Q12PRHCPU Q25PRHCPU QOZUCPU QO3UDCPU Q04UDHCPU QO6UDHCPU Q13UDHCPU Q26UDHCPU QO3UDECPU Q04UDEHCPU QO6UDEHCPU Q13UDEHCPU and Q26UDEHCPU Reference Manual Abbreviation for the Q Corresponding MELSEC Communication Protocol Reference Manual URL Abbreviation for Uniform Resource Locator User s Manual Application User s Manual Basic Abbreviation for the Q Corresponding Ethernet Interface Module Use s Manual Application Abbreviation for the Q Corresponding Ethernet Interface Module Use s Manual Basic User s Manual Web function Web browsers Abbreviation for the Q Corresponding Ethernet Interface Module Use s Manual Web function Abbreviation for software that views Web pages Web server Abbreviation for the computer in which Web server software operates Web server software Generic name of server softw
46. lt OK gt is added in the case of an MC protocol error b A code for judging an error is added at abnormal completion 1 Inthe case of an HTTP error lt ING gt lt HTTP error HTTP error code gt is added 2 Inthe case of a WinSock error lt NG gt lt WinSock error WinSock error code gt is added 3 Inthe case of an MC protocol error lt NG gt lt MCP error error code end code gt is added Refer to either of the following manuals according to the error code verify the error content and take an appropriate action lt Error codes gt 4FFFuH or lower QCPU User s Manual Hardware Design Maintenance and Inspection COOOH and higher Section 11 3 3 of the User s Manual Basic 4 Inthe case of a communication library error an error message is displayed c Ifthe HTTP port is used or a remote password has been set in the programmable controller CPU of access destination create a program for remote password input processing using the error code for the following return value as a condition For an example of how to describe a program for remote password input processing see Section 4 5 lt HTTP error 401 gt d The following table lists examples of the return values of the communication library functions mi Noma RetType other lt OK gt The execution result of Device Read lt BR gt The normal completion lt BR gt Device code D lt BR gt Device than 1 000000 lt BR gt Number of device 4
47. lt BR gt Reading data 123456789ABC 1234 DevRead completion lt OK gt 123456789ABC1234 lt ING gt lt IMCP error C056 gt The execution result of Device Read lt BR gt The abnormal completion CO56 lt BR gt lt OK gt The execution result of Device Write lt BR gt The normal completion lt BR gt RetType other lt OK gt The execution result of Data Request lt BR gt The MC protocol normal than 1 completion lt BR gt DOOOOOFF03FF0000140000123456789ABC 1234 lt BR gt ReqCmd RetType 1 SIOKPDOOOOOFFO3FFO000140000123456789ABC1234 RetType other lt OK gt The execution result of Data Request lt BR gt The MC protocol abnormal completion than 1 C056 lt BR gt DO0000FF0O3FF000016CO5600FF03FF0004010000 lt BR gt completion p RetType 1 lt OK gt DOOO00FF03FF000016C05600FF03FF0004010000 Abnormal pB Normal completion lt OK gt The proxy setting lt BR gt The proxy setting completion lt BR gt 9 Abnormal completion lt NG gt The communication library error lt BR gt Check the setting value of the proxy lt BR gt Normal completion lt OK gt The proxy setting lt BR gt The proxy setting cancellation lt BR gt ProxyReset Abnormal completion lt NG gt The communication library error lt BR gt The proxy information is not set lt BR gt INDEX C Communication Library argument 6 3 Communication Library functions 6 1 Configura
48. n 46x 30H 30H 30H 30H 34H 38H 30H 304 311 301 301 341 30H 31H 30H 30H 30H 30H 444 2AH 30n 30H 30H 30H 30H 30H 30H 30H 30H 34n gt xx Specify this part in the command data 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 2 Execution result 4 Z Data Request QE ACCESS verl 0 Netscape File Edt View Go Window Help a a 4 3 Reload Home Search Print Security 7 aL Bookmarks L Location http 2710 97 85 10 _qi71e71 _asp req cmd asp EP What s Related WebMail E Contact E People YellowPages BB Download 4 Channels The execution result of Data Request e MC protocol normal comple The MC protoco letion DOOOOOFFO3FF0000140000123456789ABC 1234 K When completed normally The execution result of Data Request The MC protocol abnormal completion C056 DO0000FFO3FF000016C05600FFO3FF0004010000 r When completed abnormally Setting items The following explains the setting items on the Data Request screen a Connection target character string Specify the IP address or host name of the connection target Ethernet module Example To specify using the IP address enter 10 97 85 200 b Command data character string Specify the MC protocol application data using the same character string as the setting for ASCII code transmission For details on the MC protocol refer
49. n 1 Normal execution result BSTR p DevRead HostName NetNo PcNo CpuTime DevCode DevNo DevNum PassWord RetTvpe Device Read Argument 6 COMMUNICATION LIBRARY FUNCTIONS MELSEC Q Web function item Function BSTR p DewWrite HostName NetNo PcNo CpuTime DevCode DevNo DevNum DevData PassWord HostName Connection target Input NetNo Network No Input PcNo PC No Input CpuTime CPU monitoring timer Device Write DevCode Device code D Argument S Input i i Input Wri Input A ilnput p Pointer to the execution result character string Output BSTR p RmtRun HostName NetNo PcNo CpuTime CpuNo CmdMode ClrMode PassWord HostName Connection target input l input x ilnput Remote Run me itoring ti niput Argument CpuNo Target programmable controller Request destination module I O No Input E i Input i Input input p Pointer to the execution result character string Output DTJIDOJOJO w jo lo o w lt lt lt 2 jojziiz o S S S 3 z Z 8 Uj JIS ja v 13 wn JO j5 e 8 ja g 2 I 218 3 8 Q jo a fe lt a to Zz 2 Zz fe Zz D E i Zz o TU U JAAA 2 1215 2 B 2 3 la ale lg lalz 10 Q O U O b18 35 3 la g 3 6 0 l o a 19 S 2 o 3 3 S 3 Ie o 3 o 2 BSTR p RmtStop HostName NetNo PcNo CpuTime CpuNo CmdMode PassWord HostName Connection target input
50. nd Select gt lt B gt lt FONT gt lt BR gt M100 lt TD gt lt TR gt lt TR gt lt TH COLSPAN 2 HEIGHT 50 VALIGN TOP gt lt Select Case Mid Value 26 1 Case 0 gt RUN lt Case 2 gt STOP lt End Select gt lt BR gt CPU status lt TH gt lt TR gt lt TR gt lt TH COLSPAN 2 BGCOLOR 4ccffcc gt RESULT lt TH gt lt TR gt lt TR gt lt TH COLSPAN 2 gt lt Select Case Left disp 5 Case lt OK gt Select Case Mid Value 19 4 Case 0000 Answer Normal completion Case Else 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER MELSEC Q Answer Abnormal completion amp Mid Value 19 4 End Select Case lt ING gt Answer Abnormal completion 8 Mid disp nstr disp error Len error 1 4 End Select gt lt TEXTAREA NAME Answer ROWS 5 gt lt Answer gt lt TEXTAREA gt lt INPUT TYPE BUTTON VALUE Clear ONCLICK this form elements Answer value gt lt TH gt lt TR gt lt TABLE gt lt FORM gt lt P gt lt BODY gt lt HTML gt lt SCRIPT LANGUAGE javascript gt lt l function check_number element var i for i 0 i lt element value length i if 0123456789 indexOf element value charAt i 1 alert element namet Enter using a numeric value element value element focus return false return true Il 9 lt SCRIPT gt 6 COMMUNICATION LIBRARY FUNCTIONS MELSEC Q 6 COMMUN
51. ow Operating system OS Microsoft Windows 2000 Server Operating System E1 Microsoft Windows 2000 Professional Operating System Microsoft Windows NT Server Network Operating System Internet Information Server 5 0 IIS5 0 Internet Information Server 4 0 IIS4 0 Version 4 0 x2 Peer Web Services 4 0 PWS4 0 Ve eee NT Workstation Operating System we Personal Web Server 4 0 PWS4 0 Microsoft Windows 98 Operating System 1 Set up Internet Information Server 5 0 when installing the OS 2 Set up Personal Web Server 4 0 when installing Windows NT 4 0 Service Pack 3 or later and Option Pack Windows NT 4 0 Service Pack 3 or later and Option Pack can be obtained by downloading them from the web page of Microsoft Corporation or requesting their CD ROMs to be sent 3 Set up Windows 98 when installing the OS b It is necessary to set up the following files in the Web server in order to use the Web function e Communication library e HTML files for Web browser e ASP files for programmable controller access 5 Web browser Web browsers whose compatibility has been verified by Mitsubishi Electric Corporation are as follows e Internet Explorer 4 0 or later Microsoft Corporation Netscape Communicator 4 05 or later Netscape Communications Corporation 2 SYSTEM CONFIGURATIONS MELSEC Q 2 2 Precautions for Using the Web Function 1 Precautions for configuring a system a b c
52. p the communication librarv and A the sample screen in the Webserver f 77 See Section 3 2 Checks the operation of the Web function on the sample screen f 77 See Chapter 4 y See Chapters 5 and 6 Creates files waa E ee e HTML files for Web browser or user created files gt ASP files for programmable controller y Sets up the HTML and ASP files in the Web server access A Start the Web browser and specify the URL of the user created screen l y Execute the programmable controller access by using the user created files PERATING PROCEDURE Seo MELSEC Q 3 2 How to Obtain and Set Up the Communication Library and the Sample Screen The following explains how to obtain the communication library and the sample screen and their setup procedures in the Web server 1 How to obtain the communication library and the sample screen Contact your local agency or marketing company to obtain qeaccess e exe The qeaccess e exe is a self decompressing file 3 OPERATING PROCEDURE MELSEC Q 2 Setup Set up the qeacess exe file in the Web server Web server software must be installed in the Web server in advance For the operating environment see Section 2 1 Procedure 1 Decompressing the qeaccess e exe file Move the compressed qeaccess e exe file approximately 75 KB to any folder and decompress it The following shows the file structure after decompression
53. roxy server Web server 1 Proxy setting Example To set the port 8000 of the proxy server qe_serv XX Proxy Setting QE ACCESS verl 0 Netscape File Edt View Go Window Help Fle Edt View Go Window Help a 3 A a A 3 T L 2 3 Aa aad id fi Back Reload Home Search int Secun ity Stop e Search Netse rit 7 w Bookmarks Go to fhttp 7710 97 85 10 _q 2 37 What s Related 10 97 85 10 _qi71e71 z EB What s Related 7 B WebMai B Contact B People B Yellow P People B Yelow Pages MITSUBISHI The proxy setting completion QE ACCESS verto Proxy Setting Proxy las serv Port s000 Set Reset Clear Last Modified 05 11 2001 Free DownLoad a Document t Done P Documer vt Done 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN MELSEC Q 2 Resetting proxy ISE QE ACCESS verl 0 Netscape Z Proxy Setting QE ACCESS veri 0 Netscape File Edt View Go Window Help d gt 3 A 2 9 amp B Back Reload Home Search Netscape Security Stop 7 L Bookmarks L Location e TOST SETT Ea Whats Related 7 B WebMai E Contact People E Yelow Pages E Download C4 Channels 7 Bl wema E G E People Yelow Pages Download C4 Channels MITSUBISHI The proxy setting The proxy setting cancellation r When completed normally QE ACCESS ver1 0 Proxy Setting Proxy The proxy information is not
54. ry 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 of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi produc
55. s programmable controller you have purchased so as to ensure correct use CONTENTS This manual SAFETY PRECAUTIONS iss tic tehetlaci a ea aaea a dete etch Boks sat ell ded call Me le By A 1 REVISIONS ii ki nies oe ees fa tee hee er tea ee Sd Oe ee Be ee ee At A 3 CONTENT TTT A 4 About Man alS ia ig a a eee ee a A 8 The Mantiaf SUS TTT A 9 About the Generic Terms and Abbreviations sese ereer eee eee eee A 10 1 OVERVIEW 1 1to1 4 T ONGIVIGW vs 2 A a R R EH 1 1 2 SYSTEM CONFIGURATIONS 2 1to2 4 2 1 System s sU 2 1 2 2 Precautions for Using the Web EuncHiOn sse eee ee ee ee eee 2 3 3 OPERATING PROCEDURE 3 1to3 4 3 1 General Procedure up to Communication Using the Web Function sese eee eee ee eee eee 3 1 3 2 How to Obtain and Set Up the Communication Library and the Sample Screen 3 2 4 1 Web Function Items Available on the Sample Screen eee ee ee ee 4 1 4 2 Operating l ses HI 4 1 4 3 Explanation of the Sample Screen eee 4 2 4 4 Example of Data Communication on the Sample Screen eee ee ee nara 4 3 44 Device Read Wiites nhc eek ee a let decimated Bias i Ge A je 4 5 4 4 2 Remote RUN STOP sse 4 9 4 4 3 Data sL O 4 11 4 44 POY SENI oar ia f g tiie dinate die iain ae eee a 4 13 4 5 Configurations of Files on the Sample Screen eee ee eee ee eee 4 15 5 EXAMPLE OF CREATING A FILE FOR ACCESSING THE PROGRAMMABLE CONTROLLER 5 1to5 9 6 COMMUNICATION LIBRARY FUNCTIONS 6 1to6 5 INDEX Index 1 to
56. sement and safety devices shall also be excluded from the programmable controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Microsoft Windows Windows NT and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is a trademark of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corporation All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies SH NA 080180 E Q Corresponding Ethernet Interface Module User s Manual Web function MODEL QJ71E71 U WEB E MODEL 13JR40 SH NA 080180 E 0810 MEE AL MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 i NAGOYA WORKS 1 14 VADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPA When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
57. set Port r If proxy has not been set Set Reset Clear Last Modified 05 11 2001 Free DownLoad 3 Setting items The following explains the setting items on the Proxy Setting screen For the IP address and port of the proxy server to be used consult with the network administrator the person in charge of network planning and IP address management and then specify them a Proxy character string Specify the IP address or host name of the proxy server to be routed through Example To specify using the IP address enter 10 97 85 200 b Port character string Specify the port to be used 4 14 4 VERIFYING THE OPERATION OF THE WEB FUNCTION USING A SAMPLE SCREEN 4 5 Configurations of Files on the Sample Screen MELSEC Q The following shows the configuration of the HTML files for Web browser and the configuration of the ASP files for accessing the programmable controller using the Device Read sample screen For communication library functions see Chapter 6 Device Read screen BE QE ACCESS vorl 0 Notsoapo l b Booknaks iz T ml EB whats Related 7 WebMail B Contact 3 Foole BB Yelow Pages BB Downed 2 Channels MITSUBISHI QE ACCESS verto Device Read Connection target 10 87 85 200 Head dovico D BIS Number of device R Hex Last Modified 01 1 2001 Free DownLoad HTML file dev_read html lt HTML gt lt TITLE gt D
58. smission Time When Accessing Other Stations via CC Link IE controller network MELSECNET H MELSECNET 10 2 10 Compatibility with Multiple CPU Systems 2 11 Compatibility with the QOOCPU Q01CPU Serial Communication Function 2 12 Compatibility with the Built in Ethernet port 3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E 3C 4C FRAMES OR 4E FRAME 3 1 Message Formats 3 2 List of Commands and Functions for the QnA Compatible 3E 3C 4C Frames and 4E Frame 3 3 Device Memory Read Write 3 4 Buffer Memory Read Write 3 5 Reading from and Writing to the Buffer Memory of an Intelligent Function Module 3 6 Programmable Controller CPU Status Control 3 7 Drive Memory Defragmentation for Other Station QnACPU 3 8 File Control 3 9 Registering Deleting and Reading User Frames for Serial Communication Modules 3 10 Global Function for Serial Communication Modules 3 11 Data Transmission to an External device On Demand Function for Serial Communication Modules 3 12 Initializing the Transmission Sequence for Serial Communication Modules SH 080008 K 3 13 Mode Switching for Serial Communication Module 3 14 Turning Off Displayed LEDs and Initializing Communication Error Information and Error Code for Serial Communication Module 3 15 Turning Off the COM ERR LED for Ethernet Modules 3 16 Loopback Test 3 17 Registering or Canceling Programmable Controller CPU Monitoring for Serial Communication Modules 3 18 Remote Password Unlock Lock
59. tatus and the access request from Web browser 2 to Ethernet module 2 has to wait at the Web server 2 SYSTEM CONFIGURATIONS 2 3 MELSEC Q Precautions relating to security The remote password check function is not designed to completely prevent unauthorized access When accessing a programmable controller CPU via the Internet and if it is necessary to maintain the security of the programmable controller system the user should take appropriate measures Mitsubishi Electric Corporation will not take any responsibility for any system problems that may occur due to unauthorized access x Examples of measures against unauthorized access e Installing a firewall function e Security measures by the Web server Take necessary measures by referring to the User s Manual of the device used Precautions for accessing the programmable controller CPU a When the user creates an ASP or HTML file for the Web function use the communication library QeAccess dll provided by Mitsubishi Electric Corporation The communication library cannot be created by the user For details on the communication library functions see Chapter 6 b The Web server provides a log function that records file access etc Periodically collect the access log for the programmable controller access file and check the access status If there are too many unauthorized access logs to the Web server the user should take appropriate measures to resolve unauthorized ac
60. thernet modules 3 Storage locations of the error codes for the Ethernet module Section 11 3 lists the error code storage locations in the buffer memory About the Generic Terms and Abbreviations Unless otherwise specified this manual uses the following generic terms and abbreviations to describe Type QJ71E71 100 QJ71E71 B5 and QJ71E71 B2 Ethernet Interface Modules Generic Term Abbreviation Description ASP External device Abbreviation for Active Server Pages Generic term for personal computers computers workstations and Ethernet module etc that are connected by the Ethernet for data communication Ethernet module Abbreviation for Model QJ71E71 100 QJ71E71 B5 and QJ71E71 B2 Ethernet Interface Modules Ethernet network system Abbreviation for 1OBASE2 10BASE5 and 10BASE T 100BASE TX network systems GX Developer Generic product name for SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW EV and SWnD5C GPPW EVA n means version 4 or later A and V mean volume license product and version upgrade product respectively HTML Abbreviation for Hyper Text Markup Language HTTP Abbreviation for Hyper Text Transfer Protocol This protocol sends receives the information on World Wide Web in the Internet MC protocol MELSECNET 10 MELSECNET H Personal computer Abbreviation for MELSEC communication Protocol Name of a communication system for accessing the programmable contro
61. tion of files on the Sample e HT 4 15 D Device CODE se nn 6 4 Decompressing the Tile eee eee 3 3 F File structure 3 3 IHI Head device numbers 6 4 How to obtain the Communication IDa ed E 0 222 3 2 How to obtain the Sample screen 3 2 M Manual s S Eii aa A 9 MC protoOCOl see A 10 O Overview of web function ss 1 1 R Registering the Communication library 3 4 Related Manuals en A 8 Remote password Check 1 4 S Setup the file eee eee eee 3 3 Supported Communication library FUNGON be i l a Gad 6 1 U Utilizing the Web server 1 3 V Verifying the Web function using a Sample e 4 1 Index 1 Ww Web brOwWSeT ee A 10 2 2 Web function items available on the Sample screen eee eee eee eree 4 1 Web Server A 10 2 2 Web server software ssssesenenenznzi A 10 Index 1 MEMO Index 2 Index 2 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 sol
62. ts special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products 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 6 Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amu
63. uts and malfunctions may lead to accidents Not doing so can cause an accident due to false output or malfunction e To prevent the malfunction of the programmable controller system due to harmful e mails take preventive measures such as antivirus measures so that the mail server for this module does not receive harmful e mails e To maintain the safety of the programmable controller system against unauthorized access from external devices via the Internet take appropriate measures e When changing data of the running programmable controller from a peripheral connected to the CPU module or from a personal computer connected to an intelligent function module or special function module configure an interlock circuit in the sequence program to ensure that the entire system will always operate safely For program modification and operating status change read relevant manuals carefully and ensure the safety before operation Especially in the above mentioned control operations that are performed from an external device to a remote programmable controller any problems on the programmable controller side may not be dealt with promptly due to abnormal data communication To prevent this configure an interlock circuit in the sequence program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure Design Precautions lt gt DANGER e Do not write any data in the system area
64. vNum Number of device DevNum 0002 Device data use input value DevData Trim Request Form DevData DevData UCase String 8 Len DevData 0 amp DevData disp Object DevWrite HostName NetNo PcNo CpuTime DevCode DevNo DevNum DevData PassWord End If End If End If gt lt BODY gt lt TABLE HEIGHT 80 gt lt TR gt lt TD gt lt FONT SIZE 2 gt WEB FUNCTION TEST lt FONT gt lt P gt lt TD gt lt TR gt lt TABLE gt lt FORM METHOD POST gt lt TABLE BGCOLOR LIGHTYELLOW ALIGN RIGHT CELLPADDING 5 CELLSPACING 0 BORDER 0 gt lt TR BGCOLOR CCCCFF gt lt TH COLSPAN 2 gt DATA INPUT lt TH gt lt TR gt lt TR gt lt TD COLSPAN 2 HEIGHT 50 gt lt BR gt lt TD gt lt TR gt lt TR gt lt TD COLSPAN 2 ALIGN CENTER HEIGHT 50 gt lt INPUT TYPE TEXT NAME DevData SIZE 10 MAXLENGTH 8 VALUE lt DevData gt gt lt INPUT TYPE SUBMIT VALUE Execute gt Hexadecimal lt BR gt D100 D101 lt TD gt lt TR gt lt TR gt lt TD ALIGN CENTER COLSPAN 2 HEIGHT 80 gt lt INPUT TYPE SUBMIT NAME SetData VALUE Set gt lt INPUT TYPE SUBMIT NAME SetData VALUE Reset gt lt BR gt M100 lt TD gt lt TR gt lt TR gt lt TH HEIGHT 50 gt lt INPUT TYPE SUBMIT NAMES CpuNo VALUE Remote RUN gt lt TH gt lt TH HEIGHT 50 gt lt INPUT TYPE SUBMIT NAME CpuNo VALUE Remote STOP gt lt TH gt lt TR gt lt TR gt lt TH COLSPAN 2 BGCOLOR CCFFCC gt RESULT lt TH gt lt TR gt lt TR gt lt TH COLSPAN
65. vice Memory Batch Read command 0401 for the QnA compatible 3E frame 1 Data Request screen XY QE ACCESS ver1 0 Netscape Bee File Edit View Go Window Help S s a 2a 2a U 3 li D Back Reload Home Search Netscape Print Security Siop a Bookmarks Go to hitp 7710 97 85 10 _qi71e71 index him Gal What s Related WebMail BI Contact People YellowPages Download C4 Channels MITSUBISHI ite Remote RUN QE ACCESS ver1 0 Data Request Connection target 10 97 85 20 Command Data SOOOOOFFO3FF000018001004010000D 00000000 04 Request Clear Last Modified 05 11 2001 Free DownLoad Document Done Setting item Setting value Connection target 10 97 85 200 Command Data 500000FF03FF000018001004010000D 0000000004 Example The following shows an example of the format for the application data of the MC protocol that is equivalent to the command data gt Text Command 1 T Q header i L i Request Request cPU i inti destination Device Number of Subheader Network po yo destination que Request data monitoring Command Subcommand Head device S code device No module station length timer W O No No i i HEJH LI s Eae eE e 8 Ele 8 a 4 4 L I a 8 Ji H LJIH AL 5 0 0 010 0 F F O 3 E FLO 0 0 D al 8 0 0 1 0 l0 4 0 1 0 0 0 O D l 0 0 0 0 0 0 0 0 0 4 351 30H 30H 30H 30n 30H 46H 46H 301 331 46
Download Pdf Manuals
Related Search
Related Contents
HI 3810-100 - Hanna Instruments Portugal A propos de l`ordinaire de Sion* Autonomie régionale et solidarité : une alliance durable ? 1 Service Manual for 5KK14, 5KK21, 5 KK30 Conceptronic Printer and Storage Network Adapter 8624-2 Standard-DB.pmd - the world of Bürkert Fluid Control Systems. Otterbine Barebo Inc. Manual de instalación de Giant Fountain 50 Hz User Manual - VIAIR Corporation Copyright © All rights reserved.
Failed to retrieve file