Mitsubishi Electric RD81MES96 User Manual

Mitsubishi Electric RD81MES96 User Manual

Programmable controller mes interface module
Hide thumbs Also See for RD81MES96:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric RD81MES96

  • Page 1 MELSEC iQ-R MES Interface Module User's Manual (Startup) -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

    Please make sure that the end users read this manual. The program examples shown in this manual are the examples in which MES interface module (RD81MES96) is assigned to the input/output No. X/Y0 to X/Y1F unless otherwise specified. To use the program examples shown in this manual, the input/output number assignment is required.
  • Page 13: Table Of Contents

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

    • Installation For details, refer to the following manual. 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

    MES Interface Function An abbreviation for MELSEC iQ-R series MES Interface Function Configuration Tool. Configuration Tool MES interface module An abbreviation for RD81MES96 MES interface module. MX MESInterface-R A product name for SW1DND-RMESIF-E. Network module A generic term for the following modules: •...
  • Page 17 Term Description Server A generic term for a database server and application server. Database server is a computer with a relational database which links information with MES interface module. Application server is a computer with a program which operates upon request from MES interface module. Server service A generic term for the services of a server to which DB Connection Service is installed.
  • Page 18: Chapter 1 Part Names

    PART NAMES This chapter shows the part names of an MES interface module. (10) Name Description 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 on the "MES Interface Module Search"...
  • Page 19 Name Description Dot matrix LED Displays the contents of each display mode or the results of the self-diagnostic test. The following contents are displayed in each display mode. • User specification character: Scrolled and displayed by the width of approximately 3 characters (3.3 characters).
  • Page 20: Chapter 2 Specifications

    SPECIFICATIONS This chapter explains the performance specifications and accessible devices/device range of an MES interface module. Performance Specifications This section shows the performance specifications of a 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 21: 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 19 Basic operation operation unit of a job (action), and network information. specification Device memory input/output Specification for the accessible target device type and the access units.
  • Page 22 Device memory input/output Item Specification Access target device Maximum 16 devices Type of target device • RCPU • QCPU (Q mode) • LCPU Device tag Maximum 64 device tags Access type • General access • High-speed access (interval specification) • High-speed access (each scan) Shortest access interval Each scan Access interval (general access)
  • Page 23 DB input/output Item Specification Access target server Database type • Oracle • Microsoft SQL Server • Microsoft Access • MySQL • PostgreSQL Maximum number of settings 16 servers Access table/procedure DB communication type • Select • Insert • Update (Data can be inserted if no update target data exist.) •...
  • Page 24 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 the CPU is reset, and can be used between different jobs.) •...
  • Page 25: Accessible Devices And Range

    Accessible Devices and Range This section shows the accessible devices and range. Accessible CPU modules Series Model name Access type RCPU Programmable controller R00CPU , R01CPU , R02CPU , R04CPU, R04ENCPU , R08CPU, • General access R08ENCPU , R16CPU, R16ENCPU , R32CPU, R32ENCPU •...
  • Page 26: 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 27 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 Type of target device (series) RCPU QCPU (Q mode) LCPU...
  • Page 28 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 29 ■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 30 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 31: Accessible Devices

    Accessible devices The following table shows the accessible devices. : Accessible, : Not accessible, : No device Device name (device) Type of target device (series) RCPU QCPU (Q mode) LCPU Programmable controller C Controller Programma C Controller Programma CPU/Process CPU /Safety module module...
  • Page 32 Device name (device) Type of target device (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 33: 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. The access units of a CPU module other than the following modules depend on the module type. When data inconsistency is a problem, set the event/condition type to "Handshake".
  • Page 34: Accessible Database

    Accessible Database An MES interface module can access a database of a server. Software corresponding to accessible database 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 Supported edition ...
  • Page 35: Access Route

    Access route An MES interface module accesses a database server with DB Connection Service. Ethernet (1) Database server (2) DB Connection Service (3) MES interface module 2 SPECIFICATIONS 2.3 Accessible Database...
  • Page 36: Usable Data For Mes Interface Module

    Usable Data for MES Interface Module 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. Function Database Data DB field DB procedure argument (Entity)
  • Page 37: 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 Data category Numerical value Integer Real number Device tag component •...
  • Page 38 Data category Character string Date and time DB field Oracle • NCHAR • CHAR • DATE • TIMESTAMP[(p)] WITH DB procedure argument • NVARCHAR2 • VARCHAR2 • TIMESTAMP[(p)] TIME ZONE Microsoft SQL • nchar • char • smalldatetime • datetimeoffset[(p)] Server •...
  • Page 39: Device Tag Component/Variable

    Device tag component/variable The following table lists the specification for the device tag component/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 Double Word [Signed] 4 bytes...
  • Page 40 System variable list Variable name Data type Write Description Description of 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 41: Constant

    Constant The following table lists the specification for the data type of the 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...
  • Page 42: 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 shows the specification of macro according to the classification.
  • Page 43: 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 manual. 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 44: 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 45: 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 Creates a new project file. Open Opens a project file. Save Saves a project file. Import Imports individual settings of other project files.
  • Page 46: Function List Of Db Connection Service

    MELSEC iQ-R MES Opens MELSEC iQ-R series MES interface module user's manual. interface module help Connection to Connects to MITSUBISHI ELECTRIC FA Global Website MITSUBISHI ELECTRIC FA Global Website Version information Displays the version information of MES Interface Function Configuration Tool.
  • Page 47: Chapter 4 Procedure Before Operation

    PROCEDURE BEFORE OPERATION This chapter shows the procedure before operation of an MES interface module. Operating procedure Start a server. Start a server used as a database server or application server. (Page 45 Starting Servers) Start MES interface module and a configuration personal computer. Start MES interface module and a configuration personal computer to use MES Interface Function Configuration Tool.
  • Page 48: Db Connection Service/Db Connection Service Setting Tool

    DB Connection Service/DB Connection Service Setting Tool The information linkage function of MES interface module can be used by installing DB Connection Service on the server. For details on DB Connection Service/DB Connection Service Setting Tool, refer to the following manual. MELSEC iQ-R MES Interface Module User's Manual (Application) •...
  • Page 49 Ends DB Connection Service Setting Tool. Help Product information Displays product information of DB Connection Service Setting Tool. Connection to MITSUBISHI Displays the "Connection to MITSUBISHI ELECTRIC FA Global Website" screen. ELECTRIC FA Global Website 4 PROCEDURE BEFORE OPERATION 4.1 Starting Servers...
  • Page 50: Starting An Mes Interface Module And An Configuration Personal Computer

    Starting an MES Interface Module and an Configuration Personal Computer Start a server before starting 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 51 ⋅ Connection destination setting IP address: 192.168.3.3 ⋅ User authentication setting (optional) Use the user authentication :Select the checkbox. User name: RD81MES96 Password: MITSUBISHI *7 Perform these steps to change the setting of an MES interface module. 4 PROCEDURE BEFORE OPERATION...
  • Page 52: 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 a 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 53 Opens the user's manual of MES interface module. Help Connection to MITSUBISHI ELECTRIC Displays the "Connection to MITSUBISHI ELECTRIC FA Global Website" screen. FA Global Website Version Information Displays the version information (product information) of MES Interface Function Configuration Tool.
  • Page 54 ■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. Discards the project being edited and creates a new project. Open (Ctrl+O) Opens existing project.
  • Page 55 Operations of 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 items 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 56 ■Add copyItem 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 57 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 58: 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 manual. MELSEC iQ-R MES Interface Module User's Manual (Application) •...
  • Page 59 Add MES interface module. Select "Information Module" for the "Module Type" and "RD81MES96" for the " Module Name" on the "Add New Module" screen. Item Description Module Type Select the "Information Module". Module Name Select "RD81MES96". Mounting Slot No. Select the slot No. where MES interface module is mounted.
  • Page 60: Sd Memory Cards

    SD Memory Cards This section shows the SD memory cards inserted and used in MES interface module. Connectable SD memory cards (sold separately) The following table shows the connectable SD memory cards. For using SD memory cards, make sure to refer to the following section. (Page 59 Considerations for using SD memory cards) Model name Description...
  • Page 61: Considerations For Using Sd Memory Cards

    Considerations for using SD memory cards • 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 the SD memory card when removing it, the CARD RDY LED turns OFF once the function completes accessing.
  • Page 62 Removing or replacing SD memory cards 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 63: 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 64: 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 65: 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 66 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 67 Considerations for direct connection ■When connecting with LAN Do not perform communication with direct connection by connecting to LAN line. This may increase the line load and affect any communication 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 68: 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 69: 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 70 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 71: 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 72: 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 73: Chapter 7 Installation And Uninstallation

    INSTALLATION AND UNINSTALLATION This chapter explains the installation and uninstallation methods for each piece of execution software of MX MESInterface-R. For the software that can be installed, refer to the following section. Page 62 Software configuration of MX MESInterface-R Considerations for installation/uninstallation •...
  • Page 74: 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 75: 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 76: 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 77: Setup

    Manual Power supply module R61P CPU module R08CPU Page 23 Accessible CPU modules MES interface module RD81MES96  SD memory card NZ1MEM-nGBSD ('n' indicates a number of Page 58 Connectable SD memory cards (sold bytes.) separately) Twisted pair cable and hub A cable and a hub compliant with IEEE802.3...
  • Page 78: 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 79 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 80: 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 81 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 82: 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 83: 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 84 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 85 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 86 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 87 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 88 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...
  • Page 89 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 90 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 91 ■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 92 ■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 93 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 →  ...
  • Page 94 ■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 95 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 96 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 97 ■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 98 Set an operation action according to the following table and click the [OK] button. ⇔ Operator Substitution (Data Type) 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 99 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 100: Operation Check

    When the "Specify Connection Destination" screen appears, enter a user name and password, then click the [OK] button. The following are set by default. User Name: RD81MES96 Password: MITSUBISHI After completing the writing, reset the CPU module and start MES interface module.
  • Page 101 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 102: 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 103: 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 104 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 105 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 106 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 107 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 108 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 109 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 110: Index

    INDEX ....23 Accessible devices and range ......53 Adding items .
  • Page 111 MEMO...
  • Page 112: Revisions

    Japanese manual number: SH-081420-L 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 113: 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 114: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. 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, Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
  • Page 116 SH-(NA)-081422ENG-I(1808)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.

This manual is also suitable for:

Sw1dnd-rmesif-eMx mesinterface-rMelsec iq-r series

Table of Contents