Mitsubishi Electric FX3U-ENET, FX3U-ENET-L User Manual

FX3U-ENET
USER'S MANUAL

SAFETY PRECAUTIONS

(Read these precautions before use.)
Before installation, operation, maintenance or inspection of this product, thoroughly read through and understand this manual and all of the associated manuals. Also, take care to handle the module properly and safely. This manual classifies the safety precautions into two categories: "WARNING" and "CAUTION."
WARNING
CAUTION
Depending on the circumstances, procedures indicated by CAUTION may also cause severe injury. It is important to follow all precautions for personal safety. Store this manual in a safe place so that it can be taken out and read whenever necessary. Always forward it to the end user.
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in medium or slight personal injury or physical damage.
[Design Precautions]
WARNING
To prevent malfunctions of the PLC system that may be caused by illegal e-mail, take proper countermeasures (such as virus detection) so that illegal e-mail is not received by the mail server of this module.
If it is necessary to ensure the security of the PLC system against unauthorized access from external devices via the Internet, appropriate measures must be incorporated by the user.
When controlling the PLC (modifying data) while it is in operation by connecting computer peripheral devices to the main unit or connecting personal computers to the extension device, make sure to have an interlock circuit outside of the PLC to ensure safe system operation.
Do not write any data in the "system area" of the buffer memory of the extension device. When writing a value to the buffer memory including "System Area," pay close attention not to change the system bit. If data is written to the "system area" or the "use prohibited" signal is output, there is a risk that the PLC system may malfunction.
When the program examples introduced in this manual are applied to the actual system, examine the safety of the control in the target system.
To maintain the safety of the programmable controller system against unauthorized access from external devices via the network, take appropriate measures. To maintain the safety against unauthorized access via the Internet, take measures such as installing a firewall.
A - 1 A - 1
[Design Precautions]
When the status control (remote RUN/STOP) of the PLC is performed from the external device, select the "Always wait for OPEN" parameter set by an user in advance. (Select with the initial timing setting (BFM#24 b8) in the operational setting.) When "Do not wait for OPEN" is selected, the communication line at remote STOP is closed. The communication line cannot be reopened on the PLC side after that, and the remote RUN from the external device cannot start.
[Installation Precautions]
Use the product within the generic environment specifications described in chapter 3 of this manual. Never use the product in areas with excessive dust, oily smoke, conductive dusts, corrosive gas (salt air, Cl temperature, condensation, or rain and wind. If the product is used in such conditions, electric shock, fire, malfunctions, deterioration or damage may occur.
2, H2S, SO2 or NO2), flammable gas, vibration or impacts, or exposed to high
CAUTION
CAUTION
When drilling screw holes or wiring, make sure cutting or wire debris does not enter the ventilation slits. Failure to do so may cause fire, equipment failures or malfunctions.
Be sure to remove the dust proof sheet from the PLC's ventilation port when installation work is completed. Failure to do so may cause fire, equipment failures or malfunctions.
Connect the extension cables securely to their designated connectors. Unsecured connection may cause malfunctions.
A - 2 A - 2
[Wiring Instructions]
Before mounting or wiring the module, make sure to shut off all of the external power supply. Failure to do so may cause electric shocks or damage the module.
When turning on the power and operating after mounting or wiring the module, make sure to install the accessory terminal covers to the product. Otherwise, it may cause electric shocks.
Make sure to place the communication cables and the power cables in a duct or fasten them using a clamp. If the cables are not placed in a duct or fastened with a clamp, their positions can be unstable, moved and pulled inadvertently. This may damage the module and the cables, or cause the module malfunction due to unsecured cable connections.
When disconnecting the communication cables and the power cables, do not pull the cables. When disconnecting a cable with a connector, hold the connector to the module by hand and pull it out to remove the cable. When disconnecting a cable connected to a terminal block, loosen the screws on the terminal block before removing the cable. If a cable is pulled while being connected, it may cause the module malfunction or damage the module and the cable.
WARNING
CAUTION
Do not bundle the control line and the communication cables together with or lay it close to the main circuit or power line. As a guideline, lay the control line and the communication cables at least 100mm (3.94") or more away from the main circuit or power line. Noise may cause malfunctions.
Before connecting twisted pair cables, the ground pin brush grounded via a resistor enables discharging static electricity on the cables effectively. This can prevent the electrostatic discharge to the product.
A - 3 A - 3
[Setup and Maintenance Precautions]
WARNING
Do not touch any terminal while the PLC's power is on. Doing so may cause electric shock or malfunctions.
Before cleaning or retightening terminal screws and module mounting screws, externally cut off all phases of the power supply. Failure to do so may cause electric shock, fire, malfunctions and product damage.
Before modifying or disrupting the program, forcible output, RUN and STOP while they are in operation, carefully read through this manual and the associated manuals and ensure the safety of the operation. An operation error may damage the machinery or cause accidents.
CAUTION
Do not disassemble or modify the PLC. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric distributor.
Cut off all phases of the power supply externally before installation or wiring work in order to avoid damage to the product or electric shock.
[Precautions When Disposing of This Product]
CAUTION
Dispose of this product as an industrial waste.
[Trans Portation Precautions]
CAUTION
The PLC is a precision instrument. During transportation, avoid impacts larger than those specified in the general specifications of the PLC main unit manual. Failure to do so may cause failures in the PLC. After taransportation, verify the operations of the PLC.
Other company and product names herein are either trademarks or registered trademarks of their respective owners.
Microsoft , Windows 2000, Outlook , Visual C++ and Visual Basic are either registered trademarks or trade­marks of Microsoft Corporation in the United States and/or other countries. Ethernet is a trademark of Xerox Corporation. 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.
A - 4 A - 4

CONTENTS

SAFETY PRECAUTIONS .....................................................................................................................A- 1
CONTENTS ..........................................................................................................................................A- 5
About Manuals ......................................................................................................................................A- 9
Associated Manuals..............................................................................................................................A- 9
Applicable Standard..............................................................................................................................A-10
The Manual's Usage and Structure.......................................................................................................A-12
About the Generic Terms and Abbreviations ........................................................................................A-14
1 OVERVIEW 1- 1 to 1- 9
1.1 Overview of the Ethernet Module................................................................................................... 1- 1
1.2 Features of the Ethernet Module ................................................................................................... 1- 3
1.3 Software Configuration .................................................................................................................. 1- 7
2 SYSTEM CONFIGURATIONS 2- 1 to 2- 3
2.1 Applicable Systems........................................................................................................................ 2- 1
2.2 Devices Required for Network Configuration .................................................................................2- 2
3 SPECIFICATIONS 3- 1 to 3-28
3.1 General specifications.................................................................................................................... 3- 1
3.2 Performance Specifications ........................................................................................................... 3- 1
3.3 Data Codes for Communication ..................................................................................................... 3- 3
3.4 Relationship between the External Devices and Additional Functions for Each Communication
Function ......................................................................................................................................... 3- 5
3.5 Ethernet Module Function List ....................................................................................................... 3- 6
3.6 List of Setting Items for Ethernet Modules ..................................................................................... 3- 7
3.7 List of Applications and Assignments of the Buffer Memory .......................................................... 3- 8
4 SETTINGS AND PROCEDURES PRIOR TO OPERATION 4- 1 to 4-17
4.1 Loading and Installation ................................................................................................................. 4- 1
4.1.1 Handling precautions ............................................................................................................... 4- 1
4.1.2 Installation environment ........................................................................................................... 4- 2
4.2 Settings and Procedures Prior to Starting the Operation ............................................................... 4- 3
4.3 Components of the Ethernet Module ............................................................................................. 4- 5
4.4 Connecting to the Network............................................................................................................. 4- 7
4.4.1 Connecting to the 10BASE-T/100BASE-TX network............................................................... 4- 8
4.5 Ethernet Module Setting ................................................................................................................ 4- 9
4.6 Operational Settings ...................................................................................................................... 4-10
4.7 Self-Diagnostic Tests ..................................................................................................................... 4-14
4.7.1 Self loopback test..................................................................................................................... 4-14
4.7.2 Hardware test (H/W Test) ........................................................................................................ 4-15
4.8 Maintenance and Inspection .......................................................................................................... 4-16
4.8.1 Maintenance and inspection .................................................................................................... 4-16
4.8.2 Installing and uninstalling the module ...................................................................................... 4-17
A - 5 A - 5
5 COMMUNICATION PROCEDURE 5- 1 to 5-46
5.1 Overview of the Communication Procedure .................................................................................. 5- 1
5.2 Initial Processing............................................................................................................................ 5- 3
5.2.1 Initial processing ...................................................................................................................... 5- 3
5.2.2 Initial settings ........................................................................................................................... 5- 4
5.2.3 Re-initialization......................................................................................................................... 5-10
5.3 Router Relay Parameter ................................................................................................................ 5-13
5.4 Confirming the Completion of the Initial Processing ...................................................................... 5-15
5.4.1 PING command (Personal computer Ethernet module) ..................................................... 5-16
5.4.2 Loop back test (Communication using MC protocol) ............................................................... 5-17
5.5 Open Settings ................................................................................................................................ 5-18
5.6 Open Processing/Close Processing of the Connection ................................................................. 5-25
5.6.1 Active open processing/close processing ................................................................................ 5-27
5.6.2 Passive open processing/close processing ............................................................................. 5-33
5.6.3 UDP/IP open processing/close processing.............................................................................. 5-40
5.7 Pairing Open .................................................................................................................................. 5-43
5.7.1 Pairing open............................................................................................................................. 5-43
5.7.2 Example of pairing open settings............................................................................................. 5-44
5.8 Hub Connection Status Monitor Function ...................................................................................... 5-46
6 FIXED BUFFER COMMUNICATION (WITH THE PROCEDURE EXIST CONTROL METHOD) 6- 1 to 6-18
6.1 Control Method .............................................................................................................................. 6- 1
6.2 Sending Control Method ................................................................................................................ 6- 3
6.3 Receiving Control Method.............................................................................................................. 6- 6
6.3.1 Receive processing with the main program ............................................................................. 6- 6
6.4 Data Format ................................................................................................................................... 6- 8
6.4.1 Header ..................................................................................................................................... 6- 8
6.4.2 Application data ....................................................................................................................... 6- 9
6.5 Programming ................................................................................................................................. 6-13
6.5.1 Precautions when creating programs ...................................................................................... 6-13
6.5.2 Fixed buffer communication program example (with the procedure exist control method)...... 6-14
7 FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE CONTROL METHOD) 7- 1 to 7-14
7.1 Control Method .............................................................................................................................. 7- 1
7.2 Sending Control Method ................................................................................................................ 7- 4
7.3 Receiving Control Method.............................................................................................................. 7- 6
7.3.1 Receive processing with the main program ............................................................................. 7- 6
7.4 Data Format ................................................................................................................................... 7- 8
7.5 Programming ................................................................................................................................. 7- 9
7.5.1 Precautions when creating programs ...................................................................................... 7- 9
7.5.2 Fixed buffer communication program example (with the no procedure control method) ......... 7-10
A - 6 A - 6
8 COMMUNICATION USING MC PROTOCOL 8- 1 to 8- 4
8.1 Data Communication Function....................................................................................................... 8- 1
8.1.1 Accessing the PLC using MC protocol..................................................................................... 8- 1
8.1.2 How to Read the Control Procedures of the MC Protocol ....................................................... 8- 2
8.1.3 Access Timing on the PLC Side .............................................................................................. 8- 3
8.1.4 PLC setting for performing data communication...................................................................... 8- 4
8.1.5 Precautions on Data Communication ...................................................................................... 8- 4
9 WHEN COMMUNICATING DATA USING THE MC PROTOCOL 9- 1 to 9-40
9.1 Message Formats and Control Procedures ................................................................................... 9- 1
9.1.1 How to read the command reference section .......................................................................... 9- 1
9.1.2 Message format and control procedure ................................................................................... 9- 3
9.1.3 Contents of data designation items.......................................................................................... 9- 7
9.1.4 Character area transmission data............................................................................................ 9-11
9.2 List of Commands and Functions for The MC protocol.................................................................. 9-15
9.3 Device Memory Read/Write ........................................................................................................... 9-16
9.3.1 Commands and device range .................................................................................................. 9-16
9.3.2 Batch read in bit units (command: 00) ..................................................................................... 9-19
9.3.3 Batch write in bit units (command: 02) ..................................................................................... 9-21
9.3.4 Test in bit units (random write) (command: 04) ....................................................................... 9-23
9.3.5 Batch read in word units (command: 01) ................................................................................. 9-25
9.3.6 Batch write in word units (command: 03)................................................................................. 9-29
9.3.7 Test in word units (random write) (command: 05) ................................................................... 9-33
9.4 Remote RUN/STOP, PLC model name code read ........................................................................ 9-35
9.4.1 Commands and control contents ............................................................................................. 9-35
9.4.2 Remote RUN (command: 13) / Remote STOP(command: 14)................................................ 9-36
9.4.3 PLC model name read (command: 15).................................................................................... 9-38
9.5 Loopback Test ............................................................................................................................... 9-39
9.5.1 Loopback test (command: 16) ................................................................................................. 9-39
10 USING THE E-MAIL FUNCTION 10- 1 to 10-27
10.1 E-mail Function .......................................................................................................................... 10- 1
10.1.1 E-mail send and reception by the PLC ................................................................................ 10- 1
10.2 Configuration and Environment of the Applicable System ......................................................... 10- 3
10.3 Precautions for Using the E-mail Function.................................................................................10- 4
10.4 E-mail Specifications.................................................................................................................. 10- 6
10.5 Processing Procedure of the E-mail Function............................................................................ 10- 7
10.6 E-mail Settings........................................................................................................................... 10- 8
10.7 Sending/Receiving E-mail (Attached Files) by the PLC ............................................................. 10-12
10.7.1 When sending data as an attached file................................................................................ 10-12
10.7.2 When receiving data in an attached file ............................................................................... 10-18
10.7.3 Contents of the attached files .............................................................................................. 10-23
10.8 Sending E-mail (Main Text) by the PLC.....................................................................................10-25
10.8.1 When sending data as main text of e-mail........................................................................... 10-25
A - 7 A - 7
11 TROUBLESHOOTING 11- 1 to 11-45
11.1 How to Check Errors Using LED Displays ................................................................................. 11- 2
11.1.1 Checking error display ......................................................................................................... 11- 2
11.1.2 How to turn off COM.ERR LED and to read/clear error information .................................... 11- 4
11.2 How to Check an Error Through FX Configurator-EN................................................................ 11- 6
11.2.1 Buffer memory that can be monitored with the FX Configurator-EN diagnostic function ..... 11- 7
11.2.2 Ethernet diagnostics ............................................................................................................ 11- 9
11.3 Checking the error information by the buffer memory batch monitoring function ...................... 11-10
11.4 Error Code List........................................................................................................................... 11-11
11.4.1 Type of error incident ........................................................................................................... 11-11
11.4.2 End codes (Complete codes) returned to an external device during data communication.. 11-19
11.4.3 Abnormal codes returned during communication using MC protocol .................................. 11-20
11.4.4 Error codes stored in the buffer memory ............................................................................. 11-21
11.5 Troubleshooting Flowchart......................................................................................................... 11-34
11.5.1 Sending errors during fixed buffer communication
(common to procedure exist and no procedure).................................................................. 11-37
11.5.2 Receiving errors during fixed buffer communication
(common to procedure exist and no procedure).................................................................. 11-39
11.5.3 Errors in communication using MC protocol ........................................................................ 11-42
11.5.4 Sending errors during e-mail communication ...................................................................... 11-44
11.5.5 Receiving errors during e-mail communication.................................................................... 11-45
APPENDIX App- 1 to App-25
Appendix 1 Processing Time ...........................................................................................................App- 1
Appendix 2 ASCII Code List ............................................................................................................App- 4
Appendix 3 References....................................................................................................................App- 4
Appendix 4 Program Examples .......................................................................................................App- 5
Appendix 4.1 Program example for communication using MC protocol -1 ...................................App- 6
Appendix 4.2 Program example for communication using MC protocol -2 ...................................App-14
Appendix 5 Differences between the Ethernet and the IEEE802.3 .................................................App-19
Appendix 6 ICMP Protocol Supported by the Ethernet Module .......................................................App-19
Appendix 7 Setting Value Recording Sheets ...................................................................................App-20
Appendix 8 Versioin Information ......................................................................................................App-25
A - 8 A - 8

About Manuals

Associated Manuals

Manual name Manual No. Description
FX
3U-ENET
User's Manual
3U-ENET
FX INSTALLATION MANUAL
3G Series
FX HARDWARE MANUAL
FX3G Series User's Manual
- Hardware Edition
FX3U Series HARDWARE MANUAL
FX
3U Series User's Manual
- Hardware Edition
3UC(D, DS, DSS) Series
FX HARDWARE MANUAL
FX
3UC-32MT-LT-2
HARDWARE MANUAL
FX
3UC Series User's Manual
- Hardware Edition
FX3S/FX3G/FX3GC/FX3U/ FX
3UC Series
Programming Manual
- Basic & Applied Instruction Edition
FX Configurator-EN Operation Manual
This manual explains the mounting of FX3U-ENET, the specifications, broadcast functions and communication methods. For the instructions and programs of the sequence as well as the parameter settings by FX Configurator-EN, also refer to the following manuals.
JY997D18101
Additional Manual
MODEL CODE: 09R716
JY997D15901
Supplied with product
JY997D46001
Supplied with product
JY997D31301
Additional Manual
MODEL CODE: 09R521
JY997D50301
Supplied with product
JY997D16501
Additional Manual
MODEL CODE: 09R516
JY997D50501
Supplied with product
JY997D31601
Supplied with product
JY997D28701
Additional Manual
MODEL CODE: 09R519
JY997D16601
Additional Manual
MODEL CODE: 09R517
JY997D20501
Supplied with product
MODEL CODE: 09R919
This manual
Installation of FX
3U-ENET block.
Extracts the I/O specifications, wiring, and installation of FX
3G Series PLC from FX3G Series
User's Manual - Hardware Edition.
Explains FX
3G Series PLC specification details for
I/O, wiring, installation, and maintenance.
Extracts the I/O specifications, wiring, and installation of FX
3U Series PLC from FX3U Series
User's Manual - Hardware Edition.
Explains FX
3U Series PLC specification details for
I/O, wiring, installation, and maintenance.
Extracts the I/O specifications, wiring, and installation of FX
3UC(D, DS, DSS) Series PLC from
3UC Series User's Manual - Hardware Edition.
FX Extracts the I/O specifications, wiring, and
installation of FX
3UC-32MT-LT-2 from FX3UC Series
User's Manual - Hardware Edition.
Explains FX
3UC Series PLC specification details for
I/O, wiring, installation, and maintenance.
Describes PLC programming for basic/ applied instructions and devices.
The operation method of FX Configurator-EN.
How to obtain manuals
For the necessary product manuals or documents, consult with the Mitsubishi Electric dealer.
A - 9 A - 9

Applicable Standard

Certification of UL, cUL standards
The following product has UL and cUL certification.
UL, cUL File Number: E95239 Models: MELSEC FX
FX
3U-ENET
Regarding the standards that comply with the main unit, please refer to either the FX series product catalog or consult with your nearest Mitsubishi product provider.
Compliance with EC directive (CE Marking)
This note does not guarantee that an entire mechanical module produced in accordance with the contents of this note will comply with the following standards. Compliance to EMC directive and LVD directive of the entire mechanical module should be checked by the user / manufacturer. For more details please contact the local Mitsubishi Electric sales site. Regarding the standards that comply with the main unit, please refer to either the FX series product catalog or consult with your nearest Mitsubishi product provider.
Requirement for Compliance with EMC directive
The following products have shown compliance through direct testing (of the identified standards below) and design analysis (through the creation of a technical construction file) to the European Directive for Electromagnetic Compatibility (2014/30/EU) when used as directed by the appropriate documentation.
3U series manufactured
Attention
This product is designed for use in industrial applications.
Type: Programmable Controller (Open Type Equipment) Models: MELSEC FX
from October 1st, 2009 FX
Standard Remark
EN61131-2:2007 Programmable controllers
- Equipment requirements and tests
3U series manufactured
3U-ENET
Complies with all relevant aspects of the following standards.
EMI
• Radiated Emission
• Conducted Emission
EMC
• Radiated electromagnetic field
• Fast transient burst
• Electrostatic discharge
• High-energy surge
• Voltage drops and interruptions
• Conducted RF
• Power frequency magnetic field
A - 10 A - 10
Caution to conform with EC Directives
• Installation in Enclosure
Programmable logic controllers are open-type devices that must be installed and used within conductive control cabinets. Please use the programmable logic controller while installed within a conductive shielded control cabinet. Please secure the cabinet door to the control cabinet (for conduction). Installation within a control cabinet greatly affects the safety of the system and aids in shielding noise from the programmable logic controller.
• Control cabinet
- The control cabinet must be conductive.
- Ground the control cabinet with the thickest possible grounding cable.
- To ensure that there is electric contact between the control cabinet and its door, connect the cabinet and its doors with thick wires.
- In order to suppress the leakage of radio waves, the control cabinet structure must have minimal openings. Also, wrap the cable holes with a shielding cover or other shielding devices.
- The gap between the control cabinet and its door must be as small as possible by attaching EMI gaskets between them.
Shielding cover
Shielded cable
Wires*1
EMI gasket
*1. These wires are used to improve the conductivity between the door and control
cabinet.
• Notes for compliance with EN61131-2:2007
General notes on the use of the power supply cable.
- The FX
3U-ENET unit requires that the cable used for power supply is 30m or less.
- When the cable used for power supply exceeds 30m, a noise filter (Ex. TDK­Lambda MBS1205-22 or similar) should be placed on the 24V DC power cabling as close (within 500mm) to the FX
3U-ENET termination points as possible, refer to
following figure.
FX
3U
-ENET
24V DC
500mm or less
Exceeding 30m
Noise
Filter
24V DC power
supply
A - 11 A - 11

The Manual's Usage and Structure

How to use this manual
In this manual, explanations are given for each application of the Ethernet modules (FX
3U-ENET).
Please use this manual using the following key items below as a reference.
(1) Features and utility lists
(a) Features and functions
• Chapter 1 describes the features of the Ethernet modules.
• Chapter 3 describes the common functions and specifications of the
(b) Items included in this package and network configured items
• Section 2.2 describes the system configuration of the Ethernet module.
(2) Processing required prior to starting the operation of the Ethernet
module
(a) Startup procedure
• Section 4.2 describes an outline of the procedures to do before starting the
(b) Connection to the Ethernet network.
• Section 2.2 describes the devices required to connect to the Ethernet
• Section 4.4 describes the connection methods for each type of interface.
(c) Parameter settings required before starting Ethernet module operation
• Section 3.6 describes the parameter settings required in order to use each
• Section 4.5 describes the types of Ethernet parameter setting in order to
(d) Checking for Ethernet module failures
• Section 4.7 describes the self-diagnostic test for the Ethernet module.
(e) Checking for connection errors with the external devices
• Subsection 5.4.1 describes how to check for connection errors using the
• Subsection 5.4.2 describes how to check for connection errors by
Ethernet modules.
Parts and components other than those packaged with the module must be purchased separately by the user.
operation of the Ethernet module.
network.
function. Confirm the required parameters, set them according to the relevant section, and save the setting values in the PLC to which the Ethernet module is installed.
use the Ethernet module.
"PING" command.
performing the loopback test through MC protocol-based communication.
A - 12 A - 12
(3) Connection between the Ethernet module and external devices
(a) Communication procedures
• Section 5.1 describes an outline of the communication procedures
(b) Connections with the external devices
• Section 5.6 describes the connections (open and close processing) for each communication method (TCP/IP) and the open method (Active, Passive), including programming procedures.
(4) Details on the data communication functions
(a) Communication functions
• Section 1.2 describes an overview of the Ethernet module communication functions and related section numbers that can be referenced for more detailed explanations.
(5) Data communication functions and programming
(a) Reading from and writing to the PLC
• Data is read from and written to the PLC with communication functions using MC protocol.
• Chapter 8 is an overview of the communication functions using MC protocol.
• Chapter 9 is a detail on the communication functions using MC protocol.
(b) Sending and receiving data between the PLC and the external devices
• Data communication between the PLC and external devices is performed with the fixed buffer communication functions.
• Chapters 6 and 7 explains the communication functions and programming using the fixed buffers.
(6) Checking for error occurrences and taking corrective actions
(a) Error codes
• Chapter 11 describes troubleshooting, how to check for errors, and the contents and reference for error codes.
(b) Error code storage area in the buffer memory of the Ethernet module
• Section 11.3 describes the error code storage areas in the buffer memory.
FX Configurator-EN
Using FX Configurator-EN to set parameters, the sequence programs for communicating with external devices can be simplified. For details on the parameter settings from FX Configurator-EN, refer to the FX Configurator-EN operation manual.
A - 13 A - 13

About the Generic Terms and Abbreviations

This manual uses the following generic terms and abbreviations to describe the Model FX
Generic Term/Abbreviation Description
Ethernet Address
Ethernet module
Ethernet network Abbreviation for 10BASE-T and 100BASE-TX networks
GX Developer
External device
Personal computer Generic term for an IBM PC/AT (or IBM compatible) personal computer
Main unit Generic name for FX Series PLC main unit
FX Configurator-EN
3U-ENET Ethernet interface block.
A machine-specific address that is also referred to as the MAC (Media Access Control Address). This is used to identify the addresses of external devices over a network. The Ethernet address of the Ethernet module can be verified on BFM.
Abbreviation for the FX (Described as the Ethernet module or FX
3U-ENET Ethernet Interface block
3U-ENET in the figures)
Abbreviation for GX Developer (SWnD5C-GPPW-E). (n in the model name is 4 or later)
Generic term for personal computers, computers, workstations (WS) and Ethernet module etc. that are connected by Ethernet for data communication
Software for setting the Ethernet module parameters. FX Configurator-EN can set the independent startup method, and the startup method from the [tool] menu in GX Devel­oper.
A - 14 A - 14
OVERVIEW1

1OVERVIEW

MELSEC-F
This manual provides information on the specifications of the Ethernet interface block,
3U-ENET (hereinafter called FX3U-ENET or the Ethernet module), as well as the
FX procedures before starting operation, the control procedures and data communication method for communicating with external devices, maintenance, inspection, and troubleshooting. When the program examples introduced in this manual are applied to an actual system, examine the safety of the control in the target system before use.

1.1 Overview of the Ethernet Module

The Ethernet module is an interface module on the PLC side for connecting the FX3G/
3U
/
FX3UC series PLC with the host system, such as a personal computer work
FX station, and other PLCs using the TCP/IP or UDP/IP communication protocol via Ethernet (100BASE-TX, 10BASE-T).
Internet service Provider
1
Internet
(Public dial-up line)
Internet service Provider
Network Range (Only within LAN)
Mail server
Local station
External device
Router
Hub
GX Developer
External device
Router
Hub
Mail server
1 - 1
1 - 1
OVERVIEW1
MELSEC-F
1) Collection and modification of PLC data
1
POINT
The module operation is not guaranteed if any of the following connection is used. Check the module operation on the user side.
• Connections using the Internet (general public line) (Connections using
• Connections using devices in which a firewall is installed
• Connections using broadband routers
• Connections using wireless LAN
(Communication using the MELSEC Communication Protocol (referred to below as the MC Protocol))
2) Transmission and reception of arbitrary data to/from external devices
(Communication using fixed buffers)
3) Data transmission/reception by e-mail
(When using the e-mail function)
Internet connection service provided by Internet service providers and telecommunications carriers)
1 - 2
1 - 2
OVERVIEW1

1.2 Features of the Ethernet Module

(1) Data communication using MC protocol (Details are explained in
Chapter 8 and Chapter 9)
Using MC protocol, the device data of the PLC can be read from/written to the host system. This protocol is a passive protocol that communicates data solely according to the requests from the host system. It does not require a sequence program for data communication after a connection is established.
MELSEC-F
Command
Local station
Response
External device
(2) Communication using fixed buffers (Details are explained in
Chapters 6 and 7)
With communication using fixed buffers, a maximum of 1023 words of arbitrary data can be sent or received between PLCs or between the PLC and an arbitrary device. An Ethernet module is provided with 8 fixed buffer data areas each with 1023 word storage space, and each is assigned as either a sending or receiving buffer for an arbitrary device. Since communication using MC protocol is passive, communication using fixed buffers is an active protocol. Data can be sent from the PLC side to another PLC and an arbitrary device when equipment errors occur or when some specified conditions are satisfied.
1 - 3
External device
Receive/send
Local station
Receive/send
External device
1 - 3
OVERVIEW1
MELSEC-F
(3) Communication by e-mails (Details are explained in Chapter 10)
Data can be sent to and received from an external device at a remote location using e-mail via an Internet line.
(a) Sending/receiving e-mail from the PLC
The following data can be sent/received by e-mail.
1) Sending/receiving data as attached files
Up to 2k words of data can be sent to or received from a personal computer or other Ethernet module with mail function as a file attached to an e-mail.
2) Sending data as main text
Up to 256 words of data can be sent to a personal computer or portable terminal in the main text of an e-mail.
Internet
(Public dial-up line)
E-mail sending/ receiving
Internet service provider
Mail server
Mail sending/
receiving
Local station
Router Router
Hub
External device
Hub
Internet service provider
Mail server
1 - 4
1 - 4
OVERVIEW1
MELSEC-F
(4) Connecting FX Configurator-EN (Details are explained in the
Operating Manuals for FX Configurator-EN)
(a) Simplifying sequence programs using FX Configurator-EN
FX Configurator-EN supports the parameter setting function to perform the Ethernet module initialization and the open processing with external devices. By setting up the following parameters with FX Configurator-EN, access is enabled from the external device to the PLC. It can also simplify sequence programs used to perform communication by Ethernet modules.
• IP address setting • E-mail settings
• Port number setting • Each timer setting
• Protocol type setting For more information on setting up the Ethernet module, see Section 3.5, "List of Setting Items for Ethernet Modules" and other applicable reference sections.
Local station
Serial communication
External device
External device
Parameter setting
Ethernet
*1
*2
FX Configurator-EN
*1 Access is enabled only when MELSOFT connection is set in the open
method of the Ethernet module.
*2 The open settings is not set for the initial state of the Ethernet module.
Set it through serial communication.
1 - 5
1 - 5
OVERVIEW1
MELSEC-F
(b) Connecting multiple MELSOFT products (GX Developer, MX Component)
This product can be connected with one or more MELSOFT product, via TCP/IP communication (through the in-house LAN, etc.).
1) Connection via TCP/IP communication
• If a MELSOFT product is to be connected with the FX Configurator-EN open settings, a maximum of four units can be connected with MELSOFT product.
• If a MELSOFT product is to be connected, the settings of buffer memory for the MELSOFT connection or the following settings using FX Configurator-EN are required. For FX Configurator-EN, on the "Open settings" screen, set "TCP" in the protocol field of the connection number to be used, and "MELSOFT connection" in the open method field. (See Section 5.5.)
(Protocol used)(External device)
Connection via TCP/IP communication only
Multiple units (Maximum four units)
For use when the user specifies a MELSOFT connection. "Ethernet open setting" parameter is needed.
1 - 6
1 - 6
OVERVIEW1

1.3 Software Configuration

The Ethernet modules support the TCP/IP and UDP/IP protocols.
MELSEC-F
Personal computer/work-station(example)
User program
System call
Socket
TCP
Ethernet
(100BASE-TX, 10BASE-T)
UDP
IP
ICMP
ARP
(1) TCP (Transmission Control Protocol)
OSI reference model corres­ponding to the PLC configuration
(Layers)
Application layer
7
Presentation layer
6
Session layer
5
Transport layer4
Network layer3
Data link layer2 Physical layer
1
Communication using fixed buffers
PLC
Main Unit
FROM/TO instruction
Buffer memory
Communication using the MC protocol
TCP/UDP
IP
Ethernet
(100BASE-TX,10BASE-T)
Communication by e-mails
SMTP POP3 DNS
ICMP
ARP
PLC
Ethernet module
This protocol guarantees data credibility and reliability in communication between a personal computer/work station and PLC that are connected via network, and provides the following functions:
• Creates a logical connection by establishing a connection (logical line) as if a dedicated line was created between external devices.
• A maximum of 8 connections can be established and communicated with at the same time in the Ethernet module.
• Data reliability is maintained by the sequence control using the sequence numbers, the data retransmission function and the check sum.
• The communication data flow can be controlled by operations using Windows.
1 - 7
1 - 7
OVERVIEW1
MELSEC-F
(2) UDP (User Datagram Protocol)
This protocol may not guarantee data credibility or reliability in communication between a personal computer/work station and PLC that are connected via network. Thus, even if the data does not reach the target node, it will not be retransmitted.
• Because it is connectionless, communication efficiency is much improved than TCP/IP.
• A check sum is used to increase the reliability of the communication data. When greater reliability must be maintained, a user application or TCP should be used for retrying operation.
(3) IP (Internet Protocol)
• Communication data is sent and received in datagram format.
• Communication data can be divided and reassembled.
• Routing option is not supported.
(4) ARP (Address Resolution Protocol)
• This protocol is used to get the Ethernet physical addresses from the IP addresses.
(5) ICMP (Internet Control Message Protocol)
• This protocol is used to exchange errors which occur on an IP network and various information related to the network.
• Provides a function to transmit IP error messages.
• See Appendix for information regarding the types of ICMP supported.
(6) DNS (Domain Name System)
• This system translates IP addresses to names that are easy to remember by the user.
(7) SMTP (Simple Mail Transfer Protocol)
• This protocol transfers mail.
(8) POP3 (Post Office Protocol Ver. 3)
• This protocol transfers mail received by a mail server to a local computer.
(9) Flag bit of TCP/IP (SYN, ACK, PSH, FIN, RST, and URG)
In communication using TCP, these flag bits indicate segments where connection/disconnection or response confirmation is executed or emergency data is included.
1) SYN (Synchronized Flag)
When this bit is ON (1), it indicates that the initial sequence number value is set in the sequence number field. This bit is used when the connection is newly opened.
2) ACK (Acknowledgment Flag)
When this bit is ON (1), it indicates that ACK (confirmation response number) field is valid. It also indicates that this segment includes the information on response confirmation. When this bit is OFF (0), it indicates that ACK (confirmation response number) field is invalid.
1 - 8
1 - 8
OVERVIEW1
MELSEC-F
3) PSH (Push Flag)
When this bit is ON (1), the host that has received this segment sends the data to the upper application with high priority. This bit is to be turned ON when the data should be sent to an external device as soon as possible. When this bit is OFF (0), the timing when the received data is sent to the upper application depends on the TCP layer of the receiving side.
4) FIN (Fin Flag)
When this bit is ON (1), it indicates that there is no more data to be sent from the segment source and that the send source wants to disconnect. However, data can be received from the external device. The connection is on until the segment whose FIN bit is ON is received from the external device.
5) RST (Reset Flag)
When this bit is ON (1), the host from which the segment has sent disconnects unilaterally (forcibly). Disconnection by this method is used when an unrecoverable error with the normal method has occurred or when the host has been restored after being down.
6) URG (Urgent Flag)
When this bit is ON (1), it indicates that this data segment includes the emergency data flag.
1 - 9
1 - 9
SYSTEM CONFIGURATIONS2

2 SYSTEM CONFIGURATIONS

This section explains the system configurations that may be combined with the Ethernet modules.

2.1 Applicable Systems

2
Ethernet modules can be used with the following systems:
(1) Applicable PLC and number of modules that can be mounted
The following table lists the PLC where the Ethernet module can be mounted and the number of modules that can be mounted.
Series name Compatible version
(An FX
2NC
FX
3UC
-1PS-5V is necessary)
FX
3G
3U
FX
FX
3UC
-CNV-IF or
System version V1.00 or more
System version V2.21 or more
System version V2.21 or more
MELSEC-F
Number of I/O points
occupied
8 points for input or output 1
8 points for input or output 1
8 points for input or output 1
Number of modules that can
be mounted
(2) Applicable software packages
When using the Ethernet module, the FX Configurator-EN for software packages applicable to the Ethernet module can be used. Refer to the manual of FX Configurator-EN for the details.
1) The Ethernet module is set with FX Configurator-EN [Configurable by BFM].
2) To use FX Configurator-EN, either of the following software should be installed.
• GX Developer (V 8.25B or later)
• IEC Developer (V 7.00A or later)
3) The FX3G PLC requires the following version.
• GX Developer : V 8.72A or later
• FX Configurator-EN : V1.10 or later
4) For starting FX Configurator-EN, the following shows two kinds of methods.
• Independently starting FX Configurator-EN
• Starting from [Tools] menu of GX Developer
5) The installation form of FX Configurator-EN differs depend­ing on sales territory or country of this product.
Consult with the dealer of this product for details.
2 - 1
2 - 1
SYSTEM CONFIGURATIONS2

2.2 Devices Required for Network Configuration

This section explains the devices that are required to configure a network. Network installation work requires sufficient safeguard; ask a network specialist for installation.
MELSEC-F
When connecting Ethernet module to a network, either a 10BASE-T or 100BASE-TX can be used. The Ethernet module detects whether it is 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 auto detection function, set the half-duplex mode on the hub side.
(1) Connection using the 100BASE-TX
Hub
Twisted pair cable
Ethernet module
Use devices that satisfy the standards of IEEE802.3 and 100BASE-TX.
• Shielded twisted pair cable (STP cable), category 5 * Use a straight cable for connection between a hub and the Ethernet module.
(When connecting an external device to the Ethernet module directly without a hub use a cross cable. However, operation is not guaranteed when connecting the Ethernet module directly to an external device with a cross cable, except when connecting two Ethernet modules.)
• RJ45 plug
• 100Mbps hub
* Up to 2 levels are allowed
for cascade connection
External device
2
2 - 2
2 - 2
SYSTEM CONFIGURATIONS2
MELSEC-F
(2) Connection using the 10BASE-T
Hub
Twisted pair cable
Ethernet module
Use devices that satisfy the standards of IEEE802.3 and 10BASE-T.
• Shielded twisted pair cable (STP cable), category 3 (4, 5) * Use a straight cable for connection between a hub and the Ethernet module.
(When connecting an external device to the Ethernet module directly without a hub use a cross cable. However, operation is not guaranteed when connecting the Ethernet module directly to an external device with a cross cable, except when connecting two Ethernet modules.)
• RJ45 plug
• 10Mbps hub
* Up to 4 levels are allowed for cascade connection
External device
POINT
• During the high-speed communication (100 M bps) via 100BASE-TX connection, a communication error may occur due to the effect of high frequency noise from devices other than PLC in a given installation environment.The following describes countermeasures on the Ethernet module side to prevent the effect of high frequency noise for construction of a network system.
(1) Wiring connection
• Do not bundle the twisted pair cables with the main circuit and power wires, and do not install them close to each other.
• They should be installed at least 100 mm (3.94 in) away from each other.
• Make sure to place the twisted pair cables in a duct.
(2) Communication method
• Data communication with an external device is performed using TCP/IP communication.
• Increase the number of communication retries as necessary.
[When the error cannot be solved]
• Communication is performed at a data transmission rate of 10 M bps by changing the connection hub for the Ethernet module to a hub capable of handling 10 M bps.
2 - 3
2 - 3
SPECIFICATIONS3
MELSEC-F

3 SPECIFICATIONS

This section explains the Ethernet module general specifications, performance specifications and transmission specifications.

3.1 General specifications

For items not listed below, specifications are the same as those of the PLC main unit. For general specifications, refer to the manual (Hardware Edition) of the PLC main unit.
Item Specification
Ambient temperature
Dielectric withstand voltage 500 V AC for one minute
Insulation resistance

3.2 Performance Specifications

The following explains the performance specifications of the Ethernet module.
Item Specification
Data transmission speed 100 M bps 10 M bps
Communication mode Full-duplex/Half-duplex
Transmission specifications
Transmission data storage memory
Number of I/O occupied points 8 points
24V DC external power supply 240mA, 24V DC +20%, -15%, ripple (p-p) less than 5%
Allowable instantaneous power failure time Operation can be continued upon occurrence of instantaneous power failure for 1 ms or less.
5V DC internal power supply
Number of connectable units to the main unit 1
Applicable PLC
External dimensions 90 (3.55") (H) 55 (2.17") (W) 87 (3.43") (D) [mm] (inches)
Weight 0.3 kg (0.66 lbs)
*1 Length between the Hub and node. *2 The value indicates the number of connectable stages when the repeater hub is used. Contact the manufacturer of the switching hub for the number of
connectable stages when using the switching hub.
Transmission method Base band
Maximum segment length
Maximum number of nodes/connection
Number of simultaneously open connections allowed
Fixed buffer 1023 word 8
E-mail
Attached file 2048 words 1
Main text 256 words 1
0 to 55 (32 to 131 ) when operating and -20 to 75 (-4 to 167 ) when stored
5M or more by 500V DC
100 m (328' 1")
Cascade connection Maximum 2 stages
(Connections usable by the sequence program)
5V DC of PLC is not used.
(5V DC is converted from 24V DC external power supply.)
Make sure to observe the power-on timing and the procedure.
3G PLC : Ver. 1.00 or later
FX FX
3U/FX3UC PLC: Ver. 2.21 or later
Between all terminals and the ground terminal
*1
*2
Cascade connection Maximum 4 stages
8 connections
*2
3
3 - 1
3 - 1
SPECIFICATIONS3
MELSEC-F
POINT
The module operation is not guaranteed if any of the following connection is used. Check the module operation on the user side.
• Connections using the Internet (general public line) (Connections using Internet connection service provided by Internet service providers and telecommunications carriers)
• Connections using devices in which a firewall is installed
• Connections using broadband routers
• Connections using wireless LAN
3
E-mail Transmission specifications
Transmission and
reception data
*1 Ethernet modules V. 1.10 or later support port numbers 1 to 65535. The port number is fixed to "25" in Ethernet modules earlier than V. 1.01. *2 Ethernet modules V. 1.10 or later support the authentication function. The port number is fixed without authentication in Ethernet modules earlier than
V 1.01.
*3 Ethernet modules V. 1.10 or later support port numbers 1 to 65535. The port number is fixed to "110" in Ethernet modules earlier than V. 1.01.
Item Specification
Data size
Data transfer method
Subject US-ASCII format or ISO-2022-JP (Base64)
Attached file format MIME format
MIME Versi on 1. 0
Data of attached file format
Division of attached file
When sending (encode)
When receiving (decode)
Encryption No
Compression No
Communication with mail server
Operation check mailer
Attached file 2048 words 1
Main text 256 words 1
When sending: Sends either a file as attachment or main text (select one).
When receiving: Receives a file as attachment.
Binary/ASCII/CSV can be selected.
File name: XXXX.bin (binary), XXXX.asc (ASCII), XXXX.csv (CSV)
Cannot be divided (only one file can be sent/received)
* If any divided files are received, only the first file will be received and the remaining files will be
discarded.
* If e-mail is sent from the external device to the PLC side, specify the encoding method
(Base64/7 bits of the attached file.
Port number
SMTP
Authentication method
POP
*2
Port number
(CSV: Comma Separated Value)
Subject : Base64/7 bits Main text : 7 bits Attached file : Base64
Subject :(Does not decode) Main text :(Cannot be received) Attached file : Base64/7 bits/Quoted Printable
1 to 65535 SMTP: 25 (initial)
*1
• No authentication
• SMTP-AUTH (PLAIN, LOGIN, CRAM-MD5)
• POP before SMTP
*3
1 to 65535 POP3: 110 (initial)
Microsoft Corporation (Outlook Express 6.0)
SMTP-AUTH: 587
3 - 2
3 - 2
Loading...
+ 266 hidden pages