Q Corresponding Ethernet Interface Module User's Manual (Basic)
Q Corresponding Ethernet Interface Module User's Manual (Basic)
Q Corresponding Ethernet Interface Module User's Manual (Basic)
-QJ71E71-100
-QJ71E71-B5
-QJ71E71-B2
SAFETY PRECAUTIONS
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention
to safety to handle the product correctly.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to
serious consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
1
[Design Precautions]
WARNING
● For the operating status of each station after a communication failure, refer to manuals relevant to the
network. Incorrect output or malfunction due to a communication failure may result in an accident.
● 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.
● When connecting a peripheral with the CPU module or connecting an external device, such as a
personal computer, with an intelligent function module to modify data of a running programmable
controller, configure an interlock circuit in the program to ensure that the entire system will always
operate safely. For other forms of control (such as program modification or operating status change)
of a running programmable controller, read the relevant manuals carefully and ensure that the
operation is safe before proceeding. Especially, when a remote programmable controller is controlled
by an external device, immediate action cannot be taken if a problem occurs in the programmable
controller due to a communication failure. To prevent this, configure an interlock circuit in the program,
and determine corrective actions to be taken between the external device and CPU module in case of
a communication failure.
● Do not write any data in the system area 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.
[Design Precautions]
CAUTION
● 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 away from
each other. Failure to do so may generate noise that may cause malfunctions.
● When changing the operating status of the CPU module (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 CPU module cannot reopen the communication line, and
the external device cannot execute the remote RUN.
[Security Precautions]
WARNING
● To maintain the security (confidentiality, integrity, and availability) of the programmable controller and
the system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other
cyberattacks from external devices via the network, take appropriate measures such as firewalls,
virtual private networks (VPNs), and antivirus solutions.
2
[Installation Precautions]
CAUTION
● Use the programmable controller in an environment that meets the general specifications in the user's
manual for the CPU module used. Using the programmable controller 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, insert the module fixing tab into
the fixing hole in the base unit until it stops. Then, securely mount the module with the fixing hole as a
supporting point. If the module is not installed properly, it may cause the module to malfunction, fail or
fall off. Secure the module with screws especially when it is used in an environment where constant
vibrations may occur.
● Be sure to tighten the screws using the specified torque. If the screws 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.
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may cause product damage.
● Do not directly touch any conductive part or electronic component of the module. This may cause the
module to malfunction or fail.
[Wiring Instructions]
CAUTION
● Connectors for external devices and coaxial cables must be crimped or pressed with the tool specified
by the manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit,
fire, or malfunction.
● Shut off the external power supply (all phases) used in the system before connecting the AUI cable.
● Securely connect the connector to the module. Poor contact may cause malfunction.
● Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled,
resulting in damage to the module or cables or malfunction due to poor contact.
● Tighten the terminal screws using the specified torque. If the terminal screws are loose, it may cause
the module to short-circuit, malfunction or fall off. If the terminal screws are tightened excessively, it
may damage the screws and cause the module to short-circuit, malfunction or fall off.
● When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable
with connector, hold the connector part of the cable. For the cable connected to the terminal block,
loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or
damage to the module or cable.
● Be careful not to let any foreign matter such as wire chips get inside the module. They may cause fire,
as well as breakdowns and malfunctions of the module.
● A protective film is attached to the top of the module to prevent foreign matter, such as wire chips,
from entering the module during wiring. A protective film is attached to the top of the module to
prevent foreign matter, such as wire chips, from entering the module during wiring. Remove it for heat
dissipation before system operation.
3
[Setup and Maintenance Precautions]
WARNING
● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may
result in electric shock or cause the module to fail or malfunction.
4
CONDITIONS OF USE FOR THE PRODUCT
(1) MELSEC programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI ELECTRIC SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO
ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT
LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the
PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY
INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN MITSUBISHI ELECTRIC USER'S, INSTRUCTION
AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in
one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe,
redundant or other safety features which exceed the general specifications of the PRODUCTs are required. For details,
please contact the Mitsubishi Electric representative in your region.
(3) Mitsubishi Electric shall have no responsibility or liability for any problems involving programmable controller trouble and
system trouble caused by DoS attacks, unauthorized access, computer viruses, and other cyberattacks.
5
INTRODUCTION
Thank you for purchasing the Mitsubishi Electric MELSEC-Q series programmable controllers. This manual describes
the operating procedure, system configuration, parameter settings, functions, programming, and troubleshooting of the
Ethernet interface modules: QJ71E71-100, QJ71E71-B5, and QJ71E71-B2 (hereafter referred to as E71).
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
functions and performance of the MELSEC-Q series programmable controller to handle the product correctly.
When applying the program examples introduced in this manual to the actual system, ensure the applicability and
confirm that it will not cause system control problems.
Please make sure that the end users read this manual.
Certification marks on the side of the programmable controller indicate compliance with the relevant regulations.
6
RELEVANT MANUALS
This manual describes the basic specifications, functions, and usage of the E71.
Manual name
Description
<manual number, model code>
MELSEC-Q/L Ethernet Interface Module User's E-mail function, communication function (communications via CC-Link IE
Manual (Application) Controller Network, CC-Link IE Field Network, MELSECNET/H, or
MELSECNET/10, and communications by using the data link instructions), and file
<SH-080010, 13JL89> transfer (FTP server) function of the E71
MELSEC-Q/L Ethernet Interface Module User's
Manual (Web function) Web function of the E71
<SH-080180, 13JR40>
MELSEC Communication Protocol Reference Manual Details of MELSEC communication protocol (MC protocol) that is used for data
<SH-080008, 13JF89> communication between a target device and a CPU module
Manual name
Description
<manual number, model code>
GX Works2 Version1 Operating Manual (Common) System configuration, parameter settings, and online operations (common to
<SH-080779, 13JU63> Simple project and Structured project) of GX Works2
GX Works2 Version 1 Operating Manual (Intelligent
Parameter settings for intelligent function modules, monitoring operations, and the
Function Module)
predefined protocol support function of GX Works2
<SH-080921, 13JU69>
GX Developer Version 8 Operating Manual Operating methods of GX Developer, such as programming, printing, monitoring,
<SH-080373, 13JU41> and debugging
7
CONTENTS
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
MANUAL PAGE ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
TERM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
CHAPTER 1 FEATURES 20
CHAPTER 3 SPECIFICATIONS 28
3.1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.3 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3.1 Function list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3.2 Use with other functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8
CHAPTER 7 COMMUNICATION PROCEDURE 84
7.1 Setting Parameters Required for Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
7.1.1 Parameter list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
7.1.2 Basic setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
7.1.3 Ethernet Operation Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
7.1.4 Open Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
9
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER 141
12.1 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
12.1.1 Differences between the "Procedure Exist" and "No Procedure" control methods . . . . . . . 141
10
14.2 Communications Using an Auto-open UDP Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
14.2.1 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
11
16.4 Checking the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
16.4.1 If the RUN LED turns off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
16.4.2 If the ERR. LED or COM.ERR. LED turns on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
16.4.3 If the SD LED does not flash when data is sent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
16.4.4 If data cannot be received with the RD LED off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
APPENDICES 343
Appendix 1 Processing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Appendix 2 Port Numbers Used for the E71 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Appendix 3 New and Improved Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Appendix 4 Initial Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Appendix 4.1 Setting the initial process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Appendix 4.2 Reinitialization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
12
Appendix 8 Operation Image and Data Structure of Predefined Protocol . . . . . . . . . . . . . . . . . . . . 382
Appendix 8.1 Operation image of each communication type of protocol. . . . . . . . . . . . . . . . . 382
Appendix 8.2 Verification operation of receive packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Appendix 8.3 Data examples of packet elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
INDEX 436
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
13
MANUAL PAGE ORGANIZATION
In this manual, pages are organized and the symbols are used as shown below.
The following illustration is for explanation purpose only, and should not be referred to as an actual documentation.
The chapter of
the current page is shown.
shows operating
procedures.
shows mouse
operations.*1
The section of
the current page is shown.
shows reference
manuals.
shows useful
information.
Menu bar
14
TERM
Unless otherwise specified, this manual uses the following terms.
Term Description
ACPU A generic term for the AnNCPU, AnACPU, and AnUCPU
A generic term for the A2ACPU, A2ACPU-S1, A2ACPUP21/R21, A2ACPUP21/R21-S1, A3ACPU,
AnACPU
and A3ACPUP21/R21
A generic term for the A1NCPU, A1NCPUP21/R21, A2NCPU, A2NCPU-S1, A2NCPUP21/R21,
AnNCPU
A2NCPUP21/R21-S1, A3NCPU, and A3NCPUP21/R21
AnUCPU A generic term for the A2UCPU, A2UCPU-S1, A2ASCPU, A2ASCPU-S1, A3UCPU, and A4UCPU
An abbreviation for Address Resolution Protocol. This protocol is used to obtain the MAC address
ARP
of Ethernet from an IP address.
BUFRCV An abbreviation for ZP.BUFRCV
BUFRCVS An abbreviation for Z.BUFRCVS
BUFSND An abbreviation for ZP.BUFSND
CLOSE An abbreviation for ZP.CLOSE
C24 Another name for the Q series serial communication module
An abbreviation for Domain Name System. This system is mainly used to convert host names on
DNS
the Internet or domain names used for e-mails to IP addresses.
ECPRTCL An abbreviation for GP.ECPRTCL
ERRCLR An abbreviation for ZP.ERRCLR
ERRRD An abbreviation for ZP.ERRRD
A generic term for the Q03UDVCPU, Q03UDECPU, Q04UDVCPU, Q04UDPVCPU,
Q04UDEHCPU, Q06UDVCPU, Q06UDPVCPU, Q06UDEHCPU, Q10UDEHCPU, Q13UDVCPU,
Built-in Ethernet port QCPU
Q13UDPVCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDVCPU, Q26UDPVCPU, Q26UDEHCPU,
Q50UDEHCPU, and Q100UDEHCPU
E71 A generic term for the Ethernet interface modules: QJ71E71-100, QJ71E71-B5, and QJ71E71-B2
E71-mounted station An abbreviation for the station where the E71 is mounted
An abbreviation for File Transfer Protocol. This protocol is used to transfer data files over a
FTP
network.
GX Developer
The product name of the software package for the MELSEC programmable controllers
GX Works2
An abbreviation for Hyper Text Transfer Protocol. This protocol is used to send and receive
HTTP
content, such as HTML files, between a Web browser and a Web server.
An abbreviation for Internet Control Message Protocol. This protocol is used to exchange
ICMP
messages of errors in an IP network or other information related to an Ethernet network.
IP An abbreviation for Internet Protocol
A unique identifier assigned to each external device on a network. This address is also known as
MAC address
an Ethernet hardware address.
An abbreviation for MELSEC Communication Protocol. This protocol is used to access MC
MC protocol protocol supporting modules, such as the C24 and E71, or programmable controllers connected to
MC protocol supporting modules from external devices.
MELSECNET/H An abbreviation for a MELSECNET/H network system
MELSECNET/H remote I/O station A generic term for the QJ72LP25-25, QJ72LP25G, and QJ72BR15
MELSECNET/10 An abbreviation for a MELSECNET/10 network system
MRECV An abbreviation for ZP.MRECV
MSEND An abbreviation for ZP.MSEND
MX Component An abbreviation for MX Component (SW0D5C-ACT-E or later)
OPEN An abbreviation for ZP.OPEN
15
Term Description
A generic term for the partner products with built-in EZSocket that supports a redundant system.
OPS
The E71 communicates with an OPS using a connection specified by a user.
An abbreviation for Post Office Protocol Ver.3. This protocol is used to transfer e-mails from a mail
POP3
server to a local computer.
A generic term for the Basic model QCPU, High Performance model QCPU, Process CPU,
QCPU
Redundant CPU, and Universal model QCPU
QCPU-mounted station An abbreviation for the programmable controller where the QCPU is mounted
A generic term for the Q2ACPU, Q2ACPU-S1, Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU,
QnACPU
Q2ASHCPU-S1, Q3ACPU, Q4ACPU, and Q4ARCPU
READ An abbreviation for JP.READ and GP.READ
RECV An abbreviation for JP.RECV and GP.RECV
RECVS An abbreviation for Z.RECVS
REQ An abbreviation for J.REQ, JP.REQ, G.REQ, and GP.REQ
SEND An abbreviation for JP.SEND and GP.SEND
An abbreviation for Seamless Message Protocol.
SLMP This protocol is used to access an SLMP-compatible device or a programmable controller
connected to an SLMP-compatible device from an external device.
An abbreviation for Simple Mail Transfer Protocol. This protocol is used to transfer e-mails over the
SMTP
Internet.
SREAD An abbreviation for JP.SREAD and GP.SREAD
SWRITE An abbreviation for JP.SWRITE and GP.SWRITE
UINI An abbreviation for ZP.UINI
WRITE An abbreviation for JP.WRITE and GP.WRITE
ZNRD An abbreviation for J.ZNRD and JP.ZNRD
ZNWR An abbreviation for J.ZNWR and JP.ZNWR
A module that has functions other than an input or output, such as an A/D converter module and
Intelligent function module
D/A converter module
A number used to logically divide one network into multiple subnetworks and manage them easily.
The following Ethernet network systems can be configured:
Subnet mask A small-scale Ethernet network system in which multiple network devices are connected
A medium- or large-scale network system in which multiple small-scale network systems are
connected via routers or other network communication devices
A function of GX Works2.
Predefined protocol support function This function sets protocols appropriate to each external device and reads/writes protocol setting
data from/to the flash ROM of the E71.
Device A device (X, Y, M, D, or others) in a CPU module
High Performance model QCPU A generic term for the Q02(H)CPU, Q06HCPU, Q12HCPU, and Q25HCPU
A memory in an intelligent function module, where data (such as setting values and monitoring
Buffer memory
values) exchanged with a CPU module are stored
An address that indicates the storage location of data assigned to the buffer memory in an
Buffer memory address
intelligent function module
Programming tool A generic term for GX Works2 and GX Developer
Process CPU A generic term for the Q02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
Basic model QCPU A generic term for the Q00(J)CPU and Q01CPU
A generic term for the Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU,
Q03UDVCPU, Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDEHCPU, Q06UDHCPU,
Universal model QCPU Q06UDVCPU, Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDVCPU,
Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU, Q26UDVCPU, Q26UDEHCPU,
Q50UDEHCPU, and Q100UDEHCPU
Redundant CPU A generic term for the Q12PRHCPU and Q25PRHCPUU
Safety CPU Another name for the QS001CPU
16
Term Description
Dedicated Instruction An instruction that simplifies programming for using functions of intelligent function modules
17
PACKING LIST
The following items are included in the package of this product. Before use, check that all the items are included.
QJ71E71-100
QJ71E71-B5
18
QJ71E71-B2
19
CHAPTER 1 FEATURES
An Ethernet module (hereafter abbreviated as E71) is an interface module on the programmable controller side for
connecting a programmable controller system to the host system, such as a personal computer and a workstation,
over Ethernet. The module can collect and modify programmable controller data, monitor and control CPU operating
status, and exchange data in TCP/IP or UDP/IP.
Internet
Provider Provider
Own station Connected device Another station Connected device Web server
Programming tool
20
CHAPTER 1 FEATURES
GOT
Programming tool E71
(2) Collection and modification of CPU module data from connected devices (MC
protocol communications)
The MC protocol enables connected devices to access MC protocol supporting modules over Ethernet. The E71
can communicate with a personal computer and HMI (Human Machine Interface) as long as the connected
devices can receive/send messages in the MC protocol control procedure. By using a separately sold
communication support tool (MX Component), a communication program for the host system can be created
without considering detailed protocols (communication procedures). ( Page 105, CHAPTER 9)
Response
Command
E71
Connected device
21
(4) Data communications using the predefined protocol (predefined protocol
support function)
Registering protocol data in advance using GX Works2 allows communications by executing only an ECPRTCL
instruction program. In addition, the protocol setting required to communicate with the connected device, such as
a measuring instrument or a bar code reader, can be configured easily using the Predefined Protocol Support
Function of GX Works2. ( Page 114, CHAPTER 11)
GX Works2
Sending
3) Executing protocols
Data can be communicated
Execute protocols by dedicated instructions. with protocols appropriate to
Multiple protocols can be executed by one dedicated each connected device.
instruction.
22
CHAPTER 1 FEATURES
Sending/receiving Sending/receiving
Reading/writing Reading/writing
E71
Connected device Connected device
23
(8) E-mail sending/receiving (e-mail function)
This function sends and receives e-mails to and from a connected device in a remote location via the Internet.
For details, refer to the following.
MELSEC-Q/L Ethernet Interface Module User's Manual (Application)
(b) E-mail sending using the programmable controller CPU monitoring function
Notification conditions (CPU module status or device values) that have been set using parameters are regularly
monitored. When the conditions are met, up to 960-word data can be sent by either of the following data
formats.
• Attachment
• Main text
Internet
Sending/receiving e-mails
E71
Connected device
24
CHAPTER 1 FEATURES
HTTP MC protocol
header (command message)
HTTP
MC protocol HTTP
(response message) header
E71
Web server Connected device
Web browser
HTML
Display of
requests/
ASP results
Communication
library
25
CHAPTER 2 PART NAMES
1) 1) 1)
3)
4)
2)
5)
6) 6) 6)
*1 The LED on the connector does not turn on. Depending on the serial number, the connector orientation is left-right
reversal.
26
CHAPTER 2 PART NAMES
*1 The OPEN LED turns on and off depending on the open status of user connections 1 to 16. (The open status of the
system connections (e.g. automatic open UDP port) is not included.)
*2 If the COM.ERR. LED is on, it does not turn off even if the error cause is eliminated. For how to turn off the LED, refer to
"How to Turn Off the COM.ERR. LED". ( Page 342, Section 16.8)
27
CHAPTER 3 SPECIFICATIONS
This chapter describes the performance specifications, functions, CPU module I/O signals, and buffer memory areas
of an E71.
28
CHAPTER 3 SPECIFICATIONS
Specifications
Item QJ71E71-100 QJ71E71-B5 QJ71E71-B2
100BASE-TX 10BASE-T*9 10BASE5 10BASE2 3
100Mbps
Data transmission speed (Full-duplex/Half- 10Mbps (Half-duplex)
duplex)
Full-duplex: None*8
Half-duplex: Back
Flow control Back pressure congestion control (Half-duplex)
pressure
congestion control
Interface RJ45 (Fixed to MDI) AUI BNC
Transmission method Base band
Transmission
Maximum node-to-node
specifications - 2500m 925m
distance
100m
Maximum segment length*6 500m 185m
(length between a hub and node)*7
Cascade Cascade
Maximum number of connection connection 100 modules/ 30 modules/
nodes/connection *6 (maximum of 2 (maximum of 4 segment segment
1 1
levels* ) levels* )
Minimum interval between
- 2.5m 0.5m
nodes*6
29
Specifications
Item QJ71E71-100 QJ71E71-B5 QJ71E71-B2
100BASE-TX *9 10BASE5 10BASE2
10BASE-T
Attachment 6K words × 1
Data size
Main text 960 words × 1
When sending: Send either a file as attachment or main text (select one).
Data transfer method
When receiving: Receive a file as attachment.
Subject Us-ASCII format or ISO-2022-JP (Base64)
Attachment format MIME format
MIME Version 1.0
Can be selected from binary, ASCII, and CSV.
Data of attachment format File name: XXXX.bin (binary), XXXX.asc (ASCII), XXXX.csv (CSV)
(CSV: Comma Separated Value)
Transmission
Division of attachment Cannot be divided (Only one file can be sent/received.)*4
specifications
Subject: Base64/7 bits
sending/receiving
When sending (encode) Main text: 7 bits
data
Attachment: Base64
Subject: (Does not decode)
When receiving (decode) Main text: (Cannot be received)
Attached file: Base64/7 bits/8 bits/Quoted Printable*5
Encryption None
Compression None
Communications with a mail SMTP (sending server) Port number = 25,
server POP3 (receiving server) Port number = 110
®
Microsoft Corporation Internet Explorer 5.0 (Outlook Express 5.5/Outlook Express 5)
Operation check mailer
Netscape® Communications Corporation Netscape® 4.05
*1 This applies when a repeater hub is used. For the number of levels that can be constructed when a switching hub is
used, consult with the manufacturer of the switching hub used.
*2 As described below, a module with a serial number (first five digits) of "05049" or earlier has a different 5VDC internal
current consumption value and weight.
• Internal current consumption (5VDC): 0.70A
• Weight: 0.14kg
*3 The specifications of the transceiver and the AUI cable need to be met. ( Page 76, Section 5.2.2)
*4 If divided files are received, only the first file is received and the remaining files are discarded.
*5 If an e-mail is sent from a connected device to the programmable controller side, specify the encoding method
(Base64/7 bits/8 bits/Quoted Printable) of the attachment.
*6 The following figure shows segment lengths and node intervals.
Segment length
Node Transceiver
Terminating resistor
Repeater Repeater
Segment length
Segment length
Node Node
Maximum
node-to-node
distance
Node Node
*7 For the maximum segment length (the length between hubs), consult the manufacturer of the hub used.
*8 The QJ71E71-100 does not support the flow control of the IEEE802.3x.
*9 When using the QJ71E71-100 with a serial number (first six digits) of "210214" or later, regard 10BASE-T as 10BASE-
Te.
30
CHAPTER 3 SPECIFICATIONS
31
Function Description Reference
An error that has occurred in an E71 can be stored in the CPU module as error
Module error collection function history. The history data can be stored on a memory with the backup power feature; Page 287,
(only QJ71E71-100) therefore error details are held even if the CPU module is reset or the system is Section 16.3
powered off.
32
CHAPTER 3 SPECIFICATIONS
Function Description
Data are sent/received using an e-mail.
E-mail function
• Data sent/received by a CPU module 3
• Data sent using the programmable controller CPU monitoring function
(automatic notification function)
CC-Link IE Controller Network, CC-Link IE Field
Data are communicated over multiple network systems where Ethernet and other
Network, MELSECNET/H, MELSECNET/10 relay
networks exist together or network systems that relay multiple Ethernet networks.
communications
Data of a CPU module in other stations can be read/written over Ethernet using
Communications using data link instructions
data link instructions.
Data can be read/written in files from connected devices using an exclusive FTP
File transfer (FTP server) function
command.
33
3.3.2 Use with other functions
The following table lists the relationships between functions that can be used together.
: Available, ×: Not available or this function does not correspond to the functions in the "Communication function" column.
CC-Link IE Controller
Communication
Network, CC-Link IE Field Router Alive Communications
function Pairing IP filter Remote Broadcast
Network, MELSECNET/H, relay check using an auto-open
(Communication open function password communications
MELSECNET/10 relay function function UDP port
method)
communications
MC protocol
communications *1 *2 × *1 *1 *3
(TCP/IP, UDP/IP)
Communications using
a fixed buffer × × *3 *4
(TCP/IP, UDP/IP)
Communications using
SLMP × × *3
(TCP/IP, UDP/IP)
Data communications
using the predefined
× × *3
protocol
(TCP/IP, UDP/IP)
Communications using
a random access
× × × ×
buffer
(TCP/IP, UDP/IP)
E-mail function
× × × × × ×
(TCP/IP)
Communications using
data link instructions × × ×
(UDP/IP)
File transfer (FTP
server) function × × × × ×
(TCP/IP)
Web function
× × × ×
(TCP/IP)
34
CHAPTER 3 SPECIFICATIONS
The following table lists the I/O signals for an E71. The I/O signal assignment of when the start I/O number of an E71 is
0000 (the module is mounted on the slot 0 of a main base unit) is listed below.
Device Device
number
Signal name
number
Signal name
3
For fixed buffer communication of connection No.1 (ON:
Connection No.1 (ON: At sending request or reception
X0 Sending normal completion or reception completion, Y0
complete confirmation signal, OFF: -)
OFF: -)
For fixed buffer communication of connection No.1 (ON: Connection No.2 (ON: At sending request or reception
X1 Y1
Detection of sending error or reception error, OFF: -) complete confirmation signal, OFF: -)
For fixed buffer communication of connection No.2 (ON:
Connection No.3 (ON: At sending request or reception
X2 Sending normal completion or reception completion, Y2
complete confirmation signal, OFF: -)
OFF: -)
For fixed buffer communication of connection No.2 (ON: Connection No.4 (ON: At sending request or reception
X3 Y3
Detection of sending error or reception error, OFF: -) complete confirmation signal, OFF: -)
For fixed buffer communication of connection No.3 (ON:
Connection No.5 (ON: At sending request or reception
X4 Sending normal completion or reception completion, Y4
complete confirmation signal, OFF: -)
OFF: -)
For fixed buffer communication of connection No.3 (ON: Connection No.6 (ON: At sending request or reception
X5 Y5
Detection of sending error or reception error, OFF: -) complete confirmation signal, OFF: -)
For fixed buffer communication of connection No.4 (ON:
Connection No.7 (ON: At sending request or reception
X6 Sending normal completion or reception completion, Y6
complete confirmation signal, OFF: -)
OFF: -)
For fixed buffer communication of connection No.4 (ON: Connection No.8 (ON: At sending request or reception
X7 Y7
Detection of sending error or reception error, OFF: -) complete confirmation signal, OFF: -)
35
Device Device
Signal name Signal name
number number
Open completed for connection No.3
X12 Y12 Use prohibited
(ON: Open completion signal, OFF: -)
Open completed for connection No.4
X13 Y13 Use prohibited
(ON: Open completion signal, OFF: -)
Open completed for connection No.5
X14 Y14 Use prohibited
(ON: Open completion signal, OFF: -)
Open completed for connection No.6
X15 Y15 Use prohibited
(ON: Open completion signal, OFF: -)
Open completed for connection No.7
X16 Y16 Use prohibited
(ON: Open completion signal, OFF: -)
Open completed for connection No.8 COM.ERR. LED Off request
X17 Y17
(ON: Open completion signal, OFF: -) (ON: At off request, OFF: -)
Open abnormal detection signal
X18 Y18 Use prohibited
(ON: At off request, OFF: -)
Initial normal completion signal Initial request signal
X19 Y19
(ON: Normal completion, OFF: -) (ON: At request, OFF: -)
Initial abnormal end signal
X1A Y1A Use prohibited
(ON: Abnormal end, OFF: -)
X1B Use prohibited Y1B Use prohibited
COM.ERR. LED lit confirmation
X1C Y1C Use prohibited
(ON: lit, OFF: -)
Predefined protocol ready
X1D Y1D Use prohibited
(ON: Ready, OFF: -)
X1E Use prohibited Y1E Use prohibited
Watchdog timer error detection
X1F Y1F Use prohibited
(ON: Watchdog timer error, OFF: -)
● Do not use any use prohibited signal as I/O signals to the CPU module. Doing so may cause malfunction of the
programmable controller system.
● Do not turn off the Open request signal (Y8 to YF) and turn on the COM.ERR. LED Off request (Y17) with the same
sequence scan.
Remark
The I/O signals listed in this section are mainly applied when QnA series module programs are used. For the Q series, the
I/O signals for intelligent function modules are turned on and off with dedicated instructions. When QnA series module
programs are used, it is recommended to replace the signals with the dedicated instructions described in the section that
describes the corresponding functions.
For details on I/O signals, refer to the following.
For QnA Ethernet Interface Module User's Manual
36
CHAPTER 3 SPECIFICATIONS
Do not write any data to the "system area". Doing so may cause malfunction of the programmable controller system.
37
3.5.2 List of buffer memory addresses
0 and 1
Own station E71 IP address C00001FEH
(0H and 1H)
2 and 3
System area - -
(2H and 3H)
38
CHAPTER 3 SPECIFICATIONS
20
Initial process Auto-open UDP port number 1388H ×
(14H)
parameter setting
21 to 29
area System area - -
(15H to 1DH)
39
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
Connection No.1
• Usage of fixed buffer (b0)
0: For sending, or communications
using a
fixed buffer are not performed
1: For receiving
• Destination existence confirmation (b1)
0: No confirm
1: Confirm
• Pairing open (b7)
0: Disable
1: Enable
• Communication method (protocol) (b8)
32
0: TCP/IP 0H
(20H)
1: UDP/IP
• Fixed buffer communication procedure
(b10, b9)
00: Procedure exists
01: No procedure
10: Predefined protocol
Communication Connection • Open system (b15, b14)
parameter setting usage setting 00: Active open or UDP/IP
area area 10: Unpassive open
11: Fullpassive open
34
Connection No.3 (The bit configuration is the same as Connection No.1.)
(22H)
35
Connection No.4 (The bit configuration is the same as Connection No.1.)
(23H)
36
Connection No.5 (The bit configuration is the same as Connection No.1.)
(24H)
37
Connection No.6 (The bit configuration is the same as Connection No.1.)
(25H)
38
Connection No.7 (The bit configuration is the same as Connection No.1.)
(26H)
39
Connection No.8 (The bit configuration is the same as Connection No.1.)
(27H)
40
CHAPTER 3 SPECIFICATIONS
40
Own station port No. 0H
(28H)
41 and 42
Destination IP address 0H
(29H and 2AH) Connection
43 No.1
(2BH)
Destination Port No. 0H 3
44 to 46
Destination MAC address FFFFFFFFFFFFH ×
(2CH to 2EH)
47 to 53
Connection No.2 (The bit configuration is the same as Connection No.1.)
(2FH to 35H)
Communication
54 to 60
Communication address setting Connection No.3 (The bit configuration is the same as Connection No.1.)
(36H to 3CH)
parameter setting area
61 to 67
area Connection No.4 (The bit configuration is the same as Connection No.1.)
(3DH to 43H)
68 to 74
Connection No.5 (The bit configuration is the same as Connection No.1.)
(44H to 4AH)
75 to 81
Connection No.6 (The bit configuration is the same as Connection No.1.)
(4BH to 51H)
82 to 88
Connection No.7 (The bit configuration is the same as Connection No.1.)
(52H to 58H)
89 to 95
Connection No.8 (The bit configuration is the same as Connection No.1.)
(59H to 5FH)
96 to 102
System area - -
(60H to 66H)
105
Initial error code 0H ×
(69H)
108 to 110
Own station MAC address 0H ×
(6CH to 6EH)
117
System area - -
(75H)
41
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
120
Own station port No. 0H ×
(78H)
123
Destination Port No. 0H ×
(7BH)
124
Open error code 0H ×
(7CH)
Fixed buffer
127
communication time 0H ×
(7FH)
(Maximum value)
Fixed buffer
128
Communication communication time 0H ×
(80H) Connection
status storage (Minimum value)
information area
area Fixed buffer
129
communication time 0H ×
(81H)
(Current value)
130 to 139
Connection No.2 (The bit configuration is the same as Connection No.1.)
(82H to 8BH)
140 to 149
Connection No.3 (The bit configuration is the same as Connection No.1.)
(8CH to 95H)
150 to 159
Connection No.4 (The bit configuration is the same as Connection No.1.)
(96H to 9FH)
160 to 169
Connection No.5 (The bit configuration is the same as Connection No.1.)
(A0H to A9H)
170 to 179
Connection No.6 (The bit configuration is the same as Connection No.1.)
(AAH to B3H)
180 to 189
Connection No.7 (The bit configuration is the same as Connection No.1.)
(B4H to BDH)
190 to 199
Connection No.8 (The bit configuration is the same as Connection No.1.)
(BEH to C7H)
42
CHAPTER 3 SPECIFICATIONS
43
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
205
RECV instruction execution request 0H ×
(CDH)
206
System area - -
(CEH)
Area for
207
sending/receiving ZNRD instruction 0H ×
(CFH)
instructions
208 Data link
System area - -
(D0H) instruction
209 execution
ZNWR instruction 0H ×
(D1H) result
210 to 223
System area - -
(D2H to DFH)
224 to 226
System area - -
(E0H to E2H)
227
Error log area Number of errors 0H ×
(E3H)
228
Error log write pointer 0H ×
(E4H)
44
CHAPTER 3 SPECIFICATIONS
229
Error code/end code 0H ×
(E5H)
230
Subheader 0H ×
(E6H)
231
(E7H)
Command code 0H × 3
232
Connection No. 0H ×
(E8H) Error log
233 block 1
Own station port No. 0H ×
(E9H)
236
Destination Port No. 0H ×
(ECH)
237
System area - -
(EDH)
238 to 246
Error log block 2 (The bit configuration is the same as Error log block 1.)
(EEH to F6H)
247 to 255
Error log block 3 (The bit configuration is the same as Error log block 1.)
(F7H to FFH)
256 to 264
Error log block 4 (The bit configuration is the same as Error log block 1.)
(100H to 108H)
283 to 291
Error log block 7 (The bit configuration is the same as Error log block 1.)
(11BH to 123H)
292 to 300
Error log block 8 (The bit configuration is the same as Error log block 1.)
(124H to 12CH)
301 to 309
Error log block 9 (The bit configuration is the same as Error log block 1.)
(12DH to 135H)
310 to 318
Error log block 10 (The bit configuration is the same as Error log block 1.)
(136H to 13EH)
319 to 327
Error log block 11 (The bit configuration is the same as Error log block 1.)
(13FH to 147H)
328 to 336
Error log block 12 (The bit configuration is the same as Error log block 1.)
(148H to 150H)
337 to 345
Error log block 13 (The bit configuration is the same as Error log block 1.)
(151H to 159H)
346 to 354
Error log block 14 (The bit configuration is the same as Error log block 1.)
(15AH to 162H)
355 to 363
Error log block 15 (The bit configuration is the same as Error log block 1.)
(163H to 16BH)
364 to 372
Error log block 16 (The bit configuration is the same as Error log block 1.)
(16CH to 174H)
45
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
373 to 375
System area - -
(175H to 177H)
46
CHAPTER 3 SPECIFICATIONS
498 to 511
System area - -
(1F2H to 1FFH)
516
Number of registered routers 0H
521 to 524
Router 2 (The bit configuration is the same as Router 1.)
(209H to 20CH)
Router relay
525 to 528
parameter Router 3 (The bit configuration is the same as Router 1.)
(20DH to 210H)
setting area
529 to 532
Router 4 (The bit configuration is the same as Router 1.)
(211H to 214H)
533 to 536
Router 5 (The bit configuration is the same as Router 1.)
(215H to 218H)
537 to 540
Router 6 (The bit configuration is the same as Router 1.)
(219H to 21CH)
541 to 544
Router 7 (The bit configuration is the same as Router 1.)
(21DH to 220H)
545 to 548
Router 8 (The bit configuration is the same as Router 1.)
(221H to 224H)
549
System area - -
(225H)
47
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
552
Number of conversion table data 0H
(228H)
Communication request
553 and 554
destination/source stations network 0H
(229H and 22AH)
number and station number
Conversion
555 and 556 External station Ethernet module IP
information No.1 0H
(22BH and 22CH) address
Station No.
557 and 558
<-> IP System area - -
(22DH and 22EH)
information
559 to 564 Conversion information No.2
setting area
(22FH to 234H) (The bit configuration is the same as Conversion information No.1.)
to to
931 to 936 Conversion information No.64
(3A3H to 3A8H) (The bit configuration is the same as Conversion information No.1.)
Net mask pattern for CC-Link IE Controller Network, CC-Link
937 and 938
IE Field Network, MELSECNET/H, and MELSECNET/10 0H
(3A9H and 3AAH)
routing
939 to 943
System area - -
(3ABH to 3AFH)
944 to 949
FTP login name "QJ71E71"
(3B0H to 3B5H)
950 to 953
Password "QJ71E71"
(3B6H to 3B9H)
954
FTP setting area Command input monitoring timer 708H
(3BAH)
955
Programmable controller CPU monitoring timer AH
(3BBH)
956 to 1663
System area - -
(3BCH to 67FH)
48
CHAPTER 3 SPECIFICATIONS
1664
Data length 0H ×
(680H)
Fixed buffer No.1
1665 to 2687
Fixed buffer data 0H ×
(681H to A7FH)
2688 to 3711
(A80H to E7FH)
Fixed buffer No.2 (The bit configuration is the same as Fixed buffer No.1.) 3
3712 to 4735
Fixed buffer No.3 (The bit configuration is the same as Fixed buffer No.1.)
(E80H to 127FH)
6784 to 7807
Fixed buffer No.6 (The bit configuration is the same as Fixed buffer No.1.)
(1A80H to 1E7FH)
7808 to 8831
Fixed buffer No.7 (The bit configuration is the same as Fixed buffer No.1.)
(1E80H to 227FH)
8832 to 9855
Fixed buffer No.8 (The bit configuration is the same as Fixed buffer No.1.)
(2280H to 267FH)
Send/receive
area for
18432 to 20479
49
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
50
CHAPTER 3 SPECIFICATIONS
20604 to 20608
Connection No.3 (The bit configuration is the same as Connection No.1.)
(507CH to 5080H)
20609 to 20613
Connection No.4 (The bit configuration is the same as Connection No.1.)
(5081H to 5085H)
20614 to 20618
Connection No.5 (The bit configuration is the same as Connection No.1.)
(5086H to 508AH)
20619 to 20623
Connection No.6 (The bit configuration is the same as Connection No.1.)
(508BH to 508FH)
20624 to 20628
Connection No.7 (The bit configuration is the same as Connection No.1.)
(5090H to 5094H)
51
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
20629 to 20633
Connection No.8 (The bit configuration is the same as Connection No.1.)
(5095H to 5099H)
20634 to 20638
Connection No.9 (The bit configuration is the same as Connection No.1.)
(509AH to 509EH)
20639 to 20643
Connection No.10 (The bit configuration is the same as Connection No.1.)
(509FH to 50A3H)
20644 to 20648
Connection No.11 (The bit configuration is the same as Connection No.1.)
(50A4H to 50A8H)
20649 to 20653
Connection No.12 (The bit configuration is the same as Connection No.1.)
(50A9H to 50ADH)
20654 to 20658
Connection No.13 (The bit configuration is the same as Connection No.1.)
(50AEH to 50B2H)
20659 to 20663
Remote Connection No.14 (The bit configuration is the same as Connection No.1.)
(50B3H to 50B7H)
password
20664 to 20668 Monitoring area
function Connection No.15 (The bit configuration is the same as Connection No.1.)
(50B8H to 50BCH)
monitoring area
20669 to 20673
(50BDH to Connection No.16 (The bit configuration is the same as Connection No.1.)
50C1H)
20684 to 20688
MELSOFT application transmission port (TCP)
(50CCH to
(The bit configuration is the same as Connection No.1.)
50D0H)
52
CHAPTER 3 SPECIFICATIONS
20694 to 20736
System area - -
(50D6H to 5100H)
20737
Error log pointer 0H ×
(5101H)
20744
HTTP response code 0H ×
(5108H)
20747 to 20750
Error time 0H ×
(510BH to 510EH)
HTTP status
20751 to 20757
storage area
20758 to 20764
Error log block 3 (The bit configuration is the same as Error log block 1.)
(5116H to 511CH)
20765 to 20771
Error log block 4 (The bit configuration is the same as Error log block 1.)
(511DH to 5123H)
20772 to 20778
Error log block 5 (The bit configuration is the same as Error log block 1.)
(5124H to 512AH)
20779 to 20785
Error log block 6 (The bit configuration is the same as Error log block 1.)
(512BH to 5131H)
20786 to 20792
Error log block 7 (The bit configuration is the same as Error log block 1.)
(5132H to 5138H)
20793 to 20799
Error log block 8 (The bit configuration is the same as Error log block 1.)
(5139H to 513FH)
20800 to 20806
Error log block 9 (The bit configuration is the same as Error log block 1.)
(5140H to 5146H)
20807 to 20813
Error log block 10 (The bit configuration is the same as Error log block 1.)
(5147H to 514DH)
20814 to 20820
Error log block 11 (The bit configuration is the same as Error log block 1.)
(514EH to 5154H)
20821 to 20827
Error log block 12 (The bit configuration is the same as Error log block 1.)
(5155H to 515BH)
20828 to 20834
Error log block 13 (The bit configuration is the same as Error log block 1.)
(515CH to 5162H)
53
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
20835 to 20841
Error log block 14 (The bit configuration is the same as Error log block 1.)
(5163H to 5169H)
20856 to 20991
System area - -
(5178H to 51FFH)
20995
Disconnection detection count 0H ×
(5203H)
20996 to 21007
System area - -
(5204H to 520FH)
54
CHAPTER 3 SPECIFICATIONS
21280 to 21283
System area - -
(5320H to 5323H)
21284
Protocol No. 0H ×
(5324H)
21285
Setting type 0H ×
(5325H) Protocol setting data error
21286 information
Packet No. 0H ×
(5326H) Protocol setting
21287 data check area
Element No. 0H ×
(5327H)
21288
Number of registered protocols 0H ×
(5328H)
21289 to 21295
System area - -
(5329H to 532FH)
21312 to 21695
System area - -
(5340H to 54BFH)
55
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
21696
Protocol execution status 0H ×
(54C0H)
21697
System area - -
(54C1H)
21715
Protocol cancellation specification 0H
(54D3H)
21776 to 21795
Connection No.5 (The bit configuration is the same as Connection No.1.)
(5510H to 5523H)
21796 to 21815
Connection No.6 (The bit configuration is the same as Connection No.1.)
(5524H to 5537H)
21816 to 21835
Connection No.7 (The bit configuration is the same as Connection No.1.)
(5538H to 554BH)
21836 to 21855
Connection No.8 (The bit configuration is the same as Connection No.1.)
(554CH to 555FH)
21856 to 21875
Connection No.9 (The bit configuration is the same as Connection No.1.)
(5560H to 5573H)
21876 to 21895
Connection No.10 (The bit configuration is the same as Connection No.1.)
(5574H to 5587H)
21896 to 21915
Connection No.11 (The bit configuration is the same as Connection No.1.)
(5588H to 559BH)
21976 to 21995
Connection No.15 (The bit configuration is the same as Connection No.1.)
(55D8H to 55EBH)
21996 to 22015
Connection No.16 (The bit configuration is the same as Connection No.1.)
(55ECH to 55FFH)
22016 to 22271
System area - -
(5600H to 56FFH)
56
CHAPTER 3 SPECIFICATIONS
22310 to 22559
System area - -
(5726H to 581FH)
57
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
22560
Own station port No. 0H ×
(5820H)
22563
Destination Port No. 0H ×
(5823H)
222564
Open error code 0H ×
(5824H)
Fixed buffer
22567
communication time 0H ×
(5827H)
(Maximum value)
Fixed buffer
22568 Communication
Connection communication time 0H ×
(5828H) status storage
information area (Minimum value)
area
Fixed buffer
22569
communication time 0H ×
(5829H)
(Current value)
22570 to 22579
Connection No.10 (The bit configuration is the same as Connection No.9.)
(582AH to 5833H)
22580 to 22589
Connection No.11 (The bit configuration is the same as Connection No.9.)
(5834H to 583DH)
22590 to 22599
Connection No.12 (The bit configuration is the same as Connection No.9.)
(583EH to 5847H)
22600 to 22609
Connection No.13 (The bit configuration is the same as Connection No.9.)
(5848H to 5851H)
22610 to 22619
Connection No.14 (The bit configuration is the same as Connection No.9.)
(5852H to 585BH)
22620 to 22629
Connection No.15 (The bit configuration is the same as Connection No.9.)
(585CH to 5865H)
22630 to 22639
Connection No.16 (The bit configuration is the same as Connection No.9.)
(5866H to 586FH)
58
CHAPTER 3 SPECIFICATIONS
22640
Number of mails remaining on the server 0H ×
(5870H)
22644
Attached file receiving count 0H ×
(5874H)
22645
Server inquiry count 0H ×
(5875H)
22646
Server communication error count 0H ×
(5876H) E-mail status
Receive
22647 storage area
Error log write count 0H ×
(5877H)
22648
Receiving error log write pointer 0H ×
(5878H)
22649
Error code 0H ×
(5879H)
22650
Command code 0H ×
(587AH)
22663 to 22692
Subject 0H ×
(5887H to 58A4H)
59
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
22693 to 22736
Error log block 2 (The bit configuration is the same as Error log block 1.)
(58A5H to 58D0H)
22737 to 22780
Error log block 3 (The bit configuration is the same as Error log block 1.)
(58D1H to 58FCH)
22781 to 22824
Error log block 4 (The bit configuration is the same as Error log block 1.)
(58FDH to 5928H)
22825 to 22868
Error log block 5 (The bit configuration is the same as Error log block 1.)
(5929H to 5954H)
22869 to 22912
Error log block 6 (The bit configuration is the same as Error log block 1.)
(5955H to 5980H)
22913 to 22956
Error log block 7 (The bit configuration is the same as Error log block 1.)
(5981H to 59ACH)
22957 to 23000
(59ADH to Error log block 8 (The bit configuration is the same as Error log block 1.)
59D8H)
23001 to 23044
Error log block 9 (The bit configuration is the same as Error log block 1.)
(59D9H to 5A04H) Receive
23045 to 23088
Error log block 10 (The bit configuration is the same as Error log block 1.)
(5A05H to 5A30H)
23089 to 23132
Error log block 11 (The bit configuration is the same as Error log block 1.)
(5A31H to 5A5CH)
23133 to 23176
Error log block 12 (The bit configuration is the same as Error log block 1.)
(5A5DH to 5A88H)
E-mail status
23177 to 23220
storage area Error log block 13 (The bit configuration is the same as Error log block 1.)
(5A89H to 5AB4H)
23221 to 23264
(5AB5H to Error log block 14 (The bit configuration is the same as Error log block 1.)
5AE0H)
23265 to 23308
(5AE1H to Error log block 15 (The bit configuration is the same as Error log block 1.)
5B0CH)
23309 to 23352
Error log block 16 (The bit configuration is the same as Error log block 1.)
(5B0DH to 5B38H)
23355
Number of mails normally completed 0H ×
(5B3BH)
23356
Send Attached file sending count 0H ×
(5B3CH)
23357
Sending to the server count 0H ×
(5B3DH)
23358
Number of mails abnormally completed 0H ×
(5B3EH)
23359
Error log write count 0H ×
(5B3FH)
60
CHAPTER 3 SPECIFICATIONS
23360
Sending error log write pointer 0H ×
(5B40H)
23361
Error code 0H ×
(5B41H)
23362
(5B42H)
Command code 0H × 3
23363 to 23370
To 0H ×
(5B43H to 5B4AH) Error log
23371 to 23374 block 1
(5B4BH to Date 0H ×
5B4EH)
23375 to 23404
(5B4FH to Subject 0H ×
5B6CH)
23405 to 23448
Error log block 2 (The bit configuration is the same as Error log block 1.)
(5B6DH to 5B98H)
Send
23449 to 23492
E-mail status Error log block 3 (The bit configuration is the same as Error log block 1.)
(5B99H to 5BC4H)
storage area
23493 to 23536
(5BC5H to Error log block 4 (The bit configuration is the same as Error log block 1.)
5BF0H)
23537 to 23580
(5BF1H to Error log block 5 (The bit configuration is the same as Error log block 1.)
5C1CH)
23625 to 23668
Error log block 7 (The bit configuration is the same as Error log block 1.)
(5C49H to 5C74H)
23669 to 23712
(5C75H to Error log block 8 (The bit configuration is the same as Error log block 1.)
5CA0H)
23713 to 24575
(5CA1H to System area - -
5FFFH)
61
Address Initial value Programming
Decimal Application Name Hexadecimal tool setting
24576
Data length 0H ×
(6000H)
Fixed buffer No.9
24577 to 25599
Fixed buffer data 0H ×
(6001H to 63FFH)
25600 to 26623
Fixed buffer No.10 (The bit configuration is the same as Fixed buffer No.9.)
(6400H to 67FFH)
26624 to 27647
Fixed buffer No.11 (The bit configuration is the same as Fixed buffer No.9.)
(6800H to 6BFFH)
29696 to 30719
Fixed buffer No.14 (The bit configuration is the same as Fixed buffer No.9.)
(7400H to 77FFH)
30720 to 31743
Fixed buffer No.15 (The bit configuration is the same as Fixed buffer No.9.)
(7800H to 7BFFH)
31744 to 32767
Fixed buffer No.16 (The bit configuration is the same as Fixed buffer No.9.)
(7C00H to 7FFFH)
*1 Available only for the QJ71E71-100.
Availability depends on the QJ71E71-100 version. ( Page 353, Appendix 3)
*2 " " means area which is reflected values of network parameters set by the programming tool and "×" means area which
is not reflected them.
62
CHAPTER 4 PROCEDURES BEFORE OPERATION
This chapter describes how to connect an E71 to Ethernet. For how to communicate with connected devices after the
E71 is connected, refer to the communication procedure. ( Page 84, CHAPTER 7)
Checkbox
System planning
Page 28, CHAPTER 3,
Page 65, CHAPTER 5
4
Plan the system configuration of the E71.
Mounting
Page 26, CHAPTER 2,
Mount the E71 on the base unit. Page 78, Section 6.1
Wiring
Page 74, Section 5.2,
Connect an Ethernet cable to the E71. Page 79, Section 6.2
Setting parameters
Page 86, Section 7.1.2,
Set the following parameters, which are required to start up Page 87, Section 7.1.3
the E71, on a programming tool.
Basic setting
Ethernet operation setting
Network diagnostics
Page 366, Appendix 5
Check that the cables are connected properly or that
communications are performed normally with the set
parameters. (PING test, loopback test)
63
Memo
64
CHAPTER 5 SYSTEM CONFIGURATION
This section describes the configuration of the system where an E71 is mounted.
5.1.1 Applicable modules and base units, and the number of connectable modules
5.1 Configuration of an E71-mounted System
65
5.1.2 For use with a Basic model QCPU or safety CPU
When an E71 is mounted to a Basic model QCPU or a safety CPU, the available functions are restricted as follows.
: Available, ×: Not available
Availability
Function Basic model
Safety CPU
QCPU
Connection with MELSOFT products and a GOT
MC protocol communications
Pairing open
Broadcast communications
IP filter function
Remote password *1
E-mail function *1 ×
CC-Link IE Controller Network, CC-Link IE Field Network, MELSECNET/H,
×
MELSECNET/10 relay communications
Communications using data link instructions *3 *3
Web function ×
*1 This function can be used in a Basic model QCPU with the function version B or later. For the version of a programming
tool, check the corresponding software version. ( Page 432, Appendix 11.1)
*2 The connection numbers 1 to 8 only can be specified. If the specified value is out of range, an "OPERATION ERROR"
(error code: 4101) occurs.
*3 When the target station of the SREAD/SWRITE instructions is a Basic model QCPU or safety CPU, the read notification
device to the target station set to the argument (D3) is ignored. The operation of the SREAD/SWRITE instructions is the
same as that of the READ/WRITE instructions. For the SREAD/SWRITE instructions, refer to the following.
MELSEC-Q/L Ethernet Interface Module User's Manual (Application)
66
CHAPTER 5 SYSTEM CONFIGURATION
(1) Precautions
Note the following precautions for when using an E71 in a multiple CPU system.
E71
Non-control CPU Connected device
Control CPU
Ex. When the relay modules are CC-Link IE Controller Network modules
Own
station
Relay
station
CC-Link IE
Controller Network
Station to be
accessed
67
5.1.4 For use in a redundant system
Ex. If a communication error occurs during access to the control system through the communication path 1
(1) in the figure below), the control system can be accessed through the communication path 2 (2) in the
figure below). If a communication error also occurs in the communication path 2, the system switches
between the control system and the standby system, enabling communications with the new system (3) in
the figure below).
Connected device
Ethernet Ethernet
network No.1 network No.2
Tracking cable
: Communication path 1
: Communication path 2
68
CHAPTER 5 SYSTEM CONFIGURATION
MC protocol communications *1
Pairing open
Broadcast communications *1
Remote password
E-mail function *1
Web function
69
(2) Mounting an E71 on the extension base unit of a redundant system
This section provides information on mounting an E71 on the extension base unit of a redundant system.
Tracking cable
Extension cable
Extension base unit
Ethernet
Connected device
70
CHAPTER 5 SYSTEM CONFIGURATION
This section provides information on using an E71 in a MELSECNET/H remote I/O station.
71
(4) Restrictions on the use of the functions
The available functions are restricted as follows.
: Available, ×: Not available
Function Availability
Program setting ×
Initial process
Network parameter setting
Program setting ×
Open/close processes
Network parameter setting
IP filter function
Remote password *1
*1 This function can be used in a MELSECNET/H remote I/O station with the function version D or later. For the version of
a programming tool, check the corresponding software version. ( Page 432, Appendix 11.1)
72
CHAPTER 5 SYSTEM CONFIGURATION
Ex. The MELSECNET/H remote master station and MELSECNET/H remote I/O stations can be accessed
from a connected device.
Access allowed
2)
The following methods cannot be used to access other stations through MELSECNET/H remote I/O
stations.
• Access to other stations from a MELSECNET/H remote master station via the E71 connected in
a MELSECNET/H remote I/O station (1) in the figure above)
• Access to other stations through two E71 modules (2) in the figure above)
73
5.2 Network Components
A QJ71E71-100 is used for 100BASE-TX and 10BASE-T connections. An E71 determines whether to use 10BASE-T
or 100BASE-TX and the full-duplex or half-duplex transmission mode according to the hub. For connection to the hub
without the automatic negotiation function, set the half-duplex mode on the hub side.
Connected device
E71
Hub
*1 This applies when a repeater hub is used. For the number of levels that can be constructed when a switching hub is
used, consult with the manufacturer of the switching hub used.
74
CHAPTER 5 SYSTEM CONFIGURATION
During high-speed communications (100Mbps) using 100BASE-TX connection, a communication error may occur due to
high-frequency noise from devices other than a programmable controller in a given installation environment. The following
describes countermeasures to be taken on the E71 side to avoid high-frequency noise influence.
• Wiring connection
• Do not bundle the cable with the main circuit or power cable or do not place it near those lines.
• Put the cable in a duct.
• Communication method
• Use TCP/IP for data communications with connected devices.
• Increase the number of retries of communications if needed.
• 10Mbps communications
• Use a 10Mbps hub for the E71 and set the data transmission speed to 10Mbps.
• Change the transmission speed of the E71 to 10Mbps using the UINI instruction. ( Page 279,
Section 15.13)
5
Remark
Consult a network specialist for required devices.
Connected device
E71
*1 This applies when a repeater hub is used. For the number of levels that can be constructed when a switching hub is
used, consult with the manufacturer of the switching hub used.
Remark
Consult a network specialist for required devices.
75
5.2.2 Configuration devices used for 10BASE5 connection
A QJ71E71-B5 is used for 10BASE5 connection. Use devices that meet the IEEE 802.3 10BASE5 standards.
Transceiver
DC power supply
● The transceiver electrical characteristics are as follows. The power supply for the transceiver needs to be 13.28VDC to
15.75VDC.
• Input terminal voltage: 12VDC-6% to 15VDC+5%
• AUI cable direct resistance: 40/km or less, maximum length 50m (164ft.)
• Maximum current consumption: 500mA or less
The voltage drop (V) of the power supply for the transceiver is calculated as follows.
Voltage drop (V) = AUI cable direct current resistance (/m) × AUI cable length (m) × 2 (both directions) × transceiver
current consumption (A)
● A communication error may occur due to high-frequency noise from devices other than a programmable controller in a
given installation environment. The following describes countermeasures to be taken on the E71 side to avoid high-
frequency noise influence.
• Install a ferrite core. ( Page 80, Section 6.2.2)
• Increase the number of retries of communications for TCP/IP communication.
Remark
Consult a network specialist for required devices.
76
CHAPTER 5 SYSTEM CONFIGURATION
A QJ71E71-B2 is used for 10BASE2 connection. Use devices that meet the IEEE 802.3 10BASE2 standards.
Terminating Terminating
resistor resistor
Coaxial cable
T-type
connector
Remark
Consult a network specialist for required devices.
77
CHAPTER 6 INSTALLATION AND WIRING
6.1 Installation
*1 This terminal is an external power input terminal for supplying power to a transceiver when the E71 is connected to the
10BASE5 network.
*2 A module can be easily fixed onto the base unit using the hook at the top of the module. However, it is recommended to
secure the module with the module fixing screw if the module is subject to significant vibration.
78
CHAPTER 6 INSTALLATION AND WIRING
6.2 Wiring
This section describes Ethernet cable wiring and wiring precautions. For a network configuration and cables and hubs
used, refer to "SYSTEM CONFIGURATION". ( Page 65, CHAPTER 5)
79
6.2.2 Wiring with the QJ71E71-B5
The following describes connection and disconnection of the AUI cable and connection of the external power supply
terminal.
Retainer
A
B
AUI cable
13mm
4. Loosen the terminal screw and insert the cable into the terminal.
5. Tighten the terminal screw within the torque range listed in Section 6.1 (2).
*1 If the wire strip length is too long, the conductive part is exposed and it may increase the risk of electric shock or short-
circuit between the adjacent terminals. If the wire strip length is too short, it may result in poor contact.
80
CHAPTER 6 INSTALLATION AND WIRING
To prevent the influence of high-frequency noise using ferrite cores, install them on the E71 side, connected device side, and
transceiver side on the AUI cable. (Ferrite core used for the tests conducted by Mitsubishi Electric Corporation: ZCAT 2032-
0930 from TDK Corporation)
QJ71E71-B5
AUI cable
Transceiver
6
81
6.2.3 Wiring with the QJ71E71-B2
[2]
[1]
82
CHAPTER 6 INSTALLATION AND WIRING
Remark
● The following shows the composition of the BNC connector and coaxial cable.
External conductor
Outer sheath Insulator
Nut Washer Gasket
Internal conductor
Plug shell
Clamp Contact
● The following shows how to attach the BNC connector and the coaxial cable.
1. Cut off the outer sheath of the coaxial cable by the length shown in 6
10mm
the figure to left. Take care not to damage the external conductor.
Clamp
2. Fix the nut, washer, gasket, and clamp to the coaxial cable as
shown in the figure to left and unfasten the external conductor.
Nut
Washer
Gasket
5. Insert the contact assembled in the step 4. into the plug shell
and screw the nut into the plug shell.
83
CHAPTER 7 COMMUNICATION PROCEDURE
This chapter describes the procedure for communicating with connected devices after the E71 is connected to
Ethernet. For the procedure for connecting the E71 to Ethernet, refer to "PROCEDURES BEFORE OPERATION".
( Page 63, CHAPTER 4)
Parameter settings
Set parameters other than the basic setting and Ethernet Page 85, Section 7.1,
operation setting when required. Parameter setting of each
function
Initial process
The process is automatically performed with default settings
of the parameters.
Open process
Page 91, Section 7.2,
Establish connections with connected devices. Page 99, Section 7.3
Data communications
using each function
Close process
Page 91, Section 7.2,
Disconnect (cancel) connections with the connected devices Page 99, Section 7.3
where connections have been established by the open process.
84
CHAPTER 7 COMMUNICATION PROCEDURE
This section describes how to set parameters to communicate between the E71 and connected devices.
85
7.1.2 Basic setting
Remark
For settings to use the E71 in a redundant system, refer to the parameter settings for the redundant system function.
( Page 223, Section 14.7.3)
86
CHAPTER 7 COMMUNICATION PROCEDURE
7
Item Description Setting range
• Binary Code
Communication Data Code Select the communication data code for the connected device.
• ASCII Code
• Do not wait for OPEN
(Communications impossible at
*1 Do not use a programming tool that supports this setting together with one not supporting the setting. (Doing so may
change the setting to "Use the Ping".) This setting is ignored if the E71 does not support the alive check function using
KeepAlive. (The PING command is used for alive check.)
Remark
For settings to use the E71 in a redundant system, refer to the parameter settings for the redundant system function.
( Page 223, Section 14.7.3)
87
(1) Initial Timing
This setting configures the open timing of the connection where "TCP" (Passive open) or "UDP" has been
selected under "Open System" in the open setting. ( Page 89, Section 7.1.4)
*1 If the program of the CPU module on the own station closes a connection, the station does not enter the OPEN request
wait status after the connection is disconnected.
When remotely controlling the CPU module from a connected device, select "Always wait for OPEN (Communication
possible at STOP time)". If "Do not wait for OPEN (Communications impossible at STOP time)" is selected, the
communication line is closed during remote STOP. After the line is closed, the line cannot be reopened on the CPU module
side, and remote RUN cannot be performed from the connected device.
Remark
● The IP address pattern for each class is as follows.
Class A: 0.x.x.x to 127.x.x.x, Class B: 128.x.x.x to 191.x.x.x, Class C: 192.x.x.x to 223.x.x.x
● The host address for each class is the part shown with "0".
Class A: 255.0.0.0, Class B: 255.255.0.0, Class C: 255.255.255.0
88
CHAPTER 7 COMMUNICATION PROCEDURE
Configure settings to open connections for data communications with connected devices.
• Active
• Unpassive
Set this item when "TCP" is selected under "Protocol".
Open System • Fullpassive
( Page 92, Section 7.2.2, Page 93, Section 7.2.3, Page 95, Section 7.2.4)
• MELSOFT
Connection
For communications using a fixed buffer, select whether to use the buffer for
sending or for receiving in a connection to the connected device. When not • Send
Fixed Buffer
performing communications using a fixed buffer, select "Send". ( Page 141, • Receive
CHAPTER 12)
• Procedure Exist
Select a communication method for communications using a fixed buffer.
Fixed Buffer Communication • No Procedure
( Page 141, CHAPTER 12)
• Predefined protocol
Configure the pairing open setting for communications using a fixed buffer. • Disable
Pairing Open
( Page 160, Section 12.7) • Enable
• No Confirm
Existence Confirmation Select whether to use the alive check function. ( Page 236, Section 14.8)
• Confirm
401H to 1387H,
Host Station Port No. Set the E71 connection port numbers.
138BH to FFFEH*1
Destination Port No. Set port numbers for connections of connected devices. 1H to FFFFH*2
89
● Note the following points when setting port numbers.
: Can be set, ×: Cannot be set
Communication
Connection status Description protocol
TCP/IP UDP/IP
Connected device
E71 Connected device When connecting multiple ports on a connected device, set
multiple port numbers of the E71.
E71 Connected device Multiple ports can be set for the same port on a connected
device and on the E71 only when paring open has been set.
● Consult with the network administrator for setting the port numbers of the E71 and the connected device and the IP
address of the connected device.
90
CHAPTER 7 COMMUNICATION PROCEDURE
TCP/IP communications require establishing connections between communication devices. When the server-side
device is in standby status after performing a Passive open process, a connection is established after the client-side
device issues an open request (Active open process) to the server and a response is received.
In TCP/IP communications, the system establishes a connection and checks whether each data has arrived at the
recipient normally, thereby ensuring data reliability. Compared to UDP/IP communications, however, TCP/IP places a
greater load on the line.
Client
Server
7
Open request
Response
E71 Connected device
Passive open Connection Active open
(passive) (active)
91
7.2.2 Communication process
This section describes the process from establishing a connection to terminating communications.
Server Client
E71
After the server performs Connected device
Passive open, it will wait
for an open request from
the client. Passive open When the client sends
an Active open request
Open request
Active open and the server accepts it,
a connection is established
between the client and the
Response server.
Data sending
Data sending The client receives data and sends
back the response to the data.
Response
Receive process
Close request
Close process
Response
Close request
Close request The packet to stop communications is
exchanged then the connection is
disconnected.
Response
Closed Closed
After the connected device sends a close request to the E71, wait for 500ms or more before performing an open process
again.
92
CHAPTER 7 COMMUNICATION PROCEDURE
Active open is a connection method that performs an active open process on a connected device in Passive open wait
status. The procedure that the E71 performs an Active open process is as follows. For the OPEN/CLOSE instructions,
refer to "DEDICATED INSTRUCTIONS". ( Page 238, CHAPTER 15)
Parameter communications
Power-on completed
Open status 1
Closed status
OPEN instruction
1 scan 7
OPEN instruction
completion device
OPEN instruction Abnormally ended
completion device + 1
Open abnormal detection Abnormally ended
signal X18
5
93
1 After parameter communications, check that the initial process of the E71 is normally completed.
(Initial normal completion signal (X19): ON)
2 Start the open process using the OPEN instruction. (Open request signal (address: 5002H (b0)): ON)
3 The E71 performs the open process. (The E71 sends an open request (SYN) to the connected device.)
4 When the open process is normally completed, data communications are enabled.*1
5 Start a close process using the CLOSE instruction. (Open request signal: OFF)
6 The E71 performs the close process. (The E71 sends a close request (FIN) to the connected device.)
7 When the close process is normally completed, data communications terminate.*2
*1 If the E71 sends an SYN and the connected device returns a RST, Open abnormal completion (X18) turns on
immediately and the open process terminates. (Open abnormal end)
*2 If an ACK and a FIN are not returned within the time specified by the TCP end timer value, the E71 forcibly closes the
connection (sends a RST). (Close abnormal end)
94
CHAPTER 7 COMMUNICATION PROCEDURE
The E71 has the following two connection methods for Passive open.
• Unpassive: Performs a passive open process on connections for all devices connected to the network,
regardless of the IP address and port number of the destination device.
• Fullpassive: Performs a passive open process on connections for the connected device specified by the IP
address and port number.
Under the Passive open method, the open/close processes are performed using the procedures described below,
according to the Ethernet operation setting.
(1) When "Always wait for OPEN" is selected for the Ethernet operation setting
As the E71 is set to always wait for open, a connection is established when an Active open is requested from the
connected device. This eliminates the need for open/close processing programs on the E71 side.
Parameter
communications
Power-on completed 1
Open status
Closed status
95
1 After parameter communications, check that the initial process of the E71 is normally completed.
(Initial normal completion signal (X19): ON)
After the initial process is normally completed, the connection enters open enable status and the E71 waits for an
open request from the connected device.
2 The E71 starts the open process upon receiving the open request (SYN) from the connected device. When the
open process is normally completed, Open completion signal (address: 5000H (b0)) turns on and data
communications are enabled.
3 The E71 starts the close process upon receiving the close request (FIN) from the connected device. When the
close process is completed, Open completion signal (address: 5000H (b0)) turns off and data communications are
disabled.
4 After the internal process of the E71 is completed, the connection returns to the open acceptance enable status.
*1 An open request (SYN) received after the normal completion of an initial process and before the E71 is in the open
acceptance enable status will cause an error, and the E71 sends a connection forced close (RST).
When the open/close processes are performed from the E71 side using a dedicated instruction, even if "Always wait for
OPEN" has been selected for the Ethernet operation setting, the connection will not return to the open acceptance enable
status after the close process is completed.
96
CHAPTER 7 COMMUNICATION PROCEDURE
(2) When "Do not wait for OPEN" is selected for the Ethernet operation setting
Executing the OPEN/CLOSE instructions is required on the E71 to make the E71 enter open/close wait status
before receiving an open/close request from the connected device. When the open process is normally
completed, data sending and receiving are enabled. For the OPEN/CLOSE instructions, refer to "DEDICATED
INSTRUCTIONS". ( Page 238, CHAPTER 15)
Parameter
communications
Power-on completed
Open status 1
Closed status
OPEN instruction
1 scan
7
OPEN instruction
completion device
Abnormally
OPEN instruction ended
completion device + 1
Open abnormal detection Abnormally ended
signal X18
CLOSE instruction
1 scan
CLOSE instruction
completion device Abnormally
ended
CLOSE instruction
completion device + 1
Open completion signal
(address: 5000H)
Open request signal
(address: 5002H) SYN + ACK FIN + ACK
3 4
97
1 After parameter communications, check that the initial process of the E71 is normally completed.
(Initial normal completion signal (X19): ON)
2 Start the open process using the OPEN instruction. (Open request signal (address: 5002H (b0)): ON)
3 The E71 starts the open process upon receiving the open request (SYN) from the connected device. When
the open process is normally completed, Open completion signal (address: 5000H (b0)) turns on and data
communications are enabled.
4 The E71 starts the close process upon receiving the close request (FIN) from the connected device. When the
close process is completed, Open completion signal (address: 5000H (b0)) turns off and data communications
are disabled.
5 Start the close process using the CLOSE instruction. (Open request signal: OFF)
*1 An open request (SYN) received after the normal completion of an initial process and before the E71 is in the open
acceptance enable status will cause an error, and the E71 sends a connection forced close (RST).
98
CHAPTER 7 COMMUNICATION PROCEDURE
This section describes UDP/IP communications. In UDP/IP communications, the system does not establish a
connection and does not check whether each data has arrived at the destination normally, thereby reducing the load
on the line. However, UDP/IP communications do not guarantee data reliability as the TCP/IP communications do.
Unlike TCP/IP communications, UDP/IP communications do not require connections to be established with connected
devices.
Server Client
E71
Connected device
7
The client opens
Open Open
the port.
Data sending
Data sending request
After the connected device sends a close request to the E71, wait for 500ms or more before performing an open process
again.
99
7.3.2 Open procedure
The open/close processes are performed by the procedures described below, according to the Ethernet operation
setting.
(1) When "Always wait for OPEN" is selected for the Ethernet operation setting
After the E71-mounted station has been started up, the connection in UDP/IP communications automatically
opens and data sending/receiving are enabled. Creating open/close processing programs is not required.
When open/close processes are performed from the E71 side using a dedicated instruction, even if "Always wait for OPEN"
has been selected for the Ethernet operation setting, all open/close processes after the connection to the connected device
is established must be performed in a program.
100
CHAPTER 7 COMMUNICATION PROCEDURE
(2) When "Do not wait for OPEN" is selected for the Ethernet operation setting
Executing the OPEN/CLOSE instructions is required on the E71 to make the E71 enter open/close wait status
open/close wait status before receiving an open/close request from the connected device. When the open
process is normally completed, data sending and receiving are enabled. For the OPEN/CLOSE instructions, refer
to "DEDICATED INSTRUCTIONS". ( Page 238, CHAPTER 15)
Parameter
communications
Power-on completed
Open status 1
Closed status
7
signal X19
2
OPEN instruction
1 scan
OPEN instruction
completion device
CLOSE instruction
completion device
Abnormally
CLOSE instruction ended
completion device + 1
1 After parameter communications, check that the initial process of the E71 is normally completed.
(Initial normal completion signal (X19): ON)
2 Start the open process using the OPEN instruction. (Open request signal (address: 5002H (b0)): ON)
3 The E71 performs the open process. (Internal process only)
4 Data communications are enabled when the open process is normally completed.
5 Start the close process using the CLOSE instruction. (Open request signal: OFF)
6 The E71 performs the close process. (Internal process only)
7 When the close process is normally completed, data communications terminate.
101
CHAPTER 8 CONNECTING MELSOFT PRODUCTS
AND A GOT
This chapter describes the connection of the E71 with MELSOFT products (such as a programming tool and MX
Component) and the GOT.
8.1 Applications
GOT
Programming tool E71
The connection used in the connection with MELSOFT products is only for data communications with the MELSOFT
products and cannot be used for data communications with connected devices other than MELSOFT products.
102
CHAPTER 8 CONNECTING MELSOFT PRODUCTS AND A GOT
This section describes the data communication procedure in the MELSOFT connection.
Ex. Connecting the E71 and a personal computer (GX Works2) over Ethernet
103
4. Select "Ethernet Module" under "PLC side I/F" and
double-click the item. The window shown to left
appears. Set the station number and the IP address
according to the network parameters.
104
CHAPTER 9 MC PROTOCOL COMMUNICATIONS
Using MC protocol communications, connected devices that can send and receive data in accordance with the MC
protocol can access a CPU module. Because an E71 processes and sends/receives data based on commands from
connected devices, no programs for data communications are required on the programmable controller side.
For MC protocol communications, refer to the following.
MELSEC Communication Protocol Reference Manual
9.1 Applications
9.1 Applications
The remote operation allows a connected device to remotely operate a CPU module.
105
9.2 Communication Structure
When a connected device sends a message to an E71 in the MC protocol message format, the E71 performs the
process according to the message. During communications, a CPU module including the E71 operates as a server,
and the connected device (a personal computer or other terminals) operates as a client. Based on the command
message received from the client, the server (the E71) automatically sends an appropriate response message.
Client
Server Connected device
E71
Command message
Application data
Header
Subheader Text (command)
Ethernet
Response message
Application data
Header
Subheader Text (command)
Remark
When the connected device is a personal computer, using a separately sold communication support tool (MX Component)
allows a communication program for the connected device to be created without considering the MC protocol message
format or sending/receiving procedures. ( Page 393, Appendix 9)
106
CHAPTER 9 MC PROTOCOL COMMUNICATIONS
In the cases described below, an E71 performs a remote password check when the connected device accesses the
programmable controller. If communications cannot be performed, unlock the remote password. ( Page 204, Section
14.4.2)
• When a remote password has been set in the CPU module
• When the connection for data communications with the connected device is to be subjected to the remote
password check
107
9.4 Parameter Setting
108
CHAPTER 10 SLMP COMMUNICATIONS
10.1 Applications
10.1 Applications
The COM.ERR. LED on an E71 can be turned off from a connected device.
109
10.2 Communication Structure
When a connected device sends a message to an E71 in the SLMP message format, the E71 performs the process
according to the message. During communications, a CPU module including the E71 operates as a server, and the
connected device (a personal computer or other terminals) operates as a client. Based on the request message
received from the client, the server (the E71) automatically sends an appropriate response message.
Client
Server Connected device
E71
Request message
Access
Header Subheader Command
destination
Ethernet
Response message
Header Subheader Response data
In the cases described below, an E71 performs a remote password check when the connected device accesses the
programmable controller. If communications cannot be performed, unlock the remote password. ( Page 204, Section
14.4.2)
• When a remote password has been set in the CPU module
• When the connection for data communications with the connected device is to be subjected to the remote
password check
110
CHAPTER 10 SLMP COMMUNICATIONS
111
10.5 Available command list
The following table lists the commands that can be executed from a connected device to the E71.
The part in the Subcommand column varies depending on the specified device.
For details on each command, refer to the following.
SLMP Reference Manual
Item
Command Subcommand Description
Type Operation
Reads values in 1-point units from bit devices (consecutive device
001
numbers).
Read 0401 • Reads values in 16-point units from bit devices (consecutive device
numbers).
000
• Reads values in 1-word units from word devices (consecutive device
numbers).
001 Writes values to bit devices (consecutive device numbers) in 1-point units.
• Writes values to bit devices (consecutive device numbers) in 16-point
Write 1401 units.
000
• Writes values to word devices (consecutive device numbers) in 1-word
units.
Specifies a device number to read the device value. Discrete device
numbers can be used.
Read Random 0403 000
• Reads bit devices in 16- or 32-point units.
Device • Reads word devices in 1- or 2-word units.
Specifies a device number in 1-point units to write a value to a bit device.
001
Discrete device numbers can be used.
Write Random 1402 • Specifies a device number in 16-point units to write a value to a bit
device. Discrete device numbers can be used.
000
• Specifies a device number in 1- or 2-word units to write a value to a word
device. Discrete device numbers can be used.
Entry Monitor Device 0801 000 Registers a device to be read by Execute Monitor (command: 0802).
Reads the value of the device registered by Entry Monitor Device
Execute Monitor 0802 0000
(command: 0801).
Specifies n points (1 point: 16 bits) of word or bit devices as one block, and
Read Block 0406 000
reads multiple blocks of data. Discrete device numbers can be used.
Specifies n points (1 point: 16 bits) of word or bit devices as one block, and
Write Block 1406 000
writes multiple blocks of data. Discrete device numbers can be used.
Read 0613 0000 Reads buffer memory data of the E71.
Memory
Write 1613 0000 Writes data to the buffer memory of the E71.
Read 0601 0000 Reads buffer memory data of the intelligent function module.
Extend Unit
Write 1601 0000 Writes data to the buffer memory of the intelligent function module.
Remote Run 1001 0000 Executes remote RUN to the CPU module where an E71 is mounted.
Remote Stop 1002 0000 Executes remote STOP to the CPU module where an E71 is mounted.
Remote Pause 1003 0000 Executes remote PAUSE to the CPU module where an E71 is mounted.
Remote
Control Remote Latch Clear 1005 0000 Executes remote latch clear to the CPU module where an E71 is mounted.
Remote Reset 1006 0000 Executes remote RESET to the CPU module where an E71 is mounted.
Reads the model name and code of the CPU module where an E71 is
Read Type Name 0101 0000
mounted.
Specifies the remote password to disable the communication with other
Lock 1631 0000
Remote devices. (The locked state is activated from the unlocked state.)
Password Specifies the remote password to enable communication with other
Unlock 1630 0000
devices. (The unlocked state is activated from the locked state.)
112
CHAPTER 10 SLMP COMMUNICATIONS
Item
Command Subcommand Description
Type Operation
Read Directory/File 1810 0000 Reads file list information from the CPU module where an E71 is mounted.
Reads the file number of the specified file from the CPU module where an
Search Directory/File 1811 0000
E71 is mounted.
Reserves storage area for the specified file of the CPU module where an
10
New File 1820 0000
E71 is mounted.
Delete File 1822 0000 Deletes a file in the CPU module where an E71 is mounted.
Copy File 1824 0000 Copies the specified file in the CPU module where an E71 is mounted.
Changes the attributes of the file in the CPU module where an E71 is
File Change File State 1825 0000
mounted.
Changes the creation date of the file in the CPU module where an E71 is
Change File Date 1826 0000
mounted.
Locks a file so that the data of the file is not changed by other devices in
Open File 1827 0000
the CPU module where an E71 is mounted.
Read File 1828 0000 Reads the data of a file from the CPU module where an E71 is mounted.
Write File 1829 0000 Writes the data to a file in the CPU module where an E71 is mounted.
Close File 182A 0000 Cancels the file lock by the open process.
113
CHAPTER 11 DATA COMMUNICATIONS USING
THE PREDEFINED PROTOCOL
Data can be transferred between a connected device and the CPU module with a protocol appropriate to the
connected device (such as a measuring instrument or a bar code reader).
Device or buffer memory data can be taken into communication packets, and thereby this protocol communications are
suitable for data that may change in each communication.
The protocol setting required to communicate with the connected device can be configured in GX Works2.
Protocols can be selected from the Predefined Protocol Library or can be created and edited.
This function is available only in the QJ71E71-100 with the serial number (first five digits) of "15042" or later.
GX Works2
Sending
3) Executing protocols
Data can be communicated
Execute protocols by dedicated instructions.
with protocols appropriate to
Multiple protocols can be executed by one dedicated each connected device.
instruction.
114
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
● The followings are the maximum numbers of protocols and packets that can be registered.
• Protocols: Up to 128
• Packets: Up to 256
• Packet data area size: Up to 12288 bytes
If once the number of packets reaches the upper limit, protocols cannot be added even though the number of protocols
has not reached the upper limit.
In addition, if once the packet data area size reaches the upper limit, protocols and packets cannot be added even though
the numbers of protocols and packets have not reached the upper limit. 11
For details, refer to the following.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
● From Connection No.1 to 16 are available.
● The Communication Data Code becomes Binary Code regardless of the setting.
115
11.1 Data Communication Procedure
By using the predefined protocol support function, data can be communicated with the connected device in the
following procedure.
If "User Protocol Library" is selected in the "Add Protocol" window, protocols saved by user can be read.
For details on the User Protocol Library, refer to the following.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
116
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
11
117
5. Write the protocol setting data to the flash ROM.
*1 When the initial process is not completed, the protocol setting data cannot be written to the flash ROM. Before writing
the data, set the network parameters and check that the initial process is completed.
(The initial process completion can be checked using Initial normal completion signal (X19).)
● When writing the data to the Redundant CPU, pay attention to the followings:
• To write the data, connect directly to the CPU module or connect via an intelligent function module on a main base
unit; connection via an intelligent function module on an extension base is not available.
• Select "Not specified" for Target System in the Transfer Setup of GX Works2. When the Target System is
specified, an error occurs in the CPU module.
• A system switching during data writing may cause the data not to be written to the flash ROM.
Change the operation mode of the Redundant CPU to separate mode before writing to prevent such situation from
occurring.
If a system switching has occurred during data writing, write the data to the flash ROM again.
● The following data cannot be read out because they are not written to the E71. However, when the protocols are selected
from the Predefined Protocol Library, the followings can be displayed.
• Manufacturer
• Packet Name
• Protocol Detailed Setting Type, Version, Explanation
• Packet Setting Element Name
● Module Selection using the Predefined Protocol Support Function is available only when "Not Specification" is set in the
Transfer Setup of GX Works2.
When other station is specified, the E71 specified in the Transfer Setup of GX Works2 becomes the target module.
● Protocols can be executed only when the target connection is in the following status:
• When Open completion signal is on
• When "Predefined protocol" is set to Fixed Buffer Communication in the open setting
If the protocol is executed to the connection where the above conditions are not satisfied, the ECPRTCL instruction ends
abnormally.
118
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
Receive and send packets from/to the connected device for the process execution are registered in a protocol.
Packet elements set using the predefined protocol support function correspond to the data part of the send/receive
packets. The following shows an example of packet configuration. For details on the packet elements, refer to Page
389, Appendix 8.3.
(a) TCP/IP
11
(b) UDP/IP
Destination Sender's
Type: IP: UDP:
MAC address: MAC address: Data
2 bytes 20 bytes 8 bytes
6 bytes 6 bytes
Communications with the connected device using the predefined protocol function are performed with the
following procedure (communication types). For the operations of each communication type, refer to Page 382,
Appendix 8.1.
119
11.3 Packet Elements
This element is used when a specific code or character string such as a command exists in a packet.
• When sending: The specified code and character string are sent.
• When receiving: Receive data are verified.
Multiple Static Data elements can be placed anywhere in the data part.
The following table lists the items.
120
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
(2) Length
11
This element is used when an element indicating the data length is included in a packet.
• When sending: The data length of the specified range is calculated and the result is added to a send packet.
• When receiving: The data (setting value) corresponds to the Length in the receive data is verified as the data
length of the specified range.
Length elements can be placed anywhere in the data part.
The following table lists the items.
121
● Multiple Length elements can be placed in a packet.
● When there is no element other than a Length element, an element error occurs.
(To use a Length element, one or more element(s) other than Length is/are required.)
● When the number of digits of calculation result is greater than that specified in "Data Length", digits greater than the
specified digit are omitted (ignored).
For example, if the data length is 2 bytes and the data size calculation results are "123" bytes, the data length will be "23".
● When a Non-conversion Variable (Variable length) or Non-verified Reception (Variable number of characters) is placed
behind a Length and is not included in the Length calculating range, place Static Data immediate after the Non-
conversion Variable or Non-verified Reception.
● When "Code Type" is "ASCII Hexadecimal", a corresponding packet is regarded as a mismatch packet if a string except
for "0" to "9", "A" to "F", and "a" to "f" is received.
● When sending data converted to ASCII characters, use "0" to "9" or "A" to "F".
● When multiple Length elements are placed, the calculating range cannot be set as follows:
• A Length calculating range overlaps the others.
• The calculating range of a Length is greater than that of the Length placed before.
● Length element cannot be placed at the end of the packet elements.
122
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
11
This element is used to send data in the device memory of a CPU module or buffer memory as a part of a send
packet, or to store a part of a receive packet to the device memory of a CPU module device or buffer memory.
The following table lists the items.
Item Description
Element Name Set name of the element.
Fixed Length Sends and receives the data whose length is fixed.
When sending: The data length at the time of the protocol execution is
Fixed Length/Variable Length
Variable Length specified and the data is sent.
When receiving: The data of which the length is variable is received.
Set the length of data to be sent and received.
When sending: When "Enable" is selected, data in the upper byte and lower
byte are swapped by word (2 bytes) and sent.
When "Unit of Stored Data" is "Lower Byte + Upper Byte" and "Data
Length" is an odd number of bytes, the upper byte is sent at transmission
of the last byte.
When "Unit of Stored Data" is "Lower Bytes Only" and "Data Length" is
an odd number of bytes, data without any byte swap is sent at
Byte Swap Disable/Enable transmission of the last byte.
When receiving: When "Enable" is selected, data in the upper byte and lower
byte are swapped by word (2 bytes) and sent.
When "Unit of Stored Data" is "Lower Byte + Upper Byte" and "Data
Length" is an odd number of bytes, the last byte is stored to the upper
byte.
When "Unit of Stored Data" is "Lower Bytes Only" and "Data Length" is
an odd number of bytes, the last byte is stored without any byte swap.
123
Item Description
Specify a start device to store variable value.
Available devices are as follows:
• Internal user*1*2
Input relay (X)
Output relay (Y)
Internal relay (M)
Latch relay (L)
Data Storage Area Link relay (B)
Specification Data register (D)
Link register (W)
• File register*2
File register (R, ZR)
• Buffer memory
G device (G) (Send/receive area for predefined protocol support function (address: 4800H to 4FFFH))
*1: Do not set local devices.
*2: Set within the device range specified in the "Device" window of PLC Parameter.
+0
+n
124
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
+n
125
(4) Non-verified Reception
126
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
Communications using the predefined protocol can be executed when Predefined protocol ready (X1D) is on.
This section describes the operations of Predefined protocol ready (X1D).
11
(1) When the power supply is on or reset
The E71 checks the written protocol setting data when the power supply is on or reset.
If the protocol setting data is set correctly, the E71 turns on Predefined protocol ready (X1D) then the protocols
can be executed.
Predefined protocol ready (X1D) is used as an interlock signal when the protocols are executed.
If an error has occurred in the protocol setting data, Predefined protocol ready (X1D) stays off and the error
details are stored to the protocol setting data check area (address: 5320H to 533FH).
If no protocol setting data has been set, the E71 does not check the data and Predefined protocol ready (X1D)
stays off.
The information about whether protocol setting data has been registered can be checked in Number of registered
protocols (address: 5328H) and Protocol registration (address: 5330H to 533FH).
Power on/reset
Check result normal
127
(b) If an error has occurred in the protocol setting data
Power on/reset
Check result error
Checking the
E71
protocol setting data
Start to write
the protocol setting data.
Check result normal
128
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
Start to write
the protocol setting data.
Check result error
129
11.5 Example of Predefined Protocol Communications
This section describes an example of communications using the predefined protocol under the following system
configuration.
QCPU-1 QCPU-2
GX Works2
(192.0.1.100) (192.0.1.101)
Ethernet
130
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
131
(c) Open setting
The following is an example of the open setting.
132
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
[Protocol Setting]
11
[Packet Setting]
• Send Packet (Request)
133
• Receive Packet (Normal response)
134
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
11
135
(c) Open setting
136
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
The following is a program example that specifies Connection No.1 and executes a protocol by using the ECPRTCL
instruction.
137
<<Program for predefined protocol communications>>
138
11
139
CHAPTER 11 DATA COMMUNICATIONS USING THE PREDEFINED PROTOCOL
<<Close process program>>
140
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12.1 Applications
12
In communications using a fixed buffer, a programmable controller can actively send data; therefore, data can be sent
from the programmable controller to the host system when an error occurs in machine equipment or some other
conditions are satisfied. A maximum of 1K word of data can be sent or received between programmable controllers or
between a programmable controller and the host system.
There are two control methods for communications using a fixed buffer; "Procedure Exist" control method and "No
Procedure" control method. This section describes the differences between the "Procedure Exist" and "No Procedure"
control methods.
12.1.1 Differences between the "Procedure Exist" and "No Procedure" control methods
12.1 Applications
Difference
Item
Procedure Exist No Procedure
Data is sent/received in the message format of the
Message format Data is sent/received in a fixed data format.
connected device.
A response to data receiving A response to data receiving is sent. A response to data receiving is not sent.
Communications can be performed using a Communications are performed using only a binary
Data code
binary code or ASCII code. code.
Data length specified using a
Specified by the number of words. Specified by the number of bytes.
dedicated instruction
Amount of application data per
Maximum of 1017 words Maximum of 2046 bytes
communication
A connection with a connected device is dedicated for "No Procedure" communications using a fixed buffer. MC protocol
communications and "Procedure Exist" communications using a fixed buffer and random access buffer cannot be performed
at the same time as "No Procedure" communications using a fixed buffer.
141
12.2 Communication Structure
When the "Procedure Exist" control method is used, the CPU module and the connected device communicate on
a 1:1 basis. The CPU module sends/receives data to/from the connected device while handshaking with the
connected device.
When the "No Procedure" control method is used, the CPU module sends/receives data to/from the connected
device in a non-procedural manner.
E71
Fixed buffer
BUFSND instruction No.1
No.2
No.3
BUFRCV instruction No.4
CPU module
Connected device
No.16
When using each fixed buffer (numbers 1 to 16) as shown in the figure below, set the destination devices and
usage conditions (e.g. for sending/receiving and "Procedure Exist"/"No Procedure") in the open setting to fix a
connected device to each buffer.
Connected device 8
Connected device 28
142
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
● When changing connected devices, do not use the pairing open or alive check function.
● When "No Procedure" is selected for a connection, the connection is dedicated to "No Procedure" communications using
a fixed buffer after the open process is completed. When "Procedure Exist" is selected for a connection, the following
data communications can be performed after the open process is completed.
• MC protocol communications 12
• Communications using a fixed buffer using the "Procedure Exist" control method
• Communications using a random access buffer
5FH and 5038H to 506FH) corresponding to the fixed buffer number n.*1
*1 In case of the TCP/IP Unpassive open, data is sent to or received from a connected device stored in the connection
information area of the buffer memory.
When received data is stored in the corresponding fixed buffer in the receive process of broadcast communications, an E71
updates the destination IP address and port number in Connection information area (address: 78H to C7H and 5820H to
586FH) corresponding to the fixed buffer number n.
143
12.3 Data Sending Procedure
This section describes how an E71 sends data to the connected device.
BUFSND instruction 3
BUFSND instruction 6
completion device 1 scan
BUFSND instruction
completion device + 1
Sending data
Response
ACK ACK
(TCP only) (TCP only)
4 5
1 Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
2 Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 1.
3 Execute the BUFSND instruction. (The data is sent.)
4 The send data in the fixed buffer number 1 is sent to the connected device by the send data length.
5 When the connected device receives the data from the E71, the connected device sends a response to the E71.
6 When the E71 receives the response from the connected device, the E71 stops sending data. If a response is not
sent within the response monitoring timer value, a data send error occurs.*1
After the data send process abnormally ends, execute the BUFSND instruction again to repeat the send process.
*1 Refer to the section describing the initial setting when adjusting the monitoring timer value. ( Page 356, Appendix
4.1)
● The items configured in the open setting become enabled when Open completion signal of an E71 is started up.
● Do not send data (command) before data communications are completed (or a response is received) in response to the
previous data (command).
● When an E71 communicates data with multiple connected devices, data can be sent sequentially; however, switching the
connected devices before sending/receiving data is recommended to prevent communication problems. When a
connection opened using the UDP/IP protocol is used, change the setting values in the communication address setting
area before sending or receiving data to switch the connected devices.
144
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
(2) No procedure
The following is the data send process performed in the fixed buffer number 1 area for the connection number 1.
1
Initial normal completion
signal X19
12
2
Open completion signal
(address: 5000H [b0])
BUFSND instruction 3
BUFSND instruction 5
completion device
1 scan
BUFSND instruction
completion device + 1
Sending data
ACK
(TCP only)
During UDP/IP communications, when the internal process of an E71 is normally completed, the data send process ends
even if the communication line between a CPU module and the connected device is not connected due to cable
disconnection or other causes. It is recommended to set an original communication procedure to send/receive data.
145
12.4 Data Receiving Procedure
This section describes how an E71 receives data from the connected device. The following methods for receiving data
are offered:
• Data receiving using the main program (BUFRCV instruction)
• Data receiving using an interrupt program (BUFRCVS instruction)
A receive process in the main program is performed using the BUFRCV instruction.
BUFRCV instruction 4
BUFRCV instruction 6
completion device 1 scan
BUFRCV instruction
completion device + 1
ACK ACK
(TCP only) (TCP only)
3 5
1 Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
2 Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 1.
3 Receive data from the destination.
• Fixed buffer reception status signal (address: 5005H (b0)): ON
4 Execute the BUFRCV instruction to read the receive data length and receive data from the fixed buffer number 1.
• Fixed buffer reception status signal (address: 5005H (b0)): OFF
5 When the receive data length and the receive data are completely read out, a response is sent to the destination.
6 End the receive process. If the data receive process is abnormally ended, execute the BUFRCV instruction again
to repeat the receive process.
146
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
● The items configured in the open setting become enabled when Open completion signal of an E71 is started up.
● When the buffer memory area that stores Fixed buffer reception status signal is turned off and on, execute the BUFRCV
instruction.
● When abnormal data is received, Fixed buffer reception status signal does not turn on. In addition, data is not stored in
the fixed buffer number 1 area.
(2) No procedure
The following is the receive process performed in the fixed buffer number 1 area for the connection number 1.
Initial process Open process Receiving data
12
1
Initial normal completion
signal X19
2
Open completion signal
(address: 5000H [b0])
BUFRCV instruction 4
BUFRCV instruction 5
completion device
1 scan
BUFRCV instruction
completion device + 1
ACK
(TCP only)
147
1 Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
2 Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 1.
3 Receive data from the connected device.
• Fixed buffer reception status signal (address: 5005H (b0)): ON
4 Execute the BUFRCV instruction to read the receive data length and receive data from the fixed buffer number 1.
• Fixed buffer reception status signal (address: 5005H (b0)): OFF
5 End the receive process. If the data receive process is abnormally ended, execute the BUFRCV instruction again
to repeat the receive process.
● The items configured in the open setting become enabled when Open completion signal of an E71 is started up.
● When the buffer memory area that stores Fixed buffer reception status signal is turned off and on, execute the BUFRCV
instruction.
● When abnormal data is received, Fixed buffer reception status signal does not turn on. In addition, data is not stored in
the fixed buffer number 1 area.
148
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
A receive process in an interrupt program is performed using the BUFRCVS instruction. An interrupt program is started
up when data is received from a connected device, and receive data for a CPU module can be read.
The following settings are required to use an interrupt program: ( Page 152, Section 12.5.1)
• Interrupt pointer setting
• Interrupt settings
Initial Open
process process Receiving data Sending a response
BUFRCVS instruction 4
In interrupt process 6
Response
ACK ACK
(TCP only) (TCP only)
3 5
Cycle Cycle
1 Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
2 Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 2.
3 Receive data from the destination.
• Fixed buffer reception status signal (address: 5005H (b1)): ON
• Request the CPU module to start up the interrupt program.
4 The interrupt program starts up. Execute the BUFRCVS instruction to read the receive data length and receive
data from the fixed buffer number 2.
5 When the receive data length and the receive data are completely read out, a response is sent to the
destination.*1
6 End the interrupt program to restart the main program.
*1 If the data receive process is abnormally ended, the E71 does not return a response.
149
(2) No procedure
The following is the receive process performed in the fixed buffer number 2 area for the connection number 2.
Initial Open
process process Receiving data
BUFRCVS instruction 4
In interrupt process 5
Receiving data
ACK
(TCP only)
Cycle Cycle
1 Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
2 Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 1.
3 Receive data from the destination.
• Request the CPU module to start up the interrupt program.
4 The interrupt program starts up. Execute the BUFRCVS instruction to read the receive data length and receive
data from the fixed buffer number 1.
5 End the interrupt program to restart the main program.
150
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
Select whether or not to use the alive check function. ( Page 236,
Section 14.8) • No Confirm
Existence Confirmation
Select "No Confirm" to send data by broadcast communications during "No • Confirm
Procedure" communications using a fixed buffer.
151
12.5.1 Parameter setting when using an interrupt program
Control <Program>
Connection No.1
number Interrupt
Connection No.2 interrupt pointer Ixx
(SI) No. (Ixx) Z.BUFRCVS
Setting Setting
of (2) 0 of (1) 50
to
to
15 255
Connection No.16
152
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
*1 Do not set the same interrupt (SI) numbers as those to be set for an interrupt of other communications using a fixed
buffer or the RECV instruction.
Interrupt (SI) numbers can be assigned by the user to receive up to 16 communications using a fixed buffer and
communications using the RECV instruction in an interrupt program. The user must manage the interrupt (SI) numbers
assigned for receiving data.
153
12.6 Data Format
12.6.1 Header
The header for TCP/IP or UDP/IP is used. Because an E71 automatically adds and deletes a header, the user setting
is not required.
(a) TCP/IP
Ethernet IP TCP
(14 bytes) (20 bytes) (20 bytes)
(b) UDP/IP
Ethernet IP UDP
(14 bytes) (20 bytes) (8 bytes)
154
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
(a) Format
• Communications using a binary code
1 byte 1 byte
Maximum of
4 bytes 4 bytes 1016 words
2 bytes 2 bytes
155
(b) Subheader
Because an E71 automatically adds and deletes a header, the user setting is not required.
Command Response
b7 to b0 b7 to b0
0 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0
b7 to b0 b7 to b0
0 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0
"6" 6H "0" 0H "E" EH "0" 0H
156
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
Command format
60H 00H (L) (H) (L) (H) (L) (H) (L) (H) (L) (H)
Subheader
Data specifying/
storing device for sending/
receiving instructions 12
Data length
n setting
1 word (2 bytes)
Subheader
Data specifying/
storing device for sending/
ASCII-binary conversion
receiving instructions
n Data length
setting
n+1 (H) (L)
157
(e) End codes
An error code is stored in the end code added to a response. For the error codes, refer to the error code list.
( Page 312, Section 16.6.1)
End codes are stored in the complete status area (in the control data) of the BUFSND and BUFRCV
instructions, as well as the communication status storage area of the buffer memory.
If an error code related to MC protocol communications or communications using a random access buffer is stored during
communications using a fixed buffer, it may be caused by the following.
Cause Action
The data length value specified in the application data of the Specify the actual text data size for the data length in the
message sent from a connected device to the E71 is different application data.
from the actual text data size. (Refer to "Remark" in this page.)
The subheader of the message sent from a connected
Correct the subheader specified in the application data.
device to the E71 is incorrect.
158
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
Remark
Depending on the restrictions of the buffers of the own station and destination station, data may be divided for
communications. Data received separately is restored (reassembled) by the E71 for communications. The received data is
restored (reassembled) based on the data length in the communication data. The E71 performs the following processes if
data in the communication data is incorrect.
● If the data length specified immediately after the subheader is smaller than the amount of text data received
1) The data immediately after the text data equivalent to the data length specified immediately after the subheader is
regarded as the next message.
2) Because the header of each message is a subheader, an E71 processes data according to the code in the subheader.
3) If the subheader contains a code that is not recognized by an E71, the E71 sends a response notifying about an
abnormal end to the connected device.
12
Data sent from the connected device Data processed by the E71
(1st data) (2nd data)
Subheader Subheader
In the figure above, the E71 returns a response containing a code obtained by changing the most significant bit of the
code processed as a subheader to 1. For example, if the subheader of a command is 65H, the subheader of the response
is E5H.
● If the data length specified immediately after the subheader is larger than the amount of text data received
1) The E71 waits for the remaining data.
2) When the remaining data is received within the response monitoring timer value, the E71 processes data according to
the code in the subheader.
3) If the remaining data could not be received within the response monitoring timer value, the E71 performs the following
processes.
• Sends the ABORT (RST) instruction to the connected device and closes the line.
• Notifies the CPU module that an open error has occurred by turning on Open abnormal detection signal (X18)
• Stores the error code in the open error code storage area. (The error code is not stored in the error log storage
area.)
Text (command)
In communications in the "No Procedure" control method, a subheader or data length setting is not added unlike the
"Procedure Exist" control method; therefore, all data are handled as a valid text. In addition, the E71 turns on Fixed buffer
reception status signal after storing the size of the received message (packet) in the data length storage area. It is
recommended to set a checking method. For example, include data length and a data type code in the application data of a
message so that the number of bytes and data type of the application data can be identified on the receiving side.
159
12.7 Pairing Open
Pairing open is an opening method that connects the own station with the connected device using only one port by
pairing the receive and send connections for communications using a fixed buffer.
12.7.1 Applications
Enabling the pairing open allows data communications to be performed with two connections by performing the open
process for one port. MC protocol communications and communications using a random access buffer can be also
performed using paring-opened connections.
● Connected devices where communications can be performed using the pairing open method are those in Ethernet where
an E71 is connected and those connected using the router relay function.
● The open/close processes in the receive connection where the pairing open has been enabled automatically perform the
open/close processes in the next connection (send connection).
160
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
*1 When "Enable" has been set in "Pairing Open" for a send connection, the following window appears.
Because the fixed buffer of the connection with the connected device (dedicated for receiving) and the fixed buffer of the
next connection (dedicated for sending) are paired, set connection numbers 1 to 7 and 9 to 15 as receive connections.
(Connection numbers 8 and 16 cannot be set.)
161
12.8 Broadcast Communications
Broadcast communications mean that the same data is sent to all E71-mounted stations in the same Ethernet network
and to the connected devices without specifying destinations. Broadcast communications can be performed when the
following conditions are met.
• When UDP/IP protocol is used
• When "No Procedure" communications using a fixed buffer or data communications using the predefined
protocol are performed
● When connected devices in the same Ethernet network do not need to receive communication messages by broadcast
communications, a discarding process is required.
● The user needs to determine the port numbers dedicated for data sending/receiving for broadcast communications.
● Sending/receiving procedures to perform the broadcast communications in communications using the predefined
protocol are same as that in communications using a fixed buffer except for setting "Predefined protocol" under “Fixed
Buffer Communication” of the open setting.
162
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
Remark
The following is the outline of the internal process of an E71 when data is received in the "No Procedure" control method or
by broadcast communications. (The values specified in the buffer memory addresses 0H, 1H and 28H to 5FH are used for the
IP addresses and port numbers of the E71 in the own station as well as those of connected devices.)
Data received
YES
Is Destination
IP address FFFFFFFFH? NO*1
(Simultaneous Broadcast)
Is Destination NO
YES IP address the same as that of the receive
(Simultaneous Broadcast) data request source?
NO
Is Destination Port No. FFFFH?
Is Destination NO
YES Port No. the same as that of the receive
(Simultaneous Broadcast) data request source?
YES
Fixed buffer reception status signal (address: The received data is ignored (discarded)
5005H) turns on.) because it has not been sent to the own station.
*1 When all the bits of the area expressing the host address of the IP address of the receive data request destination are 1,
proceed to "YES".
163
12.8.2 Parameter setting
164
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
165
12.8.3 Precautions
Remark
An E71 temporarily stores a subsequent receive data in its internal buffer for the operating system until the current receive
process is completed. If data with a size exceeding the capacity of the internal buffer (approximately 40KB) is received by
broadcast communications, the data is discarded. In communications using a fixed buffer in the "Procedure Exist" control
method, the E71 sends a command message to the connected device, waits for a response message, then sends the next
command message. Therefore, the user need not take account of the above-mentioned internal buffer for the operating
system.
166
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
This section describes an example of communications using a fixed buffer in the "Procedure Exist" control method
between an E71 and the connected device.
Ethernet
167
(b) Ethernet operation setting
The following is an example of the Ethernet operation setting.
168
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
169
(c) Open setting
The following is an example of the open setting.
170
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12.9.3 Program
1. Set each parameter on a programming tool and write the set parameters to the CPU module.
Then reset the CPU module and confirm that the initial process is completed. 12
2. Perform the open process (Active open) of the connection number 1.
3. Perform communications using a fixed buffer from the CPU module using the BUFSND
instruction.
4. After the data is sent, perform the close process of the connection number 1.
1. Set each parameter on a programming tool and write the set parameters to the CPU
module. Then reset the CPU module and confirm that the initial process is completed.
When the initial process is normally completed, the connection number 1 waits for an
Active open request from the connected device.
2. Perform communications using a fixed buffer from the CPU module using the BUFRCV
instruction.
3.
12.9.3 Program
12.9 Example of Communications Using a Fixed Buffer
Data received in the corresponding fixed buffer data area in the E71 is read to the CPU
module.
171
(2) Sample program
172
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
12.9.3 Program
12.9 Example of Communications Using a Fixed Buffer
Process upon abnormal end
173
<<Close processing program>>
174
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
\
12.9.3 Program
12.9 Example of Communications Using a Fixed Buffer
Process upon abnormal end
● Secure sufficient device areas according to the maximum length of data sent from the send source to prevent the device
areas used for other purposes from being overwritten by the receive data.
● To receive data at shorter intervals than the scan time of the CPU module, add the normally closed contact for the
completion device (M500) of the BUFRCV instruction to the execution conditions of the BUFRCV instruction as shown in
the above program. When there is no normally closed contact for the completion device (M500), the receive direction
(M5001) of the BUFRCV instruction is not turned off and on and the BUFRCV instruction may not be executed.
175
CHAPTER 13 COMMUNICATIONS USING A
RANDOM ACCESS BUFFER
13.1 Applications
In communications using a random access buffer, data can be freely read from and written to any connected device
(not including an E71). A random access buffer is used as a common buffer area for all the connected devices in the
Ethernet network.
E71
Connected Connected
device Reading Reading device
Writing Reading
Connected
device
Data communications (sending/receiving) by e-mail using a CPU module cannot be used together with communications
using a random access buffer. Only one of the functions can be used at one time. (The e-mail sending function using the E71
programmable controller CPU monitoring function can be used together with communications using a random access
buffer.)
176
CHAPTER 13 COMMUNICATIONS USING A RANDOM ACCESS BUFFER
This section describes the structure of communications using a random access buffer.
E71
Writing data
13
CPU module Random
access Read request Connected
buffer device
Reading data
● Communications can be performed only with connected devices where communications using a fixed buffer in the
"Procedure Exist" control method are set using the connection with Open completion signal of an E71 on.
● Communications are performed asynchronously with the program. If synchronization is required, use communications
using a fixed buffer.
177
13.2.1 How data is read from a connected device
The following figure shows how an E71 sends data in response to a read request sent from a connected device.
1 Write data in the random access buffer of the E71 using the TO instruction.
2 Asynchronously with the process 1 above, the connected device sends a read request to the E71. (The
E71 side: command receiving)
3 Upon receiving the read request from the connected device, the E71 sends the data written in the random
access buffer to the connected device that sent the read request. (The E71 side: response sending)
The following figure shows how a connected device writes data to the E71 random access buffer.
1 The connected device writes data to the random access buffer of the E71. (The E71 side: command
receiving)
2 The E71 processes the write request from the connected device and returns the writing result to the
connected device that sent the write request. (The E71 side: response sending)
3 Asynchronously with the processes 1 and 2 above, the data written in the random access buffer is read
using the FROM instruction.
178
CHAPTER 13
Set the following parameters to perform communications using a random access buffer.
• Basic setting ( Page 86, Section 7.1.2)
• Ethernet operation setting ( Page 87, Section 7.1.3)
• Open setting ( Page 89, Section 7.1.4)
13
179
13.4 Data Format
13.4.1 Header
The header for TCP/IP or UDP/IP is used. Because an E71 automatically adds and deletes a header, the user setting
is not required.
(a) TCP/IP
Ethernet IP TCP
(14 bytes) (20 bytes) (20 bytes)
(b) UDP/IP
Ethernet IP UDP
(14 bytes) (20 bytes) (8 bytes)
In the application data for communications with the "Procedure Exist" control method, the following data code is
expressed in a binary code or an ASCII code. To switch between a binary code and an ASCII code, use the Ethernet
operation setting.
180
CHAPTER 13
(1) Format
• Communications using a binary code
Maximum of
2 bytes 2 bytes 2 bytes 1017 words
Text
Communication Data length (command)
Subheader Start address
request setting (none at read
source H 00H L H L H request)
Text
Communication (response)
Subheader End code
request (none at write
13
destination request)
Maximum of
4 bytes 4 bytes 4 bytes 1016 words
Text
Data length (command)
Communication Subheader Start address
setting (none at read
request source
request)
181
(2) Subheader
Because an E71 automatically adds and deletes a header, the user setting is not required.
b7 b6 b5 b4 b3 b2 b1 b0
1 1 0 0 0 0 1 00H
Command/response type
(When communications are performed using the random access
buffer, this format is used.)
For data reading: 61H
For data writing: 62H
Command/response flag
For command: 0
For response: 1
Command (from the connected device to the E71) Response (from the E71 to the connected device)
b7 to b0 b7 to b0
0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1
b7 to b0 b7 to b0
0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1
"6" 6H "1" 1H "E" EH "1" 1H
182
CHAPTER 13
L H
2 bytes
H - - L
4 bytes
2 bytes
H - - L
4 bytes
183
(5) Text
Text is a data written to and read from a random access buffer.
Random access
buffer
Specified n (H) (L)
address
n+1 (H) (L)
n + set number of
(H) (L)
words to be read
1 word (2 bytes)
ASCII-binary conversion
Random access
buffer
Specified
n (H) (L)
address
n+1 (H) (L)
n + set number of
words to be read (H) (L)
(Maximum of 508 words)
Ex.
(H) (L)
n 12H 34H
184
CHAPTER 13
(1) Writing data to a random access buffer upon a write request from a connected
13
device
3E7FH(15999) 17FFH(6143)
185
(b) Communications using an ASCII code
• Command format (from the connected device to the E71)
ASCII-binary conversion
(10 words)
3E7FH(15999) 17FFH(6143)
186
CHAPTER 13
(2) Reading data from a random access buffer upon a read request from a
connected device
(10 words)
3E7FH(15999) 17FFH(6143)
187
(b) Communications using an ASCII code
• Command format (from the connected device to the E71)
ASCII-binary conversion
(10 words)
3E7FH(15999) 17FFH(6143)
188
CHAPTER 13
This section describes the precautions when creating programs for communications using a random access buffer.
13
(3) Random access buffer address
The address specified by the connected device and the address specified using the FROM/TO instructions are
different. For details, refer to the physical and logical addresses of a random access buffer. ( Page 189,
Section 13.6)
This section describes the start address of the E71 random access buffer (without battery backup), which is specified
in commands.
Fixed buffer
Random access
buffer
3E7FH(15999) 17FFH(6143)
189
13.7 Example of Communications Using a Random Access
Buffer
The following figure shows an example of a write operation from a connected device.
Connected
CPU module E71 device
Random access buffer
Device memory
R20000 11710
11719
R20009 11720 1 1
1 The receive completion flag is provided at the end of the received data.
2 The receive completion flag is monitored.
3 When the receive completion flag turns on, the data is transmitted from the random access buffer to the CPU
module.
190
CHAPTER 14 OTHER FUNCTIONS
14.1.1 Applications
This function allows the E71 to communicate with connected devices on other Ethernet networks via a router and
14
gateway. This function does not allow the E71 to operate as a router. One default router and up to eight routers can be
set.
14.1.1 Applications
14.1 Router Relay Function
Select "Ethernet" under "Network Type". "Operation Setting"
191
Item Description Setting range
Router Relay Function Select whether to use the router relay function. Not Used/Use
Subnet Mask Pattern Refer to (1) in this section. C0000000H to FFFFFFFCH
Class B FFFF0000H
Class C FFFFFF00H
Ex. Class B
Network address
● All devices on the same subnetwork must have the common subnet mask.
● When not managed by the subnetwork, the connected devices need not have subnet masks. (Set the network address of
the corresponding class.)
192
CHAPTER 14 OTHER FUNCTIONS
If the corresponding subnet address does not exist in the router information when the connection is opened or data
communications are performed, communications are performed via the default router.
*1 If the class (network address) of the E71 on the own station differs from that of the connected device, set the network
address of the connected device.
*2 If the class (network address) of the E71 on the own station is the same as that of the connected device, set the subnet
address of the connected device.
193
Ex. When the network addresses differ between the E71 on the own station and the connected device
Network address
Ex. When the classes differ between the E71 on the own station and the connected device
Network address
Ex. When the network address of the E71 on the own station is the same as that of the connected device
Network address
194
CHAPTER 14 OTHER FUNCTIONS
● When the E71 communicates with the connected devices via a router in Passive open status, communications can be
performed without using the router relay function.
● The router relay function is not needed in a system that uses the Proxy router.
14
195
14.2 Communications Using an Auto-open UDP Port
14.2.1 Application
The auto-open UDP port is a UDP/IP port that automatically opens and closes at the following timing. Using this port
makes the E71 ready for communications upon completion of an initial process, thus enabling communications without
using any programs regardless of the open status of connection numbers 1 to 16.
● The E71 enables communications using an auto-open UDP port after the initial process is normally completed, and the
E71 on the own station waits for communication requests to itself (auto open).
● The E71 accepts requests from anywhere as long as they are addressed to the E71 itself.
● When a communication request is accepted from the connected device, the corresponding port number is occupied until
the process is completed. Even if the next communication request is accepted during this time, the communication
process will be waited.
● To change the auto-open UDP port number, a reinitialization process is required. ( Page 356, Appendix 4)
196
CHAPTER 14 OTHER FUNCTIONS
14.3.1 Application
This function identifies the IP address of the access source, and prevents unauthorized access performed by IP
address specification.
The IP address of the connected device to be allowed or denied access is set in the buffer memory, and access from
connected devices is restricted.
Use of this function is recommended when using the E71 in an environment connected to a LAN line.
Ethernet
14
External device
Access permitted IP address: 192.168.1.2
E71
14.3.1 Application
14.3 IP Filter Function
Access prohibited
External device
IP address: 192.168.1.5
Remark
When a network other than Ethernet is used as the communication path, access cannot be restricted.
The IP filter function is one method of preventing unauthorized access (such as program or data destruction) from external
devices. However, this function does not guarantee prevention of all unauthorized access. To have the programmable
controller system fully secured against unauthorized access from the external devices, take additional measures. Mitsubishi
Electric Corporation does not hold any responsibility for any system problems caused by unauthorized access.
The following are examples of measures against unauthorized access.
• Install a firewall.
• Install a personal computer as a relay station and control the relay of communication data using an application
program.
• Install an external device for which the access rights can be controlled as a relay station (Contact the network
provider or equipment dealer for details on the external devices for which access rights can be controlled.)
197
14.3.2 Setting method
• When a connected device accesses the E71 before the completion of reinitialization process, the access cannot
be denied because the IP filter is not yet enabled.
• The values stored in IP filter monitoring area (address: 5722H to 5725H) are cleared when the reinitialization
process completes.
• Even if the connection is established as set with the open setting of E71 or the program, access from the
connected device is either allowed or denied following IP address settings. Therefore, if the IP address set in the
open setting of E71 is set to be denied with the IP filter settings, the IP filter function is enabled and
communication with the connected device is denied.
• When the UINI instruction is executed with the IP filter settings written in the buffer memory (address: 5700H to
5721H), IP filter settings are applied as in the case of reinitialization process by the buffer memory. When using
the UINI instruction, check the setting values in IP filter settings (address: 5700H to 5721H) before executing the
instruction.
198
CHAPTER 14 OTHER FUNCTIONS
22278 to 22305
IP address setting 2 to 8 The configuration is the same as IP address setting 1.
(5706H to 5721H)
199
Address
Buffer memory name Decimal Description
(Hexadecimal)
The number of times an access is denied by the IP filter function.
• 0H: None (default)
Number of access denied by the IP 22306 to 22307
• 1H to FFFFFFFFH (1 to 4294967295): Number of access denied (When
filter function (5722H to 5723H)
this value exceeds 4294967295, it returns to "1" and starts counting
again.)
The latest IP address denied by the IP filter function is stored.
22308 (5724H): Third octet, fourth octet
IP address denied by the IP filter 22308 to 22309
22309 (5725H): First octet, second octet
function (5724H to 5725H)
• 0H: None (default)
• Other than 0H: IP address denied by the IP filter function
Remark
For example, when the IP address 192.168.3.40 is set to be allowed or denied as the start IP address in IP address setting
1, the stored values in the buffer memory will be as follows.
• 22274 (5702H): 0328H
• 22275 (5703H): C0A8H
200
CHAPTER 14 OTHER FUNCTIONS
The following is a program example that allows access only from the IP addresses 192.168.3.1 to 192.168.3.5. (When
the I/O signals of the E71 are X/Y00 to X/Y1F)
Set "Allow".
201
Process upon completion
Remark
This is a sample program for communications using connection numbers 1 and 2. When using another connection number,
specify the corresponding signals and bits.
14.3.4 Precautions
• If there is a proxy server in the LAN line, deny access from the IP address of the proxy server. If it is allowed,
it will not be possible to prevent access from personal computers that access the proxy server.
• Powering off and on or resetting the CPU module will clear the IP filter settings. When the CPU module is
powered off and on or reset, set the values in the buffer memory (address: 5700H to 5721H) again and
perform the reinitialization process again.
202
CHAPTER 14 OTHER FUNCTIONS
A remote password is one method of preventing unauthorized access (such as program or data destruction) from external
devices. However, this function does not guarantee prevention of all unauthorized access. To have the programmable
controller system fully secured against unauthorized access from the external devices, take additional measures.
Mitsubishi Electric Corporation does not hold any responsibility for any system problems caused by unauthorized access.
The following are examples of measures against unauthorized access.
• Install a firewall.
• Install a personal computer as a relay station and control the relay of communication data using an application
program.
• Install an external device for which the access rights can be controlled as a relay station (Contact the network
provider or equipment dealer for details on the external devices for which access rights can be controlled.)
14.4.1 Application 14
This function allows or prohibits access from connected devices to the CPU module through the following modules.
This prevents remote unauthorized access to the CPU module.
• E71
• Built-in Ethernet port QCPU
• C24
14.4.1 Application
14.4 Remote Password
203
14.4.2 Remote password setting processes (unlock and lock
processes)
This section describes the processes that enable/disable access from the connected devices to the programmable
controller.
204
CHAPTER 14 OTHER FUNCTIONS
This section describes the procedure of the remote password check performed by the E71.
E71
QCPU
3)
Programming tool
QCPU
(*1)
Programming tool
E71
*1 A communication request from the connected device cannot be accepted because a remote password check has been
set. If the remote password check has not been set, the communication request is accepted, and the E71 can
communicate with the connected devices.
(2) Selecting a connection for which the remote password check is performed
A connection for which an entered remote password is checked can be selected using a parameter. ( Page
212, Section 14.4.6)
205
(3) Stations that can be accessed when the remote password check is performed
When the CPU module is protected with a remote password, the stations accessible by the connected device and
the QCPU stations that can perform the remote password unlock/lock processes are limited to those in the same
network. The following shows an example of accessible stations.
Ex. When a remote password has been set in the QCPU on the station 1-1, and the remote password check
has been set in 1) on the station 1-1
Station 1-2 1)
Station A
QCPU E71
Station C Station D
*1 The station A is the only connected device that can perform an unlock/lock process for 1) of the station 1-1.
●: Stations that can be accessed from the connected device after the remote password unlock process,
: Stations that can be accessed from the connected device without performing the remote password unlock process
Station B
Station C
Station D
*2 The station A can access the stations marked with ● after the remote password unlock process is completed for 1) of the
station 1-1. It can access the stations marked with when the communication lines are open. Stations B, C, and D can
access the stations marked with when the communication lines are open.
206
CHAPTER 14 OTHER FUNCTIONS
Ex. When a remote password and the remote password check have been set in multiple QCPU stations
Station 1-2 1)
Station A
QCPU E71
14
Station 2-1 1) Station 2-2 1) 2) Station 3-1 1)
Remote Remote
password password
QCPU E71 check QCPU E71
*1 The following are the connected devices that can perform unlock/lock processes.
•1) of the station 1-1: By the station A only
•1) of the station 2-2: By the station C only
•1) of the station 3-2: By the station D only
Station B × × ×
Station C ● ● ×
Station D ●
*2 The station A can access the stations marked with ● after the remote password unlock process is completed for 1) of the
station 1-1, and can access the stations marked with when the communication lines are open. The station B can
access the stations marked with when the communication lines are open. The station C can access the stations
marked with ● after the remote password unlock process is completed for 1) of the station 2-2, and can access the
stations marked with when the communication lines are open. The station D can access the stations marked with ●
after the remote password unlock process is completed for 1) of the station 3-2, and can access the stations marked with
when the communication lines are open.
To disable access from the connected devices to other stations through CC-Link IE Controller Network, CC-Link IE Field
Network, MELSECNET/H, and MELSECNET/10 relay communication functions, select "MELSOFT Application
Transmission port (UDP/IP), Dedicated Instruction, CC-Link IE, NET10(H) Relay Transmission Port" in the remote password
setting of the relay station or a station to be accessed.
207
14.4.4 Comparison of functions according to the remote password
check status (enabled/disabled)
The following table lists the behavior of the functions according to the remote password check status
(enabled/disabled).
Communications using the predefined After an open process is completed, After an open process is completed,
protocol communications are enabled. communications are enabled.*1
After the remote password is entered,
After an initial process is completed, communications are enabled. The remote
Communications using the predefined
communications are enabled by password lock process is automatically
protocol support function
establishing a connection in GX Works2. performed when the protocol setting data are
closed.
After an open process is completed,
communications are enabled from the time
Procedure exists
Communications that the unlock command is received until the
using a fixed buffer lock command is received.
After an open process is completed, After an open process is completed,
No procedure
communications are enabled. communications are enabled.*1
After an open process is completed,
Communications using a random access communications are enabled from the time
buffer that the unlock command is received until the
lock command is received.
After an initial process is completed, data After an initial process is completed, data
E-mail function
sending and receiving are enabled.*2 sending and receiving are enabled.*2
After the remote password is entered,
communications are enabled. The remote
Web function
password lock process is automatically
After an initial process is completed, performed when the Web browser is closed.
CC-Link IE Controller Network, CC-Link IE communications are enabled.
Field Network, MELSECNET/H, and After an initial process is completed,
MELSECNET/10 relay communications communications are enabled.*3
Communications using data link instructions
208
CHAPTER 14 OTHER FUNCTIONS
14
14.4.4 Comparison of functions according to the remote password check status (enabled/disabled)
14.4 Remote Password
209
14.4.5 Precautions
The precautions for using the remote password function of the E71 are provided below.
Ex. In communications using a fixed buffer, do not set the remote password check for the connections
through which the connected device receives data sent from the CPU module.
(3) Connections where "No Procedure" communications using a fixed buffer are
performed
Do not set a remote password check for connections where "No Procedure" communications using a fixed buffer
are performed. The remote password check is not performed for such connections.
*1 The alive check is automatically performed when the connection for data communications through the auto-open UDP
port is set as the target for the remote password check.
210
CHAPTER 14 OTHER FUNCTIONS
*1 This is the number of times stored in Remote password mismatch notification accumulated count designation (address:
5070H and 5071H) by the CPU module (using an instruction such as the TO instruction) when the E71 starts up.
In the above case, identify the connection where the unlock/lock process has failed using the following buffer
memory areas. 14
• Accumulated count of unlock process abnormal end (address of Connection No.1: 5073H)
• Accumulated count of lock process abnormal end (address of Connection No.1: 5075H)
14.4.5 Precautions
14.4 Remote Password
notification accumulated count.
• If the number of unlock/lock process failures for the connection to the connected device is greater than the
above accumulated notification count, the possible cause is unauthorized access from the connected
device. Disable the connection using the buffer memory area, System port use prohibited designation area
(address: 5008H) (After this, the unlock process cannot be performed for the connection until "Use
allowed" is set.)
• Inform the system manager that the number of unlock/lock process failures is greater than the
accumulated notification count, and take corrective actions.
● For the method to turn off the COM.ERR. LED, refer to the method using the Ethernet diagnostics. ( Page 342,
Section 16.8)
● The accumulated counts stored in the following buffer memory areas can be cleared.
• Accumulated count of unlock process abnormal end (address of Connection No.1: 5072H)
• Accumulated count of lock process abnormal end (address of Connection No.1: 5074H)
211
14.4.6 Parameter settings
212
CHAPTER 14 OTHER FUNCTIONS
The current connection status and transmission speed of an E71 and a hub and the number of times that the E71
detected disconnection can be checked using the following buffer memory areas. For details on buffer memory areas,
refer to the list of buffer memory addresses. ( Page 38, Section 3.5.2)
This function is available only for the QJ71E71-100.
If an error has occurred 65536 times or more, the count stops at 65535 (FFFFH). Write "0" to this area using a program to
clear the stored value.
213
14.6 IP Address in Use Detection Function
If different stations in the same network use the same IP address, the address in use can be detected. This prevents a
network from stopping due to incorrect IP address.
This function is available only in the QJ71E71-100 with the serial number (first five digits) of "12062" or later. When the
connected device with the same IP address does not support the IP address in use detection function, the error is not
detected.
Buffer memory
Buffer memory area Description
address
Destination IP address (stored in the station with the same IP 234 (EAH) The third and fourth octets of the IP address
address connected to the network later.) 235 (EBH) The first and second octets of the IP address
The MAC address of the station that has 21121 (5281H) The fifth and sixth octets of the MAC address
been already connected to the network
21122 (5282H) The third and fourth octets of the MAC address
(stored in the station with the same IP
IP address status address connected to the network later). 21123 (5283H) The first and second octets of the MAC address
storage area The MAC address of the station with the 21124 (5284H) The fifth and sixth octets of the MAC address
same IP address connected to the network 21125 (5285H) The third and fourth octets of the MAC address
later (stored in the station that has been
already connected to the network). 21126 (5286H) The first and second octets of the MAC address
214
CHAPTER 14 OTHER FUNCTIONS
Remark
When the MAC address of the station that has been already connected to the network is 00.26.92.89.2E.89, the IP address
already in use is 10.97.24.01, and the MAC address of the station connected to the network later is 00.26.92.DE.26.90, the
value stored in each buffer memory area is as follows.
• 234 (EAH): 1801H (the third and fourth octets of the IP address)
• 235 (EBH): 0A61H (the first and second octets of the IP address)
• 21121 (5281H): 2E89H (the fifth and sixth octets of the MAC address)
• 21122 (5282H): 9289H (the third and fourth octets of the MAC address)
• 21123 (5283H): 0026H (the first and second octets of the MAC address)
• 21124 (5284H): 2690H (the fifth and sixth octets of the MAC address)
• 21125 (5285H): 92DEH (the third and fourth octets of the MAC address)
• 21126 (5286H): 0026H (the first and second octets of the MAC address)
215
14.7 Redundant System Function
This section describes functions used when the E71 is mounted on the main base unit in a redundant system.
Remark
When the E71 is mounted on an extension base unit, skip this section.
This function issues a system switching request to the control system CPU module if the E71 mounted with the control
system CPU module in a redundant system detects a communication error or disconnection.
Connected device
A communication
error occurred.
Tracking cable
System switching request
Condition Description
After a connection is opened, the existence of the connected device cannot be
Alive check
Communication error confirmed.
detection An ACK response is not returned from the connected device within the TCP ULP timer
ULP timeout
time.
Disconnection detection The cable connected to the E71 has been disconnected (the QJ71E71-100 only).
In the following cases, system switching is not performed even if the E71 issues a system switching request.
• When the standby system has already been in error status (due to such as power-off, reset operation, and stop
error)
• The network module redundant group settings have been configured for the E71 and either one is operating
normally.
216
CHAPTER 14 OTHER FUNCTIONS
Target connection
User Connection No. Connection 1 to Connection 16
Auto Open UDP Port 14
FTP Transmission Port (TCP/IP)
MELSOFT Application Transmission Port (TCP/IP)
System Connection
MELSOFT Application Transmission Port (UDP/IP), Dedicated Instruction, CC-Link IE,
NET/10(H) Relay Transmission Port
HTTP Port, HTTP Protocol
217
(b) System switching request operation
The E71 monitors communications with the connected device for an error using the alive check function and
TCP ULP timer.
Tracking cable
2. At error detection*1
Connected device If a communication error has occurred between the
connected device and the E71, and the E71 mounted
with the control system CPU module detects an error, a
system switching request is issued to the control system
CPU module.*2
A communication
error occurred.
Tracking cable
System switching request
Tracking cable
218
CHAPTER 14 OTHER FUNCTIONS
*1 The following shows the timing of issuing the system switching request.
• System switching timing when an alive check is used
When the E71 has not communicated with the connected device where a connection is open for a certain
period of time, it performs an alive check. If the E71 cannot receive a response message from the
connected device, it closes the corresponding connection and issues a system switching request to the
control system CPU module. (The following figure shows an example where an alive check message is
resent twice.)
BUFSND instruction
BUFSND instruction
completion device + 1
*2 Set whether to issue the system switching request in the redundant settings of the programming tool. ( Page 223,
Section 14.7.3)
219
(3) Issuing a system switching request upon disconnection detection
The E71 mounted on the control system CPU module monitors the connection status of the cable connected to
the E71, and on detection of disconnection, it issues a system switching request to the control system CPU
module. Disconnection is detected in the following cases.
• Disconnection between the E71 and a hub
• Cable removal from the hub side connector
• Hub power-off
• Cable removal from the E71 side connector
Remark
This function is available for the QJ71E71-100 only.
Connected device
1. Disconnection monitoring
The E71 always monitors the connected cable for
disconnection.*1 The monitoring result is stored to the
buffer memory area, Hub connection status area
(address: C9H).
Disconnected
Tracking cable
Tracking cable
System switching request
220
CHAPTER 14 OTHER FUNCTIONS
Tracking cable
*1 When the cable is not connected from the start, the E71 does not determine it as disconnection. (Disconnection is 14
detected only when normal status turns to abnormal.)
*2 The following shows the timing of issuing the system switching request.
• System switching timing at disconnection detection
The E71 starts disconnection detection after initial process completion. On detection of disconnection, the
E71 performs a disconnection status time check, and when disconnected status continues for the period of
the disconnection detection monitoring time, the E71 issues a system switching request to the control
system CPU module. When the disconnected status returns to normal within the disconnection detection
monitoring time, the E71 does not issue a system switching request.
221
14.7.2 Communication path bypass function
When any of the following redundant system supported applications is used, the path where a communication error
has occurred is automatically bypassed to continue communications if an error occurs in communications with the
E71. The communication path needs not to be changed manually.
• Application that operates on the OPS (except the MELSOFT products such as GX Developer)
• GX Works2
• GX Developer
• PX Developer monitor tool
Tracking cable
222
CHAPTER 14 OTHER FUNCTIONS
This section describes the parameter settings for using the E71 in a redundant system. The following settings are
required:
• Basic setting
• Ethernet operation setting
• Open setting (if necessary) ( Chapter for each function)
• Redundant settings
14
223
(3) Redundant settings
Configure the settings of the system B and issue of a system switching request.
224
CHAPTER 14 OTHER FUNCTIONS
*1 The settings of the auto-open UDP port and MELSOFT application transmission port (UDP) are enabled when the
following conditions are satisfied. When the following conditions are not satisfied, the system switching request is not
issued even if a communication error occurs in the target connection.
• The remote password setting is enabled.
• The remote password is unlocked.
*2 Do not set the connection with any of the following settings as the target connection. If set, the system may be
consecutively switched in the redundant system if a communication error occurs due to cable disconnection or power-off
of the connected device.
• "Initial timing" in the Ethernet operation setting: "Always wait for OPEN (Communication possible at STOP time)"
• "Protocol" in the open setting: "UDP"
• "Existence confirmation" in the open setting: "Confirm"
*3 It is recommended that the connection set to "MELSOFT connection" under "Open system" of the open setting is not set
as the target connection. Doing so may set all the MELSOFT products connected to the network as the target
connections, therefore; the connected device (target MELSOFT product) cannot be specified.
● When using a redundant system in the backup mode, set the mode of the system B same as that of the system A. If the
mode differs between them, an error will occur in the Redundant CPU.
● Configure "Cable disconnection timeout setting" from several seconds to several ten seconds. If the value is shorter than
that, a system switching request may occur due to such as noise.
14
225
14.7.4 Data communications in a redundant system
This section describes data communications using the E71 mounted on the main base unit in a redundant system.
Processes other than those described in this section are the same as those in a single CPU system.
(b) When using a user connection to communicate with the standby system (for MC
protocol communications or communications using a random access buffer)
• Ethernet operation setting
Set "Always wait for OPEN (Communication possible at STOP time)" under "Initial timing".
• Open setting
In TCP/IP communications, set "Unpassive or Fullpassive" under "Open system".
Setting connections for communications with the system A and communications with the system B is recommended. This
facilitates communications with the other system if a communication error has occurred in the own system or when the
system is switched. A maximum of 16 user connections can be registered in the E71.
226
CHAPTER 14 OTHER FUNCTIONS
(a) Operation performed for access to the control system/standby system or the system
A/system B
Ex. When the system is switched (example of access to the control system CPU module)
Connected device
1. Connect the connected device to the E71
QnA-compatible 3E frame mounted with the control system CPU module
Request destination module I/O number:
Access to 03D0H to access the control system CPU module.
the control system Network number: 00H
Personal computer number: FFH
14
Control system (system A) Standby system (system B)
Tracking cable
Connected device
2. When the system is switched, the connected
QnA-compatible 3E frame device automatically continues access to the
Access to the control
Request destination module I/O number:
system is continued
03D0H control system through the tracking cable.
via a tracking cable. Network number: 00H
However, if the communication line with the
Personal computer number: FFH
Tracking cable
Ex. For access to the system that is not the connection destination (example of connection to the control
system and access to the standby system CPU module)
Tracking cable
227
(b) Communication procedure example for access to the control system CPU module in
a redundant system
The following shows a communication procedure example. Place the E71 in open wait status and perform
open/close processes from the connected device.
Is SM1516 OFF
(operating system status) on?
YES YES
YES YES
Is this process repeated? Is this process repeated?
NO NO
Perform the close process to the system A. Perform the close process to the system B.
Perform the close process to the system A. Perform the close process to the system B.
End
228
CHAPTER 14 OTHER FUNCTIONS
Start
Perform the remote STOP to the control system CPU module. A continuation error occurs in the
standby system CPU module.
*1
14
Perform the remote RUN to the standby system CPU module.
End
*1 After writing the parameter file, reset the both CPU modules.
229
(c) When data is sent from the connected device
• When using the "Procedure exist" method
If a response timeout to the E71 occurs, change the connection destination to the other system and send the
data.
• When using the "No procedure" method
Send the same data to both the control system and standby system.
The following shows an example of the sending procedure for sending data to a redundant system using the
"Procedure exist" method.
YES
Did a timeout occur?
NO
YES
Did a timeout occur?
NO
Take care of the following when performing a resend process at system switching.
• When performing communications while synchronizing sending and receiving, system switching may occur during
the communications, and the system may be switched with the sending and receiving not synchronized. To
perform system switching, restart communications after initializing the synchronization for safety.
• After executing the WRITE instruction, execute it again because it is difficult to determine that the instruction has
been completed. However, note that the same instruction may be executed twice.
230
CHAPTER 14 OTHER FUNCTIONS
14
Send an e-mail.
Completion
Abnormal end
231
(c) Using the notification function
Because a notification mail may be sent from both the control system and standby system in either of the
following conditions, perform the process that discards the same e-mail that is received later on the receiving
side personal computer.*1
• The CPU operating status has been set as the notification condition.
• The device data set as the notification condition is being tracked.
*1 By setting the following SM devices as notification conditions, the system mode in the redundant system can be
identified with a notification mail. The devices can be used as conditions for identifying the system having the same
e-mail.
• SM1511 (System A identification flag)
• M1512 (System B identification flag)
• SM1515, SM1516 (operating system status)
Network No.2
Network No.1
Request
destination station
E71
QCPU Station
No.3
232
CHAPTER 14 OTHER FUNCTIONS
If system switching occurs, change the routing parameter settings using the RTWRITE instruction so that the
request source station or relay station accesses the destination through the station of the new control system
after system switching.
Network No.1
Request
destination station
E71 14
QCPU Station
No.3
(8) When the CPU module accesses a programmable controller on another station
using data link instructions
QCPU E71
READ
Channel 3
(Own station)
Device
Device
Tracking cable
233
(b) Process at abnormal end
When a data link instruction is executed for the specified control system CPU module or standby system CPU
module in a redundant system, the data link instruction may result in an error if system switching occurs in the
target station (error codes: 4244H, 4248H). If a data link instruction results in an error with either of the
aforementioned error codes, execute the data link instruction again.
234
CHAPTER 14 OTHER FUNCTIONS
Start
Log in the E71 mounted on the main base unit of the system A CPU module.
Log in the E71 mounted on the main base unit of the system B CPU module.
Perform the remote STOP to the system A CPU module. A continuation error occurs in
Perform the remote STOP to the system B CPU module. the standby system CPU module.
14
Write the file to the system A CPU module.
Write the file to the system B CPU module.
*1
Log out from the E71 mounted on the main base unit of the system A CPU module.
Log out from the E71 mounted on the main base unit of the system B CPU module.
End
*1 After writing the parameter file, reset the both CPU modules.
*2 When the operating status of the control system CPU module is switched from STOP to RUN, check the error status of
the standby system CPU module. If an error has occurred, set the error code (6010H) to SD50 then turn on SM50 to
clear the error.
235
14.8 Alive Check Function
When the E71 has not communicated with the connected device for a certain period of time while the connection is
open, this function checks whether the connected device is alive by sending an alive check message to the connected
device and waiting for the response.
236
CHAPTER 14 OTHER FUNCTIONS
Ex. Assuming that the values*1 are set so that the number of retries may be three, the E71 performs an alive
check at the timing shown in the figure below (an example of alive check using the PING command).
Connection
Open completion signal forced close
(address: 5000H) (error code: C035H)
E71 14
The last Alive check Alive check Alive check
RST sending
communications Alive check resent resent resent
(TCP only)
(1st time) (2nd time) (3rd time)
Destination Destination Destination Destination
Destination existence existence existence existence existence
confirmation starting confirmation confirmation confirmation confirmation
interval timer interval timer interval timer interval timer
interval timer value value value value value
*1 The values of the number of retries and timers can be changed in the initial setting. ( Page 356, Appendix 4.1)
237
CHAPTER 15 DEDICATED INSTRUCTIONS
Dedicated instructions facilitate programming for using intelligent function modules. This chapter describes dedicated
instructions that can be used in the E71.
238
CHAPTER 15 DEDICATED INSTRUCTIONS
239
15.2 Parameter Settings for Using Dedicated Instructions
240
CHAPTER 15 DEDICATED INSTRUCTIONS
The following illustration is for explanation purpose only, and should not be referred to as an actual documentation.
Instruction
name
A device with is
applicable to
the instruction.
15
Descriptions Setting side
of setting data User: A device value is set by the user.
and data type System: A device value is set
by the CPU module.
Any time During on On the rising edge During off On the falling edge
No symbol
241
(2) Available devices
The following devices can be used.
*1 For bit data, a bit-specified word device can be used. For example, Word device.Bit No. is used for the bit
specification of a word device. (The bit number is specified in hexadecimal.)
For example, the bit 10 of D0 is specified by D0.A . However, bit specification cannot be used for timer (T), retentive
timer (ST), and counter (C).
242
CHAPTER 15 DEDICATED INSTRUCTIONS
15.5 ZP.OPEN
This instruction establishes (opens) a connection with the connected device to perform data communications.
Command
ZP.OPEN ZP.OPEN "Un" (S1) (S2) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - -
(S2) - - - - -
(D1) - - - -
*1 If the own station is a Basic model QCPU (function version B or later), Universal model QCPU, or safety CPU, " " (double
15
quotation) of the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
15.5 ZP.OPEN
Setting data Description Set by Data type
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un
of the three-digit I/O number) User 16-bit
*1 For safety CPUs, only connection numbers 1 to 8 can be specified. If the specified value is out of range, "OPERATION
ERROR" (error code: 4101) occurs.
243
(2) Control data
1H to FFFFFFFFH
(S2)+4 Destination IP
Specify the IP address of the connected device. (FFFFFFFFH: User
(S2)+5 address
broadcast)
1H to FFFFH*1
Specify the port number of the connected
(S2)+6 Destination port No. (FFFFH: User
device.
broadcast)
(S2)+7
Destination MAC Specify the MAC address of the connected 000000000000H to
(S2)+8 User
address device. FFFFFFFFFFFFH
(S2)+9
*1 The range of 1H to 400H is available only for the QJ71E71-100 with the serial number (first five digits) of "15042" or later.
244
CHAPTER 15 DEDICATED INSTRUCTIONS
(3) Functions
• This instruction performs the open process for a connection specified by (S1) for the module specified by Un.
The setting value used for the open process is selected by (S2)+0.
• Completion of the OPEN instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the OPEN instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the OPEN instruction.
(D1)+1:
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the OPEN instruction is completed and turns off at
the next END process.
Connection
opened
• The ZP.OPEN instruction is executed on the rising edge (OFF ON) of the open command.
15.5 ZP.OPEN
Do not perform an open process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S2)+1.
245
(5) Program example
The following shows a sample program that performs an Active open process on the connection number 1 for
TCP/IP communications (when the I/O signals of the E71 are X/Y00 to X/Y1F).
*1 Necessary when the open setting of the programming tool is used. (In this case, the program marked with *2 is
unnecessary.)
*2 Necessary when the open setting of the program is used. (In this case, the program marked with *1 is unnecessary.)
For safety CPUs, data stored in the buffer memory of the intelligent function module cannot be used. The program must be
modified using the I/O signals of the intelligent function module corresponding to the buffer memory.
For use with safety CPUs, refer to the following.
QSCPU User's Manual (Function Explanation, Program Fundamentals)
246
CHAPTER 15 DEDICATED INSTRUCTIONS
15.6 ZP.CLOSE
This instruction disconnects (closes) a connection with the connected device performing data communications.
Command
ZP.CLOSE ZP.CLOSE "Un" (S1) (S2) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - -
(S2) - - - - -
(D1) - - - -
*1 If the own station is a Basic model QCPU (function version B or later), Universal model QCPU, or safety CPU, " " (double
15
quotation) of the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
15.6 ZP.CLOSE
Setting data Description Set by Data type
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un
of the three-digit I/O number) User 16-bit
*1 For safety CPUs, only connection numbers 1 to 8 can be specified. If the specified value is out of range, "OPERATION
ERROR" (error code: 4101) occurs.
247
(3) Functions
• This instruction performs the close process for a connection specified by (S1) for the module specified by Un
(connection closed).
• Completion of the CLOSE instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the CLOSE instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the CLOSE instruction.
(D1)+1:
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the CLOSE instruction is completed and turns off
at the next END process.
Completion device
Connection
closed
• The ZP.CLOSE instruction is executed on the rising edge (OFF ON) of the close command.
Do not perform a close process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S2)+1.
248
CHAPTER 15 DEDICATED INSTRUCTIONS
15
15.6 ZP.CLOSE
For safety CPUs, data stored in the buffer memory of the intelligent function module cannot be used. The program must be
modified using the I/O signals of the intelligent function module corresponding to the buffer memory.
For use with safety CPUs, refer to the following.
QSCPU User's Manual (Function Explanation, Program Fundamentals)
249
15.7 GP.ECPRTCL
This instruction executes the protocols registered in the flash ROM of the E71 using the predefined protocol support
function of GX Works2.
Command
GP.ECPRTCL GP.ECPRTCL Un n1 n2 (S) (D)
Available device
Internal device Link direct Intelligent
Index Constant
Setting data*1 (system, user) File deviceJ\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
n1 - - -
n2 - - -
(S) - - - -
(D) - - - -
*1 The file registers set for each local device and program cannot be used.
250
CHAPTER 15 DEDICATED INSTRUCTIONS
15.7 GP.ECPRTCL
(S)+8 0, 1 to 128 User
number specification 7 executed.
Execution protocol
(S)+9 Set the eighth protocol number to be executed. 0, 1 to 128 User
number specification 8
When the communication type of the first
protocol executed includes receiving, the
matched receive packet number is stored.
Matched receive packet
(S)+10 When the communication type is "Send Only", 0, 1 to 16 System
No.1
"0" is stored.
If an error occurs to the first protocol executed,
"0" is stored.
When the communication type of the second
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+11 "0" is stored. 0, 1 to 16 System
No.2
If an error occurs to the second protocol
executed, "0" is stored.
When the number of protocols which are
executed is less than 2, "0" is stored.
251
Device Item Setting data Setting range Set by
When the communication type of the third
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+12 "0" is stored. 0, 1 to 16 System
No.3
If an error occurs to the third protocol executed,
"0" is stored.
When the number of protocols which are
executed is less than 3, "0" is stored.
When the communication type of the fourth
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+13 "0" is stored. 0, 1 to 16 System
No.4
If an error occurs to the fourth protocol
executed, "0" is stored.
When the number of protocols which are
executed is less than 4, "0" is stored.
When the communication type of the fifth
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+14 "0" is stored. 0, 1 to 16 System
No.5
If an error occurs to the fifth protocol executed,
"0" is stored.
When the number of protocols which are
executed is less than 5, "0" is stored.
When the communication type of the sixth
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+15 "0" is stored. 0, 1 to 16 System
No.6
If an error occurs to the sixth protocol executed,
"0" is stored.
When the number of protocols which are
executed is less than 6, "0" is stored.
When the communication type of the seventh
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+16 "0" is stored. 0, 1 to 16 System
No.7
If an error occurs to the seventh protocol
executed, "0" is stored.
When the number of protocols which are
executed is less than 7, "0" is stored.
When the communication type of the eighth
protocol executed includes receiving, the
matched receive packet number is stored.
When the communication type is "Send Only",
Matched receive packet
(S)+17 "0" is stored. 0, 1 to 16 System
No.8
If an error occurs to the eighth protocol
executed, "0" is stored.
When the number of protocols which are
executed is less than 8, "0" is stored.
252
CHAPTER 15 DEDICATED INSTRUCTIONS
(3) Functions
• The module specified by Un executes the protocol setting data written to the flash ROM.
The protocol is executed according to the control data of the device specified by (S) and the following
devices.
The connection specified by n1 is used.
• Protocols are executed consecutively for the number of times specified by n2 (up to eight protocols) by one
instruction.
• When two or more ECPRTCL instructions are executed simultaneously for the same connection, the
following instruction will be ignored until the first instruction is completed.
• The number of protocols is stored in (S)+0.
• Protocol execution status can be checked in the predefined protocol support function execution status check
area (address: 54C0H to 55FFH).
• The communication type of the protocol executed and fixed buffer setting of the connection No. specified by
n1 must be matched.
The following table lists the combination of the communication type and the connection No. that can be
specified by n1.
15.7 GP.ECPRTCL
to eight protocols) is "Send&Receive"
A connection where paring open is set*1*3
When the communication types of protocols executed (up to
eight protocols) are "Send Only" and "Receive Only"
*1 To specify a connection where paring open is set, either of pairing-opened connections can be specified.
*2 When a pairing-opened connection is specified, an extra connection is used.
*3 When the protocols executed include the communication type of "Send&Receive" or "Send Only" and "Receive Only",
pairing open setting is required.
253
• Completion of the ECPRTCL instruction can be checked with Completion device (D) and (D1)+1.
• Completion device Turns on at the END process of the scan where the ECPRTCL instruction is
(D)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the ECPRTCL
(D)+1: instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the ECPRTCL instruction is completed and turns
off at the next END process.
Program Scan END Scan END Scan END Scan END Scan END Scan
process process process process process
Completion device
Protocol executed*2
*2: Protocols are consecutively executed by the number of protocols specified in n2 of the setting data in the order
specified with the control data (up to eight protocols) with one ECPRTCL instruction.
254
CHAPTER 15 DEDICATED INSTRUCTIONS
● When multiple protocols are executed and an error has occurred in one protocol, the following protocols are not executed
and the dedicated instruction ends abnormally.
● For the connection where the ECPRTCL instruction can be executed, "Predefined protocol" is set in Fixed Buffer
Communication. Thus, the following communications are not available.
• MC protocol communications
• Communications using a fixed buffer (procedure exists)
• Communications using a fixed buffer (no procedure)
• Communications using a random access buffer
● File transfer (FTP server) function, e-mail function, Web function, or MELSOFT connection, which uses a dedicated
connection, can be executed while the ECPRTCL instruction is being executed.
● When protocols which include Non-conversion Variable are executed and the data length of the variable for one packet
exceeds 1920 bytes, the value of the CPU module device may not be acquired at one scan.
Do not change the value of the CPU module device specified in Non-conversion Variable until the ECPRTCL instruction
is completed.
Buffer memory is not affected by the sequence scan of the CPU module. Assigning them in a variable enables more
high-speed process than assigning the CPU module device.
● If the protocol setting data is written while the ECPRTCL instruction is being executed, protocol execution is canceled
upon the writing completion. Protocol setting data writing during the ECPRTCL instruction execution (error code: C430H)
occurs and the ECPRTCL instruction ends abnormally.
● When the open setting for the specified connection and the communication type of the protocol executed does not match,
Connection number setting error (error code: C407H) occurs and the ECPRTCL instruction ends abnormally.
● When the waiting time is set to "0" (wait infinitely) in the Protocol Detailed Setting, the dedicated instruction is not 15
completed until the data specified in the protocol setting is received.
15.7 GP.ECPRTCL
255
(4) Errors
Completion device (D)+1 turns on and the error code is stored in Completion status (S)+1 in the following cases.
• When the setting value of the control data is abnormal
• When an error is detected in the protocol setting data registered in GX Works2
• When an error has occurred in protocols (the following protocols will not be executed.)
• When a value other than "Predefined protocol" is set in Fixed Buffer Communication for connection No.
specified by n1
User
Connection No.n
Protocol cancellation specification 1: Cancellation request 2: Cancel completed
(54D3H (when the value of n is 1))
256
CHAPTER 15 DEDICATED INSTRUCTIONS
● If any data is received from the connected device after the protocol whose communication type includes receiving is
canceled, the data will be discarded.
● The E71 checks whether any cancel request exists at periodic processing. For this reason, it may take some time to
process the cancellation after the cancel request is executed.
15.7 GP.ECPRTCL
● When Protocol cancellation specification (address: 54D3H (Connection No.1)) is "1: Cancellation request", the next
ECPRTCL instruction cannot be executed.
257
(c) Timing chart
The E71 performs the following process according to the timing of cancel request.
The followings describe the operations of protocol cancellation according to the timing.
• When the cancel request is performed before sending (when "1" (Waiting for transmission) is set in Protocol
execution status (address: 54C0H))
ECPRTCL instruction
Completion device
The device turns on
upon abnormal end.
Completion device + 1
Connection No.n
Protocol cancellation specification 1: Cancellation request 2: Cancel completed
(54D3H (when the value of n is 1))
Connected device
Send packet
258
CHAPTER 15 DEDICATED INSTRUCTIONS
• When the cancel request is performed before sending completion (when "2" (Sending) is set in Protocol
execution status (address: 54C0H) and the sending has not been completed)
ECPRTCL instruction
Completion device
The device turns on
upon abnormal end.
Completion device + 1
Connection No.n
Protocol cancellation specification 1: Cancel request 2: Cancel completed
(54D3H (when the value of n is 1))
Waiting time
to send t: TCP ULP timer
E71
Send packet
The E71 does not send a
Packet sending in progress is send packet to the connected
completed without interruption. device even when a receive
data or a protocol exists.
15
Connected device Cancel
Send packet
• When the cancel request is performed at sending completion (when "2" (Sending) is set in Protocol
execution status (address: 54C0H) and the sending has been completed)
15.7 GP.ECPRTCL
ECPRTCL instruction
Completion device
The device
turns on upon
Completion device + 1 abnormal end.
Connection No.n
Protocol cancellation specification 1: Cancellation 2: Cancel
(54D3H (when the value of n is 1)) request completed
Waiting time
to send t: TCP ULP timer
E71
Send packet
259
• When the cancel request is performed before receiving (when "3" (Waiting for data reception) is set in
Protocol execution status (address: 54C0H))
ECPRTCL instruction
Completion device
The device turns on
upon abnormal end.
Completion device + 1
Connection No.n
Protocol cancellation specification 1: Cancellation request 2: Cancel completion
(54D3H (when the value of n is 1))
t: waiting time to receive or the time specified The E71 does not send a
by the destination alive check timer send packet to the connected
device even when a receive
E71 data or a protocol exists.
Cancel
Connected device
• When the cancel request is performed during receiving (when "4" (Receiving) is set in Protocol execution
status (address: 54C0H))
ECPRTCL instruction
Completion device
The device turns on
upon abnormal end.
Completion device + 1
Connection No.n
Protocol cancellation specification 1: Cancellation request 2: Cancel completed
(54D3H (when the value of n is 1))
t: waiting time to receive or the time specified The E71 does not send a
by the destination alive check timer send packet to the connected
device even when a receive
E71 data or a protocol exists.
Receiving
260
CHAPTER 15 DEDICATED INSTRUCTIONS
15.8 ZP.BUFSND
This instruction sends data to the connected device through communications using a fixed buffer.
Command
ZP.BUFSND ZP.BUFSND "Un" (S1) (S2) (S3) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - -
(S2) - - - - -
(S3) - - - - -
(D1) - - - - 15
*1 If the own station is a Basic model QCPU (function version B or later), Universal model QCPU, or safety CPU, " Page
243, Section 15.5" (double quotation) of the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
15.8 ZP.BUFSND
Setting data Description Set by Data type
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un
of the three-digit I/O number) User 16-bit
*1 For safety CPUs, only connection numbers 1 to 8 can be specified. If the specified value is out of range, "OPERATION
ERROR" (error code: 4101) occurs.
261
(3) Send data
(4) Functions
• This instruction sends the data specified by (S3) to the connected device of the connection specified by (S1)
for the module specified by Un.
Send data :
BUFSND
: No.n Connected device
: :
262
CHAPTER 15 DEDICATED INSTRUCTIONS
• Completion of the BUFSND instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the BUFSND instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the BUFSND
(D1)+1: instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the BUFSND instruction is completed and turns off
at the next END process.
Completion device
Sending data
15
• The ZP.BUFSND instruction is executed on the rising edge (OFF ON) of the sending command.
Do not perform a send process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
15.8 ZP.BUFSND
(5) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S1)+1.
263
(6) Program example
The following shows a sample program that sends data stored on the fixed buffer of the connection number 1
(when the I/O signals of the E71 are X/Y00 to X/Y1F).
For safety CPUs, data stored in the buffer memory of the intelligent function module cannot be used. The program must be
modified using the I/O signals of the intelligent function module corresponding to the buffer memory.
For use with safety CPUs, refer to the following.
QSCPU User's Manual (Function Explanation, Program Fundamentals)
264
CHAPTER 15 DEDICATED INSTRUCTIONS
15.9 ZP.BUFRCV
This instruction reads data received from the connected device through communications using a fixed buffer (used in
the main program).
Command
ZP.BUFRCV ZP.BUFRCV "Un" (S1) (S2) (D1) (D2)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - -
(S2) - - - - -
(D1) - - - - - 15
(D2) - - - -
*1 If the own station is a Basic model QCPU (function version B or later), Universal model QCPU, or safety CPU, " " (double
quotation) of the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
15.9 ZP.BUFRCV
(1) Setting data
*1 For safety CPUs, only connection numbers 1 to 8 can be specified. If the specified value is out of range, "OPERATION
ERROR" (error code: 4101) occurs.
265
(3) Receive data
Setting
Device Item Setting data Set by
range
Stores the data length of the data read from the fixed
buffer data area. (Depending on the procedure of fixed
-
buffer communications, the data length is the number of
words or the number of bytes.)
Receive data Procedure exists (communications using a binary
(D1)+0 1 to 1017 System
length code): Number of words
Procedure exists (communications using an ASCII
1 to 508
code): Number of words
No procedure (communications using a binary
1 to 2046
code): Number of bytes
(D1)+1
Stores the data read from the fixed buffer data area
to Receive data - System
starting from the smallest address.
(D1)+n
(4) Functions
• This instruction reads the receive data (for fixed buffer communications) of the connection specified by (S1)
for the module specified by Un.
Receive data :
BUFRCV
: No.n
: :
266
CHAPTER 15 DEDICATED INSTRUCTIONS
• Completion of the BUFRCV instruction can be checked with Completion device (D2)+0 and (D2)+1.
• Completion device Turns on at the END process of the scan where the BUFRCV instruction is
(D2)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the BUFRCV
(D2)+1: instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the BUFRCV instruction is completed and turns off
at the next END process.
Completion device
● Do not perform a receive process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
15.9 ZP.BUFRCV
● When receive data is read from the same connection, the BUFRCVS instruction (for an interrupt program) cannot be
used together.
(5) Errors
• If a dedicated instruction ends with an error, Completion device (D2)+1 turns on, and the error code is stored
in Completion status (S2)+1.
267
(6) Program example
The following shows a sample program that reads the receive data from the fixed buffer of connection number 1
(when the I/O signals of the E71 are X/Y00 to X/Y1F).
For safety CPUs, data stored in the buffer memory of the intelligent function module cannot be used. The program must be
modified using the I/O signals of the intelligent function module corresponding to the buffer memory.
For use with safety CPUs, refer to the following.
QSCPU User's Manual (Function Explanation, Program Fundamentals)
268
CHAPTER 15 DEDICATED INSTRUCTIONS
15.10 Z.BUFRCVS
This instruction reads data received from the connected device through communications using a fixed buffer (used in
an interrupt program).
Command
Z.BUFRCVS Z.BUFRCVS "Un" (S1) (D2)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - -
(D1) - - - - -
*1 If the own station is a Basic model QCPU (function version B or later) or Universal model QCPU, " " (double quotation) of 15
the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
15.10 Z.BUFRCVS
Setting data Description Set by Data type
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un
of the three-digit I/O number) User 16-bit
(S1) Connection number (1 to 16) BIN 16-bit
(D1) Start number of the device that stores receive data System Device name
Setting
Device Item Setting data Set by
range
Stores the data length of the data read from the fixed
buffer data area. (Depending on the procedure of fixed
-
buffer communications, the data length is the number of
words or the number of bytes.)
Receive data Procedure exists (communications using a binary
(D1)+0 1 to 1017 System
length code): Number of words
Procedure exists (communications using an ASCII
1 to 508
code): Number of words
No procedure (communications using a binary
1 to 2046
code): Number of bytes
(D1)+1
Stores the data read from the fixed buffer data area
to Receive data - System
starting from the smallest address.
(D1)+n
269
(3) Functions
• This instruction reads the receive data (for fixed buffer communications) of the connection specified by (S1)
for the module specified by Un.
CPU module E71
Fixed buffer data area
Receive data :
BUFRCVS
: No.n
: :
Interrupt program
Storing
Receiving data the receive data
• The Z.BUFRCVS instruction is executed in an interrupt program, and the process is completed within one
scan.
● To read receive data using an interrupt program, configure both the interrupt settings and interrupt pointer setting
parameters of the programming tool. ( Page 152, Section 12.5.1)
● When receive data is read from the same connection, the BUFRCV instruction (for the main program) cannot be used
together.
(4) Errors
• If a dedicated instruction ends with an error, Diagnostic errors (SM0) turns on, and the error code is stored in
SD0.
270
CHAPTER 15 DEDICATED INSTRUCTIONS
15
15.10 Z.BUFRCVS
271
15.11 ZP.ERRCLR
This instruction turns off LEDs of the E71 or clears error information stored in the buffer memory.
Command
ZP.ERRCLR ZP.ERRCLR "Un" (S1) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - - -
(D1) - - - -
*1 If the own station is a Basic model QCPU (function version B or later) or Universal model QCPU, " " (double quotation) of
the first argument can be omitted.
*2 The file registers set for each local device and program cannot be used.
272
CHAPTER 15 DEDICATED INSTRUCTIONS
(S1)+4
to System area - - -
(S1)+7
15.11 ZP.ERRCLR
(3) Functions
• This instruction turns off the COM.ERR. LED and clears error information listed below for the module
specified by Un.
Target Function
Error information to be cleared
Item specification specification
(buffer memory)
(S1)+2 (S1)+3
• Initial error code (address: 69H)
Initial error 0000H 0000H
• COM.ERR. LED off
• Open error code for a connection with the
Open error 0001H to 0010H 0000H
connected device (address: 7CH, 86H…)
273
• Completion of the ERRCLR instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the ERRCLR instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the ERRCLR
(D1)+1: instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the ERRCLR instruction is completed and turns off
at the next END process.
Completion device
• The ZP.ERRCLR instruction is executed on the rising edge (OFF ON) of the clear command.
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S1)+1.
274
CHAPTER 15 DEDICATED INSTRUCTIONS
15.12 ZP.ERRRD
This instruction reads error information stored in the buffer memory of the E71.
Command
ZP.ERRRD ZP.ERRRD "Un" (S1) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - - -
(D1) - - - -
*1 If the own station is a Basic model QCPU (function version B or later) or Universal model QCPU, " " (double quotation) of
the first argument can be omitted. 15
*2 The file registers set for each local device and program cannot be used.
15.12 ZP.ERRRD
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un User
of the three-digit I/O number) 16-bit
(S1) Start number of the device that stores control data User, system Device name
The start number of the bit device in the own station that
(D1) turns on for one scan upon completion of the instruction. System Bit
(D1)+1 also turns on if the instruction ends abnormally.
275
(2) Control data
(S1)+5
to System area - - -
(S1)+7
276
CHAPTER 15 DEDICATED INSTRUCTIONS
(3) Functions
• This instruction reads the error information of the module specified by Un.
• Completion of the ERRRD instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the ERRRD instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the ERRRD instruction.
(D1)+1:
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the ERRRD instruction is completed and turns off
at the next END process.
15
[Operation while the ERRRD instruction is being executed]
Completion device
15.12 ZP.ERRRD
Completion device + 1 Abnormally ended
Reading the
error information
• The ZP.ERRRD instruction is executed on the rising edge (OFF ON) of the read command.
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S1)+1.
277
(5) Program example
The following shows a sample program that reads the open error code of the connection number 1 (when the I/O
signals of the E71 are X/Y00 to X/Y1F).
278
CHAPTER 15 DEDICATED INSTRUCTIONS
15.13 ZP.UINI
This instruction changes the setting, such as the Ethernet operation setting, and re-initializes the E71.
Command
ZP.UINI ZP.UINI "Un" (S1) (D1)
*1
Available device
Internal device Link direct device Intelligent
Index Constant
Setting data*2 (system, user) File J\ function module
register Others
register device
Bit Word Bit Word Zn K, H $
U\G
(S1) - - - - -
(D1) - - - -
*1 If the own station is a Basic model QCPU (function version B or later) or Universal model QCPU, " " (double quotation) of
the first argument can be omitted. 15
*2 The file registers set for each local device and program cannot be used.
15.13 ZP.UINI
Start I/O number of the E71 (00 to FEH: The first two digits Character string/BIN
"Un"/Un User
of the three-digit I/O number) 16-bit
(S1) Start number of the device that stores control data User, system Device name
The start number of the bit device in the own station that
(D1) turns on for one scan upon completion of the instruction. System Bit
(D1)+1 also turns on if the instruction ends abnormally.
279
(2) Control data
Device Item Setting data Setting range Set by
(S1)+0 System area - - -
Stores the status at completion.
Completion
(S1)+1 0000H: Normal completion - System
status
Values other than 0000H (error code): Abnormal end
*1 The E71 enables data exchange to be resumed by clearing the address information of the connected device retained in
the E71 and performing a reinitialization process. (Initial normal completion signal (X19) turns on.)
280
CHAPTER 15 DEDICATED INSTRUCTIONS
(3) Functions
• This instruction re-initializes the module specified by Un.
• Completion of the UINI instruction can be checked with Completion device (D1)+0 and (D1)+1.
• Completion device Turns on at the END process of the scan where the UINI instruction is
(D1)+0: completed and turns off at the next END process.
• Completion device Turns on and off depending on the completion status of the UINI instruction.
(D1)+1:
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where
the UINI instruction is completed and turns off at
the next END process.
Close process
Executed
UINI instruction
Completion device
15.13 ZP.UINI
Completion device + 1 Abnormally ended
Reinitialization specification
(address: 1FH (b15))
Processing reinitialization
Internal process of the E71 Requesting
reinitialization
Initializing the module
• The ZP.UINI instruction is executed on the rising edge (OFF ON) of the reinitialization command.
281
(4) Errors
• If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored
in Completion status (S1)+1.
Remark
The following are sample programs for communications using connection numbers 1 and 2. When using other connections,
specify the corresponding signals and bits for each connection.
The UINI instruction is also used in the program for a reinitialization process. When performing a reinitialization
process using the UINI instruction, refer to the program for a reinitialization process. ( Page 360, Appendix
4.2)
282
CHAPTER 15 DEDICATED INSTRUCTIONS
Enable writing
during RUN.
15
15.13 ZP.UINI
Process upon completion
Communications enabled
For safety CPUs, data stored in the buffer memory of the intelligent function module cannot be used. The program must be
modified using the I/O signals of the intelligent function module corresponding to the buffer memory. For use with safety
CPUs, refer to the following.
QSCPU User's Manual (Function Explanation, Program Fundamentals)
283
(b) Changing the transmission speed and communication mode
The following shows a sample program that changes the transmission speed to 10Mbps and the
communication mode to half-duplex (when the I/O signals of the E71 are X/Y00 to X/Y1F).
Communications enabled
284
CHAPTER 16 TROUBLESHOOTING
CHAPTER 16 TROUBLESHOOTING
This chapter describes how to identify causes of problems that occur when an E71 is used and take corrective action.
Check that the POWER LED of the power supply module and the MODE LED of the CPU module are on. If either or
both are off, troubleshoot the CPU module.
User's Manual (hardware design, maintenance and inspection) for the CPU module used
How to identify the cause of a problem and take corrective action is explained below. Use a programming tool to
identify the cause and take corrective action.
(1) Procedure
16
1. Connect the CPU module to a programming tool,
and open the "System Monitor" window.
285
3. The "Module's Detailed Information" window is
286
CHAPTER 16 TROUBLESHOOTING
With the module error collection function, the errors that have occurred in the E71 are saved into the CPU module.
This allows error details to be held even if the power is turned off or the CPU module is reset. Check the errors
collected by the CPU module on the "Error History" window.
This function is available only in the QJ71E71-100 with the serial number (first five digits) of "15042" or later.
16
287
16.4 Checking the LEDs
The following describes how to troubleshoot the problem by checking the LEDs.
The on/off status of the INIT. LED, OPEN LED, ERR. LED, and COM.ERR. LED is stored in Area for module status (address:
C8H) of the buffer memory. ( Page 38, Section 3.5.2)
The following table lists the items to be checked and the actions to be taken if the RUN LED turns off after the E71 is
powered on.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
Connect the CPU module connected to the E71 with the ERR. LED or COM.ERR. LED on to a programming tool to
identify the cause. ( Page 285, Section 16.2)
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
The COM.ERR. LED does not turn off even after the error cause is removed. To turn it off, refer to "How to Turn Off the
COM.ERR. LED". ( Page 342, Section 16.8)
288
CHAPTER 16 TROUBLESHOOTING
The following table lists the items to be checked and the actions to be taken if the SD LED does not flash when data is
sent.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
The following table lists the items to be checked and the actions to be taken when an E71 cannot receive data with the
RD LED off.
16
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
289
16.5 Troubleshooting by Symptom
The following describes how to troubleshoot for each phenomenon. When an error occurs in the E71, identify the
cause with the programming tool. ( Page 285, Section 16.2)
The following table lists how to troubleshoot the problem when the E71 cannot communicate with the connected
device.
Does the connected device conform to the Ethernet Replace the device with one conforming to the Ethernet standard.
standard? ( Page 65, CHAPTER 5)
If the data code settings do not match, data cannot be sent or received because the connected device
Does the communication data code (ASCII or binary) cannot normally decode commands.*2 Set the same data code as that of the connected device in
setting match with that of the connected device? "Communication Data Code" of the Ethernet operation setting.
( Page 87, Section 7.1.3)
• If Initial normal completion signal (X19) is off, perform the initial process. ( Page 366,
Has the initial process been completed normally? (Is Appendix 5)
Initial normal completion signal (X19) on?) • If the initial setting of the programming tool is same as that of the initial process program, delete the
initial process program.
Was a device on the line (such as an E71, connected
device, hub, and router) replaced by the one with the Restart all the devices on the line.*1
same IP address?
Power off the E71-mounted station and ground the LG and FG terminals of the power supply module.
When the E71 is connected to 10BASE2, are the LG
and FG terminals of the power supply module ( User's manual (hardware design, maintenance and inspection) for the CPU module used)*3
grounded? After grounding the terminals, start the E71 to perform communications with the connected device
again.
If the access from the connected device is denied by the IP filter function, correct the values in IP filter
Is the access from the connected device set to be settings (address: 5700H to 5721H) and perform IP filter setting by the reinitialization process again.
denied by the IP filter function?
( Page 197, Section 14.3)
*1 Devices on an Ethernet network contain the IP to Mac address mapping, called an "ARP cache". If a device on a line is
replaced by another device with the same IP address, the MAC address contained in the "ARP cache" and the MAC
address of the replaced device do not match; therefore, communications may not be performed normally. The "ARP
cache" is updated when the device is reset or after a certain period of time. The time varies depending on the devices.
*2 If the communication data code setting is different between the E71 and the connected device, error codes that are not
found in the error code list may be returned to the connected device. When receiving data with different data codes, the
E71 cannot decode commands normally. The E71 returns an error response according to the communication data code
setting. ( Page 158, Section 12.6.2 (1) (e), Remark)
*3 If the LG and FG terminals of the power supply module of the E71-mounted station are not connected, the
communication line may be closed (disconnected) due to noise; therefore, communications with the connected device
may not be performed.
If the action above does not solve the problem, check for an error in each communication process and take corrective
action. ( Page 292, Section 16.5.4 to Page 301, Section 16.5.16)
290
CHAPTER 16 TROUBLESHOOTING
16.5.2 The E71 frequently fails to receive a message sent from the
connected device.
The following table lists how to troubleshoot the problem when the E71 frequently fails to receive a message sent from
the connected device.
16.5.2 The E71 frequently fails to receive a message sent from the connected device.
16.5 Troubleshooting by Symptom
Availability depends on the QJ71E71-100 version. ( Page 353, Appendix 3)
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
The following table lists how to troubleshoot the problem when a dedicated instruction is not completed.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
291
16.5.4 MC protocol communications cannot be performed.
The following table lists how to troubleshoot the problem when the E71 cannot perform MC protocol communications.
*1 If the connection of only the connected device is closed due to cable disconnection, personal computer restart, or other
reasons, reopen the connection using the same port used before the error occurred. The E71 does not close a
connection if it receives an Active open request again from the connected device with a different IP address or a port
number.
*2 If the communication data code setting is different between the E71 and the connected device, error codes that are not
found in the error code list may be returned to the connected device. When receiving data with different data codes, the
E71 cannot decode commands normally. The E71 returns an error response according to the communication data code
setting. ( Page 158, Section 12.6.2 (1) (e), Remarks)
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
292
CHAPTER 16 TROUBLESHOOTING
If communications cannot be performed with a connected device using SLMP, refer to the troubleshooting in the
following and take corrective action.
SLMP Reference Manual
The following table lists how to troubleshoot the problem when the E71 cannot perform communications using the
predefined protocol.
*1 For details on the settings, refer to Page 253, Section 15.7 (3).
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
293
16.5.7 The protocol setting data cannot be read or written.
The following table lists how to troubleshoot the problem when the protocol setting data cannot be read or written.
Check that GX Works2 and the CPU module are connectable on the Transfer Setup of GX Works2 before
troubleshooting the problem.
When an error is detected in the edited protocol, check that the conditions for element placement are satisfied in the Packet
Setting. Especially the following conditions must be satisfied.
• When a Non-conversion Variable (Variable length) or Non-verified Reception (Variable number of characters) is
placed behind a Length and is not included in the Length calculating range, place Static Data immediate after the
Non-conversion Variable or Non-verified Reception.
• When multiple Length elements are set in one packet, configure the setting so that each Length calculating range
does not overlap the others.
294
CHAPTER 16 TROUBLESHOOTING
The following table lists how to troubleshoot the problem when an E71 cannot send data with communications using a
fixed buffer.
295
16.5.9 Data cannot be received with communications using a fixed
buffer.
The following table lists how to troubleshoot the problem when an E71 cannot receive data with communications using
a fixed buffer.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
296
CHAPTER 16 TROUBLESHOOTING
The following table lists how to troubleshoot the problem when an E71 cannot perform communications using a
random access buffer.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
The following table lists how to troubleshoot the problem when the access cannot be allowed/denied correctly by the IP
filter.
Check item Action
Is the setting value in IP filter function type setting (address: Correct the value in IP filter function type setting (address: 5701H) and
5701H) correct? perform IP filter setting by the reinitialization process again.
Are the setting values in IP address setting 1 to 8 (address: Correct the values in IP address setting 1 to 8 (address: 5702H to 5721H)
5702H to 5721H) correct? and perform IP filter setting by the reinitialization process again.
Is the IP address of the proxy server set to be allowed? Set the IP address of the proxy server to be denied.
297
16.5.12 An e-mail cannot be sent.
The following table lists how to troubleshoot the problem when an E71 cannot send an e-mail.
If the action above does not solve the problem, check the following.
• Is the e-mail parameter setting of the E71 correct?
• Is the mail server system down?
• Is there any error in the communication path?
(2) When sending an e-mail with the programmable controller CPU monitoring
function
If the action above does not solve the problem, check the following.
• Is the e-mail parameter setting of the E71 correct?
• Is the mail server system down?
• Is there any error in the communication path?
298
CHAPTER 16 TROUBLESHOOTING
The following table lists how to troubleshoot the problem when an E71 cannot receive an e-mail.
299
16.5.14 Communications using data link instructions cannot be
performed.
The following table lists how to troubleshoot the problem when an E71 cannot perform communications using data link
instructions.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
The following table lists how to troubleshoot the problem when an E71 cannot perform communications during OPS
connection in a redundant system.
The MELSOFT connection and MC protocol cannot be used together for a connection set for the OPS connection. In
addition, a port set for the OPS connection can be connected using EZSocket only.
If the action above does not solve the problem, there may be other causes or the connected device may be in failure.
300
CHAPTER 16 TROUBLESHOOTING
The following table lists how to troubleshoot the problem when systems cannot be switched in a redundant system.
If the action above does not solve the problem, perform the following tests on the E71 to check for hardware error.
• Hardware test ( Page 377, Appendix 6.2)
• Self-loopback test ( Page 376, Appendix 6.1)
301
16.6 Error Code List
This section describes the error codes (abnormal codes) of the errors that may occur in each process for performing
communications between the E71 and a connected device as well as errors caused by process requests issued from
the CPU module of the own station, the error details, and the actions to be taken.
The following table lists the types of errors that may occur.
302
CHAPTER 16 TROUBLESHOOTING
(3) Fixed buffer sending error code (address: 7DH to C2H, 5825H to 586AH)
The error codes generated when an error has occurred in data sending to the destination during communications
using a fixed buffer in the connection with the connected device are stored. A sending error code is cleared when
the next data sending is completed normally.
16
(4) Connection end code (address: 7EH to C3H, 5826H to 586BH)
The codes returned in the responses from the destination during communications using a fixed buffer in the
connection with the connected device are stored in binary. Process the end codes in the responses according to
303
(5) Error log area (address: E0H to 1FFH)
The following table lists the details of the error log area. The buffer memory addresses of the error log block are
those of the error log block 1. For the addresses of the error log block 2 and later, refer to the list of buffer memory
addresses. ( Page 38, Section 3.5.2)
The number of the error log block where the latest error log is registered is stored.
• 0: No error (no registration of error log)
• 1 or more: The number of the error log block where the latest error log is registered.
Error log write pointer E4H
If the pointer value is 16, it means that the latest error log is registered in the error log block
16 area. When the number of errors reaches 17, the error log is then registered in the error
log block 1 area again.*2
Error An error code indicating error details is stored. The subheader code of the error message is
code/end E5H stored in bits 0 to 7 of the corresponding area. (Bits 8 to 15 store 0.) For errors below the
code TCP/IP or UDP/IP level, 0 is stored.
The command code of the error message or the values of the lower bytes of the request type
and subrequest type of the data link instructions are stored.
b15 to b0 b15 to b8 b7 to b0
Command
E7H Command code or Subrequest type Request type
code
0 is stored in the following cases:
Error log • For messages not containing a command code
block • For errors below the TCP/IP or UDP/IP level (because their commands are unknown)
Connection The number of the error connection is stored in bits 0 to 7 of the corresponding area. (Bits 8
E8H
No. to 15 store 0.) For errors below the TCP/IP or UDP/IP level, 0 is stored.
Own station The port number of the error own station is stored. For errors below the TCP/IP or UDP/IP
E9H
port No. level, 0 is stored.
The IP address of the error connected device is stored. 0 is stored in the following cases:
Destination
EAH and EBH • For errors below the IP level
IP address
• When an error response was sent through the CPU module
Destination The IP address of the error connected device is stored. For errors below the TCP/IP or
ECH
Port No. UDP/IP level, 0 is stored.
The number of occurrences of the corresponding status of each protocol is stored. When the
Status for each protocol 178H to 1FFH
count value by the E71 exceeds two words, the count stops at FFFFFFFFH (4294967295).
*1 The error information is continued to be stored into the following areas even if the count of the errors is stopped:
• Error log write pointer storage area
• Error log block
*2 An error log block area consists of 16 error log blocks that have the same data order.
Values stored in the buffer memory are cleared when an E71-mounted station is powered on or reset. (They are not cleared
during the initial process.) Although this area does not normally need to be read, read it when necessary for maintenance or
other purposes.
304
CHAPTER 16 TROUBLESHOOTING
305
Buffer memory name Address Description
The information about whether protocol setting data has been registered is shown by on/off
status of the corresponding bit.
When the check results include any error, 0 is stored in all bits.
5331H to
0 (OFF): Not registered
1 (ON): Registered
5330H to
Protocol registration
533FH
5337H to
5338H to
Unused
(reserved)
533FH to
*1 When the setting value gets Unidentified (65535), the following causes are possible:
• When settings undetectable with the E71 used are written
• When the protocol setting data is broken (hardware failure)
306
CHAPTER 16 TROUBLESHOOTING
(7) Predefined protocol support function execution status check area (address:
54C0H to 55FFH)
The following table lists the details of the predefined protocol support function execution status check area.
The buffer memory addresses are those of Connection No.1. For the addresses of the Connection No.2 and later,
refer to the list of buffer memory addresses. ( Page 38, Section 3.5.2)
Received data verification Verification result of receive packet No.1 is stored. ( Page 307, Section 16.6 (7) (a))
result (receive packet 54C2H • b0 to b7: Element No. where the verification result did not match
No.1) • b8 to b15: The cause of mismatch (verification result code)
Received data verification
54C3H to
result (receive packet No.2 The bit configuration is the same as receive packet No.1.
54D1H
to 16)
The number of protocol executions in Connection No.1 is stored.
Number of protocol • 0: No protocol execution
54D2H
executions • 1 to 65535: Number of executions (When the number exceeds 65535, the value remains 16
65535.)
Cancels the protocol executed in Connection No.1.
Protocol cancellation • 0: No cancellation specification
54D3H
specification • 1: Cancellation request (set by user)
307
(b) The cause of mismatch (verification result code) (b8 to b15)
Stored
Description Cause
value
00H Normal -
The total packet size of receive data is smaller than that set in protocol
01H Insufficient receive data
data.
10H Data not matched The receive data do not match the value set in protocol data.
When "ASCII Hexadecimal" is set in Code Type, data not in ASCII
11H ASCII-binary conversion error
code are received.
12H Data length error The received Length value exceeded 2046 bytes.
The Length value received from the connected device does not match
30H Data length size error
the actual length.
FFH Verification not performed -
Error b15 to b8 b7 to b0
log Month (01H to 12H) Year (00H to 99H): Last two digits of the year
block b15 to b8 b7 to b0
Error time 510BH to 510EH Hour (00H to 23H) Day (01H to 31H)
b15 to b8 b7 to b0
Second (00H to 59H) Minute (00H to 59H)
b15 to b8 b7 to b0
Year (00H to 99H): First two digits of the year Day of the week (0 to 6)
*1 An error log block area consists of 16 error log blocks that have the same data order.
308
CHAPTER 16 TROUBLESHOOTING
If the pointer value is 16, it means that the latest error log is registered in the
receiving error log block 16 area. When the number of errors reaches 17, the error
log is then registered in the error log block 1 area again.*1
309
Buffer memory name Address Description
Error code 5879H An error code indicating the error details is stored.
Command code 587AH The system command code of the error message is stored.
The first eight words of the sender's e-mail address of the error e-mail in the
communications with the mail server are stored in the ASCII code.
From 587BH
(Example) If the sender's e-mail address is "[email protected]",
"[email protected]" is stored in the ASCII code.
The date and time when the e-mail was received are stored in the BCD code.
b15 to b8 b7 to b0
Month (01H to 12H) Year (00H to 99H): Last two digits of the year
Error log block
b15 to b8 b7 to b0
Date 5883H Hour (00H to 23H) Day (01H to 31H)
b15 to b8 b7 to b0
Second (00H to 59H) Minute (00H to 59H)
b15 to b8 b7 to b0
Year (00H to 99H): First two digits of the year Day of the week (0 to 6)
The first 30 words of the e-mail subject are stored. A subject is not stored
Subject 5887H successfully if it contains characters other than alphanumeric and ASCII code
characters.
*1 A receiving error log block area consists of 16 error log blocks that have the same data order.
310
CHAPTER 16 TROUBLESHOOTING
If the pointer value is 8, it means that the latest error log is registered in the receiving error log
block 8 area. When the number of receiving errors reaches nine, the error log is then
registered in the error log block 1 area again.*1
Error code 5B41H An error code indicating the error details is stored.
Command code 5B42H The system command code of the error message is stored.
The first eight words of the receiver's e-mail address of the error e-mail in the communications
with the mail server are stored in the ASCII code.
To 5B43H
Error log (Example) If the sender's e-mail address is "[email protected]",
block "[email protected]" is stored in the ASCII code.
The date and time when the e-mail was sent are stored in the BCD code (similar to 5883H of
Date 5B4BH
(a)).
The first 15 words of the e-mail subject are stored. A subject is not stored successfully if it
Subject 5B4FH
contains characters other than alphanumeric and ASCII code characters.
*1 A sending error log block area consists of 16 error log blocks that have the same data order.
311
16.6.1 End codes returned to a connected device during data
communications
The following table lists the error codes stored in the end code appended to a response during data communications.
312
CHAPTER 16 TROUBLESHOOTING
313
Data communication type
Error Communications Communications
Error description Action MC protocol
code using a fixed using a random
communications
buffer access buffer
• After unlocking the remote
password using the MC
protocol, perform
communications using a
• In communications using a fixed buffer,
fixed buffer.
63H the remote password of the port for the
• Exclude ports used for
destination E71 is in the lock status.
communications using a
fixed buffer from the targets
of the remote password
check.
A0H
• The error details and how to troubleshoot the problem are the same as those for the error code stored in the buffer memory. ( Page 316,
to
FFFFH Section 16.6.3)
314
CHAPTER 16 TROUBLESHOOTING
The following table lists the error codes stored in the abnormal code appended to a response in the A-compatible 1E
frame in MC protocol communications. (An abnormal code is appended only when an end code is 5BH.)
315
16.6.3 Error codes stored in the buffer memory
The following table lists the error codes stored in each buffer memory area when an error occurs. For the buffer
memory areas where these error codes are stored, refer to the descriptions of the corresponding buffer memory area.
( Page 302, Section 16.6)
Error
Error description Action
code
00H
02H
0050H
0051H
0052H
0054H
0055H The error details and how to troubleshoot the problem are the same as those for the end code returned to the connected device
0056H in data communications. ( Page 312, Section 16.6.1)
0057H
0058H
0059H
005BH
0060H
0063H
This request cannot be specified in connection with the • Correct the request details.
00A0H
connected device. • Correct the open setting.
Contents of the request cannot be analyzed because • Check and correct the text length or request data length of the Qn
00A1H
the text length or request data length is too short. header. Then send data to the Ethernet module again.
00A2H This request cannot be processed. • Correct the request details and command.
3E8H • Refer to the troubleshooting section of the user's manual
to (Errors detected by a programmable controller CPU) (hardware design, maintenance and inspection) for the CPU
4FFFH module used, and take corrective action.
7000H
(Errors detected by a module such as a serial • Refer to a manual such as a serial communication module user's
to
communication module) manual, and take corrective action.
7FFFH
B000H
• Refer to the CC-Link System Master/Local Module User's Manual,
to (Errors detected by a CC-Link module)
and take corrective action.
BFFFH
316
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• The setting value of the default router IP address for
the router relay function is incorrect. • Correct the default router IP address and perform the initial
• The network address (network address after the process again.
C005H
subnet mask) of the default router IP address is • Set the same network address as that of the IP address of the
different from that of the IP address of the Ethernet Ethernet module in the own station.
module in the own station.
The setting value of the subnet address for the router
C006H • Correct the subnet address and perform the initial process again.
relay function is incorrect.
• The setting value of the router IP address for the
router relay function is incorrect.
• Correct the router IP address and perform the initial process again.
• The network address (network address after the
C007H • Change the IP address of the Ethernet module in the own station
subnet mask) of the router IP address is different from
to the same address as the network address.
that of the IP address of the Ethernet module in the
own station.
The setting value in IP filter function type setting Correct the value in IP filter function type setting (address: 5701H)
C008H
(address: 5701H) is not correct. and perform IP filter setting by the reinitialization process again.
• A value out of range is set in IP address setting 1 to 8
(address: 5702H to 5721H). Correct the values in IP address setting 1 to 8 (address: 5702H to
C009H • In IP address setting 1 to 8 (address: 5702H to 5721H) and perform IP filter setting by the reinitialization process
5721H), the value of start IP address is greater than again.
the end IP address.
The send/receive process has been executed while the Do not execute the send/receive process while executing the IP
C00EH
IP address in use detection function is being executed. address in use detection function.
16
• Set different IP addresses.
C00FH One IP address is used for two or more modules. The MAC addresses of the Ethernet modules in the stations with the
same IP address can be checked in IP address status storage area
317
Error
Error description Action
code
The setting value of the IP address of the connected
C018H • Correct the IP address.
device is incorrect.
• Correct the data length.
C020H The data length exceeds the allowable range. • When the amount of data to be sent exceeds the limit, divide the
data into smaller chunks to send it.
An abnormal end response was received for • Read the response end code from the connection end code or
C021H
communications using a fixed buffer. error log area and perform the required action.
• A response could not be received within the response • Check the operation of the connected device.
monitoring timer value. • Correct the response monitoring timer value.
C022H
• The connection with the connected device was closed • Check the open status of the connection with the connected
while waiting for a response. device.
• The connection with the connected device has not
been opened.
C023H • Open the connection with the connected device.
• The connection with the connected device has been
closed.
• When "Predefined protocol" is set in "Fixed Buffer
• Correct the connection number of
Communication" setting, communications using a
BUFSND/BUFRCV/BUFRCVS/ECPRTCL instructions.
fixed buffer or a random access buffer are executed.
C024H • Correct the "Fixed Buffer Communication" setting (Procedure
• When "Procedure Exist" or "No Procedure" is set in
Exist/No Procedure/Predefined protocol) of the corresponding
"Fixed Buffer Communication" setting, a predefined
connection.
protocol is executed.
• When starting the open by using the OPEN instruction, correct the
There is an error in the usage setting area when starting
usage setting area of the control data.
C025H the open process by the OPEN instruction or
• When starting the open by input/output signals, correct the
input/output signals.
connection usage setting area of the buffer memory.
• Check that connection cable with the engineering tool is not
disconnected and read/write/verify the predefined protocol setting
An error has occurred when reading/writing/verifying the
C026H data again.
predefined protocol setting data.
• Do not write data simultaneously when writing protocol setting data
from multiple engineering tools.
• Check the operation of the transceiver and connected device.
* Use a transceiver which can perform the SQE test.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
C030H A sending error has occurred. • Check if the cable is disconnected.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Perform the self-diagnostics test to check for an error in the
Ethernet module.
• Check the operation of the transceiver and connected device.
* Use a transceiver which can perform the SQE test.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
C031H A sending error has occurred. • Check if the cable is disconnected.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Perform the self-diagnostics test to check for an error in the
Ethernet module.
318
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Check the operation of the connected device.
• Correct the TCP ULP timeout value and perform the initial process
again.
A TCP ULP timeout error has occurred in the TCP/IP
• Because there may be congestion of packets on the line, send
C032H communication. (The connected device does not send
data after a certain period of time.
an ACK response.)
• Check if the cable is disconnected.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Correct the IP address of the connected device and the Ethernet
address.
• Use the default value (FFFFFFFFFFFFH ) if the connected device
has the ARP function. If it does not have the function, set the MAC
address.
There is no connected device with the IP address that
C033H • Check the operation of the connected device.
has been set.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
• Check if the cable is disconnected.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
On the ARP table, there is no connected device with the
C034H • Decrease the number of communication destinations.
IP address that has been set.
• Check the operation of the connected device.
• Correct the settings of the alive check.
The existence of the connected device could not be
C035H
checked within the response monitoring timer value.
• Check if the cable is disconnected. 16
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check if the cable is disconnected.
• Check if there is a problem with the connection to the transceiver
319
Error
Error description Action
code
• Check the operation of the connected device.
• Check if the cable is disconnected.
C044H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check the operation of the connected device.
• Check if the cable is disconnected.
C045H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check the operation of the connected device.
• Check if the cable is disconnected.
C046H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check the operation of the connected device.
• Check if the cable is disconnected.
C047H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check the operation of the connected device.
• Check if the cable is disconnected.
C048H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• Check the operation of the connected device.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
• Check if the cable is disconnected.
C049H An error packet of ICMP was received.
• Check if there is a problem with the connection to the transceiver
or terminating resistor.
• If an alive check timeout occurs, correct the IP assembly timer
value of the connected device.
• Check the operation of the connected device.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
An error packet of ICMP was received. (An IP assembly • Check if the cable is disconnected.
C04AH
timeout error has occurred in the connected device.) • Check if there is a problem with the connection to the transceiver
or terminating resistor.
• If an alive check timeout occurs, correct the IP assembly timer
value of the connected device.
• Check the operation of the connected device.
• Because there may be congestion of packets on the line, send
data after a certain period of time.
An IP assembly timeout error has occurred. (The
• Check if the cable is disconnected.
C04BH remaining part of the divided data could not be received
• Check if there is a problem with the connection to the transceiver
and a timeout has occurred.)
or terminating resistor.
• Correct the IP assembly timer value and perform the initial process
again.
Because there is no space in the internal buffer, such as
C04CH • Send the same data again and check the receipt of a response.
the IP header buffer, data cannot be sent.
• In communications using an auto-open UDP port or
communications using a fixed buffer in the "No
• Correct the data length.
Procedure" control method, there is an error in the
C04DH • Correct the text size so that the text data size is within the receive
data length specified in the application data of the
buffer memory size.
message received by the Ethernet module.
• Not all the receive data can be stored.
320
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
When "ASCII Code" has been selected in the
• Select "Binary Code" in the Ethernet operation setting. Then
communication data code setting in the Ethernet
restart the Ethernet module to perform communications again.
C050H operation setting, ASCII code data which cannot be
• Check and correct the data sent from the connected device and
converted into binary code data has been sent from the
send it again.
connected device.
The number of read/write points is outside the allowable • Correct the number of read/write points and send the data to the
C051H
range. Ethernet module again.
The number of read/write points is outside the allowable • Correct the number of read/write points and send the data to the
C052H
range. Ethernet module again.
The number of read/write points is outside the allowable • Correct the number of read/write points and send the data to the
C053H
range. Ethernet module again.
The number of read/write points is outside the allowable • Correct the number of read/write points and send the data to the
C054H
range. Ethernet module again.
The number of file data read/write points is outside the • Correct the number of read/write points (or the number of bytes)
C055H
allowable range. and send the data to the Ethernet module again.
• Correct the start address or the number of read/write points and
• The read/write request exceeds the largest address.
C056H send the data to the Ethernet module again. (Make sure that the
• The address is 0.
request does not exceed the largest address.)
The request data length does not match with the • Check and correct the text or requested data length of the Qn
C057H
number of data in the character (a part of text). header. Then send the data to the Ethernet module again.
The request data length after the ASCII/binary
• Check and correct the text or requested data length of the Qn
C058H conversion does not match with the number of data in
header. Then send the data to the Ethernet module again.
the character (a part of text).
16
Incorrect designation of the command and
C059H • Correct the request details.
subcommand
The Ethernet module cannot read/write data from/to the
C05AH • Check the device for read/write.
specified device.
321
Error
Error description Action
code
• Read/write data without the device memory set for extension.
The device memory cannot be extended for the target • Device memory can be extended only in an Ethernet
C070H
station. module-connected station and a Q/QnACPU via CC-Link IE
Controller Network, MELSECNET/H, or MELSECNET/10.
The number of device points for data read/write set for • Correct the number of device points for data read/write and send
C071H
modules other than a Q/QnACPU is too large. the data to the Ethernet module again.
• Check whether the data can be requested to the target
Incorrect request (For example, a request for data programmable controller CPU.
C072H
read/write in bit units has been issued to a word device.) • Correct the request details and send it to the Ethernet module
again. (For example, change the subcommand.)
The Ethernet module cannot issue this request to the
target programmable controller CPU. (For example, the
C073H • Correct the request details.
number of double word access points cannot be
specified for modules other than a Q/QnACPU.)
This request cannot be executed to the target • Correct the network number or PC number.
C074H
programmable controller CPU. • Correct the read/write request details.
The destination IP address could not be obtained during
• Set the Station No. <-> IP information in the Ethernet module.
CC-Link IE Controller Network, CC-Link IE Field
• Change the conversion method for the CC-Link IE Controller
C080H Network, MELSECNET/H, MELSECNET/10 relay
Network, CC-Link IE Field Network, MELSECNET/H, and
communications or communications using data link
MELSECNET/10 relay communication parameters.
instructions.
The termination process for the Ethernet module is in
• Finish all the communications to perform the termination process
C081H process, and whether communications using data link
of the Ethernet module.
instructions have reached cannot be checked.
• Check if the relay station/connected station is operating normally.
(If the communication is alive, no action for this error is required.)
• Check if there is an error with the cable connection between the
The communication process was abnormally ended in own station and the connected station.
the following communications. • If the line is heavily loaded, reduce the load.
• Communications with a programming tool (UDP/IP) • Increase the number of resends for the data link instructions.
C082H
• CC-Link IE Controller Network, CC-Link IE Field • Increase the time reserved for the communication process.
Network, MELSECNET/H, MELSECNET/10 relay • For a Basic model QCPU, High Performance model QCPU,
communications Process CPU, or Redundant CPU, use Time reserved for
communication process (SD315).
• For a Universal model QCPU, configure the service processing
setting in "PLC System" under "PLC Parameter".
• Check if the relay station/connected station is operating normally.
(If the communication is alive, no action for this error is required.)
• Check if there is an error with the cable connection between the
own station and the connected station.
• If the line is heavily loaded, reduce the load.
The communication process was abnormally ended in • Increase the number of resends for the data link instructions.
C083H
communications using data link instructions. • Increase the time reserved for the communication process.
• For a Basic model QCPU, High Performance model QCPU,
Process CPU, or Redundant CPU, use Time reserved for
communication process (SD315).
• For a Universal model QCPU, configure the service processing
setting in "PLC System" under "PLC Parameter".
322
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Check if the own station/relay station/connected station is running
normally.
• Check if there is a problem with the cable connection between the
own station and the connected station.
• Increase the TCP resend timer value.
The communication process was abnormally ended in
C084H • Increase the time reserved for the communication process.
communications using data link instructions.
• For a Basic model QCPU, High Performance model QCPU,
Process CPU, or Redundant CPU, use Time reserved for
communication process (SD315).
• For a Universal model QCPU, configure the service processing
setting in "PLC System" under "PLC Parameter".
The own station's channel specified by another station
C085H in communications using data link instructions is • Execute the request from another station again.
currently in use.
A message exceeding the receive message size was
C086H • Correct the send message size of the request source.
received.
There is an error in the IP address set in the Station No. • In the Station No.<->IP information setting, set the IP addresses
<-> IP information setting for CC-Link IE Controller for the CC-Link IE Controller Network, CC-Link IE Field Network,
C087H
Network, CC-Link IE Field Network, MELSECNET/H, MELSECNET/H, and MELSECNET/10 relay communication target
MELSECNET/10 relay communications. devices.
• Increase the request interval.
There is no insufficient space in the receive buffer of the
• Decrease the number of request nodes.
relay station PC number for MELSOFT connection or
C0B2H • Wait for a response to the previous request before sending the
data link instructions, or the communication request
destination station. (Receive buffer full error)
next request. 16
• Correct the timeout value.
A request that cannot be processed was issued from • Correct the request details.
C0B3H
the programmable controller CPU. • Correct the network number or PC number.
323
Error
Error description Action
code
• Open the communication line.
C0BCH The specified communication line is closed.
• Correct the target connection number.
Requests have been accepted successively and cannot • Check if requests have been sent successively without waiting for
C0BDH
be sent. a response.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0BEH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0BFH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
The open process of the UDP connection has not been • Perform the open process.
C0C0H
completed. • Check the operation of the connected device.
• Check if a send request is being repeatedly issued.
C0C1H The transmission interval of UDP is too short.
• Increase the send interval.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0C2H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0C3H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
The UINI instruction has been executed during
C0C4H • Execute the UINI instruction after closing all connections.
communications.
• Enable the router relay function and perform the initial process.
• A send request was issued to the connected device • Set the correct data in the router relay parameter.
with the class/network address different from those of • Correct the IP address of the connected device and perform the
C0C5H the own station when the router relay function is not open process.
used. • Check if the network address is correct.
• The setting of the router relay parameter is incorrect. • After changing the network address, perform the initial process
again.
324
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0C6H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Take action such as separating networks or decreasing the
number of data sending to reduce the load on the Ethernet line.
• Consult the network administrator and reduce the load on the
Ethernet line.
C0C7H An Ethernet module system error has occurred.
• Perform the self-diagnostics test to check for an error in the
Ethernet module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0C8H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
16
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
325
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0CFH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
C0D0H Incorrect data length was specified. • Correct the specified data length.
C0D1H The number of resends is incorrect. • Correct the number of resends.
C0D2H The arrival monitoring time is incorrect. • Correct the arrival monitoring time.
• Check the specified value for the communication destination.
The number of relay stations in CC-Link IE Controller
• Correct the settings in the Station No. <-> IP information for the
C0D3H Network, CC-Link IE Field Network, MELSECNET/H,
stations between the own station and the communication
and MELSECNET/10 exceeded the allowable range.
destination.
• Check the specified value for the communication destination.
The number of relay stations in CC-Link IE Controller
• Correct the settings in the Station No. <-> IP information for the
C0D4H Network, CC-Link IE Field Network, MELSECNET/H,
stations between the own station and the communication
and MELSECNET/10 exceeded the allowable range.
destination.
C0D5H The number of retries is incorrect. • Correct the number of retries.
• Correct the settings for the communication destination.
C0D6H The network number or station number is incorrect.
• Correct the specified value for the communication destination.
• Set the parameters with the programming tool and write them to
the CPU module. Then perform communications with the
C0D7H Data were sent without the initial process completed. connected device.
• Wait for normal completion of the initial process before performing
communications with the connected device.
C0D8H The number of blocks exceeded the range. • Correct the specified value for the number of blocks.
C0D9H The subcommand value is incorrect. • Correct the specified value for the subcommand.
• Correct the IP address and host name of the Ethernet module
A response to the PING test could not be received where the PING test is executed.
C0DAH
within the time of the communication time check. • Enable the Ethernet module where the PING test is executed to
perform communications. (Complete the initial process.)
The IP address and host name of the Ethernet module • Correct the IP address and host name of the Ethernet module to
C0DBH
for the PING test are incorrect. perform the PING test.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0DCH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
326
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0DDH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Correct the specified arrival monitoring time.
Data could not be received within the specified arrival
C0DEH • Correct the specified channel number.
monitoring time.
• Check the status of the send source station and relay station.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0DFH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
327
Error
Error description Action
code
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E4H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E5H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E6H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E7H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E8H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0E9H
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
328
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0EAH
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0EBH
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0ECH
CPU. • Check if an error exists in the programmable controller CPU. If an
error exists, take the action required to correct it.
• Replace the power supply module, programmable controller CPU,
or intelligent function module.
• Check that the CPU module and each intelligent function module
16
are properly mounted on the base unit.
• Check that the programmable controller CPU is not in the reset
An error was detected in the programmable controller status.
C0EDH
329
Error
Error description Action
code
A system error (major error) was detected in the CPU
C0F3H • Remove the error cause of the CPU module in the own station.
module.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0F4H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0F5H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C0F6H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Because there may be congestion of packets on the line, send
data from the connected device after a certain period of time.
• Check if the cable is disconnected.
C0F7H An error has occurred in the self-loopback test. • Check if there is a problem with the connection to the transceiver
or terminating resistor.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C100H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Check the address of the DNS server.
• Check if communications with the DNS server can be performed
using the PING command.
C101H A response could not be received from the DNS client.
• Check if the IP addresses of the own station and the DNS server
belong to the same class. (If they belong to different classes,
check the router setting.)
330
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Check if the SMTP server name has been registered in the DNS.
• Delete the SMTP server name and change the setting to the IP
C102H A response from the SMTP layer could not be received. address setting. Then check the operation.
• Check if communications with the SMTP server can be performed
using the PING command.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C103H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
• If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C104H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
16
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C105H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
331
Error
Error description Action
code
• Check if the POP3 server name has been registered in the DNS.
• Delete the POP3 server name and change the setting to the IP
C112H A response from the POP3 layer could not be received. address setting. Then check the operation.
• Check if communications with the POP3 server can be performed
using the PING command.
• Specify the attachment on the sending side.
• Check the program on the sending side.
• If data sending using the MSEND instruction previously failed with
the sending source of the mail server, check the destination of the
An e-mail without an attachment was received. (This MSEND instruction.
C113H
error occurs when an attachment is not read normally.) • Check if the e-mail specifications, such as the encoding/decoding
style and file format, on the sending side are the same as those for
the Ethernet module.
• Receive an e-mail with an unknown destination and unknown
destination server from the SMTP server.
• Check if the file extension of the attachment is "bin" or "asc" on the
sending side.
An e-mail that was received has an attachment with an • Check that the e-mail is not compressed or encrypted.
C114H
invalid name. • Check the destination of the MSEND instruction.
• Receive an e-mail with an unknown destination and unknown
destination server from the SMTP server.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C115H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C116H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C117H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
332
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C118H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Read Mail information storage area (address: 2682H) of the buffer
C119H There is no received mail.
memory and read received e-mails remaining on the server.
• Check that the e-mail is not compressed or encrypted.
• Check if the e-mail specifications, such as the encoding/decoding
C11AH The received mail failed to be converted. style and file format, on the sending side are the same as those for
the Ethernet module.
• Check if the sending side has not divided the file.
• Receive an e-mail with an unknown destination and unknown
destination server from the SMTP server.
(The received mail is stored in the mail buffer.)
An e-mail was sent and an error mail was received from
C11BH • Check if the portion before "@" is correct in the mail address
the mail server of the destination.
setting in the parameter settings.
• Check if the portion before "@" has been registered on the
destination mail server.
333
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C134H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C135H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C136H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C137H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
The SMTP server is in process, and an error response • Check if the mail address of the Ethernet module has been
C138H
was received. (Mailbox not found) correctly set.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C139H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
The SMTP server is in process, and an error response
C13AH was received. (Exceeded the allocation of the memory • Check the status of the SMTP server.
area)
The SMTP server is in process, and an error response • Check if the mail address of the Ethernet module has been
C13BH
was received. (Illegal mailbox name) correctly set.
334
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C13CH System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Check that the port number of the POP3 server is 110. (The port
number of the Ethernet module is fixed to 110.)
C140H The POP3 server could not be opened.
• Check if communications with the POP3 server can be performed
using the PING command.
Communications cannot be performed with the POP3
C141H • Check if the POP3 server is busy.
server. (Error response)
Communications cannot be performed with the POP3
C142H • Check if the POP3 server is busy.
server. (Abort)
Communications cannot be performed with the POP3
C143H • Check if the POP3 server is busy.
server. (Reset response)
A response from the POP3 server could not be • Check for an error in the POP3 server.
C144H
received. • Check if the network is heavily loaded.
C145H Forcefully disconnected from the POP3 server • Check for an error in the POP3 server.
335
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C163H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C171H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C172H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C173H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C174H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C175H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C176H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C177H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C178H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C179H An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
336
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17AH An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17BH An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17CH An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17DH An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17EH An error was returned from the DNS server. server names) are correct.
• Check with the network administrator if the DNS function of the 16
server specified in the DNS setting is properly operating.
• Check if the IP address of the DNS server is correct.
• Check if the mail server names (SMTP server names and POP
C17FH An error was returned from the DNS server. server names) are correct.
337
Error
Error description Action
code
• Correct the specified send/receive data length and header length
The send/receive data length and header length are to values within the allowable ranges.
C1AEH
incorrect. • The send/receive data length needs to be equal to or longer than
the header length.
C1AFH The specified port number is incorrect. • Correct the specified port number.
The open process of the specified connection has been
C1B0H • Perform the close process before the open process.
already completed.
The open process of the specified connection has not
C1B1H • Perform the open process.
been completed.
The OPEN or CLOSE instruction is being executed in
C1B2H • Try again after the OPEN or CLOSE instruction is completed.
the specified connection.
Another send or receive instruction is being executed in • Change the channel number.
C1B3H
the specified channel. • Try again after the send or receive instruction is completed.
• Set the arrival monitoring time to a value within the allowable
C1B4H The specified arrival monitoring time is incorrect.
range.
Data could not be received within the specified arrival
C1B5H • Correct the specified arrival monitoring time.
monitoring time.
• Correct the specified send mail address number.
C1B6H The specified send mail address number is incorrect.
• Correct the send mail address setting in the parameter setting.
A reading operation was executed while no receiving • If there is a mail received in the mail information, execute the
C1B7H
e-mail was stored in the mail buffer data area. MRECV instruction.
The RECV instruction was executed for the channel that • Correct the execution condition of the RECV instruction.
C1B8H
had not received data. • Correct the channel number.
The OPEN instruction cannot be executed for the
C1B9H • Correct the connection number.
specified connection.
The dedicated instruction was executed with the • Execute the dedicated instruction after the initial process is
C1BAH
initialization not completed. completed.
C1BBH The target station CPU type is incorrect. • Correct the specified target station CPU type.
• Correct the remote password, and unlock/lock the remote
C200H The remote password is incorrect.
password again.
The remote password status of the port used for
C201H • After unlocking the remote password, perform communications.
communications is in the lock status.
• When accessing another station, do not set the remote password
When another station was accessed, the remote
C202H on the relay station or access station or do not execute the remote
password could not be unlocked.
password check on them.
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C203H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
• Request the lock process of the remote password from the
The device is different from the one requesting the
C204H connected device that requested the unlock process of the remote
remote password unlock.
password.
• When accessing another station, do not set the remote password
When another station was accessed, the remote
C205H on the relay station or access station or do not execute the remote
password could not be unlocked.
password check on them.
338
CHAPTER 16 TROUBLESHOOTING
Error
Error description Action
code
• Follow the procedure below.
(1) Check if each module is properly mounted on the base unit.
(2) Check if the operating environment of the Ethernet module
conforms to the general specifications of the CPU module.
C206H System error (The OS detected an error.) (3) Check if the power capacity is sufficient.
(4) Check if the hardware is normal according to the manual for
each module.
If the actions above do not solve the problem, please consult your
local Mitsubishi representative.
C207H The file name has too many characters. • Name the file with 255 characters or less.
A response could not be received within the response • Check the operation of the connected device.
C300H
monitoring timer value. • Correct the response monitoring timer value.
• Check that Predefined protocol ready (X1D) has turned on before
executing the ECPRTCL instruction.
C400H Protocol not-ready error • Execute the ECPRTCL instruction after rewriting the protocol
setting data to the Ethernet module.
• If an error still occurs even after rewriting, replace the module.
• Correct the specified protocol number and execute the protocol
again.
C401H Protocol unregistered error
• Register the corresponding protocol to the specified protocol
number.
C402H Protocol setting data error • Correct the protocol setting data and register it again.
• Do not execute dedicated instructions which do not support
simultaneous execution.
16
C403H Simultaneous dedicated instructions execution error
• Correct the specified connection number and execute the
dedicated instruction again.
• Check the canceled protocol in the control data of the ECPRTCL
339
Error
Error description Action
code
• Write the data again.
C420H Flash ROM write error
• If an error still occurs even after rewriting, replace the module.
• Replace the module because the number of writes exceeded the
C421H Flash ROM write count over limit error
limit.
Protocol setting data writing during the ECPRTCL • If the ECPRTCL instruction is under execution, cancel the
C430H
instruction execution instruction and write the protocol setting data.
• Check the operation of the connected device.
Connection close during the ECPRTCL instruction • Check the connection open status with the connected device.
C431H
execution • Open the connection with the connected device again and execute
the instruction.
D000H
to (Errors detected by CC-Link IE Field Network) • Refer to the manual for each module.
DFFFH
E000H
to (Errors detected by CC-Link IE Controller Network) • Refer to the manual for each module.
EFFFH
F000H
(Errors detected by the MELSECNET/H and • Refer to the MELSECNET/H or MELSECNET/10 network system
to
MELSECNET/10 network system) reference manual, and take corrective action.
FFFFH
Remark
The error codes listed in the table include those returned to the connected device. Each buffer memory may also store the
error numbers of the response messages returned from the connected device. If an error code other than those listed is
stored, check the manual for the connected device and the response message from the connected device.
340
CHAPTER 16 TROUBLESHOOTING
Items such as the module status, parameter settings, communication status, and error history of an E71 can be
checked. Perform the diagnostics in the "Ethernet Diagnostics" window of the programming tool.
16
Item Description
button The COM.ERR. LED is turned off. ( Page 342, Section 16.8)
Remark
For each window and detailed explanations, refer to the following.
Operating manual for the programming tool used
341
16.8 How to Turn Off the COM.ERR. LED
The COM.ERR. LED turns on when an error occurs during communications with the connected device. The
COM.ERR. LED does not turn off even after the error cause is removed. Turn it off using the following methods.
[COM.ERR.] LED ON
signal (X1C)
342
APPENDICES
APPENDICES A
Calculate the minimum processing time for each function using the expressions below. Note that the processing time
may become longer depending on the load factor on the network (how congested the line is), the window size of each
connected device, the number of connections, and system configuration. Use the values obtained from the
expressions as a guideline for the processing time when communications are performed in only one connection.
• Tfs : The time from the start of sending to the completion of sending (unit: ms)
• St : Sending station scan time
• Ke, Kdf : Constant (Refer to the table below.)
• Df : Number of send data words
• Sr : Receiving station scan time
(b) No procedures
Tfs = St + Ke + (Kdf × Df)
• Tfs : The time from the start of sending to the completion of sending (unit: ms)
• St : Sending station scan time
• Ke, Kdf : Constant (Refer to the table below.)
• Df : Number of send data bytes
[Calculation example]
The time between the QJ71E71-B5 sending 1017-word data of a binary code and it completing the sending
when the QJ71E71-B5 communicates with another QJ71E71-B5 in TCP/IP by the "Procedure Exist" method
(unit: ms)
Assume that the scan time on the sending side is 10ms, and the scan time on the receiving side is 8ms.
63.34 (ms) 10 + 25 + (0.020 × 1017) + 8
343
(2) Minimum processing time of communications using a random access buffer
Trs = Kr + (Kdr × Df) + ACK processing time of a connected device (added only for TCP/IP communications)
• Trs : The time between the E71 receiving request data from a personal
computer and it completing the process (unit: ms)
• Kr, Kdr : Constant (Refer to the table below.)
• Df : Number of request data words
• ACK processing time of the : The time between a random access buffer reading/writing
connected device completed and the connected device returning ACK
[Calculation example 1]
The time between the QJ71E71-B5 receiving request data from a personal computer and it completing reading
when the QJ71E71-B5 communicates with the personal computer in TCP/IP and reads 508-word data of a binary
code from a random access buffer (unit: ms)
13.46 + ACK processing time of the connected device (ms) 9.4 + (0.008 × 508) + ACK processing time of the
connected device
[Calculation example 2]
The time between the QJ71E71-B5 receiving request data from a personal computer and it completing writing
when the QJ71E71-B5 communicates with the personal computer in TCP/IP and writes 508-word data of a binary
code to a random access buffer (unit: ms)
16.61 + ACK processing time of the connected device (ms) 9.5 + (0.014 × 508) + ACK processing time of the
connected device
344
APPENDICES
• Tfs : The time between the E71 receiving request data from a personal computer and it
completing the process (unit: ms)*1
• Ke, Kdt : Constant (Refer to the table below.)
• Df : Number of request data words + number of response data words (Application data
part)
• Scr : CPU module processing time
(a) When the target station is the QCPU
• Own station access: E71-mounted station scan time
• Another station access over MELSECNET/10: Transmission delay time +
E71-mounted station scan time
(b) When the target station is in a redundant system and data is sent through a
tracking cable*2
• Own station access: Control system CPU module scan time + tracking transfer
time
• Another station access over MELSECNET/10: Transmission delay time + control
system CPU module scan time + tracking transfer time
*1 The time from when the E71 receives the request data from the personal computer until it completes the process is
shown below.
Connected device
(personal computer) Command ACK Response ACK
message (TCP only) message (TCP only)
E71
Step 0 Step 0
END END
CPU module scan time
Tfs
*2 When data is sent through the tracking cable of a redundant system, add the tracking transfer time. For data transfer
time of when the tracking cable is used, refer to the following.
QnPRHCPU User's Manual (Redundant System)
345
[Calculation example 1]
The time between the QJ71E71-B5 receiving request data from a personal computer and it completing reading
when the QJ71E71-B5 communicates with the personal computer in TCP/IP and reads 100-point data of an
ASCII code from the data register (D) in the own station (unit: ms)
Assume that the scan time of the QJ71E71-B5-mounted station is 10ms, the command data length is 21 words,
and the response data length is 211 words.
37.64 + ACK processing time of the connected device (ms) 23 + (0.020 × (21 + 211)) + 10 × 1 + ACK
processing time of the connected device
[Calculation example 2]
The time between the QJ71E71-B5 receiving request data from a personal computer and it completing writing
when the QJ71E71-B5 communicates with the personal computer in TCP/IP and writes 100-point data of an
ASCII code to the data register (D) in the own station (unit: ms)
Assume that the scan time of the QJ71E71-B5-mounted station is 10ms, the command data length is 221 words,
the response data length is 11 words, and writing during RUN is enabled.
40.58 (ms) 22 + (0.037 × (221 + 11)) + 10 × 1
346
APPENDICES
(a) QJ71E71-100
*1 When data is sent through the tracking cable of a redundant system, add the tracking transfer time. For data transfer
time of when the tracking cable is used, refer to the following.
QnPRHCPU User's Manual (Redundant System)
*2 The processing time of the ECPRTCL instruction differs depending on a connected device or a protocol.
347
(b) QJ71E71-B5, QJ71E71-B2
*1 When data is sent through the tracking cable of a redundant system, add the tracking transfer time. For data transfer
time of when the tracking cable is used, refer to the following.
QnPRHCPU User's Manual (Redundant System)
348
APPENDICES
The following shows the timing for system switching operation if an alive check error occurs.
Connected device
Operating as
QJ71E71-100 (station No.2) Operating as a standby system a control system
Tnc
349
• When a ULP timeout occurs
Tnc = Ttu + St + Tsw
The following shows the system switching operation timing if a ULP timeout occurs.
Connected device
A communication
error occurred.
Ttu
Issuing a system
switching request
350
APPENDICES
The following shows the system switching operation timing if disconnection is detected.
Connected device
Disconnected
Tracking cable
Td
Issuing a system
switching request
351
Appendix 2 Port Numbers Used for the E71
The following table lists port numbers reserved for an E71 system.
Ex. The port number can be changed by overwriting the buffer memory address, Automatic open UDP port
number (address: 14H).
352
APPENDICES
Function
Page 87,
version B or Version 7
Support for IEEE 802.3 frame Section
later of or later
7.1.3
"03102"
Function
Reinitialization Page 360,
version B or
process with Appendix
Function later of
the program 4.2
version B or "03061"
Reinitialization later of Function
"03102" Page 279,
process with version B or
Section
the UINI later of
15.13
instruction "03102"
Reinitialization
process of the Changing the
E71 transmission Function
Page 279,
speed and the version D or
× × Section
communication later of
15.13
mode with the "11012"
UINI instruction
Function Function
TCP Maximum Page 360,
version B or version B or
353
Version of E71 Version of Version of GX Version of GX
Function Reference
QJ71E71-100 QJ71E71-B5 QJ71E71-B2 CPU module Developer Works2
354
APPENDICES
Function
Page 38,
Receive buffer full detection signal version D or
× × Section
(address: 5240H) later of
3.5.2
"17032"
355
Appendix 4 Initial Process
The initial process is for enabling data communications with connected devices by setting the minimum number of
parameters for the E71. For the Q Series, a program for the initial process is not required because the initial process is
automatically performed.
If the initial process is not normally completed, correct the set values of parameters listed in Chapter 7 and those
in the initial process setting parameter described in this chapter. After correcting the parameters, write them to the
CPU module again, power off and on the CPU module or reset the CPU module.
Configure the setting in the initial setting window. Each setting time is calculated by "setting value × 500ms".
356
APPENDICES
*1 The DNS setting is configured for using the e-mail function. For details, refer to the following.
MELSEC-Q/L Ethernet Interface Module User's Manual (Application)
357
(1) Precautions for settings
• Specify the setting value of each timer on the E71 side so that the following formula is met.
Response TCP IP
TCP ULP TCP end
monitoring resend assembly
timer value timer value
timer value timer value timer value
TCP
TCP zero window
resend = timer value
timer value
When connecting Mitsubishi products to the line, configure the same settings for both modules.
• Specify the setting value of each timer on the connected device side so that the following formula is met. The
frequency of a communication error, such as a transmission timeout, may be higher if the timer values do not
meet the formula.
TCP ULP
TCP resend timer value
timer value on
on the E71
the connected device
*1 "n" is the number of TCP segment transmission and is calculated by the following formula.
Ex. The number of TCP segment transmission when communications are performed on the same line
The Maximum Segment Size is 1460 bytes on the same line (without a router) and the number of TCP
Segment transmission is as follows.
• n = 1 when the size of the message sent by the E71 is 1460 bytes or less
• n = 2 when the size of the message sent by the E71 is greater than 1460 bytes
Ex. The number of TCP segment transmission when communications are performed on a different line
The Maximum Segment Size is at least 536 bytes on another line (via a dialup router or other
communication device) and the number of TCP Segment transmission is as follows.
• n = 1 when the size of the message sent by the E71 is 536 bytes or less
• n = 2 when the size of the message sent by the E71 is greater than 536 bytes and no more than
1072 bytes
• n = 3 when the size of the message sent by the E71 is greater than 1072 bytes and no more than
1608 bytes
358
APPENDICES
• When a communication failure occurs due to a problem such as noise, change the value so that the number
of retries may increase. The number of retries is obtained using the following formula. (When using the A
default values, 3 = (60 20))
Number of retries = TCP ULP timer value TCP resend timer value
Ex. When the number of retries is three and data sending fails, a data sending error occurs at the timing
shown in the figure below (in communications using the fixed buffer).
BUFSND instruction
1 scan
BUFSND instruction
Completion device + 1
E71
Data 1st retry 2nd retry 3nd retry
command
A A A
• When not performing the above retry process (set 0 times), configure the setting so that the following
359
Appendix 4.2 Reinitialization process
The reinitialization process sets the E71 to the status after startup without restarting the programmable controller (or
resetting the CPU module). Perform the reinitialization process using a program.
*1 MAC address is unique to a device. No devices share the same MAC address.
360
APPENDICES
Close process
Completion device
Reinitialization specification
(address: 1FH (b15))
4 5
Processing reinitialization
Internal process of the E71 Requesting
reinitialization Initializing the module
Do not use the method using the dedicated instruction (UINI instruction) and the method by writing directly to the buffer
memory together.
361
(c) Using the dedicated instruction (UINI instruction)
The following shows an example where the reinitialization process is performed using the UINI instruction and
the OPEN instruction is executed after the process is completed. (When the I/O signals of the E71 are X/Y00 to
X/Y1F)
362
APPENDICES
A
Process upon completion
Communications enabled
363
(d) Writing directly to the buffer memory
The following shows an example where the stored values in the TCP Maximum Segment Transmission setting
area and Communication condition setting (Ethernet Operation Setting) area is changed (when the I/O signals
of the E71 are X/Y00 to X/Y1F). Create a program with a contact (such as a flag for user) indicating the status
of the open completion signal storage area.
Reinitialization process
request
Communications enabled
364
APPENDICES
Remark A
This is a sample program for communications using connection numbers 1 and 2. When using another connection number,
specify the corresponding signals and bits.
(3) Precautions
To perform communications over Ethernet using a MELSOFT product other than those listed above, select
"Disable TCP Maximum Segment Size Option transmission" or use UDP/IP communications. When "Enable
TCP Maximum Segment Size Option transmission" is selected, the program may not be normally read/written.
365
Appendix 5 Line Status Check
The E71 line status, parameter settings, and progress of the initial process can be checked. The following two
methods can be used to check the line status.
• PING test
• Loopback test
Programming tool
E71
*1 This also applies to QnA/A series modules. However, for an AJ71E71, AJ71E71-B2, and AJ71E71-B5, software
versions S and later are required.
(a) Applications
The line status between the programming tool (personal computer) and the E71 can be checked.
366
APPENDICES
367
4. The test results are displayed.
368
APPENDICES
Programming tool
CPU module
E71
(PING test target station)
*1 This also applies to QnA/A series modules. However, for an AJ71E71, AJ71E71-B2, and AJ71E71-B5, software
versions S and later are required.
*2 The PING test cannot be executed on the own station.
(a) Applications
By specifying the execution station and the target station, the PING test can be executed from a remote device.
369
2. Configure the settings and click the
button.
370
APPENDICES
371
Appendix 5.2 Loopback test
*1 Because the E71 of function version A and QnA/A series modules do not have a function for responding to this request,
the test results cannot be checked.
(a) Applications
The test can be executed only by specifying the network number for the test and target station number range.
For the E71-mounted station subjected to the loopback test, do not specify the MELSOFT application transmission port
(UDP/IP) as a valid port for the password check. The loopback test cannot be executed.
372
APPENDICES
373
(c) Action for abnormal end
If the loopback test fails, "No response" or an error code is displayed.
For an E71 where the loopback test failed, check the error and take corrective action. Then restart the E71-mounted station.
Restarting the E71 executes the initial process. To check whether the initial process has been completed in the E71, perform
the PING test. The PING test can be also performed on the "Loopback Test" window.
374
APPENDICES
Ethernet
QCPU E71 QCPU E71 QCPU E71 (Loopback test target station)
When the user port on the E71 side is used to perform MC protocol communications, the line connection process is
necessary. Execute the open process for the connection used for the E71 side.
375
Appendix 6 Self-Diagnostic Tests
This section describes the self-diagnostic tests to check data communications and hardware of an E71.
Hardware including the E71 communication circuit is checked. Send the test message destined to the own station of
the E71 to the line. Then check whether the same message can be received over the network.
If an error is detected in the self-loopback test, the following causes are possible. The error information is stored
in Error log area (address: E5H) in the buffer memory.
• E71 hardware error
• Ethernet line error
• External power supply 12VDC error (only 10BASE5)
There is no hardware-related problem even when the self-loopback test is executed while the destination is online. Because
a packet collision occurs when there are many packets on the line, the test may fail or may not be completed in five seconds.
In this case, execute the test after stopping data communications between other devices.
376
APPENDICES
If the test fails, perform it again. If it fails again, there may be a hardware problem with the E71. Please consult your local
Mitsubishi representative.
377
Appendix 7 Differences from Ethernet Modules of Other
Series
This section describes the differences between an E71 and Ethernet modules of other series.
For comparison of the specifications and functions between an E71 and a Built-in Ethernet port QCPU, refer to the
following.
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
This section provides the functional comparison between an E71 and QnA/A series modules and precautions for using
the same program. The QnA/A series modules are the following products.
378
APPENDICES
AJ71E71-S3, QE71(N)
Function AJ71E71 E71
AJ71E71N 9706 or earlier 9706B or later
Procedure Exist *2
Communications using a
fixed buffer *2
No Procedure ×
MC protocol communications *3 *3
Web function × × × ×
Broadcast communications ×
Pairing open ×
Unit of each timer setting 500ms ×*5 (Fixed) (Fixed) (Fixed)
value for data
communications 2s (Fixed) × × ×
Connection to TCP/IP × × × ×
MELSOFT products UDP/IP ×
379
*1 For the E71, the number of connections for the open process from the CPU module has increased to 16 connections.
*2 Compatible with the I/O signal and QE71(N) buffer memory
*3 Data of up to 960 words can be read from/written to an E71, and up to 480 words in a QE71(N).
*4 Availability depends on the CPU module and programming tool version.
*5 This applies to a module with the software version of Q or earlier.
*6 No EEPROM is installed. Items registered in the EEPROM of a QE71(N) are set using the parameter settings of the
programming tool.
*7 This applies to a module with the software version of E or later.
*8 This function can be used in an E71 with a serial number (first five digits) of “05051” or later. If the E71 cannot
communicate data when combined with a certain connected device, the setting can be changed in the buffer memory
(address: 1EH). ( Page 38, Section 3.5.2) After changing the setting, execute the reinitialization process.
*9 Only the QJ71E71-100 can be used.
Availability depends on the QJ71E71-100 and a programming tool version ( Page 353, Appendix 3).
The response performance of the E71 to connected devices is faster than that of the A/QnA series modules. When the E71
is used, the compatibility with the A/QnA series modules cannot be precisely maintained. If there is a problem due to the
performance of the connected device, create a timing similar to that of the existing system using the CPU module constant
scan setting.
: Communications allowed by using the program for an AJ71E71(-S3) and AJ71E71N on the connected device side,
-: Not allowed to use
Connected E71
AJ71E71(-S3), E71 AJ71E71(-S3),
Function device connected
AJ71E71N E71 AJ71E71N
E71 device
Communications using a fixed buffer
("Procedure Exist")
Communications using a random
- - -
access buffer
*1 Only A-compatible 1E frame commands can be used for data communications. To perform data communications using a
command other than the A-compatible 1E frame commands, create a new program.
380
APPENDICES
(b) QE71(N)
Program of connected devices
A
Programs of the connected devices for a QE71(N) can be used for communications with the E71 except for the
following programs.
• Program for file operation-related commands
• Program to access the data link system (A QCPU (Q Mode) cannot be connected to MELSECNET (II) or
MELSECNET/B.)
However, because the response speed of an E71 is different from that of a QE71(N), the program may not be
used as is. Before using the same program, check the operation.
• Because a QE71(N) operates with all of its communication condition setting switches off, set the
communication conditions using the reinitialization process.
• When MELSOFT products (such as a programming tool) are directly connected to an E71, the
MELSOFT products (such as a programming tool) cannot access a QCPU.
• To set the parameters of an E71 using the programming tool, delete the programs for the initial process
and the termination process.
• Programs for the QE71(N) in the own station can be used for communications with an E71 except for the
following programs.
● For an E71, set the operation mode and communication conditions using the programming tool. Settings cannot be
configured using a switch unlike QnA/A series modules. (There is no switch for settings.)
● For an E71, after the Passive open process is executed, the open request cannot be canceled before open completion.
After the open completion, execute the close process.
381
Appendix 8 Operation Image and Data Structure of
Predefined Protocol
In the predefined protocol function, communications with connected devices is performed through the communication
type "Send Only", "Receive Only", or "Send&Receive".
This section describes the operation images of each communication type.
Send data
Connected
E71 Data Header device
ECPRTCL instruction
Completion device
Completion device + 1
E71
Send packet
Connected device
Send packet
382
APPENDICES
Completion device
The device
turns on upon
abnormal end.
Completion device + 1
Waiting time
to send t: TCP ULP timer
E71
Send packet
For an error occurred when the communication ends abnormally, refer to the error code stored in the buffer memory.
( Page 316, Section 16.6.3)
383
(2) When the communication type is "Receive Only"
The receive process completes when the data received from a connected device match the receive packet
(expected packet). If they do not match, the data are discarded.
Received
ECPRTCL instruction
Completion device
Completion device + 1
E71
Receive data
384
APPENDICES
Completion device
The device
turns on upon
Completion device + 1 abnormal end.
*1 When the receive packet (expected packet) is not matched to the data by the waiting time to receive or when the
existence of a connected device cannot be checked within the time specified by the destination alive check timer (the
time calculated based on the destination existence confirmation starting interval timer value, destination existence
confirmation interval timer value, and Destination existence confirmation resending time), the instruction ends
abnormally.
● When variables are included in receive packet (expected packet) elements, variable data are not verified.
● Receive packets (expected packets) can be specified up to 16.
● When multiple receive packets (expected packets) are specified, the received data are verified with the registered receive
385
(3) When the communication type is "Send&Receive"
When the packet is sent once and the sending completes normally, the status of the E71 changes to the receive
wait status. The process completes when the data received from a connected device match the receive packet
(expected packet) and the receive process is performed.
Data Header
Receive data 1
Connected
Not matched Header Data
Receive packet device
(expected packet)
Discarded
Data Receive data 2
Received
ECPRTCL instruction
Completion device
Completion device + 1
E71
Send packet Receive data
386
APPENDICES
Completion device
The device turns on
upon abnormal end.
Completion device + 1
Waiting time
to send t: TCP ULP timer
E71
Send packet
(c) When the instruction ends abnormally (timeout error of waiting time to receive)
An error has
ECPRTCL instruction occurred.
Completion device
The device
turns on upon
Completion device + 1 abnormal end.
E71
Send packet
Connected device
Send packet Receive data Receive data
*1 When the receive packet (expected packet) is not matched to the data by the waiting time to receive or when the
existence of a connected device cannot be checked within the time specified by the destination alive check timer (the
time calculated based on the destination existence confirmation starting interval timer value, destination existence
confirmation interval timer value, and Destination existence confirmation resending time), the instruction ends
abnormally.
For the error occurred when the communication ends abnormally, refer to the error code stored in the buffer memory.
( Page 316, Section 16.6.3)
387
Appendix 8.2 Verification operation of receive packet
This section describes the verification operation for a receive packet (expected packet) when the E71 communicates
with a connected device with protocols whose communication type includes receiving.
(1) When received data are matched to a receive packet (expected packet)
The receive process is completed when the receive data are compared with the receive packet (expected
packet), and they are matched.
Receive packet
(expected packet)
Matched
Receive packets
(expected packets) No.1 No.2 No.3 No.16
Sixteen receive
Not matched Matched packets can be
registered.
(3) When received data are not matched to all receive packets (expected packets)
The received data are discarded.
388
APPENDICES
(1) Length
(a) Procedures
The E71 processes a Length element as follows.
Forward direction
Sending Connected device
30H
31H "3210" "0123"
32H 33H 32H 31H 30H
Length calculation result 33H
Conversion to 33H
ASCII
32H "0123" "3210"
hexadecimal
31H 30H 31H 32H 33H
"0" (30H)
30H
"1" (31H)
"2" (32H)
Byte swap
"3" (33H)
32H
31H
"0123" 123H
32H
33H
Connected device Sending
Reverse direction
33H
"0123"
32H
33H 32H 31H 30H "3210" 3210H
31H
30H
Byte swap
32H
33H
"2301" 2301H
30H
31H
389
(b) Data flow
Data Flow is used to specify the order of send data and receive data.
"Forward Direction (Upper ByteLower Byte)", "Reverse Direction (Lower ByteUpper Byte)", and "Byte
Swap (by Word)" can be used as the Data Flow.
• Forward Direction and Reverse Direction: Available when the Data Length is 2 bytes or more.
• Byte Swap: Available only when the Data Length is 4 bytes.
Calculating
range for
the length
Example 1
390
APPENDICES
When the setting for "Unit of Stored Data" is "Lower Byte + Upper Byte"
• When the data length of a send packet is an odd number, the upper byte (lower byte for "Byte Swap") of
the last device is not sent.
• When the data length of a receive packet is an odd number, the last data is stored with one byte of 00H.
Connected
No byte swap Send data device
(Word) Specified device
Data length storage area +0 0005H 06H 05H 04H 03H 02H 01H
Data storage area +1 0201H ↑
Sending Data are not sent.
+2 0403H ↓
+3 0605H 05H 06H 03H 04H 01H 02H
Byte swap
When the setting for "Unit of Stored Data" is "Lower Bytes Only"
• Twice the size of the data length is occupied.
For the upper data, the E71 ignores the data at sending and adds 00H to the data at receiving.
391
(3) Non-verified Reception
The following shows the usage example for a Non-verified Reception element.
Variable number of
1 byte 2 bytes 2 bytes 5 bytes 5 bytes characters 1 byte
Identification Country Manufacturer Product
STX code code code code EXT
Reading data
Setting the packet format as above and setting the "Non-verified Reception" enable the followings.
• Only necessary information can be stored in a device of the CPU module or the buffer memory.
• Only one protocol (packet) is required even when the data that may change in each communication are
included in the receive packet.
392
APPENDICES
393
3. Use a function to write the program that reads the
device data.
The following sample program is used to read D0 to D4 (five points) of a target programmable controller using a logical
station number.
Button1 or Command1:
Connects the communication line.
Button2 or Command2:
Reads the device data.
Button3 or Command3:
Cuts off the communication line.
ACT control (ActEasyIF): ACT control for the utility setting type
394
APPENDICES
'Connection
rtn = AxActEasyIF1.Open()
If rtn = 0 Then
MsgBox("The Connection was successful")
Else
MsgBox("Connection Error:" & Hex(rtn))
End If
End Sub
395
Private Sub Command3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Command3.Click
' ****************************************
' Disconnection
' *****************************************
Dim rtn As Integer
'Disconnection
rtn = AxActEasyIF1.Close()
If rtn = 0 Then
MsgBox("The disconnection was successful")
Else
MsgBox("Disconnection Error:"& Hex(rtn))
End If
End Sub
396
APPENDICES
//Get LogicalStationNumber
axActEasyIF1->ActLogicalStationNumber=Convert::ToInt32(textBox1->Text);
//Connection
iRet = axActEasyIF1->Open();
if( iRet == 0 ){
MessageBox::Show("The connection was successful" );
} else {
MessageBox::Show( String::Format( "Connection Error:0x{0:x8} [HEX]", __box
(iRet) ) );
}
}
//****************************************
//Read
//****************************************
private: System::Void button2_Click(System::Object * sender, System::EventArgs * e)
{
397
// Result display data is stored.
for( iNumber = 0 ; iNumber < 5 ; iNumber++ )
{
lpszarrData[ iNumber ] = sData[ iNumber ].ToString();
}
szReadData = String::Join(",",lpszarrData);
MessageBox::Show(String::Format("D0-D4 = {0}",szReadData));
} else {
MessageBox::Show( String::Format( "Read Error:0x{0:x8} [HEX]", __box(iRet) ) );
}
}
//****************************************
//Disconnection
//****************************************
private: System::Void button3_Click(System::Object * sender, System::EventArgs * e)
{
int iRet;
//Disconnection
iRet = axActEasyIF1->Close();
if( iRet == 0 ){
MessageBox::Show( "The disconnection was successful" );
} else {
MessageBox::Show( String::Format( "Disconnection Error:0x{0:x8} [HEX]", __box
(iRet) ) );
}
}
398
APPENDICES
The following shows a sample program for the connected device on the same Ethernet network as the E71. Each
program example describes only the minimum programming that is required to perform a communication test. Change
the IP address, port number and other values according to the system configuration used. Other processes such as a
process performed upon an error can be added.
For Ethernet communications, the TCP socket functions are used inside the personal computer. However, these functions
do not have any limit. Therefore, when the "send" function is executed once to transmit data, the receiving side needs to
execute the "recv" function once or more to read the data ("send" and "recv" are not proportional to 1:1 execution). For this
reason, the receive process above is required.
399
(2) When the receive process of the connected device is not supported
When the receive process of the connected device is not the one shown in (1), the following may occur when
"Enable TCP Maximum Segment Size Option transmission" is set for communications.
• When batch reading is executed from the connected device using the MC protocol, data cannot be
normally read.
• After replacing the E71 (which does not support the TCP Maximum Segment Size Option transmission
function) with the alternative module supporting the function, data cannot be normally read.
• Even though the value in Received TCP packet count (Address: 1B8H and 1B9H) in the buffer memory
was changed, data cannot be received.
If these errors occur, select "Disable TCP Maximum Segment Size Option transmission".
400
APPENDICES
This section describes the program execution environment, data communication details, and a sample program for
when Visual C++®.NET is used on the program of a connected device.
Item Description
A model name of the QCPU in the E71-mounted station Q25HCPU
E71 I/O signal X/Y00 to X/Y1F
E71 IP address C0.00.01.FDH (192.00.01.253)
Ethernet operation
Refer to (3)(a) in this section.
Programming tool setting setting
Open setting Refer to (3)(b) in this section.
Item Description
401
(3) Programming tool setting
Set the parameters using the programming tool as shown below.
402
APPENDICES
Remark
● The following is an outline of how to compile a program created using Microsoft® Corporation Visual C++®.NET.
• Start Visual C++®.NET.
• Create a project. From [File][New][Project], select ".NET" in "Project Types" and "Empty Project" in
"Templates", and set the project name (e.g. AJSAMP) and location.
• Create a source file. Open Solution Explorer. Then right-click Source Files and select [Add][Add New Item]. Set
the file name (e.g. AJSAMP.cpp) and location, and create a program according to the program example.
• From the project setting window, get WSOCK32.LIB linked. Open Solution Explorer. Then right-click the project
name (AJSAMP) and select [Properties][Configuration Properties][Linker][Command Line]. Type
WSOCK32.LIB in Additional Options and press the OK button.
• On the Build menu, click Build Solution to create an execution file (AJSAMP.EXE).
• Exit Visual C++®.NET.
• Execute AJSAMP.EXE.
● The following is an outline of how to implement a socket routine call.
Start
accept()
(Close) closesocket
Completed
403
/**************************************************************************/
/** Sample program (program name: AJSAMP.CPP) **/
/** **/
/** This program is a sample program to conduct a **/
/** connection test between the E71 and target device. **/
/** This program accesses the data register (D) of **/
/** the PLC CPU installed together with the E71 **/
/** **/
/** Copyright(C) 2005 Mitsubishi Electric Corporation **/
/** All Rights Reserved **/
/**************************************************************************/
#include <stdio.h>
#include <winsock.h>
404
APPENDICES
int main()
{
WORD wVersionRequested=MAKEWORD(1,1); // Winsock Ver 1.1 request
WSADATA wsaData;
int length; // Communication data length
unsigned char s_buf[BUF_SIZE]; // Send buffer
unsigned char r_buf[BUF_SIZE]; // Receive buffer
int rbuf_idx; // Receive data storage head index
int recv_size; // Number of receive data
struct sck_inf sc;
struct sockaddr_in hostdata; // External device side data
struct sockaddr_in aj71e71; // E71 side data
void Sockerror(int); // Error handling function
if(nErrorStatus!=SOCK_OK) {
Sockerror(ERROR_INITIAL); // Error handling
return(SOCK_NG);
}
if(socketno==INVALID_SOCKET){
Sockerror(ERROR_SOCKET); // Error handling
return(SOCK_NG);
}
405
hostdata.sin_family=AF_INET;
hostdata.sin_port=sc.my_port;
hostdata.sin_addr.s_addr=sc.my_addr.s_addr;
if(bind(socketno,(LPSOCKADDR)&hostdata,sizeof(hostdata))!=SOCK_OK){
// Bind
Sockerror(ERROR_BIND); // Error handling
return(SOCK_NG);
}
aj71e71.sin_family=AF_INET;
aj71e71.sin_port=sc.aj_port;
aj71e71.sin_addr.s_addr=sc.aj_addr.s_addr;
if(connect(socketno,(LPSOCKADDR)&aj71e71,sizeof(aj71e71))!=SOCK_OK){
// Connection (Active open)
Sockerror(ERROR_CONNECT); // Error handling
return(SOCK_NG);
}
406
APPENDICES
if(length == SOCKET_ERROR) {
nErrorStatus = WSAGetLastError();
if(nErrorStatus != WSAEWOULDBLOCK) {
Sockerror(ERROR_RECEIVE); // Error handling
return (SOCK_NG);
} else {
continue; // Repeat until messages are received
}
} else {
rbuf_idx += length; // Update the receive data storage
// position
407
// Perform receiving size check and receiving processing simultaneously
rbuf_idx = 0; // Receive data storage head index
// initialization
recv_size = 0; // Initialize the number of receive data
while(1) {
length = recv(socketno, (char*)(&r_buf[rbuf_idx]), (BUF_SIZE - rbuf_idx), 0);
// Response data receiving
if(length == 0) { // Is connection cut off?
Sockerror(ERROR_RECEIVE); // Error handling
return (SOCK_NG);
}
if(length == SOCKET_ERROR) {
nErrorStatus = WSAGetLastError();
if(nErrorStatus != WSAEWOULDBLOCK) {
Sockerror(ERROR_RECEIVE); // Error handling
return (SOCK_NG);
} else {
continue; // Repeat until messages are received
}
} else {
rbuf_idx += length; // Update the receive data storage
// position
recv_size += length; // Update the number of receive data
if(recv_size >= RECV_ANS_2) // Have all response messages been
// received?
break; // Stop repeating as messages have
// been received
}
}
r_buf[rbuf_idx] = '\0' ; // Set NULL at the end of receive data
408
APPENDICES
return(SOCK_OK);
}
409
Appendix 10.2 When Visual C++®.NET is used (redundant system)
This section describes the program execution environment, data communication details, and a sample program
for when Visual C++®.NET is used on the program of the connected device.
Item Description
A model name of the QCPU in the E71-mounted station Q25PRHCPU
E71 I/O signal X/Y00 to X/Y1F
System A C0.00.01.FCH (192.00.01.252)
E71 IP address
System B C0.00.01.FDH (192.00.01.253)
Ethernet operation
Refer to (3)(a) in this section.
setting
Programming tool setting
Open setting Refer to (3)(b) in this section.
Redundant setting Refer to (3)(c) in this section.
Item Description
410
APPENDICES
411
(c) Redundant setting
Remark
The following is an outline of how to compile a program created using Microsoft® Corporation Visual C++®.NET.
• Start Visual C++®.NET.
• Create a project. From [File][New][Project], select ".NET" in "Project Types" and "Empty Project" in
"Templates", and set the project name (e.g. QJSAMP) and location.
• Create a source file. Open Solution Explorer. Then right-click Source Files and select [Add][Add New Item]. Set
the file name (e.g. QJSAMP.cpp) and location, and create a program according to the program example.
• From the project setting window, get WSOCK32.LIB linked. Open Solution Explorer. Then right-click the project
name (QJSAMP) and select [Properties][Configuration Properties][Linker][Command Line]. Type
WSOCK32.LIB in Additional Options and press the OK button.
• On the Build menu, click Build Solution to create an execution file (QJSAMP.EXE).
• Exit Visual C++®.NET.
• Execute QJSAMP.EXE.
412
APPENDICES
/**************************************************************************/
A
/** Sample program (program name: QJSAMP.CPP) **/
/** **/
/** This program is a sample program for testing the **/
/** connection of the E71 and external device. **/
/** This program accesses the data registers (D) of **/
/** the redundant CPU (control system) mounted with the E71. **/
/** **/
/** Copyright(C) 2005 Mitsubishi Electric Corporation **/
/** All Rights Reserved **/
/**************************************************************************/
#include <stdio.h>
#include <winsock.h>
413
int CloseflagA; // Connection end flag (for System A connection)
int CloseflagB; // Connection end flag (for System B connection)
int socketnoA;
int socketnoB;
int ConnectLastErrorA; // Connect processing error information (for System A connection)
int ConnectLastErrorB; // Connect processing error information (for System B connection)
int SendFlag; // Send completion flag
int main()
{
WORD wVersionRequested = MAKEWORD(1, 1); // Winsock Ver 1.1 request
WSADATA wsaData;
int length; // Communication data length
unsigned char s_buf[BUF_SIZE]; // Send buffer
unsigned char r_bufA[BUF_SIZE],r_bufB[BUF_SIZE]; // Receive buffer
struct sck_inf scA,scB;
struct sockaddr_in hostdataA,hostdataB; // External device side data
struct sockaddr_in qj71e71A,qj71e71B; // E71 side data
BOOL DataRecv(int, unsigned char *, int); // Receive processing function
void Sockerror(int, int); // Error handling function
ConnectLastErrorA = ERROR_NO_ERROR;
// Connect processing error information initialization (for System A)
ConnectLastErrorB = ERROR_NO_ERROR;
// Connect processing error information initialization (for System B)
if(nErrorStatus != SOCK_OK) {
Sockerror(ERROR_INITIAL, ERROR_INITIAL); // Error handling
return (SOCK_NG);
}
414
APPENDICES
415
if(connect(socketnoB,(LPSOCKADDR)&qj71e71B,sizeof(qj71e71B))== SOCK_OK) {
// Connect (Active open: System B)
ShutdownflagB = FLAG_ON; // Shutdown flag ON
CloseflagB = FLAG_ON; // Connection end flag ON
// Set to non-blocking mode
ulCmdArgB = 1;
ioctlsocket(socketnoB, FIONBIO, &ulCmdArgB);
// Set to non-blocking mode (for System B connection)
} else {
ConnectLastErrorB = ERROR_CONNECT; // Connection establishment failure
}
} else {
ConnectLastErrorB = ERROR_BIND; // Bind failure
}
} else {
ConnectLastErrorB = ERROR_SOCKET; // Socket creation failure
}
// Connect completion processing
if( (CloseflagA == FLAG_OFF) && (CloseflagB == FLAG_OFF) ){
// When both systems are abnormal
Sockerror(ConnectLastErrorA, ConnectLastErrorB); // Error handling
return (SOCK_NG);
}
strcpy((char*)(s_buf), "500000FF03D000002C000A14010000D
*0000000005112233445566778899AA");
// D0-D4 batch write request (3E frame, addressed to control system)
length = strlen((char*)(s_buf));
416
APPENDICES
417
WSACleanup(); // Winsock.DLL release
return (SOCK_OK);
}
BOOL DataRecv(int socketno, unsigned char *pR_buf, int size_max) // Receive processing function
{
int length; // Communication data length
int rbuf_idx; // Receive data storage starting index
int recv_size; // Number of received data
418
APPENDICES
419
if (ShutdownflagA == FLAG_ON){
nErrorStatus = shutdown(socketnoA, 2); // Shutdown processing (System A)
ShutdownflagA = FLAG_OFF; // Shutdown flag OFF (System A)
}
if (ShutdownflagB == FLAG_ON){
nErrorStatus = shutdown(socketnoB, 2); // Shutdown processing (System B)
ShutdownflagB = FLAG_OFF; // Shutdown flag OFF (System B)
}
if (CloseflagA == FLAG_ON){
nErrorStatus = closesocket(socketnoA); // Close processing (System A)
CloseflagA = FLAG_OFF; // Connection end flag OFF (System A)
}
if (CloseflagB == FLAG_ON){
nErrorStatus = closesocket(socketnoB); // Close processing (System B)
CloseflagB = FLAG_OFF; // Connection end flag OFF (System B)
}
420
APPENDICES
Item Description
A model name of the QCPU in the E71-mounted station Q25HCPU
E71 I/O signal X/Y00 to X/Y1F
E71 IP address C0.00.01.FDH (192.00.01.253)
Ethernet operation
Refer to (3)(a) in this section.
Programming tool Setting setting
Open setting Refer to (3)(b) in this section.
Item Description
421
(3) Programming tool setting
Set the parameters using the programming tool as shown below.
422
APPENDICES
Remark
The following is an outline of how to compile a program created using Microsoft® Corporation Visual Basic®.NET.
• Start Visual Basic®.NET.
• Create a project. From [File][New][Project], select "Visual Basic Project" in "Project Types" and "Windows
Application" in "Templates", and set the project name (e.g. AJSAMP) and location.
• Create a form and a program. Use the toolbox "Button" to create the sample window shown below (Form1.vb) and
create a program referring to the sample program.
• On the Build menu, click Build Solution to create an execution file (AJSAMP.EXE).
• Exit the Visual Basic®.NET.
• Execute the AJSAMP.EXE.
(Object name)
423
[Sample program (Form 1.vb)]
Imports System
Imports System.Text
Imports System.Net
424
APPENDICES
425
Me.Command4.BackColor = System.Drawing.SystemColors.Control
Me.Command4.Cursor = System.Windows.Forms.Cursors.Default
Me.Command4.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command4.Location = New System.Drawing.Point(144, 152)
Me.Command4.Name = "Command4"
Me.Command4.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command4.Size = New System.Drawing.Size(73, 32)
Me.Command4.TabIndex = 3
Me.Command4.Text = "Close"
'
'Command3
'
Me.Command3.BackColor = System.Drawing.SystemColors.Control
Me.Command3.Cursor = System.Windows.Forms.Cursors.Default
Me.Command3.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command3.Location = New System.Drawing.Point(64, 96)
Me.Command3.Name = "Command3"
Me.Command3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command3.Size = New System.Drawing.Size(152, 33)
Me.Command3.TabIndex = 2
Me.Command3.Text = "disconnect"
'
'Command2
'
Me.Command2.BackColor = System.Drawing.SystemColors.Control
Me.Command2.Cursor = System.Windows.Forms.Cursors.Default
Me.Command2.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command2.Location = New System.Drawing.Point(64, 56)
Me.Command2.Name = "Command2"
Me.Command2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command2.Size = New System.Drawing.Size(152, 31)
Me.Command2.TabIndex = 1
Me.Command2.Text = "Sending a E71 command"
'
'Command1
'
Me.Command1.BackColor = System.Drawing.SystemColors.Control
Me.Command1.Cursor = System.Windows.Forms.Cursors.Default
Me.Command1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command1.Location = New System.Drawing.Point(64, 16)
Me.Command1.Name = "Command1"
Me.Command1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command1.Size = New System.Drawing.Size(152, 31)
Me.Command1.TabIndex = 0
Me.Command1.Text = "connect"
426
APPENDICES
'
'Form1 A
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 12)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ClientSize = New System.Drawing.Size(280, 214)
Me.Controls.Add(Me.Command5)
Me.Controls.Add(Me.Command4)
Me.Controls.Add(Me.Command3)
Me.Controls.Add(Me.Command2)
Me.Controls.Add(Me.Command1)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.Location = New System.Drawing.Point(329, 189)
Me.Name = "Form1"
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
Me.Text = "Form1"
Me.ResumeLayout(False)
End Sub
#End Region
427
Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs
As System.EventArgs) Handles Command1.Click
'Connect to the Ethernet interfece module.
Dim sock As New Sockets.Socket(Sockets.AddressFamily.InterNetwork, _
Sockets.SocketType.Stream, Sockets.ProtocolType.Tcp)
Ajsock = sock
Dim ip As IPAddress = Dns.Resolve("192.0.1.253").AddressList(0)
Dim ipend As IPEndPoint = New IPEndPoint(ip, "8192")
Me.Ajsock.Connect(ipend)
MsgBox("Connection Completed")
State = Me.Ajsock.Connected()
End Sub
End Sub
428
APPENDICES
End Sub
End Sub
429
Appendix 11 Checking the Serial Number and Function
Version
The serial number and function version of the E71 can be checked with the following.
• Rating plate
• Front of the module
• Programming tool system monitor
Serial No.
430
APPENDICES
431
Appendix 11.1 Compatible software versions
Software version
CPU module
GX Developer GX Works2
Basic model QCPU Q00(J)/Q01CPU Version 7 or later*1
High Performance model
Q02(H)/Q06H/Q12H/Q25HCPU Version 4 or later*2
QCPU
Q02PH/Q06PHCPU Version 8.68W or later
Process CPU
Q12PH/Q25PHCPU Version 7.10L or later
Redundant CPU Q12PRH/Q25PRHCPU Version 8.18U or later*3
Q00U(J)/Q01UCPU Version 8.76E or later
Q02U/Q03UD/Q04UDH/ Q06UDHCPU Version 8.48A or later Refer to the GX Works2
Q10UDH/Q20UDHCPU Version 8.76E or later Version 1 Operating
Manual (Common).
Universal model Q13UDH/Q26UDHCPU Version 8.62Q or later
QCPU Q03UDE/Q04UDEH/ Q06UDEH/
Version 8.68W or later
Q13UDEH/Q26UDEHCPU
Q10UDEH/Q20UDEHCPU Version 8.76E or later
Q50UDEH/Q100UDEHCPU Incompatible
Safety CPU QS001CPU Version 8.65T or later
CPU module other than the above Incompatible
MELSECNET/H remote I/O station Version 6 or later
Remark
For the compatible versions of MX Component, refer to the following.
MX Component Version 3 Operating Manual
432
APPENDICES
(1) QJ71E71-100
98 (3.86)
*2
R1
(*1)
4 (0.16)
23 (0.91)
(Unit: mm (in.))
433
(2) QJ71E71-B5
98 (3.86)
R2
(*1)
4 (0.16)
a transceiver
23 (0.91)
90 (3.54) 8.5 (0.33) 27.4 (1.08)
(Unit: mm (in.))
*1 When connecting an AUI cable, keep the bending radius near the connector (reference value: R2) above four times the
outside diameter of the cable.
(3) QJ71E71-B2
29.2 (1.15)
98 (3.86)
23.65
(0.93)
4 (0.16)
23 (0.91)
90 (3.54) 11.5 (0.45) 27.4 (1.08)
(Unit: mm (in.))
434
APPENDICES
Higher 4 bits
Hexadecimal 0 1 2 3 4 5 6 7 8–F
Binary 0000 0001 0010 0111 0100 0101 0110 0111 1000–1111
0 0000 NUL DLE (SP) 0 @ P ` p
1 0001 SOH DC1 ! 1 A Q a q
2 0010 STX DC2 " 2 B R b r
3 0011 ETX DC3 # 3 C S c s
4 0100 EOT DC4 $ 4 D T d t
5 0101 ENQ NAK % 5 E U e u
6 0110 ACK SYN & 6 F V f v
Lower 7 0111 BEL ETB ‘ 7 G W g w
4 bits 8 1000 BS CAN ( 8 H X h x
9 1001 HT EM ) 9 I Y i y
A 1010 LF SUB * : J Z j z
B 1011 VT ESC + ; K [ k {
C 1100 FF FS , < L \ (¥) l |
D 1101 CR GS - = M ] m }
E 1110 SO RS . > N ^ n ~
F 1111 SI US / ? O _ o DEL
435
INDEX
0 to 9 D
100BASE-TX connection . . . . . . . . . . . . . . . . . . . 74 Data receiving using an interrupt program . . . . . . 149
100Mbps hub . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Data receiving using the main program . . . . . . . . 146
10BASE2 connection . . . . . . . . . . . . . . . . . . . . . . 77 Data transmission speed . . . . . . . . . . . . . . . . . . . 29
10BASE5 coaxial cable . . . . . . . . . . . . . . . . . . . . 76 DC power supply (power supply for a transceiver)
10BASE5 connection . . . . . . . . . . . . . . . . . . . . . . 76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
10BASE-T connection . . . . . . . . . . . . . . . . . . . . . 75 Dedicated instructions . . . . . . . . . . . . . . . . . . . . 238
10Mbps hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Default router IP address . . . . . . . . . . . . . . . . . . 193
12VDC external power supply capacity. . . . . . . . . . 29 Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4E frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Do not wait for OPEN (Communications impossible at
STOP time) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
A
E
Abnormal codes . . . . . . . . . . . . . . . . . . . . . . . . . 315
A-compatible 1E frame . . . . . . . . . . . . . . . . . . . . 106 E71 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
ACPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 E71-mounted station . . . . . . . . . . . . . . . . . . . . . . 15
Active open . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 ECPRTCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Always wait for OPEN (Communication possible at E-mail function . . . . . . . . . . . . . . . . . . . . . . . . . . 33
STOP time) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Enable online change . . . . . . . . . . . . . . . . . . . . . . 87
AnACPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 End codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
AnNCPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 ERRCLR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
AnUCPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 ERRRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
ARP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Ethernet cable . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
ASCII code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 Ethernet diagnostics . . . . . . . . . . . . . . . . . . . . . 341
AUI cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Ethernet operation setting . . . . . . . . . . . . . . . . . . . 87
Auto-open UDP port . . . . . . . . . . . . . . . . . . . . . . 352 External dimension diagram . . . . . . . . . . . . . . . . 433
B F
Basic functions . . . . . . . . . . . . . . . . . . . . . . . . . . 31 File transfer (FTP server) function . . . . . . . . . . . . . 33
Basic model QCPU . . . . . . . . . . . . . . . . . . . . . . . 16 Fixed buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Basic setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Fixed buffer communication . . . . . . . . . . . . . . . . 151
Broadcast communications . . . . . . . . . . . . . . . . . 162 FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Buffer memory . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Full-duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
BUFRCV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Fullpassive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
BUFRCVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
BUFSND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
G
Built-in Ethernet port QCPU . . . . . . . . . . . . . . . . . 15
General specifications . . . . . . . . . . . . . . . . . . . . . 28
C GP.ECPRTCL . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Group No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Cascade connection . . . . . . . . . . . . . . . . . . . . . . . 29 GX Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CC-Link IE Controller Network, CC-Link IE Field GX Works2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Network, MELSECNET/H, MELSECNET/10 relay
communications . . . . . . . . . . . . . . . . . . . . . . . . . . 33
H
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
CLOSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 H/W test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Communication data code. . . . . . . . . . . . . . . . . . . 87 Half-duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Communications using a fixed buffer . . . . . . . . . . 141 Hardware test . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Communications using a random access buffer . . . 176 High Performance model QCPU . . . . . . . . . . . . . . 16
Communications using an auto-open UDP port . . . 196 How to turn off the COM.ERR. LED . . . . . . . . . . . 342
Communications using data link instructions . . . . . . 33 HTTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Compliance with the EMC and Low Voltage Directives Hub connection status monitor function . . . . . . . . 213
...................................... 6
Connecting MELSOFT products and a GOT . . . . . 102
Connection target. . . . . . . . . . . . . . . . . . . . . . . . 103 I
Cross cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
ICMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Initial process . . . . . . . . . . . . . . . . . . . . . . . . . . 356
436
Initial timing . . . . . . . . . . . . . . . . . . . . . . . . . . 87,88 Part names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Input format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Passive open . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Performance specifications . . . . . . . . . . . . . . . . . . 29
Intelligent function module . . . . . . . . . . . . . . . . . . . 16 Physical addresses . . . . . . . . . . . . . . . . . . . . . . . 189
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 PING command . . . . . . . . . . . . . . . . . . . . . . . . . 371
Internal current consumption (5VDC) . . . . . . . . . . . 29 PING test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
Interrupt pointer setting . . . . . . . . . . . . . . . . . . . . 152 POP3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 I
Interrupt settings . . . . . . . . . . . . . . . . . . . . . . . . . 153 Port numbers used for the E71 . . . . . . . . . . . . . . . 352
IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Predefined protocol support function . . . . . . . . . . . . 16
IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Procedure exist . . . . . . . . . . . . . . . . . . . . . . . . . 141
IP address in use detection function . . . . . . . . . . . 214 Procedures before operation . . . . . . . . . . . . . . . . . 63
IP address setting . . . . . . . . . . . . . . . . . . . . . . . . . 87 Process CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
IP filter function . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Product information list window . . . . . . . . . . . . . . 431
Programming tool . . . . . . . . . . . . . . . . . . . . . . . . . 16
4
L
Q
LED indication . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
List of buffer memory addresses . . . . . . . . . . . . . . . 38 QCPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
List of dedicated instructions . . . . . . . . . . . . . . . . 238 QCPU-mounted station . . . . . . . . . . . . . . . . . . . . . 16
List of I/O signals . . . . . . . . . . . . . . . . . . . . . . . . . 35 QnA-compatible 3E frame . . . . . . . . . . . . . . . . . . 106
Logical addresses . . . . . . . . . . . . . . . . . . . . . . . . 189 QnACPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Loopback test . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
R
M
Rating plate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
MAC address . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 7
MC protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 RECV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
MC protocol communications . . . . . . . . . . . . . . . . 105 RECVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
MELSECNET/10 . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Redundant CPU . . . . . . . . . . . . . . . . . . . . . . . . . . 16
MELSECNET/H . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Redundant system function . . . . . . . . . . . . . . . . . 216 8
MELSECNET/H remote I/O station . . . . . . . . . . . . . 15 Reinitialization process . . . . . . . . . . . . . . . . . . . . 360
MELSOFT application transmission port (TCP) . . . 352 Remote password . . . . . . . . . . . . . . . . . . . . . . . . 203
MELSOFT application transmission port (UDP) . . . 352 Remote password check . . . . . . . . . . . . . . . . . . . 205
MELSOFT connection . . . . . . . . . . . . . . . . . . . . . 103 REQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Retainer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
MRECV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 RG58A/U . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
MSEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 RG58C/U . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
MX Component. . . . . . . . . . . . . . . . . . . . . . . 15,393 RJ45 connector . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Router information . . . . . . . . . . . . . . . . . . . . . . . 193
Router IP address . . . . . . . . . . . . . . . . . . . . . . . . 195
N
Router relay function . . . . . . . . . . . . . . . . . . . . . . 191
Network components . . . . . . . . . . . . . . . . . . . . . . . 74
Network No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 S
Network parameter . . . . . . . . . . . . . . . . . . . . . . . . 85
Network type . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Safety CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
No procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Self-diagnostic tests . . . . . . . . . . . . . . . . . . . . . . 376
N-type terminating resistor . . . . . . . . . . . . . . . . . . . 76 Self-loopback test . . . . . . . . . . . . . . . . . . . . . 86,376
Number of occupied I/O points . . . . . . . . . . . . . . . . 29 SEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Send frame setting . . . . . . . . . . . . . . . . . . . . . . . . 87
Shielded twisted pair cable (STP) . . . . . . . . . . . . . . 74
O
SMTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Offline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Special functions . . . . . . . . . . . . . . . . . . . . . . . . . 33
OPEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 SREAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Open setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Start I/O No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Open system . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Station No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
OPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Straight cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Subnet address . . . . . . . . . . . . . . . . . . . . . . . . . 193
Subnet mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
P Subnet mask pattern . . . . . . . . . . . . . . . . . . . . . . 192
SWRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Packing list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
System configuration. . . . . . . . . . . . . . . . . . . . . . . 65
Pairing open . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Parameter list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
437
T
TCP existence confirmation setting . . . . . . . . . . . . 87
TCP/IP communications . . . . . . . . . . . . . . . . . . . . 91
Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Transceiver cable. . . . . . . . . . . . . . . . . . . . . . . . . 76
Transmission specifications. . . . . . . . . . . . . . . . . . 29
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 285
U
UDP/IP communications . . . . . . . . . . . . . . . . . . . . 99
UINI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Universal model QCPU . . . . . . . . . . . . . . . . . . . . . 16
Unlock process . . . . . . . . . . . . . . . . . . . . . . . . . 204
Unpassive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Unshielded twisted pair cable (UTP). . . . . . . . . . . . 75
W
Web function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
When using data link instructions . . . . . . . . . . . . . 240
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Wiring with the QJ71E71-100 . . . . . . . . . . . . . . . . 79
Wiring with the QJ71E71-B2 . . . . . . . . . . . . . . . . . 82
Wiring with the QJ71E71-B5 . . . . . . . . . . . . . . . . . 80
WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Z
Z.BUFRCVS . . ......................... 269
ZNRD . . . . . . . ......................... 239
ZNWR . . . . . . ......................... 239
ZP.BUFRCV . . ......................... 265
ZP.BUFSND . . ......................... 261
ZP.CLOSE . . . ......................... 247
ZP.ERRCLR . . ......................... 272
ZP.ERRRD . . . ......................... 275
ZP.OPEN . . . . ......................... 243
ZP.UINI. . . . . . ......................... 279
438
REVISIONS
*The manual number is given on the bottom left of the back cover.
Print Date *Manual Number Revision
Dec., 1999 SH(NA)-080009-A First Edition
Oct., 2000 SH(NA)-080009-B • Reflect the contents of the function version B.
• Put Windows® base software products together from Mitsubishi Programmable
Controller MELSEC series to Mitsubishi integrated FA software MELSOFT series.
• Standardize the name from software package (GPP function) to product name (GX
Developer).
Correction
Entire manual (change MELSECNET/10H to MELSECNET/H), SAFETY
PRECAUTIONS, Contents, About Manuals, The Manual's Usage and Structure
(Structure of this manual (2)), About the Generic Terms and Abbreviations, Section 1.1,
1.2, 1.3, 2.1, 2.2, 2.3, 2.5, 2.6, 3.1, 3.2, 3.5, 3.6, 3.7, 3.8(2), 4.1.1, 4.2, 4.3, 4.4.1, 4.5
(entire), 4.5.1 (Table), 4.6, 4.7, 4.8, 4.9 (entire), 5.2.1, 5.2.2, 5.3, 5.5, 5.6 (entire), 5.7.2,
5.8, Chapter 6 (entire), Section 7.1, 7.2, 7.3.1, 7.3.2, 7.4.2, 7.5.2, Chapter 8, Section
8.1, 8.2, 8.3.1, 8.3.2, 8.5.1, 8.6.2, 9.2.3, 10.2 to 10.8, Chapter 11, Section 11.1.1,
11.1.2(2), 11.2, 11.2.2, 11.2.4, 11.3 (5) (6), 11.3.1 to 11.3.3, 11.4, 11.4.4, Appendix 1
(entire), Appendix 2 (entire), Appendix 3, Appendix 8 (entire), Appendix 11
Addition
Entire manual (add the explanation on MELSECNET/H remote I/O station), The
Manual's Usage and Structure (2) (e), Section 5.4, 11.2, 11.2.1, 11.2.3, 11.3.1 (error
code 63H), 11.3.3 (error code 0063H, C086H, C087H, C0DAH, C0DBH, C119H, C200H to
C205H)
Jun., 2001 SH(NA)-080009-C • Added the description of the model QJ71E71-100 Ethernet interface module.
Model Addition
QJ71E71-100
Correction
Compliance with the EMC and Low Voltage Directives, The Manual's Usage and
Structure, About the Generic Terms and Abbreviations, Product Configuration, Section
1.2, 1.3, 1.4 (Figure), 2.1, 2.2, 2.3 (POINT), 2.4, 2.5, 2.7, Chapter 3 (entire), Section 4.2,
4.3, 4.4, 4.7, 4.8.1, 5.1 (Figure), 5.3 (1)(Figure), 5.4, 5.5, 5.6 (POINT), 5.6.1, 5.6.2, 5.8
(2) (3), 5.9.1 (1) (2), 5.9.3 (Figure), 5.9.5, 5.9.6 (3), 5.9.7, 6.2, 7.1, 7.2 (Figure), 7.3.1
(Figure), 7.3.2 (2) (Figure), 7.5.2, 8.2 (Figure), 8.3.1 (Figure), 8.3.2 (2) (Figure), 8.5.1,
8.6.2, 9.2.3 (2) (Figure), 10.1 (POINT), 10.6, 10.8, 11.1.1, 11.1.2, 11.2.3, 11.3 (7)
(Figure), 11.3.3 (error codes C113H, C114H, and C14EH), 11.4 (POINT), 11.4.6 (Figure),
Appendix 1.1, Appendix 2.1, 2.2 (2), Appendix 8.3, Appendix 11
Addition
Section 1.2 (5) (6), 2.2 (1), 2.6, 5.4.2, 11.3 (6), 11.3.2 (error code 1FH), 11.3.3 (error
codes C0F7H and C300H), Appendix 4, Appendix 7, Appendix 9, Appendix 11
Addition
Section 10.9
439
Print Date *Manual Number Revision
Mar., 2002 SH(NA)-080009-E
Correction
About the Generic Terms and Abbreviations, Section 1.2 (7), 2.1(1), 2.7 (1), 3.7 (Table),
5.1 (Figure), 5.2.2 (REMARKS), 5.2.3, 7.5.1, 10.9, 11.3.1 (Table), 11.3.3(REMARKS),
11.4.2 (Figure), Appendix 1.1 (2) (Table), Appendix 2.2 (2)(a), Appendix 8
Addition
Section 11.3.3 (error code C1BAH), 11.4 2, Appendix 4 (4)
QJ71E71-B5
Model Deletion
QJ71E71
Correction
SAFETY PRECAUTIONS, About the Generic Terms and Abbreviations, Section 1.2 (1)
(5) (6), 1.3, 1.4 (1), 2.1, 2.2, 2.5, 2.6, 2.7, 3.1, 3.4, 3.8, 4.1, 4.3, 4.4, 4.5, 4.6, 5.2.2
(REMARKS)(5), 5.2.3 (REMARKS), 5.3, 5.4.2 (1)(c), 5.4.3, 5.5 (6), 5.6 (2) (POINT),
5.9.1, 5.9.6 (3) (6), 6.2, 10.8, 10.9, 11.1.1, 11.2.2(2), 11.3, 11.4.5 (Figure), Appendix 1.1,
Appendix 2, Appendix 4, Appendix 7, Appendix 10, Appendix 11
Addition
Section 11.2.1 (POINT), 11.3.3 (error code C0B2H, C0E0H to C0EFH, C171H to C17FH),
Appendix 9
Jul., 2003 SH(NA)-080009-G
Correction
The Manual's Usage and Structure, Section 1.4 (1), 2.2 (1), 2.7, 3.8, 4.7, 5.2.2
(REMARKS), 5.5 (POINT), 5.6.1, 5.6.2, 7.5.2, 8.6.2, 11.4, Appendix 2, Appendix 8.1,
Appendix 11, Appendix 12
Sep., 2003 SH(NA)-080009-H
Correction
Section 1.4 (1), 3.8, 5.2.3, Appendix 2.1, Appendix 8
Jun., 2004 SH(NA)-080009-I • Addition of the description of function version D
Correction
About the Generic Terms and Abbreviations, Section 1.1 (7), 1.3, Chapter 2 (entire),
Section 3.6, 3.8, 4.5, 4.6, 5.3, 5.5, 5.6 (2) (POINT), 5.8 (POINT), 6.1.4, 10.9, Appendix
1, Appendix 4, Appendix 11, Appendix 12
Addition
Section 1.1 (9), 5.10, 5.11, 11.3.3, 11.4.7, Appendix 8.2
Aug., 2005 SH(NA)-080009-J
Correction
SAFETY PRECAUTIONS, Section 1.1 (5), 1.3, 2.2, 2.7, 5.2.3, 5.11.3, 10.9, 11.3.3
(error code C062H, C0B9H, C0C0H, C0C4H, C0D7H), Appendix 1.1, Appendix 4 (4),
Appendix 11
Addition
Appendix 8.1, Appendix 8.2, Appendix 9
Jun., 2006 SH(NA)-080009-K
Correction
Section 2.1, 3.8, 5.6.3, 5.7.2, 5.9.3, 7.1, 7.3.1, 7.5.2, 8.1, 8.3.1, 8.6.2, 10.2, 10.6, 10.7,
10.8
Addition
Section 2.7, 3.4, 5.6, 7.3.1, 10.1
440
Print Date *Manual Number Revision
Jun., 2007 SH(NA)-080009-L
Correction
About the Generic Terms and Abbreviations, Section 1.2 (9), 1.3, 2.1, 2.7, 3.6, 4.1.1,
4.5.2 (12), 4.6, 4.9.1, 5.6 (1), (2) Point, 5.11, 5.11.3, 6.1.4, 10.2 to 10.9, 11.3.3, 11.4.7,
Appendix 1.1, Appendix 4 (4), Appendix 9.1 (4)
Addition
Section 2.5.1, 2.5.2
Oct., 2008 SH(NA)-080009-M
Correction
SAFETY PRECAUTIONS, Compliance with the EMC and Low Voltage Directives, The
Manual's Usage and Structure, About the Generic Terms and Abbreviations, Section 1.2
to 1.4, Chapter 2, Section 3.1 to 3.6, 3.8, 4.1.1, 4.3 4.4.2, 4.4.3, 4.5.2, 4.6 to 4.8, 5.1 to
5.5, 5.6.1, 5.6.2, 5.8, 5.9.1, 5.9.3, 5.9.5, 5.9.7, 5.11.3, 5.11.5, 6.1.1, 6.1.3, 6.1.4,6.2,
7.3.2, 7.5.2, 8.6.2, Chapter 10, Section 11.2.1, 11.3, 11.4, Appendix 1.1, Appendix 2.1,
Appendix 2.2, Appendix 4, Appendix 7, Appendix 9.1, Appendix 12
Apr., 2009 SH(NA)-080009-N
Correction
Section 1.3, 2.2, 2.7, 4.3, 5.2.3, 5.11.5, 8.5.1, 10.9, Appendix 1.1
Aug., 2010 SH(NA)-080009-O
Correction
Addition of "CC-Link IE Field Network" to the whole manual SAFETY PRECAUTIONS,
About the Generic Terms and Abbreviations, Section 1.2, 2.1, 2.5.2, 4.1.1, 4.9.1, 5.9.3,
5.11, 5.12.3, 11.3.3, 11.4
May, 2012 SH(NA)-080009-P The entire manual has been revised due to the manual layout change.
Jun., 2013 SH(NA)-080009-Q
Correction
SAFETY PRECAUTIONS, RELEVANT MANUALS, TERM, Chapter 1, Section 3.1, 3.2,
3.3.1, 3.3.2, 3.4, 3.5.2, 5.1, 7.1.1, 7.1.4, 12.4, 12.8, 12.9.3, 14.3.4, 14.6.2, 14.6.3,
14.6.4, 14.7, 15.1, 15.2.1, 15.5, 15.6, 15.8, 15.9, 15.10, 15.11, 15.12, 15.13, 16.4, 16.6,
Appendix 1, Appendix 3, Appendix 4, Appendix 5, Appendix 7, Appendix 10, Appendix
11.1
Addition
Chapter 10, 11, Section 15.7, 16.3, 16.5.5, 16.5.6, 16.5.7, Appendix 8
Apr., 2015 SH(NA)-080009-R
Correction
RELEVANT MANUALS, Section 3.2, 3.5.2, 5.1.5, 5.2.1, 6.2.2, 7.1.4, Chapter 9, Section
10.5, 11.3, 12.4.2, 12.6.2, 12.9.3, 13.4.2, 14.1.2, 15.5, 15.7, 16.5.2, 16.8, Appendix 3, 5
Jul., 2016 SH(NA)-080009-S
Correction
Chapter 1, Section 3.2, 3.3.1, 3.3.2, 3.5.2, 5.1.2, 5.1.4, 5.1.5, 5.2.1, 11.3, 15.5, 16.5.1,
16.6.3, Appendix 3
Addition
Section 14.3, 16.5.11
Sep., 2018 SH(NA)-080009-T
Correction
Section 3.4
441
Print Date *Manual Number Revision
Jul., 2021 SH(NA)-080009-W
Addition
Section 3.2
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES, Appendix 8.3
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.
442
WARRANTY
Please confirm the following product warranty details before using this product.
1. Gratis Warranty Term and Gratis Warranty Range
If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product
within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service
Company.
However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at
the customer's discretion. Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing
on-site that involves replacement of the failed module.
[Gratis Warranty Term]
The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place.
Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and
the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair
parts shall not exceed the gratis warranty term before repairs.
[Gratis Warranty Range]
(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., which
follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the
product.
(2) Even within the gratis warranty term, repairs shall be charged for in the following cases.
1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused
by the user's hardware or software design.
2. Failure caused by unapproved modifications, etc., to the product by the user.
3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions
or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by
industry standards, had been provided.
4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the
instruction manual had been correctly serviced or replaced.
5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force
majeure such as earthquakes, lightning, wind and water damage.
6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi.
7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user.
2. Onerous repair term after discontinuation of production
(1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc.
(2) Product supply (including repair parts) is not available after production is discontinued.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
4. Exclusion of loss in opportunity and secondary loss from warranty liability
Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to:
(1) Damages caused by any cause found not to be the responsibility of Mitsubishi.
(2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products.
(3) Special damages and secondary damages whether foreseeable or not, compensation for accidents, and
compensation for damages to products other than Mitsubishi products.
(4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks.
5. Changes in product specifications
The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice.
443
Microsoft, Visual Basic, Visual C++, Windows, Windows NT, and Windows XP are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other countries.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
444 SH(NA)-080009-X
SH(NA)-080009-X(2110)MEE
MODEL: QJ71E71-U-KI-E
MODEL CODE: 13JL88
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.