MELSEC iQ-R MES Interface Module
User's Manual (Startup)
-RD81MES96
-SW1DND-RMESIF-E(MX MESInterface-R)
SAFETY PRECAUTIONS
WARNING
Indicates that incorrect handling may cause hazardous conditions, resulting in
death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in
minor or moderate injury or property damage.
(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" and "CAUTION".
Under some circumstances, failure to observe the precautions given under "CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
1
[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.
(2) When the programmable controller detects an abnormal condition, it stops the operation and all
outputs are:
• Turned off if the overcurrent or overvoltage protection of the power supply module is activated.
• Held or turned off according to the parameter setting if the self-diagnostic function of the CPU
module detects an error such as a watchdog timer error.
(3) All outputs may be turned on if an error occurs in a part, such as an I/O control part, where the
CPU module cannot detect any error. To ensure safety operation in such a case, provide a safety
mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit
example, refer to "General Safety Requirements" in the MELSEC iQ-R Module Configuration
Manual.
(4) Outputs may remain on or off due to a failure of a component such as a relay and transistor in an
output circuit. Configure an external circuit for monitoring output signals that could cause a
serious accident.
● In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● Configure a circuit so that the programmable controller is turned on first and then the external power
supply. If the external power supply is turned on first, an accident may occur due to an incorrect output
or malfunction.
● For the operating status of each station after a communication failure, refer to manuals relevant to the
network. Incorrect output or malfunction due to a communication failure may result in an accident.
● 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. Improper
operation may damage machines or cause accidents.
● Especially, when a remote programmable controller is controlled by an external device, immediate
action cannot be taken if a problem occurs in the programmable controller due to a communication
failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions
to be taken between the external device and CPU module in case of a communication failure.
2
[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. Doing so may cause malfunction of the programmable controller system. For the
"system area", "write-protect area", and the "use prohibited" signals, refer to the user's manual for the
module used.
● If a communication cable is disconnected, the network may be unstable, resulting in a communication
failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire
system will always operate safely even if communications fail. Incorrect output or malfunction due to a
communication failure may result in an accident.
● To maintain the safety of the programmable controller system against unauthorized access from
external devices via the network, take appropriate measures. To maintain the safety against
unauthorized access via the Internet, take measures such as installing a firewall.
[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.
● During control of an inductive load such as a lamp, heater, or solenoid valve, a large current
(approximately ten times greater than normal) may flow when the output is turned from off to on.
Therefore, use a module that has a sufficient current rating.
● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies
depending on the system configuration, parameter settings, and/or program size. Design circuits so
that the entire system will always operate safely, regardless of the time.
● Do not power off the programmable controller or do not reset the CPU module while the settings are
being written. Doing so will make the data in the flash ROM or SD memory card undefined. The values
need to be set in the buffer memory and written to the flash ROM or the SD memory card again. Doing
so may cause malfunction or failure of the module.
● When changing the operating status of the CPU module from external devices (such as remote RUN/
STOP functions), select "Do Not Open in Program" for "Open Method Setting" in the module
parameters. If "Open in Program" is selected, an execution of remote STOP causes the
communication line to close. Consequently, the CPU module cannot reopen the communication line,
and the external device cannot execute the remote RUN.
3
[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
● Use the programmable controller in an environment that meets general specifications written in Safety
Guidelines included in the base unit. Failure to do so may result in electric shock, fire, malfunction, or
damage to or deterioration of the product.
● To mount a module, place the concave part(s) located at the bottom onto the guide(s) of the base unit,
and push in the module, and make sure to fix the module with screws since this module has no
module fixing hook. Incorrect interconnection may cause malfunction, failure, or drop of the module.
● Tighten the screws within the specified torque range. Undertightening can cause drop of the screw,
short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop,
short circuit, or malfunction.
● When using an extension cable, connect it to the extension cable connector of the base unit securely.
Check the connection for looseness. Poor contact may cause malfunction.
● When using an SD memory card, fully insert it into the memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● Securely insert an extended SRAM cassette into the cassette connector of a CPU module. After
insertion, close the cassette cover and check that the cassette is inserted completely. Poor contact
may cause malfunction.
● Do not directly touch any conductive parts and electronic components of the module, SD memory
card, extended SRAM cassette, or connector. Doing so may cause malfunction or failure of the
module.
[Wiring Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before installation and wiring.
Failure to do so may result in electric shock or cause the module to fail or malfunction.
● After installation and wiring, attach the included terminal cover to the module before turning it on for
operation. Failure to do so may result in electric shock.
4
[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.
● Check the rated voltage and signal layout before wiring to the module, and connect the cables
correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause fire
or failure.
● Connectors for external devices must be crimped or pressed with the tool specified by the
manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or
malfunction.
● Securely connect the connector to the module. Poor contact may cause malfunction.
● 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.
● Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled,
resulting in damage to the module or cables or malfunction due to poor contact. Do not clamp the
extension cables with the jacket stripped. Doing so may change the characteristics of the cables,
resulting in malfunction.
● Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an
incorrect interface) may cause failure of the module and external device.
● Tighten the terminal screws or connector screws within the specified torque range. Undertightening
can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw
and/or module, resulting in drop, short circuit, fire, or malfunction.
● When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable
with connector, hold the connector part of the cable. For the cable connected to the terminal block,
loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or
damage to the module or cable.
● Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can
cause a fire, failure, or malfunction.
● A protective film is attached to the top of the module to prevent foreign matter, such as wire chips,
from entering the module during wiring. Do not remove the film during wiring. Remove it for heat
dissipation before system operation.
5
[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. For wiring, refer to the MELSEC iQ-R Module Configuration Manual.
● For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's
manual for the module used. If not, normal data transmission is not guaranteed.
[Startup and Maintenance Precautions]
WARNING
● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or
throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the
battery to produce heat, explode, ignite, or leak, resulting in injury or fire.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may
result in electric shock.
6
[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. Improper
operation may damage machines or cause accidents.
● Especially, when a remote programmable controller is controlled by an external device, immediate
action cannot be taken if a problem occurs in the programmable controller due to a communication
failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions
to be taken between the external device and CPU module in case of a communication failure.
● Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
● Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so
may cause malfunction.
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may cause the module to fail or malfunction.
● Tighten the screws within the specified torque range. Undertightening can cause drop of the
component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module,
resulting in drop, short circuit, or malfunction.
● After the first use of the product, do not mount/remove the module to/from the base unit, and the
terminal block to/from the module, and do not insert/remove the extended SRAM cassette to/from the
CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit may cause
malfunction.
● After the first use of the product, do not insert/remove the SD memory card to/from the CPU module
more than 500 times. Exceeding the limit may cause malfunction.
● Do not touch the metal terminals on the back side of the SD memory card. Doing so may cause
malfunction or failure of the module.
● Do not touch the integrated circuits on the circuit board of an extended SRAM cassette. Doing so may
cause malfunction or failure of the module.
● Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the
battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is
applied to it, dispose of it without using.
● Startup and maintenance of a control panel must be performed by qualified maintenance personnel
with knowledge of protection against electric shock. Lock the control panel so that only qualified
maintenance personnel can operate it.
7
[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
● When changing data and operating status, and modifying program of the running programmable
controller from an external device such as a personal computer connected to an intelligent function
module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or
modification may cause system malfunction, damage to the machines, or accidents.
● Do not power off the programmable controller or reset the CPU module while the setting values in the
buffer memory are being written to the flash ROM in the module. Doing so will make the data in the
flash ROM or SD memory card undefined. The values need to be set in the buffer memory and written
to the flash ROM or SD memory card again. Doing so can cause malfunction or failure of the module.
[Disposal Precautions]
CAUTION
● When disposing of this product, treat it as industrial waste.
● When disposing of batteries, separate them from other wastes according to the local regulations. For
details on battery regulations in EU member states, refer to the MELSEC iQ-R Module Configuration
Manual.
[Transportation Precautions]
CAUTION
● When transporting lithium batteries, follow the transportation regulations. For details on the regulated
models, refer to the MELSEC iQ-R Module Configuration Manual.
● The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant
used for disinfection and pest control of wood packaging materials, may cause failure of the product.
Prevent the entry of fumigant residues into the product or consider other methods (such as heat
treatment) instead of fumigation. The disinfection and pest control measures must be applied to
unprocessed raw wood.
8
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;
and
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.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or
more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or
other safety features which exceed the general specifications of the PRODUCTs are required. For details, please
contact the Mitsubishi representative in your region.
9
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.
When applying the example programs provided in this manual to an actual system, ensure the applicability and confirm that it
will not cause system control problems.
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. For details on the assignment of input/
output number, refer to the following manual.
MELSEC iQ-R Module Configuration Manual
Relevant product
RD81MES96
COMPLIANCE WITH THE EMC AND LOW VOLTAGE
DIRECTIVES
Method of ensuring compliance
To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other
machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
• MELSEC iQ-R Module Configuration Manual
• Safety Guidelines (included in a base unit)
The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives.
Additional measures
To ensure that this product maintains EMC and Low Voltage Directives, please refer to one of the following manuals.
MELSEC iQ-R MES Interface Module User's Manual
(Application)
[SH-081423ENG]
This manual does not include detailed information on the following:
• General specifications
• Applicable CPU modules and the number of mountable modules
• Applicable remote head modules and the number of mountable modules
• 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.
• Other manuals can be accessed from the links in the manual.
• Hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
• Sample programs can be copied to an engineering tool.
Explains the specifications, procedure before operation, wiring, and operation
examples of an MES interface module.
Explains the functions, MES Interface Function Configuration Tool, DB
Connection Service, parameter setting, troubleshooting, input/output, and
buffer memory of an MES interface module.
Print book
e-Manual
PDF
Print book
e-Manual
PDF
13
TERMS
Unless otherwise specified, this manual uses the following terms.
Ter mDescription
AccountA right to use MES interface module or a server, or an ID necessary for their use.
ActionA 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.
The DB communication action is a processing unit for sending one SQL statement (Select, Update, Insert, Multiple
Select, or Delete) or one DB procedure execution request.
The operation action is a processing unit for performing a maximum of 20 binary operations.
Configuration personal computerA personal computer to set various settings required for operating MES interface module.
This computer can be shared with a server.
Data sourceConnection information which is necessary for accessing data using ODBC.
With Windows, a data source name is assigned to connection information for management. The database is accessed
via ODBC by specifying the data source name with the information linkage function.
Database (DB) or relational
database (RDB)
DB bufferingA function that temporarily stores SQL statements, that failed to be sent due to a communication error, to an SD memory
DB procedureA program that combines sequential processing procedures into one program against the database, and saves it to the
Device memory or deviceVarious memory data in a CPU module.
Device tag (Tag)Data table that contains a set of information (component) required to access device data in each CPU module on a
Device tag component
(Component)
Engineering toolA tool for setting, programming, debugging, and maintaining programmable controllers.
HandshakeFor highly reliable processing, devices in a CPU module are used for managing processing between the CPU module
High-speed accessA generic term for the following access types.
ItemA setting group unit that each setting type in the edit items has.
JobA unit of process for linking information by a MES interface module.
LCPUA generic term for MELSEC-L series CPU modules.
MESAn acronym for Manufacturing Execution Systems.
MES Interface Function
Configuration Tool
MES interface moduleAn abbreviation for RD81MES96 MES interface module.
MX MESInterface-RA product name for SW1DND-RMESIF-E.
Network moduleA generic term for the following modules:
QCPU (Q mode)A generic term for MELSEC-Q series CPU modules and MELSEC-Q series C Controller modules.
RCPUA generic term for MELSEC iQ-R series CPU modules and MELSEC iQ-R series C Controller modules.
RnENCPUA generic term for R04ENCPU, R08ENCPU, R16ENCPU, R32ENCPU, and R120ENCPU.
RnPCPUA generic term for R08PCPU, R16PCPU, R32PCPU, and R120PCPU.
Data management method that follows relational data model logic.
A piece of data is expressed as a collection of multiple items (fields) and a data collection is expressed as a table.
Data can be easily merged and selected using key data.
card, and resends them when the communications have been recovered.
database management system.
This performs processing based on arguments received from MES interface module, and returns the results to MES
interface module.
There are devices handled in each bit and in each word.
network.
MES interface module collects device data for each tag at an interval defined in the tag.
A generic term for components (device data) which configures a device tag.
Data that contains communication routes, data types, devices, etc. required to access device data in each CPU module.
For the supported tools, refer to the following manual.
MELSEC iQ-R Module Configuration Manual
and MES interface module.
• High-speed access (interval specification)
• High-speed access (each scan)
A system for controlling and monitoring the plant status in real time to optimize production activities.
The system enables to speed up responses to changes of a production plan and situation that lead to efficient
production processes and optimization of production activities.
An abbreviation for MELSEC iQ-R series MES Interface Function Configuration Tool.
• CC-Link IE Controller Network module
• CC-Link IE Field Network module
• MELSECNET/H network module
• Ethernet interface module
• CC-Link module
14
TermDescription
ServerA 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 serviceA generic term for the services of a server to which DB Connection Service is installed.
There are a database server service and an application server service.
Database server service is a service for accessing a database.
Application server service is a service for linking with a program.
SQLAn abbreviation for Structured Query Language.
A database manipulation language that is used for operating a relational database.
Trigger bufferingWhen trigger conditions (conditions for data transmission) of multiple jobs are satisfied at the same time, their data and
times are buffered in a internal memory of a module so that actions (data operation/transmission) can be executed later
using the buffered data.
Even if the frequency of data transmission triggers is high, jobs are executed without missing any trigger.
Trigger conditionStartup conditions for job operation.
Update settingsProcessing that updates the settings in MES interface module using MES Interface Function Configuration Tool.
Variable (temporary variable)A variable that can be used for saving values selected from a database temporarily, and for writing operation values to a
database or device tag components.
There are two types of variables: local variable which has variable area for each job and global variable which can be
used for other jobs since it has a common variable area for all jobs.
Windows 8 or laterA generic term for Windows 8, Windows 8.1, and Windows 10.
For definitions of terms for safety CPUs, refer to the following manual.
MELSEC iQ-R CPU Module User's Manual (Application)
15
1PART NAMES
(3)
(2)
(4)
(5)
(10)
(6)
(1)
(7)
(8)
(9)
This chapter shows the part names of an MES interface module.
No.NameDescription
(1)RUN LEDIndicates 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" screen of MES Interface Function Configuration Tool.)
• OFF: Watchdog timer error (hardware failure), module replacement allowed in the process of the online
module change
ERR LEDIndicates the error status of MES interface module.
• ON: Module continuation error or watchdog timer error (hardware failure)
• Flashing: Module stop error
• OFF: In normal status
DB COM LEDIndicates the connection status with a database.
• ON: Database normal connection status
(Communication is normally being established with all databases excluding unconnected databases.)
• Flashing: Database communication error status
(A communication error is detected in communication with some or all databases.)
• OFF: Database unconnected status
(Communication has never been established with any database after powering ON, resetting a CPU
module, or updating the setting.)
DB BUF LEDIndicates the execution status of DB buffering.
• ON: Executing DB buffering
(Turns ON when the DB buffering setting is enabled and while buffering, or when either DB buffering
setting 1 or 2 is buffering.)
CARD RDY LEDIndicates the availability of SD memory card.
CARD ACS LEDIndicates the access status of SD memory card.
• Flashing: DB buffer full
(Flashes when the DB buffering setting is enabled and the buffer is full (no capacity), or when either DB
buffering setting 1 or 2 is buffer full.)
• OFF: DB buffering unexecuted
(The DB buffering setting is disabled, or the DB buffering setting is enabled and the buffer is empty.)
• ON: Accessible to an SD memory card
• Flashing: Preparing or formatting an SD memory card
• OFF: Not accessible to an SD memory card (Removable status)
For the considerations when handling SD memory cards, refer to the following section.
Page 59 Considerations for using SD memory cards
• ON: Accessing an SD memory card
• OFF: Not access an SD memory card
16
1 PART NAMES
No.NameDescription
(2)Dot matrix LEDDisplays 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).
• Error code: Displayed in four digits in hexadecimal (When multiple errors occur, only the latest error code is
displayed.)
• IP address: Scrolled and displayed by 4 characters in decimal.
• DB buffer use rate: Displayed in three digits in decimal + %.
For the display when performing the self-diagnostic test, refer to the following manual.
MELSEC iQ-R MES Interface Module User's Manual (Application)
(3)Slot coverA cover of the SD memory card slot and the switches.
Open this cover to insert/remove an SD memory card or to operate the switches.
Close the cover unless inserting/removing an SD memory card or operating the switches to prevent foreign
material intrusion such as dust.
(4)SPEED LED(CH1, CH2)Indicates the communication speed and the link status for Ethernet.
• ON (orange): Linking-up (1000 Mbps)
• ON (green): Linking-up (100 Mbps)
• OFF: Linking-down or linking-up (10 Mbps)
(5)SD/RD LED(CH1, CH2)Indicates the data sending/receiving status for Ethernet.
• ON: Sending/receiving data
• OFF: Not send/receive data
(6)Ethernet port (CH1, CH2)
(7)Dot matrix LED display mode switch
(SELECT/MODE/SHOW switch)
(8)SD memory card lock switch
(SD CARD OFF button)
(9)SD memory card slotA slot to insert an SD memory card
(10)Product information markingDisplays the product information (16 digits) of the module.
*1
A port for connecting to an Ethernet device
(IEEE802.3, 1000BASE-T/100BASE-TX/10BASE-T standards-compliant)
A switch for switching the display of dot matrix LED.
• MODE: Displays the display mode name that is currently selected.
• SHOW: Displays the contents of the selected display mode (Page 17 Dot matrix LED display)
Keep this display mode switch in the SHOW state during operation, and operate the switch only when
switching the display mode.
A switch for disabling access to an SD memory card to remove it.
Removing an SD memory card is prohibited while the CARD RDY LED is ON or flashing.
For the procedure to insert/remove SD memory cards, refer to the following section.
Page 58 Inserting and removing method of SD memory cards
(SD, SDHC standards-compliant: 2 GB (SD) to 16 GB (SDHC))
*1 Only CH1 can be connected to MES Interface Function Configuration Tool with direct connection.
1
Dot matrix LED display
The following table shows the contents of the display mode displayed on the dot matrix LED when switching the display mode
to "SHOW".
Display mode nameDescription
USRDisplays the characters specified in the action.
ENo.Displays the error code.
IP1Displays the IP address of the Ethernet port CH1.
IP2Displays the IP address of the Ethernet port CH2.
BUF1Displays the use rate of the DB buffer 1.
BUF2Displays the use rate of the DB buffer 2.
The following display switching of dot matrix LED can be set by using MES Interface Function Configuration
To ol .
• Default display mode at power ON (Initial value: USR)
• The display mode is switched to ENo. (error code) forcibly when an error occurs.
• ENo. (error code) is highlighted.
Substitute characters to display on the S_MATRIXLED_DISP (dot matrix LED display) of the system variable in the
action. For details on the action, refer to the following manual.
MELSEC iQ-R MES Interface Module User's Manual (Application)
1 PART NAMES
17
2SPECIFICATIONS
This chapter explains the performance specifications and accessible devices/device range of an MES interface module.
2.1Performance 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.
Supported function• Auto-negotiation (automatic recognition of 1000BASE-T/100BASE-TX/10BASE-T)
Number of occupied I/O points32 points/slot (I/O assignment: Intelli. 32 points)
ClockAcquired from a CPU module (in multiple CPU system, CPU No.1).
5 VDC internal current consumption1.25 A
External dimensionsHeight106 mm
Width27.8 mm
Depth110 mm
Weight0.25 kg
1000BASE-T100BASE-TX10BASE-T
Maximum 2 stagesMaximum 4 stages
100 m (length between a hub and a node)
RJ45
• Auto-MDI/MDI-X (automatic recognition of a straight/crossing cable)
Page 19 Basic operation specification
*1 1000BASE-T/100BASE-TX/10BASE-T, and full-duplex/half-duplex communication mode are identified by an MES interface module
depending on the hub.
For connection with a hub not having the auto-negotiation function, set the setting on the hub side according to the communication
mode.
*2 It is for a repeater hub.
For a switching hub, consult the manufacturer of the hub used.
*3 For the maximum segment length (length between hubs), consult the manufacturer of the switching hub used.
18
2 SPECIFICATIONS
2.1 Performance Specifications
Software specifications
The following table shows the specifications of MX MESInterface-R.
ItemDescriptionReference
Basic operation specificationSpecification for the operation (job), startup condition for the job (trigger condition),
operation unit of a job (action), and network information.
Device memory input/output
specification
DB input/output specificationSpecification for the accessible database, access units (access table/procedure,
Variable input/output
specification
Data operation and processing
specification
External communication clientSpecification for the communication from an MES interface module to external
SecuritySpecification for security.Page 22 Security
Specification for the accessible target device type and the access units.Page 20 Device memory input/output
access field/procedure argument), and buffering of output data (DB buffering) at
disconnecting.
Specification for user variables (local variables, global variables) which can be
defined freely, system variables to refer to system information, and data types of
variable.
Specification for the operation processing such as addition and subtraction.Page 22 Data operation and
Trigger buffering count192 (The value is cleared due to power interruption/reset/setting update.)
Time information handling
(Time information)
EthernetConnection methodIPv4
MES Interface Function
Configuration Tool
*1
TimeAcquired from a CPU module (in multiple CPU system, CPU No.1).
Daylight saving time
Time zone
Number of channels2 channels (CH1/CH2) (Unconnectable to a same network, and no routing function between
Number of default gateways 1 (Only CH1 or CH2 can be registered.)
Simultaneously connectable
number
*1 When using the daylight saving time function of a CPU module, use an MES interface module with the firmware version '03' or later. If an
MES interface module with the firmware version '02' or earlier is used, it may cause the malfunction of the module due to the time
information difference with the CPU module.
For information on the firmware version of a CPU module, refer to the manual of a CPU module used.
Device tag componentMaximum65536 components/project (64 tags × 1024 components)
Maximum (for one device tag)1024 components
Maximum (for one job)20480 components
Number of data points
(Device tag component)
Number of data points
*4
(Job)
Access dataData type• Bit
Maximum number (per project)131072 (total number without array tag setting)
Maximum number (for one device tag
component)
Maximum number (per project)
Maximum number (for one job)46080
*3
*1
*1 For high-speed access, up to 8192 components (points) can be set.
*2 When the trigger buffering is enabled, the maximum is 8192 components (points).
*3 The double word device is counted as 2 points.
*4 When using a same device tag component in multiple jobs, the number is counted for each job.
When using a same device tag component in a same job, the number is not counted for each job.
• QCPU (Q mode)
•LCPU
• High-speed access (interval specification)
• High-speed access (each scan)
• 1 to 3600 sec.
• 1 to 9 ms
• 1 to 9 × 10 ms
• 1 to 9 × 100 ms
• 1 to 60 sec.
• Each scan
*2
2621440 (total number with array tag setting)
40960 (at Multiple Select)
131072 (total number excluding the data assignment settings of the Multiple Select
setting)
2949120 (total number only for the data assignment settings of the Multiple Select)
*2
The total size of character string type: 2048 characters/job (total of the device tag,
variable, constant, and macro)
• Word [Unsigned]/Bit String [16-bit]
• Double Word [Unsigned]/Bit String [32-bit]
• Word [Signed]
• Double Word [Signed]
• 16bit BCD
• 32bit BCD
• FLOAT[Single Precision]
• FLOAT[Double Precision]
• Character string [Unicode]
• Character string [ASCII/SJIS]
*1
20
2 SPECIFICATIONS
2.1 Performance Specifications
DB input/output
ItemSpecification
Access target serverDatabase type• Oracle
Maximum number of settings16 servers
Access table/procedureDB communication type• Select
Maximum number of settings (for one
project)
Maximum number of settings (for one
job)
Maximum number of settings (for one
action)
Maximum number of settings (per
access table)
Access field/procedure
argument
DB bufferNumber of settings2 settings
Maximum number of settings (per
*1
project)
Maximum number of settings (for one
*1
job)
Maximum number of settings for access
field (for one table)
Maximum number of settings for access
procedure argument (for one
procedure)
Data type• Integer
Maximum capacity2048 MB (up to 1024 MB for each buffer)
*2
*2
*1 Maximum number of settings in the job settings.
*2 Maximum number of settings in the access table/procedure settings.
*3 A data type when a character string is set to an access procedure argument.
*4 Data types when a character string is set to an access field.
• Microsoft SQL Server
• Microsoft Access
•MySQL
•PostgreSQL
• Insert
• Update (Data can be inserted if no update target data exist.)
• Delete
• Multiple Select
• Stored Procedure
64 tables/procedures
20 tables/procedures
1 table/procedure
Total length of DB field name: 16384 characters
65536 settings
• When the trigger buffering is disabled: 20480 settings
• When the trigger buffering is enabled: 8192 settings
However, the following limits are applied.
• Date and time type access field/procedure argument: Up to 50 settings
• The total number of characters of character string type: Up to 2048 characters
(The total number of characters of character string type for the device tag, variable,
and constant)
1024 fields
256 settings
• Real number
• Character string [Unicode]
• Character string [Unicode(NCHAR)]
• Character string [Unicode(CHAR)]
• Date and time
2
*3
*4
*4
2 SPECIFICATIONS
2.1 Performance Specifications
21
Variable input/output
ItemSpecification
Variable typeType• Local variable (retains data only at a job execution and can be used in a same job.)
Data typeType• Bit
CapacityMaximum number of settings (per
project)
Maximum number of settings (for
*2
one job)
• Global variable (retains data until the power supply is turned OFF or the CPU is reset,
and can be used between different jobs.)
• System variable
• Word [Unsigned]/Bit String [16-bit]
• Double Word [Unsigned]/Bit String [32-bit]
• Word [Signed]
• Double Word [Signed]
• FLOAT[Single Precision]
• FLOAT[Double Precision]
• Character string [Unicode]
• Local variable: 1024 words (2048 bytes)
• Global variable: 4096 words (8192 bytes)
• System variable: A defined variable is used.
• Local variable: 1024 words (2048 bytes)
• Global variable: 512 words (1024 bytes)
*1
*1
*1 The number of settings depends on the data size. However, 2 bytes are used even when the data type is bit.
*2 The total number of characters of character string type for one job is up to 2048 characters.
Data operation and processing
ItemSpecification
OperatorSubstitution
Arithmetic operation5 types
Maximum number of
operation settings
Character string
operation
Bit operation5 types
Type conversion4 types
Maximum38400 settings (600 settings × 64 jobs)
For one job600 settings (20 settings × 30 actions)
For one action20 settings
8 types
External communication client
ItemSpecification
External communication client (program
execution)
Number of characters for
execution command
Function• Return value evaluation
Up to 127 characters
• Execution completion standby
Security
ItemSpecification
Security (user authentication)Number of accounts16 accounts
22
2 SPECIFICATIONS
2.1 Performance Specifications
2.2Accessible Devices and Range
This section shows the accessible devices and range.
Accessible CPU modules
SeriesModel nameAccess type
*1
RCPU
QCPU (Q mode)
*3
LCPU
*3
*1 When using high-speed access, use a CPU module supporting the sequence scan synchronization sampling function and an MES
interface module with the firmware version '03' or later.
For a CPU module supporting the sequence scan synchronization sampling function, refer to the manual for the CPU module.
*2 Use an MES interface module with the firmware version '07' or later.
*3 Use an MES interface module with the firmware version '03' or later.
*4 Use an MES interface module with the firmware version '05' or later.
*5 It cannot be used as a relay station.
*6 Only a module with a serial number of which the first five digits are 12042 or higher can be accessed.
Programmable controller
CPU
Process CPU
Safety CPU
C Controller module
Programmable controller
CPU
Process CPUQ02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
C Controller module
Programmable controller
CPU
*3
*4
R00CPU*2, R01CPU*2, R02CPU*2, R04CPU, R04ENCPU*3, R08CPU,
R08ENCPU
R120CPU, and R120ENCPU
R08PCPU, R16PCPU, R32PCPU, and R120PCPU• General access
When using a multiple CPU system, refer to the following manual.
MELSEC iQ-R Module Configuration Manual
2 SPECIFICATIONS
2.2 Accessible Devices and Range
23
Accessible routes
1···8
ÒÓÔÕ
Ö×
(1)
(2)
(3)
1
2···8
1
2···8
The following figure shows accessible routes from an MES interface module.
: Access route from an MES
interface module
: Connection from an Ethernet
port of an MES interface module
: Connection by specifying
the network number and the station
number of a target station
: Connection by
specifying the start I/O No. of a
module to be routed and the
station number of a target
station
Accessible routeReference
(1) Own station (control CPU, another
CPU in a multiple CPU system)
(2) Another station via a single
network
(3) Another station via a co-existence
network
Indicates the own station (control CPU, another CPU in a multiple CPU
system)
Access via an Ethernet port of an MES interface modulePage 26 Access via an Ethernet port
Access by specifying the network number and the station number of a
target station
(CC-Link IE Controller Network module, CC-Link IE Field Network module,
MELSECNET/H network module, or Ethernet interface module)
Access by specifying the start I/O No. of a module to be routed and the
station number of a target station
(CC-Link module)
Access from the station accessed in by specifying the network
number and the station number of a target station
Access from the station accessed in by specifying the start I/O No.
of a module that is routed through and the station number of a target
station
Page 25 Own station (control CPU,
another CPU in a multiple CPU
system)
of an MES interface module
Page 27 Access by specifying the
network number and the station
number of a target station
Page 27 Access by specifying the
start I/O number of a module to be
routed and the station number of a
target station
Page 28 Access by specifying the
network number and the station
number via another station on CCLink
Page 28 Accessing from another
station specified by the network
number and the station number via
CC-Link
24
2 SPECIFICATIONS
2.2 Accessible Devices and Range
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 routeType of target device (series)
RCPUQCPU (Q mode)LCPU
Programm
able
controller
CPU/
Process
CPU/
Safety
CPU
Control CPU
Other CPUs in multiple CPU system
*1 No combination with RnENCPUs.
*1
(CPU No.1 to
4)
C
Controller
module
(CPU No.1 to
4)
Programm
able
controller
CPU/
Process
CPU
C
Controller
module
Programm
able
controller
CPU
2
2 SPECIFICATIONS
2.2 Accessible Devices and Range
25
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.
For accessing a target station, direct access and access via another system
*1 It is not available when the series of a target device and a system to be routed differ.
(Example) Access is available when the series of a target device and a system to be routed are 'QCPU'.
: Accessible, : No combination
Access routeType of target device (series)
RCPUQCPU (Q mode)LCPU
Programm
able
controller
CPU/
Process
CPU/
Safety
CPU
EthernetEthernet port of an MES
interface module →
Ethernet interface
module
Ethernet port of an MES
interface module →
CPU module (Ethernet
port)
Direct
Via another
system
Direct
Via another
system
CC-Link IE
Controller
Network
CC-Link IE Field
Network
MELSECNET/H
network
*4
Ethernet
CC-Link IE
Controller
Network
CC-Link IE Field
Network
MELSECNET/H
network
*4
Ethernet
*2,*3
(CPU No.1 to
4)
*1
are available.
C
Controller
module
Programm
able
controller
CPU/
C
Controller
module
Programm
able
controller
CPU
Process
CPU
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
*5
(CPU No.1 to
4)
*2 It can access to an RnENCPU only in a single CPU system.
*3 No combination with the MELSECNET/H network for process CPUs and safety CPUs.
*4 It is also supported by a QCPU (Q mode) for which the MELSOFT connection extended setting was set.
*5 To access an Ethernet port of Q12DCCPU-V (Basic mode) directly, MELSOFT connection is required to be permitted in the
Q12DCCPU-V (Basic mode) setting.
For details on the setting, refer to the following manual.
C Controller Module User's Manual (Utility Operation, Programming)
2 SPECIFICATIONS
26
2.2 Accessible Devices and Range
■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).
: Accessible, : No combination
Access routeType of target device (series)
RCPUQCPU (Q mode)LCPU
Programm
able
controller
CPU/
Process
CPU/
C
Controller
module
Programm
able
controller
CPU/
Process
CPU
C
Controller
module
Programm
able
controller
CPU
Safety
CPU
CC-Link IE Controller Network
CC-Link IE Field Network
MELSECNET/H network
*3
Ethernet
*1,*2
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
*1 It can access to an RnENCPU only in a single CPU system.
*2 No combination with the MELSECNET/H network for process CPUs and safety CPUs.
*3 It is also supported by a QCPU (Q mode) for which the MELSOFT connection extended setting was set.
2
■Access by specifying the start I/O number of a module to be routed and the station number of
a target station
The following table shows the accessible routes to connect with a target device and a station on which an MES interface
module is mounted directly.
: Accessible, : No combination
Access routeType of target device (series)
RCPUQCPU (Q mode)LCPU
CC-Link
*1 It can access to an RnENCPU only in a single CPU system.
Programm
able
controller
CPU/
Process
CPU/
Safety
CPU
*1
(CPU No.1 to
4)
C
Controller
module
(CPU No.1 to
4)
Programm
able
controller
CPU/
Process
CPU
(CPU No.1 to
4)
C
Controller
module
(CPU No.1 to
4)
Programm
able
controller
CPU
2 SPECIFICATIONS
2.2 Accessible Devices and Range
27
Another station via a co-existence network
■Access by specifying the network number and the station number via another station on CCLink
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. In this route, another station on CC-
Link is accessed first (first route), then a target station is accessed from there.
: Accessible, : No combination
First access routeSecond access route (co-existence
network)
CC-LinkCC-Link IE Controller Network
CC-Link IE Field Network
MELSECNET/H network
*3
Ethernet
*1 It can access to an RnENCPU only in a single CPU system.
*2 No combination with the MELSECNET/H network for process CPUs and safety CPUs.
*3 It is also supported by a QCPU (Q mode) for which the MELSOFT connection extended setting was set.
Type of target device (series)
RCPUQCPU (Q mode)LCPU
Programm
able
controller
CPU/
Process
CPU/
C
Controller
module
Programm
able
controller
CPU/
Process
CPU
C
Controller
module
Programm
able
controller
CPU
Safety
CPU
*1,*2
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
■Accessing from another station specified by the network number and the station number via
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 start I/O No. of a module that is routed through and the station number of the target station. In this
route, another station on CC-Link is accessed first by specifying the network number and the station number (first route), then
the target device is accessed from there.
: Accessible, : No combination
First access routeSecond access route
(co-existence network)
CC-Link IE Controller NetworkCC-Link
CC-Link IE Field Network
MELSECNET/H network
*3
Ethernet
*1 It can access to an RnENCPU only in a single CPU system.
*2 No combination with the MELSECNET/H network for process CPUs and safety CPUs.
*3 It is also supported by a QCPU (Q mode) for which the MELSOFT connection extended setting was set.
Type of target device (series)
RCPUQCPU (Q mode)LCPU
Programm
able
controller
CPU/
Process
CPU/
C
Controller
module
Programm
able
controller
CPU/
Process
CPU
C
Controller
module
Programm
able
controller
CPU
Safety
CPU
*1,*2
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
(CPU No.1 to
4)
28
2 SPECIFICATIONS
2.2 Accessible Devices and Range
Accessible devices
The following table shows the accessible devices.
: Accessible, : Not accessible, : No device
Device name (device)Type of target device (series)
RCPUQCPU (Q mode)LCPU
Programmable controller
CPU/Process CPU
*1,*2
CPU
General
access
Function input (FX)
Function output (FY)
Function register (FD)
Special relay (SM)
Special register (SD)
Input relay (X)
Output relay (Y)
Internal relay (M)
Latch relay (L)
Annunciator (F)
Edge relay (V)
Link relay (B)
Data register (D)
Link register (W)
TimerContact (TS)
Coil (TC)
Current value (T/TN)
Long timerContact (LTS)
Coil (LTC)
Current value (LT/LTN)
CounterContact (CS)
Coil (CC)
Current value (C/CN)
Long counterContact (LCS)
Coil (LCC)
Current value (LC/LCN)
*4
Retentive timerContact (STS, SS
Coil (STC, SC
Current value (ST/STN,
*4
)
ST/SN
Long retentive
timer
Link special relay (SB)
Link special register (SW)
Step relay (S)
Direct input (DX)
Direct output (DY)
Index register (Z)
Long index register (LZ)
Contact (LSTS)
Coil (LSTC)
Current value (LST/LSTN)
)
*4
)
*1
/Safety
High-speed
access
C Controller
module
Programma
ble
controller
CPU/
Process
CPU
C Controller
module
*3
*3
Programma
ble
controller
CPU
2
2 SPECIFICATIONS
2.2 Accessible Devices and Range
29
Device name (device)Type of target device (series)
RCPUQCPU (Q mode)LCPU
Programmable controller
CPU/Process CPU
*1,*2
CPU
General
access
File register(R)
(ZR)
(ERn\R)
Link direct deviceLink input (Jn\X)
Link output (Jn\Y)
Link relay (Jn\B)
Link special relay (Jn\SB)
Link register (Jn\W)
Link special register
(Jn\SW)
Module access
device
CPU buffer
memory access
device
Refresh data register (RD)
Module access device/
Intelligent function module
device (Un\G)
Multiple CPU shared
device (U3En\G)
CPU buffer memory
access device (U3En\G)
CPU buffer memory
access device (fixed cycle
communication area)
(U3En\HG)
*5
*1
/Safety
High-speed
access
C Controller
module
Programma
ble
controller
CPU/
Process
CPU
C Controller
module
Programma
ble
controller
CPU
*1 Process CPUs and safety CPUs do not support high-speed access.
*2 Safety devices cannot be accessed.
*3 Q12DCCPU-V (Basic mode) has no device.
*4 A device name for QCPUs (Q mode) and LCPUs
*5 RnENCPUs and safety CPUs have no device.
30
2 SPECIFICATIONS
2.2 Accessible Devices and Range
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".
Type of target device (series)Device readingDevice writing
General accessHigh-speed access
RCPUProgrammable
controller CPU
Process CPUNot supported
C Controller module
*1 Access from a module other than an Ethernet port of an MES interface module
*2 Access via an Ethernet port of an MES interface module
118 p oin t s
58 points
*1
*2
8192 points78 points
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.
■When data inconsistency is a problem
Set the following when a sequence program and the data needs to be synchronized and data inconsistency is a problem.
• Set the number of device points accessed at the same time to the access unit or less.
• Change the access type to high-speed access. (Only for device reading)
• Set the event/condition type to "Handshake".
38 points
*1
*2
2
2 SPECIFICATIONS
2.2 Accessible Devices and Range
31
2.3Accessible 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 typeAccessible database type
Database serverOracle
Microsoft SQL Server
Microsoft Access
MySQL
PostgreSQLPostgreSQL
*1
Supported software
Oracle 11gExpress Edition Only 64-bit version is
Oracle 12cStandard Edition
SQL Server 2008 R2
SQL Server 2012Express Edition
SQL Server 2014Express Edition
SQL Server 2016Express Edition
SQL Server 2017Express Edition
Access 2010Only 32-bit version is
Access 2013
Access 2016
*3
MySQL
*3
*1
*2
Supported edition
Standard Edition
Enterprise Edition
Enterprise Edition
Express Edition
Standard Edition
Enterprise Edition
Standard Edition
Enterprise Edition
Standard Edition
Enterprise Edition
Standard Edition
Enterprise Edition
Standard Edition
Enterprise Edition
Community Edition
Standard Edition
*4
supported.
supported.
Only 64-bit version is
supported.
*1 Use a same language version for the operating system and software.
*2 IA-64 cannot be used.
*3 An open source database. The operation has been checked in the following versions.
*4 To use Community Edition, use the ODBC driver of MariaDB.
2 SPECIFICATIONS
32
2.3 Accessible Database
Access route
DB
(1)
Ethernet
(3)
(2)
An MES interface module accesses a database server with DB Connection Service.
(1) Database server
(2) DB Connection Service
(3) MES interface module
2
2 SPECIFICATIONS
2.3 Accessible Database
33
2.4Usable Data for MES Interface Module
Database
Function
Data
(Entity)
DB procedure argumentDB field
Data
(No entity)
DB connection service
SQL statementsSQL execution result
DB input/output function
Access fieldAccess procedure argument
Information linkage function
MES Interface
Function Configuration
Tool
Variable
Constant
Variable input/output function
Device tag component
Macro
Device memory input/output function
MES interface module
Target device
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.
Data categoryDescriptionReference
Device tag componentData associated with data in an access target device such as a CPU module etc.Page 37 Device tag
VariableData used for storing the operation result in an MES interface module.
ConstantA value set with MES Interface Function Configuration Tool.Page 39 Constant
MacroA special value set with MES Interface Function Configuration Tool.
Access fieldData associated with the DB field.
Access procedure argumentData associated with the DB procedure argument.
DB fieldA data component stored in the table of database.
DB procedure argumentAn argument of the stored procedure defined to the database.
• Local variable: Used for sending and receiving data between operations in a same
action, and actions in a same job.
• Global variable: Used for sending and receiving data between jobs.
• System variable: Used for retaining system information and controlling hardware.
Since any value is not determined at the setting, MES Interface Function Configuration
Tool specifies a macro name not a value.
A concept used for checking the setting, and it has no entity.
A concept used for checking the setting, and it has no entity.
Associated with the access field.
Associated with the access procedure argument.
component/variable
Page 40 Macro
34
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
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 categoryNumerical value
IntegerReal number
Device tag component• Bit
• Word [Unsigned]/Bit String [16-bit]
• Double Word [Unsigned]/Bit String [32-bit]
• Word [Signed]
• Double Word [Signed]
• 16bit BCD
• 32bit BCD
Variable• Bit
• Word [Unsigned]/Bit String [16-bit]
• Double Word [Unsigned]/Bit String [32-bit]
• Word [Signed]
• Double Word [Signed]
ConstantIntegerReal number
MacroAny of the data type of the device tag component/variable is determined for each macro.
Access fieldIntegerReal number
Access procedure argumentIntegerReal number
DB field
DB procedure argument
*1
Oracle
Microsoft SQL
Server
Microsoft Access• Yes/No type
MySQL• TINYINT [UNSIGNED]
PostgreSQL• smallint
•NUMBER(p)
• NUMBER(p, 0)
•bit
•tinyint
• smallint
•int
• bigint
• Number: Byte
• Number: Integer
• Number: Long Integer
• SMALLINT [UNSIGNED]
• MEDIUMINT [UNSIGNED]
• INT [UNSIGNED]
• BIGINT [UNSIGNED]
• integer
• bigint
• decimal
• numeric
• decimal(p)
• numeric(p)
• decimal(p, 0)
• numeric(p, 0)
• Number: Decimal• Number: Decimal
• DECIMAL[(M[,0])]
[UNSIGNED]
• numeric(p[,0])• numeric[(p,s)]
• FLOAT[Single Precision]
• FLOAT[Double Precision]
• FLOAT[Single Precision]
• FLOAT[Double Precision]
• NUMBER(p, s)
• NUMBER
• BINARY_FLOAT
• BINARY_DOUBLE
•real
• float
• Number: Single
• Number: Double
• DECIMAL(M,D) [UNSIGNED]
• FLOAT [UNSIGNED]
• DOUBLE [UNSIGNED]
•real
• double precision
2
• Character string, date and time
Data categoryCharacter stringDate and time
Device tag component• Character string [Unicode]
• Character string [ASCII/SJIS]
Variable• Character string [Unicode]
Constant• Character string [Unicode]
MacroAny of the data type of the device tag component/variable is determined for each macro.
Access field• Character string
[Unicode(NCHAR)]
Access procedure argument• Character string [Unicode]Date and time [without
• Character string
[Unicode(CHAR)]
Date and time [without
time zone]
time zone]
Date and time [with time
zone]
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
35
Data categoryCharacter stringDate and time
DB field
DB procedure argument
*1
Oracle
Microsoft SQL
Server
Microsoft Access
MySQL• [NATIONAL]
PostgreSQL• character[(n)]
• NCHAR
• NVARCHAR2
• nchar
• nvarchar
*3
• Text type (short
CHAR[(M)]
• [NATIONAL]
VARCHAR(M)
• CHAR[(M)]
• VARCHAR(M)
*5
*5
• CHAR
• VARCHAR2
•char
• varchar
text
• CHAR[(M)]
• VARCHAR(M)
• character
varying[(n)]
*4
)
•DATE
• TIMESTAMP[(p)]
• smalldatetime
•datetime
• datetime2[(p)]
• Date/Time
*6
•DATETIME[(fsp)]
*6
• TIMESTAMP[(fsp)]
• timestamp[(p)] [without
time zone]
• TIMESTAMP[(p)] WITH
TIME ZONE
• datetimeoffset[(p)]
*2
*1 The data type (DATE) in Oracle can store the date from January 1st in 4712 B.C. to December 31st in 9999 A.D. in Julian calendar.
However, the date in B.C cannot be handled in an MES interface module.
*2 It cannot be specified in DB procedure argument.
*3 It cannot be used for DB procedure argument.
*4 Notation in Access 2013 and Access 2016.
*5 It can be specified when the character set setting in a field of a database is utf8.
*6 It can be specified when the character set setting in a field of a database is other than utf8.
*2
36
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
Device tag component/variable
The following table lists the specification for the device tag component/variable according to the classification.
Data type
■Integer
Data typeVaria ble
Bit2 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
16bit BCD
32bit BCD
■Real number
Data typeVaria ble
FLOAT[Single Precision]4 bytes
FLOAT[Double Precision]8 bytes
■Character string
Data typeCharacter string lengthCharacter codeVariab le
Character string [Unicode]1 to 255 charactersUTF-16LE
Character string [ASCII/SJIS]1 to 255 charactersWindows Codepage 932
*1,*2,*3
2 bytes/character
2
*1 The character other than BMP (U+10000 to U+10FFFF) cannot be used and it has no BOM.
*2 UTF-16LE has no BOM.
*3 Combining characters can not be used.
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
37
System variable list
Variable nameData typeWriteDescriptionDescription of value
S_SERVER_STATUS01 to
S_SERVER_STATUS16
(Connection status of an access
target server)
S_DEVICE_STATUS01 to
S_DEVICE_STATUS16
(Connection status of an access
target device)
S_MATRIXLED_DISP
(Dot matrix LED display)
S_MATRIXLED_MODE
(Dot matrix LED display mode)
*1 When specifying characters other than usable characters, it is converted to period (U+002E) and displayed.
Word [Unsigned]/Bit
String [16-bit]
Word [Unsigned]/Bit
String [16-bit]
Character string
[Unicode] 32 characters
Word [Unsigned]/Bit
String [16-bit]
Not
writable
Not
writable
WritableDisplays the user specification
WritableDisplays the dot matrix LED display
Displays a connection status to each
access target server.
Displays a connection status to each
access target device.
character string of the dot matrix LED.
Substitute characters to display in the
action. For details on the action, refer
to the following manual.
MELSEC iQ-R MES Interface
Module User's Manual (Application)
Maximum number of
significant digits of
mantissa part
Maximum
number of
characters
characters
■Character string
Data typeUsable charactersMaximum length of character
string
Character string
[Unicode]
Printable characters including the blank (U + 0020)
(Escape sequences are handled without converting into control characters. (\n etc.))
255 characters
*1
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
39
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.
Macro list
■Time at trigger monitoring
Data typeDescription
Date and timeA date and time when the monitoring of a trigger condition starts.
■Time at trigger ON
Data typeDescription
Date and timeA date and time when the trigger condition of a job is satisfied.
■Job execution start date and time
Data typeDescription
Date and timeA date and time when the first action of a job starts.
■Server date and time
Data typeDescription
Date and timeA server date and time at DB field insertion/update.
• Outputs the value as an identifier of the macro to DB Connection Service.
• MES interface module does not have a data type since the value is not used.
• When checking the setting of the data assignment function with MES Interface Function Configuration
Tool, it is handled as a date and time.
■Failure Action No.
Data typeDescription
Word [Unsigned]/Bit String [16-bit]An action number executed when a processing failed.
■Upper 8 bits (processing type)
• 1: Pre-processing
• 2: Main processing
• 3: Post-processing
■Lower 8 bits (action number)
• 1 to 20: Action number
■Date and time character string
Data typeDescription
Character string [Unicode]
Up to 64 characters
A character string converted the time, when the trigger condition is satisfied, based on the specified
format.
Specifies a format character string when using macro.
The following characters in the format character strings are replaced by numeric values.
Example) 'YYYY-MM-DD hh:mm:ss.fff OFFSET' → '2015-02-01 13:05:43.532 +09:00'.
■Characters to
be replaced
• YYYY
•YY
•MM
•DD
•hh
•mm
•ss
•fff
• OFFSET
■Values to be replaced (When a value has a small number of the digits, '0' is
added to the head.)
• Year (4 digits)
• Year (last 2 digits)
• Month (01 to 12)
• Day (01 to 31)
• Hour (00 to 23)
• Minute (00 to 59)
• Second (00 to 59)
• Decimal part of second: Millisecond (000 to 999)
• UTC offset [+|-]xx:xx
40
2 SPECIFICATIONS
2.4 Usable Data for MES Interface Module
3FUNCTION LIST
DB
Ethernet
(2)
(3)
(b)
(a)
(1)
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)
3.1Function Overview
A MES interface module links information between production equipment and host information systems by using each
function of MES Interface Function Configuration Tool, Project File Conversion Tool, DB Connection Service, and DB
Connection Service Setting Tool.
NameDescriptionReference
(1) MES interface moduleA module to link information between production equipment and
host information systems.
(2) Configuration
personal computer
(3) Server(b) DB Connection
(a) MES Interface
Function
Configuration Tool
Project File
Conversion Tool
Service
DB Connection
Service Setting Tool
A tool to set various settings required for operating an MES
interface module.
A tool to convert MELSEC-Q series MES Interface module project
file to MELSEC iQ-R series MES Interface module project file.
Software to link information between MES interface module and a
database.
A tool to set DB Connection Service.Page 44 Function List of DB
Page 42 Function List of an MES
Interface Module
Page 43 Function List of MES
Interface Function Configuration
Tool
Page 44 Function List of Project
File Conversion Tool
Page 44 Function List of DB
Connection Service
Connection Service Setting Tool
3
3 FUNCTION LIST
3.1 Function Overview
41
3.2Function List of an MES Interface Module
This section shows the function list of an MES interface module.
FunctionDescription
Data input/output
function
External
communication
client function
Information linkage
function
External
communication
server function
Security functionUser authentication function A function to prevent illegal access to a MES interface module by setting a user name and password.
Other functionsSD memory card
Device memory input/output
function
DB input/output functionDB record input/output
Variable input/output
function
Program execution function A function to execute programs on the application server via DB Connection Service.
Trigger condition monitoring
function
Job execution control
function
Trigger buffering functionA function to buffer information required for the job execution to trigger information as the trigger buffer.
One-shot execution function A function to execute arbitrary jobs at arbitrary timing.
Data operation and
processing function
Data linkage functionData assignment
Communication test
function
REST server functionA function that allows to perform job-related operations and acquire job information from an REST client.
management function
Self-diagnostic functionA function to diagnose whether an MES interface module operates normally.
Online module change
function
Device memory input
function
Device memory output
function
function
DB buffering functionA function to buffer data sent to the database, and resend it after recovery,
System variable input/
output function
User variable input/
output function
A function to monitor values of the time or device tag components etc., and start jobs when trigger
conditions are changed from false to true (the condition is satisfied).
A function to control the job execution such as the availability of the job execution depending of the
number of executable jobs at the same time.
A function to perform the basic arithmetic operations, remainder, and character string operation of device
tag component values.
function
A function to check the communication settings between a MES interface module and access target
device or access target server.
Also supports the XML process function for the MELSEC-Q Series MES interface module.
A function to format an SD memory card.
A function to replace a module to another without stopping a running system. For the procedure, refer to
the following manual.
MELSEC iQ-R Online Module Change Manual
A function to read data in the device memory.
Data used for trigger judgment is read, and then data used for job is read.
A function to write data written in the device tag in the job to the device
memory.
A function to read/write data in the database of the host information system.
when the data can not be linked due to the disconnection of the network
between MES interface module and the database or failure of the database
etc.
A function to read/write data of the system variable storing operating status of
the module such as the status of an MES interface module.
A function to read/write data to a user variable (local variable/global variable)
which can be registered arbitrarily.
• Local variable: can be used in a same job
• Global variable: can be used between jobs
A function to assign and link the device tag, DB data, and variable which are
read by using the data input/output function.
42
3 FUNCTION LIST
3.2 Function List of an MES Interface Module
3.3Function List of MES Interface Function
Configuration Tool
This section shows the function list of MES Interface Function Configuration Tool.
FunctionDescription
Project file functionNewCreates a new project file.
OpenOpens a project file.
SaveSaves a project file.
Information linkage
setting function
ImportImports individual settings of other project files.
Open CSV filesOpens a CSV file and apply data in the project being edited.
Save CSV filesSaves the project being edited to a CSV file.
Project setting functionDisplays the home of MES Interface Function Configuration Tool to start setting.
Network setting functionSets two Ethernet ports and a common host name.
Device access setting
function
Server access setting
function
DB information browse
function
Job setting functionJob configuration settingSet the necessity of the pre/post-processing etc.
Action setting functionDB communication action
Option setting functionVariable settingSet the following as a variable of MES interface module.
Target device settingSpecify the device type or the CPU No. in a multiple CPU system, and set
Device tag settingSet a logic name to the device memory of the target device as a device tag
Target server settingSet the server type, network information, and user authentication
Access table/procedure
setting
Browse DB table
information
Browse DB field
information
Browse DB procedure
information
Trigger condition settingSet the conditions to start a job.
Read data setting at trigger
judgment
Pre-processing settingSet the pre-processing performed before DB communication.
Main-processing settingSet the main-processing to perform DB communication.
Post-processing settingSet the post-processing performed after DB communication.
Verification settingSet the function used when verifying jobs, such as job execution inhibition
setting
External communication
action setting
Operation action settingSet the operation type (such as basic arithmetic operations) and the target
DB buffer settingSet the capacity, method to resend data in the DB buffer, notification related
Security settingSet the user authentication for connecting to MES interface module.
Dot matrix LED settingSet the settings related to the dot matrix LED.
The setting items imported can be selected.
the network communication route to access from MES interface module.
component.
Also, set the group of device tag components as a device tag.
For a device tag component, global labels and common device comments
set with an engineering tool can be imported.
information.
Set a logic name to the table/procedure and field/procedure argument of the
database as an access table/procedure and access field/procedure
argument.
Set a DB table name of the target table by communicating with the
database and browsing the DB table name.
Set a DB field name and data type of the target table by communicating with
the database and browsing the DB field name and data type.
Set a stored procedure name and argument information by communicating
with the database and browsing the stored procedure name and stored
procedure argument information.
Also, set the trigger buffering when trigger conditions are satisfied at a time.
Set the method and interval for reading necessary data to evaluate the
trigger condition.
Also, set whether to include other data to be used in a job.
or log output.
Set the target table and type of DB communication (Select etc.) , and the
data assignment of DB communication data and MES interface module etc.
Set the target server for program execution or the command actually
executed etc.
data (device tag and/or variable) in an MES interface module for operation.
• Local variable using the area for a job
• Global variable using the user area of the buffer memory
to other DB buffer, and request for using the DB buffering function.
3
3 FUNCTION LIST
3.3 Function List of MES Interface Function Configuration Tool
43
FunctionDescription
Online functionOnline data operation
function
Diagnostic functionChecks the various kinds of information of an MES interface module and the detailed contents, such as
One-shot execution
function
Help functionMELSEC iQ-R MES
Performs the following operations to MES interface module.
• Specify Connection Destination: Sets MES interface module of the connection destination.
• Read: Reads the setting from MES interface module, and overwrite the project file being edited.
• Write: Writes the project file being edited to MES interface module.
• Verify: Verifies the contents of the project file being edited with the setting contents in MES interface
module.
• Update setting: Reflects the setting written to MES interface module.
actual values, for each action of jobs and diagnoses them or takes measures.
Displays the detailed logs by requiring the one-shot execution of the job specified to MES interface
module.
Opens MELSEC iQ-R series MES interface module user's manual.
interface module help
Connection to
MITSUBISHI ELECTRIC
FA Global Website
Version informationDisplays the version information of MES Interface Function Configuration
Connects to MITSUBISHI ELECTRIC FA Global Website
To ol .
3.4Function List of DB Connection Service
This section shows the function list of DB Connection Service.
FunctionDescription
DB connection functionReceives DB communication request from MES interface module, performs DB communication via ODBC, and
returns the result of DB communication to MES interface module.
Program execution functionReceives the program execution request from MES interface module, and executes the command directly to the
DB information browse functionAcquires and returns the table information or stored procedure information of the database in response to the
Security functionRestricts the IP address and service port to limit connectable MES interface modules or applications.
Log output functionOutputs the communication log with MES interface module, or the SQL failure log when the SQL execution
application server.
Returns the execution result to MES interface module.
request from the table/procedure information browse function of MES Interface Function Configuration Tool.
failed.
3.5Function List of DB Connection Service Setting
Tool
This section shows the function list of DB Connection Service Setting Tool.
FunctionDescription
DB Connection Service setting functionSets and changes the settings of DB Connection Service.
Import/export functionImports/exports to/from the file of DB Connection Service setting information.
Help functionDisplays the product information of DB Connection Service Setting Tool and connects to MITSUBISHI
ELECTRIC FA Global Website.
3.6Function List of Project File Conversion Tool
This section shows the function list of Project File Conversion Tool.
FunctionDescription
Project file conversion functionConverts a project file of the MELSEC-Q series MES interface module to the project file of a MELSEC iQ-R
series MES interface module.
44
3 FUNCTION LIST
3.4 Function List of DB Connection Service
4PROCEDURE BEFORE OPERATION
Operating procedure
MX MESInterface-R
Server
Database serverApplication server
*2
Create a table
in a relational database
*1
Prepare an application program
to execute
Create an account to execute
the application program
Set the ODBC of database
Install DB connection service and DB connection service setting tool
*3
Change the setting of DB connection service
Operation starts
This chapter shows the procedure before operation of an MES interface module.
1. Start a server.
Start a server used as a database server or application server.
(Page 45 Starting Servers)
2. 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 Starting an MES Interface Module and an Configuration Personal Computer)
4.1Starting Servers
4
*1 Install a relational database, and then create a table after restarting the server.
*2 Set it when using the program execution function. (MELSEC iQ-R MES Interface Module User's Manual (Application))
*3 Page 71 INSTALLATION AND UNINSTALLATION
• Log on to the application server with the created account for the application program execution once before
using the program execution function on the application server.
• For using the application server when using the program execution function, log on with an account other
than the created account for the application program execution function.
4 PROCEDURE BEFORE OPERATION
4.1 Starting Servers
45
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)
• DB Connection Service needs to be installed on all the database servers and application servers accessed
from MES interface module.
• When using DB Connection Service on the application server, an account for the application program
execution needs to be created in advance.
• The settings of DB Connection Service are changed with DB Connection Service Setting Tool.
ODBC setting for database
When using DB Connection Service on the database server, the ODBC setting for the database used needs to be set in
advance.
For the ODBC setting method, refer to the following section.
Page 101 ODBC Setting
■ODBC driver
Only the ODBC driver installed at the same time as the installation of the database can be used except for the cases below.
'Microsoft Access Driver(*.mdb)', 'Microsoft ODBC for Oracle', and 'SQL Server' which are supplied with the operating system
cannot be used.
• When connecting the database of Oracle using any of the following DB Connection Services, the 32-bit version of Oracle
Client for the ODBC setting and the ODBC driver of Oracle need to be installed. Install them as necessary.
The DB Connection Service which is stored to MX MESInterface-R whose software version is '1.03D' or earlier.
The DB Connection Service (32-bit) which is stored to MX MESInterface-R whose software version is '1.04E' or later.
• When using PostgreSQL for a database, install an ODBC driver.
■ODBC Data Source Administrator
• When the installation method of Access is Click-to-Run (C2R), install Microsoft Access database engine 2010 first, then
start "ODBC Data Source Administrator".
46
4 PROCEDURE BEFORE OPERATION
4.1 Starting Servers
Startup method
Operating procedure
1. Select DB Connection Service Setting Tool.
Click [MELSOFT] [MESInterface]*2 [DB connection service setting tool] from Windows Start*1.
*1 Select [All apps] on the Start screen or [Start] [All Programs]/[All apps].
*2 Does not appear in Windows 8 or later.
2. When using an operating system with the User Account Control function, a warning message relating to
"DBCnctConf.exe" is displayed. Click "Allow" or the [Yes] button.
• To prevent a warning message from being displayed, refer to the following manual.
MELSEC iQ-R MES Interface Module User's Manual (Application)
• The setting contents of DB Connection Service, which is currently in operation, are displayed during startup.
Screen configuration
■Menu configuration
The following table lists the commands assigned to the menu bar.
Menu nameDescription
FileImportImports a saved file.
ExportExports setting contents of DB Connection Service Setting Tool to a file.
EndEnds DB Connection Service Setting Tool.
HelpProduct informationDisplays product information of DB Connection Service Setting Tool.
Connection to MITSUBISHI
ELECTRIC FA Global Website
Displays the "Connection to MITSUBISHI ELECTRIC FA Global Website" screen.
4
4 PROCEDURE BEFORE OPERATION
4.1 Starting Servers
47
4.2Starting an MES Interface Module and an
MX MESInterface-R
*7
MES interface module
*1
Configuration personal computer
Mount it on a base
*2
Install MES Interface Function Configuration Tool
*3
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.
*4
Turn the power of the system ON
The ERR LED is flashing since an SD memory card is not inserted
Start MES Interface Function Configuration Tool
Insert an SD memory card
*5
Format the SD memory card with MES Interface Function Configuration
Tool as necessary
Set the network of MES interface module
Specify the IP address and account of MES interface module to a
connection destination
*6
Write the setting to MES
interface module
Turn the power of the system OFF
Connect MES interface module and the configuration personal computer
to a network according to the network setting
MES Interface Function
Configuration Tool
Turn the power of the system ON
Set the settings for MES interface module
Change the connection destination specification according to the
network setting of MES interface module
Write the setting to MES interface module
and reflect the setting
Necessary
Check the operation result
and review the setting
Not necessary
Operation starts
Configuration Personal Computer
Start a server before starting MES interface module and a configuration personal computer.
4 PROCEDURE BEFORE OPERATION
48
4.2 Starting an MES Interface Module and an Configuration Personal Computer
*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 71 INSTALLATION AND UNINSTALLATION
*4 Use the Ethernet port (CH1) on MES interface module.
*5 Page 58 Inserting and removing method of SD memory cards
*6 Specify the following (the default network setting and security setting) for connection in the connection destination specification of MES
Interface Function Configuration Tool.
⋅ 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
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
49
MES Interface Function Configuration Tool
Operating procedure
(3)
(1)
(2)
(4)
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.
For details on MES Interface Function Configuration Tool, refer to the following manual.
MELSEC iQ-R MES Interface Module User's Manual (Application)
Startup method
1. Select MES Interface Function Configuration Tool.
Click [MELSOFT] [MESInterface]*2 [MELSEC iQ-R Series MES Interface Function Configuration Tool] from
Windows Start
*1 Select [All apps] on the Start screen or [Start] [All Programs]/[All apps].
*2 Does not appear in Windows 8 or later.
Screen configuration
*1
.
(1) Menu bar
(2) Toolbar
(3) Edit item tree
(4) Setting editing screen
50
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
■Menu configuration
The following table lists the commands assigned to the menu bar.
Menu nameDescription
ProjectNewDiscards the project being edited and creates a new project.
OpenOpens the project file saved in the local disk.
SaveOverwrites and saves the edited project to the file.
Save AsSaves the edited project under a new file name.
ImportProject FileImports the settings of the project file saved in the local disk by selecting a setting item.
Recently used Project fileSelects and opens a file which was recently used by MES Interface Function Configuration Tool.
ExitEnds MES Interface Function Configuration Tool.
EditAdd ItemAdds items to the setting selected in the edit item tree.
The index of the item to be added is the smallest number of each item.
Delete ItemDeletes the item selected in the edit item tree.
Add copyItemCopies the selected item and adds it in the edit item tree.
The index of the item to be added is the smallest number of each item.
Update Data Related to Global LabelUpdates data of a global label when the value of the import source global label is changed.
ViewToolbarSelects whether to display the toolbar.
Status barSelects whether to display the status bar.
OnlineSpecify Connection DestinationSets the settings for connecting to MES interface module.
Read from MES Interface ModuleReads the settings from MES interface module.
Write to MES Interface ModuleWrites the settings to MES interface module.
Verify with MES Interface ModuleCompares the settings written to MES interface module with those in MES Interface Function
Configuration Tool.
Update setting of MES Interface
Module
Diagnose MES Interface ModuleConnects to MES interface module, and performs the module diagnostics and various operations.
One-shot ExecutionExecutes the one-shot to the selected job after the message "Executes the one-shot. Do you really
Communication Test to Target DevicePerforms communication test for the selected access target device.
Communication Test to Target ServerPerforms communication test for the selected access target server.
HelpMELSEC iQ-R MES Interface Module
Help
Connection to MITSUBISHI ELECTRIC
FA Global Website
Version InformationDisplays the version information (product information) of MES Interface Function Configuration Tool.
Reflects the written settings to MES interface module.
want to continue?" appears.
Notifies the execution result in the detailed log display regardless of the verification setting.
Opens the user's manual of MES interface module.
Displays the "Connection to MITSUBISHI ELECTRIC FA Global Website" screen.
4
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
51
■Toolbar configuration
The following table lists the commands assigned to the toolbar.
Character string for the
tooltip display
New (Ctrl+N)Creates new project.Discards the project being edited and creates a new project.
Open (Ctrl+O)Opens existing project.Opens the saved project file.
Save (Ctrl+S)Overwrites and saves the project.Overwrites and saves the edited project to the file.
Add Item (Ctrl+Ins)Adds the setting item.Adds the setting item of the type selected in the edit item tree.
Delete Item (Ctrl+Del)Deletes the setting item.Deletes the setting item selected in the edit item tree.
Write to MES Interface
Module
Read from MES Interface
Module
Diagnose MES Interface
Module
Restart the MES Interface
Function
Stop the MES Interface
Function
One-Shot ExecutionPerforms the one-shot execution.Executes the one-shot of the job.
Open MELSEC iQ-R MES
Interface Module Help
Items displayed on the status barDescription
Writes the settings to MES interface module.Writes the settings to MES interface module.
Reads the settings from MES interface module.Read the setting from MES interface module.
Displays the diagnostic screen.Connects to MES interface module, and performs the
diagnostics and various operations.
The MES interface function is restarted.Connects to MES interface module and restarts the stopped
MES interface function.
The MES interface function is stopped.Connects to MES interface module and stops the operating
MES interface function.
Opens MELSEC iQ-R MES interface module help.Opens the user's manual of MES interface module.
52
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
Operations of the edit item tree
(1)
(3)
(2)
(4)
The edit item tree shows overall project settings in a tree.
1. The items are displayed by double-clicking the project root or each setting category.
2. The editing screen of the selected item is displayed on the detailed setting editing screen by selecting the displayed item.
■Adding items
1. The item is added by selecting the item to be added or the setting category, and performing any of the following
operations.
• Click Add Item ( )
• Select [Edit] [Add Item]
4
2. 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.
Refer to the description of each item since the number of items which can be added is limited depending on
the setting type.
■Deleting items
1. The item is deleted by selecting the item to be deleted and performing any of the following operations.
• Click Delete Item ( )
• Select [Edit] [Delete Item]
• The item cannot be deleted if the selected item is being used in other item.
Check where the item is being used and stop using it in other item according to the displayed error dialog
box before deleting.
• The first item (default name: ControlCPU) on the list in the "Target Device Settings" cannot be deleted.
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
53
■Add copyItem
1. Select an item to be added and select [Edit] [Add copyItem] to copy and add the item.
2. 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.
Refer to the description of each item since the number of items which can be added is limited depending on
the setting type.
■Moving items
1. The item is moved by dragging and dropping.
• The item can be moved only within each setting: "Job Settings", "Target Device Settings", "Device Tag
Settings", "Target Server Settings", and "Access Table/Procedure Settings".
• The first item (default name: ControlCPU) on the list in the "Target Device Settings" cannot be deleted.
54
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
Common operation
Operating procedure
Operating procedure
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.
1. Click the cell to enter the data.
(Example) "DB Communication Action Setting" screen
2. Select the data to be set.
ItemDescription
Device tag(Device tag name)(Device tag component
name)
[Edit]Opens the "Device Tag Settings" screen of the selected device tag.
[Add]Opens new "Device Tag Settings" screen.
VariableLocal variable(Local variable name)Set the selected local variable.
[Edit]Opens the "Variable Settings" screen.
Global variable(Global variable name)Set the selected global variable.
[Edit]Opens the "Variable Settings" screen.
System variable(System variable name) Set the selected system variable.
Constant[Integer]Opens the "Integer Type Constant Settings" screen.
[Real Number]Opens the "Real Number Type Constant Settings" screen.
[Character String (Unicode)]Opens the "Character String Type Constant Settings" screen.
MacroTime at Trigger Monitoring Set the selected macro.
Time at Trigger ON
Job Execution Start Date and Time
Server Date and Time
Failure Action No.
[Date and Time Character String]Opens the "Date and Time Character String Macro Settings" screen.
Set the selected device tag component.
4
• Constant/Macro Settings
Set the constant/macro to be used as a data.
1. Enter setting values by clicking "Integer", "Real number", "Character string [Unicode]", or "Date and time character
string" in the data selection control tree.
2. Click the [OK] button.
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
55
Parameter settings
Operating procedure
Operating procedure
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)
• CW Configurator does not support it.
Startup method
1. Start the engineering tool.
Select [MELSOFT] [GX Works3]*2 [GX Works3] from Windows Start*1.
*1 Select [All apps] on the Start screen or [Start] [All Programs]/[All apps].
*2 Does not appear in Windows 8 or later.
Parameter settings
1. Create a new project.
Select [Project] [New] from the menu.
2. Select "Series", "Type", and "Program Language", and click the [OK] button.
3. Set whether to use module labels, click the [OK] button.
4. Display the "Add New Module" screen.
Select "Parameter" on the Navigation window, right-click the "Module Information" and select [Add New Module].
56
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
5. Add MES interface module.
Select "Information Module" for the "Module Type" and "RD81MES96" for the " Module Name" on the "Add New
Module" screen.
ItemDescription
Module TypeSelect the "Information Module".
Module NameSelect "RD81MES96".
Mounting Slot No.Select the slot No. where MES interface module is mounted.
Start I/O No. SpecificationSelect "Not Set" when not specifying the start I/O No. of MES interface module, otherwise, select "Set".
Start I/O No.When selecting "Set" in the "Start I/O No. specification", enter the start I/O No. of MES interface module.
6. Set whether to use module labels, click the [OK] button.
4
7. Set the module parameter of MES interface module.
Select "Parameter" "Module Information" "(module name)" on the Navigation window.
8. Write the setting to the CPU module from the engineering tool after completing the parameter setting.
9. Reflect the setting by resetting or powering OFF → ON the CPU module.
4 PROCEDURE BEFORE OPERATION
4.2 Starting an MES Interface Module and an Configuration Personal Computer
57
4.3SD Memory Cards
(2)
(1)
(2)
(1)
(3)
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 nameDescriptionManufacturer
NZ1MEM-2GBSDSD memory card 2 GBMITSUBISHI
NZ1MEM-4GBSDSD memory card 4 GB
NZ1MEM-8GBSDSD memory card 8 GB
NZ1MEM-16GBSDSD memory card 16 GB
Inserting and removing method of SD memory cards
Make sure to stop the file access when 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.
Inserting procedure
1. Insert an SD memory card (1) straight into the SD memory card slot with
its cutout pointed down.
Make sure it is not uplifted after inserting it.
If it is inserted insufficiently, it may cause malfunction due to poor contact.
Removing procedure
2. The CARD RDY LED (2) keeps flashing until the SD memory card is
ready to be used. Once the CARD RDY LED (2) turns ON, the SD
memory card can be used.
1. Press the SD memory card lock switch (1) for one second or longer to
stop the SD memory card access.
2. The CARD RDY LED (2) is flashing while stopping the file access, and it
turns OFF once the processing is completed.
3. Push the SD memory card (3) in once, and pull it out straight.
58
4 PROCEDURE BEFORE OPERATION
4.3 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.
Therefore, the time until the CARD READY LED turns OFF may differ depending on the function.
SD memory cards to be used
Use the connectable SD memory cards. (Page 58 Connectable SD memory cards (sold separately))
If other SD memory cards are used, the data may be corrupted in the SD memory card or the system may stop.
When using an SD memory card used for other uses, make sure to format the card with MES Interface Module Configuration
Too l . ( MELSEC iQ-R MES Interface Module User's Manual (Application))
Formatting SD memory cards
Format the SD memory card with the SD memory card diagnostics on MES Interface Configuration Function Tool.
(MELSEC iQ-R MES Interface Module User's Manual (Application))
Do not format the SD memory card with standard format commands of operating systems such as Windows.
Powering OFF or resetting CPU modules
When the CPU module is powered OFF or reset while writing data to an SD memory card, the processing to write data to the
SD memory card may not be completed. It may cause a loss of data during DB buffering, corruption of data in the SD memory
card that is being accessed, or occurrence of a file system error. The file is automatically recovered when the MES interface
module is powered ON again, but it will not succeed in some cases.
The operation, powering OFF or resetting the CPU module after stopping file access, should be considered. For the important
data, create backups periodically.
Do not power OFF or reset the CPU module since an SD memory card can be formatted while stopping the file access.
4
4 PROCEDURE BEFORE OPERATION
4.3 SD Memory Cards
59
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.
Check that the SD memory card is not being formatted since it can be formatted while stopping the file access.
The setting of MES interface module is saved in the SD memory card. Therefore, write the setting after replacing the SD
memory card as necessary.
Files in SD memory cards
Do not edit files or folders in the SD memory card directly by inserting the SD memory card in a personal computer.
Make sure to use the SD memory card by inserting in MES interface module.
SD memory card life
An SD memory card has a life (a limit on the number of times for writing data). For details, refer to the specification of the SD
memory card to be used.
Generally, an SD memory card life depends on the free capacity. Set the DB buffering capacity, which should be set by a user,
so that the SD memory card has a sufficient free capacity. (An SD memory card can be used for long time with enough
This chapter explains the system configuration of MES interface module.
5.1System Configuration
Overall system configuration
The following figure shows the overall system configuration when using a MES interface module.
5
System configurationNetwork
(1) Database server(a)• DB Connection Service
• DB Connection Service Setting Tool
(b)• Oracle
• Microsoft SQL Server
• Microsoft Access
•MySQL
•PostgreSQL
(2) Application server(c)• DB Connection Service
(3) MES interface module(d) SD memory card (required)CC-Link IE Control, CC-Link IE Field, CC-Link, and
(4) Configuration personal computer(e)• MES Interface Function Configuration Tool
• 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.
• MES interface modules can be connected only by using LAN connection. Connection via the Internet is not
available.
• For applicable CPU modules and the number of mountable modules, refer to the following.
MELSEC iQ-R Module Configuration Manual
• DB Connection Service Setting Tool
• Project File Conversion Tool
Ethernet
Ethernet
Ethernet
Ethernet etc.
Ethernet
5 SYSTEM CONFIGURATION
5.1 System Configuration
61
Software configuration of MX MESInterface-R
(1)(2)
(1)(2)
The following table shows the software stored in MX MESInterface-R.
ItemDescription
MX MESInterface-RMES Interface Function
Configuration Tool
Project File Conversion ToolSoftware that runs in a configuration personal computer and converts a
DB Connection ServiceSoftware that runs in a server and links a database with a MES interface
DB Connection Service Setting
Tool
Software that runs in a configuration personal computer and is used to set
various settings required for operating a MES interface module.
In addition to the configuration, the following operations are performed.
• Checking the operating status and working history of the MES interface
function
• Stopping/restarting the operation of the MES interface function
• Creating settings of the MES interface function without modules
MELSEC-Q series MES Interface module project file to a MELSEC iQ-R series
MES Interface module project file.
This tool is automatically installed when MES Interface Function Configuration
Tool is installed.
module.
(Required when linking with a database via ODBC of a personal computer with
Windows.)
Software that runs in a server and is used to change the operation of DB
Connection Service.
System configuration when installing
The following shows the system configuration when installing each piece of software stored in MX MESInterface-R.
When installing MES Interface Function Configuration Tool
Install MES Interface Function Configuration Tool in a configuration personal computer.
(1) MX MESInterface-R: MES Interface Function Configuration Tool
(2) Configuration personal computer: Commercially available product
When installing DB Connection Service and DB Connection Service Setting Tool
Install DB Connection Service and DB Connection Service Setting Tool in the server.
(1) MX MESInterface-R: DB Connection Service/DB Connection Service Setting Tool
(2) Server: Commercially available product
62
5 SYSTEM CONFIGURATION
5.1 System Configuration
System configuration for the initial setting
(1)
(2)
(3)
(2)
(4)
(2)
(3)
(1)
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
A MES interface module and a configuration personal computer can be connected directly or via a hub.
• For direct connection, the Ethernet port (CH1) of a MES interface module can directly be connected to a personal computer
on a 1:1 basis with an Ethernet cable (twisted pair cable) without a hub. The IP address of a MES interface module does
not need to be specified.
• For connection via a hub, the IP address of a MES interface module needs to be specified.
• For initial setting, only Ethernet port (CH1) can be used.
For using the Ethernet port (CH2), set the network in the "Network Settings" in MES Interface Function
Configuration Tool. (MELSEC iQ-R MES Interface Module User's Manual (Application))
5
5 SYSTEM CONFIGURATION
5.1 System Configuration
63
Network setting for connection
Operating procedure
192.168.3.
255.255.255.
3
0
192.168.3.
255.255.255.
1
0
Set a same value
Set a different value
Network partHost partNetwork partHost part
IP address
Subnet mask
Default value of MES interface moduleConfiguration personal computer
The following shows the network setting for a configuration personal computer when connecting the computer to an MES
interface module via a hub.
1. Set the network setting for a configuration personal computer to the same network address as MES interface module.
2. Set the network setting for the configuration personal computer on the "Internet Protocol Version 4 (TCP/IPv4)
Properties" screen.
5 SYSTEM CONFIGURATION
64
5.1 System Configuration
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.
■When applying to the condition where communication cannot be performed
The direct connection may not be performed in the following situations.
If it cannot connect, review the settings of MES interface module and the configuration personal computer.
• When all the bits of the MES interface module IP address corresponding to the '0' parts of the configuration personal
computer subnet mask are ON or OFF
• MES interface module IP address: 64.64.255.255
• Configuration personal computer IP address: 64.64.1.1
• Subnet mask on the configuration personal computer side: 255.255.0.0
• When all the bits of the MES interface module IP address corresponding to the host address of each class for the
configuration personal computer IP address are ON or OFF
• MES interface module IP address: 64.64.255.255
• Configuration personal computer IP address: 192.168.0.1
• Subnet mask on the configuration personal computer side: 255.0.0.0
5
• The IP addresses of each class are as follows:
Class A: 0.x.x.x to 127.x.x.x, Class B: 128.x.x.x to 191.x.x.x, Class C: 192.x.x.x to 223.x.x.x
• Host addresses of each class are the '0' parts below.
Class A: 255.0.0.0, Class B: 255.255.0.0, Class C: 255.255.255.0
■When the Windows firewall setting is enabled
Disable the Windows firewall setting.
■When multiple IP addresses are enabled at the same time
The setting for direct connection cannot be set in the configurations where multiple IP addresses are enabled at the same
time as shown below.
• When an IP address is assigned to each Ethernet port of the configuration personal computer with multiple Ethernet ports
• When a wireless LAN setting is enabled in addition to Ethernet port of the configuration personal computer
• When multiple IP addresses are assigned to one network device (Ethernet port) of the configuration personal computer
5 SYSTEM CONFIGURATION
5.1 System Configuration
65
5.2Operating Environment
Configuration personal computer
The following table shows the operating environment of MES Interface Function Configuration Tool and Project File
Conversion Tool.
ItemDescription
Personal computerA personal computer on which Microsoft Windows operates
CPUIntel
Memory requirements64-bit OS: 2 GB or more recommended
DisplayResolution 1024 × 768 pixels or higher
Free hard disk space512 MB or more
Disk driveDVD-ROM disk drive
Communication InterfaceEthernet (IPv4) 1000BASE-T/100BASE-TX/10BASE-T
Operating system (English version)
(32-bit version and 64-bit version are
supported.)
Server (Database server/Application server)
The following table shows the operating environment of DB Connection Service and DB Connection Service Setting Tool.
ItemDescription
Personal computerA personal computer on which Microsoft Windows operates
CPUIntel Core2 Duo Processor 2 GHz or more recommended
Memory requirementsRecommended 2GB or more
DisplayResolution 1024 × 768 pixels or higher
Free hard disk space512 MB or more
Disk driveDVD-ROM disk drive
Communication InterfaceEthernet (IPv4) 1000BASE-T/100BASE-TX/10BASE-T
Operating system (English version)
(Only 64-bit version is supported.)
Core 2 Duo 2 GHz or more recommended
32-bit OS: 1 GB or more recommended
Windows 10 (Home, Pro, Enterprise, Education)
Windows 8.1, Windows 8.1 (Pro, Enterprise)
Windows 8, Windows 8 (Pro, Enterprise)
Windows 7 (Home Premium, Professional, Ultimate, Enterprise)
Windows Server
Windows 10 (Pro, Enterprise)
Windows 8.1 (Pro, Enterprise)
Windows Server 2012 R2 (Standard)
Windows 8 (Pro, Enterprise)
Windows Server 2012 (Standard)
Windows 7 (Professional, Ultimate, Enterprise)
Windows Server 2008 R2 (Standard)
2016 (Standard)
For accessible databases, refer to the following section.
Page 32 Accessible Database
66
5 SYSTEM CONFIGURATION
5.2 Operating Environment
5.3Considerations 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.
• When using a configuration personal computer, MX MESInterface-R can be used by a standard user or a user with the
administrator authority.
• When using a server, MX MESInterface-R can be used only by a user with the administrator authority.
■Functions that cannot be used
When the following functions are used, this product may not run properly.
• Application start-up in Windows compatibility mode
• Fast user switching
• Remote desktop
• Power save mode (standby, hibernate, sleep)
• Windows XP Mode
• Windows Touch or Touch
• Modern UI
• Client Hyper-V
• Server Core installation (when using a server)
• Virtual environment (VMware
• Tablet mode
• Virtual desktop
In the following cases, the screen of this product may not work properly.
• The size of the text and/or other items on the screen are other than default (such as 96 DPI, 100%, and 9 pt).
• The resolution of the screen is changed in operation.
• Windows theme is changed in operation.
• The multi-display is set.
, Windows Virtual PC)
5
■.NET Framework
• If .NET Framework 4.0 and redistributable package of Visual C++ 2010 SP1 (x86) are not installed on the personal
computer on which MES Interface Function Configuration Tool is to be installed, the free space of the approximately 500
MB is required in the system drive to install them.
• For Windows 10, if .NET Framework 4.6 Advanced Services is invalid, it needs to be valid.
• For Windows 8 and Windows 8.1, if .NET Framework 4.5 Advanced Services is invalid, it needs to be valid.
■Others
• When the Windows firewall setting is enabled, the module search function and the direct connection function may not
operate properly. Disable the Windows firewall setting.
5 SYSTEM CONFIGURATION
5.3 Considerations for System Configuration
67
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.
• The redundant relational database cannot be used.
■When using SQL Server
• Set "SQL Server and Windows Authentication Mode" for the server authentication.
Right-click the server to be used in the object explorer of SQL Server Management Studio [Properties]. Select "SQL
Server and Windows Authentication Mode" for the "Server authentication" in the "Security" on the "Server Properties"
screen, then restart the SQL Server.
• An output argument, an input/output argument, and a return value of the stored procedure that returns a result set cannot
be acquired.
• When installing a software version '1.01B' or earlier of MX MESInterface-R, set the collation sequence of SQL Server to the
default (SQL_Latin1_General_CP1_CI_AS).
This is not applied when installing a software version '1.02C' or later of MX MESInterface-R.
• When MX MESInterface-R whose software version is "1.03D" or earlier is installed, use SQL Server with any of the
following condition:
- The owner of the database file created with SQL Server is an SQL Server authenticated user.
- The server administrator authentication (sysadmin) is not added to the server role of the user whose field information is to
be referenced.
However, this restriction is not applicable when MX MESInterface-R whose software version is "1.04E" or later is installed.
■When using Access
• Using in the following environments is not recommended.
Where under overload
Where high reliability, such as non-stop operation for 24 hours, is required
• The number of fields that can be updated in one communication action is up to 127.
• Multiple accesses cannot be made to one file.
(The access from multiple MES interface modules cannot be made.)
■When using MySQL
• It is an open source database. For the software versions in which the operation has been checked, refer to the following
section.
(Page 32 Software corresponding to accessible database)
■When using PostgreSQL
• It is an open source database. For the software versions in which the operation has been checked, refer to the following
section.
(Page 32 Software corresponding to accessible database)
■When handling "(Blank)" DB fields
• For the considerations when handling a DB field for which "(Blank)" was set, refer to the following manual.
MELSEC iQ-R MES Interface Module User's Manual (Application)
68
5 SYSTEM CONFIGURATION
5.3 Considerations for System Configuration
6WIRING
6.1Ethernet 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.
• C:\Program Files\MELSOFT\MESIF\DBCnctConf2_64.exe or C:\Program
Files(x86)\MELSOFT\MESIF\DBCnctConf2_32.exe
• C:\MELSEC\MESIF\DBCnctConf.exe
• C:\Program Files\MELSOFT\MESIF\DBConnector2_64.exe or C:\Program
Files(x86)\MELSOFT\MESIF\DBConnector2_32.exe
• C:\MELSEC\MESIF\DBConnector.exe
• C:\Program Files\MELSOFT\MESIF\DBCnctClient2_64.exe or C:\Program
Files(x86)\MELSOFT\MESIF\DBCnctClient2_32.exe
• C:\MELSEC\MESIF\DBCnctClient.exe
*2
*2
*2
*2 For MX MESInterface-R whose software version is "1.03D" or earlier is installed
Disable the firewall function.
72
7 INSTALLATION AND UNINSTALLATION
7.1 Installation Procedure
■Setting to associate the extension (.mu2) of project file and program
Operating procedure
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.
Select [Project] [Open] on the menu in MES Interface Function Configuration Tool
In another way, refer to the online help of the operating system and associate with a program.
Environment after installation
Each piece of software is installed to a specified folder and registered in the start menu.
The following table shows the startup method and the maximum number of software, which can start at the same time, for
each piece of software after installing.
SoftwareStartup methodMaximum
No.
MES Interface Function Configuration ToolClick [MELSOFT] [MESInterface]*2 [(each piece of software)] from Windows
DB Connection Service Setting Tool (64-bit)1
DB Connection Service Setting Tool (32-bit)1
Project File Conversion ToolClick 'RMESIFCONV\MUPtoMU2.exe' under the execution file storage destination
*1
Start
.
of the MES Interface Function Configuration Tool.
*3
5
No limit
7
*1 Select [All apps] on the Start screen or [Start] [All Programs]/[All apps].
*2 Does not appear in Windows 8 or later.
*3 For 64-bit version operating system, it is installed in the following folder:
C:\Program Files(x86)\MELSOFT\RMESIF
7.2Uninstallation Procedure
Uninstall from the control panel in Windows.
Project File Conversion Tool is automatically uninstalled when MES Interface Function Configuration Tool is uninstalled.
Disable the Windows firewall if it has been set manually.
For the method to disable the Windows firewall, refer to the manuals and online help of the operating system and the security
software used.
Environment after uninstallation
The installed program files, folders, and start menu are deleted after uninstallation.
If a file, which is output after installation such as DB access log, exists in a folder, the file/folder will not be deleted.
7 INSTALLATION AND UNINSTALLATION
7.2 Uninstallation Procedure
73
8OPERATION EXAMPLE
DB
Ò
ÓÔ
×
ÖÕ
US2001 10:00:00 0.501kg
US2002 10:00:10 0.495kg
US2035 10:05:50 0.512kg
Ø
(4)
(5)
(2)
(3)
(1)
This chapter shows the operation example of simple data collection in a system configuration including an MES interface
module.
8.1Overview
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.
ProcessDescription
MachiningMachines metal materials and manufactures finished parts.
ImprintImprints a lot ID code and a specific serial number on each manufactured part.
InspectionMeasures the weight of each completed part.
Operation
The following shows the operation between the control system and the production control database.
(1) Control system (CPU module, MES interface module)
(2) Production control database
(3) Target manufacturing number 35 units, lot ID code (US)
(4) Acquisition of manufacturing schedule information
(5) Delivering the actual manufacturing information
1. Acquire the manufacturing schedule information.
Database → MES interface module → CPU module
• MES interface module acquires the target manufacturing number and lot ID codes from the table of the production control database before starting the
manufacture.
• The parts are manufactured according to the target manufacturing number.
The lot ID code is imprinted in front of the serial number on each part.
2. Deliver the actual manufacturing information.
CPU module → MES interface module → Database
• When each part is moved into the inspection process, the actual data, such as serial numbers, manufacturing time and part weight, are collected by
MES interface module and transferred to the production control database.
3. Change the data to use easily.
Scaling with MES interface module
• The inspection scale notifies the control system of the part weight measured by a positive decimal number in a gram.
The production report from the database information needs to be read in a kilogram.
Therefore, the weight data is converted to g→kg format with MES interface module to prevent control logic changes and extra processing at the
database-level.
74
8 OPERATION EXAMPLE
8.1 Overview
8.2Setup
DB
(1)(2)(3)
System configuration
This section shows the setting for configuring a sample system including the following devices and software.
Device/SoftwareProduct name/descriptionReference
(1) Programmable
controller system
(2) Twisted pair cable and hubA cable and a hub compliant with IEEE802.3
(3) Personal computer (shared in a server and
configuration personal computer)
Operating systemMicrosoft Windows 7 Professional Operating