SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety in order to handle the product correctly. This manual classifies the safety precautions into two categories: [ WARNING] and [ CAUTION].
Page 4
[DESIGN PRECAUTIONS] WARNING ● Make sure to set up the following safety circuits outside the PLC to ensure safe system operation even during external power supply problems or PLC failure. Otherwise, malfunctions may cause serious accidents. Most importantly, set up the following: an emergency stop circuit, a protection circuit, an interlock circuit for opposite movements (such as normal vs.
Page 5
[DESIGN PRECAUTIONS] CAUTION ● Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. ●...
Page 6
[INSTALLATION PRECAUTIONS] CAUTION ● Do not touch the conductive parts of the product directly. Doing so may cause device failures or malfunctions. ● When drilling screw holes or wiring, make sure that cutting and wiring debris do not enter the ventilation slits of the PLC.
Page 7
[WIRING PRECAUTIONS] CAUTION ● Perform class D grounding (grounding resistance: 100 or less) of the grounding terminal on the CPU module and extension modules with a wire 2 mm or thicker. Do not use common grounding with heavy electrical systems (refer to the User's Manual (Hardware) of the CPU module used). ●...
Page 8
● Do not disassemble or modify the PLC. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric representative. ● Turn off the power to the PLC before attaching or detaching the following devices. Failure to do so may cause equipment failures or malfunctions.
Page 9
[DISPOSAL PRECAUTIONS] CAUTION ● Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device. [TRANSPORTATION PRECAUTIONS] CAUTION ● The PLC is a precision instrument. During transportation, avoid impacts larger than those specified in the general specifications of the User's Manual (Hardware) of the CPU module by using dedicated packaging boxes and shock-absorbing palettes.
If in doubt about the operation or use, please consult the nearest Mitsubishi Electric representative. • Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples. • This manual content, specification etc. may be changed, without a notice, for improvement.
RELEVANT MANUALS Manual name <manual number> Description MELSEC iQ-F FX5S/FX5UJ/FX5U/FX5UC User's Manual (Hardware) Describes the details of hardware of the CPU module, including <SH-082452ENG> performance specifications, wiring, installation, and maintenance. MELSEC iQ-F FX5 User's Manual (Application) Describes the basic knowledge required for program design, functions of <JY997D55401>...
Page 15
Terms Description Topic A key to be used for messaging In the topic hierarchy, a slash (/) is regarded as a delimiter. For example, when multiple sensors send their individual information to the topic, the messages can be appropriately organized according to their installation location and device name.
GENERIC TERMS AND ABBREVIATIONS Unless otherwise specified, this manual uses the following generic terms and abbreviations. Generic term/abbreviation Description Battery Different name for FX3U-32BL Ethernet module Different name for FX5-ENET Extension module Generic term for the FX5 extension module, FX3 extension module, and extension module (extension cable type and extension connector type) FX5U CPU module Generic term for FX5U-32MR/ES, FX5U-32MT/ES, FX5U-32MT/ESS, FX5U-64MR/ES, FX5U-64MT/ES,...
OUTLINE FX5-ENET Ethernet module (hereinafter referred to as FX5-ENET) is an intelligent function module for connecting a CPU module to a CC-Link IE Field Network Basic and general-purpose Ethernet. CC-Link IE Field Network Basic CC-Link IE Field Network Basic is a factory automation network using the standard Ethernet. Data is periodically communicated between the master station and remote stations using link devices (cyclic transmission).
Page 18
General-purpose Ethernet communication The module can be connected with a host system, such as a personal computer, by using the communication protocol TCP/ UDP. (1) FX5-ENET (2) Hub (3) CPU module (4) External device (personal computer) 1 OUTLINE...
SPECIFICATIONS This chapter describes the FX5-ENET specifications. General Specifications The items other than the following are equivalent to those of the CPU module. For the general specification, refer to the following manual. MELSEC iQ-F FX5S/FX5UJ/FX5U/FX5UC User's Manual (Hardware) Items Specifications Dielectric withstand voltage 500VAC for 1 minute Between all terminals and ground terminal...
Performance Specifications The following table lists the performance specifications. Items Specifications CC-Link IE Field Station type Master station Network Basic Maximum number of connectable stations Number of stations occupied by a remote station 1 to 4 Maximum number of link points per network 2048 2048 1024...
Page 21
*1 Maximum number of connected remote stations that FX5-ENET (master station) can manage. *2 Value for 1-station occupation, 2-station occupation, 3-station occupation, or 4-station occupation. *3 IEEE802.3x flow control is not supported. *4 The ports must comply with the IEEE802.3 100BASE-TX standards. *5 A straight/cross cable can be used.
Part Names This chapter describes the names of each part of the FX5-ENET. 2-4.5 mounting holes [10] [11] [12] [13] Name Description External ground terminal Connect an external ground. (Spring clamp terminal block) Link status display LEDs Displays the link status of module. ( Page 21 LED display) Extension cable Cable for connecting the module when adding the FX5-ENET.
LED display The following table lists the LED display. LED display LED color Description D LINK Green Indicates the operating status of the remote station. • On: Communicating with one or more remote stations • Off: All stations error (Not communicating with any remote station) POWER Green Indicates the power supply status.
PROCEDURES BEFORE OPERATION This chapter describes the procedures before operation. CC-Link IE Field Network Basic Checking the specifications of the FX5-ENET Check the specifications of the FX5-ENET. ( Page 17 SPECIFICATIONS) Installation of the FX5-ENET Connect the FX5-ENET to the CPU module. For details, refer to the following. MELSEC iQ-F FX5S/FX5UJ/FX5U/FX5UC User's Manual (Hardware) Configuring a network Configure a network and set parameters which are required for start-up.
FUNCTION LIST The following table lists the function available for the FX5-ENET. CC-Link IE Field Network Basic For details on function of CC-Link IE Field Network Basic, refer to CC-Link IE Field Network Basic Reference Manual. Cyclic transmission Function Description Data communication using link devices Periodically performs data communication between the master station and remote stations using link devices...
Other Functions The following shows other functions. Function Description Reference E-mail function This function enables e-mails to be sent via mail servers over networks to personal Page 26 computers or smartphones in remote locations. DNS settings Specify the IP address of the DNS server when the host name is to be set as a domain Page 41 name in the e-mail function or the MQTT communication function.
E-mail function Function overview This function enables e-mails to be sent via mail servers over networks to personal computers or smartphones in remote locations. The programmable controller sends e-mails by using a module function block in a ladder program. When an error occurs in the Ethernet module, this function can send a notification with device data attached as detailed information to the mail addresses of users.
Page 29
Message to be sent by the programmable controller Remarks Subject ASCII: Maximum 128 characters Unicode: Maximum 64 characters Attachment Binary format Maximum 32768 bytes Binary to ASCII conversion Binary to CSV conversion Message body Specified with ASCII or Unicode ASCII: Maximum 1024 characters data Unicode: Maximum 512 characters (or 513 characters when including a NULL character that is added to the end of the message body)
Page 30
System configuration In an environment where the Internet is available, e-mails can be sent. (Since the mail server is responsible for sending e- mails, the Ethernet module does not directly send e-mails to the Internet.) Set each setting value of e-mail for Ethernet modules, personal computers, and other devices according to the instructions by the system administrator.
Page 31
■When the SMTP server is outside the office Internet Internet (general public line) (general public line) Internet Internet service provider service provider SMTP/POP3 SMTP/POP3 (e-mail server) (e-mail server) server server Router Ethernet module access range Router Ethernet Ethernet module External device External device Sending side Receiving side...
Page 32
E-mail specifications The following lists the e-mail specifications. Item Specifications 32768 bytes 1 Data size Attachment When Unicode is selected: 512 characters 1, when ASCII is selected: 1024 characters 1 Message body When Unicode is selected: 64 characters 1, when ASCII is selected: 128 characters 1 Subject Data transfer method Sending: The message body and attachment are sent.
Page 33
Function name Algorithm Key length of ECC PSK (pre-shared key) None 4 FUNCTION LIST 4.3 Other Functions...
Page 34
Setting procedure To use the e-mail function, use GX Works3 to set the module parameters. To verify the server certificate, configure additional settings with Certificate Configuration Tool for FX5-ENET. Note that the module parameters can be set from the buffer memory as well. If settings are configured with both Certificate Configuration Tool for FX5-ENET and the buffer memory, priority is given to the settings configured with the buffer memory.
Page 35
Sending e-mails The following figure shows the flow of sending an e-mail message consisting of the body and attachment. FX5 CPU module Ethernet module SMTP server (ladder program) CONNECT (user name password) Return Return (OK) Return (1) The FX5 CPU module (ladder program) executes the module function block (Mail_Send). (2) The Ethernet module sends the e-mail to the SMTP server.
Page 36
Attachment For attachments, the data format can be selected as either ASCII code (ASCII format or CSV format) or binary code (binary format). The following figure shows what is sent for each data format (binary, ASCII, or CSV) when the Ethernet module sends the values of D0 to D100, from the start address D0, as an attachment.
Page 37
E-mail setting change function This function changes the e-mail settings of the Ethernet module by setting information required for sending e-mail, such as account information, from a peripheral to the buffer memory and turning on 'E-mail setting storage area write request' (Un\G4370).
Page 38
■E-mail settings that are set to the Ethernet module When the e-mail setting change function is used, instead of the e-mail settings configured with the module parameters in the engineering tool, the e-mail settings stored in the e-mail setting storage area are set to the Ethernet module. The following figure shows a case where the sender e-mail address and sender name are set from the e-mail setting storage area to the Ethernet module, resulting in the sender e-mail address being set to def@example.com and the sender name to DEF.
Page 39
■Procedure for writing data to the e-mail setting storage area The following describes the procedure for writing data to the e-mail setting storage area to change the e-mail settings in the Ethernet module. Store desired data, such as a new sender e-mail address, in E-mail send function (Un\G4173 to Un\G4369). Write 1 or 2 to 'E-mail setting storage area write request' (Un\G4370).
Page 40
■Operation to write to the e-mail setting storage area Store desired data, such as a new sender e-mail address, in E-mail send function (Un\G4173 to Un\G4369) and turn 'E-mail setting storage area write request' (Un\G4370) from 0 to 1 or from 0 to 2. This causes the data to be written to the e-mail setting storage area.
Page 41
■Operation to clear the e-mail setting storage area Turn 'E-mail setting storage area clear request' (Un\G4372) from 0 to 1. This causes the e-mail setting storage area to be cleared, which means that the e-mail setting change function becomes disabled. When the e-mail setting storage area is cleared, the e-mail settings configured with the module parameters will be used.
Page 42
Precautions The following lists the precautions on the e-mail setting change function. • If e-mail messages are sent consecutively, the SMTP server may not be accessed. If a connection error occurs, send e- mail messages at large intervals. • No error code can be identified in some cases, such as where no external device could be found when the Ethernet module tried to send an e-mail.
DNS settings When the host name is to be set as a domain name in the e-mail function or the MQTT communication function, specify the IP address of the DNS server to DNS servers 1 to 4 specified by the system administrator. [Navigation window] ...
Page 44
DNS setting change function The DNS setting change function changes the DNS settings of the Ethernet module by setting the IP addresses of DNS servers from a peripheral to the buffer memory and turning on 'DNS setting storage area write request' (Un\G4398). The IP addresses of DNS servers can be changed without the engineering tool.
Page 45
■DNS settings that are set to the Ethernet module When the DNS setting change function is used, instead of the IP addresses of the DNS servers configured with the module parameters in the engineering tool, the IP addresses of the DNS servers stored in the DNS setting storage area are set to the Ethernet module.
Page 46
■Operation to write to the DNS setting storage area Store the new IP addresses of the DNS servers in the DNS server address areas (Un\G4390 to Un\G4397) and turn 'DNS setting storage area write request' (Un\G4398) from 0 to 1. This causes the addresses to be written to the DNS server setting storage area.
Page 47
■Procedure for clearing the DNS setting storage area The following describes the procedure for clearing the DNS setting storage area. Write 1 to 'DNS setting storage area clear request' (Un\G4400). Check the write result with the following buffer memory areas. Buffer memory address Name When completed successfully...
MQTT communication function Function overview This function enables information (for example, input from sensors) collected on a programmable controller to be published (sent) to an MQTT broker (on the cloud or on a local network) and such information to be subscribed (received) from the MQTT broker.
Page 49
System configuration The following figure shows the basic system configuration when using the MQTT function. • For TCP connection (1) FX5U CPU module (2) FX5-ENET (MQTT client) (3) Personal computer with GX Works3 and Certificate Configuration Tool for FX5-ENET installed (4) Ethernet switch/router (optional) (5) MQTT broker •...
Page 50
Communication specifications The following table lists the MQTT communication specifications. Item Specifications MQTT function • Connects to the MQTT server (broker). • Sends messages to the MQTT server as a publisher. • Receives messages from the MQTT server as a subscriber. MQTT protocol version V3.1.1 Encrypted communication...
Page 51
Setting procedure When using the MQTT function, MQTT communication settings (module parameters) are configured with GX Works3. When verifying the client authentication and server certificates, client certificates and other settings are configured with Certificate Configuration Tool for FX5-ENET. Note that the module parameters can be set from the buffer memory as well. When they are set from both sources, priority is given to the settings made with the buffer memory.
Page 52
Function list The following figures show the overall flows of sending messages to an MQTT broker and receiving them from it. • When sending messages to a broker Device Cloud FX5 CPU module Broker Ethernet module Subscriber (ladder program) Connect to broker. (Connect) FB: MQTT_Connect FB: MQTT_Connect i_bConnect=OFF→ON...
Page 53
• When receiving messages from a broker Device Cloud FX5 CPU module Ethernet module Broker Publisher (ladder program) SUBSCRIBE request FB: MQTT_Subscribe FB: MQTT_Subscribe i_bSubscribe=OFF→ON i_bSubscribe=OFF→ON SUBSCRIBE (Topic) SUBSCRIBE (Topic) SUBACK SUBACK FB: MQTT_Subscribe: output FB: MQTT_Subscribe: output o_bOK=ON o_bOK=ON PUBLISH message receive (when there is no receive data) FB: MQTT_Receive...
Page 54
■Connecting to a broker (Connect) • For TCP connection FX5 CPU module Ethernet module Broker (ladder program) FB: MQTT_Connect FB: MQTT_Connect i_bConnect=OFF→ON i_bConnect=OFF→ON CONNECT (ClientID, Username, Password) CONNECT (ClientID, Username, Password) CONNACK CONNACK FB: MQTT_Connect: return FB: MQTT_Connect: return o_bOK=ON o_bOK=ON To connect to a broker, the MQTT client (Ethernet module) sends the CONNECT command to a broker.
Page 55
• For TLS connection Cloud FX5 CPU module Ethernet module Broker (ladder program) FB: MQTT_Connect FB: MQTT_Connect i_bConnect=OFF→ON i_bConnect=OFF→ON TLS Handshake (Certificate) TLS Handshake (Certificate) CONNECT (ClientID) CONNECT (ClientID) CONNACK CONNACK FB: MQTT_Connect: output FB: MQTT_Connect: output o_bOK=ON o_bOK=ON To use TLS connection, the MQTT client performs a TLS handshake before sending the CONNECT command. During the handshake, the client and broker exchange their certificates with each other.
Page 58
Certificate The certificate used for TLS connection is set with Certificate Configuration Tool for FX5-ENET and written to the Ethernet module. Page 85 Certificate Configuration Tool for FX5-ENET The following lists the certificate specifications not related to Certificate Configuration Tool for FX5-ENET. ■Checking certificate expiration The expiration dates of client certificates are checked periodically.
Page 59
Function to change MQTT connection settings and tool settings This function changes the settings of the Ethernet module by using ladder programs to set the values of the MQTT connection settings and the tool settings (Certificate Configuration Tool and EtherNet/IP Configuration Tool settings) in the buffer memory and turning on the request for write execution.
Page 60
Check the storage status with 'MQTT connection setting change function enable flag' (Un\G108805) Buffer memory area No. Name Description Un\G108805 MQTT connection setting change function 0: Setting values from GX Works3 enable flag 1: Setting values registered to a flash ROM by using the buffer memory If the write processing for the MQTT connection setting storage area (in the Ethernet module's built-in flash ROM) is not completed successfully, the error code is stored in 'MQTT connection setting storage area write error code' (Un\G108806).
Page 61
■Operation to write tool settings Set new values in 'Tool setting' (Un\G108879 to Un\G108895) of the buffer memory and set 'Tool setting storage area write request' (Un\G108872) to 1 (Execute) or 2 (Execute (no password change)). This causes the values to be written to the tool setting storage area (in the Ethernet module's built-in flash ROM).
Page 62
■Operation to clear tool settings Setting 'Tool setting storage area clear request' (Un\G108874) to 1 (Execute) clears the tool setting storage area (in the Ethernet module's built-in flash ROM) (disables the tool setting change function). The following describes the procedure for clearing the tool setting storage area. Write 1 (Execute) to 'Tool setting storage area clear request' (Un\G108874).
SYSTEM CONFIGURATION CC-Link IE Field Network Basic System Configuration Configure a network system using modules and partner products supporting CC-Link IE Field Network Basic. Connect the modules in a star topology using a switching hub and Ethernet cables. Line and ring topologies are not possible. (1) FX5-ENET (master station) (2) Hub (3) External device (remote station)
Number of link points The number of link points per remote station is 64 points for RX/RY and 32 points for RWr/RWw. ( Page 18 Performance Specifications) However, by changing the number of occupied stations, RX/RY can be set to a maximum of 256 points in increments of 64 points and RWr/RWw can be set to a maximum of 128 points in increments of 32 points.
Certificate Configuration Tool for FX5-ENET Ver. 1.00A or later About GX Works3 For the latest version of GX Works3, please consult your local Mitsubishi Electric representative. ■GX Works3 version check Display information such as the software version of GX Works3.
WIRING Grounding Perform the following. • Perform class D grounding. (Grounding resistance: 100 or less) • Ground the PLC independently when possible. • If the PLC cannot be grounded independently, perform the "Shared grounding" shown below. Other Other Other equipment equipment equipment Independent grounding...
Page 67
The wires to connect the spring clamp terminal block are described below. Number of wires per terminal Wire size Single wire, strand wire Ferrule with insulation sleeve One wiring AWG24 to 16 AWG23 to 19 (0.2 to 1.5mm (0.25 to 0.75mm ■Wire end treatment Strip the cable about 10mm from the tip to connect a wire ferrule at the stripped area.
Wiring Method This section describes how to connect and disconnect the Ethernet cable. Connecting the cable Turn the power supply of FX5-ENET (CPU module) and external device off. Push the Ethernet cable connector into the FX5-ENET until it clicks. Pay attention to the orientation of the connector. Lightly pull the connector to check that the connector is securely connected.
Wiring Products This section describes the devices used to comprise a network. Ethernet cable Use Ethernet cables that meet the following standards. ■CC-Link IE Field Network Basic Communication speed Specifications Connector Ethernet standard 100Mbps Ethernet cable: Category 5 or higher (STP cable RJ45 connector 100BASE-TX ■General-purpose Ethernet...
PARAMETER SETTINGS This section describes the parameter settings required to perform CC-Link IE Field Network Basic and general-purpose Ethernet communication with FX5-ENET. For details on each operation of GX Works3, refer to GX Works3 Operating Manual. Procedure for Setting Parameters Add the "Information Module (FX5-ENET)"...
Own Node Setting Set the IP address of the FX5-ENET. Item Description Setting range IP Address Setting IP Address Set the IP address of the FX5-ENET. • Blank Set the class and subnet address of the FX5-ENET to the same settings •...
CC-Link IEF Basic Setting Set the CC-Link IE Field Network Basic. Item Description Setting range Network Configuration Settings Set the information of the remote station to the master station. Moreover, configure link scan settings (timeout time and number of retries for remote station disconnection detection).
Page 74
Item Description Setting range IP Address Specify the IP address of the remote station. 0.0.0.1 to 223.255.255.254 (Default: Subnet Mask Specify the subnet mask of the remote station. 0.0.0.1 to 255.255.255.255 (Default: Subnet mask of the master station) MAC Address The MAC address of the remote station is displayed.
Page 75
■Automatic detection of connected device Detects the connected remote stations and reflects to the network configurations setting. Follow the operating procedure below to use the automatic detection of connected device. In the network configuration setting, communication settings such as IP addresses and subnet masks can be configured for the detected remote stations.
Page 76
If an error occurs while the automatic detection of connected device is being executed, the window shown below appears. Each of the error codes listed below fills the last four digits of <0x2c09****>. Error code Error details and cause Action C055H and C056H System error •...
Page 77
Error code Error details and cause Action CF51H The function cannot be executed because the function Execute the function again after a while. from another peripheral is being executed. CF53H to CF56H System error • Check the precautions for the function executed. •...
Page 78
Refresh Settings Set refresh parameters. Double-click <Detailed Setting> of the "Refresh Settings". Item Description Setting range Link Side The number of points for the link devices (RX/RY, RWr/RWw) for the number of occupied stations and start/end device number set in the network configuration settings are displayed.
BACnet function setting Set the BACnet functions. Item Description Setting range Whether the BACnet functions are used or Indicates the usage status of the BACnet/IP connection modules in the • Not used external device configuration. (This setting is automatically configured •...
Page 80
Item Description Setting range Device restart Device restart procedure Set the device restart procedure. • Do not support procedure • Support setting (Default: Do not support) Notification destination Set a network number to which notification is sent at device restart. 0 to 65534 network number (Available when device restart is set to "Support")
External Device Configuration Set the conditions of the external devices with which the module will communicate through general-purpose Ethernet. Double-click <Detailed Setting> of the "External Device Configuration". Drag and drop an "Ethernet Device" in the "Module List" to the left side of the screen, and set the following items. The setting items vary depending on the "Ethernet Device"...
Application Settings Set the following parameters when the functions of the general-purpose Ethernet will be used on FX5-ENET. DNS settings Configure the DNS settings. Item Description Setting range DNS Settings Set the IP addresses of the DNS servers so that the mail server can be specified with domain •...
Security Set the security function. Item Description Setting range IP Filter Settings IP Filter Set whether to enable the IP filter function. • Disable • Enable (Default: Disable) IP Filter Settings Set the IP address to be allowed or denied. ( Page 81) Disable Direct Connection with MELSOFT Permit/prohibit direct connection with the engineering tool.
E-mail settings Configure settings for e-mail. Item Description Setting range To Use or Not to Use Mail Function Setting Set whether to use the e-mail function. • Not used • Used (Default: Not used) Send Source Name Sender Name Specifies the sender name as a Unicode string (UTF-16). 64 characters (64 words) or less This item can be left blank.
MQTT communication settings Configure settings for MQTT communication. Item Description Setting range To Use or Not to Use MQTT Function Displays the usage status of the MQTT function. • Not used "To Use or Not to Use MQTT Function" cannot be edited directly. To use the MQTT •...
Starting Certificate Configuration Tool for FX5- ENET After starting Certificate Configuration Tool for FX5-ENET, register and list trusted certificates or CRLs (certificate revocation lists) and manage client certificates. Operating procedure Display the "Module Tool List" window on GX Works3. [Tool] [Module Tool List] Start Certificate Configuration Tool for FX5-ENET.
APPLICABLE ENGINEERING TOOL This chapter describes Certificate Configuration Tool for FX5-ENET. Certificate Configuration Tool for FX5-ENET This section describes Certificate Configuration Tool for FX5-ENET. The following figure shows the window structure. Name Reference Menu bar Page 86 Server Certificates Page 87 Client Certificates Page 90 8 APPLICABLE ENGINEERING TOOL...
Menu This is the menu configuration of Certificate Configuration Tool for FX5-ENET. Item Description Reference Project Displays submenu items related to project files. Page 86 Connection Settings Configure connection settings for communicating with a module. Page 86 Help Displays the help and version information for Certificate Configuration Tool for FX5-ENET. Page 86 Project Displays submenu items related to project files.
Server Certificates Register and list the following items. • Trusted certificate • CRL (certificate revocation list) Display imported items in a list, and select items in the list to delete. Also, write registered certificate files into the Ethernet module, and read, compare, and delete certificate files from the module. Item Description Tool...
Page 90
Item Description Module [Trusted Certificates] tab Displays the trusted root certificate and intermediate certificate registered in the Ethernet module in the certificate information list. [CRLs] tab Displays the certificate revocation list registered in the Ethernet module in the certificate information list. [Update] button Obtains items (certificates and certificate revocation lists) in the certificate information list from the Ethernet module.
Page 91
Items displayed on the list of certificates The following table lists items displayed on the list of certificates. : To be displayed, : Not to be displayed Display item Trusted certificate CRL (certificate revocation list) (Structure of X.509 v3 digital certificate) ...
Client Certificates Manage client certificates in the Ethernet module that works as a client. The current client certificates can be displayed and exported, and a CSR (certificate signature request) can be created. Additionally, in the Ethernet module, a new client certificate (self-signed certificate) can be generated, and existing certificates can be deleted and replaced.
Page 93
"Generate a New Client Certificate (Self-Signed Certificate)" window The following figure shows the "Generate a New Client Certificate (Self-Signed Certificate)" window. Item Description Setting range Common Name Enter the common name to be described in the certificate. 1 to 64 characters One or more characters must be entered.
Precautions • The certificate may not be generated depending on the total length of data entered in "Subject" (excluding "Country"). The maximum allowed data length varies depending on the RSA encryption key length. UTF-8 encoding applies to "Subject". The following table lists the maximum allowed data lengths. RSA encryption key length Maximum data length 1024 bits...
PROGRAMMING This chapter describes program examples of CC-Link IE Field Network Basic. For the program example of the general-purpose Ethernet, refer to the following. MELSEC iQ-F FX5 User's Manual (Ethernet Communication) Interlock Programs of Cyclic Transmission When creating a cyclic transmission program, configure an interlock such that the processing is performed when normal cyclic transmission between the master station and remote stations is performed.
Page 96
Program example Communication program with station No.1 Communication program with station No.2 9 PROGRAMMING 9.1 Interlock Programs of Cyclic Transmission...
Program using buffer memory A program using buffer memory is provided below. Buffer memory used in the program Buffer memory Description U1\G4160.b0 Cyclic transmission status U1\G4100.b0 Cyclic transmission status of each station (station No.1) U1\G4100.b1 Cyclic transmission status of each station (station No.2) Program example Communication program with station No.1 Communication program with station No.2...
TROUBLESHOOTING This section contains an explanation of errors that may occur during communication between FX5-ENET and other devices, and troubleshooting for such errors. 10.1 Checking with LEDs This section describes troubleshooting using the LEDs. The error status can be determined by the status of the RUN LED and ERROR LED. RUN LED ERROR LED Error status...
10.2 Checking the Module Status The status of FX5-ENET module can be checked by the following methods. • Module diagnostics • Ethernet diagnostics • Checking the buffer memory • Event history function Module diagnostics The following functions can be used in the "Module Diagnostics" window for the FX5-ENET. Function Application Error Information...
Page 100
Module Information List Switch to the [Module Information List] tab to check various status information of the FX5-ENET. Item Description LED information (Module) Displays the status of the RUN LED and ERROR LED of the FX5-ENET. LED information (Communication) Displays the status of the D LINK of the FX5-ENET. Setting information IP Address (1st Octet) Displays the IP address of the FX5-ENET.
Ethernet diagnostics To check the status of general-purpose Ethernet, parameter setting and communication status, perform the "Ethernet Diagnostics" of GX Works3. [Diagnostics] [Ethernet Diagnostics] Select the "Module" in the [Target Module Specification]. The following functions can be used in the "Ethernet Diagnostics" window for the FX5-ENET. Function Application Status of Each Connection...
Page 102
Status of Each Connection The status of each connection of the FX5-ENET selected. [Diagnostics] [Ethernet Diagnostics] Select the "Module" in the [Target Module Specification]. Select the [Status of Each Connection] tab. Item Description Connection No./Function Displays the connection number and functions. Host Station Port No.
Page 103
Status of Each Protocol The total number of packets sent/received by each protocol of the selected FX5-ENET can be checked. [Diagnostics] [Ethernet Diagnostics] Select the "Module" in the [Target Module Specification]. Select the [Status of Each Protocol] tab. Item Description Display range...
Page 104
Connection Status The communication status of the FX5-ENET. [Diagnostics] [Ethernet Diagnostics] Select the "Module" in the [Target Module Specification]. Select the [Connection Status] tab. Item Description Display range Communication Status Full Duplex/Half Duplex Displays the communication mode of the line. ...
Checking the buffer memory The buffer memory can be used to check for errors that have occurred in FX5-ENET. Module error If an error occurs in FX5-ENET, check the following buffer memory areas. Buffer memory address Buffer memory name Description Un\G29 Latest error code Stores the latest error code.
10.3 Checking the Network Status The status of the CC-Link IE Field Network Basic network can be confirmed with the CC-Link IE Field Network Basic diagnostics. CC-Link IE Field Network Basic Diagnostics Perform troubleshooting by executing the CC-Link IE Field Network Basic diagnostics of GX Works3 and checking the network status and error details.
Page 107
Item Description Diagnostics Target Group Select a group to be the diagnostics target. Station No. The station number of the remote station is displayed. Occpd Stns The number of occupied stations set in parameter is displayed. Reserved Station The reserved station status set in parameter is displayed. IP Address The IP address set in parameter is displayed.
10.4 Hardware Test This section describes how to perform a test related to hardware, such as a ROM/RAM of the FX5-ENET. • During the hardware test, values in the buffer memory cannot be referred from the GX Works3 or the program.
10.5 Troubleshooting by Symptom The troubleshooting measures for each symptom during CC-Link IE Field Network Basic are shown below. If an error has occurred in the FX5-ENET, identify the error cause using the GX Works3. ( Page 97 Checking the Module Status) When the diagnostics function does not start If the CC-Link IE Field Network Basic diagnostics does not start, check the following.
Page 110
When cyclic data cannot be read/written from/to the remote station correctly If the cyclic data cannot be read in correctly even though the CC-Link IE Field Network Basic diagnostics state is transmitting, check the following. ■CC-Link IE Field Network Basic Check item Action Is the IP address for the master station/remote station set correctly?
Page 111
■CC-Link IE Field Network Basic Check item Action Is the timeout time setting of the master station too short? Increase the timeout time of the master station. Are there any remote stations having an error? Perform troubleshooting for the remote station having an error. Is the line load high? Lower the CC-Link IE Field Network Basic communication frequency, and lower the line load.
10.6 List of Error Codes This section lists the error codes, error details and causes, and actions for the errors that occur in the processing for data communications between the FX5-ENET and external devices or that are caused by processing requests from the CPU module on the own station.
Module error Error codes when a module error occurs are classified into major error, moderate error, and minor error, and can be checked in the [Error Information] tab of the "Module Diagnostics" window of the FX5-ENET. ( Page 97 Module diagnostics) The error codes are stored in 'Latest error code' (Un\G29).
Page 114
Error code Error name Error details and causes Action 181AH Certificate tool setting The value set with the certificate tool setting Recheck the setting value of the certificate tool setting change. change setting value out change is outside the range. of range 181BH MQTT connection setting...
Page 115
Error code Error name Error details and causes Action 1906H Flash memory check error A flash memory check error (Trusted Reset the CPU module, and then switch it to RUN mode. If the certificate parameter sector) has occurred. error occurs again even after the above action is taken, the possible cause is a hardware failure of the Ethernet module.
Page 116
Error code Error name Error details and causes Action 1970H to E-mail sending error An error is detected while an e-mail is being • Check that there is no error in the set connection number. 1976H sent. (The connection number specified in the e-mail server connection device with the external device configuration is specified by another function.) •...
Page 117
Error code Error name Error details and causes Action 2C81H Parameter error • A parameter error was detected in the • Check the external device configuration settings in the FX5- external device configuration. ENET module parameters. • A parameter that is not supported by the •...
Page 118
Error code Error name Error details and causes Action 3066H Parameter error The IP address is outside the range. Please consult your local Mitsubishi representative. 3067H Parameter error The total number of group is outside the Please consult your local Mitsubishi representative. range.
Page 119
Error code Error name Error details and causes Action 30ADH Parameter error MQTT connection setting parameter out of Please consult your local Mitsubishi representative. range 30AEH Parameter error Certificate tool setting parameter out of Please consult your local Mitsubishi representative. range 3103H Certificate read failure...
Page 120
Error code Error name Error details and causes Action 3FA1H Memory error An error was detected in the memory. • Take measures to reduce noise. • Reset the CPU module, and then switch it to RUN mode. If the error occurs again even after the above action is taken, the possible cause is a hardware failure of the CPU module.
Ethernet communication error The Ethernet communication error codes can be checked in "Status of Each Connection" on the "Ethernet Diagnostics" screen of FX5-ENET. ( Page 100 Status of Each Connection) The error codes will be stored in 'Error code' (Un\G108 to Un\G139).
Page 122
Error code Error name Error details and causes Action C059H Ethernet communication • Error in command or subcommand • Reconsider request contents. error specification. • Send command or subcommand that can be used by the • There is a command or subcommand that Ethernet module.
Page 123
Error code Error name Error details and causes Action C13EH E-mail function SMTP server authentication unsupported error • Check whether the SMTP server supports authentication. • Change the SMTP authentication method to "No authentication" or "POP before SMTP". C180H E-mail function •...
Page 124
Error code Error name Error details and causes Action CB03H MQTT communication Host name resolution has failed. • Check the DNS server address. error • Run a PING command to check whether the DNS server can be communicated. • Check that the own station IP address and the DNS server IP address are in the same class.
Page 125
Error code Error name Error details and causes Action CB30H MQTT communication An unsubscribe execution error (UNSUBACK This error also occurs when an invalid string is specified in the error is not received) has occurred. topic filter. Check if there is a problem with the topic filter. If there is no problem with the topic filter, check if there is a problem with the server.
Page 126
Error code Error name Error details and causes Action CFB0H Simple CPU Transmission fails due to retransmission • Check the operation of the external device. communication error timeout. • Check the conditions of the cables, hubs, and routers on the lines to the external devices.
10.7 List of Event Code The following table lists events that occur in the FX5-ENET. Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 0800 System Error Minor Link-down Operation...
Page 128
Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 1910 System Error Minor Flash memory check error (E-mail setting change function sector) 1911 System Error...
Page 129
Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 3063 System Error Moderate The reserved station specification is outside the Parameter range. (Configuration setting parameter) information 3064 System Error...
Page 130
Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 309A System Error Moderate The target IP address setting number is outside Parameter the range. (IP filter settings) information ...
Page 131
Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 3E39 System Error Major Variable memory block acquisition/release Failure parameter error information 3E3A System Error Major E-mail box transmitting/receiving parameter ...
Page 132
Event Event Event Event Detected event Detailed information code type category status Detailed Detailed Detailed information 1 information 2 information 3 C05F System Error Minor Ethernet communication error Parameter information C060 System Error Minor Ethernet communication error Parameter information ...
Page 133
MEMO 10 TROUBLESHOOTING 10.7 List of Event Code...
Appendix 2 Standards Certification of UL, cUL standards The FX5-ENET supports UL (UL, cUL) standards. UL, cUL file number: E95239 For models that support UL standards, please consult your local Mitsubishi representative. Compliance with EC Directive (CE marking) This note does not guarantee that an entire machine produced in accordance with the contents of this note will comply with the following standards.
Caution for compliance with EC Directive Caution for when the FX5-ENET is used When using the FX5-ENET, attach a ferrite core to the power supply of the CPU module. When attaching the ferrite core, make 2 turns within approximately 200 mm from the power cable terminal block and connectors. (Ferrite core used in tests by Mitsubishi: E04SR401938 manufactured by SEIWA ELECTRIC MFG.
Appendix 3 Module Label The buffer memory of the FX5-ENET can be set using module label. Structure of the module label The module label name is defined with the following structure. • "instance name"_"data format""data type"_"label name"_D • "instance name"_"data format""module number""data type"_"label name"_D ■Instance name The following is the instance name of the FX5-ENET.
Appendix 4 Buffer Memory The buffer memory is used to exchange data between the FX5-ENET and the CPU module or external devices. Buffer memory values are set to their defaults (initial values) when the system is powered off or the CPU module is reset. List of buffer memory addresses Buffer memory address Name...
Page 139
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 4113 to 4114 1011H to 1012H Reserved station specification status of each station Read 4117 1015H Link scan information (group Maximum link scan time (Unit: ms) Read number 1) 4118 1016H Minimum link scan time (Unit: ms) Read...
Page 140
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 4398 0112EH DNS setting change function DNS setting storage area write request Read, write 4399 0112FH DNS setting storage area write status Read 4400 01130H DNS setting storage area clear request Read, write 4401 01131H...
Page 141
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 8760, 8761 2238H, 2239H BACnet communication Object ID Read AnalogOutput 1 8762, 8763 223AH, 223BH PresentValue Read 8764 223CH OutOfService Read, write 8765 223DH Reliability Read, write 8766, 8767 223EH, 223FH Value set value Read, write 8768...
Page 142
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 9160 to 9164 23C8H to 23CCH BACnet communication Same configuration as BACnet BinaryInput 5 communication BinaryInput 1 9180 to 9184 23DCH to 23E0H BACnet communication Same configuration as BACnet ...
Page 143
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 9660 to 9669 25BCH to 25C5H BACnet communication Same configuration as BACnet BinaryOutput 14 communication BinaryOutput1 9680 to 9689 25D0H to 25D9H BACnet communication Same configuration as BACnet BinaryOutput 15 communication BinaryOutput1 ...
Page 144
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 10140 to 10147 279CH to 27A3H BACnet communication Multi- Same configuration as BACnet state Input 6 communication Multi-state Input 1 10160 to 10167 27B0H to 27B7H BACnet communication Multi- Same configuration as BACnet ...
Page 145
Buffer memory address Name Initial value Read, write Decimal Hexadecimal 108872 1A948H Tool setting change function Tool setting storage area write request Read, write 108873 1A949H Tool setting storage area write status Read 108874 1A94AH Tool setting storage area clear request Read, write 108875 1A94BH...
Details of buffer memory addresses The following describes the buffer memory addresses of the FX5-ENET. For the details of the buffer memory (Un\8500 to Un\10355) of the BACnet function, refer to MELSEC iQ-F FX5 User's Manual (BACnet). Latest error code ■Latest error code (Un\G29) The latest error code that has occurred in FX5-ENET is stored.
Page 147
IP address setting ■IP address setting (Un\G50 to Un\G51) Stores IP address to be set when using IP address change function. Stores 0 when writing to IP address storage area is completed normally. Address Description Un\G50 3rd octet, 4th octet Un\G51 1st octet, 2nd octet When IP address is 192.168.3.250: Un\G50 = H03FA, Un\G51 = HC0A8...
Page 148
IP address storage area clear request ■IP address storage area clear request (Un\G58) Specify whether to clear the data in the IP address storage area. • 0: Not clear • 1: Clear IP address storage area clear status ■IP address storage area clear status (Un\G59) You can confirm whether or not the IP address storage area is cleared.
Page 149
Subnet mask pattern ■Subnet mask pattern (Un\G74 to Un\G75) Stores subnet mask pattern on the own station set with GX Works3. ( Page 69 Basic Setting) The stored values can be changed by the IP address change function. Address Description Un\G74 3rd octet, 4th octet Un\G75...
Page 150
Error code ■Error code (Un\G108 to Un\G139) This stores error codes (connection number 1 to 32) of general-purpose Ethernet. (0 is stored when communications are normal.) For details on error code, refer to Page 111 Module error. Address Description Un\G108 Stores error code of connection number 1.
Page 151
Initial error code ■Initial error code (Un\G159) The error codes that occur during initialization of FX5-ENET are stored. (0 is stored when communications are normal.) For details on error code, refer to Page 111 Module error. Same IP address state storage area ■Same IP address state storage area (Un\G201) Same IP address state is stored.
Page 152
Periodic communication stop request ■Periodic communication stop request (Un\G304, Un\G305) When the communication setting is "Fixed", stop of data transmission in the simple CPU communication is requested. Address Setting No. Description Un\G304 Setting No.1 • On: Requested • Off: Not requested Setting No.2 ...
Page 153
Simple CPU communication status ■Simple CPU communication status (Un\G352 to Un\G383) The simple CPU communication status is stored. Address Setting No. Description Un\G352 Setting No.1 • 0H: Unset • 1H: Preparing Un\G353 Setting No.2 • 2H: Waiting for request •...
Page 154
Remote input (RX) ■Remote input (RX) (Un\G1000 to Un\G1127) This stores the input data (bit unit) sent from the remote station to the master station (FX5-ENET) with cyclic transmission. Address Remote input Description Un\G1000 • On: Remote input is turned on. •...
Page 155
Cyclic transmission status of each station ■Cyclic transmission status of each station (Un\G4100 to Un\G4101) Stores the remote station cyclic transmission state for each station No. Address Station number Description Un\G4100 Station 1 • On: Being performed • Off: Not performed Station 2 ...
Page 156
Reserved station specification status of each station ■Reserved station specification status of each station (Un\G4113 to Un\G4114) Stores the setting state of the reserved station set with GX Works3. ( Page 71 ) Address Station number Description Un\G4113 Station 1 •...
Page 157
Diagnostic information status flag ■Diagnostic information status flag (Un\G4128) After the END instruction of the scan where the bit 0 of 'Diagnostic information display request' (Un\G4162) is turned off and on is executed, the status (valid or invalid) of diagnostic information (Diagnostic information 1, Diagnostic information 2) of the remote station specified in 'Diagnostic request information' (Un\G4127) is stored.
Page 158
Diagnostic information 1 ■Diagnostic information 1 (Un\G4129 to Un\G4143) When 1 (valid) is stored in b0 to b7 of 'Diagnostic information status flag' (Un\G4128), the number of occupied stations, group number, IP address, the accumulated number of timeouts, and the accumulated number of disconnection detection are stored.
Page 159
Diagnostic information 2 ■Diagnostic information 2 (Un\G4144 to Un\G4159) When Diagnostic information 2 is valid (1 is stored in b8 to b15 of 'Diagnostic information status flag' (Un\G4128)), the manufacturer code, model code, device version, module information, error code, and detailed module information are stored. When Diagnostic information 2 is invalid (0 is stored in b8 to b15 of 'Diagnostic information status flag' (Un\G4128)), 0 is stored.
Page 160
Diagnostic information display request execution status ■Diagnostic information display request execution status (Un\G4163) This area stores the execution status of the diagnostic information display following the 'Diagnostic information display request' (Un\G4162). • 0: Diagnostic information display not requested • 1: Diagnostic information display requested •...
Page 161
E-mail setting change function ■E-mail setting storage area write request (Un\G4370) When this area is changed from 0 to 1 or from 0 to 2, the e-mail settings stored in E-mail send function (Un\G4173 to Un\G4369) are written to the external flash ROM. •...
Page 162
■E-mail setting storage area clear error code (Un\G4376) If an e-mail setting clear request is completed with an error, the error code is stored. • 0: Normal • Other than 0: Error code E-mail send function (for diagnostics) ■Error code (Un\G4377) This area stores an error code at e-mail sending.
Page 163
■Number of e-mails completed with an error (Un\G4386) This area stores the accumulated number of communication errors returned when a send request was made to the outgoing mail server. • 0: A communication error has not yet been returned from the server, or a send request has not yet been made. •...
Page 164
■DNS setting storage area clear status (Un\G4401) This area stores the DNS setting clear request result. DNS setting storage area clear completed (Un\G4401.b0) The status will be 1 (Completed) when clearing of the DNS setting storage area completes or fails. The status will be 0 (Not completed) when 'DNS setting storage area clear request' (Un\G4400) is changed from 1 to 0.
Page 165
■MQTT connection setting storage area clear status (Un\G108804) This area stores the MQTT connection setting deletion status. Status Not completed Completed Normal Error ■MQTT connection setting change function enable flag (Un\G108805) This area stores the source information of the MQTT connection settings that are currently reflected. •...
Page 166
■MQTT server IP address (Un\G108814 to Un\G108815) Set an MQTT server (MQTT broker) IP address. Use this when IP address specification is set. • 00000001H to DFFFFFFEH ■MQTT server port number (Un\G108816) Specify an MQTT server (MQTT broker) port number. •...
Page 167
■Tool setting storage area clear status (Un\G108875) This area stores the tool setting deletion status. Status Not completed Completed Normal Error ■Tool setting change function enable flag (Un\G108876) This area stores the source information of the tool settings that are currently reflected. •...
Page 168
■Certificate function ready-to-enable state (Un\G108899) This area shows whether the functions (e-mail function and MQTT communication function) that use certificates finish reading certificates and are ready for communications. Prepare the functions that use certificates to be ready for communications and turn on b1 and b0 of this buffer memory for each function.
Page 169
■Latest error code (session) (Un\G108920) This area stores the latest error code (session). MQTT function operation information ■MQTT connection: communication status (Un\G108975) This area stores the communication status for FB: MQTT_Connect output. ■MQTT connection: Error code (Un\G108976) This area stores the error code for FB: MQTT_Connect output. ■MQTT Publish sending: Communication status (Un\G108977) This area stores the communication status for FB: MQTT_PublishSend output.
Appendix 5 Processing Time The processing time of CC-Link IE Field Network Basic consists of the time components below. Sequence scan time + Link scan time + Remote station response processing time = Transmission delay time Master station Remote station Device Link device Link device...
Transmission delay time A transmission delay time includes an input transmission delay time and an output transmission delay time. Input transmission delay time The input transmission delay time means the following. • Time between when a signal (RX) is input to the remote station and when a device of the master station turns on or off •...
Appendix 6 Software Licenses and Copyrights This section describes the licenses and copyrights of software used in this product. MD5 Message-Digest Algorithm This product includes code that was developed by RSA Data Security, Inc. Copyright (C) 1991-2, RSA Data Security, Inc. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc.
Appendix 7 Added and Changed Functions This appendix shows the functions added to FX5-ENET and engineering tool or changed functions, the firmware versions of the appropriate FX5-ENET and CPU module and the software version of the engineering tool. The firmware version of the FX5-ENET can be found in the buffer memory. ( Page 144 Firmware version) The firmware version of the CPU module can be checked with module diagnosis (CPU diagnosis).
Japanese manual number: SH-082024-G 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.
WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation of production Range If any faults or defects (hereinafter "Failure") found to be Mitsubishi shall accept onerous product repairs for the responsibility of Mitsubishi occurs during use of the seven (7) years after production of the product is product within the gratis warranty term, the product shall...
TRADEMARKS Anywire and AnyWireASLINK are either registered trademarks or trademarks of Anywire Corporation. 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.
Page 180
Manual number: SH(NA)-082026ENG-G MODEL: FX5-U-ENET-E MODEL CODE: 09R736 HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS: 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA 461-8670, JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.