background image

(Application)

Q Corresponding Ethernet Interface Module User's Manual (Application) 

U

Q Corresponding Ethernet
Interface Module

Q Corresponding Ethernet
Interface Module

User's Manual (Application) 

User's Manual

Mitsubishi Programmable 
Logic Controller

Specifications subject to change without notice.

MODEL

MODEL

CODE

QJ71E71-U-OU-E

13JL89

SH(NA)-080010-E(0210)MEE

QJ71E71-100
QJ71E71-B5
QJ71E71-B2

When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.

HEAD OFFICE : 1-8-12, OFFICE TOWER Z 14F HARUMI CHUO-KU 104-6212,JAPAN

NAGOYA WORKS : 1-14 , YADA-MINAMI 5 , HIGASHI-KU, NAGOYA , JAPAN

Содержание QJ71E71-100 Series

Страница 1: ...cation Q Corresponding Ethernet Interface Module User s Manual Application U Q Corresponding Ethernet Interface Module User s Manual Mitsubishi Programmable Logic Controller QJ71E71 100 QJ71E71 B5 QJ71E71 B2 ...

Страница 2: ......

Страница 3: ... to accidents Not doing so can cause an accident due to false output or malfunction To prevent malfunctions of the PLC system that may be caused by illegal e mails from the outside take a proper countermeasure such as virus detection so that illegal e mails are not received by the mail server of this module Using an anti virus program etc If it is necessary to ensure the security of the PLC system...

Страница 4: ...m the external device cannot start either Installation Precautions DANGER Use the PLC in an environment that meets the general specifications listed in the user s manual for the CPU module to use Using the PLC in any other operating environments may cause electric shocks fires or malfunctions or may damage or degrade the module While pressing the installation lever located at the bottom of module ...

Страница 5: ...cessively it may damage the screws and cause the module to short circuit malfunction or fall off When disconnecting the communication and power cables from the module do not pull the cables by hand When disconnecting a cable with a connector hold the connector to the module by hand and pull it out to remove the cable When disconnecting a cable connected to a terminal block loosen the screws on the...

Страница 6: ...ause the module to breakdown or malfunction If the screws are loose it may cause the module to short circuit malfunction or fall off If the screws are tightened excessively it may damage the screws and cause the module to short circuit malfunction or fall off Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to do s...

Страница 7: ... Chapter 5 POINT Jun 2001 SH NA 080010 C Added the description of the model QJ71E71 100 Ethernet interface module Additional model QJ71E71 100 Correction About Manuals The Manual s Usage and Structure About the Generic Terms and Abbreviations Section 1 1 1 1 2 Section 3 3 2 3 c Section 4 2 5 4 3 3 4 4 Table 4 7 Section 5 4 5 5 c Section 6 2 6 3 6 9 POINT 6 13 Function 6 14 Function Addition Chapte...

Страница 8: ... 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 1999 MITSUBISHI ELECTRIC CORPORATION ...

Страница 9: ...l Specifications 2 8 2 5 Processing Procedure of the E mail Function 2 9 2 6 E mail Settings from GX Developer 2 10 2 7 Sending Receiving E mail Attached Files by the PLC CPU 2 15 2 7 1 When sending data as an attached file 2 15 2 7 2 When receiving data in the attached file 2 20 2 7 3 Contents of the attached files 2 26 2 8 Sending E mail Main Text by the PLC CPU 2 28 2 8 1 When sending data as m...

Страница 10: ...ansfer Functions 5 1 5 1 1 FTP server support functions of Ethernet module 5 2 5 2 File Transferable Range 5 4 5 3 FTP Parameter Settings for File Transfer from GX Developer 5 5 5 4 Procedure and Required Processing on the External Device Side FTP Client 5 7 5 5 Precautions when Using the File Transfer Functions 5 12 5 6 FTP Commands 5 16 5 6 1 File designation method 5 16 5 6 2 QCPU user file lis...

Страница 11: ...Connecting to the Network 4 5 Settings from GX Developer 4 6 Network Parameters Setting the Number of MNET 10H Ethernet Cards 4 7 Operational Settings 4 8 Self Diagnostic Tests 4 9 Maintenance and Inspection 5 COMMUNICATION PROCEDURE 5 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 Setting...

Страница 12: ... 11 2 How to Check an Error Through GX Developer 11 3 Error Code List 11 4 Troubleshooting Flowchart APPENDIX Appendix 1 Function Upgrade for the Ethernet Module Appendix 2 The QnA A Series Module Appendix 3 Installing the Ethernet Module on Existing Systems Appendix 4 Processing Time Appendix 5 ASCII Code List Appendix 6 References Appendix 7 External Dimensions Appendix 8 Program Examples Append...

Страница 13: ...open close fixed buffer communication random access buffer communication and troubleshooting SH 080009 13JL88 Q Corresponding Ethernet Interface Module User s Manual Web function This manual explains how to use the Web function of the Ethernet module Sold separately SH 080180 13JR40 Q Corresponding MELSEC Communication Protocol Reference Manual This manual explains the communication methods and co...

Страница 14: ...rnet module Section 3 2 describes the accessible range and accessible stations when accessing other stations via the Ethernet modules Section 3 3 describes the parameter settings using GX Developer in order to perform data communication with the PLC CPUs of other stations Section 3 3 2 provides an overview of the processing for Station No IP information conversion 4 To use the file transfer FTP fu...

Страница 15: ...creens For details on the types of the setting screens objectives of the settings the setting items and an outline of the setting operation using GX Developer see Section 4 5 of the Q Corresponding Ethernet Interface Module User s Manual Basic c Set the required parameters by referring to chapters that explain the functions to be used and load the set parameters to the PLC CPU of the Ethernet modu...

Страница 16: ...s 1 to 4 1 Shows how to start the setting screen 2 Shows the setting screen of GX Developer 3 Shows a description of the setting Purpose of setting Specify the IP address of the DNS server when setting the mail server name using the domain name by the e mail setting see 2 Start procedure Network parameter setting the number of MNET 10H Ethernet cards Initial setting Setting screen a DNS Setting De...

Страница 17: ...eveloper Abbreviation for GX Developer SWnD5C GPPW E n in the model name is 4 or greater MELSECNET 10 Abbreviation for the MELSECNET 10 network system MELSECNET H Abbreviation for the MELSECNET H network system Network module N W module Abbreviation for interface modules compatible with the MELSECNET H MELSECNET 10 network system Opossit device External device Generic term for personal computers c...

Страница 18: ...of the special functions that are available for the Ethernet module 1 1 Overview 1 Send receive e mails Details are explained in Chapter 2 This function allows the transmission and reception of a maximum of 6k words of CPU information as the main text or attached file of e mail to from computers and PLC CPUs via the Internet Furthermore by setting the automatic notification the Ethernet module sen...

Страница 19: ...an be accessed via the MELSECNET H MELSECNET 10 and Ethernet network systems Access source Access destination Ethernet Ethernet MELSECNET H MELSECNET 10 3 Perform data communication between PLC CPUs Details are explained in Chapter 4 This function sends and receives data to from another station s PLC CPU via the Ethernet using the data link instructions SEND RECV READ WRITE REQ ZNRD ZNWR It also s...

Страница 20: ...pports the server function of the TCP IP standard protocol FTP File Transfer Protocol By using the FTP commands QCPU files can be read written in file units Because of this it is possible to manage QCPU files by computers etc and to transfer files and browse a file list as needed PC FTP client Ethernet FTP server ...

Страница 21: ...ion Support for encoding decoding The following encoding decoding is supported Encode the Subject using 7 bits encoding and send it from the Ethernet module Decode and receive an e mail encoded with Quoted Printable by the Ethernet module Chapter 2 Remote password check Unlocks locks the remote password of the QCPU The unlock processing enables access to the QCPU using FTP commands When using the ...

Страница 22: ...r an external device such as a PC as the main text or attached file of e mail E mail sent from other Ethernet modules and PCs can also be received External device Sending e mail by the PLC CPU MSEND instruction Ethernet module MRECV instruction PC Portable terminal device that cannot handle attached files Remark Subject 1 Binary format Binary to ASCII conversion Attached file Binary to CSV convers...

Страница 23: ...Request to receive mail No mail received Mails received Mail server PLC CPU Ethernet module 1 Send an e mail to the send mail server of the local station s Ethernet module 2 The send mail server of the local station s Ethernet module sends the e mail to the receive mail server of the send destination device When receiving by the Ethernet module 3 The Ethernet module checks whether or not any mails...

Страница 24: ...following information can be registered as the notification conditions 1 Device monitoring of the PLC CPU Monitoring the numeric values stored in the word device Monitoring the bit device ON OFF status 2 Monitoring of the PLC CPU status Monitoring the CPU module status RUN STOP PAUSE b The device monitoring result of the PLC CPU is sent by either the main text or attached file of e mail 1 The atta...

Страница 25: ...t notified when any of the conditions matches See Section 2 9 1 Set the CPU inquiry time interval used by the Ethernet module to monitor the PLC CPU considering the interval of change time in the monitoring target After a news condition match occurs the Ethernet module must confirm the mismatches of other news conditions for the same monitoring target The next e mail can be sent only after the Eth...

Страница 26: ...rnet Ethernet Ethernet module Ethernet Public line Internet Public line Internet service provider Router Router Proxy server DNS server SMTP POP3 Mail server Ethernet External device 1 E mails can be sent and received in an environment where the Internet service is available as shown above 2 Set each Internet mail setting value for the Ethernet module and PC following the directions from the Inter...

Страница 27: ...coding method Base 64 7 bits 8 bits Quoted Printable of the attached files 3 Common precautions a The Ethernet module stores the data of attached files received from the external device in the device specified by the MRECV instruction without converting it from ASCII to binary b The maximum sizes of data that can be sent received by the Ethernet module are as follows Data size of attached files Up...

Страница 28: ...ystem administrator regarding the minimum time intervals for accessing the mail server when sending mails reading receive mails and inquiring whether or not there are receive mails Depending on the mail server s security setting frequent access may be prohibited j The e mail send reception function using the PLC CPU and the communication function using the random access buffer cannot be used toget...

Страница 29: ...e discarded When sending encode Subject Base 64 7 bits Main text 7 bits Attached file Base 64 When receiving decode Subject Does not decode Main text Cannot be received Attached file Base 64 7 bits 8 bits Quoted Printable If e mail is sent from the external device to the PLC side specify the encoding method Base 64 7 bits 8 bits Quoted Printable of the attached file Encryption No Compression No Co...

Страница 30: ...ead the CPU information News condition matching Send E mail news information Matched 1 Unmatched Reset the CPU or Stop and Run the CPU Set the news condition See Section 2 9 1 Register the mail address of the external device with news setting See Section 2 6 3 Register the mail address of the external device without news setting When sending e mails using the CPU monitoring function When sending r...

Страница 31: ...e e mails For details on how to display each screen refer to the GX Developer Operating Manual 1 DNS setting Purpose of setting Specify the IP address of the DNS server when setting the mail server name using the domain name by the e mail setting see 2 Start procedure Network parameter setting the number of MNET 10H Ethernet cards Initial setting Setting screen ...

Страница 32: ...o the existence confirmation is not received 1 to 32767 Input format Select the input format of the IP addresses of the DNS servers decimal hexadecimal IP address of DNS server 1 Set IP address of DNS server 1 IP address of DNS server 2 Set IP address of DNS server 2 IP address of DNS server 3 Set IP address of DNS server 3 DNS setting IP address of DNS server 4 Set IP address of DNS server 4 1 Se...

Страница 33: ...egarding the receiving status Check mark Inquire No check mark Do not inquire General setting At every Set the time interval and unit for making inquiries to the incoming mail server 30 s to 24 h h min s SMTP server name Set the send mail server name Input format Select the input format of the send mail server s IP address Decimal Hexadecimal Mail send setting IP address Set the IP address of send...

Страница 34: ...ult 5 min h 1 to 24 min 1 to 1440 s 30 to 3600 POINT If the inquiry time interval from the PLC or other module to the server is short because of the POP3 server specifications access may be restricted lock status on the server side Check the POP3 server specifications and set the inquiry time interval accordingly It is recommended to set the setting value of the inquiry time interval to the defaul...

Страница 35: ...ly one e mail address can be specified for each area 2 In the send e mail address setting sequentially set up e mail addresses starting from No 1 To delete an e mail address with a mid setting number specify dummy e mail addresses before that address If it is preceded by any empty e mail address areas subsequent setting numbers and areas will move forward to fill in any empty numbers and areas aft...

Страница 36: ... nation 6 Attached file 1 I O number of the Ethernet module 2 Control data such as send mail address This indicates the mail address of the send destination device set on the send mail address settings screen 3 Send mail subject attached file Subject consists of the send destination number and the character data designated by the sequence program It is not converted to ASCII format The Subject sho...

Страница 37: ...SEND instruction completion device 1 Normal completion abnormal completion Initial processing E mail sending MSEND Abnormal completion 1 scan 1 2 3 1 Start the local station PLC The parameters for the e mail function are stored in the Ethernet module 2 Execute the MSEND instruction The e mail designated with the MSEND instruction is sent to the mail server 3 When the e mail sending to the send mai...

Страница 38: ...et module are X Y00 to X Y1F Designate ASCII as the send data format Designate the send destination number Designate the send data length Designate the subject length Designate subject Send the e mail Designate the attached file Processing program when normal completion Processing program when abnormal completion REMARK When an error occurs while sending e mail from the sending mail server to an e...

Страница 39: ... attached file from binary to CSV csv a Designate binary format when communicating between Ethernet modules The attached file of the MSEND instruction will be sent as is The name of the attached file is mmddhhss bin system date bin mm Month dd Date hh Hour ss minute b Designate either binary format ASCII format or CSV format when a PC UNIX receives e mail sent from an Ethernet module The attached ...

Страница 40: ...bc Data contents for attached files Mail address of external device a a From Displays the mail address of the Ethernet module REMARK By entering the mail addresses of the send destination devices in the address book the registered names display names can be displayed and it makes the management easier b Subject This indicates the transmission destination No 1 and the Subject written by a sequence ...

Страница 41: ...82H Mail information 1 2683H Head address of attached file Indicates the head address where the attached file data information is stored 2684H Head address of header Indicates the head address where the header information is stored 2685H From head address Indicates the head address of this data stored in the header information 2686H Date head address Indicates the head address of this data stored ...

Страница 42: ...applicable address is stored address 268BH to 3FFFH POINT 1 The Ethernet module checks whether or not there are any incoming mails addressed to the local station in the mail server at the time interval set in the inquiry interval in the Network Parameter Ethernet e mail setting screen of GX Developer If there are incoming mails addressed to the local station the reception information is stored in ...

Страница 43: ...there is recieve mail in Ethernet module Un G9858 F 2 Execution timing of the instruction Initial normal completion X19 Number of mails remaining on the server Buffer memory address 22640 Mail buffer Buffer memory address 9857 to Flag indicating whether there are receive mails Buffer memory address 9858 bit 15 MRECV instruction MRECV instruction completion device MRECV instruction completion devic...

Страница 44: ...letion status S 1 For details on the causes of errors see Troubleshooting in the Q Corresponding Ethernet Interface Module User s Manual Basic 6 Execute the MRECV instruction Continue to read e mails remaining on the mail server POINT 1 Reading receive mails to the Ethernet module The Ethernet module automatically checks the mail server to see whether or not there are any receive mails at the inqu...

Страница 45: ...tion Type of MRECV instruction execution Designate whether or not to read the next mail after executing the MRECV instruction b9 b8 Complete type Setting value for designating the type of execution b9 b8 Setting type Description of processing Merit Demerit 0 0 Do not inquire Do not read Execute only e mail read processing The inquiry read processing of the remaining receive mail information is exe...

Страница 46: ...ddress of the Ethernet module b Subject Designate the subject of the e mail to be sent to the Ethernet module in ASCII format c Main text Do not designate data the Ethernet module ignores it d Attach file Data can be sent as an attached file Send the attached file data as binary data The Ethernet module does not convert the received attached file data from ASCII to binary e Attached file name Desi...

Страница 47: ...ched file 1 When sending from the Ethernet module D9 D1 D0 C B A 9 8 7 6 5 4 3 2 1 D9 D1 D0 D0 D1 D9 1234H 5678H 9ABCH 9AH BCH 56H 78H 12H 34H D9 D1 D0 C B A 9 8 7 6 5 4 3 2 1 External device In case of binary In case of ASCII In case of CSV Ethernet module PLC CPU BIN ASCII conversion BIN CSV conversion 2 When receiving by the Ethernet module Ethernet module D29 D21 D20 External module Only binar...

Страница 48: ...bove CR code 0DH and LF code 0AH are inserted for each 8 words of data 2 The arrangement of data sent in CSV format is shown below D8 D9 D10 D15 D16 D17 D18 D23 D24 D25 D26 8 device 8 word unit D0 D1 D2 D7 CR LF CR LF CR LF CR LF b Arrangement of data sent using the news function 1 In addition to the data conversion and insertion of comma data described above CR code 0DH and LF code 0AH are insert...

Страница 49: ...of the transmission destination device set on the Send E mail Address Settings screen 3 Sending e mail Subject main text The Subject consists of the transmission destination number and the character data specified by a sequence program It is not converted to ASCII format Designate text data in ASCII characters in sequence programs 4 Completion bit 5 Main text of e mail This indicates the character...

Страница 50: ...SEND instruction completion device 1 Normal completion abnormal completion Initial processing E mail sending MSEND Abnormal completion 1 scan 1 2 3 1 Start the local station PLC The parameters for the e mail function are stored in the Ethernet module 2 Execute the MSEND instruction The e mail designated with the MSEND instruction is sent to the mail server 3 When the e mail sending to the send mai...

Страница 51: ...mail from the sending mail server to an external device an error code is stored in the receiving error log area 1 The following shows the transmission format of the main text designated in the control data of the MSEND instruction If data is sent as the main text of e mail the Ethernet module does not convert the transmission format Designate the main text data in ASCII characters in sequence prog...

Страница 52: ...icrosoft Corporation s Outlook Express 5 Mail address of Ethernet module b c Mail address of external device a a From Displays the e mail address of the Ethernet module REMARK By entering the mail addresses of the send destination devices in the address book the registered names display names can be displayed and it makes the management easier b Subject This indicates the transmission destination ...

Страница 53: ... sends an e mail to the external device 2 9 1 News setting Purpose of setting The monitoring conditions notification conditions of the PLC CPU can be set on the News setting screen of GX Developer The monitoring function of the PLC CPU can be used according to this setting Both CPU status monitoring and device monitoring can be designated as notification conditions Start procedure E mail setting N...

Страница 54: ...vice value Notif data points Set the notification data points Setting item Setting not required 1 When an e mail is sent with the PLC status inspection only subject PLC CPU status is stored is sent 1 Condition for PLC inspection Condition for PLC inspection Description Normal STOP Sends an e mail when the PLC CPU is placed in the STOP status normally Module error Module system error Sends an e mai...

Страница 55: ...ead the CPU status and device values from the PLC CPU The user can designate any inquiry time interval time within the ranges shown below Time unit Setting range default 5 min h 1 to 24 min 1 to 1440 s 30 to 3600 6 Input format of inspection value Select the input format decimal hexadecimal of the monitoring value 7 Condition device Designate the device to be monitored POINT 1 A maximum of 16 devi...

Страница 56: ...is equal to or less than the value set by the user Device value monitoring value signed When the monitoring device value is less than the value set by the user Device value monitoring value signed When the monitoring device value is equal to or greater than the value set by the user Word device Device value monitoring value signed When the monitoring device value is greater than the value set by t...

Страница 57: ...ning or Status STOP Slight Abnormal During STOP During the module error or module system error Status STOP Serious Fatal Error or Status STOP Abnormal During PAUSE Status PAUSE 2 When monitoring a device a Once any of the results of the device monitoring matches the monitoring condition among the devices having the conditions designated on the Ethernet news setting screen the Subject and attached ...

Страница 58: ...002H W0 001A H W1 002B H For M15 to M0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 M15 M8 M12 M4 0 1 M0 to to to to For ASCII For binary 0001 0002 0003 0004 0005 M16 M0 M32 M48 M64 0060 0061 0062 X10 X20 X30 001A W0 002B W1 0031 0032 0030 B10 B20 B30 0033 B40 0011 0012 0013 0014 0015 0016 0017 0018 0019 001A D1 D0 D2 D3 D4 D5 D6 D7 D8 D9 60 00 61 00 62 00 X10X18 X20 X38 01 00 02 00 03 00 04 00 05 00 M8 M0 M16 M24...

Страница 59: ...4F CR LF 0011 0012 0013 0014 0015 0016 0017 0018 CR LF 0019 001A D0 D9 CR LF CR LF The dotted boarder lines between device values in the above figure are inserted for the purpose of explanation They are not recorded in the main text POINT 1 When e mail is sent after the result of the device monitoring and the monitoring condition match the Subject and attached file or the Subject and main text wil...

Страница 60: ...SECNET 10 from the external device or Ethernet module installed QCPU station By setting the parameter described in Section 3 3 the other station access becomes possible with the MELSECNET H MELSECNET 10 relay communication function Communication range Function that can be used for communication When using this function When not using this function Communication request source Function reference se...

Страница 61: ...odule Router Ethernet Ethernet Ethernet module Ethernet module 5 Accessing remote Ethernet with the router relay 4 Accessing the Ethernet via Ethernet MELSECNET H MELSECNET 10 2 Accessing to remote Ethenet QCPU QCPU QCPU QCPU QCPU QCPU External device External device External device External device External device External device QCPU QCPU 1 Accessing on the same Ethernet 3 Accessing to the MELSEC...

Страница 62: ...2CPU A Q02HCPU A Q06HCPU A 2 Remote I O station modules Model name MELSECNET H Remote I O station QJ72LP25 25 QJ72LP25GE QJ72BR15 MELSECNET 10 Remote I O station 1 AJ72QLP25 AJ72QBR15 A1SJ72QLP25 A1SJ72QBR15 AJ72LP25 G AJ72BR15 1 It is possible to read from and write to the buffer memory of special function modules that are installed in MELSECNET 10 remote I O stations b Modules that can act as re...

Страница 63: ...ion 1 The Ethernet s routing method correspondences of the Ethernet module s IP address and Network No station number etc for using the MELSECNET H MELSECNET 10 relay communication function are set on this screen 2 Set these values by seeing Section 3 3 1 3 Setting the MNET 10H Ethernet routing information setting of routing parameters 1 On this screen the routing parameters between Ethernet modul...

Страница 64: ...ion method Automatic response system IP address computation system Table exchange system Use together system Net mask pattern This setting is required when IP address computation system or Use together system is selected as the conversion method Set the mask value used in the logical product with the local station s IP address C0000000H to FFFFFFFFH Input format Select the input format of Net mask...

Страница 65: ... and sub net address so that all bits are 1 in the mask pattern The mask pattern is designated with a decimal hexadecimal value obtained by dividing the 32 bit mask value into 8 bit segments c When the sub net mask is not designated the mask pattern designation is not necessary When the mask pattern is not designated the following mask value is used as the mask pattern according to the local stati...

Страница 66: ...vert the data shown below Network No and station number of MELSECNET H MELSECNET 10 IP address and UDP port number of Ethernet 2 The Station No IP information are required when accessing other stations via other Ethernet network systems and must be registered in all the QCPU stations in which the Ethernet modules are installed 3 The Station No IP information should be set on the Setting the Statio...

Страница 67: ... response system setting is possible QCPU QCPU Previous station Communication relay station QCPU E71 Communication request message PLC CPU Next station Response message E71 E71 E71 Communication relay sending station Communication relay receiving station b Convert format of Automatic response system 1 When the Ethernet module receives other station access communication request message command fram...

Страница 68: ...on is received the IP address is calculated from the Network No and station number of the destination in the communication request message and the communication request message is sent to the next station 1 The Network No and station number of the destination in the communication request message are stored in the Ethernet module 2 The response message response for the communication request message...

Страница 69: ... C When the local station IP Address is CA65300AH When the MELSECNET H MELSECNET 10 Routing Net Mask Pattern is FFFFFF00H When the destination Network No is 02H The Network number is not used F F F F F F 0 0 C A 6 5 3 0 0 0 0 2 C A 6 5 3 0 0 2 C A 6 5 0 0 A 3 Local station IP Address Net Mask Pattern Logical product Logical product value Network No and station No Logical sum Partner station IP Add...

Страница 70: ...younger registration number is used If all the required values are not set communication may not be performed successfully b Conversion processing of the table exchange system 1 When a communication request message command frame to access other station is received the same Network No and station number are searched in the conversion table of the Station No IP information and the communication requ...

Страница 71: ...0 1 11 192 0 2 22 192 0 2 21 E71 module setting details when accessing from QCPU 2 to QCPU 1 1 2 Communication request destination station a 3 4 Network No Station No 1 11 Setting value Decimal IP Address Setting not necessary 192 0 1 11 Setting not necessary Setting not necessary E71 module setting details when accessing from QCPU 3 to QCPU 4 1 2 3 Communication request source station a 4 Network...

Страница 72: ...f the Ethernet module cannot be obtained by the table exchange system the IP address is obtained by the IP address computation system in order to send the communication request message 3 The response message response to the communication request message is returned based on the return IP address and the data in the conversion table or the stored data REMARK The relationship between the Convert For...

Страница 73: ...setting Item name Description of setting Setting range option Transfer to Network No Set the Network No of the Ethernet or MELSECNET H MELSECNET 10 to which the communication request destination station or the communication request source station is connected when sending a communication request message or a response message respectively 1 to 239 Intermediate network No Set the Network No of the E...

Страница 74: ...equest messages 3 The PLC CPU of the stations relay reception station and relay transmission station that relay response messages REMARK 1 The routing parameters setting is not necessary for the other station access on the same Ethernet network as the external device local station QCPU 2 The routing parameters are designated in the following manner Transfer to Network No Intermediate Network No In...

Страница 75: ...is not necessary for the transfer to network No 2 and 3 because they are the same station 3 1 4 Routing parameter setting Transmission to Network No Intermediate Network No Inter mediate Station No Setting is necessary only for the request transfer to network No 3 Routing parameter setting area Transmission to Network No Intermediate Network No Inter mediate Station No Transmission to Network No I...

Страница 76: ...ual Basic are also shown Ethernet module QCPU External device External device Ethernet Ethernet module QCPU Ethernet module External device External device Ethernet QCPU Ethernet module Network module MELSECNET H MELSECNET 10 QCPU Network module Network module MELSECNET H MELSECNET 10 QCPU Network module Ethernet module External device Router Ethernet External device Ethernet module QCPU Ethernet ...

Страница 77: ...rmation Setting the Ethernet Station No IP information Setting the Ethernet router relay parameter 3 When performing a remote access from 1 to 5 Station that does does not require setting Setting item 1 2 3 4 5 6 7 Setting the number of MNET 10H Ethernet cards Setting the MNET 10H Ethernet routing information Setting the Ethernet Station No IP information Setting the Ethernet router relay paramete...

Страница 78: ...tting the MNET 10H Ethernet routing information Setting the Ethernet Station No IP information Setting the Ethernet router relay parameter 7 When performing a remote access from 7 to 4 Station that does does not require setting Setting item 1 2 3 4 5 6 7 Setting the number of MNET 10H Ethernet cards Setting the MNET 10H Ethernet routing information Setting the Ethernet Station No IP information Se...

Страница 79: ...T H MELSECNET 10 relay communication function that has been made using a connection opened by user execute the close processing of the connection by seeing Section 5 6 of the User s Manual Basic When the following two functions are used to access other station the close processing is not required Communication using the data link instructions Communication with other stations using GX Developer 3 ...

Страница 80: ...ed when the local station QCPU performs data communication with the other station PLC CPU with the Ethernet module via Ethernet or MELSECNET H MELSECNET 10 POINT When accessing other stations using data link instructions via Ethernet module set the parameters shown in Chapter 3 4 1 Other Station Access with the Data Link Instruction The data link instruction is an instruction to perform data send ...

Страница 81: ...rol data of each instruction do not overlap 2 Setting the arrival monitoring time of the control data storage device For the arrival monitoring time designation area of the control data storage device set the monitoring time that is equal to or greater than the TCP resend timer value set with the initial processing parameters When the monitoring time is equal to or less than the TCP resend timer v...

Страница 82: ...used by the ZNRD and ZNWR instructions listed above for other data link instructions in an Ethernet module mounted station that executes the ZNRD and ZNWR instructions Also do not execute data link instructions from other stations on the channels listed above in an Ethernet module mounted station that executes the ZNRD and ZNWR instructions POINT 1 See Chapter 3 for details of the following when p...

Страница 83: ...cess from the same communication request source station to the same communication request destination station change the channel number at the communication request destination station side When designating the same channel number on the communication request destination station side perform the second other station access after the first other station access is complete If the second SEND instruc...

Страница 84: ...ule is at the following I O signal state X19 X1F SEND X19 Initial normal complation signal X1F Watchdog time error station signal b Via MELSECNET H MELSECNET 10 Check the status of the local station communication request source station communication relay station and access destination communication request destination station using the following devices Execute the data link instruction if the st...

Страница 85: ... data E71 Other station Q QnACPU Command UDP Receive response UDP 4 3 Command UDP Receive response UDP 4 Response Receive response UDP 4 Execution completion Resend Repeat for the number of resend 2 Arrival monitoring time 1 1 The user designates the arrival monitoring time with the READ instruction control data S1 8 2 The user designates the number of resend with the READ instruction control data...

Страница 86: ...ster station Parallel remote submaster station WRITE SWRITE Writes data to other station s word device With SWRITE device on target station can be turned on Q QnACPU Q QnACPU Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Ethernet module N W module Ethernet module N W module Word device WRITE 361 See Section 4 6 Ethernet Ethernet module MELSECNET H MELSECNET 10 Con...

Страница 87: ... MELSECNET 10 network No group No and station No for the Ethernet module in the data link instruction setting data designate the network No group No and station No assigned to the Ethernet module by the Setting the number of MNET 10H Ethernet cards indicated in User s Manual Basic This is so that the Ethernet network system will be considered to be the same class as the MELSECNET H MELSECNET 10 ne...

Страница 88: ...the following screens of GX Developer 1 Network Parameters Ethernet Interrupt Settings screen Set the control number SI on the Ethernet module side when an interrupt request is made to the PLC CPU from the Ethernet module 2 Intelligent function module interrupt pointer setting screen Associate the control number SI set in the Ethernet Interrupt Settings above with the interrupt pointer Ixx used in...

Страница 89: ...nge Jn Local station network number 1 to 239 Network number 254 Network designated in the valid module for other station access Un Start I O signal of the local station network module Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S1 Control data storage head device Designate the head device of the local station that stores the control data...

Страница 90: ...n Start I O signal of the local station network module Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S Control data storage head device Designate the head device of the local station that stores the control data Word device 2 D1 Receive data storage head device Designate the head device of the local station that stores the receive data Wor...

Страница 91: ...OFF Send completion device Device designated with D Sending side Q QnACPU Send completion device D 1 device Ethernet module Ethernet module Receiving side Q QnACPU Receive completion device D2 1 device Receive completion device Device designated with D2 Receive data storage device Device designated with D1 RECV instruction exection request flag 1 1 The RECV instruction execution request flag for C...

Страница 92: ...ated for twice Data sending Data sending 2 RECV instruction Channel 3 0 END Sequence scan 0 END 0 END 0 END RECV 0 END 0 1 scan Error code Ethernet module Receiving side Q QnACPU Receive completion device D2 1 device Receive completion device Device designated with D2 Arrival time over Completion status S 1 device RECV instruction execution request flag 1 1 The RECV instruction execution request f...

Страница 93: ...2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 RECV Network No 7 a Station 3 program SEND instruction When I O signals of Ethernet module are X Y00 to X Y1F With arrival confirmation clock data setting required Local station usage channel Target station network number Send data length 4 words Performs error code reading etc Delivery monitoring time 20 s Target station storage channe...

Страница 94: ...hen normal completion Processing program when abnormal completion Performs error code reading etc MOV D21 D100 X19 Initial normal completion signal When the data is stored in the receive station channel the bit corresponding to each channel of buffer memory RECV instruction execution request area turns on Data can be read automatically bu using this signal for the receive command The signal turns ...

Страница 95: ...n Section 4 5 1 b RECVS instruction Ethernet module start I O signal designation Z RECVS Z Executed at rise Receive command S D1 D2 Un Description of setting Setting range Un Start I O signal of the local station Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S Control data storage head device Designate the head device of the local station ...

Страница 96: ... Channel 1 0 END Sequence scan 0 END 0 END 0 END 0 END Send command SEND With arrival confirmation 1 scan 0 END Sequence scan 0 END 0 END 0 END RECVS 0 END 0 Receive data OFF Send completion device Device designated with D Sending side Q QnACPU Send completion device D 1 device Ethernet module Ethernet module Receiving side QCPU Receive data storage device Device designated with D1 Interrupt progr...

Страница 97: ...completion device Device designated with D Sending side Q QnACPU Send completion device D 1 device Ethernet module Completion status S1 1 device 1 scan Send error Data sending Data sending Data sending Resend when designated for twice 2 In case of the RECVS instruction Channel 3 0 END Sequence scan 0 END 0 END 0 END RECVS 0 END 0 Error code Ethernet module Receiving side QCPU Completion status S 1...

Страница 98: ...ECVS Network number 7 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 a Station 3 program SEND instruction Same as the program shown in Section 4 5 1 b Program for station number 15 RECVS instruction When the input output signals of the Ethernet module are X Y00 to X Y1F Local station storage channel X19 Initial normal completion signal REMARK Create interrupt enabl...

Страница 99: ...ocal station network module Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S1 Control data storage head device Designate the head device of the local station that stores the control data Word device 2 S2 Read data storage head device target station Designate the head device of the target station that stores the data to read Word device 2 D1...

Страница 100: ...er 254 Network designated in a valid module for other station access Un Start I O signal of the local station network module Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S1 Control data storage head device Designate the head device of the local station that stores the control data Word device 2 S2 Write data storage head device local stat...

Страница 101: ...f the WRITE instruction Depending on whether D3 is omitted or not the SWRITE instruction can be operated differently 2 Instruction execution timing a When normal completion 1 READ instruction SREAD instruction Channel 1 0 END Sequence scan 0 END 0 END 0 END 0 END Read command READ 1 scan 0 END Sequence scan 0 0 END 0 END 1 scan 100 OFF Read completion device Device designated with D2 Local station...

Страница 102: ...mmand WRITE 1 scan 0 END Sequence scan 0 0 END 0 END 1 scan 3000 OFF Write completion device Device designated with D2 Local station QCPU Write completion device D2 1 device Ethernet module Ethernet module Target station Q QnACPU Write notify device Device designated with D3 Write data storage device Device designated with D1 3000 Write data storage device Device designated with S2 0 0 END 0 0 END...

Страница 103: ...Local station QCPU Read completion device D2 1 device Ethernet module Completion status S1 1 device Error code Target station error 2 WRITE instruction SWRITE instruction Channel 1 0 END Sequence scan 0 END 0 END 0 END 0 END Write command WRITE 1 scan Write completion device Device designated with D2 Local station QCPU Write completion device D2 1 device Ethernet module Completion status S1 1 devi...

Страница 104: ...nnel 6 WRITE instruction communication request source station WRITE instruction communication request destination station READ instruction communication request destination station a Station 1 program READ instruction When I O signals of Ethernet module are X Y40 to X Y5F Clock data setting is required Channel used by local station Read data length 5 words Processing program on read completion Pro...

Страница 105: ... by local station Target statio n network number Write data length 4 words Performs error code reading etc Arrival monitoring time 20 s Target station number Number of resend Write data X59 Initial normal completion signal Processing program on write completion Processing program on normal completion Processing program on abnormal completion MOV D1 D100 Target stations CPU type target CPU Control ...

Страница 106: ...ad device local station Designate the head device of the local station which will store the data to be read Word device 3 n2 Read data length Designate the number of data words to read When reading from Q QnACPU 1 to 230 constant When reading from PLC CPU other than Q QnACPU 5 1 to 32 constant Bit device digit designation 2 Word device 3 Read completion device local station Designate the device of...

Страница 107: ... store the data to write Word device 3 n2 Write data length Designate the number of data words to write When writing from Q QnACPU 1 to 230 constant When writing from PLC CPU other than Q QnACPU 5 1 to 32 constant Bit device digit designation 2 Word device 3 Write completion device local station Designate the device of the local station to turn on one scan when the write is complete D2 OFF Incompl...

Страница 108: ...uence scan 0 END 0 END 0 END 0 END Read command ZNRD 1 scan 0 END Sequence scan 0 END 0 END 100 OFF Read completion Device designated with D2 Local station QCPU Read completion device D2 1 device Ethernet module Ethernet module Target station PLC CPU Read data storage device Device designated with S Read data storage device Device designated with D1 0 END 0 END 100 Channel 1 fixed ...

Страница 109: ... END Write command ZNWR 1 scan 0 END Sequence scan 0 0 END 0 END 3000 OFF Write completion device Device designated with D2 Local station QCPU Write completion device D2 1 device Ethernet module Ethernet module Target station PLC CPU Write data storage device Device desiganted with D1 3000 Write data storage device Device designated with S 0 0 END 0 0 END ...

Страница 110: ...ion QCPU Read completion device D2 1 device Ethernet module Buffer memory Address 207 Error code Target station error Channel 1 fixed 2 ZNWR instruction 0 END Sequence scan 0 END 0 END 0 END 0 END Write command ZNWR 1 scan Write completion device Device designated with D2 Local station QCPU Write completion device D2 1 device Ethernet module Buffer memory Address 209 Error code Target station erro...

Страница 111: ...truction communication request source station ZNRD instruction communicaiton request designation station ZNRD instruction communication request source station E71 Channel 1 Channel 2 ZNRD instruction communicaiton request designation station a Program of station 1 ZNRD instruction When I O signals of Ethernet module are X Y00 to X Y1F Normal completion display Error code Error completion display X...

Страница 112: ... 239 Network number 254 Network designated in a valid module for other station access Un Start I O signal of the local station network module Ethernet module Designate by higher two digits when the I O signal is expressed by three digits 0 to FEH S1 Control data storage head device Designate the head device of the local station that stores the control data Word device 2 S2 Request data storage hea...

Страница 113: ...tion Channel 1 0 END Sequence scan 0 END 0 END 0 END 0 END Execution instruction REQ 1 scan 0 END Sequence scan 0 0 END 0 END OFF Execution completion device device specified with D2 Local station QCPU Execution completion device D2 1 device Ethernet module Ethernet module Target station Q QnACPU 0 0 END 0 0 END Clock data read write Remote RUN STOP ...

Страница 114: ...b When abnormal completion Channel 1 0 END Sequence scan 0 END 0 END 0 END 0 END Execution command REQ 1 scan Execution completion device Device designated with D2 Local station QCPU Execution completion device D2 1 device Ethernet module Completion status S1 1 device Error code Target station error ...

Страница 115: ...equest source station Channel 1 REQ instruction communication request destination station Clock data setting required Channel used by the local station Request data length 6 words Read error code etc Arrival monitoring time 20 s Target station number Number of resend Request type Subrequest type Change pattern Target station network number X19 Initial normal completion signal Hour minute 8 30 Seco...

Страница 116: ...tation REQ instruction communication request destination station Clock data setting required Request data length 3 words Arrival monitoring time 20 s Target station number Request type Subrequest type Forced execution not performed Target station network number Channel used by the local station Read error code etc Number of resend X19 Initial normal completion signal Processing program on instruct...

Страница 117: ...ror the returned error code is the same error code as is shown in the following manual Q corresponding Ethernet Interface module Section 11 3 3 of User s Manual Basic The error code for data link instruction is stored in the Ethernet module error log area and the following area 1 SEND RECV RECVS READ SREAD WRITE SWRITE REQ Control data completion status S1 1 2 ZNRD Buffer memory Address 207 3 ZNWR...

Страница 118: ...e Ethernet module supports the FTP File Transfer Protocol server function which uses the protocol to transfer files between external devices It functions as the file server for the files in the QCPU The FTP commands are used to direct data transfers in file units The external device with the FTP client functions can easily access read write the user created files in the QCPU directly using the Eth...

Страница 119: ...ile unlocked While locked Remark binary Notify to transfer without converting file bye Disconnect and end the connection with FTP server close Disconnect the line with FTP server delete Delete QCPU file 1 dir Display QCPU file information get Read file from QCPU Is Display QCPU file names mdelete Delete QCPU file 1 mdir Store QCPU file information to display file mget Read file from QCPU mls Store...

Страница 120: ...cess target CPU when configurating the multiple CPU system or displays the present access target CPU keyword set Set display clear QCPU file access keywords Password lock Change status of remote password from unlock to lock Password unlock Change status of remote password from lock to unlock Ethernet module FTP server dedicated commands POINT Some of the commands in the table may not operate as de...

Страница 121: ...xternal device with Ethernet module on the Ethernet When the router relay function is used the external device on the Ethernet connected via the designated router can perform FTP functions File transfers can be performed from the following external device with the symbol Router Relay processing Ethernet module External device Ethernet 1 Ethernet 2 Ethernet 3 MELSECNET H MELSECNET 10 PLC to PLC net...

Страница 122: ...ests log in file transfer to the Ethernet module by external device QJ71E71 Current Set the password when a communication destination requests file transfer to the Ethernet module by external device Password New Set the new password when a communication destination requests file transfer to the Ethernet module by external device Command input monitoring timer Set the monitoring time for the Ethern...

Страница 123: ...external device or system c Designate the setting value in the range of 1H to 7FFFH 1 to 32767 15 min at the default value of 1800 The FTP connection is disconnected if there is no command input from the FTP client side within the time designated by the command input monitoring timer value after the FTP client log in When restarting the file transfer start over from the log in operation again 4 PL...

Страница 124: ...ote password check Remote password unlock processing Data communication Remote password lock processing End YES NO YES NO 1 Check the initial processing of the Ethernet module 3 Remote password unlock processing 4 Various operation of the FTP 5 Remote password lock processing 6 Disconnect a connection with the FTP server 2 Log in to the Ethernet module Is the connection to be used subject to the r...

Страница 125: ...the log in name and password Upon receiving the log in name and password from the external device FTP client the Ethernet module FTP server checks whether they match with the FTP log in name and password set in the FTP parameter setting area of the buffer memory File transfer to the Ethernet module is allowed when the log in name and password match and not allowed if they do not match 3 Remote pas...

Страница 126: ...et password ret 4 Performs the file transfer operation using the FTP commands described in Section 5 6 POINT Writing to a parameter file used in the current operation of the QCPU and to a file of the running sequence program that is stored in the QCPU program memory is performed after placing the QCPU in the STOP status 5 Remote password lock Changes the status of the remote password from unlock t...

Страница 127: ...in compliance with the FTP transfer operation procedure described in Section 5 4 1 The procedure to read the sequence program file from the QCPU FTP client FTP server Start file read Notify that the files will not be converted Set the password of the target file for file transfer This is not required if a password is not registered Check the file list in the QCPU Does the file to read exist Read t...

Страница 128: ...s Change operation status RUN STOP status quote stop ret Delete the file with the same name Or change the file name Delete file delete FILE TO DELETED ret Change file rename CURRENT FILE NAME NEW FILE NAME ret Set the QCPU to RUN status 1 Start file write Notify that the files will not be converted No file conversion notification binary ret FTP operation command Confirm the QCPU operation status D...

Страница 129: ...n methods c For the QCPU 1 Only files that can be created generated by the user with GX Developer can be transferred See section 5 6 2 2 File transfers can only be performed to the local station QCPU with the Ethernet module installed Designate an access target CPU if the local station s QCPU is configured as a multiple CPU system 3 When file read write is performed by the file transfer functions ...

Страница 130: ...RUN turn off power reset power or install remove the memory card If any of these operations are performed the QCPU files will corrupt and the QCPU may not be able to start again 4 Do not perform any file operations read write change file information from GX Developer etc when the FTP function is in operation When file operations are performed from a peripheral device etc while the FTP function is ...

Страница 131: ...mended to set to the run status using the QCPU key switch The QCPU can be switched from STOP to RUN using the FTP command but sufficient caution must be taken for the PLC system operations 7 When writing files the Ethernet module creates temporary work files FTP_Ixxx TMP in the QCPU The temporary files are automatically created in the designated drive during the file write put or mput and the file...

Страница 132: ... RUN Delete these files after setting the QCPU to the stop status 3 Files with read only attribute and files that are locked from another device or function cannot be deleted The file attributes can be changed using the FTP operation command quote change 4 File deletion can only be conducted for the QCPU program memory or memory card RAM area 5 After deleting a file with the QCPU in RUN status do ...

Страница 133: ...transfer See the quote keyword set command in Section 5 6 4 2 File path a The QCPU designates the file by differentiating the drive name and file name b When designating a file in the QCPU using the FTP functions designate the file in the following manner Designation format drive name file name extension Designation example 0 MAINSEQ1 QPG Extension identifier File name Drive name drive No Designat...

Страница 134: ...e replacing the are designated Example 1 When designating all files with the QPG extension QPG Example 2 When designating file names which start with MAIN and the extension is QPG MAIN QPG The files containing the text string designated including none replacing with any character including none can be used multiple times Example 1 The letter after MAIN is any character and the extension is QPG MAI...

Страница 135: ...LE TRANSFER FUNCTIONS FTP SERVER 3 Attributes The following is designated when changing the attributes of the file stored in the QCPU drive to be transferred r Read Only w read write enabled See the quote change command in section 5 6 4 ...

Страница 136: ...es Simulation data QDS For device Local device QDL 1 file CPU Sampling trace data QTS Status latch data QTL Program trace data QTP For debugging SFC trace data QTR For diagnosis Error log data QFD Can be stored Cannot be stored 1 A password can be registered in program files device comment files and device initial value files of the designated memory program memory standard ROM memory card See the...

Страница 137: ...ic and correct REMARK The first two digits of the response code is described below 1 2 3 1 Response regarding the start of the request processing 2 Response regarding the successful end of the request proccessing 3 Response indicationg the necessity for additional information pertaining to the request processing 4 Response regarding abnormal end of the request processing 5 Response regarding abnor...

Страница 138: ...erformed without converting the file The carriage return code and kanji code are not converted either The Ethernet module is automatically set to this Designation format binary Abbreviated as bin bye Function Disconnects the FTP server connection and ends FTP Designation format bye Same function quit close Function Disconnects the FTP server connection Designation format close delete Function Dele...

Страница 139: ... the same name as the transfer source file name on the QCPU side The transfer destination is the connected current directory of the FTP startup connection See sections 5 5 and 5 6 1 Is Function Displays the file names of the files stored in the QCPU Designation format ls drive name Designation example To display the file names of the files stored in the RAM area of memory card ls 1 Similar functio...

Страница 140: ...rce drive name When the transfer destination file path is not designated the file name set by the FTP application on the FTP client side is used to save the file The transfer destination is the connected current directory of the FTP startup connection Similar function mls mget Function Reads a file from QCPU When reading multiple files the file name and extension for the file path is designated us...

Страница 141: ...ination file path FTP client side always designate the transfer source drive name When the transfer destination file path is not designated the file name set by the FTP application on the FTP client side is used to store the file The transfer destination is the connected current directory of the FTP startup connection Similar function mdir mput Function Writes a file to the QCPU When writing multi...

Страница 142: ...ample 4 To connect to the FTP server by designating the host name user name and password open HOST QJ71E71 QJ71E71 Caution Normally the connection can be established by designating the FTP server IP address during FTP startup When designating the domain name the DNS environment must be set using the network parameters on the FTP client side The password entered from the keyboard is not displayed o...

Страница 143: ... shown in 2 can be designated directly after the quote command rename Function Changes the QCPU file name Designation format rename FILE PATH BEFORE CHANGE FILE PATH AFTER CHANGE abbreviated as ren Designation example To change the file name of the file stored in the RAM of memory card rename 1 MAINSEQ1 QPG 1 SEQ1OLD QPG Caution See section Items 5 5 and 5 6 1 user Function Enter the user name and...

Страница 144: ...mple 1 To display the file attribute for the file stored in the RAM area of memory card quote change 1 MAINSEQ1 QPG Designation example 2 To change the file attribute of the file stored in the RAM area of memory card quote change 1 MAINSEQ1 QPG r Caution When the PLC CPU is set to RUN an error occurs when the following files are designated Parameter file File currently being executed by the progra...

Страница 145: ...LC No 2 as the access target CPU quote cpuchg no3 Designates the PLC No 3 as the access target CPU quote cpuchg no4 Designates the PLC No 4 as the access target CPU When the command is successfully completed the execution result is displayed as follows When setting the access target CPU 200 Command Okey When displaying the access target CPU 200 Target cpu is access target CPU If the designated acc...

Страница 146: ...ssful When displaying a password 200 keyword is password When clearing a password 200 Command successful Designation example 1 To set the password 1234 to the Ethernet module quote keyword set 1234 Designation example 2 To display the password currently set in the Ethernet module quote keyword set Designation example 3 To clear the password currently set in the Ethernet module quote keyword set Ca...

Страница 147: ...d Designate the remote password set in the QCPU parameter The following is displayed as the execution result for a successful completion 200 Command 0key The following is displayed if the remote password does not match 556 Password Error The following is displayed if another command is requested before the remote password unlock processing is performed 555 Password Locked Designation example 1 To ...

Страница 148: ...ution result when completed successfully Displayed message 200 Command successful Designation example 1 To perform a normal remote run with the designation not to clear the device memory quote run Designation example 2 To perform a forced remote run with the designation not to clear device memory quote run 1 Designation example 3 To perform a forced remote run with the designation to clear all dev...

Страница 149: ...g is displayed as the execution result for a successful completion When the QCPU is at a run status RUN When the QCPU is at a stop status STOP When the QCPU is a pause status PAUSE stop Ethernet module dedicated command Function Set the QCPU to the stop status remote stop Designation format quote stop The following message is displayed as the execution result for a successful completion Displayed ...

Страница 150: ...vice data ZNWR Writes to other station s device for ACPU Section 6 14 SEND Sends data to other station Section 6 9 RECV Reads receive data from other station For the main program Section 6 6 For message any data sending receiving RECVS Reads receive data from other station For interrupt programs Section 6 6 Issues a remote RUN STOP request to other station Section 6 7 For communication with the PL...

Страница 151: ...2 digits of the 3 digit I O signal User Character string S Head device of the local station that stores the control data User system D1 Head device of the local station that stores the contents of the received e mail header attached file System Device name D2 Local station device that is turned on for one scan by the completion of the instruction D2 1 is turned on if the instruction execution comp...

Страница 152: ...D1 n header 1 to 373 attached file 1 to 6144 0 Adjust to the data length of the received e mail 1 to 6517 The number of data that can be stored in D1 to D1 n 0 to 6517 Words User S 9 Receive data length At instruction completion This stores the data length header attached file of the e mail stored in D1 0 to D1 n 1 to 6517 The number of received data stored in D1 0 to D1 n Including the header len...

Страница 153: ...g on the mail server after the time set in a GX Developer parameter has elapsed No extra read processing is executed when there are no mails on the mail server Even if mails remain on the mail server they cannot be read immediately Mails tend to accumulate on the mail server Inquire Read Execute the read processing of e mails from the mail server After executing the MRECV instruction the inquiry r...

Страница 154: ... MRECV instruction is completed and turns off at the next END processing b Status display device at completion D2 1 Turns on and off depending on the completion status of the MRECV instruction Normal completion Stays off and does not change Abnormal completion Turns on at the END processing of the scan where the MRECV instruction is completed and turns off at the next END processing Operation when...

Страница 155: ...receive command X21 When I O signals of the Ethernet module are X Y00 to X Y1F Designate to make inquiry to the server Designate to read the head mail Designate to adjust to the data length of the receive mail Designate to adjust to the header data length of the receive mail Read receive mails Processing program when normal completion Processing program when abnormal completion ...

Страница 156: ... the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data User system S2 Head device of the local station that stores the contents of the e mail to be sent Subject attached file or Subject main text User Device name D Local station device that is turned on for one scan by the completion of the instruction D 1 is turned on if the instruction exec...

Страница 157: ...code CR LF 0D0AH at the end of lines of the main text As described in the left User S1 1 Completion status Store the status at completion of the instruction 0 Normal Other than 0 Abnormal error code 2 System S1 2 Send destination number Designate the opposite device to which the e mail is sent by the setting number of the Ethernet send mail address setting with GX Developer 1 to 16 The setting num...

Страница 158: ...on destination number mail address Mail server Ethernet module MSEND Un S1 S2 D CPU module b When sending data as main text Send destination mail address Subject Main text Transmission destination number mail address Mail server Ethernet module MSEND Un S1 S2 D CPU module 2 Whether the MSEND instruction is being executed or has been completed normally or abnormally can be checked with the completi...

Страница 159: ...ction completes abnormally the abnormal completion signal D 1 turns on and the error code is stored in the completion status S1 1 See the following manuals regarding the error codes check the errors and take corrective actions Error codes 4FFFH or less QCPU Q Mode User s Manual Hardware Design Maintenance and Inspection C000H or higher Section 11 3 3 of the Q Corresponding Ethernet Interface Modul...

Страница 160: ...bject length Designate subject Send the e mail Designate the attached file Processing program when normal completion Processing program when abnormal completion 2 When sending e mail as main text This program performs e mail transmission processing using the send command X20 When the I O signals of the Ethernet module are X Y00 to X Y1F Designate main text as the send data format Designate the sub...

Страница 161: ... 239 254 254 The network designated by the valid module during other station access Binary 16 bits Un Start I O signal of the local station s Ethernet module 00 to FE The higher 2 digits of a 3 digit I O signal User Character string S1 Head device of the local station that stores control data 1 User system S2 Head device of the target station from which data is read D1 Head device of the local sta...

Страница 162: ...b7 b0 to to 0 1 1 0 1 Abnormal complete type bit 7 Set whether or not the clock data setting is required at abnormal completion 0 Clock data setting is not required Clock data is not stored in S1 11 to S1 17 when errors occur 1 Clock data setting is required Clock data is stored in S1 11 to S1 17 when errors occur 0001H 0081H User S1 1 Completion status Store the status at completion of an instruc...

Страница 163: ... 01H to 31H S1 14 Higher 8 bits second 00H to 59H lower 8 bits minute 00H to 59H S1 15 Clock data set only when errors occur Higher 8 bits first 2 digits of year 00H to 99H lower 8 bits day of the week 00H Sunday to 06H Saturday System S1 16 Abnormal detection network No Stores the network number of the station that detected an abnormality 4 1 to 239 Network No 1 to 239 S1 17 Abnormal detection st...

Страница 164: ...ork system cannot be executed at two or more locations for the same channel If the execution conditions are met at two or more locations at the same time instructions to be executed later have to wait until the channel becomes available because handshaking is automatically performed at the execution of the first instruction 4 Whether the READ instruction is being executed or has been completed nor...

Страница 165: ...ollowing manuals regarding the error code check the errors and take corrective actions Error codes 4FFFH or less QCPU Q Mode User s Manual Hardware Design Maintenance and Inspection C000H or higher Section 11 3 3 of the Q Corresponding Ethernet Interface Module User s Manual Basic Program example The following example shows a program that reads data from D10 to 14 of station number 4 to D200 to 20...

Страница 166: ...ing other station access Binary 16 bits Un Start I O signal of the local station s Ethernet net module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S Head device of the local station that stores the control data User system D1 Head device of the local station that stores the reception Device name D2 Local station device that is turned on for one scan by the completi...

Страница 167: ... 7 Not used S 8 Arrival monitoring time Set the monitoring time until the instruction completion so that it is greater than or equal to the TCP resend timer value When the instruction fails to complete within the monitoring time abnormal completion occurs 0 to TCP resend timer value The monitoring time is reset to the TCP resend timer value TCP resend timer value 1 to 16383 Monitoring time unit s ...

Страница 168: ...he execution result of a dedicated instruction 2 For a list of error codes see Section 11 3 3 of the Q Corresponding Ethernet Interface Module User s Manual Basic 3 Nothing is stored if the execution source detects an error when receiving an instruction Functions 1 This instruction reads via the Ethernet module of the local station the data sent from a station connected to an MELSECNET H MELSECNET...

Страница 169: ...s of the RECV instruction Normal completion Stays off and does not change Abnormal completion Turns on at the END processing of the scan where the RECV instruction is completed and turns off at the next END processing Operation of the local station when the RECV instruction is being executed Sequence program RECV instruction OFF ON RECV instruction execution is completed END processing RECV instru...

Страница 170: ... program when receive completion Processing program when normal completion Processing program when abnormal completion Performs error code reading etc MOV D21 D100 X19 Initial normal completion signal When the data is stored in the receive station channel the bit corresponding to each channel of buffer memory RECV instruction execution request area turns on Data can be read automatically bu using ...

Страница 171: ...cription Set by Data type Un Start I O signal of the local station s Ethernet net module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S Head device of the local station that stores the control data User system D1 Head device of the local station that stores the receive data Device name D2 Designate as dummy System Bit The local devices and the file register for each...

Страница 172: ...er of the send station 1 to 64 Station number receive from the station with the indicated station number 1 to 64 System S 6 to S 8 System area S 9 Receive data length Stores the word count of the receive data stored in D1 0 to D1 n 0 No receive data 1 to 480 Word count of receive data 0 to 480 System S 10 System area Receive data Device Item Set data Setting range Set by 1 D1 0 to D1 n Receive dat...

Страница 173: ...dule D1 S 2 RECVS Interrupt occurrence Operation when the RECVS instruction is being executed Sequence program END processing Interrupt program BUFRCVS instruction Instruction execution Receive data storage Data receiving Scan 2 The Z RECVS instruction is used in the interrupt program and its processing is completed within one scan 3 RECVS instruction interrupt program use can not be used with the...

Страница 174: ...TIONS Program example The following example shows an interrupt program that reads the receive data from channel 5 When I O signals of the Ethernet module are X Y00 to X Y1F Local station storage channel X19 Initial normal completion signal ...

Страница 175: ...its Un Start I O signal of the local station s Ethernet net module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data User system S2 Head device of the local station that stores the request data User D1 Head device of the local station that stores the response data Device name D2 Local station device that is...

Страница 176: ...cast excluding the local station only clock data write and remote RUN STOP are allowed 1 to 64 81H to A0H FFH User S1 6 Fixed value 0 User S1 7 Number of resends 1 At instruction execution Set the number of resends when the execution of an instruction did not complete within the monitoring time designated by S1 8 0 to 15 times 2 At instruction completion Store the number of resends executed result...

Страница 177: ... unsuccessfully completed due to system switching occurred on the target station error code 4244H 4248H If this has occurred execute the REQ instruction again Request data All values are set by the user Device Item Description Remote RUN Remote STOP S2 0 Request type 0010H When station No is specified in S1 5 0030H When all stations or a group is specified in S1 5 S2 1 Sub request type 0001H Remot...

Страница 178: ...ings PLC file setting Device initial value Functions 1 This instruction sends the request data designated by S2 of the local station to the station connected to an MELSECNET H MELSECNET 10 or Ethernet network system which is designated with the network number and station number in the control data and makes a service request When the request to the target station is completed the completion device...

Страница 179: ...truction execution is completed END processing Send receive instruction flag OFF ON Completion device Status display device at completion Abnormal completion Normal completion One scan OFF OFF ON ON END processing END processing END processing 5 When the instruction is executed using J REQ G REQ the next write processing is executed in succession after one write processing is completed while the w...

Страница 180: ...uired Request data length 3 words Arrival monitoring time 20 s Target station number Request type Subrequest type Forced execution not performed Target station network number Channel used by the local station Read error code etc Number of resend X19 Initial normal completion signal Processing program when instruction completion Processing program when normal completion Processing program when abno...

Страница 181: ...1 5 0031H Clock data write When all stations or a group is specified in S1 5 S2 1 Sub request type 0002H Clock data read 0001H Clock data write S2 2 Change pattern Year to be changed 1 Change pattern bits 0 to 7 Designate which item s to write from the higher byte of S2 2 to S2 5 0 Do not change 1 Change 2 Year to be changed bits 8 to 15 Store year last two digits of the year in the Gregorian cale...

Страница 182: ...ata write D1 2 Higher 8 bits month 01H to 12H lower 8 bits year 00H to 99H Year Lower two digits D1 3 Higher 8 bits hour 00H to 23H lower 8 bits date 01H to 31H D1 4 Higher 8 bits second 00H to 59H lower 8 bits minute 00H to 59H D1 5 Clock data read Higher 8 bits 00H lower 8 bits day of the week 00H Sunday to 06H Saturday POINT 1 The clock data cannot be read written when the system protection is ...

Страница 183: ...required Channel used by the local station Request data length 6 words Read error code etc Arrival monitoring time 20 s Target station number Number of resend Request type Subrequest type Change pattern Target station network number X19 Initial normal completion signal Hour minute 8 30 Second 00s Processing program on instruction completion Processing program on normal completion Processing progra...

Страница 184: ... of the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data 1 User system S2 Head device of the local station that stores the send data User Device name D Local station device that is turned on for one scan by the completion of the instruction D 1 is turned on if the instruction execution completes abnormally System Bit The local devices and th...

Страница 185: ...normal complete type bit 7 Set whether or not the clock data setting is required at abnormal completion 0 Clock data setting not required Clock data at error occurrence is not stored in S1 11 to S1 17 1 Clock data setting required Clock data at error occurrence is stored in S1 11 to S1 17 0000H 0001H 0080H 0081H User S1 1 Completion status Stores the status at the completion of the instruction 0 N...

Страница 186: ...al monitoring time Valid when the execution type designated in S1 is 1 With arrival confirmation Set the monitoring time until the instruction completion equals to or becomes greater than the TCP resend timer value When the instruction fails to complete within the monitoring time it is resent for the number of resends designated in S1 7 0 to TCP resend timer value The monitoring time is reset to t...

Страница 187: ...ion number of the station that detected an abnormality 3 1 to 64 Station number 1 to 64 System 1 The Set by column indicates the following User Data is set by the user before executing a dedicated instruction System The PLC CPU stores the execution result of a dedicated instruction 2 For a list of error codes see Section 11 3 3 of the Q Corresponding Ethernet Interface Module User s Manual Basic 3...

Страница 188: ...normal when the instruction is executed to the same station from multiple stations a timeout error C083H will occur on the send station 4 When the execution type is set to With arrival confirmation if the send station sends data to the same channel of the receive station before the receive station reads data using the RECV instruction a buffer full error will occur on the send station side Q QnACP...

Страница 189: ... in addition to stations connected to the local station s network 3 The data link instruction and instructions for the Ethernet network system cannot be executed at two or more locations for the same channel If the execution conditions are met at two or more locations at the same time instructions to be executed later have to wait until the channel becomes available because handshaking is automati...

Страница 190: ... When the instruction is executed using JP SEND GP SEND the send processing is executed only once when the send instruction flag switches from off to on at rise Errors 1 When a dedicated instruction completes abnormally the abnormal completion signal D 1 turns on and the error code is stored in the completion status S1 1 See the following manuals regarding the error code check the errors and take ...

Страница 191: ...ion clock data setting required Local station usage channel Target station network number Send data length 4 words Performs error code reading etc Delivery monitoring time 20 s Target station storage channel Target station number Number of resend Send data X19 Initial normal completion signal Processing program when send completion Processing program when abnormal completion Processing program whe...

Страница 192: ...ring other station access Binary 16 bits Un Start I O signal of the local station s Ethernet module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data 1 User system S2 Head device of the target station from which data is read User D1 Head device of the local station that stores data read Device name D2 Local...

Страница 193: ...g the same device name as S2 3 When the target station of the SREAD instruction is the Q00J Q00 Q01CPU the read notify device for the target station that is set by an argument D3 is ignored The operation of the SREAD instruction is identical to that of the READ instruction 4 The SREAD instruction can be programmed without the argument D3 while the operation is identical to that of the READ instruc...

Страница 194: ...on and instructions for the Ethernet network system cannot be executed at two or more locations for the same channel If the execution conditions are met at two or more locations at the same time instructions to be executed later have to wait until the channel becomes available because handshaking is automatically performed at the execution of the first instruction 4 Whether the SREAD instruction i...

Страница 195: ...g is executed in succession after one read processing is completed while the read command is on When the instruction is executed using JP SREAD GP SREAD the read processing is executed only once when the read command switches from off to on at rise Errors 1 When a dedicated instruction ends with an error the abnormal completion signal D2 1 turns on and the error code is stored in the completion st...

Страница 196: ...her station access Binary 16 bits Un Start I O signal of the local station s Ethernet net module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data 1 User system S2 Head device of the local station that stores data to be written D1 Head device of the target station to which data is written User Device name D...

Страница 197: ...ule Head device number to be write in other station CPU module S2 number of write points 1 last device number of host station CPU module Last device number in host station CPU module having the same device name as S2 3 When the target station of the SWRITE instruction is the Q00J Q00 Q01CPU the write notify device for the target station that is set by an argument D3 is ignored The operation of the...

Страница 198: ...ed in D3 turns on Local station Response station QCPU Ethernet module Channel 1 Channel n Channel 8 Ethernet Q QnACPU S2 D1 SWRITE Ethernet module 2 Device data can be written to stations connected to either the MELSECNET H MELSECNET 10 or Ethernet networks having the designated numbers in addition to stations connected to the local station s network 3 The data link instruction and instructions fo...

Страница 199: ...ruction is being executed OFF ON Write completion of device data designated with the SWRITE instruction Sequence program END processing Completion device END processing END processing END processing 5 When the instruction is executed using J SWRITE G SWRITE the next read processing is executed in succession after one read processing is completed while the read command is on When the instruction is...

Страница 200: ...equired Channel used by local station Target statio n network number Write data length 4 words Performs error code reading etc Arrival monitoring time 20 s Target station number Number of resend Write data X59 Initial normal completion signal Processing program on write completion Processing program on normal completion Processing program on abnormal completion MOV D1 D100 Target station s CPU typ...

Страница 201: ...4 254 The network designated by the valid module during other station access Binary 16 bits Un Start I O signal of the local station s Ethernet module 00 to FE The higher 2 digits of the 3 digit I O signal User Character string S1 Head device of the local station that stores the control data 1 User system S2 Head device of the local station that stores data to be written D1 Head device of the targ...

Страница 202: ...r station CPU module device with the WRITE instruction specify the device within the range applicable to the host station CPU module Head device number to be write in other station CPU module S2 number of write points 1 last device number of host station CPU module Last device number in host station CPU module having the same device name as S2 REMARK 1 1 When the instruction is completed the compl...

Страница 203: ...k data at error occurrence is not stored in S1 11 to S1 17 1 Clock data setting required Clock data at error occurrence is stored in S1 11 to S1 17 0001H 0081H User S1 1 Completion status Stores the status at the completion of the instruction 0 Normal Other than 0 Abnormal error code 2 System S1 2 Channel used by the local station Set the channel used by the local station 1 to 8 channel 1 to 8 Use...

Страница 204: ...uction completion equal to the TCP resend timer value or greater When the instruction fails to complete within the monitoring time it is resent for the number of resends designated in S1 7 0 to TCP resend timer value The monitoring time is reset to the TCP resend timer value TCP resend timer value 1 to 16383 Monitoring time units s 1 to 16383 0 to TCP resend timer value User S1 9 Write data length...

Страница 205: ... the contents of the send data are abnormal In addition even if the contents of the send data are normal when the instruction is executed to the same station from multiple stations a timeout error C083H will occur on the write source station 1 The Set by column indicates the following User Data is set by the user before executing a dedicated instruction System The PLC CPU stores the execution resu...

Страница 206: ...instruction and instructions for the Ethernet network system cannot be executed at two or more locations for the same channel If the execution conditions are met at two or more locations at the same time instructions to be executed later have to wait until the channel becomes available because handshaking is automatically performed at the execution of the first instruction 4 Whether the WRITE inst...

Страница 207: ...sing JP WRITE GP WRITE the write processing is executed only once when the write command switches from off to on at rise Errors 1 When a dedicated instruction ends with an error the abnormal completion signal D2 1 turns on and the error code is stored in the completion status S1 1 See the following manuals regarding the error code check the errors and take corrective actions Error codes 4FFFH or l...

Страница 208: ... Designates the station number of the target station 1 to 64 Constant User Character string S Data read storage head device target station Designates the head device of the target station that stores data to be read D1 Data read storage head device local station Designates the head device of the local station that stores the data read Device name n2 Length of data read Designates the number of dat...

Страница 209: ...ons 1 This instruction reads n2 points of data from the word device of the connected station having the network number designated by Jn n1 in the Ethernet network system When reading the device data is completed the completion device designated in D2 turns on Q QnA Ethernet module S Local station Response station QCPU Ethernet module Channel 1 Ethernet D1 ZNRD Fixed 2 The ZNRD instruction is execu...

Страница 210: ...tion Abnormal completion Normal completion One scan END processing END processing END processing Errors 1 When a dedicated instruction ends with an error the abnormal completion signal D2 1 turns on and the error code is stored in the completion status S 1 See the following manuals regarding the error code check the errors and take corrective actions Error codes 4FFFH or less QCPU Q Mode User s Ma...

Страница 211: ...esponding station number 81H to 89H All stations having the designated group number FFH All stations having the target network number User Character string D1 Data written storage head device target station Designate the head device of the target station to which data is written S Data written storage head device local station Designate the head device of the local station that stores the data to ...

Страница 212: ... Manual Basic Functions 1 This instruction write n2 points of data from the word device designated by S of the local station to the word device of the connected station having the network number designated by Jn n1 in the Ethernet network system When writing the device data to the target station is completed the completion device designated in D2 turns on Q QnA Ethernet module S Local station Resp...

Страница 213: ...etion Abnormal completion Normal completion One scan END processing END processing END processing Errors 1 When a dedicated instruction ends with an error the abnormal completion signal D2 1 turns on and the error code is stored in the completion status S 1 See the following manuals regarding the error code check the errors and take corrective actions Error codes 4FFFH or less QCPU Q Mode User s M...

Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...

Страница 215: ...ons 4 38 Response code FTP 5 20 Ethernet module dedicated commands 5 2 5 27 Ethernet module support commands FTP 5 2 5 21 F File path 5 16 FTP client 5 7 FTP command 5 2 5 21 FTP log in name 5 6 FTP operation command 5 21 FTP parameter 5 5 I Inquiry time intervals for checking receive mail 2 13 Intermediate network No 3 15 Intermediate station No 3 15 IP address computation system 3 9 IP address o...

Страница 216: ...ction 4 33 6 26 6 32 Response code 5 20 Routing parameter settings 3 14 S SEND data link instruction 4 10 6 35 Send mail address 2 14 Send setting 2 12 Simultaneous broadcast 4 4 SMTP server 2 8 2 13 SREAD data link instruction 4 20 6 43 Station No IP information 3 5 Station No IP information system conversion method 3 6 SWRITE data link instruction 4 21 6 47 T Table exchange system 3 11 Transfer ...

Страница 217: ... 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...

Страница 218: ... in the United States and other countries Adobe and Acrobat are registered trademarks of Adobe Systems Incorporation Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Co Ltd in the United States Other company names and product names used in this document are trademarks or registered trademarks of respective owners ...

Страница 219: ......

Страница 220: ... U OU E 13JL89 SH NA 080010 G 0406 MEE Specifications subject to change without notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission HEAD OFFICE 1 8 12 OFFICE TOWER Z 14F HARUMI CHUO KU 104 6212 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN ...

Отзывы: