Mitsubishi Electric MELSEC iQ-R MES Series User Manual

Interface module
Hide thumbs Also See for MELSEC iQ-R MES Series:
Table of Contents

Advertisement

Quick Links

MELSEC iQ-R MES Interface Module
User's Manual (Startup)
-RD81MES96N
-RD81MES96
-SW1DND-RMESIF-E(MX MESInterface-R)

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R MES Series

  • Page 1 MELSEC iQ-R MES Interface Module User's Manual (Startup) -RD81MES96N -RD81MES96 -SW1DND-RMESIF-E(MX MESInterface-R)
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. In this manual, the safety precautions are classified into two levels: " WARNING"...
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [Design Precautions] WARNING ● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to each module.
  • Page 6 [Installation Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • Page 7 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • Page 8 [Wiring Precautions] CAUTION ● Programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 [Startup and Maintenance Precautions] CAUTION ● Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction. [Operating Precautions] CAUTION ●...
  • Page 11: Conditions Of Use For The Product

    CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 12: Introduction

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC iQ-R series programmable controllers. This manual describes the performance specifications, procedure before operation, wiring, and operation examples to use the module listed below. Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly.
  • Page 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14 CHAPTER 5 SYSTEM CONFIGURATION System Configuration ..............72 Overall system configuration .
  • Page 15: Relevant Manuals

    • Installation For details, refer to the following: MELSEC iQ-R Module Configuration Manual e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 16: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Account A right to use MES interface module or a server, or an ID necessary for their use. Action A unit for processing defined in a job. There are three kinds of actions: DB communication action for communicating with a database, operation action for calculating values of device tag component, and external communication action for executing programs in an application server.
  • Page 17 Term Description RCPU A generic term for MELSEC iQ-R series CPU modules and MELSEC iQ-R series C Controller modules. RnENCPU A generic term for R04ENCPU, R08ENCPU, R16ENCPU, R32ENCPU, and R120ENCPU. RnPCPU A generic term for R08PCPU, R16PCPU, R32PCPU, and R120PCPU. Server A generic term for a database server and application server.
  • Page 18: Chapter 1 Part Names

    PART NAMES This chapter shows the part names of an MES interface module. RD81MES96N (10) RD81MES96 (10) 1 PART NAMES...
  • Page 19 Name Description RD81MES96N RD81MES96 RUN LED Indicates the operating status. • ON: In operation • Flashing: Checking module, selecting the module for online module change (Flashes for 10 seconds when checking modules by clicking the [Module Confirmation] button in the "MES Interface Module Search"...
  • Page 20 Name Description RD81MES96N RD81MES96 Ethernet port (CH1, CH2) A port for connecting to an Ethernet device (IEEE802.3, 1000BASE-T/100BASE-TX/10BASE-T standards-compliant) Dot matrix LED display mode switch A switch for switching the display of dot matrix LED. (SELECT/MODE/SHOW switch) • MODE: To display the display mode name that is currently selected. •...
  • Page 21: Chapter 2 Specifications

    SPECIFICATIONS This chapter explains the specifications of an MES interface module. Performance Specifications This section shows the performance specifications of hardware (MES interface module) and software (MX MESInterface-R). Hardware specifications The following table shows the specifications of an MES interface module. Item Specification SD memory card slot...
  • Page 22: Software Specifications

    Software specifications The following table shows the specifications of MX MESInterface-R. Item Description Reference Basic operation specification Specification for the operation (job), startup condition for the job (trigger condition), Page 20 Basic operation operation unit of a job (action), and network information. specification Device memory input/output Specification for the accessible target device types and access units (device tags).
  • Page 23 *1 When using the daylight saving time function of a CPU module for an RD81MES96, use an RD81MES96 the firmware version of which is '03' or later. If using one the firmware version of which is '02' or earlier, it may cause the malfunction due to the time information difference with the CPU module.
  • Page 24 Device memory input/output Item Specification RD81MES96N RD81MES96 Access target Maximum 64 devices 16 devices device Access target • RCPU • RCPU device type • QCPU (Q mode) • QCPU (Q mode) • LCPU • LCPU • FX5CPU • FXCPU Device tag Maximum 64 device tags Access type...
  • Page 25 DB input/output Item Specification RD81MES96N RD81MES96 Access target Database type • Oracle server • Microsoft SQL Server • Microsoft Access • MySQL • PostgreSQL Access type • Connection via service Connection via service • Direct DB connection Maximum number of settings 16 servers Access table/ DB communication type...
  • Page 26 Variable input/output Item Specification Variable type Type • Local variable (retains data only at a job execution and can be used in a same job.) • Global variable (retains data until the power supply is turned OFF or a CPU module is reset, and can be used between different jobs.) •...
  • Page 27: Access Specifications For A Cpu Module

    Access Specifications for a CPU Module This section shows the access specifications for a CPU module. 2 SPECIFICATIONS 2.2 Access Specifications for a CPU Module...
  • Page 28: Accessible Cpu Modules

    Accessible CPU modules RD81MES96N Series Model name Access type RCPU Programmable controller R00CPU, R01CPU, R02CPU, R04CPU, R04ENCPU, R08CPU, • General access R08ENCPU, R16CPU, R16ENCPU, R32CPU, R32ENCPU, R120CPU, • High-speed access R120ENCPU (interval specification) • High-speed access (each scan) Process CPU (process R08PCPU, R16PCPU, R32PCPU, R120PCPU •...
  • Page 29 For a CPU module supporting the sequence scan synchronization sampling function, refer to the manual for the CPU module. *2 Process CPUs (redundant mode) are not supported. *3 Cannot be used as a relay station. *4 Only a module with a serial number of which the first five digits are 12042 or higher can be accessed. When using a multiple CPU system, refer to the following: MELSEC iQ-R Module Configuration Manual RD81MES96...
  • Page 30: Accessible Routes

    Accessible routes The following figure shows accessible routes from an MES interface module. : Access route from an MES : Connection from an Ethernet : Connection by specifying : Connection by interface module port of an MES interface module the network number and the station specifying the start I/O No.
  • Page 31 Own station (control CPU, another CPU in a multiple CPU system) The following table shows the accessibility to a CPU module of a station on which an MES interface module is mounted. : Accessible, : No combination Access route Access target device type (series) RCPU QCPU (Q mode) LCPU...
  • Page 32 Another station via a single network ■Access via an Ethernet port of an MES interface module A target device can be accessed via an Ethernet port of an MES interface module in the status where the target device is connected to a network. For the communication destination from an Ethernet port of an MES interface module, an Ethernet interface module or a CPU module (Ethernet port) can be specified.
  • Page 33 ■Access by specifying the network number and the station number of a target station A target device can be accessed via a relay station when the target device is connected within eight networks from a station, on which an MES interface module is mounted, and can be identified by the network number and the station number (or CPU number).
  • Page 34 Another station via a co-existence network ■Access by specifying the network number and the station number via another station on CC- Link The following table shows the accessible route to a target station from a station, on which an MES interface module is mounted by specifying the network number and the station number of the target station.
  • Page 35: Accessible Devices

    Accessible devices The following table shows the accessible devices. RD81MES96N : Accessible, : Not accessible, : No device Device name (device) Access target device type (series) RCPU QCPU (Q mode) LCPU FX5CPU FXCPU Programmable Program Program controller CPU/ Controller mable Controller mable Process CPU...
  • Page 36 Device name (device) Access target device type (series) RCPU QCPU (Q mode) LCPU FX5CPU FXCPU Programmable Program Program controller CPU/ Controller mable Controller mable Process CPU /Safety module controller module controller *1,*2 CPU/ Process General High- access speed access Link special register (SW) ...
  • Page 37 : Accessible, : Not accessible, : No device Device name (device) Access target device type (series) RCPU QCPU (Q mode) LCPU Programmable controller C Controller Programma C Controller Programma CPU/Process CPU /Safety module module *1,*2 controller controller CPU/ General High-speed Process access access...
  • Page 38 Device name (device) Access target device type (series) RCPU QCPU (Q mode) LCPU Programmable controller C Controller Programma C Controller Programma CPU/Process CPU /Safety module module *1,*2 controller controller CPU/ General High-speed Process access access      ...
  • Page 39: Access Units

    Access units The following table shows the number of accessible device points (access units) in one process (one scanning) when accessing the device memory in a CPU module. Note that the device memory is accessed in device tag component units when setting any of the following jobs in which only continuous array tags are used and operating an RD81MES96N.
  • Page 40 Setting a job in which only continuous array tags are used and operating an RD81MES96N When setting any of the following jobs in which only continuous array tags are used and operating an RD81MES96N, the device memory is accessed in device tag component units. ...
  • Page 41 Reading/writing in access units When the number of accessed device points is equal to the access unit or less, device values in a same sequence scan are obtained and applied. When the number of device points exceeds the access unit, device values may be obtained from multiple sequence scans and applied, which may cause data inconsistency.
  • Page 42: Access Specifications For A Database

    Access Specifications for a Database This section shows the access specifications when an MES interface module accesses a database of a server. Accessible databases and supported software The following table shows the database type and supported software that can be accessed by an MES interface module. Database type Accessible database type Supported software...
  • Page 43: Access Type

    Access type The following access types can be selected for accessing a database server from an MES interface module. • Connection via service • Direct DB connection Connection via service A database is accessed via DB Connection Service installed on a database server. Ethernet (1) Database server (2) DB Connection Service...
  • Page 44 Direct DB connection A database is accessed directly without using DB Connection Service. Ethernet (1) Database server (2) MES interface module (RD81MES96N) The advantages of selecting "Direct DB Connection" for "Access Type" are as follows: • No need to install DB Connection Service on a database server. •...
  • Page 45: Data Specifications

    Data Specifications This section shows the specifications of data category and data type handled by an MES interface module. Data category The following shows the data category handled by an MES interface module. Database Function Data DB field DB procedure argument (Entity) Data (No entity)
  • Page 46: Data Type

    Data type The following table lists the data type that can be specified in an MES interface module according to the data category and the data type classification. Numerical value ■RD81MES96N Data category Numerical value Integer Real number Device tag component •...
  • Page 47 Data category Numerical value Integer Real number Variable • Bit • Single-precision real number • Word [unsigned]/Bit string [16-bit] • Double-precision real number • Double word [unsigned]/Bit string [32-bit] • Word [signed] • Double word [signed] Constant Integer Real number Macro Any of the data types of the device tag component or variable is determined for each macro.
  • Page 48 Character string, date and time Data category Character string Date and time  Device tag component • Character string [Unicode] • Character string [ASCII/SJIS] Variable • Character string [Unicode] Constant • Character string [Unicode] Macro Any of the data types of the device tag component or variable is determined for each macro. Access field •...
  • Page 49: Device Tag Component Or Variable

    Device tag component or variable The following tables show the data type specifications for a device tag component or variable according to the classification. Data type ■Integer Data type Variable 2 bytes Word [unsigned]/Bit string [16-bit] 2 bytes Double word [unsigned]/Bit string [32-bit] 4 bytes Word [signed] 2 bytes...
  • Page 50 System variable list Variable name Data type Write Description Description of a value S_SERVER_STATUS01 to Word [unsigned]/Bit Displays a connection status to each • 0: Not connected S_SERVER_STATUS16 string [16-bit] writable access target server. • 1: Connecting (Connection status of an access •...
  • Page 51: Constant

    Constant The following tables show the data type specifications for a constant according to the classification. Data type The data type of the constant is checked by MES Interface Function Configuration Tool not an MES interface module. ■Integer Data type Usable characters Minimum value Maximum value...
  • Page 52: Macro

    Macro The data, of which a value is not determined at the job setting such as a date and time when the trigger condition is satisfied, is set with a macro name and replaced to data in an MES interface module. The following tables show the specifications for a macro according to the classification.
  • Page 53: Chapter 3 Function List

    FUNCTION LIST This chapter shows the function list of a MES interface module, MES Interface Function Configuration Tool, Project File Conversion Tool, DB Connection Service, and DB Connection Service Setting Tool. For details on each function, refer to the following: MELSEC iQ-R MES Interface Module User's Manual (Application) Function Overview A MES interface module links information between production equipment and host information systems by using each...
  • Page 54: Function List Of An Mes Interface Module

    Function List of an MES Interface Module This section shows the function list of an MES interface module. Function Description Data input/output Device memory input/output Device memory input A function to read data in the device memory. function function function Data used for trigger judgment is read, and then data used for job is read.
  • Page 55: Function List Of Mes Interface Function Configuration Tool

    Function List of MES Interface Function Configuration Tool This section shows the function list of MES Interface Function Configuration Tool. Function Description Project file function To create a new project file. Open To open a project file. Save To save a project file. Import To import individual settings of another project file.
  • Page 56 Function Description Information linkage Project setting function To display the home screen of MES Interface Function Configuration Tool to start setting. setting function Network setting function To set two Ethernet ports and a common host name. Device access setting Target device setting To specify a device type or a CPU number in a multiple CPU system, and function set a network communication route to access from an MES interface...
  • Page 57: Function List Of Db Connection Service

    MELSEC iQ-R MES To open MELSEC iQ-R MES Interface Module User's Manual. interface module help Connection to To connect to MITSUBISHI ELECTRIC FA Global Website. MITSUBISHI ELECTRIC FA Global Website Version information To display the version information of MES Interface Function Configuration Tool.
  • Page 58: Chapter 4 Procedure Before Operation

    PROCEDURE BEFORE OPERATION This chapter shows the procedure before operation of an MES interface module. Operating procedure Starting a server Start a server used as a database server or application server. (Page 56 Starting a Server) Starting an MES interface module and a configuration personal computer Start an MES interface module, and a configuration personal computer on which MES Interface Function Configuration Tool is used.
  • Page 59: Db Connection Service/Db Connection Service Setting Tool

    DB Connection Service/DB Connection Service Setting Tool The information linkage function of an MES interface module can be used by installing DB Connection Service on a server. For details on DB Connection Service and DB Connection Service Setting Tool, refer to the following: MELSEC iQ-R MES Interface Module User's Manual (Application) •...
  • Page 60 To end DB Connection Service Setting Tool. Help Product information To display the product information of DB Connection Service Setting Tool. Connection to MITSUBISHI To display MITSUBISHI ELECTRIC FA Global Website. ELECTRIC FA Global Website 4 PROCEDURE BEFORE OPERATION 4.1 Starting a Server...
  • Page 61: Starting An Mes Interface Module And A Configuration Personal Computer

    Starting an MES Interface Module and a Configuration Personal Computer Start a server before starting an MES interface module and a configuration personal computer. MES interface module Configuration personal computer MX MESInterface-R Mount it on a base Install MES Interface Function Configuration Tool Switch the dot matrix LED display mode switch to the right (SHOW) Connect MES interface module and the configuration personal computer on a 1:1 basis.
  • Page 62 *1 Perform the self-diagnostic test as necessary. (MELSEC iQ-R MES Interface Module User's Manual (Application)) *2 Do not use an electric screwdriver to attach and remove module fixing screws. *3 Page 84 INSTALLATION AND UNINSTALLATION *4 Use the Ethernet port (CH1) on MES interface module. *5 Page 69 Insertion/removal method of an SD memory card *6 Specify the following (the default network setting and security setting) for connection in the connection destination specification of MES Interface Function Configuration Tool.
  • Page 63: Mes Interface Function Configuration Tool

    MES Interface Function Configuration Tool MES Interface Function Configuration Tool is a tool to set various settings required for operating an MES interface module. Various operations such as checking each status and the working history, and stopping or restarting MES interface module can be performed.
  • Page 64 MELSEC iQ-R MES Interface Module To open the user's manual of an MES interface module. Help Connection to MITSUBISHI ELECTRIC To display MITSUBISHI ELECTRIC FA Global Website. FA Global Website Version Information To display the version information (product information) of MES Interface Function Configuration Tool.
  • Page 65 ■Toolbar configuration The following table lists the commands assigned to the toolbar. Character string for the Items displayed on the status bar Description tooltip display New (Ctrl+N) Creates new project. To discard a project being edited and create a new project. Open (Ctrl+O) Opens existing project.
  • Page 66 Operations in the edit item tree The edit item tree shows overall project settings in a tree. (1) Project root (2) Setting category (3) Item (4) Setting group ■Selecting an item The items are displayed by double-clicking the project root or each setting category. The editing screen of the selected item is displayed on the detailed setting editing screen by selecting the displayed item.
  • Page 67 ■Copying and adding an item Select an item to be added and select [Edit]  [Add copyItem] to copy and add the item. When the item is added successfully, the added item is selected automatically and the screen is switched to the editing screen of the added item.
  • Page 68 Common operation The following shows the common operations of MES Interface Function Configuration Tool. ■Data setting in the data selection control tree Perform a simple assignment for the single item such as device tag, variable, and constant. Operating procedure Click the cell to enter the data. (Example) "DB Communication Action Setting"...
  • Page 69: Parameter Settings

    Parameter settings The mode setting, module operations forced change setting, target device response monitoring time setting and module READY signal delay time setting of MES interface module are set in the parameter setting of the engineering tool. For details on the parameter setting, refer to the following: MELSEC iQ-R MES Interface Module User's Manual (Application) •...
  • Page 70 Add an MES interface module. Select "Information Module" for "Module Type" and "RD81MES96N" or "RD81MES96" for "Module Name" in the "Add New Module" screen. Item Description Module Type Select the "Information Module". Module Name Select "RD81MES96N" or "RD81MES96". Mounting Slot No. Select the slot number where an MES interface module is mounted.
  • Page 71: Sd Memory Card

    For using an SD memory card, make sure to refer to the following:(Page 70 Considerations for using an SD memory card) Model name Description Manufacturer NZ1MEM-2GBSD SD memory card 2 GB MITSUBISHI ELECTRIC NZ1MEM-4GBSD SD memory card 4 GB NZ1MEM-8GBSD SD memory card 8 GB NZ1MEM-16GBSD SD memory card 16 GB Insertion/removal method of an SD memory card Make sure to stop the file access when removing or replacing the SD memory card.
  • Page 72: Considerations For Using An Sd Memory Card

    Considerations for using an SD memory card • For inserting and removing an SD memory card while the power is ON, follow the procedure. Failure to do so, the data in the SD memory card may be damaged. • If any of the functions is accessing an SD memory card when removing the SD memory card, the CARD RDY LED will turn OFF after the function completes accessing.
  • Page 73 Removing or replacing an SD memory card Make sure to stop the file access before removing or replacing the SD memory card. (If the power is OFF and the file access is not stopped, turn the power ON and stop the file access.) Otherwise, the data in the SD memory card being accessed may be corrupted or a file system failure may occur.
  • Page 74: Chapter 5 System Configuration

    SYSTEM CONFIGURATION This chapter explains the system configuration of MES interface module. System Configuration Overall system configuration The following figure shows the overall system configuration when using a MES interface module. (a) (b) Ethernet CC-Link IE Control, CC-Link IE Field, CC-Link, Ethernet... System configuration Network Database server...
  • Page 75 • All devices and systems (such as a server, configuration personal computer, and target device) which are connectable via Ethernet can be connected to both Ethernet ports (CH1/CH2) of a MES interface module. • Ethernet ports (CH1/CH2) cannot be connected to a same network. •...
  • Page 76: Software Configuration Of Mx Mesinterface-R

    Software configuration of MX MESInterface-R The following table shows the software stored in MX MESInterface-R. Item Description MX MESInterface-R MES Interface Function Software that runs in a configuration personal computer and is used to set Configuration Tool various settings required for operating a MES interface module. In addition to the configuration, the following operations are performed.
  • Page 77: System Configuration For The Initial Setting

    System configuration for the initial setting The following shows the system configuration for the initial setting, maintenance, and inspection. Direct connection (1) MES interface module (2) Ethernet (twisted pair cable) (3) Configuration personal computer Connection via a hub (1) MES interface module (2) Ethernet (twisted pair cable) (3) Configuration personal computer (4) Hub...
  • Page 78 Network setting for connection The following shows the network setting for a configuration personal computer when connecting the computer to an MES interface module via a hub. Operating procedure Set the network setting for a configuration personal computer to the same network address as MES interface module. Set a same value Set a different value Network part...
  • Page 79 Considerations for direct connection ■When connecting with LAN Do not communicate by connecting to LAN line directly. This may increase the line load and affect the communications of other devices. ■When connecting via a hub Do not set the direct connection while MES interface module and the configuration personal computer are connected via a hub.
  • Page 80: Operating Environment

    Operating Environment Configuration personal computer The following table shows the operating environment of MES Interface Function Configuration Tool and Project File Conversion Tool. Item Description   Personal computer A personal computer on which Microsoft Windows operates   Intel Core 2 Duo 2 GHz or more recommended Memory requirements...
  • Page 81: Considerations For System Configuration

    Considerations for System Configuration Considerations for using operating systems ■User authority For using MX MESInterface-R, logging on to the personal computer as a user with the administrator authority is recommended. • Installation and uninstallation are available only for a user logging on with the administrator authority. •...
  • Page 82 Considerations for using databases ■Restrictions for using databases • For using a relational database, a license according to the number of MES interface modules is usually required. (Varies depending on the relational database type and license format.) For details, consult the relational database vendor. •...
  • Page 83: Supported Software Packages

    Supported Software Packages This section shows the software packages supported by each MES interface module. MES interface module Software package Software version RD81MES96N GX Works3 '1.060N' or later MX MESInterface-R MES Interface Function Configuration Tool '1.10L' or later DB Connection Service and DB '1.00A' or later Connection Service Setting Tool RD81MES96...
  • Page 84: Chapter 6 Wiring

    WIRING Ethernet Cable This section shows the specifications of connectable Ethernet cables when connecting the Ethernet port (CH1/CH2) to peripheral devices. Connectable twisted pair cables (sold separately) The twisted pair cable compliant with IEEE802.3 1000BASE-T/100BASE-TX/10BASE-T standards can be used. Transmission rate Unshielded twisted pair cable (UTP cable) Shielded twisted pair cable (STP cable) Straight cable...
  • Page 85: Wiring Considerations

    Wiring considerations • To establish a reliable system and fully use the functions of MES interface module, a wiring that does not easily receive the effects of noise is required. • Sufficient safety measures must be taken when constructing the IEEE802.3 1000BASE-T/100BASE-TX/10BASE-T networks.
  • Page 86: Chapter 7 Installation And Uninstallation

    INSTALLATION AND UNINSTALLATION This chapter shows the methods for installing and uninstalling each piece of execution software of MX MESInterface-R. For the software that can be installed, refer to the following: Page 74 Software configuration of MX MESInterface-R Considerations for installation and uninstallation •...
  • Page 87: Installation Procedure

    Installation Procedure MX MESInterface-R The following shows the installation procedure of MES Interface Function Configuration Tool, DB Connection Service and DB Connection Service Setting Tool. Project File Conversion Tool is automatically installed when MES Interface Function Configuration Tool is installed. Operating procedure Start the installer.
  • Page 88: Environment After Installation

    ■Setting to associate the extension (.mu2) of project file and program When the [No] button is selected on the screen above, MES Interface Function Configuration Tool does not open by double- clicking the project file with the extension (.mu2). Perform the following operation to open the project file. Operating procedure Select [Project] ...
  • Page 89: Chapter 8 Operation Example

    OPERATION EXAMPLE This chapter shows the operation example of simple data collection in a system configuration including an MES interface module. Overview The following shows the operation example based on a metal parts manufacturing line automated by a programmable controller system. Process Each process of the metal parts manufacturing line is shown below.
  • Page 90: Setup

    Setup System configuration This section shows the setting for configuring a sample system including the following devices and software. Device/Software Product name/description Reference MELSEC iQ-R Module Configuration Programmable Main base unit R35B controller system Manual Power supply module R61P CPU module R08CPU Page 26 Accessible CPU modules ...
  • Page 91: Device Setup

    Device setup This section shows the setup procedures of devices. Personal computer setting Operating procedure Install each piece of software (relational database/engineering tool/MX MESInterface-R). Set the IP address of a personal computer to '192.168.3.100'. This setting can be set on the "Internet Protocol Version 4 (TCP/IPv4) Properties" screen. Programmable controller system setting Operating procedure Mount a power supply module, CPU module, and MES interface module on a main base unit.
  • Page 92 Creating a sample program When setting parameters in the engineering tool, create a program for simulation and write it to a CPU module. ■Devices used in the sample program Device name Device Description Special relay SM400 Always ON signal SM402 Manufacturing code acquisition trigger Data register Cumulative manufacturing number...
  • Page 93: Creating A Database Table

    Creating a Database Table Before setting the ODBC setting and MES interface function setting, create two types of database table in Access 2010. Database table creation procedure Creating a [OrderTable] table Start [Microsoft Access 2010] from Windows Start. Select "New" on the [File] tab and enter 'Sample_DB.accdb' in the "File Name", then click the [Create] button.
  • Page 94 Set each setting item on the [OrderTable] tab according to the following table. OrderCode ProductCode PlanNumber Creating a [History] table Click "Table" on the [Create] tab. Right-click "Table 1" in the [Tables] and select [Design View] from the shortcut menu. Enter 'History' in the "Table Name"...
  • Page 95: Odbc Setting

    ODBC Setting Set the ODBC setting before setting parameters with MES Interface Function Configuration Tool. ODBC setting procedure Start the ODBC Data Source Administrator. Enter the following in the command prompt. • %SystemRoot%\SysWOW64\odbcad32.exe Select the [System DSN] tab and click the [Add] button. Select "Microsoft Access Driver(*.mdb, *.accdb)", and click the [Finish] button.
  • Page 96: Mes Interface Function Setting

    MES Interface Function Setting Data (SQL statement) communication can be performed without creating a program by setting the parameters of MES Interface Function Configuration Tool. Parameter setting procedure Starting MES Interface Function Configuration Tool Start MES Interface Function Configuration Tool. Select [Start] ...
  • Page 97 Setting device tags Set device tags. Right-click "Device Tag Settings" in the edit item tree and select [Add Item] from the shortcut menu. Enter 'GettingData' in the "Device Tag Name" and set each setting item according to the following table. Component Target Device Device Memory...
  • Page 98 Add another device tag. Right-click "Device Tag Settings" in the edit item tree and select [Add Item] from the shortcut menu. Enter 'PuttingData' in the "Device Tag Name" and set each setting item according to the following table. Component Target Device Device Memory Device Memory Data Type...
  • Page 99 Setting a target server Set a target server. Right-click "Target Server Settings" in the edit item tree and select [Add Item] from the shortcut menu. Enter 'SampleServer' in the "Target Server Name" and set each setting item according to the following table. Setting item Setting content Target Server Name...
  • Page 100 Setting access tables Set an access table/procedure. Right-click "Access Table/Proc. Settings" in the edit item tree and select [Add Item] from the shortcut menu. Enter 'GetPlan' in the "Access Table/Procedure Name". Set each setting item in the "Access Table/Procedure Settings". Select "SampleServer"...
  • Page 101 Select "OrderCode", "ProductCode", and "PlanNumber", and click the [OK] button. Set each setting item according to the following table and click the [OK] button. Access Field Name DB Field Name Data Type Precision Default Value Setting Default Value Hold OrderCode OrderCode Integer Disable...
  • Page 102 Set the DB field information. Click the [Browse DB Field Information] button in the "Access Table Detailed Settings". Select "SerialCode", "Date_Time", and "Weight_kg" and click the [OK] button. Set each setting item according to the following table and click the [OK] button. Access Field Name DB Field Name Data Type...
  • Page 103 Setting a variable Set a variable to be used for jobs. Select "Variable Settings" in the edit item tree. Set a variable on the [Local Variable] tab according to the following table and click the [OK] button. Variable Name Comment Job Name to be Used Data Type Length...
  • Page 104 ■Trigger Conditions Set each setting item according to the following table and click the [Edit] button. Setting item Setting content Trigger Condition Configuration Configuration Type Single Event Settings  Condition Combination Type Trigger Buffering Setting (optional) Trigger Buffering Disable Set each setting item according to the following table and click the [OK] button.
  • Page 105 ■Main-Processing Set each setting item according to the following table and click the [Edit] button. Setting item Setting content Operation Settings at Main- At Processing Failure Notification: "Not Set" Processing Failure (optional) DB Buffering Settings (optional) DB Buffering No Buffering ...
  • Page 106 Set each setting item on the [Data Assignment] and the [Narrowing-Down Conditions] tab according to the following table, and click the [OK] button. • Data Assignment Settings Access Field (Data Type) ⇔ Assignment Data (Data Type) →   OrderCode Integer ProductCode Character String...
  • Page 107 ■Verification Settings Set each setting item according to the following table and click the [OK] button. Setting item Setting content Working History Settings (optional) Working History Not output  Detailed Log Data Output Inhibition Necessity Settings Inhibit the data output to the target device Unselected (optional) Inhibit the data output to the target server...
  • Page 108 Setting jobs (Reporting) ■Job Configuration Add another job. Right-click "Job Settings" in the edit item tree and select [Add Item] from the shortcut menu. Enter 'Reporting' in the "Job Name". Select "Main Configuration" in the "Job Configuration" in the "Job Configuration Selection"...
  • Page 109 Set each setting item according to the following table and click the [OK] button. "[INT]1" in the "Comparison Target" can be set on the "Integer Type Constant Settings" screen. "Comparison Target"  "Constant"  "[Integer]" Setting item Setting content Event/Condition Type Common Settings Event/Condition Type Condition (Value Monitoring) ...
  • Page 110 ■Read Data at Trigger Judgment Set each setting item according to the following table and click the [Next] button. Setting item Setting content Access Type Selection Access Type General Access Access Interval Settings Access Interval Seconds Specification: '1' second Reading Target Data Setting (optional) Reading Target Data The Data to be used in Trigger Condition only ■Main-Processing...
  • Page 111 Set an operation action according to the following table and click the [OK] button. Substitution (Data Type) ⇔ Operator First Item (Data Type) Second Item (Data Type) Item ← ÷  [LOCAL]Conversio FLOAT[Single [TAG]GettingData.Weight_g Word [Unsigned]/Bit [REAL]1000 Precision] String [16-bit] Add another action.
  • Page 112 Set each setting item on the [Data Assignment] tab according to the following table and click the [OK] button. • Data Assignment Settings ⇔ Access Field (Data Type) Assignment Data (Data Type) ← SerialCode Character String [TAG]GettingData.SCode Character String [Unicode(CHAR)] [ASCII/SJIS] Date_Time Date and Time [Without...
  • Page 113: Operation Check

    Operation check The following shows the writing procedure of parameters to MES interface module and checking procedure of the writing result to a DB table. Writing procedure of parameters to MES interface module Write the parameters, which have been set with the MES Interface Function Configuration Tool, to MES interface module.
  • Page 114 The result (manufacturing information), which is inserted to a history table from MES interface module, can be checked. 8 OPERATION EXAMPLE 8.5 MES Interface Function Setting...
  • Page 115: Appendix

    APPENDIX Appendix 1 External Dimensions The following figures show the external dimensions of MES interface module. 27.8 (Unit: mm) APPX Appendix 1 External Dimensions...
  • Page 116: Appendix 2 Odbc Setting

    Appendix 2 ODBC Setting When using DB Connection Service on the database server, the ODBC setting for the database used is required to be set in advance. The following shows the procedures for the ODBC setting. For details on the setting method, refer to the manuals and online help of the operating system and the security software used.
  • Page 117 Enter the user name and password, and click the [OK] button. When the connection is established normally, the "Testing Connection" screen will appear. Click the [OK] button on the "Oracle ODBC Driver Connect" screen. Click the [OK] button on the "ODBC Data Source Administrator"...
  • Page 118 SQL Server The following shows the setting example of ODBC setting in the environment written below. Item Description Operating system Microsoft Windows 7 Professional Operating System Relational database Microsoft SQL Server 2012 Data source name SAMPLE Server name SAMPLESRV *1 A data source name can be set arbitrary. The name set above is used in the "Data Source Name"...
  • Page 119 Click the [Finish] button. Click the [Test Data Source] button, and check if the connection can be established normally. Click the [OK] button on the "SQL Server ODBC Source Test" screen. Click the [OK] button on the "ODBC Microsoft SQL Server Setup"...
  • Page 120 Access The following shows the setting example of ODBC setting in the environment written below. Item Description Operating system Microsoft Windows 7 Professional Operating System Relational database Microsoft Access 2010(32bit) Data source name SAMPLE Database name C:\MES\Sample_DB.accdb *1 A data source name can be set arbitrary. The name set above is used in the "Data Source Name"...
  • Page 121 MySQL The following shows the setting example of ODBC setting in the environment written below. Item Description Operating system Microsoft Windows 7 Professional Operating System Relational database MySQL Data source name SAMPLE *1 A data source name can be set arbitrary. The name set above is used in the "Data Source Name"...
  • Page 122 PostgreSQL The following shows the setting example of ODBC setting in the environment written below. Item Description Operating system Microsoft Windows 7 Professional Operating System Relational database PostgreSQL Data source name SAMPLE *1 A data source name can be set arbitrary. The name set above is used in the "Data Source Name"...
  • Page 123 MEMO APPX Appendix 2 ODBC Setting...
  • Page 124: Index

    INDEX ..25 Access specifications for a CPU module ......64 Adding an item .
  • Page 125 MEMO...
  • Page 126: Revisions

    Japanese manual number: SH-081420-M This manual confers no industrial property 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 127: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 128: Trademarks

    TRADEMARKS Intel is either registered trademarks or trademarks of Intel Corporation in the United States and/or other countries. Microsoft, Microsoft Access, Excel, SQL Server, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. MySQL is either a registered trademark or a trademark of MySQL AB.
  • Page 130 SH-(NA)-081422ENG-J(1910)KWIX MODEL: R-MES-U-IN-E MODEL CODE: 13JX23 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

Table of Contents