Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Quick Links

MELSEC iQ-F
FX5 User's Manual (OPC UA)

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-F FX5

  • Page 1 MELSEC iQ-F FX5 User's Manual (OPC UA)
  • Page 3: Safety Precautions

    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 100 mm 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  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 [OPERATION PRECAUTIONS] CAUTION ● Construct an interlock circuit in the program so that the whole system always operates on the safe side before executing the control (for data change) of the PLC in operation. Read the manual thoroughly and ensure complete safety before executing other controls (for program change, parameter change, forcible output and operation status change) of the PLC in operation.
  • Page 10: Introduction

    • The information in this manual has been carefully checked and is believed to be accurate; however, if you notice a doubtful point, an error, etc., please contact your local Mitsubishi Electric representative. When doing so, please provide the manual...
  • Page 11: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 INTRODUCTION .
  • Page 12 IP address settings ............... 64 Security parameters .
  • Page 13: Relevant Manuals

    MELSEC iQ-F FX5 User's Manual (Application) Basic knowledge required for program design, functions of a CPU module, devices/labels, <JY997D55401> and parameters MELSEC iQ-F FX5 Programming Manual (Program Design) Specifications of ladder, ST, FBD/LD, and other programs and labels <JY997D55701> MELSEC iQ-F FX5 Programming Manual (Instructions,...
  • Page 14: Chapter 1 Overview

    OVERVIEW FX5-OPC OPC UA module (hereinafter referred to as FX5-OPC) is an intelligent function module for making programmable controller data such as inputs, outputs, or internal registers available to external devices and applications via an OPC UA server interface. OPC UA communication OPC UA is an architecture to exchange information between applications and devices.
  • Page 15 MEMO 1 OVERVIEW...
  • Page 16: Chapter 2 Specifications

    SPECIFICATIONS This chapter explains the specifications of an FX5-OPC. General Specifications The general specifications other than below are the same as those of the CPU module to be connected. For the general specification, refer to the following: MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware) Item Specification...
  • Page 17: Performance Specifications

    Performance Specifications The following shows the performance specifications. Item Specification OPC UA server OPC UA version 1.03 Profiles Micro Embedded Device Server Profile For details on supported profiles and facets, refer to the following: Page 16 Supported profiles and facets Page 16 Supported services Services Page 18 Address space specifications...
  • Page 18: Opc Ua Server Specifications

    OPC UA server specifications An FX5-OPC is compliant with OPC UA Version 1.03. Supported profiles and facets The following shows the profiles and facets supported by an FX5-OPC. Profile/facet name Description ComplexType Server Facet Values of all structure members can be read or written at once by a single operation. They can also be accessed one by one.
  • Page 19 Alternatively, it can be set manually in GX Works3. For details on the setting method, refer to the following: MELSEC iQ-F FX5 User's Manual (Ethernet Communication) GX Works3 Operating Manual Changing the time setting of a CPU module while an OPC UA server is running affects the FX5-OPC operation as follows.
  • Page 20 Address space specifications The following shows details on facets that define the structure of the FX5-OPC address space. Category Facet name Supported conformance unit Data Access ComplexType Server Facet All mandatory units PLCopen Controller Operation Server Facet All mandatory units and an optional unit 'Ctrl References' OPC UA for devices BaseDevice_Server_Facet All mandatory units...
  • Page 21 ■User-defined structure Structure definitions in a GX Works3 project are represented in the FX5-OPC address space as DataType nodes. In addition, detailed information of each structure definition is held as a part of the ByteString value of the standard TypeDictionary variable .
  • Page 22 ■Function blocks FB definitions from GX Works3 are represented in the FX5-OPC address space as ObjectType nodes containing variables such as inputs, outputs, internal variables and external variables. FB instances are represented as Object nodes. For details, refer to the following: Page 37 User nodes ■Considerations The number of labels that can be exposed in the FX5-OPC address space depends on the usage of the following resources:...
  • Page 23: Part Names

    Part Names This section shows the part names of an FX5-OPC. [10] 2-φ4.5 mounting holes [11] [12] [13] Name Description External ground terminal Connect an external ground. (Spring clamp terminal block) Ethernet connection status display LEDs Indicates the status of the Ethernet connection. (Page 22 LED indication) Extension cable A cable for connecting a preceding module.
  • Page 24: Led Indication

    LED indication The following shows the indications of the LEDs. LED name LED color Description OPERATION Green Indicates the operating status of an OPC UA server. ON: Server running OFF: Server stopped SESSION Green Indicates the session status between an FX5-OPC and OPC UA client. ON: Active session OFF: No active session D ACCESS...
  • Page 25: Chapter 3 Procedures Before Operation

    PROCEDURES BEFORE OPERATION This chapter describes the procedures before operation of an FX5-OPC. Operating procedure Checking the specifications of an FX5-OPC Check the specifications of an FX5-OPC. (Page 14 SPECIFICATIONS) Attaching an FX5-OPC Connect an FX5-OPC to a CPU module. For details, refer to the following: MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware)
  • Page 26 MEMO 3 PROCEDURES BEFORE OPERATION...
  • Page 27: Chapter 4 Functions

    FUNCTIONS This chapter explains details on the functions of an FX5-OPC. List of Functions The following table shows the function list of an FX5-OPC. Function name Description Reference OPC UA server function To operate as an OPC UA server. Page 25 OPC UA Server Function Factory reset To restore an FX5-OPC to its initial state.
  • Page 28: Security

    Security The following explains the security functions of an FX5-OPC. An FX5-OPC supports the full security stack of the OPC UA specifications for transport and application layers. Security configuration Security for an FX5-OPC can be configured in GX Works3 and OPC UA Module Configuration Tool. In module parameters of GX Works3, settings related to IP filter or unsecured connections can be configured.
  • Page 29 ● Security policies The strength level of OPC UA security is described by security policies. A combination of a security policy and a message security mode defines a security capability of an endpoint of an OPC UA server. The following combinations are supported by an FX5-OPC: Security policy Message security mode None...
  • Page 30 ■Server certificate For increased security, an FX5-OPC server certificate is not a part of security configuration which can be edited offline and stored in a project file of OPC UA Module Configuration Tool. A server certificate and its private key exist in an FX5-OPC only. When OPC UA Module Configuration Tool is connected to an FX5-OPC, the tool displays detailed information of the server certificate read from the FX5-OPC.
  • Page 31 ■Client certificate An FX5-OPC uses the following lists of client certificates to authenticate OPC UA client connections. List Description Trusted certificates A list of self-signed certificates of trusted OPC UA clients and root certificate authorities. This list is managed in security parameters. Rejected certificates A list of certificates of rejected OPC UA clients.
  • Page 32 ■Rejected certificate A rejected certificate is stored in an FX5-OPC. It can be read and displayed in OPC UA Module Configuration Tool. Any certificate displayed in the list can be moved to the trusted certificate list. If the authentication of a connecting OPC UA client fails, its client certificate is added to the rejected certificate list. The following are examples in which connection authentication fails: •...
  • Page 33 ■Operations when using self-signed certificates A certificate can be either self-signed or signed by an external certificate authority. When all OPC UA clients and OPC UA server have self-signed certificates, the server needs to store a client certificate in the trusted certificate list to establish a secure connection with the client.
  • Page 34 ■Operations when using CA-signed certificates Having a root certificate authority, which can sign other certificates, is an alternative to using self-signed certificates. Instead of storing all client certificates in the trusted certificate list of an OPC UA server, it is enough to store just one certificate of a trusted root certificate authority.
  • Page 35 Application layer ■User authentication Access to an FX5-OPC is controlled by setting a user name and password to prevent access by unauthorized users. A user name and password can be set in "User Management" in the [Security Parameter] tab of OPC UA Module Configuration Tool.
  • Page 36 • When security parameters of OPC UA Module Configuration Tool are stored in an FX5-OPC Security parameters of OPC UA Security profiles of the exposed endpoints Buffer Module Configuration Tool memory (Un\G3) User Enable Sign Endpoint No. Security Message User token User token Management Unsecure...
  • Page 37 The OPC UA security policy considers the strength of certificates. Therefore, OPC UA clients may not be able to access some endpoints depending on the settings of the stored server certificate. An FX5-OPC rejects a client connection if the settings of a server certificate (combination of an asymmetric signature algorithm and asymmetric key length) and the security policy of selected endpoint do not match the table below.
  • Page 38: Address Space

    Address space An FX5-OPC supports Core Server Facet of the OPC UA specifications. Overview FX5-OPC address space contains variables and objects mapped to data in GX Works3 project (such as labels, data types and POUs), organized according to the PLCopen information model. The address space also contains the obligatory server object which provides basic information of a server instance.
  • Page 39 User nodes The following shows a part of the address space in which instances of user-defined project elements exist. The structure of this part is defined by the PLCopen information model; it follows the structure of resources in a programmable controller.
  • Page 40 The following shows a part of the address space in which user-defined data types and FB definitions exist. Root Types ObjectTypes DataTypes CtrlTypes BaseDataType FB_type1 Structure FB_types2 UserStructure FB_component Non_FB_component structuredDataType1 structuredDataType2 The elements (1) and (2) correspond to elements in a GX Works3 project as shown below: Element Corresponding element in a GX Remarks...
  • Page 41: Factory Reset

    Rules used for identifying an IP address can be set in module parameters of GX Works3. (Page 57 Security settings) For more details on this function, refer to the following: MELSEC iQ-F FX5 User's Manual (Ethernet Communication) Behavior when denying an IP address When an IP address is denied by rules set in GX Works3, an FX5-OPC discards the packets from the IP address.
  • Page 42: Chapter 5 System Configuration

    SYSTEM CONFIGURATION Overall System Configuration This section shows the overall system configuration when using an FX5-OPC. (1) FX5U CPU module/FX5UC CPU module (2) FX5-OPC (OPC UA server) (3) Personal computer in which GX Works3 or OPC UA Module Configuration Tool is installed (4) Ethernet switch/router (optional) (5) OPC UA client 5 SYSTEM CONFIGURATION...
  • Page 43: Supported Cpu Modules And Engineering Tools

    Supported CPU Modules and Engineering Tools This section shows the CPU modules and engineering tools supported by an FX5-OPC. CPU modules Module name Firmware version FX5U CPU module 1.245 or later FX5UC CPU module *1 FX5-CNV-IFC or FX5-C1PS-5V is necessary to connect an FX5-OPC to an FX5UC CPU module. Engineering tools Engineering tool name Software version...
  • Page 44: Chapter 6 Wiring

    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 45 ■Ferrule The following table shows wire ferrules and its associated tools compatible with the terminal block. The shape of the wire ferrule differs depending on the crimp tool to be used, use the reference product. If the product other than referenced products is used, the wire ferrule cannot be removed. Sufficiently confirm that the wire ferrule can be removed before use.
  • Page 46 ■Connection and disconnection of the cable • Connection of the cable Fully insert a cable whose end has been properly processed into the wire insertion opening. If the cable cannot be inserted with this procedure, fully insert the cable while pushing the open/close button with a flathead screwdriver having a tip width of 2.0 to 2.5 mm.
  • Page 47: Wiring Method

    Wiring Method This section describes how to connect and disconnect the Ethernet cable. Connecting the cable Turn the power supply of an FX5-OPC (CPU module) and external device off. Push the Ethernet cable connector into the FX5-OPC until it clicks. Pay attention to the orientation of the connector. Lightly pull the connector to check that the connector is securely connected.
  • Page 48: Wiring Products

    Wiring Products This section describes the devices used to comprise a network. Ethernet cable Use Ethernet cables that meet the following standards. Communication Specifications Connector Ethernet standard speed 100Mbps Ethernet cable: Category 5 or higher (STP cable RJ45 connector 100BASE-TX 10Mbps Ethernet cable: Category 3 or higher (STP/UTP cable RJ45 connector...
  • Page 49: Chapter 7 Parameter Settings

    PARAMETER SETTINGS Set parameters of an FX5-OPC in GX Works3 or OPC UA Module Configuration Tool. Parameter List The following table shows parameters for an FX5-OPC. Setting tool Parameter Description Reference GX Works3 Module parameters General parameters for an intelligent function module such Page 55 Module parameters as settings of IP address and whether to enable unsecured connections.
  • Page 50: Setting Tools

    Setting Tools This section explains tools used for setting parameters. GX Works3 GX Works3 is an engineering tool for setting, programming, debugging, and maintaining programmable controllers. Module parameters and address space parameters for an FX5-OPC can be set with this tool. For details on GX Works3, refer to the following: GX Works3 Operating Manual Address space parameters and security parameters cannot be verified or deleted in GX Works3.
  • Page 51 ■Starting from GX Works3 The following explains the method to start OPC UA Module Configuration Tool from GX Works3 and the menu items displayed in the main window. Settings are saved in a GX Works3 project file when saving the project. Window [Navigation window] ...
  • Page 52 ■Starting directly The following explains the method to start OPC UA Module Configuration Tool directly and the menu items displayed in the main window. Settings are saved as a OPC UA Module Configuration Tool project file (*.mopc). Window  Select [MELSOFT]  [OPC UA Module Configuration Tool] from Windows Start *1 Select [All apps] in the Start screen or [Start] ...
  • Page 53 • A remote password is changed. • The "Transfer Setup" screen is closed by clicking the [OK] button. For details on a remote password, refer to the following: MELSEC iQ-F FX5 User's Manual (Ethernet Communication) 7 PARAMETER SETTINGS 7.2 Setting Tools...
  • Page 54: Setting Procedure

    Setting Procedure Setting parameters Setting parameters in OPC UA Module Cofiguration Tool only in both GX Works3 and (Settings in GX Works3 have been OPC UA Module Configuration Tool configured by another user.) Create a GX Works3 project. Add an FX5-OPC to the GX Works3 project. Set module parameters.
  • Page 55 For details on each setting, refer to the following: Item Reference GX Works3 Operating Manual Creating a GX Works3 project Adding an FX5-OPC to the GX Works3 project Page 54 Adding an FX5-OPC Setting module parameters Page 55 Module parameters Creating programs and labels GX Works3 Operating Manual Setting address space parameters...
  • Page 56: Adding An Fx5-Opc

    Adding an FX5-OPC The following explains the procedure to add an FX5-OPC to a GX Works3 project. Operating procedure Select "Parameter"  "Module Information" in the Navigation window. Right-click it and select [Add New Module] from the shortcut menu. The "Add New Module" screen appears. Set the following items and click the [OK] button.
  • Page 57: Module Parameters

    Module parameters Module parameters can be set in GX Works3. [Navigation window]  [Parameter]  [Module Information]  [FX5-OPC]  [Module Parameter] Required settings ■Mode settings Set the operation mode of an FX5-OPC. Displayed items Item Description Setting range Operation Mode Set the operation mode of an FX5-OPC.
  • Page 58 Basic settings ■Network settings Set the IP address of an FX5-OPC. Displayed items Item Description Setting range *1*2 IP Address Set the IP address of an FX5-OPC. • Blank Set the class and subnet address of the FX5-OPC to the same settings as those of the external •...
  • Page 59 Application settings ■Security settings Set the security function. Displayed items Item Description Setting range IP Filter Settings IP Filter Set whether to enable the IP filter function. • Disable • Enable IP Filter Settings Set the IP address to be allowed or denied. ...
  • Page 60 • IP filter settings Set the IP address for which the IP filter function will be used. Double-click <Detailed Setting> of "IP Filter Settings." Displayed items Item Description Setting range Access from IP address below Select whether to allow or deny the access from the specified IP addresses. •...
  • Page 61: Address Space Parameters

    Address space parameters Labels to be exposed in the address space can be selected in the "Address Space Parameter" screen of GX Works3. "Address Space Parameter" screen Window [Navigation window]  [Parameter]  [Module Information]  [FX5-OPC]  [Address Space Parameter] Parent object Child objects Parent object...
  • Page 62 Name Description Setting range Max. Age [ms] For a variable label, set maximum elapsed time since the variable was read in • Variable label: 0 to 10000 *2, *3 milliseconds. • Constant label: blank For a constant label, this cell is blank and cannot be edited. Address Space Size Size of the address space parameters calculated based on the types of the selected labels 0 to 256KB...
  • Page 63 ■Parent object and child object Items displayed in the "Address Space Parameter" screen are classified into two types: parent object and child object. Labels in a GX Works3 project are called child objects, and the items which include child objects, such as label lists, program blocks, and programs, are called parent objects.
  • Page 64 ■Updating address space parameter data When performing any of the following operations in GX Works3, data of the address space parameters needs to be updated by clicking the [Update] button so that the data matches with GX Works3 project data. •...
  • Page 65: Online Operations

    Online operations Module parameters can be written to a CPU module, and address space parameters to an FX5-OPC in the "Online Data Operation" screen of GX Works3. For details on the online operations of GX Works3, refer to the following: GX Works3 Operating Manual •...
  • Page 66: Ip Address Settings

    IP address settings An IP address, subnet mask, and default gateway can be set in the [IP Address Settings] tab of OPC UA Module Configuration Tool. This tab is displayed only when OPC UA Module Configuration Tool is started directly, not from GX Works3. Displayed items Item Description...
  • Page 67: Security Parameters

    Security parameters Security parameters can be set in the [Security parameter] tab of OPC UA Module Configuration Tool. Displayed items Item Description Reference General Settings Set general settings. Page 66 General settings Client Certificates Manage client certificates. Page 67 Client certificates User Management Manage users authorized to access an OPC UA server.
  • Page 68 General settings Displayed items Item Description *1,*2, *3 Use Administrator Password to Protect Security Parameter Select the checkbox to set a password to protect security parameters. The password is used for encryption of security parameter data and authorization of an administrator.
  • Page 69 Client certificates ■Trusted certificates In the [Trusted Certificates] tab, trusted certificates are displayed in a list. A certificate can be imported or deleted. Displayed items Item Description [Import] button Click this to import a trusted certificate from a DER-format X.509 certificate file. [Delete] button Click this to delete a trusted certificate selected in the list.
  • Page 70 ■Issuers certificates In the [Issuers Certificates] tab, certificates of intermediate certificate authorities are displayed in a list. A certificate can be imported or deleted. Displayed items Item Description [Import] button Click this to import a certificate of intermediate certificate authority from a DER-format X.509 certificate file. [Delete] button Click this to delete the certificate of an issuer selected in the list.
  • Page 71 User management Displayed items Item Description [Create User] button Click this to open the "Create User" dialog. *1, *2, *3 Set a user name and password in that screen. [Delete] button Click this to delete a user selected in the list. [Modify] button Click this to open the "Modify User"...
  • Page 72: Server Certificate

    Server certificate In the [Server Certificate] tab of OPC UA Module Configuration Tool, the certificate of an FX5-OPC can be checked and set. Displayed items Item Description Current Certificate Certificate list The currently used server certificate is displayed if communication with an FX5-OPC is Display successful after opening the [Server Certificate] tab or refreshing the display.
  • Page 73 "Generate a New Self-Signed Certificate" screen Enter information of a self-signed certificate to be generated in the "Generate a New Self-Signed Certificate" screen. Displayed items Item Description Setting range Subject Common Name Enter a common name to be written in a certificate. Up to 64 characters Organization Name Enter an organization name to be written in a certificate.
  • Page 74 Precautions A certificate cannot be generated depending on the total data length of the "Subject" field (excluding "Country"). The length of an RSA key varies the maximum data length. The following table shows the maximum data length for the "Subject" field where UTF-8 encoding is used. RSA key length Maximum data length 1024 bits...
  • Page 75: Module Diagnostics

    Module diagnostics In the [Module Diagnostics] tab of OPC UA Module Configuration Tool, the status of an OPC UA server can be checked and changed. The displayed server status is updated every five seconds after selecting this tab or starting/stopping a server. In addition, the number of rejected certificates stored in an FX5-OPC can be checked and they can be deleted in a batch.
  • Page 76: Enabling Unsecured Connections

    Enabling Unsecured Connections Unsecured connections with OPC UA clients are disabled by default. By changing a module parameter setting in GX Works3 or security parameter setting in OPC UA Module Configuration Tool, an FX5-OPC allows unsecured connections with OPC UA clients. However, note that it is recommended to always use secure connections in an OPC UA system.
  • Page 77: Chapter 8 Troubleshooting

    TROUBLESHOOTING This chapter explains errors that may occur when using an FX5-OPC and their troubleshooting methods. Checking Errors with LEDs The module status can be checked with LEDs. The LED status can be checked remotely by using the diagnostic function. In addition, when an error is detected, details of the error can be checked with the diagnostic function.
  • Page 78 OPC UA server function status The status of the OPC UA server function can be checked with the statuses of OPERATION LED, SESSION LED, and D ACCESS LED. OPERATION SESSION D ACCESS OPC UA server function Description status Stopped An OPC UA server is not responding to a client. Running An OPC UA server is waiting for a client to connect.
  • Page 79: Checking The Module Status

    Checking the Module Status The status of an FX5-OPC can be checked by the following methods: Page 77 Module diagnostics Page 79 Checking with the buffer memory Module diagnostics Error information and module information of an FX5-OPC can be checked in the "Module Diagnostics" screen of GX Works3. Select an FX5-OPC from the module configuration in the system monitor of GX Works3 and double-click one of the cells in the same column to display the "Module Diagnostics"...
  • Page 80 Module Information List The information of each status of an FX5-OPC can be checked by switching to the [Module Information List] tab. *.*** Item Description LED information (Module) The statuses of the RUN LED and ERROR LED of an FX5-OPC are displayed. LED information (Network) The statuses of the OPERATION LED and SESSION LED of an FX5-OPC are displayed.
  • Page 81: Checking With The Buffer Memory

    Checking with the buffer memory Errors that have occurred in an FX5-OPC can be checked in the following buffer memory addresses: Buffer memory Buffer memory name Description Reference address Un\G29 Latest error code The latest error code is stored. Page 91 Latest error code (Un\G29) Un\G34.F Module error status An error flag is stored.
  • Page 82: Hardware Test

    Hardware Test The hardware test diagnoses hardware such as the ROM or RAM of an FX5-OPC. This section explains the procedure to perform the hardware test and the operations required after the test. • Values in the buffer memory cannot be accessed in GX Works3 or a program during the hardware test. •...
  • Page 83: Troubleshooting By Symptom

    Troubleshooting by Symptom This section shows troubleshooting methods for issues other than FX5-OPC errors. For errors occurring in an FX5-OPC, identify their causes by using LEDs or the diagnostic function of GX Works3. (Page 75 Checking Errors with LEDs, Page 77 Module diagnostics) Symptom Check item Corrective action...
  • Page 84: Error Code List

    Error Code List When an FX5-OPC detects an error during its operation, the module stores the error code in 'latest error code' (Un\G29) of the buffer memory. The error details and cause can be identified by checking the error code. An error code can be checked by either of the following methods: •...
  • Page 85 Error code Error name Error description Corrective action 1E07H TCP listener timeout The TCP session has timed-out due to 60s Make sure that the OPC UA client sends a request to inactivity. FX5-OPC in intervals shorter than 60s. 1E08H TCP connection closed due An invalid or unexpected request was made •...
  • Page 86 Error code Error name Error description Corrective action 3FA2H Flash ROM write count error Exceeded the maximum number of write Correct operation of the module cannot be operations allowed for the on-chip flash guaranteed. Replace the module with a new one. ROM.
  • Page 87: Event List

    Event List Information of errors and events which an FX5-OPC detects is saved in a CPU built-in memory or SD memory card. When an event occurs, its event code and details can be checked in the screen opened by the following operation: •...
  • Page 88: Appendix

    APPENDIX Appendix 1 External Dimensions The following figure shows the external dimensions of an FX5-OPC. 2-φ4.5 Mounting holes (Unit: mm) • MASS (Weight): approx. 0.2 kg APPX Appendix 1 External Dimensions...
  • Page 89: Appendix 2 Standards

    EC directive. Compliance to EMC directive and the low voltage directive (LVD) of the entire mechanical module should be checked by the manufacturer. For more details, please contact your local Mitsubishi Electric sales office. Requirement for compliance with EMC directive...
  • Page 90: Appendix 3 Module Labels

    Appendix 3 Module Labels The buffer memory of an FX5-OPC can be set using module labels. Structure of a module label The module label name is defined with the following structure. • "Instance name"_"data format""label name"_D ■Instance name The following is the instance name of an FX5-OPC. Model Instance name FX5-OPC...
  • Page 91: Appendix 4 Buffer Memory

    Appendix 4 Buffer Memory The buffer memory is used to exchange data between an FX5-OPC and a CPU module. Buffer memory values are set to their defaults (initial values) when the system is powered off or the CPU module is reset. Buffer memory list The following lists the buffer memory of an FX5-OPC.
  • Page 92: Buffer Memory Details

    Buffer memory details The following shows the details on the buffer memory of an FX5-OPC. Server status (Un\G0) The status of an OPC UA server is stored. Value Description 0 or 2 Stopped Running Session status (Un\G2) The status of OPC UA client sessions is stored. Address Value Description...
  • Page 93 Security status (Un\G3) The status of security parameters is stored. Address Name Valu Description Initial Read/Write value Un\G3 Security parameter storage status A valid security parameter file is not stored in the flash Read ROM of an FX5-OPC. A valid security parameter file is stored in the flash ROM of an FX5-OPC.
  • Page 94 Input signals (Un\G34) The communication status of an FX5-OPC can be checked with these signals. Address Signal name Description Un\G34 Module READY A signal for checking whether the FX5-OPC is ready to start its operation. • ON: The module is operable. (Initialization is completed.) •...
  • Page 95 Subnet mask (Un\G74 to Un\G75) The subnet mask of the own station set in GX Works3 or OPC UA Module Configuration Tool is stored. Address Description Un\G74 Third octet, fourth octet Un\G75 First octet, second octet When the subnet mask is 255.255.255.0: Un\G74 = FF00H, Un\G75 = FFFFH 255.
  • Page 96 Session details (Un\G200 to Un\G283) Detailed information on available sessions is stored. Up to four sessions are available. Address Session Name Description Un\G200 First session Session status Information on the session status is stored. Un\G201 to Un\G202 Session ID The unique ID of the session is stored. Un\G203 to Un\G204 IP address The IP address of the connected OPC UA client is stored.
  • Page 97: Appendix 5 Performance Considerations

    Appendix 5 Performance Considerations This section describes the performance considerations for the OPC UA server function of an FX5-OPC and measurement results of the server processing time. Address space size The number of variables in an address space is limited by the memory capacity of an FX5-OPC. For details on the factors which affect the size of an address space, refer to the following: Page 20 Considerations Polling performance...
  • Page 98 ■Measurement example The following shows measurement results obtained under the conditions listed below. • Only one OPC UA client was connected during measurement. • All monitored variables were of the WORD type. • All variables were assigned to consecutive addresses in a CPU module. •...
  • Page 99 Server certificate generation time Time required for FX5-OPC to generate a server certificate depends mainly on the following two factors: Item Remarks Key length selected in OPC UA Module The larger a key length (bits) is, the longer it takes to generate a certificate. Configuration Tool Load on an FX5-OPC responding to OPC UA Monitoring hundreds of variables through OPC UA subscriptions with small sampling rates (less...
  • Page 100: Appendix 6 Software Licenses And Copyrights

    Appendix 6 Software Licenses and Copyrights This section describes the licenses and copyrights of software used in this product. OpenSSL 1.1.1 This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). Copyright Copyright 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved. This product includes cryptographic software written by Eric Young (eay@cryptsoft.com) This Windows version of this product includes software written by Tim Hudson (tjh@cryptsoft.com) LICENSE ISSUES...
  • Page 101 "This product includes software written by Tim Hudson (tjh@cryptsoft.com)". THIS SOFTWARE IS PROVIDED BY ERIC YOUNG "AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;...
  • Page 102 For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
  • Page 103 The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.
  • Page 104 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE...
  • Page 105 MEMO APPX Appendix 6 Software Licenses and Copyrights...
  • Page 106: Index

    INDEX ....18,36,59 Address space ..... . . 89 Buffer memory list .
  • Page 107 MEMO...
  • Page 108: Revisions

    Section 2.3, Section 4.2 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.
  • Page 109: Warranty

    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...
  • Page 110: Trademarks

    TRADEMARKS Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. PLCopen is either a registered trademark or a trademark of the association PLCopen. Unicode is either a registered trademark or a trademark of Unicode, Inc. in the United States and other countries. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 112 Manual number: SH(NA)-082250ENG-B(2112)MEE MODEL: FX5-U-OPC-E MODEL CODE: 09R580 When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice.

Table of Contents