MELSEC System Q: QJ71MES96 MES Interface Module
MELSEC System Q: QJ71MES96 MES Interface Module
MELSEC System Q
Users's Manual
QJ71MES96
MES Interface Module
Before using the product, please read this manual and the relevant manuals introduced in this manual
carefully and pay full attention to safety to handle the product correctly.
The precautions given in this manual are concerned with only this product. For the safety precautions of the
PLC system, please read the User's Manual for the CPU module used.
In this manual, the safety precautions are ranked as "DANGER" and "CAUTION".
Note that the CAUTION level may lead to serious consequences according to the circumstances.
Always follow the precautions of both levels as they are important for personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Design precautions]
DANGER
When controlling a running PLC (e.g. data modification), create an interlock circuit on sequence
programs so that the whole system functions safely all the time.
Also, be sure to read the manual carefully and ensure safety before performing any other controls
such as operating status change.
Especially, when controlling a PLC from a remote location via network, problems on the PLC side
may not be dealt with promptly due to failure of data communications.
Create an interlock circuit on a sequence program.
For the operation status of each station at a communication error, refer to the manual for that station.
Incorrect output or malfunctions may cause an accident.
Create a safety circuit outside the PLC so that safety of the whole system can be ensured against an
external power supply failure or a PLC failure.
Incorrect output or malfunctions may cause an accident.
When the PLC system security needs to be protected against illegal access from an external device
via a network, take measures at the user's discretion.
A-1
[Design precautions]
DANGER
Do not write any data to the "System area" in the buffer memory of the intelligent function module.
As for signals output from the PLC CPU to the intelligent function module, never output (ON) a "Use
prohibited" signal.
Doing these operations may cause malfunctions of the PLC system.
CAUTION
Do not install the control lines or communication cables together with the main circuit or power lines,
or bring them close to each other.
Keep a distance of 100 mm (3.91 inch) or more between them.
Failure to do so may cause malfunctions due to noise.
During registering each setting, do not power OFF the mounted module or reset the PLC CPU.
Otherwise, data in the CompactFlash card will be undefined. Therefore, resetting and re-registering
data are required.
This may also cause a module failure or malfunctions.
[Installation precautions]
CAUTION
Use the PLC under the environment specified in the User's Manual.
Otherwise, it may cause an electric shock, fire, malfunctions, product deterioration, or damage.
While pressing the module mounting lever on the bottom of the module, insert the module fixing
projection securely into the fixing hole in the base unit and mount the module using the module fixing
hole as a fulcrum.
Incorrect mounting may cause malfunctions, a failure or a drop of the module.
In an environment of frequent vibrations, fasten the module with screws.
A -2
[Installation precautions]
CAUTION
Always shut OFF the external supply power used by the system in all phases before mounting or
removing a module.
Not doing so may damage the module.
Do not directly touch the conductive part or electronic parts of the module.
Doing so may cause malfunctions or a failure of the module.
When connecting a connector, properly press, crimp, or solder it using the tools specified by the
manufacturer.
Incomplete connection may cause short-circuit, fire, and malfunctions.
Push the CompactFlash card into the CompactFlash card slot and install it securely.
After installing the CompactFlash card, check that it is inserted securely.
Failure to do so may cause malfunctions due to poor contact.
[Wiring precautions]
CAUTION
Always store the communication cables and power cables connected to the module in the duct or fix
them in place with clamps.
Not doing so may cause swing, move, or poor connection of the cable, or damage of a module and/
or cable due to careless pull, resulting in malfunctions.
When disconnecting communication cables connected to the module, never pull on the cable
section.
When using a cable with a connector, disconnect it with holding the connector connected to the
module.
When the cable is pulled while connected to the module, this may cause malfunctions or module/
cable damage.
A-3
[Wiring precautions]
CAUTION
Carefully prevent foreign matter such as dust or wire chips from entering the module.
Failure to do so may cause a fire, failure or malfunctions.
To prevent foreign matter such as wire chips from entering the module, protective film is affixed on
the top of the module.
Do not peel OFF this film during wiring.
When starting the system, remove the film to release heat.
Always switch OFF the external supply power used by the system in all phases before cleaning or
retightening terminal screws.
Failure to do so may cause a failure or malfunctions of the module.
Loose screws may cause a drop of the module, short-circuit, or malfunctions.
Tightening screws excessively may damage the screws and/or the module, resulting in a drop of the
module, short-circuit, or malfunctions.
CAUTION
Do not disassemble or transform the module.
Doing so may cause a failure, malfunctions, personal injuries, and/or a fire.
Always shut OFF the external supply power used by the system in all phases before mounting or
removing a module.
Failure to do so may cause a failure or malfunctions of the module.
Do not install/remove the module to/from the base unit more than 50 times after the first use of the
product. (IEC 61131-2 compliant)
Failure to do so may cause malfunction.
Before handling a module, touch a grounded metal object to discharge the static electricity from the
human body.
Failure to do so may cause a failure or malfunctions of the module.
A -4
[Operation precautions]
DANGER
Make sure safety before controlling a running PLC (e.g. data modification).
Do not write any data to the "System area" in the buffer memory of the intelligent function module.
As for signals output from the PLC CPU to the intelligent function module, never output (ON) a "Use
prohibited" signal.
Doing these operations may cause malfunctions of the PLC system.
[Disposal precautions]
CAUTION
When disposing of the product, treat it as industrial waste.
[Transportation precautions]
CAUTION
When transporting lithium batteries, make sure to treat them based on the transportation regulations.
(Refer to Appendix6 for details of the relevant models.)
A-5
REVISIONS
The manual number is given on the bottom left of the back cover.
Print date Manual number Revision
Sep., 2006 SH(NA)-080644ENG-A First edition
A -6
INTRODUCTION
Thank you for choosing the Mitsubishi MELSEC-Q Series of General Purpose Programmable Controllers.
Before using the equipment, please read this manual carefully to develop full familiarity with the functions
and performance of the Q series PLC you have purchased, so as to ensure correct use.
CONTENTS
CHAPTER 1 OVERVIEW 1 - 1 to 1 - 8
1.1 Features........................................................................................................................................... 1 - 2
1.2 MX MESInterface Software Configuration ....................................................................................... 1 - 8
CHAPTER 3 SPECIFICATIONS 3 - 1 to 3 - 31
3.1 Performance Specifications ............................................................................................................. 3 - 1
3.2 Accessible Devices and Ranges ..................................................................................................... 3 - 3
3.3 Function List .................................................................................................................................... 3 - 8
3.4 I/O Signals for PLC CPU ............................................................................................................... 3 - 12
3.4.1 I/O signal list ........................................................................................................................... 3 - 12
3.4.2 I/O signals details ................................................................................................................... 3 - 14
3.5 Buffer Memory List......................................................................................................................... 3 - 17
A-7
3.6 Buffer Memory Details ................................................................................................................... 3 - 21
3.6.1 Module status area ................................................................................................................. 3 - 21
3.6.2 Network connection status area ............................................................................................. 3 - 21
3.6.3 Network settings status area .................................................................................................. 3 - 21
3.6.4 Current error area ................................................................................................................... 3 - 22
3.6.5 Error log area.......................................................................................................................... 3 - 23
3.6.6 Sampling/monitoring cycle area.............................................................................................. 3 - 24
3.6.7 Tag status area....................................................................................................................... 3 - 24
3.6.8 Current tag data value area .................................................................................................... 3 - 26
3.6.9 Access target CPU setting status area ................................................................................... 3 - 29
3.6.10 Information linkage function area............................................................................................ 3 - 30
CHAPTER 6 FUNCTIONS 6 - 1 to 6 - 23
6.1 DB Interface Function ...................................................................................................................... 6 - 1
6.1.1 DB interface function operation ................................................................................................ 6 - 1
6.1.2 Job execution procedure .......................................................................................................... 6 - 3
6.1.3 Tag function .............................................................................................................................. 6 - 5
6.1.4 Trigger monitoring function ....................................................................................................... 6 - 6
6.1.5 Trigger buffering function.......................................................................................................... 6 - 7
A-8
6.1.6 SQL text transmission (Communication action) ..................................................................... 6 - 10
6.1.7 Arithmetic processing function (Operation action) .................................................................. 6 - 11
6.1.8 Program execution function.................................................................................................... 6 - 11
6.1.9 DB buffering function .............................................................................................................. 6 - 12
6.1.10 Precautions............................................................................................................................. 6 - 20
6.2 XML Processing Function.............................................................................................................. 6 - 22
6.3 Time Synchronization Function ..................................................................................................... 6 - 23
6.3.1 Using the SNTP time query result in the PLC CPU ................................................................ 6 - 23
A-9
7.11.2 Setting items in Operation action............................................................................................ 7 - 85
7.12 Online ............................................................................................................................................ 7 - 89
7.12.1 Setting the target MES interface module ................................................................................ 7 - 89
7.12.2 Writing the MES interface function settings ............................................................................ 7 - 90
7.12.3 Reading the MES interface function settings.......................................................................... 7 - 92
7.12.4 Verifying the MES interface function settings ......................................................................... 7 - 92
7.12.5 Checking the working log of the MES interface module ......................................................... 7 - 93
7.12.6 Executing a job as a one-shot task......................................................................................... 7 - 98
7.13 Online - Remote operation............................................................................................................. 7 - 99
7.13.1 Checking the operation status of the MES interface function ............................................... 7 - 100
7.13.2 Manipulating the operation status of the MES interface function.......................................... 7 - 101
7.13.3 Checking the connection of the previous job execution........................................................ 7 - 103
7.13.4 Changing the job status ........................................................................................................ 7 - 104
7.13.5 Checking the operation status of DB buffering ..................................................................... 7 - 105
7.13.6 Operating the DB buffering ................................................................................................... 7 - 106
7.13.7 Checking the operation status of the trigger buffering .......................................................... 7 - 107
7.13.8 Formatting the CompactFlash card ...................................................................................... 7 - 107
7.14 Help ............................................................................................................................................. 7 - 108
7.15 Precautions .................................................................................................................................. 7 - 109
CHAPTER 10 TROUBLESHOOTING 10 - 1 to 10 - 43
10.1 Error Codes ................................................................................................................................... 10 - 2
10.1.1 Finding an error code.............................................................................................................. 10 - 2
10.1.2 Error types .............................................................................................................................. 10 - 3
A - 10
10.1.3 System monitor....................................................................................................................... 10 - 4
10.2 Error Code List............................................................................................................................... 10 - 6
10.2.1 Error codes for the MES interface module ............................................................................. 10 - 6
10.2.2 Error codes of DB Connection Service ................................................................................. 10 - 20
10.2.3 Error codes returned in XML response messages ............................................................... 10 - 30
10.3 Troubleshooting by symptom....................................................................................................... 10 - 31
10.3.1 When using MES Interface Function Configuration Tool...................................................... 10 - 31
10.3.2 When using DB Connection Service Setting Tool ................................................................ 10 - 36
10.3.3 When operating the MES interface module.......................................................................... 10 - 37
A - 11
CONFORMANCE TO THE EMC AND LOW VOLTAGE DIRECTIVES
When incorporating the Mitsubishi PLC into other machinery or equipment and making
compliance with the EMC and low voltage directives, refer to Chapter 3 "EMC and Low
Voltage Directive" of the User's Manual (Hardware) included with the CPU module or base
unit used.
The CE logo is printed on the rated plate of the PLC, indicating compliance with the EMC
and low voltage directives.
To make this product comply with the EMC and low voltage directives, refer to "3.1.3
Cables" in Chapter 3 "EMC and Low Voltage Directive" of the User's Manual (Hardware)
included with the CPU module or base unit used.
A - 12
HOW TO USE THIS MANUAL
This manual is organized by objective for using the QJ71MES96 MES interface module
and MX MESInterface Version1 (SW1DNC-MESIF-E). Use this manual with referring to
the following.
A - 13
Displaying a reference Displaying a chapter title
Reference in this manual and
Index on the right of a page
reference manual are shown
clears the chapter of the page.
with .
The above is different from the actual page, as it is provided for explanation only.
In addition, this manual provides the following explanations.
Point
Explains the matters to be especially noted, the functions and others related to the
description on that page.
Remark
Provides the reference destination related to the description on that page and the
convenient information.
A - 14
GENERIC TERMS AND ABBREVIATIONS
Unless otherwise specified, this manual uses the following generic terms and
abbreviations to explain the QJ71MES96 MES interface module and MX MESInterface
Version1 (SW1DNC-MESIF-E).
A - 15
DEFINITIONS AND DESCRIPTIONS OF TERMS
The following table shows the definitions and descriptions of the terms used in this
manual.
Term Description
Abbreviation for Comma Separated Values
CSV
Text file in which the data are aligned and set off by commas and double quotations
Function temporarily stores SQL text that failed to be sent due to a communication error and
DB buffering
resends the text when the communications have been recovered
Abbreviation for Hyper Text Transfer Protocol
HTTP Protocol to exchange XML format messages between the MES interface module and user
applications in the XML processing function
Abbreviation for Manufacturing Execution Systems
Systems for controlling and monitoring the plant status in real time to optimize production
MES activities
The systems enable to speed up the responses to production plan and status changes that lead
to efficient production processes and optimization of production activities.
Abbreviation for Open DataBase Connectivity
ODBC
Standard specifications for software to access databases
Abbreviation for Simple Network Time Protocol
SNTP
Protocol for synchronizing computer time via a TCP/IP network
Computer that provides time information to the MES interface module
SNTP server computer
This computer can be shared with a server computer.
Abbreviation for Structured Query Language
SQL
Data manipulation language and used for relational database operations
Abbreviation for Uniform Resource Locator
URL
Notation method for indicating the locations of information resources on the Internet
Converts character strings into characters can be used in URLs.
URL encode
This designates percent encoding defined by RFC3986.
Abbreviation for eXtensible Markup Language
XML
Markup language for describing documentation, data meanings, and structures
Item One setting group unit included each setting type for editing
Designates the right to use the MES interface module or server computer, or an ID necessary for
Account
their use.
Unit for processing defined in a job
There are [Communication action] for communicating with a database and [Operation action] for
Action operating tag component values.
[Communication action] is a processing unit for sending one SQL text (Select, Update, Insert).
[Operation action] is a unit up to 20 dyadic operations can be processed.
COMMIT Processing for finalizing the changes to a database
Storage card regulated by the [CF+ and CompactFlash Specification] issued by the Compact
CompactFlash card Flash Association
(CF card) This memory card is necessary for the MES interface module to operate the MES interface
function.
Generic term for the services can be offered by a server computer to which DB Connection
Service is installed
Server service There are database server service and application server service.
The database server service is a service for accessing a database.
The application server service is a service for linking with a program.
(To the next page)
A - 16
(From the previous page)
Term Description
There are database server computers and application server computers.
The database server computer is a personal computer with a relational database which links
Server computer information with the MES interface module.
The application server computer is a personal computer with a program that operates upon
request from the MES interface module.
Job Unit for accessing a database
Processing updates the MES interface module settings from MES Interface Function
Update settings
Configuration Tool
Personal computer for configuring various settings required for the MES interface function in the
Configuration computer MES interface module
This computer can be shared with a server computer.
Standard time zone for each region of the world
Each nation uses the time difference ( 12 hours maximum) from the time at the Greenwich
Observatory in the United Kingdom (GMT) as the standard time. The region using the same time
Time zone
difference is called a time zone.
The standard time for Japan is 9 hours ahead of the GMT.
In some nations, daylight time in which the clock is advanced for one hour is used in summer.
Generic term for a component (Device data) making up a device tag (Tag)
Tag component
This data organizes the communications path, data type, device, etc. for access to each PLC
(Component)
CPU device data as a single data unit.
Connection information necessary for accessing data using ODBC
With Windows , a data source name is assigned to connection information for management. The
Data source
database can be accessed via ODBC by specifying the data source name in the MES interface
function.
Data management method that follows relational data model logic
Database (DB) or
One data is expressed as a collection of multiple items (Fields) and the data collection is
relational database
expressed as a table.
(RDB)
Data can be easily merged and selected using key data.
Data management format managed with relational databases
Table
It is a two-dimensional table format composed of rows and columns.
Variety of memory data in the PLC
Device
There are devices handled in units of bits and devices handled in units of words.
Data table that contains a set of information (Component) required to access the device data in
Device tag (Tag) the PLC CPUs on the network
The MES interface module collects device data in units of tags at an interval defined in the tag.
Trigger condition Startup conditions for job operation
When trigger conditions (conditions for data transmission) of multiple jobs are met in a
concentrated manner, their data and trigger times are buffered in the module's internal memory so
Trigger buffering 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.
For highly reliable processing, PLC CPU devices are used to manage processing between the
Handshake
PLC CPU and MES interface module.
Field Corresponds to a column in a relational database and indicates a type of data (Record attribute).
Variable (Temporary Variable that can be used in a single job for temporary storage of values selected from a database
variable) and for writing operation values to a database or tag components
Corresponds to a row in a relational database. One row (Record) stores the values of multiple
Record
columns (Fields).
Rollback Processing for canceling changes to a database
A - 17
PACKING LIST
The following table shows the products included to the QJ71MES96 MES interface
module and MX MESInterface Version1 (SW1DNC-MESIF-E).
A - 18
1 OVERVIEW
1
CHAPTER 1 OVERVIEW
OVERVIEW
This manual explains the specifications, preparatory procedures, functions, and
troubleshooting for the MELSEC-Q series QJ71MES96 MES interface module (hereafter,
abbreviated as MES interface module).
The MES interface module links the PLC (Production equipment) device data with
2
information system (Manufacturing Execution System) database without communication
CONFIGURATION
gateways.
SYSTEM
Information linkage using the MES interface module Conventional information linkage
without the MES interface module
<Manufacturing Execution System> <Manufacturing Execution System> 3
Information system Information system
(Database) (Database)
SPECIFICATIONS
<Communication gateway>
Host information system
communication processing
Computerization via
communication gateways
is unnecessary.
SQL
XML
Data processing
(Operation processing, 4
logging, etc.)
PROCEDURE TO
Controller communication
SETTINGS AND
OPERATION
<Production equipment> <Production equipment>
INSTALLATION AND
UNINSTALLATION
Figure 1.1 Information linkage using the MES interface module
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1-1
1 OVERVIEW
1.1 Features
(1) Connection with the information system is enabled by simple settings without
program
Access to information system databases can be realized simply by making the
necessary settings with the setting tool.
There is no need to write programs for accessing databases, so the engineering costs
for system construction can be reduced and the work period can be shortened.
1
(2) The information system load can be reduced.
Data can be monitored on the MES interface module side and when the conditions
OVERVIEW
are met, the data can be sent to the information system.
Also, the data can be operated and the results of the operations can be sent to the
information system. 2
This can reduce the information system loads compared to the conventional system
of constantly obtaining and monitoring data.
CONFIGURATION
[MES interface module...]
SYSTEM
<Information system>
3
Sends data as required.
Conditions
SPECIFICATIONS
met Database
<Information system>
4
PROCEDURE TO
SETTINGS AND
Database
OPERATION
Constantly obtaining/monitoring data
from information system are required.
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Time Time
Time Time
The numbers 1) to 3) show the order in which trigger conditions of respective jobs are met.
Job 1 and 3 are assumed to access the same database.
Figure 1.4 Data buffering in the case of load concentration
1
(b) Data to be send to the database are protected even if a communication error
occurs. (DB buffering function)
OVERVIEW
When an error occurs during communications with a database, the SQL texts
failed to send can be stored in a CompactFlash card.
After recovery, the buffered SQL texts are automatically sent to the database.
(Manual operation is also possible.) 2
CONFIGURATION
Disconnected
SYSTEM
Database
INSERT...
3
INSERT...
SPECIFICATIONS
INSERT...
UPDATE...
CompactFlash card 4
Recovered
PROCEDURE TO
SETTINGS AND
OPERATION
Resend
Database
5
INSERT...
INSTALLATION AND
INSERT...
UNINSTALLATION
INSERT...
UPDATE...
CompactFlash card
6
Figure 1.5 Buffering of send data (SQL text) during a communication error
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Database
DB Connection
Service
Access
log SQL
failure
log
2) Starts registered
processing.
(Job execution)
Database
3) Sends data.
2) Starts registered
processing.
(Job execution)
Database
3) Sends data.
1
(6) Supporting diverse databases
When designing a new system, a wide range of database types can be selected.
OVERVIEW
Even when connecting to the existing system, the system can be transferred without
changing the existing database.
2
(7) Access independent of the database table configuration is possible.
Freely designed database tables can be used for access to databases.
CONFIGURATION
When designing a new system, not only the high flexibility of design, but when
connecting to the existing system, the system can be constructed without changing
SYSTEM
the database tables.
SPECIFICATIONS
communications with an SNTP server computer.
This enables to synchronize the time for the entire system.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
CHAPTER 2 SYSTEM CONFIGURATION
OVERVIEW
This chapter explains the system configuration of the MES interface module.
CONFIGURATION
2.1.1 Overall system configuration
SYSTEM
This section shows the overall system configuration when using the MES interface
module.
3
Oracle R , SQL Server, etc.
Database (manufactured by
SPECIFICATIONS
other companies)
SNTP server computer *1 *2 Server computer
DB Connection Service
DB Connection Service Setting Tool 4
PROCEDURE TO
Ethernet
SETTINGS AND
OPERATION
MES interface module
MES Interface
5
CompactFlash Configuration Tool
INSTALLATION AND
card
UNINSTALLATION
Configuration computer *1
MELSECNET/H, etc.
7
CONFIGURATION TOOL
*1 The SNTP server computer and configuration computer can be shared with server computers.
MES INTERFACE
*2 This computer is necessary when using the SNTP server computer time for the MES interface
module time.
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Installation
DB Connection Service
DB Connection Service Setting Tool
Commercialized product
Figure 2.2 Installing DB Connection Service and DB Connection Service Setting Tool
Point
(1) When installing DB Connection Service on a database server computer, the
ODBC setting for the database used must be done beforehand.
Section 8.2 Setting ODBC to the Database
(2) When installing DB Connection Service on an application server computer, an
account for user program execution must be created beforehand.
Installation
1
2.1.3 System configuration for initial setup
OVERVIEW
This section shows system configurations for initial setup of the MES interface module
using MES Interface Function Configuration Tool.
CONFIGURATION
Configuration computer
SYSTEM
or
3
MES interface module
Twisted pair cable
(Straight cable)
SPECIFICATIONS
Ethernet
Figure 2.4 System configurations for initial setup of the MES interface module
4
Remark
PROCEDURE TO
SETTINGS AND
The following explains the network settings of the configuration computer when
OPERATION
connecting it to the MES interface module on a 1:1 basis.
1 Set the same network address as the one of the MES interface module in the
network settings for the configuration computer. 5
INSTALLATION AND
Set the values to be identical.
UNINSTALLATION
Set different values.
Default value of Host Host
"MES interface module" Network section section "Configuration computer"
Network section
section
IP ADDRESS 192.168.3. 3 IP ADDRESS 192.168.3. 1
Subnet mask 255.255.255. 0 Subnet mask 255.255.255. 0
6
Figure 2.5 Network settings for configuration computer
2 Make the network settings of the configuration computer in the [Internet Protocol
FUNCTIONS
(TCP/IP) Properties] dialog box.
Example: Microsoft Windows XP Professional Operating System
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
This section shows the system configuration when operating the MES interface module.
Point
The MES interface module can only be connected with a LAN.
The module cannot be connected via the Internet.
Ethernet
Intranet
Server computer
SNTP server computer
Configuration computer
Figure 2.7 System configuration for operating the MES interface module
1
2.2 Applicable Systems
OVERVIEW
This section explains the applicable systems.
CONFIGURATION
Table 2.1 Applicable PLC CPUs and No. of mountable modules
Applicable module No. of mountable modules Remarks
SYSTEM
Q00JCPU Maximum 8
Q00CPU
Maximum 24
Q01CPU 3
Q02CPU
Q02HCPU
SPECIFICATIONS
PLC CPU (*1)
Q06HCPU
Q12HCPU Maximum 64
Q25HCPU
Q12PHCPU
Q25PHCPU
4
*1 Refer to the following manual.
QCPU User's Manual (Function Explanation, Program Fundamentals)
PROCEDURE TO
SETTINGS AND
OPERATION
(2) Mountable positions on base unit
The MES interface module can be mounted to any I/O slot *2 of the base unit.
However, the power capacity may reduce depending on combination with other
5
mounted modules or the number of mounted modules, pay attention to the power
INSTALLATION AND
UNINSTALLATION
capacity when mounting modules.
*2 Must be within the range of the number of I/O points for the PLC CPU.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
2.3 Connection System Equipment
OVERVIEW
This section explains the equipment can be connected to the MES interface module.
CONFIGURATION
Table 2.3 CompactFlash card (sold separately)
SYSTEM
Model Description
GT05-MEM-128MC CompactFlash card 128 MB
GT05-MEM-256MC CompactFlash card 256 MB
SPECIFICATIONS
(http://wwwf2.mitsubishielectric.co.jp/english/index.html)
Point
(1) For CompactFlash card format, use the formatting function of MES Interface
4
Function Configuration Tool.
Section 7.13.8 Formatting the CompactFlash card
PROCEDURE TO
SETTINGS AND
(2) A CompactFlash card has a service life (restriction on the number of writes).
OPERATION
For details, refer to the specifications of each product.
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
During high speed communication (100 Mbps) via 100BASE-TX connection,
communication errors may occur due to the effect of high frequency noise
generated from the equipment other than PLC, depending on the installation
environment.
Take the following countermeasures on the MES interface module side to
eliminate the effect of high frequency noise when constructing the network
system.
(1) Wiring
• Do not install the twisted pair cables together with the main circuit or
power lines, or bring them close to each other.
• Make sure to place the twisted pair cable in a duct.
(2) Cable
• In the environment where the cable is susceptible to noise, use the
shielded twisted pair cable (STP cable).
(3) 10 Mbps communication
• Connect the 10 Mbps-compatible equipment with the MES interface
module and transmit the data to the equipment at a transmission speed of
10 Mbps.
1
2.4 Operating Environment
OVERVIEW
2.4.1 Configuration computer
This section explains the operating environment for the configuration computer.
2
Table 2.4 Operating environment for configuration computer
CONFIGURATION
Item Description
Computer PC/AT-compatible personal computer can operate the following basic software
SYSTEM
CPU
Required See "Performance required for personal computer and basic software" below.
memory
Hard disk available capacity 64 MB or more 3
Disc drive CD-ROM disc drive
Display Resolution 1024 × 768 pixels or higher
SPECIFICATIONS
Microsoft Windows 2000 Professional Operating System (English version) *1 *2
Microsoft Windows XP Professional Operating System (English version) *2 *3
Basic software Microsoft Windows XP Home Edition Operating System (English version) *2 *3
Windows 2000 Server Operating System (English version) *1 *2
Microsoft
4
Microsoft Windows Server 2003 Operating System (English version) *2 *3
Interface Ethernet
PROCEDURE TO
SETTINGS AND
*1 When using Windows 2000 Server or Windows 2000 Professional, ServicePack2 or later is
OPERATION
required.
*2 Installing MX MESInterface requires the Administrator's authority.
Also, logging on to MX MESInterface as a user in Administrator group is recommended.
*3 The following functions cannot be used.
If any of the following functions is used, this product may not operate normally.
5
INSTALLATION AND
• Application startup in Windows compatibility mode
UNINSTALLATION
• User simple switching
• Remote desktop
• Large Fonts (Detailed setting in the Display Properties)
8
DB CONNECTION
SETTING TOOL
SERVICE AND
This section explains the operating environment for the server computer.
*1 When using Windows 2000 Server or Windows 2000 Professional, ServicePack2 or later is
required.
*2 Installing MX MESInterface requires the Administrator's authority.
*3 The following functions cannot be used.
If any of the following functions is used, this product may not operate normally.
• Application startup in Windows compatibility mode
• User simple switching
• Remote desktop
• Large Fonts (Detailed setting in the Display Properties)
*4 Set the security authentication mode to Mixed Mode. ( POINT)
*5 One communication action can update up to 127 fields.
*6 Do not access a file from multiple MES interface modules at the same time.
Table 2.7 Performance required for personal computer and basic software
Performance required for personal computer
Basic software
CPU Required memory
Point
How to set the security authentication mode (Mixed Mode)
OVERVIEW
(1) In the case of Microsoft SQL Server 2000
Set it in [SQL Server Properties (Configure)].
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 2.8 [SQL Server Properties (Configure)]
(2) In the case of Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
5
When installing MSDE2000, specify a command parameter.
INSTALLATION AND
UNINSTALLATION
setup sapwd = "sa" SECURITYMODE = SQL
(sa: Specify any password.)
This section explains the operating environment of the computer for developing XML
processing applications. FUNCTIONS
Table 2.8 Operating environment of computer for developing XML processing applications
Item Description
Microsoft Visual Studio .NET 2003
7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
This section explains how to check the function version and serial number of the MES
interface module.
(1) Checking at "SERIAL" on the rating plate on the side of the MES interface
module
08071
Compliant standard
Figure 2.9 "SERIAL" on the rating plate on the side of the MES interface module
1
(b) Checking the serial number and version
• The serial No. of MES interface module is displayed in the “Serial No.”
OVERVIEW
column.
• The function version of MES interface module is displayed in the “Ver.”
column.
2
Point
CONFIGURATION
The serial No. shown on the rating plate may not match with the one displayed on
Product Information List of GX Developer.
SYSTEM
• The serial No. on the rating plate indicates the management information
of the product.
• The serial No. displayed on Product Information. List of GX Developer 3
indicates the functional information of the product.
The functional information of the product is updated when a new function
SPECIFICATIONS
is added.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
CHAPTER 3 SPECIFICATIONS
This chapter explains the performance specifications, functions, buffer memory, etc. of the
MES interface module and the MX MESInterface.
For general specifications of the MES interface module, refer to the following manual.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
This section explains the MES interface module and the MX MESInterface performance
specifications.
*1 The MES interface module distinguishes 10BASE-T from 100BASE-TX depending on the device
on other end.
For connection with a hub not having the auto-negotiation function, set the hub side to half-duplex
auto communication mode.
*2 Distance between a hub and node.
1
(2) Software specifications
OVERVIEW
Table 3.2 MX MESInterface performance specifications
Reference
Item Specifications
section
No. of connected databases Maximum 32 items/project
7 types 2
Oracle 8i
CONFIGURATION
Oracle 9i
Oracle 10g Section 7.9.1
SYSTEM
No. of databases that can be connected
Microsoft SQL Server 2000
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Microsoft Access 2000 3
Microsoft Access 2003
SPECIFICATIONS
Section
Allowable number of settings Maximum 64 items/project
7.10.1
Trigger buffering Maximum 128 times
No. of conditions Maximum 2 conditions
can be combined (Combination can be selected either AND or OR)/job
21 types
Period: 1 to 32767 seconds
4
Time: Year, month, day, day of the week, hour, minute Section
Trigger
7.10.2
PROCEDURE TO
Value monitoring*1: Compares tag component value and tag
SETTINGS AND
conditions
Condition type
OPERATION
component value (6 types).
Compares tag component value and constant value (6 types).
Module startup
Handshake*1
5
DB interface
INSTALLATION AND
UNINSTALLATION
Type 4 types (Select, update, insert, operation)
No. of Maximum 8192 fields/project
communication [DB-tag link settings]: Maximum 256 rows/communication action Section 7.11.1
Action action fields [Select/Update conditions]: Maximum 8 rows/communication action
No. of operations
possible for
operation action
(Maximum 20 dyadic operations)/operation action
Section 7.11.2
6
Operators for 6 types (Addition, subtraction, multiplication, division, remainder,
operation action character string combination)
Maximum 2 programs
Program Allowable number of Section FUNCTIONS
(One program before execution of initial action + one program after
execution settings 7.10.3
execution of final action)/job
No. of tags 64 tags/project
No. of components
256 components/tag
4096 components/project
7
CONFIGURATION TOOL
Device tag Data type double-precision integer type (32 bits), single-precision floating point Section 7.8.2
type (32 bits), bit type, character string type (1 to 32 characters))
FUNCTION
6 types
Statistical
(Average, maximum, minimum, moving average*2, moving
processing
maximum*2, moving minimum*2)
Buffering capacity 8
during Maximum capacity: CompactFlash card capacity - 32M bytes
DB buffering Section 7.6.4
communication
DB CONNECTION
error*3
job)
Request message size Maximum 128 K bytes
Reception protocol HTTP1.0 Chapter 9
No. of accounts: 16
User authentication User ID: 1 to 20 characters
Password: 6 to 14 characters
Maximum capacity: 1 M byte
Error log capacity
Working log
*1 The monitoring interval is 1 to 600 (in units of 0.1 seconds) or 1 to 32767 (in units of seconds).
*2 [No. of samples] can be set up to 20.
*3 The following shows the method for roughly calculating the buffering duration from the buffering
capacity.
Buffering duration = (No. of executable bufferings) (Execution frequency [times/hour]) [h]
No. of executable bufferings = (Usage capacity) (SQL text length + Overhead (4 bytes) [cases]
SQL text length = Total field character length + 6 × No. of fields + Total data length + 20 [bytes]
[Calculation example]
Accessing to 256 fields with 1 job and 1 action and performing every 30 seconds when capacity:
64 M bytes, field name: 16 characters, data length: 32 characters
SQL text length = (16 × 256) + 6 × 256 + (32 × 256) = 13844 [bytes]
No. of executable bufferings = (64 × 1024 × 1024) (13844 + 4) 4846 [cases]
Buffering duration = 4846 (60 30 × 60) 40 [h]
1
(2) Accessible routes
OVERVIEW
(a) Single network
2
Network 1 Relay Relay Network 8 Access target CPU
station station
CONFIGURATION
SYSTEM
Network communication route
"Network" indicates MELSECNET/10(H) or Ethernet.
The relay stations are assumed as the QCPU.
Figure 3.1 Single network
3
SPECIFICATIONS
Table 3.4 Single network
Network communication Access target CPU (PLC series)
route QCPU (Q mode) QnACPU QCPU (A mode), ACPU
NET/10(H)
Ethernet *1 *1 *2 4
: Accessible : Inaccessible
PROCEDURE TO
SETTINGS AND
OPERATION
MES interface module
5
Access target CPU
INSTALLATION AND
UNINSTALLATION
C24 multidrop
CC-Link
Network communication route
Figure 3.2 Single network
6
Table 3.5 Single network
Network communication Access target CPU (PLC series)
route QCPU (Q mode) QnACPU QCPU (A mode), ACPU
FUNCTIONS
CC-Link *3 *3
C24
: Accessible : Inaccessible 7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Ethernet C24
: Accessible : Inaccessible
C24 multidrop
CC-Link Network Different network communication route
communication
route
"Network" indicates MELSECNET/10(H) or Ethernet.
The relay stations are assumed as the QCPU.
Figure 3.4 Different network
: Accessible : Inaccessible
*1 For the network No. and station number, set the values same with the parameter settings of the Q
series E71 and QE71 on access target CPU side.
Also, set [Station No. IP information] in the parameter settings of the Q series E71, QE71.
For the [Station No. IP information], specify the IP address computation method, table conversion
method, or both.
*2 For the QnACPU and QE71 on the access target CPU side, use products of the manufacturing
date 9707B or later.
*3 For the CC-Link system master/local module on the access target CPU side, use modules of
software version "S" or later.
1
(3) Accessible devices
OVERVIEW
Table 3.8 Accessible devices
CONFIGURATION
Function register (FD)
Special relay (SM) (M)*2
SYSTEM
Special register (SD) (D)*3
Input relay (X)
Output relay (Y)
3
Internal relay (M)*9
Latch relay (L)*9
SPECIFICATIONS
Annunciator (F)
Edge relay (V)
Link relay (B)
Data register (D)
Link register (W) 4
Contact (TS)
Timer Coil (TC)
PROCEDURE TO
SETTINGS AND
Current value (T/TN)*4
OPERATION
Contact (CS)
Counter Coil (CC)
Current value (C/CN)*4
Contact (SS) 5
Retentive timer Coil (SC)
INSTALLATION AND
UNINSTALLATION
Current value (ST/SN)*4
Link special relay (SB)
Link special register (SW)
Step relay (S) *9
Direct input (DX)
Direct output (DY)
6
Accumulator (A)
(Z)
Index register
(V) FUNCTIONS
(R) *8
(ERn\R)*5*10 7
CONFIGURATION TOOL
*6
Link input (Jn\X)
Link output (Jn\Y)*6
MES INTERFACE
SETTING TOOL
SERVICE AND
*1 The local devices of the Q/QnA series PLC CPU and file registers for individual programs cannot
be accessed by specifying the program name.
Do not use local devices and file registers for individual programs since they may not be read/
written correctly.
*2 For the QCPU (Q mode)/QnACPU, specify SM; for the QCPU (A mode)/ACPU, specify M9000 or
later.
*3 For the QCPU (Q mode)/QnACPU, specify SD; for the QCPU (A mode)/ACPU, specify D9000 or
later.
*4 For the device name, specify either of them.
*5 For "n", specify the block number.
*6 For "n", specify the network No.
*7 For "n", specify the intelligent function module/special function module I/O number.
*8 When using the Q00JCPU, the access is not possible.
*9 M, L, and S devices are in the same region, regardless of the parameter device setting.
*10 ER0\R cannot be specified.
1
3.3 Function List
OVERVIEW
This section lists the MES interface module functions.
CONFIGURATION
The functions of the items are listed (2) and the subsequent descriptions.
SYSTEM
MX MESInterface
Database
Products manufactured
by other companies
3
Windows MES Interface DB Connection User-created
SPECIFICATIONS
R
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 3.5 Function summary
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
(3) MES Interface Function Configuration Tool function list
OVERVIEW
Table 3.10 MES Interface Function Configuration Tool function list
Reference
Function Description
section
System Setting Configure the initial settings for the MES interface module. Section 7.6 2
Configure the settings necessary for connecting the MES interface module to the
Network settings Section 7.6.1
network.
CONFIGURATION
Time synchronization
Make the time setting for the MES interface module. Section 7.6.2
setting
SYSTEM
Account setting Set user authentication accounts used for access to the MES interface module. Section 7.6.3
DB buffering setting Configure the settings for the DB buffering function. Section 7.6.4
Access Target CPU setting Set a connection channel to the access target CPU. Section 7.7
3
Device tag settings Configure the settings for the tag function. Section 7.8
Component setting Configure the tag component settings. Section 7.8.2
SPECIFICATIONS
Server Service setting Configure the settings for access to a server computer. Section 7.9
Job settings Configure the settings for the DB interface function. Section 7.10
Trigger conditions Configure the settings for startup conditions of the job. Section 7.10.2
Trigger buffering Set whether to utilize the Trigger buffering function or not. Section 7.10.1
Communication action Configure the settings for communications with a database. Section 7.11.1
Operation action Configure the settings for operation of tag component values. Section 7.11.2
4
Program execution Configure the settings for the program execution function. Section 7.10.3
PROCEDURE TO
DB buffering Set whether to utilize the DB buffering function or not. Section 7.10.4
SETTINGS AND
Online Perform online operations to the MES interface module connected to the network. Section 7.12
OPERATION
Communication setting Set the target MES interface module. Section 7.12.1
Write Write the MES interface function settings (project) to the MES interface module. Section 7.12.2
Read Read the MES interface function settings (project) from the MES interface module. Section 7.12.3
Verify
The MES interface function settings in the MES interface module are compared with
Section 7.12.4
5
those in the currently editing project.
INSTALLATION AND
Display or change the operation status of the MES interface module, or format a
UNINSTALLATION
Remote operation Section 7.13
CompactFlash card.
Working log The working log of the MES interface module can be checked. Section 7.12.5
One-shot execution of a
Execute a job as a one-shot task. Section 7.12.6
job
Help
The product information of the MES Interface Function Configuration Tool and the
Section 7.14 6
Connect to MELFANSweb screen can be displayed.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
3.4 I/O Signals for PLC CPU
OVERVIEW
3.4.1 I/O signal list
The following lists the MES interface module I/O signals to the PLC CPU.
The following I/O signal assignment is based on the case where the start I/O No. of the
2
MES interface module is "0000" (installed to slot 0 of the main base unit)
CONFIGURATION
If the MES interface module is mounted other than slot 0, see the list with changing the I/O
signals by those of the mounted slot.
SYSTEM
Device X indicates an input signal from the MES interface module to the PLC CPU and
device Y indicates an output signal from the PLC CPU to the MES interface module.
3
Table 3.12 I/O signal list
SPECIFICATIONS
Signal direction MES interface module PLC CPU Signal direction PLC CPU MES interface module
Device Device
Signal name Signal name
No. No.
Module READY
X0 ON: Module prepared Y0
OFF: Module being prepared Use prohibited 4
CompactFlash card status
X1 Y1
ON: Installed OFF: Not installed
PROCEDURE TO
SETTINGS AND
File access status File access stop request
OPERATION
X2 Y2
ON: Stopped OFF: Running ON: Stop request OFF: —
X3 Use prohibited Y3
Network connection status
X4 Y4
ON: Connected OFF: Not connected 5
Information linkage status
X5 Y5
ON: Executing OFF: Stopped
INSTALLATION AND
UNINSTALLATION
X6 Y6
X7 Y7
X8 Use prohibited Y8
Use prohibited
X9 Y9
XA YA
SNTP time query timing
6
XB YB
ON: Query complete OFF: No query
XC YC
XD YD
Use prohibited FUNCTIONS
XE YE
XF YF
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Signal direction MES interface module PLC CPU Signal direction PLC CPU MES interface module
Device Device
Signal name Signal name
No. No.
ERR. LED status Error clear request
X10 Y10
ON: Lighting, flashing OFF: Extinction ON: Error clear request OFF: —
Sampling error
X11 Y11
ON: Error OFF: Normal
Information linkage error
X12 Y12
ON: Error OFF: Normal
X13 Y13
X14 Use prohibited Y14
X15 Y15
Access target CPU error
X16 Y16
ON: Error OFF: Normal
X17 Y17
Use prohibited
X18 Y18
X19 Use prohibited Y19
X1A Y1A
X1B Y1B
Another error
X1C Y1C
ON: Error OFF: Normal
X1D Y1D
Use prohibited
X1E Y1E
Watchdog timer error
X1F Y1F
ON: Error OFF: Normal
Point
As for I/O signals to a PLC CPU, do not output (ON) a "Use prohibited" signal.
Doing so may cause malfunctions of the PLC system.
1
3.4.2 I/O signals details
OVERVIEW
The following table shows the details of the I/O signals of the MES interface module.
CONFIGURATION
No.
Turns ON when the MES interface module becomes ready after the PLC is powered ON from OFF or
X0 Module READY
SYSTEM
the PLC CPU is reset.
CompactFlash card (1) Turns ON when the CompactFlash card is installed and the file access status (X2) is OFF.
X1
status (2) Turns OFF when the CompactFlash card is not installed or the file access status (X2) is ON.
(1) Turns ON while file access is stopped. 3
(a) The following operations are available while file access is stopped.
• Removing and installing a CompactFlash card
SPECIFICATIONS
( Section 4.7.2 Installation/removing the CompactFlash card)
• Powering OFF the PLC during operation without battery
( Section 4.9 Operation without Mounting Battery)
(b) While file access is stopped, the following status occurs.
• Reading from or writing to a CompactFlash card is disabled. 4
• The MES interface function is suspended.
• Operation from MES Interface Function Configuration Tool is disabled.
PROCEDURE TO
SETTINGS AND
(2) Turns OFF during file access operation.
OPERATION
Powering ON the PLC from OFF or resetting the PLC CPU brings file access in operation.
INSTALLATION AND
(In operation) (During stop)
UNINSTALLATION
File access status (X2)
(1) Turns ON when the MES interface module is connected to the network.
Network connection
X4
status
(2) When powering ON the PLC from OFF or resetting the PLC CPU, the MES interface module
connects with the network.
7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(1) Turns ON while the ERR. LED is ON (during a module continuation error) or flashing (during a
module stop error).
(2) Turns OFF when the ERR. LED is turned OFF by turning the Error clear request (Y10) ON with
X10 ERR. LED status
the ERR. LED ON. (However, this is not possible while the ERR. LED is flashing.)
(3) While the ERR. LED is ON or flashing (when X10 is ON), any or some of X11, X12, X16, and
X1C turn(s) ON.
(1) Turns ON when an error regarding Sampling error occurs.
(2) When this device is ON, the error code is stored into the Tag status area (Buffer memory
X11 Sampling error
address: 1000 to 1075).
(3) Turns OFF when the Error clear request (Y10) is turned ON.
(1) Turns ON when an error regarding information linkage occurs.
Information linkage (2) When this device is ON, the error code is stored into the Error log area (Buffer memory
X12
error address: 150 to 247).
(3) Turns OFF when the Error clear request (Y10) is turned ON.
1
(From the previous page)
OVERVIEW
Device
Signal name Description
No.
(1) Turns ON when an error occurs in communications with the access target CPU.
X16
Access target CPU
error
(2) When this device is ON, the error code is stored into the Access target CPU setting status area
(Buffer memory address: 4000 to 4071).
2
(3) Turns OFF when the Error clear request (Y10) is turned ON.
CONFIGURATION
(1) Turns ON when an error not corresponding to X11, X12, or X16 occurs.
(2) When this device is ON, the error code is stored into the Error log area (Buffer memory
SYSTEM
X1C Another error address: 150 to 247).
(3) Turns OFF when the Error clear request (Y10) is turned ON. (Only in case of a module
continuation error)
X1F
Watchdog timer
Turns ON when a watchdog timer error occurs.
3
error
SPECIFICATIONS
(2) Output signals details
Table 3.14 Output signals details
Device
Signal name Description
No. 4
File access stop (1) Turns ON when file access is stopped.
Y2
request (2) For ON/OFF timing, refer to the description of X2.
PROCEDURE TO
SETTINGS AND
(1) By turning ON during a module continuation error (ERR. LED: ON) turns OFF the ERR. LED
OPERATION
and X10, X11, X16, and X1C.
During a module stop error (ERR.LED: flashing), turning this device ON does not turn OFF the
Y10 Error clear request ERR. LED.
(2) Clears the Current error area (Buffer memory address: 140 to 145).
Clears the latest error code displayed on [System monitor] of GX Developer. ( Section
5
10.1.3 System monitor)
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
(From the previous page)
OVERVIEW
Address Initial Read/ Reference
Application Name
(Decimal) value write*1 section
150 Error count 0 R
151 Error log write pointer 0 R 2
152 Error code 0 R
153 Error log 1 System area — —
CONFIGURATION
154 to 157 Time 0 R
158 to 163 Error log 2 (Same as Error log 1)
SYSTEM
164 to 169 Error log 3 (Same as Error log 1)
170 to 175 Error log 4 (Same as Error log 1)
176 to 181 Error log 5 (Same as Error log 1)
182 to 187 Error log 6 (Same as Error log 1) Section
3
Error log area
188 to 193 Error log 7 (Same as Error log 1) 3.6.5
SPECIFICATIONS
194 to 199 Error log 8 (Same as Error log 1)
200 to 205 Error log 9 (Same as Error log 1)
206 to 211 Error log 10 (Same as Error log 1)
212 to 217 Error log 11 (Same as Error log 1)
218 to 223 Error log 12 (Same as Error log 1)
224 to 229 Error log 13 (Same as Error log 1) 4
230 to 235 Error log 14 (Same as Error log 1)
236 to 241 Error log 15 (Same as Error log 1)
PROCEDURE TO
SETTINGS AND
242 to 247 Error log 16 (Same as Error log 1)
OPERATION
248 to 799 Use prohibited System area — — —
800 to 801 Sampling/ Current cycle (Unit: second) 0 R
Section
monitoring cycle
802 to 803 Maximum cycle (Unit: second) 0 R 3.6.6
area 5
804 to 999 Use prohibited System area — — —
INSTALLATION AND
1000 to 1003 Tag setting information 0 R
UNINSTALLATION
1004 to 1007 Sampling information 0 R
1008 to 1011 Sampling error information 0 R
Section
1012 Tag status area Sampling 1, error code 0 R
3.6.7
The composition of each area is the same as that of the Sampling 1, error
Sampling 2 to
1013 to 1075
64, error codes
code.
6
Refer to *2 for the assignment of each area.
1076 to 1289 Use prohibited System area — — —
1290 No. of requested tag 0 R/W
1291 No. of stored tag 0 R FUNCTIONS
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
*3 The following table shows the error code area assignment for the Access target CPUs 1 to 64
(Buffer memory address: 4008 to 4071).
OVERVIEW
Table 3.17 Access target CPU 1 to 64, error code areas
Access target CPU 1 to 64, error code areas
Name
1 2 3 4 5 6 7 8 9 10
Access target CPU 1 to 10, error codes 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017
11 12 13 14 15 16 17 18 19 20
2
Access target CPU 11 to 20, error codes 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027
CONFIGURATION
21 22 23 24 25 26 27 28 29 30
Access target CPU 21 to 30, error codes 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037
SYSTEM
31 32 33 34 35 36 37 38 39 40
Access target CPU 31 to 40, error codes 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047
41 42 43 44 45 46 47 48 49 50
Access target CPU 41 to 50, error codes 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 3
51 52 53 54 55 56 57 58 59 60
SPECIFICATIONS
Access target CPU 51 to 60, error codes 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067
61 62 63 64
Access target CPU 61 to 64, error codes 4068 4069 4070 4071
*4 The following table shows the assignment of the Trigger buffer overflow count areas for Jobs 1 to
64 (Buffer memory address: 11520 to 11583).
4
Table 3.18 Trigger buffer overflow count areas for Jobs 1 to 64
Trigger buffer overflow count areas for Jobs 1 to 64
PROCEDURE TO
Name
SETTINGS AND
1 2 3 4 5 6 7 8 9 10
OPERATION
Trigger buffer overflow counts for Jobs 1 to 10 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529
11 12 13 14 15 16 17 18 19 20
Trigger buffer overflow counts for Jobs 11 to 20 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539
21 22 23 24 25 26 27 28 29 30 5
Trigger buffer overflow counts for Jobs 21 to 30 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549
31 32 33 34 35 36 37 38 39 40
INSTALLATION AND
UNINSTALLATION
Trigger buffer overflow counts for Jobs 31 to 40 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559
41 42 43 44 45 46 47 48 49 50
Trigger buffer overflow counts for Jobs 41 to 50 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569
51 52 53 54 55 56 57 58 59 60
Trigger buffer overflow counts for Jobs 51 to 60 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579
61 62 63 64
6
Trigger buffer overflow counts for Jobs 61 to 64 11580 11581 11582 11583
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) The values stored in buffer memory are cleared when the PLC is powered ON
from OFF, or the PLC CPU is reset.
(2) When a value of 65536 or more is stored in the area composed of one word, a
count is stopped at FFFFh (65535).
(3) If a value of more than two words is stored in the area composed of two
words, a count is stopped at FFFFFFFFh (4294967295).
The ON/OFF status of the MES interface module LED, setting status of the intelligent
function module switches, and battery status are stored.
Refer to the following for details.
• Section 4.3 Parts Names
• Section 4.5 Intelligent Function Module Switch Settings
The status of network connection to which the MES interface module is currently
connected is stored.
For network connection, refer to the following.
Section 7.6.1 Setting items in Network setting
1
3.6.4 Current error area
OVERVIEW
(1) Error code (Buffer memory address: 140)
An error code which indicates the error contents is stored.
For error codes, refer to the following:
Section 10.2 Error Code List 2
CONFIGURATION
(2) Time (Buffer memory address: 142 to 145)
The time when the error occurred is stored in BCD code.
SYSTEM
b15 to b8 b7 to b0
Year (00H to 99H) The last
3
Buffer memory address: 142 Month (01H to 12H)
two digits of the year
SPECIFICATIONS
143 Hour (00H to 23H) Day (01H to 31H)
144 Second (00H to 59H) Minute (00H to 59H)
Point
PROCEDURE TO
SETTINGS AND
OPERATION
(1) The information of the Current error area can be confirmed on the following
diagnostic screen.
(a) Select [System monitor] [Present Error] of GX Developer ( Section
10.1.3 System monitor) 5
(2) The Current error area can be cleared in either of the following methods.
INSTALLATION AND
(a) Turn ON the Error clear request (Y10).
UNINSTALLATION
(b) Power ON the PLC from OFF or reset the PLC CPU.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(a) The number of error log to which the latest error is registered is stored.*1
0: No error (No error log stored)
1 or more: Error log number of the latest error stored
*1 The pointer value of "16" indicates that the latest error has been registered into the error log area
of 16.
(b) If 17 or more errors occur, the excess errors are registered to the error log areas,
starting from the error log 1 area again.
(b) Time
The time when the error occurred is stored in BCD code.
b15 to b8 b7 to b0
Buffer memory address: 152 to 157 Error log1 +0 Error code
158 to 163 Error log2 +1 System area (Use prohibited)
Year (00H to 99H) The last
+2 Month (01H to 12H)
two digits of the year
+3 Hour (00H to 23H) Day (01H to 31H)
Time
242 to 247 Error log16 +4 Second (00H to 59H) Minute (00H to 59H)
Year (00H to 99H) The first
+5 Day of the week (0H to 6H)
two digits of the year
Figure 3.7 Error time area
(c) If an error that has already stored in the Error log area recurs, the error code is not
stored in the Error log area.
Point
(1) The information of the Error log area can be confirmed on the following
diagnostic screen.
Select [System monitor] [Error Display] of GX Developer (Section 10.1.3
System monitor)
(2) The Error log area can be cleared in either of the following methods.
(a) Power ON the PLC from OFF or reset the PLC CPU.
(b) Select [Online] and click the [View working log] button.
( Section 7.12.5 Checking the working log of the MES interface module)
1
3.6.6 Sampling/monitoring cycle area
OVERVIEW
The MES interface module monitors the device data sampling time and trigger conditions
alternately.
The time (cycle) required for this repetition can be confirmed in this area.
When the sampling/monitoring cycle is one second, device tag sampling and trigger 2
conditions are monitored based on the set values.
When it is longer than one second, delay of up to "sampling/monitoring cycle minus 1
CONFIGURATION
second" may occur in the monitoring.
SYSTEM
(1) Current cycle (buffer memory address: 800 to 801)
The current sampling/monitoring cycle value is stored. (Unit: Second)
3
(2) Maximum cycle (buffer memory address: 802 to 803)
SPECIFICATIONS
The maximum sampling/monitoring cycle value up to the present moment is stored.
(Unit: Second)
PROCEDURE TO
SETTINGS AND
(a) The information on whether [Device tag settings] have been made or not is stored.
OPERATION
(b) The bit corresponding to the preset tag setting No. is turned ON.
0: Not set
1: Set
5
INSTALLATION AND
UNINSTALLATION
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Buffer memory address: 1000 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
1001 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
1002 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
1003 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
Figure 3.8 Tag setting information area
6
(2) Sampling information (Buffer memory address: 1004 to 1007)
FUNCTIONS
(a) The tag sampling result is stored.
(b) The bit corresponding to the tag setting No. which executed sampling is turned
ON. 7
0: Not collected
CONFIGURATION TOOL
1: Collected
MES INTERFACE
FUNCTION
SETTING TOOL
(b) The bit corresponding to the tag setting No. to which the Sampling error occurred
is turned ON.
0: No sampling error
1: Sampling error detected
(4) Sampling 1 to 64, error codes (Buffer memory address: 1012 to 1075)
The error code that indicates the error contents is stored in the corresponding tag
setting number area for which the Sampling error occurred.
For error codes, refer to the following:
Section 10.2 Error Code List
1
3.6.8 Current tag data value area
OVERVIEW
The specified current tag data is stored.
This section explains how to display the specified tag data in the Current tag data value
area.
2
1 Set the tag number displayed in the No. of requested tag (Buffer memory address:
CONFIGURATION
1290). *1
SYSTEM
2 Check that the tag number is stored in the No. of stored tag (Buffer memory address:
1291) and that the Update count (Buffer memory address: 1292) is incremented by
1. *2 3
3 Check that the tag component values for the No. of components (Buffer memory
SPECIFICATIONS
address: 1293) are stored in the Current tag data value (Buffer memory address:
1300 to 1811). *3
*1 The tag numbers are the numbers beginning at 1 to 64 in the order set with MES Interface
Function Configuration Tool.
*2 If a value outside the range is set, the Current tag data value area is not updated. 4
*3 The Current tag data value area is updated each time the sampling is completed for the tag whose
number is set as the No. of requested tag (Buffer memory address: 1290).
PROCEDURE TO
SETTINGS AND
OPERATION
No. of requested tag Specify tag No.
(Buffer memory address: 1290) (Example) Specify "5".
INSTALLATION AND
Update count
UNINSTALLATION
of updates is stored.
(Buffer memory address: 1292) (Example) "1" is stored.
The tag No. displayed as the Current tag data value (Buffer memory address: 1300 to
MES INTERFACE
1811) is stored.
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(b) After specifying the tag number displayed as the No. of requested tag (Buffer
memory address: 1290), when the update count is increased, the Current tag data
value (Buffer memory address: 1300 to 1811) is updated with the value of the
specified tag number.
Remark
The following is an example where the current value of tag No. 5 is confirmed in
[Buffer memory batch monitor] of GX Developer .
1
(5) Current tag data value (Buffer memory address: 1300 to 1811)
OVERVIEW
(a) The current values of the tag components whose No. is specified with the No. of
requested tag (Buffer memory address: 1290) are stored.
CONFIGURATION
1301 tag component 1
1302 Current value of
1303 tag component 2
SYSTEM
1810 Current value of
3
1811 tag component 256
Figure 3.12 Current tag data value area
SPECIFICATIONS
(c) Data are stored as follows depending on the data type for the tag component.
PROCEDURE TO
SETTINGS AND
OPERATION
Floating point: Current value
bit: 0 0/1
5
INSTALLATION AND
Figure 3.13 Data type of tag component
UNINSTALLATION
*1 Only the first four characters are stored.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(1) Access target CPU setting information (Buffer memory address: 4000 to 4003)
(a) The information on whether [Access target CPU settings] have been made or not
is stored.
(b) The bit corresponding to the preset Access target CPU setting No. is turned ON.
0: Not set
1: Set
(2) Access target CPU error information (Buffer memory address: 4004 to 4007)
(a) The access target CPU error information is stored.
(b) The bit corresponding to the Access target CPU setting number for which the
Access target CPU error has occurred is turned ON.
0: No Access target CPU error
1: Access target CPU error occurred
(c) The following results when the Access target CPU error occurs.
(Example) When an error occurred in the access target CPU for Access target
CPU setting No. 16
• Access target CPU error (X16) is turned ON.
• Access target CPU error information area (Buffer memory address: 4004 (bit
15)) is turned ON.
• The error code is stored in the Access target CPU 16, error code area (Buffer
memory address: 4023).
(3) Access target CPU 1 to 64, error codes (Buffer memory address: 4008 to
4071)
The error code showing the error contents is stored in the corresponding area of
access target CPU setting number for which the Access target CPU error has
occurred.
For error codes, refer to the following:
Section 10.2 Error Code List
1
3.6.10 Information linkage function area
OVERVIEW
(1) "Time synchronization" setting status (Buffer memory address: 11500)
(a) The setting status of [Time synchronization setting] is stored.
For [Time synchronization setting], refer to the following.
2
Section 7.6.2 Setting items in Time synchronization setting
0: [Synchronize with PLC CPU time]
CONFIGURATION
1: [Synchronize with SNTP]
SYSTEM
(b) When selecting [Synchronize with SNTP] in [Time synchronization setting]
This area is set when the time information was obtained from the SNTP server
computer.
3
If the time information could not be obtained from the SNTP server computer, this
area is not set since the operation for when [Synchronize with PLC CPU time] is
SPECIFICATIONS
selected is performed (Time is synchronized with the PLC CPU).
(2) SNTP time query result (Buffer memory address: 11501 to 11507)
When [Synchronize with SNTP] is selected in [Time synchronization setting], the time
information obtained from the SNTP server is stored. 4
Table 3.19 SNTP time query result
PROCEDURE TO
SETTINGS AND
Address
OPERATION
Name Description Setting side
(Decimal)
11501 SNTP time query result (Year) The four-digit year data is stored.
SNTP time query result
11502 The month data, 01 to 12, is stored.
(Month) 5
11503 SNTP time query result (Day) The day data, 01 to 31, is stored.
INSTALLATION AND
11504 SNTP time query result (Hour) The hour data, 00 to 23, is stored.
UNINSTALLATION
SNTP time query result
11505 The minute data, 00 to 59, is stored. Set on system
(Minute)
side
SNTP time query result
11506 The second data, 00 to 59, is stored.
(Second)
The day of the week data is stored.
SNTP time query result (Day of 0: Sunday 1: Monday 2: Tuesday 6
11507
the week) 3: Wednesday 4: Thursday 5: Friday
6: Saturday
FUNCTIONS
(3) Monitoring interval timeout count (Buffer memory address: 11510)
The cumulative number of times that a monitoring interval timeout has occurred is
stored. 7
The monitoring interval timeout occurs when trigger detection has not been completed
CONFIGURATION TOOL
SETTING TOOL
SERVICE AND
(6) Trigger buffer overflow counts for Jobs 1 to 64 (Buffer memory address: 11520
to 11583)
The cumulative number of trigger buffer overflows for each job is stored.
1
CHAPTER 4 SETTINGS AND PROCEDURE TO OPERATION
OVERVIEW
This chapter explains the settings and procedure to operate the MES interface module in a
system.
2
Point
(1) Before use, make sure to read SAFETY PRECAUTIONS at the beginning of
CONFIGURATION
this manual.
(2) The mounting and installation environment of the MES interface module are
SYSTEM
the same as those of a PLC CPU.
For details, refer to the following manual.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
3
SPECIFICATIONS
4.1 Handling Precautions
This section explains the precautions for handling the MES interface module itself.
4
(1) Do not drop or apply severe shock to the module case since it is made of
resin.
PROCEDURE TO
SETTINGS AND
OPERATION
(2) Tighten the module fixing screws within the specified torque range as follows:
INSTALLATION AND
UNINSTALLATION
*1 The module can be easily fixed onto the base unit using the hook at the top of the module.
However, it is recommended to secure the module with the module mounting screw if the module
is subject to significant vibration or shock.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
This section explains the schematic procedure up to operation for using the MES interface
function.
Point
Start the server computer, and then the MES interface module.
(2) Starting the MES interface module
Procedure to operation
Set ODBC for the database. Create an account for user program
execution. *4
Section 8.2 Setting ODBC to the
Database
Operation
Figure 4.1 Server computer start-up procedure
1
(2) Starting the MES interface module
OVERVIEW
Point
Start the server computer, and then the MES interface module.
(1) Starting the server computer 2
CONFIGURATION
Procedure to operation
SYSTEM
MES interface module *1 Configuration computer
3
Install MES Interface Configuration Tool.
SPECIFICATIONS
Section 5.1 Installation
PROCEDURE TO
SETTINGS AND
OPERATION
Section 2.1.3 System configuration for initial setup
INSTALLATION AND
Install a CompactFlash card to the MES interface
UNINSTALLATION
module. *4
SETTING TOOL
SERVICE AND
According to [Network setting], connect the MES interface module and configuration computer to a network.
When changing
the settings
Operation
*1 As necessary, execute the self-diagnostic test for checking the communication function and
hardware of the MES interface module.
Section 4.6 Self-diagnostics Test
*2 For a battery, refer to the following:
Section 4.8 Battery
Section 4.9 Operation without Mounting Battery
Section 4.10 Removing Battery for Storage
*3 If an account is forgotten and therefore connection to the MES interface module cannot be made,
eject the CompactFlash card from the MES interface module, then follow the procedure in the
figure above *3 and subsequent procedure.
For details on how to eject the CompactFlash card, refer to the following.
Section 4.7.2 Installation/removing the CompactFlash card
*4 For details on how to insert/eject the CompactFlash card and precautions for use, refer to the
following.
Section 4.7 CompactFlash Card
*5 When the test has been completed abnormally, check the following and execute the PING
command again.
• Network settings for the MES interface module or configuration computer
• Connection status of the MES interface module or configuration computer
1
4.3 Parts Names
OVERVIEW
This section explains the parts names of the MES interface module.
CONFIGURATION
RUN
ERR. 1)
SYSTEM
PULL
CF CARD
10BASE-T/
100BASE-TX
100
M 1) 3
2)
SD/
RD
SPECIFICATIONS
4
QJ71MES96
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 4.3 With the LED cover closed
INSTALLATION AND
UNINSTALLATION
3)
PULL
4)
CF CARD
10BASE-T/
6
100BASE-TX
5) 100
M
SD/
FUNCTIONS
RD
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
QJ71MES96
6)
7)
8
DB CONNECTION
SETTING TOOL
10BASE-T/
100BASE-TX
QJ71MES96 100
RUN M
ERR.
SD/
RD
1
4.4 Wiring
OVERVIEW
4.4.1 Wiring
This section explains how to connect cables to the MES interface module.
2
CONFIGURATION
HUB
SYSTEM
MES interface module
QJ71MES96
RUN
ERR.
PULL
CF CARD
3
10BASE-T/
100BASE-TX
100
M
Intranet
SPECIFICATIONS
SD/
RD
PROCEDURE TO
Point
SETTINGS AND
OPERATION
For the equipment required for 10BASE-T/100BASE-TX connection and system
configuration examples, refer to the following.
Section 2.1.4 System configuration for operation
Section 2.3 Connection System Equipment 5
INSTALLATION AND
UNINSTALLATION
4.4.2 Wiring precautions
To establish a reliable system and fully utilize the MES interface module functions, make
wiring so that noise effect can be reduced. 6
(1) Sufficient safety measures must be taken when constructing the 100BASE-TX
and 10BASE-T networks. FUNCTIONS
Consult a specialist when connecting connection cable terminals, installing
main line cables, etc.
7
(2) Use a 10BASE-T/100BASE-TX connection cable compliant with the following
CONFIGURATION TOOL
standards.
MES INTERFACE
(3) The bending radius near the connector should be at least four times longer
than the cable's outside diameter. 8
(4) Connect the device on other end according to its specifications.
DB CONNECTION
SETTING TOOL
SERVICE AND
4.4 Wiring
4.4.1 Wiring
4-7
4 SETTINGS AND PROCEDURE TO OPERATION
The intelligent function module switches are used to make the mode setting, default
operation setting, battery error detection setting, and response monitoring time setting.
3 Clicking the Switch setting button displays the [Switch setting for I/O and intelligent
function module] dialog box.
Make the setting with referring to the following descriptions.
Selecting HEX in Input format facilitates the input.
After completing the setting, click the End button.
Figure 4.8 [Switch setting for I/O and intelligent function module] dialog box
1
Table 4.5 Setting items of the [Switch setting for I/O and intelligent function module] dialog box
Switch number Description
OVERVIEW
Switch 1 Mode setting
Switch 2 Default operation setting/battery error detection setting
Switch 3 (Lower byte) Response monitoring time setting
Switch 4 to 5 For system use (Do not set.) 2
(1) Mode setting (Switch 1)
CONFIGURATION
Select the MES interface module operation mode.
SYSTEM
Table 4.6 Mode setting (Switch 1) setting items
Setting
Item Description
number 3
0000h Online Normal operation mode
Tests the ROM/RAM/intelligent function module switch settings.
SPECIFICATIONS
0001h Hardware test
( Section 4.6.2 Hardware test)
Executes the 10BASE-T/100BASE-TX interface self-diagnostics
0002h Self-loopback test
test. ( Section 4.6.1 Self-loopback test)
PROCEDURE TO
SETTINGS AND
OPERATION
b15 b3 b2 b1 b0
Specify "0". * Switch 2
INSTALLATION AND
1: Does not detect battery errors. 1: Operates according to the default.
UNINSTALLATION
User name :QJ71MES96
Password :MITSUBISHI
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
Use the default operation setting when changing the settings of the MES interface
module connected to the configuration computer on a 1:1 basis.
b15 to b8 b7 to b0
(Upper byte)* (Lower byte) Switch 3
Point
After Write to PLC is executed, the intelligent function module switch settings are
enabled when turning the power ON from OFF, or resetting the PLC CPU.
Remark
For GX Developer operation method, refer to the following manual.
GX Developer Operating Manual
1
4.6 Self-diagnostics Test
OVERVIEW
This section explains the self-diagnostics test designed for checking the MES interface
module communication function and hardware.
CONFIGURATION
Execute the self-loopback test for a hardware check including the communication function
of the MES interface module (10BASE-T/100BASE-TX interface).
SYSTEM
(1) MES interface module operation mode setting
1 In [Switch setting for I/O and intelligent function module] of GX Developer, set
3
"Mode setting" to "Self-loopback test". (Switch 1: 0002h)
SPECIFICATIONS
2 Match the other intelligent function module switch settings to the setting contents
used.
PROCEDURE TO
disconnect it.
SETTINGS AND
OPERATION
2 Set the PLC CPU to STOP status.
INSTALLATION AND
automatically.
UNINSTALLATION
1) Self-loopback check
This test checks whether data can be sent to/received from in the MES
interface module.
During the test, the ERR. LED flashes.
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Check the ERR. LED status to see the self-loopback test result.
2 When the test is completed normally, set the "Mode setting" to "Online" with
[Switch setting for I/O and intelligent function module] of GX Developer and reset
the PLC CPU. (Switch 1: 0000h)
3 When the test has failed, conduct the self-loopback test again.
If an error occurs again, a possible cause is the hardware error of the MES
interface module.
Please consult your local Mitsubishi representative, explaining a detailed
description of the problem.
1
4.6.2 Hardware test
OVERVIEW
Test ROM/RAM/intelligent function module switch settings for the MES interface module.
CONFIGURATION
2 Match the other intelligent function module switch settings to the setting contents
SYSTEM
used.
SPECIFICATIONS
2 Reset the PLC CPU.
3 After the PLC CPU is reset, the following hardware tests are executed
automatically.
During the test, the ERR. LED flashes. 4
1) ROM check
PROCEDURE TO
SETTINGS AND
Reads the ROM data and checks the sum.
OPERATION
2) RAM check
Reads the test data written to the RAM and checks the consistency.
3) Switch setting check
5
Checks that the intelligent function module switch settings are set within the
allowable range.
INSTALLATION AND
UNINSTALLATION
However, the Switch 1 "Mode setting" is not tested.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Check the ERR. LED status to see the hardware test result.
2 When the test is completed normally, set the "Mode setting" to "Online" with
[Switch setting for I/O and intelligent function module] of GX Developer and reset
the PLC CPU. (Switch 1: 0000h)
3 If the test is completed abnormally, check the error contents with the error
information of [System monitor]. ( Section 10.1.3 System monitor)
Eliminate the error cause, then conduct the hardware test again.
If an error occurs again, a possible cause is the hardware error of the MES
interface module.
Please consult your local Mitsubishi representative, explaining a detailed
description of the problem.
1
4.7 CompactFlash Card
OVERVIEW
4.7.1 Precautions for using a CompactFlash card
This section explains the precautions for using the CompactFlash card.
2
(1) When removing or replacing the CompactFlash card
CONFIGURATION
(a) Be sure to stop file access before removing or replacing the CompactFlash card.
SYSTEM
( Section 4.7.2 Installation/removing the CompactFlash card)
(b) Not doing so may cause the data corruption in the CompactFlash card being
accessed or a file system error. 3
(c) If an error occurs in the CompactFlash card, restore the card.
SPECIFICATIONS
(2) CompactFlash card diagnostic time
The MES interface module diagnoses (such as file restoration) the installed
CompactFlash card when:
1) Powering ON the PLC from OFF or resetting the PLC CPU
4
2) Installing the CompactFlash card during power-on
PROCEDURE TO
SETTINGS AND
OPERATION
(3) About a CompactFlash card format
(a) For the CompactFlash card format, use the formatting function of MES Interface
Function Configuration Tool. 5
( Section 7.13.8 Formatting the CompactFlash card)
INSTALLATION AND
UNINSTALLATION
(b) Do not format the CompactFlash card with Windows XP/2000.
If doing so by mistake, restore the card according to the CompactFlash card
manual.
Generally, the service life of a CompactFlash card is dependant on its free space.
FUNCTION
SETTING TOOL
SERVICE AND
Remark
When powering a PLC OFF while data are being written to the CompactFlash
card, the writing may not be completed.
However, because the MES interface module automatically restores files when
powered ON again, usually it can be powered OFF without performing the file
access stop.
NO
Is the PLC power ON? Power ON the PLC.
YES
End
1
Before removing or replacing the CompactFlash card, be sure to stop file access by the
following procedure.
OVERVIEW
Removal/replacement of a CompactFlash card
NO 2
Is the PLC power ON? Power ON the PLC.
CONFIGURATION
YES
SYSTEM
Disable the read from/write to the CompactFlash card by
file access stop processing.
(1) Stopping file access
3
Remove the CompactFlash card.
(3) Removing a CompactFlash card
SPECIFICATIONS
Mount a new NO
CompactFlash card?
YES 4
Install a new CompactFlash card.
PROCEDURE TO
(2) Installation of the CompactFlash card
SETTINGS AND
OPERATION
NO
Operation restarted?
YES
5
INSTALLATION AND
Turn the power OFF and ON, or reset the PLC CPU to
UNINSTALLATION
restart the MES interface module. Power OFF the PLC.
Point
Not following the procedure may cause the data corruption in the CompactFlash 7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Open the LED cover on the front of the MES interface module, then remove the
CompactFlash card slot cover.
1)
2)
• Put the finger at the bottom of the LED cover that is on the front of the MES
interface module, and lift the LED cover to open.
• Put the finger at the top of the CompactFlash card slot cover and then
remove the cover.
1
2 Install the CompactFlash card.
When installing the CompactFlash card into the MES interface module, pay
OVERVIEW
attention to the orientation of the card.
Push the CompactFlash card securely into the slot until it is flush with the EJECT
button.
2
LED cover
CONFIGURATION
Tab direction
EJECT button
SYSTEM
PULL
CF CARD
Insert in
Orientation of a
CompactFlash
10BASE-T/
100BASE-TX
100
M
this direction.
3
card
SD/
RD
SPECIFICATIONS
CompactFlash card
CompactFlash card slot
QJ71MES96
PROCEDURE TO
SETTINGS AND
When a CompactFlash card is installed, the CompactFlash card slot cover cannot
OPERATION
be attached to the MES interface module.
Save the removed CompactFlash card slot cover carefully.
4
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Open the LED cover on the front of the MES interface module, then remove the
CompactFlash card.
LED cover
EJECT button
EJECT button
Press
PULL
CF CARD
Remove in this
10BASE-T/
100BASE-TX
direction.
100
M
SD/
RD
CompactFlash card
CompactFlash card slot
QJ71MES96
• Put the finger at the bottom of the LED cover that is on the front of the MES
interface module, and lift the LED cover to open.
• When ejecting the CompactFlash card from the MES interface module, press
the EJECT button to push the CompactFlash card out.
2 Attach the CompactFlash card slot cover and close the LED cover on the front of
the MES interface module.
• Attach the CompactFlash card slot cover.
When the CompactFlash card is not installed, attach the CompactFlash card
slot cover.
• Lower the LED cover on the front of the MES interface module until it clicks.
1
4.8 Battery
OVERVIEW
This section explains the mounting and replacement of the battery.
CONFIGURATION
Table 4.9 Battery specifications
SYSTEM
Description
Item
Q6BAT
Type Manganese dioxide lithium primary battery
Initial voltage 3.0 V 3
Nominal current 1800 mAh
Storage life Actual life of 5 years (Room temperature)
SPECIFICATIONS
Total power failure time Section 4.8.3 Battery replacement
Lithium content 0.49 g
Application File protection
4
4.8.2 Mounting of battery
PROCEDURE TO
SETTINGS AND
The MES interface module is shipped with the battery connector disconnected. Before
OPERATION
using the MES interface module, connect the battery connector.
INSTALLATION AND
UNINSTALLATION
Check if the battery is correctly
Battery
mounted. Connector fixing
End FUNCTIONS
Point 7
CONFIGURATION TOOL
Not following the procedure may cause the data corruption in the CompactFlash
card being accessed or a file system error.
8
DB CONNECTION
SETTING TOOL
SERVICE AND
4.8 Battery
4.8.1 Battery specifications
4 - 21
4 SETTINGS AND PROCEDURE TO OPERATION
This section explains how to replace the MES interface module battery.
The battery of the MES interface module is used for file protection.
If the voltage of the MES interface module battery has dropped, the battery must be
replaced.
(1) Checking the MES interface module for a battery voltage drop
1 Check for a battery voltage drop in the Battery status area (Buffer memory
address: 7).
3 Finish the battery replacement in the total power failure compensation time since
the Battery status area is turned ON is within the specified time.
Y100 is turned ON
at battery error.
Figure 4.18 Checking for a battery voltage drop
*1 The power-on time ratio denotes the ratio of power-on time in a day (24 hours).
(If the power is ON for 12 hours and OFF for 12 hours, the power-on time ratio is 50%.)
*2 The guaranteed value assumes that the storage ambient temperature is between -25 and 75°C
(operating ambient temperature: 0 to 55°C).
*3 The actual value assumes that the storage ambient temperature is 40°C (operating ambient
temperature: 25°C).
*4 In either of the following status, the guaranteed time after power-off is 3 minutes.
• The battery connector is disconnected.
• The battery lead wire is broken.
4 - 22 4.8 Battery
4.8.3 Battery replacement
4 SETTINGS AND PROCEDURE TO OPERATION
1
(b) The battery (Q6BAT) life is 5 years when disconnected to the MES interface
module.
OVERVIEW
(c) Even though the data is retained for the specified time after the Battery status
area (Buffer memory address: 7) is turned ON, replace the battery as soon as
possible.
2
However, it is recommended to replace the battery periodically according to the
usage status, even when the battery error has not yet occurred.
CONFIGURATION
SYSTEM
Point
If the battery is not replaced after a battery error occurs, data in the CompactFlash
card being accessed may be corrupted or a file system error may occur. 3
SPECIFICATIONS
(3) Replacement procedure of the MES interface module battery
When the MES interface module battery has been exhausted, replace the battery with
a new one according to the procedure shown below.
The PLC must be powered ON for 10 minutes or more before removing the battery. 4
Even if the battery is removed, the memory is backed up by the capacitor for a while.
However, if the replacement time exceeds the guaranteed value in the table below,
PROCEDURE TO
SETTINGS AND
data stored in the memory may be erased. To prevent this, replace the battery quickly.
OPERATION
Table 4.11 Power failure compensation time
Power failure compensation time
3 minutes 5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
4.8 Battery
4.8.3 Battery replacement
4 - 23
4 SETTINGS AND PROCEDURE TO OPERATION
Battery replacement
Battery
Remove the battery in use from the connector
holder. Q6BAT battery
Monitor buffer
OFF
memory address 7 and check
the ON/OFF status.
ON
4 - 24 4.8 Battery
4.8.3 Battery replacement
4 SETTINGS AND PROCEDURE TO OPERATION
1
4.9 Operation without Mounting Battery
OVERVIEW
This section explains operation without mounting a battery to the MES interface module.
(1) Shutdown operation required when the PLC is powered OFF while the MES
interface module is operating without battery 2
If the file protection battery is not mounted to the MES interface module, make sure to
CONFIGURATION
perform shutdown operation when the PLC is powered OFF.
When the PLC is powered OFF without mounting the battery, data such as setting
SYSTEM
information and system data may be lost.
SPECIFICATIONS
(Turn the File access stop request (Y2) ON from OFF.)
PROCEDURE TO
SETTINGS AND
OPERATION
File access stop request (Y2)
INSTALLATION AND
UNINSTALLATION
Power OFF the PLC.
Figure 4.20 Shutdown operation required when the PLC is powered OFF while the MES interface module is operating without battery
Point
If the shutdown operation is not performed before powering OFF a PLC even
6
though the MES interface module is operating without battery, data in the
CompactFlash card being accessed may be corrupted or a file system error may
occur.
FUNCTIONS
1 A battery error occurs when the file protection battery is not mounted to the MES
interface module.
MES INTERFACE
• "1 (ON)" is written to the Battery status area (Buffer memory address: 7).
FUNCTION
• The ERR. LED is turned ON, and ERR. LED status (X10) and Other error
(X1C) are turned ON.
2 Battery errors are not detected by turning "ON" the battery error detection setting 8
(Switch 2 (Bit 2)) with intelligent function module switch setting of GX Developer.
DB CONNECTION
Refer to the following for the intelligent function module switch settings of GX
SETTING TOOL
SERVICE AND
Developer.
Section 4.5 Intelligent Function Module Switch Settings
When storing the MES interface module without mounting a battery, make sure to perform
the shutdown operation, then power OFF the PLC and remove the battery.
Point
Not doing so may cause the data corruption in the CompactFlash card being
accessed or a file system error.
1 Mount the PLC CPU and MES interface module on the base unit and power ON
the PLC CPU.
1
CHAPTER 5 INSTALLATION AND UNINSTALLATION
OVERVIEW
This chapter explains how to install the execution software of MX MESInterface to each
operating environment and how to uninstall it.
2
5.1 Installation
CONFIGURATION
This section explains how to install MX MESInterface.
SYSTEM
(1) MX MESInterface installation procedure
3
Installation start
SPECIFICATIONS
Execute SETUP.exe.
PROCEDURE TO
SETTINGS AND
OPERATION
Exit Which software is
to be installed?
INSTALLATION AND
UNINSTALLATION
Enter user information. Enter user information.
FUNCTIONS
Installation
7
CONFIGURATION TOOL
Installation end
MES INTERFACE
FUNCTION
Point
If a confirmation message for overwriting DLL files is displayed at installation, click 8
the Yes button and overwrite the DLL files.
DB CONNECTION
SETTING TOOL
Point
(1) Before installing MX MESInterface, close any other applications running on
Windows .
(2) When installing MX MESInterface, log on as a user with Administrator
authority.
1
(From the previous page)
OVERVIEW
\EnvMEL\Setup.exe in the CD-ROM for this
product.
4 After executing Setup.exe, install this product.
2
5 If the product is not installed correctly, restart the
computer.
CONFIGURATION
3 The left screen appears. Check that all
SYSTEM
applications have been closed, then click the
OK button.
If any applications are running, close them all.
3
SPECIFICATIONS
4 Setup starts.
The left screen appears. Check the description,
then click the Next > button.
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
5 Enter a user name and company name, then click
the Next > button.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
8
DB CONNECTION
SETTING TOOL
SERVICE AND
REMARKS
Up to 100 characters including "\MESIF" can be
used for the installation destination. This means
that up to 94 characters can be used when
specifying a destination folder as a directory.
(To the next page)
1
(From the previous page)
OVERVIEW
9 When the left screen appears, installation is
complete.
Click the OK button.
2
CONFIGURATION
10 To restart the computer, check the "Yes, I want to
SYSTEM
restart my computer now." checkbox, then click
the OK button.
To not restart the computer, check the "No, I will
3
restart my computer later." checkbox, then click
SPECIFICATIONS
the OK button.
4
11 The dialog box for selecting the component to be
installed is displayed.
PROCEDURE TO
SETTINGS AND
12 When installing the other software, select the
OPERATION
component to be installed with the radio button,
then click the Install button.
INSTALLATION AND
UNINSTALLATION
14
(End)
After installing MES Interface Function Configuration Tool and DB Connection Service 6
Setting Tool, the following icons are registered.
FUNCTIONS
7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
5.2 Uninstallation
(Start)
REMARKS
From the control panel, select [Add/Remove
Applications] and double click.
To display the Control Panel, select [Start]
[Setting] [Control Panel].
1
(From the previous page)
OVERVIEW
3 Confirm the file to be deleted.
To uninstall it, click the Yes button.
To not uninstall it, click the No button. 2
Clicking the No button returns to the previous
CONFIGURATION
screen.
• The component indicates the installed icons
SYSTEM
and file.
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
4 When the message showing the completion of the
removal is displayed, click the OK button.
5 5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
(End)
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
CHAPTER 6 FUNCTIONS
This chapter explains the MES interface functions of the MES interface module.
Point
The MES interface functions are set using MES Interface Function Configuration
Tool.
Chapter 7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Action *4
D1000 Component Communication action 1 (Update)
Operation action 2
Communication action 3 (Insert)
Executed Database
in order
Program execution *5
*1 DB buffering *6
Execute
file
1
*4 Accesses the database and performs arithmetic processing.
• Section 6.1.6 SQL text transmission (Communication action)
• Section 6.1.7 Arithmetic processing function (Operation action)
OVERVIEW
*5 Executes programs. Section 6.1.8 Program execution function
*6 Temporarily stores SQL texts in a CompactFlash card when a communication error occurs.
Section 6.1.9 DB buffering function
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Start
Disabled
Is the job enabled?
Checked
The program in the application server computer is
executed before execution of the first action.
• Section 6.1.8 Program execution function
• Section 7.10.3 Setting items in Program execution
1
(From the previous page)
Executed in order
OVERVIEW
Up to 10 actions can set for a job, and they are
executed in order.
• Section 6.1.6 SQL text transmission (Communication action)
• Section 6.1.7 Arithmetic processing function (Operation action) 2
CONFIGURATION
In Update/Insert actions, substitute or insert values are
committed to database.
SYSTEM
Is the [Execute
Not checked
program after action.]
box checked?
3
Checked
The program in the application server computer is
SPECIFICATIONS
executed after execution of the last action.
• Section 6.1.8 Program execution function
• Section 7.10.3 Setting items in Program execution
PROCEDURE TO
SETTINGS AND
Job execution is completed.
OPERATION
End
INSTALLATION AND
UNINSTALLATION
For the case where an error occurs during job execution, refer to the following:
Section 6.1.10 (2) When an error occurs in job execution
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
The tag function collects device data of the PLC CPUs on the network in units of tags.
By allocating database fields to tag components, the DB interface function enables the
following.
• Database value reading/writing
• Reading/writing of PLC CPU device data specified with tag components
For the tag function setting, refer to the following:
Section 7.8 Device Tag Setting
PLC CPU MES interface module
Point
For the tags for which [Enhance sampling efficiency] is selected, the tag data can
be read out at high speed when they are collected and when handshake operation
is performed.
1
6.1.4 Trigger monitoring function
OVERVIEW
The trigger monitoring function monitors values such as the time and tag values and, when
the trigger condition changes from false to true (when the condition is met), starts a job.
The following setting options are available as conditions for start.
• [Disable]: Does not start the job by a trigger condition. 2
• [Time specification startup]: Starts the job at the specified time.
• [Specified time period startup]: Starts the job at the specified intervals (Unit:
CONFIGURATION
Seconds).
• [Value monitoring startup]:
SYSTEM
Compares the actual tag component value with the condition value (tag component
value or constant value) at every sampling times, and starts the job when the
condition is met. 3
• [Handshake operation]:
SPECIFICATIONS
Starts the job on request from the PLC CPU.
Completion of job execution can be reported to the PLC CPU.
• [At module startup]:
Starts the job only once when the MES interface module starts up.
Two kinds of conditions can be used in combination for starting a job. 4
For the trigger monitoring function setting, refer to the following:
Section 7.10.2 Setting items in Trigger conditions
PROCEDURE TO
SETTINGS AND
OPERATION
Tag
Component
5
INSTALLATION AND
UNINSTALLATION
Value monitoring
startup Job
Time specification
1st of every month, 9:00:00 startup Trigger
Specified time Conditions met Job startup
3600 seconds monitoring
period startup
6
Handshake
operation
FUNCTIONS
ON
OFF
7
CONFIGURATION TOOL
Point
FUNCTION
If [Value monitoring startup] is selected, the tag component value used for trigger
monitoring and the one used in the started job may be collected at different
timings. 8
To collect these tag component values synchronously, use [Handshake
operation].
DB CONNECTION
SETTING TOOL
SERVICE AND
When multiple sets of trigger conditions (conditions for data transmission) are met in a
concentrated manner, their data and trigger times are buffered in the module's internal
memory 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.
To utilize the trigger buffering function, enable [Trigger buffering] at each Job settings.
Time Time
1
(b) In the case of load concentration (Trigger interval Processing time for action)
• Every time a trigger condition is met, tag data and trigger time are stored in
OVERVIEW
the trigger buffer.
• When action processing is not completed in time, up to 128 pieces of trigger
information are stored in the buffer.
2
CONFIGURATION
[MES interface module]
[When loads are concentrated]
SYSTEM
Trigger buffer Job 1-1) Sending
Job 1-1)
Trigger Job 1-2) Trigger information (tag data, time) Action data
conditions met execution Database
Job 1-2)
Job 3-3) Trigger information (tag data, time)
3
Trigger
conditions met
SPECIFICATIONS
Executes action of Job 1-1), and stores
Job 3-3) trigger information of Job 1-2) and 3-3)
Trigger in the trigger buffer.
conditions met
Time Time
The numbers 1) to 3) show the order in which trigger conditions of respective jobs are met. 4
Job 1 and 3 are assumed to access the same database.
Figure 6.6 In the case of load concentration
PROCEDURE TO
SETTINGS AND
(c) When loads are reduced (Trigger interval Processing time for action)
OPERATION
• The information in the trigger buffer are read out sequentially, causing actions
to be executed.
• Since the trigger buffer information that was used for action execution is
cleared, free space is reproduced, enabling new trigger buffering.
5
INSTALLATION AND
UNINSTALLATION
[MES interface module]
[When loads are reduced]
Trigger buffer Job 1-2) Sending
Action data
execution Database 6
Job 3-3)
Action
execution After completing the action of Job 1-1),
executes actions of Job 1-2) and 3-3) FUNCTIONS
in this order based on the trigger buffer
information.
Time Time
The numbers 1) to 3) show the order in which trigger conditions of respective jobs are met.
7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) For job operations performed when [Trigger buffering] is disabled, refer to the
following:
Section6.1.10 (1) Operation behavior of jobs
(2) Whether a trigger condition changed from false to true or not is determined at
the time of sampling.
Section7.10.2 (6) Value monitoring startup
(c) If a trigger occurs with No. of trigger buffer data already reached 128, it is
discarded.
The number of times the trigger buffer data are discarded can be confirmed in the
Trigger buffer overflow count area (Buffer memory address: 11512).
1
6.1.6 SQL text transmission (Communication action)
OVERVIEW
The SQL text transmission function allows automatic creation of SQL texts, enabling
communications with the database.
The following three types of commands can be selected for the SQL text.
• Select 2
• Update
• Insert
CONFIGURATION
For the SQL text transmission setting, refer to the following:
Section 7.11.1 Setting items in Communication action
SYSTEM
(1) Select
Select is used to write a database value to a tag component value area or to store it in
3
the temporary variable area by sending a SQL text to the database.
SPECIFICATIONS
When a value is stored in the temporary variable area, it can be used as a variable for
other actions.
PROCEDURE TO
SETTINGS AND
OPERATION
Database server computer
Select
SELECT...
Tag Component
Temporary variable Data 5
INSTALLATION AND
Update
UNINSTALLATION
Tag Component UPDATE...
Temporary variable Data Database
Constant
Insert
Tag Component INSERT...
Temporary variable
Constant
Data 6
Figure 6.8 SQL text transmission (Communication action)
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
The arithmetic processing function performs operations for tag component values.
In this function, up to 20 dyadic operations can be processed per operation action.
By storing an operation result in the temporary variable area, complicated operations are
also executable.
For the arithmetic processing function setting, refer to the following:
Section 7.11.2 Setting items in Operation action
The program execution function is used for executing programs in the application server
computer before execution of the first action and after execution of the last one in a job.
For the program execution function setting, refer to the following:
Section 7.10.3 Setting items in Program execution
Programs that can be executed from [Command line] are applicable.
Since program execution is set on the server computer as described below, more
sophisticated data linkage can be realized.
1
6.1.9 DB buffering function
OVERVIEW
(1) DB buffering function
The DB buffering function temporarily stores SQL texts into a CompactFlash card
when they cannot be sent due to network disconnection or failure of the database
server computer. 2
After recovery, the buffered SQL texts are automatically sent to the database. (Manual
operation is also possible.)
CONFIGURATION
SYSTEM
Disconnected
Database 3
INSERT...
SPECIFICATIONS
INSERT...
INSERT...
UPDATE...
PROCEDURE TO
CompactFlash card
SETTINGS AND
OPERATION
Recovered
Resend
Database
5
INSTALLATION AND
UNINSTALLATION
INSERT...
INSERT...
INSERT...
UPDATE...
6
CompactFlash card
FUNCTIONS
Figure 6.10 DB buffering function
Point 7
CONFIGURATION TOOL
(2) To send SQL texts after recovery, without changing the transmission
sequence, select the manual resend processing.
(5) (d) Manually resending data
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) If an error occurs when the sent SQL text is executed on the database, by
some reason such as its incorrectness or inconsistency with the database,
buffering is not performed and an SQL failure log is output on the database
server computer.
Section 8.1 DB Connection Service Functions
(2) When SQL texts cannot be sent to the database due to network disconnection
or failure of the database server computer, DB buffering is not performed until
the timeout is detected (approx. 10 seconds).
(7) When SQL texts cannot be sent to the database
Even if a trigger condition is met again during timeout detection, the
corresponding job is not executed.
Section 6.1.10 (1) Operation behavior of jobs
Start
End
1
(5) DB buffering operation
OVERVIEW
(a) When no data are currently stored in the DB buffer
Start
2
Job execution starts when trigger conditions are met.
CONFIGURATION
Section 6.1.2 Job execution procedure
SYSTEM
Were the SQL texts sent Sent
to the database? 3
Sent to the database without being stored in the DB
(2) Factors for starting DB buffering buffer.
SPECIFICATIONS
Not sent
PROCEDURE TO
SETTINGS AND
OPERATION
DB buffering is started.
End 5
INSTALLATION AND
Figure 6.12 When no data are currently stored in the DB buffer
UNINSTALLATION
Point
Check the DB buffer status (No. of bufferings, utilization) and prevent the full
status of the DB buffer. 6
• Section 7.10.4 Setting items in DB Buffering
• Section 7.13.6 Operating the DB buffering
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Start
DB buffering is started. *1
End
Figure 6.13 When some data are currently stored in the DB buffer
Point
Check the DB buffer status (No. of bufferings, utilization) and prevent the full
status of the DB buffer.
• Section 7.10.4 Setting items in DB Buffering
• Section 7.13.6 Operating the DB buffering
1
(c) Automatically resending data after recovery
Start
OVERVIEW
Execution of the job with Auto resend setting is started.
1) The job with Auto resend setting is sent to the database
without being buffered. *1 2
In the order of storing the jobs data in the DB buffer,
CONFIGURATION
2) the accumulated data of the jobs with Auto resend
setting are sent again. *1
SYSTEM
Is there any job for which Yes
Manual resend is selected? 3
Job with Manual resend setting will not be sent even
3) after recovery.
No
SPECIFICATIONS
(5) (d) Manually resending data
End
PROCEDURE TO
SETTINGS AND
OPERATION
Job 1 (Auto) Job 3_SQL TEXT (Auto) Job 10_SQL TEXT (Auto)
Job 2 (Auto) Job 1_SQL TEXT (Auto) Job 3_SQL TEXT (Auto)
Job 3 (Auto) Job 2_SQL TEXT (Auto) 2) Job 1_SQL TEXT (Auto)
Job 4 (Manual) Job 2_SQL TEXT (Auto)
Manual resend area in DB buffer 3)
Job 5 (Manual) 5
Job 6 (Manual) Job 6_SQL TEXT (Manual)
・ Job 4_SQL TEXT (Manual)
INSTALLATION AND
UNINSTALLATION
・
・ Job 5_SQL TEXT (Manual)
Job 10 (Auto)
1)
Figure 6.14 Automatically resending data after recovery
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Start
Execute manual resend of the DB buffer data. After line recovery, retry the manual resend of DB
Resend request from [MES interface function buffer data.
configuration tool] - [Remote operation]
Resend request from the specified tag component in
[Resend DB buffer request]
• Section 7.6.4 Setting items in DB buffering setting
• Section 7.13.6 Operating the DB buffering
Sent
In the order of storing the jobs data in the DB buffer, the
1) accumulated data of the jobs with Auto resend setting
are sent again. *1
Not completed
Has all the manual resend
processing been completed?
Completed
If a job with manual resend setting is started after
3) completion of manual resend processing, its SQL texts
are sent to the database if it is accessible. *1
Job 1 (Auto) Job 3_SQL TEXT (Auto) 1) Job 6_SQL TEXT (Manual)
Job 2 (Auto) Job 1_SQL TEXT (Auto) Job 4_SQL TEXT (Manual)
Job 3 (Auto) Job 2_SQL TEXT (Auto) Job 5_SQL TEXT (Manual)
Job 4 (Manual) Job 10_SQL TEXT (Manual)
Manual resend area in DB buffer
Job 5 (Manual) Job 11_SQL TEXT (Manual)
Job 6 (Manual) Job 6_SQL TEXT (Manual)
・ Job 4_SQL TEXT (Manual)
・ Job 5_SQL TEXT (Manual)
・
2)
Job 10 (Manual)
Job 11 (Manual)
3)
Figure 6.15 Manually resending data
Point
If any of the jobs for which manual resend is selected exists in the DB buffer, it
OVERVIEW
remains there after recovery until manual resend is executed.
2
(6) Clearing the DB buffer
The DB buffer is cleared by the following:
CONFIGURATION
• After writing the MES interface function setting to the MES interface module,
SYSTEM
performing [Update settings], powering OFF and then ON, or resetting the PLC
CPU
Section 7.12.2 Writing the MES interface function settings 3
• Clear request from [MES interface function configuration tool] - [Remote
operation]
SPECIFICATIONS
Section 7.13.6 Operating the DB buffering
• Clear request from [Clear DB buffer request] of the specified tag component
Section 7.6.4 Setting items in DB buffering setting
PROCEDURE TO
SETTINGS AND
OPERATION
1 If SQL texts cannot be sent to the database due to network disconnection or
failure of the database server computer, DB buffering will start upon detection of
the timeout (approx. 10 seconds).
5
2 After DB buffering is started, whether SQL texts can be sent to the database or
INSTALLATION AND
not is checked every time each job is activated.
UNINSTALLATION
3 When the network or database server computer has not been recovered from the
failure, DB buffering is executed after detection of the timeout (approx. 10
seconds).
6
Recovery from network
disconnection
After sending
SQL texts,
After sending
SQL texts,
Sending SQL
texts
7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
2 After started, DB buffering is performed without checking whether SQL texts can
be sent to the database or not for each job activation.
3 The data stored in the DB buffer are resend when manual resend is executed.
After sending
SQL texts,
timeout detected
(approx. 10s) DB buffering DB buffering Resending DB
executed executed buffer data
Figure 6.17 When manual resend is selected for the job
1
6.1.10 Precautions
OVERVIEW
(1) Operation behavior of jobs
(a) When a trigger condition for a job is met again during execution of the job
1) When [Trigger buffering] is disabled for the job 2
Because the job is being executed, it is not executed again.
CONFIGURATION
Condition value
SYSTEM
Tag component value
Sampling
interval
3
Job startup Job startup Job startup
SPECIFICATIONS
Job execution Job execution Job execution
4
2) When [Trigger buffering] is enabled for the job
The trigger information is stored in the trigger buffer, and after completion of
PROCEDURE TO
SETTINGS AND
the current job execution, the job is executed based on the trigger information.
OPERATION
Condition value
5
Tag component value
INSTALLATION AND
Sampling
UNINSTALLATION
interval
Trigger information 2)
3) Trigger buffer
4)
Job Job Job Job Job 6
startup startup startup startup startup
Job execution 1) 2) 3) 4) 5)
Figure 6.19 When trigger condition is met again during execution of the job set to [Value monitoring startup]
FUNCTIONS
(b) When trigger conditions for multiple jobs are met concurrently
• Up to three jobs can start their executions concurrently in the order in [Job 7
settings].
CONFIGURATION TOOL
• After completion of these jobs, executions of the other jobs are started
MES INTERFACE
sequentially.
FUNCTION
Note that, if a job uses the same item in [Server service settings] that is
currently used for another job, the job is not executed until another job
execution is completed.
8
(c) Monitoring interval timeout
Depending on the number of set jobs or the trigger condition setting, the
DB CONNECTION
SETTING TOOL
SERVICE AND
(b) If a job execution is canceled, the operation processed before the error
occurrence returns to the status before the job execution.
Remark
The following explains access to device data in the PLC CPU and to the data-
base.
(1) Device data in the PLC CPU
Since all of data are written to the device data area in the PLC CPU at a time
upon completion of job execution, any change due to the error is not reflected
in the device data of the PLC CPU.
(2) Database
Rollback is executed assuming the time immediately before job activation as
a commit point.
(c) When [Notify errors (job cancellation) that occur during job execution] has been
selected, a value is assigned to the specified tag component.
Section 7.10.5 Setting items for job cancellation
1
6.2 XML Processing Function
OVERVIEW
The XML processing function is a function by which execution of XML format message
requests from user applications can be processed.
The XML processing function allows the following instructions for job execution.
• One-shot execution of a job 2
• Validating a job (The job is executed when the trigger conditions are met.)
• Invalidating a job (The job is not executed even if the trigger conditions are met.)
CONFIGURATION
For the XML message format, refer to the following:
SYSTEM
Chapter 9 XML MESSAGE FORMAT
SPECIFICATIONS
Job
Request message
Job startup XML processing XML User application
function
Response message 4
Figure 6.20 XML processing function
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
The time synchronization function adjusts the time of the MES interface module to be
synchronized with the time of the SNTP server computer or a PLC CPU (No.1 CPU in the
multiple CPU system) on the network. Time information is utilized for job start conditions or
in send data to the database.
For the time synchronization function setting, refer to the following:
Section 7.6.2 Setting items in Time synchronization setting
6.3.1 Using the SNTP time query result in the PLC CPU
By using the SNTP time query timing (XB) and the SNTP time query result area (buffer
memory address: 11501 to 11507), the time information acquired from the SNTP server
computer can be utilized in the PLC CPU.
1
CHAPTER 7 MES INTERFACE FUNCTION CONFIGURATION TOOL
OVERVIEW
This chapter explains the MES Interface Function Configuration Tool.
CONFIGURATION
The MES Interface Function Configuration Tool is used to configure various settings
required for the MES interface function in the MES interface module.
SYSTEM
In addition to the configuration, the MES interface function offers features such as the
operation status check, working log check, or stop/restart operation.
3
7.2 Starting the MES Interface Function Configuration Tool
SPECIFICATIONS
1 Select Microsoft Windows [Start] [All Programs] [MELSOFT Application]
[MES interface function configuration tool].
PROCEDURE TO
SETTINGS AND
Point
OPERATION
Up to five MES Interface Function Configuration Tools can be started.
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
This section explains the screen structure of the MES Interface Function Configuration
Tool.
Toolbar
Menu
Section 7.3.3
Section 7.3.2 Menu
Toolbar
configuration configuration
Edit items tree
Section 7.3.4
Operations using
the Edit items tree
Detailed setting
edit screen
Status bar
Remark
The column width of the tables can be adjusted in the MES Interface Function
Configuration Tool.
To adjust the width, drag the right boundary line of the column.
When only a part of a long item name is displayed, this adjustment is useful.
1
7.3.2 Menu configuration
OVERVIEW
This section shows each command provided on the menu bar.
(1) Project
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Figure 7.3 Project menu
PROCEDURE TO
section
SETTINGS AND
OPERATION
New Creates a new project. Section 7.4.1
Open Retrieves an existing project. Section 7.4.2
Save Overwrites and saves the current project. Section 7.4.3
Save As Saves the current project under a new file name. Section 7.4.3 5
Project file Imports an existing project. Section 7.4.4
INSTALLATION AND
Import
UNINSTALLATION
CSV Files Imports an existing CSV file. Section 7.4.5
Export CSV Files Exports the current project settings to a CSV file. Section 7.4.6
Recent Files Select a file recently used in MES Interface Function Configuration Tool to open it. —
Exit Terminates the MES Interface Function Configuration Tool. —
6
(2) Edit
FUNCTIONS
7
CONFIGURATION TOOL
Replicate item Copies the item selected in the Edit items tree and adds it.
SETTING TOOL
SERVICE AND
(3) View
(4) Online
Write Writes the MES interface function settings (project) to the MES interface module. Section 7.12.2
Reads the MES interface function settings (project) from the MES interface
Read Section 7.12.3
module.
Compares the MES interface function settings in the MES interface module with
Verify Section 7.12.4
those in the current project.
Displays or changes the operation status of the MES interface module, or formats
Remote operation Section 7.13
a CompactFlash card.
View working log Allows users to check the operation logs of the MES interface module. Section 7.12.5
One-shot execution Executes a job as a one-shot task. Section 7.12.6
1
(5) Help
OVERVIEW
2
Figure 7.7 Help menu
CONFIGURATION
Table 7.5 Help menu items
SYSTEM
Reference
Item Description
section
Displays the product information of the MES Interface Function Configuration
Product information
Tool. Section 7.14
3
Connection to MELFANSweb Displays the [Connection to MELFANSweb] screen.
SPECIFICATIONS
7.3.3 Toolbar configuration
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 7.8 Toolbar
Item Description
Reference
section
5
INSTALLATION AND
New Creates a new project. Section 7.4.1
UNINSTALLATION
Open Retrieves an existing project. Section 7.4.2
Delete item Deletes the item selected in the Edit items tree. Section 7.3.4
FUNCTIONS
Reads the MES interface function settings (project) from the MES interface
Read Section 7.12.3
module.
Write Writes the MES interface function settings (project) to the MES interface module. Section 7.12.2
7
CONFIGURATION TOOL
Restart Makes the stopped MES interface function operation restart. Section 7.13.2
MES INTERFACE
Product information
Displays the product information of the MES Interface Function Configuration
Section 7.14
8
Tool.
DB CONNECTION
SETTING TOOL
SERVICE AND
Project root
Item
Setting type
1 When double-clicking the project root or each setting type, some items are
displayed.
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
2 When the item is added properly, it is automatically selected and the edit screen
is switched to the one for the added item.
Point
Since the number of items that can be added is limited depending on the setting
type, refer to the relevant section of each item.
1
(3) Deleting an item
OVERVIEW
1 Selecting an item to be deleted and performing either of the following will delete
the item.
CONFIGURATION
SYSTEM
Point
When the selected item is currently used for another item, it cannot be deleted.
As the error dialog box appears, identify the location, stop using it for another 3
item, and then delete the item.
SPECIFICATIONS
(4) Replicating an item
1 Selecting an item and choosing [Edit] [Replicate item] from the menu 4
replicates the item.
PROCEDURE TO
SETTINGS AND
2 When the item is added properly, it is automatically selected and the edit screen
OPERATION
is switched to the one for the added item.
Point 5
Since the number of items that can be added is limited depending on the setting
INSTALLATION AND
UNINSTALLATION
type, refer to the relevant section of each item.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
• Click (New).
• Select [Project] [New] from the menu.
• Click (Open).
• Select [Project] [Open] from the menu.
1
7.4.3 Saving a project
OVERVIEW
Save a project.
CONFIGURATION
• Click (Save).
• Select [Project] [Save] from the menu.
SYSTEM
(2) Saving a project under a new name
3
1 Select [Project] [Save As] from the menu.
SPECIFICATIONS
2 The [Save As] dialog box is displayed.
Set the following items and click the Save button.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.11 [Save As] dialog box
Save in
Item Description
Select the location where the project is to be saved.
6
File name Specify the name of the project file to be saved.
Select a type of the project file to be saved.
Files of type
• MES interface function project file (*.mup) FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
3 When the project to be imported is selected, the [Import from project file] dialog box
is displayed.
Make the setting referring to the following descriptions.
After completing the setting, clicking the Import button starts the import.
Existing registration
information
Project root
Setting
Item type
Import information
Selection tree
Table 7.9 Setting items in the [Import from project file] dialog box
Item Description
Selection tree In the tree, select the item to be imported.
Existing registration Displays the number of settings for each setting type in the project into
information which data are imported.
Import information Displays the number of the settings to be imported for each setting type.
1
(1) Selecting an item to be imported
In the tree, select the item to be imported.
OVERVIEW
Table 7.10 Item to be imported
Checked item Item to be imported 2
Project root All items in the project
CONFIGURATION
*1 All items under the setting type whose checkbox is checked
Setting type
Item Each item whose checkbox is checked
SYSTEM
*1 When the setting type shown below is selected, items under any other setting type are
automatically selected if they are used for the selected one.
Note that, if an item of the same name exists in the target project, the item is not automatically
selected. 3
The user must select items to be imported.
SPECIFICATIONS
Table 7.11 Automatically selected item
Setting type Automatically selected item
[Device tag settings] [Access target CPU settings]
[Job settings] [Device tag settings], [Server service settings]
4
PROCEDURE TO
(2) Import precautions
SETTINGS AND
OPERATION
There is a limit on the number of settings for each setting type in a project.
Check [Existing registration information] and [Import information], and select items of
each setting type to be imported so that each limit is not exceeded.
5
Table 7.12 Number of settings available for each setting type
INSTALLATION AND
UNINSTALLATION
Setting type Allowable number of settings*2
[Access target CPU settings] 64
[Device tag settings] 64
[Server service settings] 32
[Job settings] 64
6
*2 If an item of the same name exists, it is overwritten and therefore, excluded from the restriction on
the number of settings for each setting type.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Save the following import target CSV files in the same folder.
• SYSTEM.CSV: [System setting] - [Network settings]
: [System setting] - [Time synchronization setting]
• ACCOUNT.CSV: [System setting] - [Account setting]
• CPU.CSV: [Access target CPU settings]
• TAG.CSV: [Device tag settings]
• COMPONENT.CSV: [Device tag settings] - [Component setting]
Note that, to import a CSV file, all the above files must exist in the same folder.
(If any of these files is missing, an error occurs.)
Files shown in the above 1 and in the same folder as the specified file
File name (SYSTEM.CSV) are the import target CSV files.
For files to be imported, refer to the following:
Appendix 2 Setting Information File Format (CSV File Format)
Files of type Select [CSV file(SYSTEM.CSV)].
1
4 When the CSV file to be imported is selected, the [Import from CSV files] dialog box
is displayed.
OVERVIEW
Make the setting referring to the following descriptions.
After completing the setting, clicking the Import button starts the import.
Existing registration
2
information
Project root
CONFIGURATION
Setting
Selection tree
Item type
SYSTEM
Import information
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
Figure 7.14 [Import from CSV files] dialog box
UNINSTALLATION
Table 7.14 Setting items in [Import from CSV files] dialog box
Item Description
Selection tree In the tree, select the item to be imported.
Existing registration Displays the number of settings for each setting type in the project into
6
information which data are imported.
Import information Displays the number of the settings to be imported for each setting type.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
*1 When the setting type shown below is selected, items under any other setting type are
automatically selected if they are used for the selected one.
Note that, if an item of the same name exists in the target project, the item is not automatically
selected.
The user must select items to be imported.
*2 If an item of the same name exists, it is overwritten and therefore, excluded from the restriction on
the number of settings for each setting type.
1
7.4.6 Exporting a CSV file
OVERVIEW
Export the current project settings to a CSV file.
Exported CSV files can be utilized for creating setting sheets or printing.
[System setting], [Access target CPU settings], [Device tag settings], [Server service
settings], and [Job settings] can be exported. 2
CONFIGURATION
1 Select [Project] [Export] [CSV Files] from the menu.
SYSTEM
2 The [Save As] dialog box is displayed.
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 7.15 [Save As] dialog box
5
Table 7.18 Setting items in the [Save As] dialog box
INSTALLATION AND
Item Description
UNINSTALLATION
Save in Select the location where the CSV file is to be saved.
Specify "SYSTEM.CSV".
The respective setting files are exported into the same folder as the
File name specified file (SYSTEM.CSV).
For the files to be exported, refer to the following:
Appendix 2 Setting Information File Format (CSV File Format)
6
Files of type Select [CSV file(SYSTEM.CSV)].
FUNCTIONS
To print setting details of MES Interface Function Configuration Tool, use a CSV file that
7
CONFIGURATION TOOL
Print the setting information file with a tool that is capable of printing text files.
8
DB CONNECTION
SETTING TOOL
SERVICE AND
2 The "project setting" area is displayed on the detailed setting edit screen.
Set the following items.
1
7.6 System Setting
OVERVIEW
Configure the initial settings for the MES interface module.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.17 [System setting]
Default button Clicking the Default button returns [System setting] to the initial status.
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Configure the settings necessary for connecting the MES interface module to the network.
Point
The following are set by default.
• IP address : 192.168.3.3
• Subnet mask: 255.255.255.0
Point
Before entering values in [Network settings], consult your network administrator
(the person who plans networking and manages IP addresses).
1
7.6.2 Setting items in Time synchronization setting
OVERVIEW
Make the time setting for the MES interface module.
The time used in the MES interface module is obtained from the SNTP server computer or
PLC CPU (CPU No.1 in the case of a multiple CPU system).
2
Point
CONFIGURATION
To synchronize the time between the MES interface module and other devices on
the network, using the time on the SNTP server computer is recommended.
SYSTEM
3
SPECIFICATIONS
Figure 7.19 [Time synchronization setting]
4
PROCEDURE TO
(1) When [Synchronize with PLC CPU time] is selected
SETTINGS AND
OPERATION
When the [Synchronize with PLC CPU time] radio button is selected, the time is
adjusted to the time of CPU No.1.
The timing is as follows:
• When powering ON the PLC from OFF 5
• When resetting the PLC CPU
INSTALLATION AND
UNINSTALLATION
• Once a minute
(b) When [Synchronize with SNTP] is selected, set the following items.
7
CONFIGURATION TOOL
Item Description
SNTP server address Enter the IP address of the SNTP server or NTP server in decimal
FUNCTION
(required) notation.
Select a time zone used for time synchronization.
Time zone (required)
Japan Standard Time (GMT+09:00) is selected by default.
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(3) When time information is not obtainable from the SNTP server computer
When the MES interface module cannot obtain time information from the SNTP server
computer due to failure of the network or time synchronization server, it behaves as
follows:
(a) When time information is not obtained at the time of powering ON the PLC from
OFF, or resetting the PLC CPU
1) The operation for the case of selecting [Synchronize with PLC CPU time] is
performed. (Adjusted to the time of CPU No.1.)
2) Error code, 0A06h is output to the error log.
3) One minute later, time query is executed again to the SNTP server computer.
Point
Whether time query to the SNTP server computer is executed successfully or not
can be confirmed by [Online] - [View working log].
Section 7.12.5 Checking the working log of the MES interface module
Point
(1) When using the time information, which is obtained from the SNTP server
computer, in the PLC CPU
Section 6.3.1 Using the SNTP time query result in the PLC CPU
1
7.6.3 Setting items in Account setting
OVERVIEW
Set user authentication accounts used for access to the MES interface module.
Point 2
(1) At least one account setting is required, and up to 16 accounts can be set.
(2) An account of User name, "QJ71MES96" and Password, "MITSUBISHI" is set
CONFIGURATION
by default.
To protect from illegal access using the default account, delete the account
SYSTEM
after creating another account.
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 7.20 [Account setting]
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Clicking the Add button displays the [Add Account] dialog box.
Set the following items and click the OK button.
1 Selecting an account and clicking the Edit button displays the [Edit Account]
dialog box.
Set the items explained in (1) and click the OK button.
1
(4) Precautions on security of the MES interface module
Although the MES interface module supports the basic authentication (account
OVERVIEW
setting) using user names and passwords, it shall not completely protect the system
from illegal access.
When the PLC system security needs to be protected against illegal access, take 2
measures at the user's discretion.
CONFIGURATION
It is recommended to pay attention to the following:
SYSTEM
(a) Set [Account setting] observing the following so that your account (user name,
password) will not be leaked.
1) Prevent any simple setting consisting of alphanumeric characters only, and 3
include some non-alphanumeric character(s) (e.g. $, &, ?) to create
complicated user name and password.
SPECIFICATIONS
2) To protect from illegal access using the default account, delete the account
after creating another account.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
Tag components can be selected from a list of the tags set to data-write-enabled,
and each status of the DB buffering is stored in the device corresponding to the
component.
Tags set to data-write-disabled are not displayed.
1
(3) Resend DB buffer request
OVERVIEW
(a) Select a tag component used to request for resend processing of the DB buffer.
(b) The following explains the operation of the resend processing using [Resend DB
buffer request]. 2
Table 7.26 Operation of the resend processing using [Resend DB buffer request]
CONFIGURATION
Data type of tag component Description
SYSTEM
The resend processing of the DB buffer is performed when the specified tag
component is ON.
Normal: Turns OFF after completion of the resend processing.*1
Error: Outputs error code, 0B83h, to the error log, and turns OFF. 3
SPECIFICATIONS
Bit
Resend DB buffer request
Tag component value
PROCEDURE TO
SETTINGS AND
specified tag component.
OPERATION
Other than the above
Normal: "0" is written after completion of the resend processing.*1
Error: Outputs error code, 0B83h, and "0" is written.
*1 Do not change the value of the specified tag component until the resend processing is completed.
Even if the value changes, however, the resend processing is not interrupted. 5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(b) The following explains the operation of the clear processing using [Clear DB
buffer request].
Table 7.27 Operation of the clear processing using [Clear DB buffer request]
Data type of tag
Description
component
The clear processing of the DB buffer is performed when the specified
tag component is ON.
Turns OFF after completion of the clear processing.*2
DB buffer clear
processing Execute clear
1
(5) DB buffering full
OVERVIEW
(a) Select a tag component into whose device the status of whether the DB buffer
(Auto-resend or Manual resend area) is full or not is stored.
CONFIGURATION
Data type of tag
Description
component
SYSTEM
OFF: DB buffer is not full.
Bit
ON: DB buffer is full.
0: DB buffer is not full.
Other than the above
1: DB buffer is full. 3
(c) When the DB buffer becomes full, even if a DB-buffering-enabled job is activated,
SPECIFICATIONS
its SQL texts are discarded without being bufferred.
Note that execution of a DB-buffering-enabled job is not canceled.
Point
Check [DB buffer utilization] shown in (6) to prevent the "DB buffer full" status. 4
PROCEDURE TO
SETTINGS AND
OPERATION
(6) DB buffer utilization
(a) Select a tag component into whose device the utilization of the DB buffer area
(Unit: %) is stored.
5
(b) Data are stored as follows depending on the data type.
INSTALLATION AND
UNINSTALLATION
Utilizations are compared between the auto-resend and manual resend areas and
data of a greater one is stored.
(a) Set the capacity used for DB buffering out of the entire CompactFlash card
MES INTERFACE
(b) A half of the DB buffering capacity is used as the auto resend area and another 8
half as the manual resend area.
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Double-clicking [Access target CPU settings] in the Edit items tree displays relevant
items.
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
Make the setting referring to the following descriptions.
Point
(1) How to add, delete, or copy an item
For addition, deletion or copying of items, refer to the following:
Section 7.3.4 Operations using the Edit items tree
(2) When an item is added or copied, a "New CPU" item is added.
1
7.7.1 Setting items in Access target CPU setting
OVERVIEW
Point
(1) Up to 64 items can be set in [Access target CPU settings] within one project.
(2) By default, a control CPU is set as the first item with "ControlCPU" displayed
2
for CPU name.
Deletion or setting modification of the first item is not allowed.
CONFIGURATION
Only the CPU name can be modified.
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.25 [Access target CPU settings]
Select a CPU No. when the access target CPU is used in the multiple CPU
Multiple CPU specification
system.
Other station specification Select whether or not to specify any other station.
Network communication
7
CONFIGURATION TOOL
Set the network type, network No, head I/O address, and station No. used
route, Co-existence network
for access when any other station is specified.
MES INTERFACE
communication route
FUNCTION
SETTING TOOL
SERVICE AND
names, etc.
(a) No specification
Select this when accessing the CPU on the host station.
Point
To access a CPU on another station, routing parameters must be set in addition to
this setting.
For the routing parameters, refer to the following:
Manual for the network module used
1
(6) Precautions on [Access target CPU settings]
OVERVIEW
(a) The MES interface module prepares for communication with the access target
CPU when executing [Update settings], powering ON the system from OFF, or
resetting the PLC CPU.
Therefore, if a large number of access target CPUs are set, several minutes are 2
required for the preparation.
CONFIGURATION
Confirm that [Update settings] is completed, or the MES interface module is ready
(X0 is ON.) before making access from the personal computer to the MES
SYSTEM
interface module.
SPECIFICATIONS
a module on the route to the access target CPU.
• The system may operate within the device range of the incorrect [PLC series]
setting.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Double-clicking [Device tag settings] in the Edit items tree displays relevant items.
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
Make the setting referring to the following descriptions.
Point
(1) How to add, delete, or copy an item
For addition, deletion or copying of items, refer to the following:
Section 7.3.4 Operations using the Edit items tree
(2) When an item is added or copied, a "New Tag" item is added.
1
7.8.1 Setting items in Device Tag setting
OVERVIEW
Point
Up to 64 items can be set in [Device tag settings] within one project.
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
Figure 7.27 [Device tag settings]
OPERATION
Table 7.31 Setting items in [Device tag settings]
Item Description
5
Device Tag name Enter a device tag name. (Up to 16 characters)
Set whether to collect tag data at regular intervals or not.
INSTALLATION AND
UNINSTALLATION
Sampling settings When collecting, set a sampling interval.
Also, set whether to make the sampling more efficient or not.
Prohibit data writing Enable or disable writing data to the tag.
Configure the tag component settings.
Component setting input
Section 7.8.2 Setting items in Component setting
Displays a list of the components that have been already set.
6
Component List
Section 7.8.2 Setting items in Component setting
Appendix 1.2 Characters available for item names, component names, variable
MES INTERFACE
names, etc.
Note that using the name same as the one set in [Server service settings] is not
FUNCTION
allowed.
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) Select [Do not sample] in the cases shown below.
This setting can reduce the load of the MES interface module.
• Tags that perform writing only
• Tags that use handshaking for sampling device values
For handshaking, refer to the following:
Section 7.10.2 (8) Handshake operation
• When reserving the tag
(2) Tags with [Do not sample] setting cannot be selected in the items provided for
tag read setting. (Except for the case where the trigger condition is set to
[Handshake operation].)
• Tag component value for [Select/Update conditions] of [Select] in
[Communication action], etc.
1
(3) Enhance sampling efficiency
If the [Enhance sampling efficiency] box is checked, sampling and reading of tag data
OVERVIEW
under handshake operation can be executed at high speed.
This can be selected when device numbers of all the devices registered to the tag are
sequential. 2
(4) Prohibit data writing
CONFIGURATION
Set whether to enable or disable writing data to the tag.
SYSTEM
Point 3
Tags for which data writing is prohibited cannot be selected in the setting items
provided for writing to tags.
SPECIFICATIONS
• [Completion notification] of [Handshake operation], substitution tags of
[Select] in [Communication action], etc.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Remark
(1) Creating a user-specified system area
The following explains how to create a user-specified system area in the program
memory of the control CPU.
2 As the [Format PLC memory] dialog box appears, select [Create a user setting area]
in [Format Type].
3 Ensure 1K step for [High speed monitor area from other station.] per MES interface
module. *1
Point
Execution of the PLC memory formatting deletes the PLC CPU data.
Read the PLC CPU data into GX Developer before executing the PLC memory
formatting.
1
7.8.2 Setting items in Component setting
OVERVIEW
Configure the tag component settings.
(Adding a component)
• Set required items in [Component setting input], and click the Add button.
• The component is added in [Component List].
2
(Modifying a component)
CONFIGURATION
• When a component to be modified is selected in [Component List], its settings are
SYSTEM
displayed in [Component setting input].
• Modify the item settings in [Component setting input], and click the Replace
button. 3
(Deleting a component)
SPECIFICATIONS
• Select a component to be deleted in [Component List], and click the Delete button.
4
Point
Up to 256 components can be set for one tag.
PROCEDURE TO
SETTINGS AND
Note that the maximum number of components available for one project is 4096.
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
Figure 7.29 [Component setting]
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
The following are displayed on the status bar of [Device tag settings].
• [No. of tag components in project]
The total number of tag components in the project is displayed.
• [No. of statistical processings in project]
The number of component settings in the project, for which [Perform
statistical processing] is checked, is displayed.
• [No. of device points in tag]
The total number of device points used in [Device tag settings] is
displayed.
1
(3) Device
• Set a device type and an actual device number.
OVERVIEW
• Indexing, digit specification, and word device specification by bit specification are
not allowed.
• For accessible devices, refer to the following: 2
Section 3.2 Accessible Devices and Ranges
• When [High-speed sampling] is selected, set devices within the total of 96 points.
CONFIGURATION
(The number of the set points can be checked on the status bar of [Device tag
settings].)
SYSTEM
(4) Data type
Select the data type of sampling data (device data).
3
SPECIFICATIONS
Table 7.33 Options of [Data type]
Selectable
Item Description
device
Single word Handles data as single word data (16-bit Integer type). Word
Double word Handles data as double word data (32-bit Integer type). Word 4
Real number Handles data as floating point data. Word
Bit Handles data as bit data (in units of bits (0/1)). Bit
PROCEDURE TO
SETTINGS AND
String*1 Handles data as character strings. Word
OPERATION
*1 When [Data type] is [String], device values are processed as follows:
• When the device value neither an ASCII code nor shifted JIS code
It is replaced with "." (period: 2Eh).
• When the device value is model-dependent characters 5
The character code may be converted during action execution.
INSTALLATION AND
• When the device value is a termination character (NULL code: 00h)
UNINSTALLATION
The character data following it are ignored. (The character string is regarded as terminated.)
2) When the value length is longer than the character string length
FUNCTION
The values whose quantity is equal to the character string length are stored.
Example: "ABCD" is attempted to be stored in the device of the tag
component, whose character length is 2.
"AB" is stored. 8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
Up to 64 components that have [Perform statistical processing] setting can be set
in all projects. (The number of the set points can be checked on the status bar of
[Device tag settings].)
(b) When [Perform statistical processing] is selected, set the following items.
Table 7.34 Setting items for [Perform statistical processing]
Item Description
Statistical type Select a type of the statistical processing.
Specify the number of samples (2 to 20) when [Moving average],
No. of samples
[Moving maximum], or [Moving minimum] is selected.
1) Statistical type
Select a type of the statistical processing.
Table 7.35 Options of [Statistical type]
Item Description
Average*1 An average value after starting sampling is stored.
Maximum*1 The maximum value after starting sampling is stored.
Minimum*1 The minimum value after starting sampling is stored.
Tag component values are collected at sampling intervals for the
number of times specified by [No. of samples] , and an averaged
Moving average*2 *3 value is stored.
Since the processing range moves at each sampling, the latest value
can be obtained.
Tag component values are collected at sampling intervals for the
number of times specified by [No. of samples] , and the maximum
*2 *3 value is stored.
Moving maximum
Since the processing range moves at each sampling, the latest value
can be obtained.
Tag component values are collected at sampling intervals for the
number of times specified by [No. of samples] , and the minimum
Moving minimum*2 *3 value is stored.
Since the processing range moves at each sampling, the latest value
can be obtained.
*1 If a statistical value of [Average], [Maximum], or [Minimum] is reset, a value obtained after resetting
will be stored.
• How to reset a statistical value of [Average], [Maximum], or [Minimum]
Perform substitution of some value for the relevant tag component using [Operation action] of a job.
Section 7.11.2 Setting items in Operation action
The statistical processing is reset and a value processed after the substitution is stored.
*2 Statistical values of [Moving average], [Moving maximum], and [Moving minimum] cannot be reset.
*3 When [Moving average], [Moving maximum] or [Moving minimum] is specified for a tag
component, a job using the tag component is not able to start its execution until sampling for the
specified number of times is completed.
The job will be canceled.
1
2) No. of samples (2 to 20)
Specify the number of samples when [Moving average], [Moving maximum], or
OVERVIEW
[Moving minimum] is selected.
CONFIGURATION
1) 6) 8) 9)
7) 12)
10) 11)
SYSTEM
1st Tag component value 3
2nd Moving average
3rd
SPECIFICATIONS
0 Time (seconds)
PROCEDURE TO
SETTINGS AND
Figure 7.30 Moving average
OPERATION
(7) Precautions on [Component setting]
If a wrong device number is set for a component in [Component setting], an error will 5
occur on another component that has the same access target CPU setting.
INSTALLATION AND
UNINSTALLATION
Correct the device number in [Component setting].
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Double-clicking [Server service settings] in the Edit items tree displays relevant
items.
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
Make the setting referring to the following descriptions.
Point
(1) How to add, delete, or copy an item
For addition, deletion or copying of items, refer to the following:
Section 7.3.4 Operations using the Edit items tree
(2) When an item is added or copied, a "New server" item is added.
1
7.9.1 Setting items in Server Service setting
OVERVIEW
Point
Up to 32 items can be set in [Server service settings] within one project.
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 7.32 [Server service settings]
5
INSTALLATION AND
Table 7.36 Setting items in [Server service settings]
UNINSTALLATION
Item Description
Sever service name Enter a server service name. (Up to 16 characters)
Server type Select the server type of the server computer to be accessed.
Enter a decimal IP address of the server computer where DB Connection
IP address
Service is installed.
Set a port number of the server computer.
6
Port No.
(Range: 1024 to 65535, Default: 5112)
Set a user name used to access the server computer.
User name
(Up to 30 characters) FUNCTIONS
Password/Confirm Set a password used to access the server computer.
password (Up to 30 characters)
Set the name of the ODBC data source to be accessed.
Data source name
(Up to 30 characters) 7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(3) IP address
Enter a decimal IP address of the server computer where DB Connection Service is
installed.
1
(5) User name (Up to 30 characters)
Set a user name used to access the server computer.
OVERVIEW
For characters that can be used for user names, refer to the following:
Appendix 1.3 Characters available for character string constants, etc.
CONFIGURATION
(b) When [Application server] is selected for [Server type]
Set the account user name used for the operating system (OS) of the application
SYSTEM
server computer.
SPECIFICATIONS
For characters that can be used for passwords, refer to the following:
Appendix 1.3 Characters available for character string constants, etc.
PROCEDURE TO
SETTINGS AND
If the [Notify the access error status] box is checked, an error occurred in access
OPERATION
to the server computer is reported to a tag component.
(b) When [Notify the access error status] is selected, choose a tag component into
whose device the access error status data is stored.
Data are stored as follows depending on the data type.
5
INSTALLATION AND
UNINSTALLATION
Table 7.39 Values for [Notify the access error status]
Data type of tag
Description
component
OFF : Normal/Not accessed
Bit
ON : Access error status
Point FUNCTIONS
A tag component of [Notify the access error status] can be selected from a list of
the tags that are set to data-write-enabled.
Tags set to data-write-disabled are not displayed.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Double-clicking [Job settings] in the Edit items tree displays relevant items.
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
Make the setting referring to the following descriptions.
Point
(1) How to add, delete, or copy an item
For addition, deletion or copying of items, refer to the following:
Section 7.3.4 Operations using the Edit items tree
(2) When an item is added or copied, a "New job" item is added.
1
7.10.1 Setting items in Job setting
OVERVIEW
Point
Up to 64 items can be set in [Job settings] within one project.
For job operations, refer to the following:
2
Section 6.1.10 (1) Operation behavior of jobs
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
Figure 7.34 [Job settings]
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
The following are displayed on the status bar of [Job settings].
• [No. of fields in project]
The total number of fields in the project is displayed.
• [No. of fields in job]
The total number of fields used in [Job settings] is displayed.
• [Tag component data length in job]
The total of tag component data lengths in the job is displayed.
(b) While the MES interface module is operating, this setting can be changed by the
following:
• "Instruction of job execution" in the XML processing function
Section 6.2 XML Processing Function
• [Online] - [Remote operation] - [Change job status]
Section 7.13.4 Changing the job status
1
(3) Trigger buffering
OVERVIEW
(a) Set whether to enable the trigger buffering function or not.
For the trigger buffering function, refer to the following:
Section 6.1.5 Trigger buffering function
2
(b) Precautions when selecting [Trigger buffering]
1) [Handshake operation] is not selectable for trigger conditions.
CONFIGURATION
2) No tag component can be selected for Substitution tag of [Operation action].
SYSTEM
3) No tag component can be selected for Substitution tag of [Select] in
[Communication action].
4) Up to 4096 words *1 can be set as the total tag component data length usable
3
in one job. (The setting can be checked on the status bar of [Job settings] or in
SPECIFICATIONS
each action dialog box.)
*1 The total data length of the tag components that are set in [DB-tag link settings] or [Select/Update
conditions] of [Communication action], or in [Operation action].
If two or more identical tag components are set in the same job, respective data lengths are
counted.
4
(4) Startup logging
PROCEDURE TO
SETTINGS AND
(a) Set whether to output the startup history of the job to the log or not.
OPERATION
When the [Startup logging] box is checked, the startup history of the job (date and
time, job name) is saved on a CompactFlash card.
The startup log can be checked from [Online] - [View working log].
Section 7.12.5 Checking the working log of the MES interface module 5
INSTALLATION AND
(b) When the log capacity becomes full (Log capacity: 1MB × 2)
UNINSTALLATION
The first half of the data are deleted.
The latest log is stored after the remaining data.
Operations other than the following are identical to the actual operations.
FUNCTION
SETTING TOOL
SERVICE AND
Point
Up to 4 jobs can be set to [Test mode].
1
(1) Combination
OVERVIEW
(a) Selects a combination of [Trigger 1] and [Trigger 2].
• OR (When either of them is true, the result is true.)
• AND (When both of them are true, the result is true.)
The combination result of [Trigger 1] and [Trigger 2] is changed from false to true, 2
the job is activated.
CONFIGURATION
(b) The following shows the timings at which the combination result of [Trigger 1] and
[Trigger 2] is changed from false to true.
SYSTEM
(In any other cases, because the combination result is not changed from false to
true, the job is not activated.)
3
Table 7.42 Timings at which combination result of [Trigger 1] and [Trigger 2] is changed from false to true
SPECIFICATIONS
Combination Trigger 1 Trigger 2 Combination result
(Changed from false to true) (Remained false)
True True
False False 4
(Changed from false to true) (Changed from false to true)
PROCEDURE TO
SETTINGS AND
OR (When either of them is
OPERATION
true, the result is true.) True True
False False
INSTALLATION AND
True
UNINSTALLATION
True (Changed from false to true)
False False
(Remained true)
MES INTERFACE
True True
FUNCTION
False False
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(3) Disable
(a) When [Disable] is selected for [Trigger 1] or [Trigger 2]
Another trigger is regarded as a trigger condition.
Point
When [Disable] is selected, the job can be activated by an "instruction of job
execution" of the XML processing function.
Section 6.2 XML Processing Function
1
(4) Time specification startup
OVERVIEW
(a) When the specified date, time and day of the week match the actual date, time
and day of the week, the condition changes from false to true, resulting in job
startup.
2
(b) When [Time specification startup] is selected, the date, time, and day of the week
must be set.
CONFIGURATION
SYSTEM
Figure 7.36 [Time specification startup]
3
1) Year, Month, Day, Hour, and Minute
SPECIFICATIONS
Directly enter the date and time.
Matching with the actual date and time is not checked for any field that remains
blank.
PROCEDURE TO
SETTINGS AND
Month 1 to 12
OPERATION
Day 1 to 31
Hour 0 to 23
Minute 0 to 59
2) Day:
5
Specify a day of the week.
INSTALLATION AND
UNINSTALLATION
Check the checkbox of the day to be specified.
If no box is checked, it means "every day".
(Example) The following shows that the job is to be activated at 17:30 on
Monday through Friday.
6
FUNCTIONS
Figure 7.37 [Time specification startup] setting example 1
(Example) The following shows that the job is to be activated at 9:00 on the 1st
day of every month.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
Point
If [Startup logging] is selected, each job startup can be confirmed with the time to
8
the second in the startup log.
DB CONNECTION
The startup log can be checked from [Online] - [View working log].
SETTING TOOL
SERVICE AND
Section 7.12.5 Checking the working log of the MES interface module
(b) When [Specified time period startup] is selected, set the cycle.
(Range: 1 to 32767 seconds)
(Example)
The following shows that the job is activated at 60-second intervals for an hour
from 12:00 to 13:00 every day.
Figure 7.40 Example of setting combination of [Time specification startup] and [Specified time period
startup]
1
(6) Value monitoring startup
OVERVIEW
(a) The actual tag component value is compared with the condition value (tag
component value or constant value) at every sampling times, and the job is
activated when the condition changes from false to true.
Even if the trigger condition becomes true temporarily between samplings, the job 2
is not activated unless it is true at time of sampling.
CONFIGURATION
SYSTEM
Startup point
Startup point
Condition value
3
Not activated here.
SPECIFICATIONS
Tag component value
PROCEDURE TO
SETTINGS AND
OPERATION
Sampling interval
Figure 7.41 Job startup points when [Value monitoring startup] is selected
(b) When [Value monitoring startup] is selected, specify conditions for comparison.
5
INSTALLATION AND
UNINSTALLATION
Figure 7.42 [Value monitoring startup]
1) Tag, Component
Select a tag component to be compared with.
2) Condition 6
Select a condition for comparison.
Table 7.45 Selection items for [Condition]
Item Description FUNCTIONS
The tag component value is equal to the condition value.
The tag component value is not equal to the condition value.
The tag component value is equal to or greater than the condition value.
(Not selectable when [Data type] of the tag component is [Bit] or [String]) 7
CONFIGURATION TOOL
(Not selectable when [Data type] of the tag component is [Bit] or [String])
The tag component value is equal to or smaller than the condition value.
(Not selectable when [Data type] of the tag component is [Bit] or [String])
3) Tag/Type 8
Select a tag or constant that is used as a condition for comparison.
DB CONNECTION
4) Component
SETTING TOOL
SERVICE AND
(Example)
The following shows that the job is activated when the value of the tag
component (Process 1, Temperature) reaches 45 or higher.
(Example)
To activate the job repeatedly while the condition of [Value monitoring startup]
is met, Make settings as follows:
As the condition alternates between true and false as shown below, job startup
can be repeated while the [Value monitoring startup] condition is met.
True
Sampling interval
False
True
False
Fixed cycle
Combined by AND
True
False
Figure 7.44 Job startup points when [Value monitoring startup] and [Specified time period startup] are
combined
1
(8) Handshake operation
OVERVIEW
(a) The job is activated when [Handshake startup] of the PLC CPU turns ON.
Upon completion of the job execution, [Completion notification] of the PLC CPU
turns ON.
[Handshake operation] is a startup method by which completion of job execution 2
can be notified to a PLC CPU.
CONFIGURATION
Sampling interval
SYSTEM
<PLC CPU operation>
Handshake operation started
ON
[Handshake startup] 3
OFF
SPECIFICATIONS
ON
[Completion notification]
OFF
Handshake operation completed
Device data 4
<MES interface module>
PROCEDURE TO
SETTINGS AND
OPERATION
Job operation
Data
5
Figure 7.45 [Handshake operation]
INSTALLATION AND
UNINSTALLATION
1 When [Handshake startup] turns ON in the sequence program, the MES interface
module collects tag data and executes the job.
2 Upon completion of the job execution, the MES interface module turns ON
[Completion notification].*1
6
3 After confirming that [Completion notification] is ON, turn OFF [Handshake
startup] in the sequence program.
4 When [Handshake startup] turns OFF, the MES interface module turns OFF FUNCTIONS
5 After confirming the completion of the handshake operation, the next job is 7
executed.
CONFIGURATION TOOL
MES INTERFACE
*1 If an error occurs during job execution, [Completion notification] does not turn ON.
FUNCTION
To detect such an error, enable [Notify errors (job cancellation) that occur during job execution].
Section 7.10.5 Setting items for job cancellation
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
A tag component of [Completion notification] can be selected from a list of the
tags that are set to data write enabled.
Tags set to data-write-disabled are not displayed.
1
(c) Program example
1) Devices used in the program
OVERVIEW
Table 7.48 Devices used in the program
Device name Device Application
MES interface module Input X5 Information linkage status
2
External input (command) X100 Processing request
CONFIGURATION
M0 In-process
M100 Handshake startup
Internal relay
SYSTEM
M200 Completion notification Specify at [Job settings].
M201 Job cancellation notification
2) Program example
3
The following is a program example in which a job is executed when an
SPECIFICATIONS
execution request (X100) from the outside turns ON.
PROCEDURE TO
SETTINGS AND
For XML processing
OPERATION
Send data generation
INSTALLATION AND
UNINSTALLATION
Receive data processing
Processing for normal
job execution
Error handling
6
Processing for failed
job execution
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
3) Timing charts
Timing charts for the program example in 2) are shown below.
(When the job is executed normally)
Job execution
1
7.10.3 Setting items in Program execution
OVERVIEW
Configure the settings for the program execution function.
For the program execution function, refer to the following:
Section 6.1.8 Program execution function
CONFIGURATION
Set a program to be performed before execution of the first action of the job.
• After actions:
SYSTEM
Set a program to be performed after execution of the last action of the job.
SPECIFICATIONS
Figure 7.50 [Program execution]
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Table 7.49 Setting items when selecting [Program execution settings (before action execution)] or
[Program execution settings (after action execution)]
Item Description
Execute program before Set whether or not to enable program execution before or after execution
(after) action of actions.
Program execution
Select an application server to be accessed.
destination
Enter a command line for the program that is executed on the application
Command line
server computer. (Up to 127 characters)
Check return value Set whether to check the return value or not.
Wait for execution Set whether or not to wait for execution completion of the program before
completion executing the next processing.
(b) When [Execute program before action] or [Execute program after action] is
enabled, make the setting described in (2) and subsequent sections.
1
(4) Check return value
OVERVIEW
(a) Set whether to check the return value or not.
When the [Check return value] box is checked, the return value (End code) of the
executed program is checked.
If no return value is returned within the [Timeout] time set in DB Connection 2
Service Setting Tool, a timeout error is detected and the job execution is canceled.
CONFIGURATION
For [Timeout], refer to the following:
Section 8.5 Setting Items of DB Connection Service Setting Tool
SYSTEM
(b) When [Check return value] is selected, set the following items.
1) Normal return value (Default: 0)
Set a normal return value.
3
2) Write the value into the tag when the value is faulty
SPECIFICATIONS
When the [Write the value into the tag when the value is faulty] box is checked,
if the return value is not normal, a value is assigned to the specified tag
component.
Set a tag component to which a value is assigned when this is selected.
• Tag, Component 4
Select a tag component to which a value is assigned.
PROCEDURE TO
• Substitute value
SETTINGS AND
OPERATION
Directly enter a substitute value.
The following lists values that can be entered as a substitute value.
INSTALLATION AND
UNINSTALLATION
Bit ON/OFF is selectable.
Up to 16 characters
Single-precision integer • Signed decimal notation
Double-precision integer (Example: -521.98)
Floating-point data • Signed exponential notation
(Example: -5.2198E03) 6
Up to 32 characters
For characters that can be used for character strings, refer to the
Character string following:
Appendix 1.3 Characters available for character string constants, FUNCTIONS
etc.
Point 7
CONFIGURATION TOOL
A tag component set under [Write the value into the tag when the value is faulty]
can be selected from a list of the tags that are set to data-write-enabled.
MES INTERFACE
3) Do not execute job when the value is faulty ([Program execution settings
(before action execution)] only) 8
When the [Do not execute job when the value is faulty] box is checked, if the
return value is faulty, the job execution is canceled.
DB CONNECTION
SETTING TOOL
SERVICE AND
1
7.10.4 Setting items in DB Buffering
OVERVIEW
Set whether to utilize the DB buffering function or not.
For the DB buffering function setting, refer to the following:
Section 6.1.9 DB buffering function
2
CONFIGURATION
Figure 7.53 [DB Buffering]
SYSTEM
Table 7.51 Setting items when selecting [DB Buffering]
Item Description
Enable DB buffering Set whether to enable the DB buffering or not.
3
Set whether or not to automatically resend data after recovery.
SPECIFICATIONS
When the [Automatically resend at time of restoration] box is checked,
Automatically resend at
resend processing is automatically performed after recovery.
time of restoration
When the [Automatically resend at time of restoration] box is not checked,
resend processing is manually performed after recovery.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Set whether to enable or disable notification of errors (job cancellation) that occur during
job execution.
Job execution is canceled when access to the database fails or when type mismatch is
found.
• Section 6.1.10 (2) When an error occurs in job execution
• Section 7.15 (4) Type mismatch
Figure 7.54 Setting example of [Notify errors (job cancellation) that occur during job execution]
(1) Notify errors (job cancellation) that occur during job execution
(a) Set whether to enable or disable notification of errors (job cancellation) that occur
during job execution.
When [Notify errors (job cancellation) that occur during job execution] box is
checked, if job execution is canceled, a value is assigned to the specified tag
component.
(b) Set a tag component to which the value is assigned when this is selected.
1) Tag, Component
Select a tag component to which a value is assigned.
2) Substitute value
Directly enter a substitute value.
The following lists values that can be entered as a substitute value.
Point
A tag component of [Notify errors (job cancellation) that occur during job
execution] can be selected from a list of the tags that are set to data-write-
enabled.
Tags set to data-write-disabled are not displayed.
1
7.11 Job Setting - Actions
OVERVIEW
Set actions of [Job settings].
There are two types of actions: [Communication action] for communicating with a
database and [Operation action] for operating tag component values.
2
(Adding an action)
• Select [Communication action] or [Operation action] in the combo box next to the
CONFIGURATION
Add button, and click the Add button.
SYSTEM
• The [Communication action] or [Operation action] dialog box is displayed.
Make the setting referring to the following: 3
• Section 7.11.1 Setting items in Communication action
• Section 7.11.2 Setting items in Operation action
SPECIFICATIONS
(Modifying an action)
• Select an action to be modified in [Action list], and click the Edit button.
4
• The [Communication action] or [Operation action] dialog box is displayed.
Make the setting referring to the following:
PROCEDURE TO
SETTINGS AND
• Section 7.11.1 Setting items in Communication action
OPERATION
• Section 7.11.2 Setting items in Operation action
(Deleting an action)
• Select an action to be deleted in [Action list], and click the Delete button. 5
INSTALLATION AND
UNINSTALLATION
(Copying an action)
• Select an action to be copied in [Action list], choose [Replicate the selected action]
from the combo box next to the Add button, and click the Add button.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Select [Replicate actions of other jobs] in the combo box next to the Add button,
and click the Add button.
5 Actions of the job selected in 4 are listed in [Source Actions]. Select an action to
be copied. (Multiple selection is available.)
6 Clicking the > button displays the action(s) selected in 5 in [Selected Actions to
replicate].
Table 7.53 Button operations in the [Replicate Actions of other Jobs] dialog box
Item Description
Puts the action(s) selected in [Source Actions] into [Selected Actions
> button to replicate].
Puts all of the actions in [Source Actions] into [Selected Actions to
>> button replicate].
Deletes the action(s) selected in [Selected Actions to replicate] from
< button the box.
Deletes all of the actions in [Selected Actions to replicate] from the
<< button box.
Point
Up to 10 actions can be set for one job.
OVERVIEW
When more than one action are set, they are executed in order, starting from the
top.
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Figure 7.56 [Action list]
PROCEDURE TO
Summary Displays the description of the action registered.
SETTINGS AND
OPERATION
Selecting an action in [Action list] and clicking the button reverses the
button order between the selected one and the one immediately above it.
The button cannot be clicked on the first action.
Selecting an action in [Action list] and clicking the button reverses the 5
button order between the selected one and the one immediately below it.
INSTALLATION AND
UNINSTALLATION
The button cannot be clicked on the last action.
(1) Type
The types of the existing actions are displayed. 6
Table 7.55 Displays in [Type]
Item Description
Select [Select] of [Communication action] FUNCTIONS
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(2) Summary
Details of the existing actions are displayed.
Display format*1
• Select: {DB-Tag link setting} = {Field name Tag component/constant value}
• Update/Insert: {DB-Tag link setting} = {Field name Tag component/constant value}
1
7.11.1 Setting items in Communication action
OVERVIEW
Configure the settings for communications with a database.
CONFIGURATION
For the operation for adding or modifying an action, refer to the following:
SYSTEM
Section 7.11 Job Setting - Actions
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.57 [Communication action] dialog box
FUNCTIONS
Database Select a database to be accessed.
Table name Set a table name of the database to be accessed.
Set assignments between field values and tag component values (or
DB-tag link settings
constant values).
Select/Update conditions
When [Select] or [Update] is selected for [Action type], set conditions for 7
CONFIGURATION TOOL
Exception processing: When [Select] or is selected for [Action type], set processing for the case
Multiple applicable records where there are more than one record to be selected.
The SQL text generated by the currently editing [Communication action] is
Generated SQL text
displayed.
8
No. of fields in project The total number of fields in the project is displayed.
SETTING TOOL
SERVICE AND
Selecting a row and clicking the button reverses the order between the
button selected row and the one immediately below it.
The button cannot be clicked on the last row.
Delete row button Selecting a row and clicking the Delete row button deletes the row.
• All of the tag set in [Device tag settings] are inserted into [Tag] and
[Component].
• Select a row into which data are inserted and choose a tag in a list box
Insert a whole tag next to the Insert a whole tag button. Clicking the
button Insert a whole tag button inserts all of the tag components into
contiguous rows starting from the selected one.
• The existing data set in the rows starting from the selected one are
moved down.
Point
(1) Up to 8192 fields can be set in [DB-tag link settings] and [Select/Update
conditions] for each project.
(The setting can be checked on the status bar of [Job settings] or in the
[Communication action] dialog box.)
(2) Entry of [Component]
When data are entered in [Component] by [Insert a whole tag] or with the
[Field name] space blank, the data are copied to the [Field name] space.
(Characters not allowed for [Field name] are not entered.)
Because of this, setting the same name to each of the field name and tag
component name is useful.
1
(1) Action type
Select an action type.
OVERVIEW
Table 7.61 Selection items for [Action type]
Item Description
Select
Substitutes a field value of the record, whose conditions are met, for 2
a substitute value (tag component value/variable).
Substitutes a substitute value (tag component value/variable) for a
CONFIGURATION
Update
field value of the record whose conditions are met.
Inserts an insert value (tag component value/constant value/variable)
SYSTEM
Insert
to a field value of a record.
(2) Database 3
Select a database to be accessed.
SPECIFICATIONS
(3) Table name
Set a table name of the database to be accessed.
For characters that can be used for table names, refer to the following:
Appendix 1.4 4
(4) DB-tag link settings
PROCEDURE TO
SETTINGS AND
Set assignments between field values and tag component values (or constant
OPERATION
values).
Point 5
Up to 256 rows can be set in [DB-tag link settings] for each communication action.
INSTALLATION AND
UNINSTALLATION
(a) When [Select] is selected for [Action type]
[Select] substitutes a field value of the record, whose conditions are met, for a
substitute value (tag component value/variable).
6
Set conditions of the record to be selected in [Select/Update conditions].
(5) Select/Update conditions
1) Field name (Up to 16 characters)
FUNCTIONS
Set a field name for the field value to be selected.
For characters that can be used for field names, refer to the following:
Appendix 1.4
7
2) Tag
CONFIGURATION TOOL
3) Component
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
A tag component of [DB-tag link settings] in [Select] can be selected from a list of
the tags that are set to data-write-enabled.
Tags set to data-write-disabled are not displayed.
536 5 32 1
Tag component
Process1.Work_No Process1.RECIPE1 Process1.RECIPE2 Process1.RECIPE3
536 5 32 1
Figure 7.59 Operation example of [Select]
1
(b) When [Update] is selected for [Action type]*1
[Update] substitutes a substitute value (tag component value/variable) for a field
OVERVIEW
value of the record whose conditions are met.
Set conditions of the record to be updated in [Select/Update conditions].
(5) Select/Update conditions
2
1) Field name (Up to 16 characters)
Set a field name for the field value to be updated.
CONFIGURATION
For characters that can be used for field names, refer to the following:
Appendix 1.4
SYSTEM
2) Tag
Select a tag, constant, or variable which is substituted.
3
3) Component
Select or directly enter a Component value or a variable that is to be
SPECIFICATIONS
substituted.
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.60 Setting example of [Update]
6
FUNCTIONS
Database: DB1, Table name: CompletionReport
Work_No Completed Rejected Date
: : : :
536 496 32 2005.07.01 15:12:00 7
CONFIGURATION TOOL
MES INTERFACE
Tag component
Process1.Work_No Process1.Complete Process1.Rejected Constant: Server time
536 496 32 2005.07.01 15:12:00 8
Figure 7.61 Operation example of [Update]
DB CONNECTION
Tag component
Constant: Unit time Constant: 1 Process1.Work_No Process1.Parameter
2005.07.01 15:12:00 1 536 8
1
(d) About tag components
Tag components can be used as substitute/insert values for [Select], [Update] or
OVERVIEW
[Insert], or as condition values of [Select/Update conditions].
The following table lists data types of tag components and those of assignable
fields.
If the data type of a tag component does not match the one of its substitution 2
target field, an error occurs, resulting in cancellation of job execution.
CONFIGURATION
SYSTEM
Point
The data type of a tag component will change through operation processing of a
job. 3
Section 7.15 (4) Type mismatch
SPECIFICATIONS
Table 7.62 Data types of tag components and those of assignable fields
Data type of assignable field
PROCEDURE TO
Oracle 10g
SETTINGS AND
OPERATION
Yes/No type
bit
Byte type
int
Integer type
smallint
(Numeric type: Integer) Long Integer type
Bit type
NUMBER tinyint
float
Single type 5
CHAR Double type
Single-precision type
VARCHAR real
INSTALLATION AND
Double-precision type AutoNumber type
UNINSTALLATION
char
Currency type
varchar
Text type *1
text*1
Memo type *1
float
Single type
(Numeric type: Floating NUMBER real
Double type 6
point) CHAR char *1
Text type
Floating-point type VARCHAR varchar
Memo type *1
text*1
char FUNCTIONS
CHAR Text type
Character string varchar
VARCHAR Memo type
text*1
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Table 7.63 Constant types and the data types of assignable fields
Oracle 8i
Constant type Values that can be entered in [Component] SQL Server 2000 Access 2000
Oracle 9i
MSDE 2000 Access 2003
Oracle 10g
Yes/No type
bit *1 Byte type
Up to 16 characters
int *1 Integer type
• Signed decimal notation
smallint *1 Long Integer type
[Number] (Example: -521.98) NUMBER
Single type
• Signed exponential notation tinyint *1
Double type
(Example: -5.2198E03) float
AutoNumber type
real
Currency type
Up to 32 characters
char
For characters that can be used for character CHAR Text type
[String] varchar
strings, refer to the following: VARCHAR Memo type
text*3
Appendix 1.3
• When using the date and time of the
database server:
[Server time] datetime
[Date] *2 DATE Date/Time type
• When using the date and time of the MES smalldatetime
interface module:
[Module time]
Up to 32 characters
For characters that can be used for character
strings, refer to the following:
Appendix 1.3
Specify the date and time of the MES interface
module in the following format.
Year (4 digits): YYYY char
CHAR Text type
[Date String] Year (2 digits): YY varchar
VARCHAR Memo type
Month (2 digits): MM text*3
Day (2 digits): DD
Hour (2 digits): hh
Minute (2 digits): mm
Second (2 digits): ss
Example:"YYYY-MM-DD hh:mm:ss"
"2005-07-01 15:12:00"
1
(f) About variables
Variables can be used as substitute/insert values for [Select], [Update] or [Insert],
OVERVIEW
or as condition values of [Select/Update conditions].
The following table lists data types of variables and those of assignable fields.
If the type of a variable does not match the data type of its substitution target field,
an error occurs, resulting in cancellation of job execution. 2
CONFIGURATION
Point
SYSTEM
(1) Up to 64 variables can be set for one job.
(2) A variable is valid only in a single job execution and is not held.
(3) The initial variable value before substitution processing is the numerical value 3
of zero.
(4) The data type of a variable will change through operation processing of a job.
SPECIFICATIONS
Section 7.15 (4) Type mismatch
PROCEDURE TO
Values (variable names) that can be Oracle 8i
SETTINGS AND
Data type of variable SQL Server 2000 Access 2000
entered in [Component]
OPERATION
Oracle 9i
MSDE 2000 Access 2003
Oracle 10g
Yes/No type
bit
Byte type
int
Integer type
5
smallint
(Numeric type: Integer) Long Integer type
INSTALLATION AND
NUMBER tinyint
UNINSTALLATION
Bit type Single type
CHAR float
Single-precision type Double type
VARCHAR real
Double-precision type AutoNumber type
char
Up to 16 characters Currency type
varchar
For characters that can be used for Text type *1
text*1
variables, refer to the following: Memo type *1 6
Appendix 1.2 float
Single type
(Numeric type: Floating NUMBER real
Double type
point) CHAR char
Text type *1 FUNCTIONS
Floating-point type VARCHAR varchar
Memo type *1
text*1
char
CHAR Text type
Character string
VARCHAR
varchar
Memo type
7
CONFIGURATION TOOL
text*1
MES INTERFACE
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) Up to 8 rows can be set for one communication action in [Select/Update
conditions].
(2) If there is no record to be selected or updated, exception processing is
executed.
(6) Exception processing: No applicable record
(3) When there are multiple records to be selected or updated, exception
processing is executed.
(7) Exception processing: Multiple applicable records
(b) Condition
Select a condition for comparison.
(c) Tag
Select a tag or constant that is used as a condition for comparison.
When [Update] is selected for [Action type], [Variable] can be also selected.
(d) Component
Select or directly enter a component/constant value that is used as a condition for
comparison.
If [Variable] is selected for [Tag], select or directly enter a variable.
Point
For tag components, constants or variables, refer to the following:
• (4) (d) About tag components
• (4) (e) About constants
• (4) (f) About variables
1
(6) Exception processing: No applicable record
When [Select] or [Update] is selected for [Action type], set processing for the case
OVERVIEW
where there is no record to be selected or updated.
CONFIGURATION
Figure 7.64 Setting example of [Exception processing: No applicable record]
SYSTEM
(a) Send notification of this exception
When the [Send notification of this exception] box is checked, if there is no record 3
to be selected or updated, assign a value to the specified tag component.
When [Send notification of this exception] is selected, set a tag component to
SPECIFICATIONS
which the value is assigned.
1) Tag, Component
Select a tag component to which a value is assigned.
2) Substitute value 4
Directly enter a substitute value.
The following lists values that can be entered as a substitute value.
PROCEDURE TO
SETTINGS AND
OPERATION
Table 7.66 Values that can be entered as a substitute value
Data type of tag
Values that can be entered as a substitute value
component
Bit type ON/OFF is selectable. 5
Up to 16 characters
INSTALLATION AND
Single-precision integer • Signed decimal notation
UNINSTALLATION
Double-precision integer (Example: -521.98)
Floating-point type • Signed exponential notation
(Example: -5.2198E03)
Up to 32 characters
Character string
For characters that can be used for character strings, refer to the
following:
6
Appendix 1.3
FUNCTIONS
Point
A tag component of [Send notification of this exception] can be selected from a list
of the tags that are set to data-write-enabled.
Tags set to data-write-disabled are not displayed. 7
CONFIGURATION TOOL
MES INTERFACE
When the [Forcibly stop job] box is checked, after execution of exception
processing described in the above (a), the job is forcibly terminated without
executing remaining actions.
At this time, substitute/insert values before exception processing execution are
8
committed, and they are written to relevant tag components.
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) When a job is forcibly terminated due to exception processing, an error
occurred during job execution (job cancellation) is not notified.
Section 7.10.5 Setting items for job cancellation
(2) If [Enable DB buffering] is selected for a job, its exception processing setting
is disabled.
Section 7.10.4 Setting items in DB Buffering
Point
When [Update] is selected for [Action type], if multiple records to be updated exist,
all of them are updated.
1
(b) Send notification of this exception
When the [Send notification of this exception] box is checked, if multiple records
OVERVIEW
to be selected or updated exist, assign a value to the specified tag component.
When [Send notification of this exception] is selected, set a tag component to
which the value is assigned.
1) Tag, Component
2
Select a tag component to which a value is assigned.
CONFIGURATION
2) Substitute value
Directly enter a substitute value.
SYSTEM
The following lists values that can be entered as a substitute value.
SPECIFICATIONS
Bit type ON/OFF is selectable.
Up to 16 characters
Single-precision integer • Signed decimal notation
Double-precision integer (Example: -521.98)
Floating-point type • Signed exponential notation
(Example: -5.2198E03) 4
Up to 32 characters
For characters that can be used for character strings, refer to the
PROCEDURE TO
SETTINGS AND
Character string
following:
OPERATION
Appendix 1.3
5
Point
INSTALLATION AND
A tag component of [Send notification of this exception] can be selected from a list
UNINSTALLATION
of the tags that are set to data-write-enabled.
Tags set to data-write-disabled are not displayed.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
(1) When a job is forcibly terminated due to exception processing, an error
occurred during job execution (job cancellation) is not notified.
Section 7.10.5 Setting items for job cancellation
(2) If [Enable DB buffering] is selected for a job, its exception processing setting
is disabled.
Section 7.10.4 Setting items in DB Buffering
1
7.11.2 Setting items in Operation action
OVERVIEW
Configure the settings for operation of tag component values.
1 Performing the operation for adding or modifying an action displays the [Operation
action] dialog box.
2
Make the setting referring to the following descriptions.
Clicking the OK button after setting adds or modifies the action.
CONFIGURATION
For the operation for adding or modifying an action, refer to the following:
SYSTEM
Section 7.11 Job Setting - Actions
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.66 [Operation action] dialog box
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Selecting a row and clicking the button reverses the order between the
button selected row and the one immediately below it.
The button cannot be clicked on the last row.
Delete row button Selecting a row and clicking the Delete row button deletes the row.
Point
(1) Up to 20 dyadic operations can be set for one operation action.
Operation actions are executed in order, from the top to the bottom.
(2) A tag component of the substitution target can be selected from a list of the
tags that are set to data-write-enabled.
Tags set to data-write-disabled are not displayed.
1
(1) About constants
Constants can be used for [Operation tag] and [Component] that are operands.
OVERVIEW
The following shows the constant types and values that can be entered in the
[Component] column.
2
Table 7.70 Constant types and values available for [Component]
CONFIGURATION
Constant type Values that can be entered in [Component]
Up to 16 characters
SYSTEM
[Number] • Signed decimal notation (Example: -521.98)
• Signed exponential notation (Example: -5.2198E03)
Up to 32 characters
[String] For characters that can be used for character strings, refer to the following: 3
Appendix 1.3
SPECIFICATIONS
Up to 32 characters
For characters that can be used for character strings, refer to the following:
Appendix 1.3
Specify the date and time of the MES interface module in the following
format.
Year (4 digits): YYYY 4
[Date String] Year (2 digits): YY
Month (2 digits): MM
PROCEDURE TO
SETTINGS AND
Day (2 digits): DD
OPERATION
Hour (2 digits): hh
Minute (2 digits): mm
Second (2 digits): ss
Example: "YYYY-MM-DD hh:mm:ss" "2005-07-01 15:12:00"
5
INSTALLATION AND
UNINSTALLATION
(2) About variables
Variables can be used for [Component] of [Substitution tag] or [Component] of
[Operation tag].
By using a variable, a value computed in [Operation action] can be assigned to a
database, or to a tag component (In the latter case, operation is performed based on
6
a value extracted from the database).
The following table shows the variable types and values that can be entered in the
[Component] column. FUNCTIONS
Point
(1) Up to 64 variables can be set for one job. 7
CONFIGURATION TOOL
(2) A variable is valid only in a single job execution and is not held.
(3) The initial variable value before substitution processing is the numerical value
MES INTERFACE
of zero.
FUNCTION
(4) The data type of a variable will change through operation processing of a job.
Section 7.15 (4) Type mismatch
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
7.12 Online
OVERVIEW
Online operations can be performed to the MES interface module connected to the
network.
CONFIGURATION
Set the target MES interface module.
Specify the IP address, user name and password that were set in [System setting].
SYSTEM
Section 7.6 System Setting
SPECIFICATIONS
Set the following items and click the OK button.
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 7.68 [Transfer setup] dialog box
5
Table 7.72 Setting items in the [Transfer setup] dialog box
INSTALLATION AND
UNINSTALLATION
Item Description
Specify the IP address of the MES interface module in decimal notation.
IP address
(Example) 192.168.3.3
Specify a user name. (1 to 20 characters)
User name Case-sensitive.
(Example) QJ71MES96 6
Specify a password. (8 to 14 characters)
Password Case-sensitive.
(Example) MITSUBISHI
Checks if the device of the specified IP address is connectable to the MES FUNCTIONS
Connection test
interface module.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
7.12 Online
7.12.1 Setting the target MES interface module
7 - 89
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Write the MES interface function settings (project) to the MES interface module.
• Click (Write).
• Select [Online] [Write] from the menu.
7 - 90 7.12 Online
7.12.2 Writing the MES interface function settings
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Point
(1) Setting data are refreshed to the MES interface module when executing
OVERVIEW
[Update settings], turning OFF the power and then ON, or resetting the PLC
CPU.
For [Update settings], refer to the following: 2
Section 7.13.2 (3) Update settings
(2) The [System setting] data are not updated by [Update settings].
CONFIGURATION
They are refreshed to the MES interface module when the power is turned
OFF and then ON, or when the PLC CPU is reset.
SYSTEM
3
SPECIFICATIONS
Figure 7.70 Confirmation dialog box displayed after writing [System setting] changes
(3) After writing the data, executing [Update settings], turning the power OFF and
then ON, or resetting the PLC CPU clears all the DB buffer.
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
7.12 Online
7.12.2 Writing the MES interface function settings
7 - 91
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Read the MES interface function settings (project) from the MES interface module.
• Click (Read).
• Select [Online] [Read] from the menu.
The MES interface function settings in the MES interface module are compared with those
in the currently editing project.
Point
Data of [Project name] and [Comment] in [Project setting] are not verified.
7 - 92 7.12 Online
7.12.3 Reading the MES interface function settings
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
1
7.12.5 Checking the working log of the MES interface module
OVERVIEW
The working log of the MES interface module can be checked.
In [Working log], error log data of the MES interface module and job event log data can be
checked.
CONFIGURATION
2 The [Working log] dialog box is displayed.
Operate it referring to the following descriptions.
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
Figure 7.73 [Working log] dialog box
(a) Error log data of the MES interface module are displayed.
The following explains the display of the Error log.
Item Description
MES INTERFACE
SETTING TOOL
*2 The date and time of an error (information) that occurred before obtaining the clock time from CPU
SERVICE AND
7.12 Online
7.12.5 Checking the working log of the MES interface module
7 - 93
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
1) Icons
Each of icons represents the completion status of a job.
Selecting the job and clicking the View details button displays
the [View details] dialog box.
Selecting the job and clicking the View details button displays
the [View details] dialog box.
2) Date
Displays the date and time on which a job is activated.
3) Job
Displays a job that was activated.
4) Summary
Displays trigger conditions.
7 - 94 7.12 Online
7.12.5 Checking the working log of the MES interface module
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
1
(b) Detailed log
Detailed log data of the jobs, each of which has [Test mode] setting in [Job
OVERVIEW
settings], are displayed.
Section 7.10.1 (5) Test mode
1 Selecting a job of or icon and clicking the View details button displays 2
the [View details] dialog box.
The following explains the display of the [View details] dialog box.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.74 [View details] dialog box
8
DB CONNECTION
SETTING TOOL
SERVICE AND
7.12 Online
7.12.5 Checking the working log of the MES interface module
7 - 95
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
1)
3)
2)
4)
1)
2)
7 - 96 7.12 Online
7.12.5 Checking the working log of the MES interface module
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Point
If a job is canceled, information on how the cancellation has occurred is displayed
OVERVIEW
in the detailed log.
In the case of job cancellation due to failed tag data acquisition, however, the
detailed log information is not displayed. 2
CONFIGURATION
(c) Updating the event log
SYSTEM
1 Clicking the Update button updates the event log.
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
7.12 Online
7.12.5 Checking the working log of the MES interface module
7 - 97
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
Point
In [One-shot execution of a job], settings of [Startup logging] and [DB Buffering]
are not executed.
1 With the edit screen of [Job settings] displayed, perform either of the following:
2 Selecting [One-shot execution] updates the setting and perform one-shot execution
of the job, ignoring the trigger conditions.
For [Update settings], refer to the following:
Section 7.13.2 (3) Update settings
Point
All of job operations running in the MES interface module are temporarily disabled
during one-shot execution.
3 Check the execution result shown in the [View details] dialog box, which is displayed
after the execution.
For the display of the [View details] dialog box, refer to the following:
Section 7.12.5 (2) (b) Detailed log
7 - 98 7.12 Online
7.12.6 Executing a job as a one-shot task
7 MES INTERFACE FUNCTION CONFIGURATION TOOL
1
7.13 Online - Remote operation
OVERVIEW
Perform the remote operation for the MES interface module.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
Figure 7.77 [Remote operation] dialog box
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
The operation status of the MES interface function and the error status of the MES
interface module can be checked.
The following explains the display of [Module status].
The display of [Module status] is updated every 3 seconds.
1
7.13.2 Manipulating the operation status of the MES interface function
OVERVIEW
Manipulate the operation status of the MES interface function.
CONFIGURATION
Figure 7.79 [Operation]
SYSTEM
(1) Stop
1 Selecting the [Stop] radio button and clicking the Execute button stops the 3
operation of the MES interface function.
SPECIFICATIONS
Point
(1) The following operation also stops the operation of the MES interface
function.
• Click (Stop). 4
(2) If some job is being executed, the job is canceled.
PROCEDURE TO
SETTINGS AND
Section 7.10.5 Setting items for job cancellation
OPERATION
(2) Restart
5
1 Selecting the [Restart] radio button and clicking the Execute button restarts the
INSTALLATION AND
operation of the stopped MES interface function.
UNINSTALLATION
Point
The following operation also restarts the operation of the stopped MES interface
function.
6
• Click (Restart).
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 After writing the MES interface function settings, select the [Update settings]
radio button.
Clicking the Execute button restarts the MES interface module and updates the
settings.
For writing the MES interface function settings, refer to the following:
Section 7.12.2 Writing the MES interface function settings
Point
(1) [Update settings] may change the PLC CPU control.
Ensure the safety before executing it.
(2) If [Update settings] is executed before writing the MES interface function
settings (before change), 1) and 2) in the above are performed.
1 When [Error status] is [Continuation error], take corrective actions to remove the
error cause. Then, select the [Clear error] radio button and click the Execute
button. Doing so clears the error status.
• The ERR. LED on the MES interface module turns off.
• The Current error area (buffer memory address: 140 to 145) is cleared.
• The latest error code displayed in [System monitor] of GX Developer is
cleared. ( Section 10.1.3 System monitor)
1
7.13.3 Checking the connection of the previous job execution
OVERVIEW
Connection with the server computer set in [Server service settings], which is made at the
time of the previous job execution, can be checked.
The following explains the display of [Connection result of previous job execution].
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Figure 7.80 [Connection result of previous job execution]
Table 7.81 Items displayed for [Result] of [Connection result at the time of
4
previous job execution]
PROCEDURE TO
Display Description
SETTINGS AND
OPERATION
Normally connected to the server computer at the time of the
Connected
previous job execution.
Not connected to the database server computer. This is displayed
Disconnected when normal connection could not be established at the previous job
execution and thereby the line is disconnected. 5
INSTALLATION AND
UNINSTALLATION
Point
• The display of the connection result is not changed until the next job is executed
to communicate the database server computer.
• The result of the one-shot communication with the database server computer is 6
not reflected.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
The job status changed by this operation returns to the status set in [Job settings]
by the operation of [Update settings], turning the power ON and then OFF, or
resetting the PLC CPU. For [Update settings], refer to the following:
Section 7.13.2 (3) Update settings
1
*1 The startup log can be checked from [Online] - [View working log].
Section 7.12.5 Checking the working log of the MES interface module
*2 [Enable detailed logging] is selectable only when [Test mode] is selected in [Job settings].
OVERVIEW
Section 7.10.1 Setting items in Job setting
When [Enable detailed logging] is checked, [Enable startup logging] is also selected.
The detailed log can be checked from [Online] - [View working log] - [View details].
Section 7.12.5 Checking the working log of the MES interface module 2
3 Clicking the Execute button changes the job status.
CONFIGURATION
4
7.13.5 Checking the operation status of DB buffering
SYSTEM
The current and past maximum values of No. of DB buffering data and buffer utilization
can be viewed. 3
SPECIFICATIONS
Figure 7.82 [DB buffering status] 4
Table 7.83 Items displayed in [DB buffering status]
PROCEDURE TO
SETTINGS AND
Description
OPERATION
Display
Now Maximum*2
Displays the current number of Displays a past maximum value in the
No. of bufferings *3 buffered data (jobs that have been number of buffered data (jobs that
buffered). have been buffered). 5
Displays a past maximum value in the
Buffer utilization *1 *3 Displays the current buffer utilization.
INSTALLATION AND
buffer utilization.
UNINSTALLATION
*1 The buffer utilization is stored as an integer. (Digits after decimal point is truncated.)
Utilizations are compared between the auto-resend and manual resend areas and data of a
greater one is displayed.
*2 The maximum values are cleared when the MES interface module power is turned OFF.
When power is reapplied, No. of bufferings and Buffer utilization at the time are displayed as
maximum values. 6
*3 The space is displayed as blank during data acquisition or in the case of failure of data acquisition.
Point FUNCTIONS
When the buffer utilization is high, ensure the capacity of the CompactFlash card.
Section 7.6.4 (7) DB buffering capacity (Range: 16MB to 512MB, Default:
64MB)
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1 Selecting the [Resend] radio button and clicking the Execute button executes the
resend processing of the SQL texts stored in the DB buffer, when manual resend
is selected for the jobs of the SQL texts.
If the resend processing fails, the error code, 0B83h, is output to the error log.
1 Selecting the [Clear] radio button and clicking the Execute button clears all of the
SQL texts that are stored in the DB buffer.
Point
If clear processing is executed during resend processing, error code 0B44h may
be output.
Section 10.2 Error Code List
If this error occurs, execute the Clear error and turn off the ERR. LED.
Section 7.13.2 (4) Clear error
1
7.13.7 Checking the operation status of the trigger buffering
OVERVIEW
The current and past maximum values of No. of trigger buffering data can be viewed.
CONFIGURATION
Figure 7.84 [Trigger buffering status]
SYSTEM
Table 7.84 Item displayed in [Trigger buffering status]
Description 3
Display
Now Maximum
SPECIFICATIONS
Displays a past maximum value in the
Displays the current number of
No. of bufferings *1 number of buffering data (buffered
buffering data (buffered jobs).
jobs).
*1 The space is displayed as blank during data acquisition or in the case of failure of data acquisition.
Point 4
When the number of buffering data is large, check the number of jobs and the
PROCEDURE TO
SETTINGS AND
trigger condition setting.
OPERATION
1
7.13.8 Formatting the CompactFlash card
5
Format the CompactFlash card installed in the MES interface module.
INSTALLATION AND
UNINSTALLATION
6
Figure 7.85 [CompactFlash card operation]
1 Check the [Format] box and click the Execute button. FUNCTIONS
When the CompactFlash card is formatted after the system operation, the MES
MES INTERFACE
Read out the MES interface function settings to MES Interface Function
Configuration Tool before formatting the card.
Section 7.12.3 Reading the MES interface function settings
8
DB CONNECTION
SETTING TOOL
SERVICE AND
7.14 Help
The product information of the MES Interface Function Configuration Tool and the
Connection to MELFANSweb screen can be displayed.
Point
The following operation also displays the product information of the MES interface
Function Configuration Tool.
2 The [Product information] dialog box of the MES Interface Function Configuration
Tool is displayed.
1
7.15 Precautions
OVERVIEW
This section provides precautions for using MES Interface Function Configuration Tool.
CONFIGURATION
As the error dialog box appears, identify the location, stop using it for another item,
and then delete the item.
SYSTEM
3
SPECIFICATIONS
Figure 7.87 Error dialog box
PROCEDURE TO
if the change may generate illegal character strings of the devices for the tag
SETTINGS AND
OPERATION
components for which [Access target CPU settings] is selected.
(3) Changing the [Prohibit data writing] setting in [Device tag settings]
The enabled data write setting cannot be changed to "Prohibit" if the tag is used for 5
the setting items provided for tag writing.
INSTALLATION AND
• [Completion notification] of [Handshake operation], substitution tags of [Select] in
UNINSTALLATION
[Communication action], etc.
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
A value is assigned after being converted to the type for the tag component.
For example, when the tag component, Data1, is double-precision type data,
the type of the variable, Temp1, is converted from floating-point to
double-precision first, and then the converted value is assigned.
Figure 7.88 Type conversion of tag components and variables
If a type that cannot be converted is assigned to a tag component, the job
execution is canceled.
At this time, "Type conversion to tag component error" is displayed in the error log.
1
(c) Operation between character string type values
1) + operator
OVERVIEW
Combines character strings.
Example: "ABCDEFG" + "HIJ" "ABCDEFGHIJ"
2) Other operators 2
When both of the operands can be converted to numerical values, the
operation is performed using the numerical values.
CONFIGURATION
Both or either of them cannot be converted to numerical values, the job
execution is canceled.
SYSTEM
At this time, "Operation error" is displayed in the error log.
Example: "312" × "4" "1248"
"31AH" × "4" Cancellation of job execution
3
3) Operation between a character string type value and a numerical type value
SPECIFICATIONS
Same as the case of the operation between character string type values
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
This section explains DB Connection Service and DB Connection Service Setting Tool.
Installing DB Connection Service on the server computer allows to use the MES interface
function of the MES interface module.
The following shows the functions of the DB Connection Service.
Point
(1) It is necessary to install DB Connection Service on all the database server
computers and application server computers to be accessed from the MES
interface module.
(2) When installing DB Connection Service on a database server computer, the
ODBC setting for the database used must be made beforehand.
Section 8.2 Setting ODBC to the Database
(3) When installing DB Connection Service on an application server computer, an
account for user program execution must be created beforehand.
(4) Changes to the DB Connection Service settings are made with DB
Connection Service Setting Tool.
Section 8.5 Setting Items of DB Connection Service Setting Tool
1
(1) ODBC connection function
The OBDC connection function connects the MES interface module and the ODBC
OVERVIEW
interface for database.
The following shows operation on the database server computer.
2
Database server
Database computer
CONFIGURATION
ODBC
SYSTEM
3
MES interface function DB Connection Service
SPECIFICATIONS
When an When SQL
access text execution
is made is failed
Access
log
SQL
failure
4
log
PROCEDURE TO
SETTINGS AND
Figure 8.1 ODBCconnection function
OPERATION
1 Receives SQL text from the MES interface function on the MES interface module.
2 Accesses the database via ODBC interface and executes the SQL text.
5
3 Sends the SQL text execution results to the MES interface module.
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Application server
Program computer
DB Connection
MES interface function
Service
When an
access
is made
Access
log
1 Receives program execution requests from the MES interface function operating
on the MES interface module.
(3) IP filter function ( Section 8.5 (3) Limit IP addresses permit to connect)
The IP filter function can specify the IP address of the MES interface module that can
connect to the DB Connection Service to ensure the security of the server computer.
Batch specification using the mask bit length specification is possible.
If the IP filter function is not used, any MES interface module can connect to the DB
Connection Service.
1
(4) Log output function
DB Connection Service outputs an access log and an SQL failure log.
OVERVIEW
(a) Access log ( Section 8.5 (4) Output access log)
The communication contents between the MES interface module and DB
Connection Service are output to the access log.
2
For access log specifications, refer to the following.
CONFIGURATION
Section 8.8.1 Access log
SYSTEM
(b) SQL failure log ( Section 8.5 (5) Output SQL failed log)
If data cannot be updated/inserted normally due to no table, etc. at SQL text
execution, the error contents are output to the SQL failure log. 3
For SQL failure log specifications, refer to the following.
Section 8.8.2 SQL failure log
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
When installing DB Connection Service on a database server computer, the ODBC setting
for the database used must be made beforehand.
For ODBC setting, refer to the following.
Manuals and online help for the database software and basic software (OS) used
1
(From the previous page)
OVERVIEW
3 Double clicking [Data Sources (ODBC)] displays
[ODBC Data Source Administrator] dialog box.
Select the <<System DSN >> tag, then click the
Add button.
2
CONFIGURATION
SYSTEM
3
4 The [Create New Data Source] dialog box is
SPECIFICATIONS
displayed, then select [Oracle in OraHome92].
PROCEDURE TO
SETTINGS AND
OPERATION
5 The [Oracle ODBC Driver Configuration] dialog
box is displayed, then set the following.
• [Data source name]: SAMPLEDS 5
• [TNS Service Name]: SAMPLETNS
INSTALLATION AND
UNINSTALLATION
6 Clicking the Connection test button displays the
6
[Oracle ODBC Driver Connect] dialog box. Enter
the user name and password, then click the
FUNCTIONS
OK button.
7
CONFIGURATION TOOL
MES INTERFACE
SETTING TOOL
(End)
(Start)
1
(From the previous page)
OVERVIEW
4 The [Create New Data Source] dialog box is
displayed, then select [SQL Server].
CONFIGURATION
SYSTEM
5 The [Create a New Data Source to SQL Server]
dialog box is displayed, then set the following.
• [Data source name]: SAMPLEDS 3
• [Server name]: SAMPLESRV
SPECIFICATIONS
6 Select the [With SQL Server authentication using 4
a login ID and password entered by the user.]
radio button, then enter [Login ID] and [Password].
PROCEDURE TO
SETTINGS AND
OPERATION
5
INSTALLATION AND
7 In the [ODBC Microsoft SQL Server Setup] dialog
UNINSTALLATION
box, click the [Test Data Source] button to check
that the connection is normal.
FUNCTIONS
8 Click the OK button in the [SQL Server ODBC
Data Source Test] dialog box.
SETTING TOOL
SERVICE AND
(Start)
1
(From the previous page)
OVERVIEW
4 The [Create New Data Source] dialog box is
displayed, then select [Microsoft Access
Driver(*.mdb)].
2
CONFIGURATION
SYSTEM
5 The [ODBC Microsoft Access Setup] dialog box is 3
displayed. Set the following and click the
[Database] selection button.
SPECIFICATIONS
• [Data source name]: SAMPLEDS
4
6 The [Select Database] dialog box is displayed.
PROCEDURE TO
SETTINGS AND
OPERATION
Select the following and click the OK button.
• [Folder]: C \ mes
• [Database Name]: sampledb.mdb
INSTALLATION AND
UNINSTALLATION
7 Click the OK button in the [ODBC Microsoft
Access Setup] dialog box.
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Point
Only one DB Connection Service Setting Tool can be activated.
1
8.4 Screen Structure of DB Connection Service Setting Tool
OVERVIEW
This section explains the screen structure of DB Connection Service Setting Tool.
CONFIGURATION
Menu
Section 8.4.2 Menu configuration
SYSTEM
3
SPECIFICATIONS
4
PROCEDURE TO
SETTINGS AND
OPERATION
Figure 8.3 Screen structure
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
(1) File
(2) Help
1
8.5 Setting Items of DB Connection Service Setting Tool
OVERVIEW
The following shows how to change the DB Connection Service settings.
1 Set the following items, then click the Reflect settings button.
2
2 After updating the settings, check for an error by selecting [Administrative Tools] -
[Event Viewer] in Windows .
CONFIGURATION
3 Section 10.1 Error Codes
SYSTEM
Point
(1) Change the DB Connection Service settings when a job using the DB 3
Connection Service is not operating.
The status is as follows:
SPECIFICATIONS
• The PLC is powered OFF.
• The MES interface function operation is stopped with [Online] - [Remote
operation] of [MES Interface Function Configuration Tool].
Section 7.13.2 Manipulating the operation status of the MES
interface function
4
(2) When reflecting the settings with a job using DB Connection Service is
PROCEDURE TO
running, the execution of the connected job is canceled and a communication
SETTINGS AND
OPERATION
error occurs.
Also, for a job to which [Enable DB buffering] is selected, any SQL text is
buffered in the DB buffer.
5
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
1
(3) Limit IP addresses permit to connect
OVERVIEW
(a) Specify whether or not to set the IP addresses permitted to connect.
By checking the [Limit IP addresses permit to connect] box, connection is only
permitted from the MES interface module with the set IP address.
When not checking the box, connection is permitted from any MES interface 2
module.
CONFIGURATION
Point
SYSTEM
When selecting [Limit IP addresses permit to connect], setting at least one IP
address with connection permission is required and up to 64 can be set.
3
(b) When selecting [Limit IP addresses permit to connect], set the IP addresses with
SPECIFICATIONS
connection permission.
4
1 Set the following items, then click the Add button.
PROCEDURE TO
SETTINGS AND
Table 8.4 Setting items when [Limit IP addresses permit to connect] is selected
OPERATION
Item Description
IP address Set IP addresses permitted to connect in decimal notation.
Mask bit length (Blank)
5
2 The IP address is added to the [Permitted IP addresses list].
INSTALLATION AND
(Example) 192.168.0.64
UNINSTALLATION
3 Set the following items, then click the Add button.
Table 8.5 Setting items when [Limit IP addresses permit to connect] is selected 6
Item Description
IP address Set IP addresses permitted to connect in decimal notation.
Set the enabled bit length of the set IP address.
Mask bit length FUNCTIONS
(Range: 1 to 32)
8
DB CONNECTION
SETTING TOOL
SERVICE AND
Logical product
192 168 0 64
IP address 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
The range in which the logical product above is met is between 192.168.0.64 to 127.
192 168 0 64
1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
1 Select the IP address to be deleted from [Permitted IP addresses list], then click
the Delete button.
(b) When selecting [Output access log], set the following items.
1
(Example) When [Output destination] is set to [dbConnector.log] and [Access
capacity] is set to [1MB × 3 files]
OVERVIEW
Capacity over
Ne
w
1 dbConnector.log dbConnector.log
2
Re
na
me
CONFIGURATION
dbConnector.log.001 dbConnector.log.001 Files within the specified
SYSTEM
Re number of files
na
me
dbConnector.log.002 dbConnector.log.002 3
De
let
e
SPECIFICATIONS
Figure 8.8 File capacity per access log and number of files
PROCEDURE TO
SETTINGS AND
OPERATION
2 [dbConnector.log.001] is renamed as [dbConnector.log.002].
INSTALLATION AND
UNINSTALLATION
(Default: Output)
(b) When selecting [Output SQL failed log], set the following items.
Table 8.7 Setting items when [Output SQL failed log] is selected
6
Item Description
Output destination Set the output destination of the log file.
SQL failed log capacity Set the file capacity per SQL failure log and number of files. FUNCTIONS
If a read-only file is specified, the log is not output and [SQL failure log output
R
MES INTERFACE
SETTING TOOL
SERVICE AND
Import/export files.
(1) Import
Import a saved file.
Point
3 When importing a file, use the one that was stored by the export function.
4 Do not edit any export file.
1
(2) Export
Export the DB Connection Service Setting Tool to a file.
OVERVIEW
1 Select [File] [Export] from the menu.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Figure 8.10 [Save As] dialog box
Save in
Item Description
Select the location where the file is to be saved.
4
File name Specify the name of the file to be saved.
PROCEDURE TO
Select a type of the file to be saved.
SETTINGS AND
Files of type
OPERATION
• DB connection service setting files
INSTALLATION AND
UNINSTALLATION
6
FUNCTIONS
7
CONFIGURATION TOOL
MES INTERFACE
FUNCTION
8
DB CONNECTION
SETTING TOOL
SERVICE AND
8.7 Help
The product information of the DB Connection Service Setting Tool and the Connect to
MELFANSweb screen can be displayed.
2 The [Product information] dialog box of the DB Connection Service Setting Tool is
displayed.
8 - 21 8.7 Help
8 DB CONNECTION SERVICE AND SETTING TOOL
1
8.8 Output Log Specifications
OVERVIEW
This section explains the output log format for the SQL failure log and access log shown
Section 8.8.1 or later.
CONFIGURATION
Item Description
1st to 4th bytes at the head
SYSTEM
Year Four-digit integer for year (Numbers)
of the line
5th byte at the head of the
Year - Month delimiter "/" (Slash: 2Fh)
line
6th and 7th bytes at the
3
Month 2-digit integer (01 to 12) (Numbers)
head of the line
SPECIFICATIONS
8th byte at the head of the
Month - Day delimiter "/" (Slash: 2Fh)
line
9th and 10th bytes at the
Day 2-digit integer (01 to 31) (Numbers)
head of the line
11th byte at the head of the
Day - Hour delimiter
line
" " (Space: 20h)
4
12th and 13th bytes at the
[Date] Hour 2-digit integer (00 to 23) (Numbers)
head of the line
PROCEDURE TO
SETTINGS AND
14th byte at the head of the
OPERATION
Hour - Minute delimiter ":" (Colon: 3Ah)
line
15th and 16th bytes at the
Output Minute 2-digit integer (00 to 59) (Numbers)
head of the line
character
Minute - Second delimiter
17th byte at the head of the
":" (Colon: 3Ah) 5
line
18th and 19th bytes at the
INSTALLATION AND
UNINSTALLATION
Second 2-digit integer (00 to 59) (Numbers)
head of the line
20th byte at the head of the
Second - Millisecond delimiter "." (Period: 2Eh)
line
21th and 23th bytes at the
Millisecond 3-digit integer (000 to 999) (Numbers)
head of the line
24th byte at the head of the 6
Millisecond - Error code delimiter " " (Space: 20h)
line
25th and 34th bytes at the Alphanumeric character of "0x" + 8-digit
[Error code]*1
head of the line hexadecimal
FUNCTIONS
35th byte at the head of the
Error code - Message delimiter " " (Space: 20h)
line
36th byte at the head of the
Message According to the specifications of each log
line or later 7
CONFIGURATION TOOL
8
DB CONNECTION
SETTING TOOL
SERVICE AND
The communication contents of the MES interface module and DB Connection Service are
output to the access log.
The following explains the access log contents.
(b) End
(b) Disconnection
1
(b) Disconnection
OVERVIEW
Item Description
[Date] [Error code] SID [Session ID]:DB Disconnect:[Target data source]: [Connection ID]:[Connection
Output log format
result*1]
Example 2005/07/01 12:00:00.000 0 × 00000000 SID 0:DB Disconnect:DataSource:ID:Success
2
*1 When succeeded: Success, when failed: Failed
CONFIGURATION
(4) SQL text reception/processing results
SYSTEM
(a) SELECT
SPECIFICATIONS
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*2]([No. of selected records])
Example 2005/07/01 12:00:00.000 0 × 00000000 SID 0:SQL<SELECT COL from TABLE;>:Success(1)
*2 When succeeded: Success ([No. of selected records]), when failed: Failed only
(b) UPDATE
4
Table 8.18 UPDATE
Item Description
PROCEDURE TO
SETTINGS AND
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*3]([No. of updated records])
OPERATION
Example 2005/07/01 12:00:00.000 0 × 00000000 SID 0:SQL<UPDATE TABLE SET COL = '';>:Success(1)
*3 When succeeded: Success ([No. of updated records]), when failed: Failed only
(c) INSERT 5
Table 8.19 INSERT
INSTALLATION AND
UNINSTALLATION
Item Description
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*4]([No. of inserted records])
2005/07/01 12:00:00.000 0 × 00000000 SID 0:SQL<INSERT INTO TABLE ( COL ) VALUES ('')
Example
;>:Success(1)
*4 When succeeded: Success ([No. of inserted records]), when failed: Failed only 6
(d) COMMIT
(e) ROLLBACK
MES INTERFACE
Item Description
Output log format [Date] [Error code] SID [Session ID]:ROLLBACK:[Processing result*6]
Example 2005/07/01 12:00:00.000 0 × 00000000 SID 0:ROLLBACK:Success 8
*6 When succeeded: Success, when failed: Failed
DB CONNECTION
SETTING TOOL
SERVICE AND
When an SQL text is executed on a database, if an error occurs, the error contents are
output to the SQL failure log.
The following shows the SQL failure log contents.
9
CHAPTER 9 XML MESSAGE FORMAT
XML MESSAGE
FORMAT
This section explains the XML message format used with the XML processing function.
Refer to the following for the XML processing function.
Section 6.2 XML Processing Function
This section explains the functions of the XML message format.
10
TROUBLESHOOTING
(1) Instruction of job execution
Table 9.1 Instruction of job execution
Function Description
• Executes the specified job only one time regardless of whether the
One-shot execution trigger conditions and jobs are enabled or not.
• If the specified job is being executed, the job is not carried out again.
• Puts the job into the status in which the specified job is executed when
APPENDICES
the trigger conditions are met (Job enabled status).
Validate • This is the same operation as that of enabling the MES Interface
Function Configuration Tool job.
Section 7.13.4 Changing the job status
• Puts the job into the status in which the job is not executed even if the
trigger conditions are met (Job disabled status).
Invalidate • This is the same operation as that of disabling the MES Interface
Function Configuration Tool job.
Section 7.13.4 Changing the job status
INDEX
9-1
9 XML MESSAGE FORMAT
The XML message format is comprised of request messages and response messages.
This section explains the XML message format definition.
Point
1. The maximum size of request message after applying URL encoding that the
MES interface module can process is 128K bytes.
If the size exceeds 128K bytes, an error code is returned as the response
message.
Section 10.2.3 Error codes returned in XML response messages
(a) One-shot execution (An example for one-shot execution of the job named
Pro01)*1
<?xml version = "1.0"?>
<REQUEST type = "oneshot" jobname = "Pro01"/>
9
(2) Response message (RESPONSE tag)
XML MESSAGE
Table 9.3 Response message (RESPONSE tag)
FORMAT
Item Description
Omission Not possible
Format <RESPONSE status = "[Job execution result]" code = "[Error code]"/> 10
The request message reception result is returned.
TROUBLESHOOTING
status "accepted": Succeeded
"failed": Failed
Attribute
If an error occurs, the error code is returned.
code Section 10.2.3 Error codes returned in XML
response messages
Contents None
Sub-component None
(a) Succeeded
APPENDICES
<?xml version = "1.0"?>
<RESPONSE status = "accepted"/>
(b) Failed
<?xml version = "1.0"?>
<RESPONSE status = "failed" code = "0x4117XXXX"/>
INDEX
This section explains the sending method and sample program of the XML message
format.
9
9.2.2 Sample program
XML MESSAGE
This section shows a sample program written in Java.
FORMAT
import java.io.*;
import java.net.*;
10
class JobStart {
TROUBLESHOOTING
public static void main(String[] args) {
try{
APPENDICES
requestMessage = URLEncoder.encode(requestMessage, "UTF-8");
// POST
URL url = new URL("http://192.168.3.3/MESXML.cgi");
INDEX
conn.setRequestProperty("Content-type", "text/xml");
conn.setRequestProperty("Content-length", String.valueOf(requestMessage.length()));
// BASIC authentication
String account = "QJ71MES96:MITSUBISHI";
printStream.close();
String STr;
reader.close();
}catch(Exception e){
System.err.println("Errorn\n" + e);
//Base64 encode
static String encodeBase64(String inStr) {
String refTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int rest = inStr.length()%3;
if ( rest != 0)
inStr += new String(new byte[] {0, 0, 0}).substring(rest);
byte[] inBuf = inStr.getBytes();
StringBuffer outStr = new StringBuffer();
for (int i = 0; i < inBuf.length; i+= 3) {
int tempBuf = inBuf[i]<<16 | inBuf[i+1]<<8 | inBuf[i+2];
for (int j = 18; j >= 0; j -= 6)
outStr.append(refTable.charAt((tempBuf >> j) & 0x3f));
}
if (rest != 0) {
outStr.delete(outStr.length() - 3 + rest, outStr.length());
outStr.append("===".substring(rest));
}
return new String(outStr);
}
}
9
CHAPTER 10 TROUBLESHOOTING
XML MESSAGE
FORMAT
The following flowchart shows the troubleshooting procedure for errors that might occur
during operation of the MES interface module.
10
Start
TROUBLESHOOTING
No
Is the RUN LED ON? Identify the error and take corrective actions.
Section 10.3.3 (1) Troubleshooting about LED
Yes indication and I/O signals
Is the ERR. LED ON Yes By the error code, identify the error and take corrective
or flashing? actions.
APPENDICES
• Section 10.1 Error Codes
No • Section 10.2 Error Code List
INDEX
No
Is the job enabled? Enable the job.
• Section 7.13.4 Changing the job status
Yes • Chapter 9 XML MESSAGE FORMAT
Is there any problem on No Check the log output to the server computer, identify
the server computer? the error and take corrective actions.
• Section 10.1 Error Codes
Yes • Section 10.2 Error Code List
Is there an error code in No By the error code, identify the error and take corrective
the response message returned by the
actions.
XML processing function?
• Chapter 9 XML MESSAGE FORMAT
Yes • Section 10.2 Error Code List
• Section 10.3.3 (1) Troubleshooting about LED indication and I/O signals
• Section 10.3.3 (2) Troubleshooting about network connection
• Section 10.3.3 (3) Troubleshooting about communication between the MES interface module and
access target CPU
• Section 10.3.3 (4) Troubleshooting about the DB interface function
Figure 10.1 Troubleshooting flowchart for operation of the MES interface module
10 - 1
10 TROUBLESHOOTING
By an error code, check the error details and take corrective actions.
Section 10.2 Error Code List
Point
If more than one error are displayed in Error log of [Working log] or by error dialog
boxes, take corrective actions in chronological order.
9
10.1.2 Error types
XML MESSAGE
Errors are divided into the following two types.
FORMAT
(1) Module stop error
(a) The ERR. LED flashes.
10
TROUBLESHOOTING
(b) When a module stop error occurs, the MES interface function of the MES
interface module is stopped.
Correct the error according to the error code, and turn the power OFF and then
ON or reset the PLC CPU.
(c) An error code is stored in the buffer memory area that is corresponding to the
error location.
For how to find an error code, refer to the following:
APPENDICES
Section 10.1.1 Finding an error code
(b) When a module continuation error occurs, the MES interface module continues
operation of the MES interface function.
By correcting the error according to the error code, the correction can be reflected
INDEX
in the operation.
Since the ERR. LED stays ON, turn it off by the following:
• Error clear request (Y10)
• [Online] - [Remote operation] - [Clear error]
Section 7.13.2 (4) Clear error
(c) An error code is stored in the buffer memory area that is corresponding to the
error location.
For how to find an error code, refer to the following:
Section 10.1.1 Finding an error code
The module status of the MES interface module can be checked from [System monitor].
(1) Checking the module status and error code in [Module's Detailed Information]
of the diagnostics function.
(a) Operation procedure
*1 The suffix of the product information code represents the function version of the module.
The function version of the MES interface module is B or later.
(Example) When the suffix is "B", it means the module is of function version B.
9
(2) Checking the LED status and the switch setting status in [H/W Information] of
XML MESSAGE
the diagnostics function.
FORMAT
(a) Operation procedure
TROUBLESHOOTING
2 The [H/W Information] dialog box is displayed.
Operate it referring to the following descriptions.
APPENDICES
INDEX
Figure 10.3 [H/W Information] dialog box
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
• Set a correct link parameter for the
0085h Link parameter error The link parameter is corrupted.
PLC CPU(s) on the access route.
0087h
to System error —
• Please consult your local Mitsubishi
representative, explaining a detailed
10
TROUBLESHOOTING
0089h description of the problem.
A request that is not permitted during • Check the CPU(s) on the access
00D2h RUN time disable error
RUN was issued. route.
• Please consult your local Mitsubishi
00D4h System error — representative, explaining a detailed
description of the problem.
The receive data length or the byte
00D7h Receive data length error
length exceeded the limit. • Check the cables on the access
The communication protocol is not route.
00D8h Protocol error
correct.
APPENDICES
00D9h Address error The address is not correct. • Check the CPU(s) on the access
00DBh Write error Writing is not executable. route.
The specified station number does not • Check the station number setting in
00E0h Station No. error
exist. [Access target CPU settings].
The access target CPU is not capable • Check the PLC series in [Access
00E1h Processing mode error
of processing the request. target CPU settings].
• Correct the "U \G " buffer
Intelligent function module The specified intelligent (or special)
00E2h memory data in [Device tag
error function module is faulty.
INDEX
settings].
• Check the CPU(s) on the access
00E3h Other data error The request data has an error.
route.
A link module on the access route
received a request that cannot be • Check the access route referring to
00E4h Link specification error
handled. (The access route is not the accessible range.
supported.)
• Please consult your local Mitsubishi
00E8h System error — representative, explaining a detailed
description of the problem.
The access target is disconnected • Reconnect the access target on the
00E9h Link timeout
from the link during the processing. access route.
• Examine the hardware of the
The receive buffer of the access target
00EAh Special module BUSY intelligent (or special) function
is full, or is not ready for reception.
module.
The receive buffer of the access target
00ECh Access target BUSY • Check the access target.
is full, or is not ready for reception.
An request was made to a link stop • Restore the link to connect the
00F0h Link error
station. station on the access route.
The specified intelligent (or special)
00F1h Special module bus error function module is not ready for
• Examine the hardware of the
processing.
intelligent (or special) function
No response has been received from
module.
00F2h Special module timeout the specified intelligent (or special)
function module.
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
The access to the CompactFlash card
timed out while waiting for a response • Replace the CompactFlash card
0496h CF card response error
from the card. (CompactFlash card
failure)
with another.
10
TROUBLESHOOTING
The battery voltage dropped, or the • Replace the battery.
04D0h Battery error
battery connector was disconnected. • Check the battery connection.
• Please consult your local Mitsubishi
0501h System error — representative, explaining a detailed
description of the problem.
APS of the request packet does not
• Retry the transmission.
match the one of the response packet.
0502h APS mismatch • Correct [Access target CPU
The Start I/O specified in [Access
settings].
target CPU settings] is incorrect.
0604h • Retry writing the setting with MES
APPENDICES
Failed to read out the setting file. (The
Setting file error Interface Function Configuration
0607h setting file is corrupted.)
Tool.
The device name specified in the
• Correct the device specified in the
060Ah Component device error "component setting" is incorrect.
"component setting".
Or, an invalid device was specified.
Information on the network • Initialize the module, and then
Access target CPU setting
0610h communication route set in [Access configure the [Access target CPU
error
target CPU settings] is corrupted. settings] again.
Unable to handle the processing due • Remove the cause of the module
INDEX
0617h Module stop error
to a module stop error. stop error, and reset the PLC CPU.
Because the load applied to the
Setting update time-out • Reexecute the setting update.
0618h module is high, setting update timed
error • Reset the PLC CPU.
out.
The device name specified in [Device • Refer to the accessible device list,
0619h Device name error
tag settings] is erroneous or invalid. and reenter a correct device name.
Invalid multiple CPU settings was
0626h Multiple CPU setting error configured in [Access target CPU
settings].
• Correct [Access target CPU
The network No, head I/O, or station
settings].
Network communication No. of the network route, which was
0627h
route error specified in [Access target CPU
settings], is out of range.
Tag sampling interval The sampling interval set in [Device
0628h • Correct [Device tag settings].
setting error tag settings] is invalid.
0629h • Retry writing the setting with MES
Failed to read out the setting file. (The
062Ah Setting file error Interface Function Configuration
setting file is corrupted.)
062Ch Tool.
The access target CPU specified in
No CPU specification • Specify an existing CPU as the
062Dh the "component setting" does not
error access target.
exist, or its setting was deleted.
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
The initial SNTP server time enquiry
Initial SNTP server time failed, and thereby the module started • Check if the specified SNTP server
0A06h
is operating normally, or if no error
enquiry error the operation synchronizing the time
with CPU No.1. has occurred on the network linked
10
TROUBLESHOOTING
to the specified SNTP server
SNTP server time enquiry Failed in the SNTP server time
0A07h computer.
error enquiry.
0A08h
The CompactFlash card may be
to Setting read error • Replace the CompactFlash card.
corrupted.
0A0Dh
No CompactFlash card has been • Install a CompactFlash card.
0A0Fh CF access stopped error installed. • Turn the power OFF and ON, or
File access is stopped (X2 is ON). reset the PLC CPU.
No CompactFlash card has been
APPENDICES
0A11h No CF card installed
installed.
CF directory operation The CompactFlash card may be
0A12h
error corrupted.
The setting file written to the module is
Transferred setting file invalid. • Install a CompactFlash card.
0A13h
check error The CompactFlash card may be
corrupted.
The setting file is invalid.
0A14h Setting file check error The CompactFlash card may be
INDEX
corrupted.
0A80h • Please consult your local Mitsubishi
to System error — representative, explaining a detailed
0A83h description of the problem.
• Check the actions in [Job settings].
• In Job List of [Remote operation],
Some action set in the job has an
0A84h Illegal action setting error the job having any illegal action can
illegal part.
be checked. (Such a job is not
displayed.)
0B00h • Please consult your local Mitsubishi
to System error — representative, explaining a detailed
0B0Ah description of the problem.
0B0Bh
The CompactFlash card may be
Setting read error • Replace the CompactFlash card.
corrupted.
0B0Ch
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
0B35h • Please consult your local Mitsubishi
to System error — representative, explaining a detailed
0B3Ah
Because the DB buffer became full,
description of the problem.
10
• Check the network status.
TROUBLESHOOTING
0B3Bh DB buffer full error the data could not be stored in the DB
• Ensure a DB buffering capacity.
buffer.
APPENDICES
0B3Fh • Please consult your local Mitsubishi
System error — representative, explaining a detailed
0B40h description of the problem.
INDEX
• Do not clear the DB buffer during
resending of DB-buffered data.
0B44h DB buffer empty error The DB buffer is empty. • Check the CompactFlash card.
• If the CompactFlash card is
damaged, replace it.
• Check the CompactFlash card.
Data stored in the DB buffer are
0B45h DB buffer content error • If the CompactFlash card is
invalid.
damaged, replace it.
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
Message transmission • Check the Ethernet connection.
0B88h
error • Check if [Server service settings] is
An Ethernet communication error has
Message transmission
occurred.
correct. 10
• Check if the ODBC setting is
0B89h
TROUBLESHOOTING
timeout correct.
• Please consult your local Mitsubishi
0B8Ah System error — representative, explaining a detailed
description of the problem.
• Check the Ethernet connection.
• Check if [Server service settings] is
correct.
• Check if the ODBC setting is
correct.
APPENDICES
• Check if the database has been
restarted or not.
(When the database is Microsoft
Access 2000/2003)
• Check if 128 or more fields are set
0B8Bh Message reception error in Update actions.
• Check the sent SQL text and the
An Ethernet communication error has database contents.
occurred. • Check if the table and field settings
INDEX
are correct.
• Check if the uniqueness constraint
of the database (PRIMARY KEY
constraint) is violated or not.
• Check if multiple MES interface
modules are accessing one file at
the same time.
• Check the Ethernet connection.
• Check if [Server service settings] is
Message reception
0B8Ch correct.
timeout
• Check if the ODBC setting is
correct.
0B8Dh • Please consult your local Mitsubishi
to System error — representative, explaining a detailed
0B90h description of the problem.
DB transaction status
0B91h The DB transaction status is invalid.
error
DB transaction start status The DB transaction start status is • Check the transaction status of the
0B92h
error invalid. database.
DB transaction end status The DB transaction end status is
0B93h
error invalid.
0B94h • Please consult your local Mitsubishi
to System error — representative, explaining a detailed
0B9Dh description of the problem.
Database connection • Check the Ethernet connection.
0B9Eh
error • Check if [Server service settings] is
An Ethernet communication error has
0B9Fh Message reception error correct.
occurred.
Received message data • Check if the ODBC setting is
0BA0h
error correct.
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
An error has occurred in the
0BBAh
CreateProcess function for start EXE. • Check if the program specified with
0BBBh
An SID value NULL error has occurred
in the SidToText function.
the program execution function is
executable with the specified
10
TROUBLESHOOTING
A parameter NULL error has occurred account.
0BBCh
in start XML.
• Check if the program specified with
the program execution function is
executable with the specified
account.
• After creating an account used for
An error has occurred in the
0BBDh the program execution function, be
LogonUser function.
sure to log in once at least.
• A user with an empty password
APPENDICES
cannot be specified.
Set a password for the specified
Execution error (Program user.
execution function) An error has occurred in the
0BBEh
GetSidText function.
An error has occurred in the
0BBFh
GetProfilePath function.
An error has occurred in the
0BC0h
AddPrivilege function.
INDEX
An error has occurred in the
0BC1h • Check if the program specified with
RegLoadKey function.
the program execution function is
An error has occurred in the
executable with the specified
0BC2h SetWindowStationAndDesktopAce
account.
function.
An error has occurred in the
0BC3h
CreateUserProcess function.
An error has occurred in the
0BC4h
QuerySubKey function.
An error has occurred in the
0BC5h
ReleaseMutex function.
0C00h • Please consult your local Mitsubishi
to System error — representative, explaining a
0C56h detailed description of the problem.
• Check if the CompactFlash card is
CF card check error Failed to access the CompactFlash damaged.
0C80h
(event log writing) card during event log output. • Turn the power OFF and ON, or
reset the PLC CPU.
Remaining capacity of the
CF card full error (event • Check the capacity of the
0C81h CompactFlash card is not sufficient for
log writing) CompactFlash card.
writing the event log.
9
(From the previous page)
XML MESSAGE
Table 10.3 Error codes for the MES interface module
Error code Error name Description Action
FORMAT
Monitor condition Reading is not possible because the • Delete the monitor condition by GX
FFD1h
dissatisfied error monitor condition is not met. Developer.
FFD2h
to System error —
• Please consult your local Mitsubishi
representative, explaining a detailed
10
TROUBLESHOOTING
FFD4h description of the problem.
Writing a TC setting value was
• Change the TC setting value during
FFD5h ROM operation error attempted to the PLC CPU that was
RAM operation.
running the ROM.
FFD6h
FFD7h • Please consult your local Mitsubishi
FFD9h System error — representative, explaining a detailed
to description of the problem.
FFDEh
APPENDICES
Incorrect access target The setting of the access target CPU • Correct [Access target CPU
FFDFh
error is incorrect. settings].
FFE0h
FFE1h • Please consult your local Mitsubishi
FFEDh System error — representative, explaining a detailed
to description of the problem.
FFEFh
Station or Network No. The station No. or network No. is out • Check the station No. and network
FFF0h
error of range, or the setting is incorrect. No. in [Access target CPU settings].
• Please consult your local Mitsubishi
INDEX
FFF1h System error — representative, explaining a detailed
description of the problem.
No memory cassette or inappropriate
• Check the memory cassette of the
FFF2h Memory cassette error one is attached to the accessed PLC
access target CPU.
CPU.
• Check the block No. of the
The block No. of the specified
extension file register (device type).
extension file register has been
FFF3h Write protect error • Check the write-protect DIP switch
allocated to the write-protect area of
on the memory cassette of the
the memory cassette.
access target CPU.
The block No. of the specified • Check the block No. of the
FFF4h Block error
extension file register is invalid. extension file register (device type).
FFF5h • Please consult your local Mitsubishi
FFF8h System error — representative, explaining a detailed
FFFAh description of the problem.
The device size exceeded the device • Correct the device number entered
FFFBh Size error
range. in [Device tag settings].
• Check the settings of the network
module on the access route.
FFFCh CPU error An invalid station was specified.
• Check the station number setting in
[Access target CPU settings].
• Correct the device type entered in
FFFDh Device type error The device type is incorrect.
[Device tag settings].
• Correct the device number entered
FFFEh Device No. error The device number is incorrect.
in [Device tag settings].
• Please consult your local Mitsubishi
FFFFh System error — representative, explaining a detailed
description of the problem.
The server port has already been opened. • Change the server port No. with DB Connection
9
The service is stopped. Service Setting Tool.
The computer ran out of memory while reading the • Terminate any unnecessary applications.
101
setting file. • Add more memory to the personal computer.
• Reinstall the DB Connection Service to the
102 The setting file path is too long.
directory whose path name is shorter.
103 The setting file name indicates the directory.
• Reinstall the DB Connection Service.
104 The setting file could not be opened.
9
(From the previous page)
XML MESSAGE
Table 10.5 Event log output error list of DB Connection Service
Error code Error description and cause Corrective action
FORMAT
• Terminate other applications, and make the
105 Description of the setting file is not correct. setting again with DB Connection Service Setting
Tool.
10
Parameter specification of the setting file is not
106
TROUBLESHOOTING
correct.
107 The version of the setting file is not correct.
108 The server port No. setting is not correct.
109 The server port No. setting is out of range.
110 The timeout time setting is not correct.
111 The timeout time setting is out of range.
There are too many connection-permitted IP
112
address settings.
Description of the connection-permitted IP address
113
APPENDICES
setting is not correct.
The mask bit length setting of the connection-
114
permitted IP address is not correct.
The mask bit length setting of the connection-
115
permitted IP address is out of range.
116 The access log setting is not correct.
The setting of the access log file name is not
117
correct.
118 The access log file name is too long.
• Configure the settings again with DB Connection
INDEX
The maximum file size setting for the access log is
119 Service Setting Tool.
not correct.
The maximum file size setting for the access log is
120
out of range.
The maximum number of access log files is not set
121
correctly.
The maximum number of access log files is out of
122
range.
123 The SQL failure log setting is not correct.
The setting of the SQL failure log file name is not
124
correct.
125 The SQL failure log file name is too long.
The maximum file size setting for the SQL failure
126
log is not correct.
The maximum file size setting for the SQL failure
127
log is out of range.
The maximum number of SQL failure log files is not
128
set correctly.
The maximum number of SQL failure log files is out
129
of range.
9
(From the previous page)
XML MESSAGE
Table 10.5 Event log output error list of DB Connection Service
Error code Error description and cause Corrective action
FORMAT
The computer ran out of memory when initializing
501
the SQL failure log file. • Terminate any unnecessary applications.
502
The computer ran out of resources when initializing • Add more memory to the personal computer.
10
the SQL failure log file.
TROUBLESHOOTING
The full path name of the SQL failure log file is too • Shorten the path to the SQL failure log file with
503
long. DB Connection Service Setting Tool.
• If no directory exists for storing the SQL failure
log file, create it.
• When the attribution of the SQL failure log file is
set to read-only, cancel the setting.
• If read/write is disabled for the SQL failure log
504 The SQL failure log file could not be opened. file, enable it in the security setting.
• When the SQL failure log file name represents a
directory, rename or delete the directory.
APPENDICES
• When the SQL failure log file has been open in
another application, terminate the application.
• Check the disk device for any fault.
• When the disk space is full, ensure a free disk
space.
The log could not be written to the SQL failure log
505 • When the SQL failure log file has been open in
file.
another application, terminate the application.
• Check the disk device for any fault.
• When the attribution of the oldest SQL failure log
INDEX
file is set to read-only, cancel the setting.
• If read/write is disabled for the oldest SQL failure
log file, enable it in the security setting.
506 Failed to delete an old SQL failure log file.
• When the oldest SQL failure log file has been
open in another application, terminate the
application.
• Check the disk device for any fault.
• When the attribution of the new and old SQL
failure log files is set to read-only, cancel the
setting.
• If read/write is disabled for the new and old SQL
507 Failed to rename the SQL failure log file. failure log files, enable it in the security setting.
• When the new and old SQL failure log files have
been open in another application, terminate the
application.
• Check the disk device for any fault.
9
(From the previous page)
XML MESSAGE
Table 10.6 Access log output error list of DB Connection Service
Error code Error description and cause Corrective action
FORMAT
(SID [Session ID]: Request Receive Error: [IP
0x20300010 address])
Connection disconnected during request reception.
10
(SID [Session ID]: Request Receive Error: [IP
TROUBLESHOOTING
0x20300011 address])
• Check if it is connected to the network.
Timed out during request reception.
• Check if the gateway and/or hub is operating.
(SID [Session ID]: Request Receive Error: [IP
• Check if the power of the module is not turned
address])
0x20300012 off.
Detected failure of the MES interface module while
waiting for or receiving a request.
(SID [Session ID]: Request Receive Error: [IP
0x20300013 address])
Receive I/O error
APPENDICES
(SID [Session ID]: Request Receive Error: [IP
0x20300014 address])
Buffer overrun (Request length exceeded) • Check if the source IP address belongs to the
(SID [Session ID]: Request Receive Error: [IP MES interface module.
0x20300015 address])
Received an invalid request.
(SID [Session ID]: Response Transmit Error: [IP
0x20310010 address])
Failed to transmit a response due to disconnection.
(SID [Session ID]: Response Transmit Error: [IP
INDEX
0x20310011 address])
• Check if it is connected to the network.
Timed out during response transmission
• Check if the gateway and/or hub is operating.
(SID [Session ID]: Response Transmit Error: [IP
• Check if the power of the module is not turned
address])
0x20310012 off.
Detected failure of the MES interface module
during response transmission.
(SID [Session ID]: Response Transmit Error: [IP
0x20310013 address])
Send I/O error
(SID [Session ID]: DB Connect: [Data source]:
0x20400001 [User]: Failed)
Failed in DB connection due to insufficient memory.
• Terminate any unnecessary applications.
(SID [Session ID]: DB Connect: [Data source]:
• Add more memory to the personal computer.
[User]: Failed)
0x20400002
Failed in DB connection due to insufficient
resources.
(SID [Session ID]: DB Connect: [Data source]:
• Check if the source IP address belongs to the
0x20400010 [User]: Failed)
MES interface module.
Invalid DB connection request
9
(From the previous page)
XML MESSAGE
Table 10.6 Access log output error list of DB Connection Service
Error code Error description and cause Corrective action
FORMAT
(SID [Session ID]: SQL<...>: Failed)
(SID [Session ID]: COMMIT: Failed)
0x20600021
(SID [Session ID]: ROLLBACK: Failed)
(SID [Session ID]: GetNext: Failed)
10
• Set a correct database type in [Server service
TROUBLESHOOTING
(SID [Session ID]: Reset: Failed)
settings] of MES Interface Function
Failed in preparation before SQL execution.
Configuration Tool.
(SID [Session ID]: SQL<...>: Failed)
• Select [Job settings] - [Communication action] in
(SID [Session ID]: COMMIT: Failed)
MES Interface Function Configuration Tool, and
(SID [Session ID]: ROLLBACK: Failed)
set a correct table name.
0x20600022 (SID [Session ID]: GetNext: Failed)
(SID [Session ID]: Reset: Failed)
Failed to obtain the number of fields in the record
that is to be obtained by the SQL execution.
• Set a correct database type in [Server service
APPENDICES
settings] of MES Interface Function
(SID [Session ID]: SQL<...>: Failed)
Configuration Tool.
(SID [Session ID]: COMMIT: Failed)
• Select [Job settings] - [Communication action] in
(SID [Session ID]: ROLLBACK: Failed)
0x20600023 MES Interface Function Configuration Tool, and
(SID [Session ID]: GetNext: Failed)
set a correct table name, field names, and
(SID [Session ID]: Reset: Failed)
Select/Update conditions.
Failed in SQL execution.
Also, set a correct data type for the data entered
in the fields.
• Please consult your local Mitsubishi
INDEX
0x20600024 System error representative, explaining a detailed description
of the problem.
(SID [Session ID]: SQL<...>: Failed)
(SID [Session ID]: COMMIT: Failed) • Select [Job settings] - [Communication action] in
(SID [Session ID]: ROLLBACK: Failed) MES Interface Function Configuration Tool, and
0x20600025 (SID [Session ID]: GetNext: Failed) set update conditions correctly.
(SID [Session ID]: Reset: Failed) • Check if the database has been filled with
No record was updated or inserted by the SQL registered data.
execution.
0x20600026 • Please consult your local Mitsubishi
to System error representative, explaining a detailed description
0x2060002A of the problem.
• Check if it is connected to the network.
(SID [Session ID]: *** Transmitting Commit
• Check if the gateway and/or hub is operating.
0x2060002B Success Response Failed. ***)
• Check if the power of the module is not turned
Failed to transmit the COMMIT success response.
off.
0x20800011
• Please consult your local Mitsubishi
0x20800012 System error representative, explaining a detailed description
of the problem.
0x2FE00010
9
(3) SQL failure log of DB Connection Service
XML MESSAGE
Table 10.7 SQL failure log output error list of DB Connection Service
FORMAT
Error code Error description and cause Corrective action
0x20600001 Failed in SQL execution due to insufficient memory.
• Terminate any unnecessary applications.
0x20600002
Failed in SQL execution due to insufficient
• Add more memory to the personal computer.
10
resources.
TROUBLESHOOTING
DB Connection Service does not support the SQL • Check if the source IP address belongs to the
0x20600020
instruction to be executed. MES interface module.
APPENDICES
• Set a correct database type in [Server service
settings] of MES Interface Function
Configuration Tool.
• Select [Job settings] - [Communication action] in
MES Interface Function Configuration Tool, and
set a correct table name, field names, and
0x20600023 Failed in SQL execution.
Select/Update conditions.
Also, set a correct data type for the data entered
INDEX
in the fields.
• Check if the uniqueness constraint of the
database (PRIMARY KEY constraint) is violated
or not.
• Please consult your local Mitsubishi
0x20600024 System error representative, explaining a detailed description
of the problem.
• Select [Job settings] - [Communication action] in
MES Interface Function Configuration Tool, and
No record was updated or inserted by the SQL
0x20600025 set update conditions correctly.
execution.
• Check if the database has been filled with
registered data.
0x20600026 • Please consult your local Mitsubishi
to System error representative, explaining a detailed description
0x20600028 of the problem.
• Check if it is connected to the network.
(Data source name: *** Transmitting Commit
• Check if the gateway and/or hub is operating.
0x2060002B Success Response Failed. ***)
• Check if the power of the module is not turned
Failed to transmit the COMMIT success response.
off.
9
10.3 Troubleshooting by symptom
XML MESSAGE
FORMAT
10.3.1 When using MES Interface Function Configuration Tool
This section explains troubleshooting information on the setting of MES Interface Function
10
TROUBLESHOOTING
Configuration Tool.
APPENDICES
Is the IP address setting correct? Section 7.6.1 Setting items in
Network setting
• Correct the user name and password
Is the user name and password setting setting.
correct? Section 7.6.3 Setting items in
Account setting
Unable to connect MES Interface Function
• Correct the IP address setting.
Configuration Tool to the MES interface
module. Is the IP address duplicated? Section 7.6.1 Setting items in
Network setting
INDEX
Is there a firewall and/or a proxy server in • Ask your network administrator about the
the connection route? firewall and proxy server settings.
Is the MES interface module connected to
• Connect the MES interface module to the
the network?
network.
(Network connection status (X4) = ON)
Is it in "Online" mode? • Change the mode to "Online".
Is there any problem on the personal
• Replace it with another computer.
computer?
• Terminate any of the MES Interface
Function Configuration Tools and then
MES Interface Function Configuration Tool Have five MES Interface Function
start another.
will not start. Configuration Tools already started?
• Up to five MES Interface Function
Configuration Tools can be started.
The specified project file is incorrect or
• Specify a correct project file.
corrupted.
Unable to import a project file. Is there any inconsistency in the setting? • Check the setting and correct it if any.
Did the number of settings exceed the • Check the number of settings.
upper limit? Section 7.4.4 Importing a project
Is the CSV file description correct? • Correct the CSV file description.
Is there any inconsistency in the setting? • Check the setting and correct it if any.
Unable to import a CSV file.
Did the number of settings exceed the • Check the number of settings.
upper limit? Section 7.4.5 Importing a CSV file
[Device tag name] is not displayed for the • Set the tag to data-write-enabled.
setting item by which data are written to a Is the tag set to data-write-disabled? Section 7.8.1 Setting items in
tag. Device Tag setting
All the text is not displayed in a table. • Adjust the column width of the table.
Isn't the column width narrow?
(The text display is truncated.) Section 7.3.1 Screen structure
(3) [Access target CPU settings] ( Section 7.7 Access Target CPU Setting)
Table 10.11 [Access target CPU settings]
Symptom Checked item Corrective action
• If it is any item other than the first one,
change the item or add an item.
• Since the control CPU is set as the first
Is it the first item?
item, deletion or setting change is not
allowed for it. (Only the CPU name can
Unable to change or delete an item in
be changed.)
[Access target CPU settings].
• As the error dialog box appears, identify
the location, stop using it for another
Is the selected item used in [Device tag
item, and then delete the item.
settings]?
• An item used for another item is unable
to be deleted.
9
(4) [Device tag settings] ( Section 7.8 Device Tag Setting)
XML MESSAGE
Table 10.12 [Device tag settings]
FORMAT
Symptom Checked item Corrective action
Is the selected item used in [Job settings]?
Is the selected item used in [DB buffering
• As the error dialog box appears, identify
the location, stop using it for another
10
Unable to change or delete an item in settings] of [System setting]?
TROUBLESHOOTING
item, and then delete the item.
[Device tag settings]. Is the selected item used in [Access error
• An item used for another item is unable
notification setting] of [Server service
to be deleted.
settings]?
• Because a unique name must be used
Is the same name used for [Server service
Unable to set or change [Device tag name]. for [Server service name] and [Device tag
name] or another [Device tag name]?
name], use a different name.
• Uncheck the [High-speed sampling]
Is [High-speed sampling] selected in checkbox in the [Device tag settings].
another [Device tag settings]? • Registration of [High-speed sampling] is
APPENDICES
limited to one tag only.
• Delete the component setting with
selection of any other than the first item,
Is any other than the first item (Control or change the setting so that the first item
CPU) in [Access target CPU settings] will be used for it.
Unable to select [High-speed sampling]. selected in [CPU name] in [Component • If [High-speed sampling] is selected, only
setting input]? the first item in [Access target CPU
settings] (Control CPU) can be selected
for the tag component.
INDEX
• Reduce the number of device points in
the tag setting to 96 or less.
Is the number of device points set in the tag
• When [High-speed sampling] is selected,
setting more than 96?
set tag component devices within the
total of 96 points.
• Stop using the tag for the setting item by
Is the tag used for a setting item by which which data are written to the tag, before
data are written to the tag? changing the setting.
Unable to change the [Prohibit data writing]
• [Completion notification] of [Handshake • If the tag is used for a setting item by
setting.
operation], substitution tags of [Select] in which data are written to the tag,
[Communication action], etc. unchecking the [Prohibit data writing] box
is not allowed.
9
(7) [Online]
XML MESSAGE
• Section 7.12 Online
FORMAT
• Section 7.13 Online - Remote operation
Table 10.15 [Online]
Symptom Checked item Corrective action
10
TROUBLESHOOTING
• Delete any unnecessary field settings.
Section 7.11.1 Setting items in
Unable to write a project to the MES Is the total number of fields in the project
Communication action
interface module. more than 8192?
• Up to 8192 fields can be set within one
project.
• Select [Online] - [Transfer setup] and
correct the setting.
Is the IP address set in [Transfer setup] of
• Perform the online operation for the MES
[Online] correct?
interface module selected from [Online] -
APPENDICES
[Transfer setup].
Send a PING request from the
• If no response is returned, check if the
Failed in online operation. configuration computer to the IP address of
module is powered up or if the network is
the MES interface module. Is there a
properly connected.
response?
• Select [Online] - [Transfer setup] and
Has the account set in [Transfer setup] of
correct the setting.
[Online] been registered to the MES
• Specify the account that is registered in
interface module?
the MES interface module.
• Select the job for one-shot execution,
INDEX
Unable to select [One-shot execution] from Was the job for one-shot execution
and then select [Online] [One-shot
[Online]. selected?
execution] from the menu.
• By the error code, check the error details
Check for an error code in [System monitor] and take corrective actions.
of GX Developer. • Re-execute formatting of the
CompactFlash card.
Failed to format the CompactFlash card.
• Stop the MES interface module
Is the MES interface module operation operation, and then execute formatting.
stopped? Section 7.13.8 Formatting the
CompactFlash card
It takes time to write the settings to the Is the MES interface module operation in • Stop the MES interface module
MES interface module. the [Stop] state? operation, and then write the settings.
9
10.3.3 When operating the MES interface module
XML MESSAGE
This section shows the troubleshooting of problems that may arise during operation of the
FORMAT
MES interface module.
TROUBLESHOOTING
Table 10.17 Troubleshooting about LED indication and I/O signals
Symptom Checked item Corrective action
Is the module in preparation? • Wait for startup of the module.
• If a watchdog timer error is identified,
The RUN LED does not turn on. please consult your local Mitsubishi
Is the Watchdog timer error (X1F) ON?
representative, explaining a detailed
description of the problem.
Is the battery connected? Or, has the • Check the battery connection.
battery voltage dropped? • Replace the battery.
APPENDICES
Is any of the error detection signals (X11,
X12, X16 and X1C) ON? • According to the error code obtained by
X11: Sampling error the error detection shown on the left,
The ERR. LED is on or flashing.
X12: Information linkage error identify the error cause and take
X16: Access target CPU error corrective actions.
X1C: Another error
Check the error code in [System monitor] of • By the error code, identify the error and
GX Developer. take corrective actions.
• Depending on the number of items set in
INDEX
Is the module in preparation? [Access target CPU settings], it may take
several minutes until X0 turns ON.
Module READY (X0) does not turn ON, or it • If many files are stored in the
takes time to turn ON. CompactFlash card, it takes time to turn
Are there many files in the installed
X0 ON.
CompactFlash card?
• Delete unnecessary files from the
CompactFlash card.
Is file access stopped? (X2 is ON?) • Cancel the file access stop.
• If many files are stored in the
CompactFlash card status (X1) does not CompactFlash card, it takes time to turn
Are there many files in the installed
turn ON, or it takes time to turn ON. X1 ON.
CompactFlash card?
• Delete unnecessary files from the
CompactFlash card.
9
(From the previous page)
XML MESSAGE
Table 10.20 Troubleshooting about the DB interface function
Symptom Checked item Corrective action
FORMAT
• Disable the write setting.
In the tag component where statistical Is there any setting that enables data
• Writing data to the tag component where
processing is set, the average, maximum or writing to the tag component where
minimum value to be calculated is reset. statistical processing is set?
statistical processing is set will reset the
statistical values.
10
TROUBLESHOOTING
Has an error occurred in [Error log] of
[Working log]? • If an error has occurred, identify the error
Section 7.12.5 Checking the cause and take corrective actions.
working log of the MES interface Section 10.2 Error Code List
module
When trigger conditions of a job with
[Startup logging] setting are met, is the
startup logged in [Event log] of [Working • If no startup data is logged, refer to the
log]? following:
APPENDICES
Section 7.12.5 Checking the Job will not start up.
working log of the MES interface
module
If the startup log is identified in the above
case, is there an error in [Error log] of
• If an error has occurred, identify the error
[Working log]?
cause and take corrective actions.
Section 7.12.5 Checking the
Section 10.2 Error Code List
working log of the MES interface
module
INDEX
In [Change job status] of [Remote • Enable writing to the database.
Values will not be stored in the database. operation], is [Disable writing to database] Section 7.13.4 Changing the job
set? status
• If an error has occurred, identify the error
Has an error occurred in the access log of
cause and take corrective actions.
DB Connection Service?
Section 10.2 Error Code List
• Unlock them on the database and
Are the relevant records or table locked on
execute it.
the database when inserting or updating
If they are locked, the execution is
data?
delayed until they are unlocked.
In [Connection result of previous job • If "Disconnected" is displayed, correct
execution] of [Remote operation], is the setting of [Server service settings].
"Connected" displayed under [Result]? Section 7.9.1 Setting items in
Section 7.13.3 Checking the Server Service setting
connection of the previous job • Check the network connection route to
execution the database server computer.
Is the [Database type] setting in [Server
service settings] of MES Interface Function
Configuration Tool correct? • Set the database being used.
Section 7.9.1 Setting items in
Server Service setting
9
(From the previous page)
XML MESSAGE
Table 10.20 Troubleshooting about the DB interface function
Symptom Checked item Corrective action
FORMAT
Has an error occurred in [Error log] of
[Working log]? • If an error has occurred, identify the error
Section 7.12.5 Checking the cause and take corrective actions.
10
working log of the MES interface Section 10.2 Error Code List
TROUBLESHOOTING
module
• Correct the [Trigger conditions].
Section 7.10.2 Setting items in
Did the [Trigger conditions] change from
Trigger conditions
false to true completely?
• Start the job when the [Trigger
conditions] change from false to true.
• Correct the [Trigger conditions].
Section 7.10.2 Setting items in
Did the [Combination] of [Trigger
Trigger conditions
conditions] change from false to true
APPENDICES
• Start the job when the [Combination] of
completely?
[Trigger conditions] change from false to
true.
When [Value monitoring startup] is set for • Increase the time for the monitoring
[Trigger conditions], is the time for the target device value change. (Latch it in
monitoring target device value change long the sequence program.)
enough for the sampling interval of the • Shorten the sampling interval of the
device tag? device tag.
Section 7.10.2 (6) Value monitoring Section 7.8.1 Setting items in
INDEX
startup Device Tag setting
Job will not start up. • Enable the job.
Section 7.13.4 Changing the job
status
In [Change job status] of [Remote • To enable the job at startup of the
operation], is the job set to be disabled? module, select [Job settings] - [Enable at
module startup].
Section 7.10.1 Setting items in Job
setting
• Terminate the job that is in execution, or
use another [Server service settings]
item.
Is there any other job that is being Section 7.9 Server Service Setting
executed? • If a job uses the same [Server service
settings] item that is currently used for
another job, the job is not executed until
another job execution is completed.
• If an error has occurred, identify the error
cause and take corrective actions.
Section 10.2 Error Code List
Has an error or job cancellation occurred • When the job uses a tag component for
during job execution? which [Moving average], [Moving
maximum] or [Moving minimum] is
specified, check if sampling for the
specified number of times is completed.
9
(5) Troubleshooting about the XML processing function
XML MESSAGE
Table 10.21 Troubleshooting about the XML processing function
FORMAT
Symptom Checked item Corrective action
• When "Stopped" is displayed, execute
The XML processing function does not Is "Running" displayed in the status [Restart] from [Remote operation]. 10
work. indication area of [Remote operation]? Alternatively, turn the power OFF and
TROUBLESHOOTING
then ON, or reset the PLC CPU.
APPENDICES
synchronization setting
INDEX
APPENDICES
9
Appendix 1.2 Characters available for item names, component names,
variable names, etc.
XML MESSAGE
FORMAT
(1) ASCII characters
The shaded sections can be used.
(However, neither a number nor an underscore ( _ ) can be used as the first 10
character.)
TROUBLESHOOTING
Table App.2 ASCII characters
0 1 2 3 4 5 6 7 8 9
0 NUL (SP) 0 @ P ` p
1 ! 1 A Q a q
2 “ 2 B R b r
3 # 3 C S c s
4 $ 4 D T d t
5 % 5 E U e u
APPENDICES
6 & 6 F V f v
7 ' 7 G W g w
8 ( 8 H X h x
9 ) 9 I Y i y
A * : J Z j z
B + ; K [ k {
C , < L ¥ l |
D - = M ] m }
E . > N ^ n ~
INDEX
F / ? O _ o
Appendix 1.4 Characters available for field names, table names, etc.
Table App.5 Characters can be used in field names, table names, etc.
0 1 2 3 4 5 6 7 8 9
0 NUL (SP) 0 @ P ` p
1 ! 1 A Q a q
2 “ 2 B R b r
3 # 3 C S c s
4 $ 4 D T d t
5 % 5 E U e u
6 & 6 F V f v
7 ' 7 G W g w
8 ( 8 H X h x
9 ) 9 I Y I y
A * : J Z j z
B + ; K [ k {
C , < L ¥ l |
D - = M ] m }
E . > N ^ n ~
F / ? O _ o
9
Appendix 2 Setting Information File Format (CSV File Format)
XML MESSAGE
This section explains the format of CSV files (Setting information files) created by
FORMAT
exporting the project settings with the MES Interface Function Configuration Tool.
Section 7.4.6 Exporting a CSV file
Exported setting information files can be utilized for creating setting sheets or printing. 10
TROUBLESHOOTING
Appendix 2.1 Setting information files list
APPENDICES
[System setting] - [Time synchronization setting]
ACCOUNT.CSV *1 [System setting] - [Account setting] Appendix 2.4
DBBUF.CSV [System setting] - [DB buffering settings] Appendix 2.5
CPU.CSV *1 [Access target CPU settings] Appendix 2.6
*1 [Device tag settings] Appendix 2.7
TAG.CSV
*1 [Device tag settings] - [Component setting] Appendix 2.8
COMPONENT.CSV
SERVER.CSV [Server service settings] Appendix 2.9
[Job settings]
JOB.CSV Appendix 2.10
INDEX
[Job settings] - [DB buffering settings]
CONDITION.CSV [Job settings] - [Trigger conditions] Appendix 2.11
ACTION.CSV [Job settings] - [Action] Appendix 2.12
ACFIELD.CSV [Communication action] - [DB-tag link settings] Appendix 2.13
ACCONDITION.CSV [Communication action] - [Select/Update conditions] Appendix 2.14
ACEXCEPTION.CSV [Communication action] - [Exception processing] Appendix 2.15
ACOPERATION.CSV [Operation action] Appendix 2.16
REMOTE.CSV [Job settings] - [Program execution] Appendix 2.17
*1 Saved information setting file can be imported.
Section 7.4.5 Importing a CSV file
This section explains the setting information file format and editing precautions.
This section shows with an example in which the setting information file is displayed with
spreadsheet software.
NWTYPE LAN
IPTYPE SPECIFY
IPADDRESS
SUBNET
GATEWAY
File format
SNTPADDRESS
TIMEZONE
(b) Type made up of label columns, item columns, and setting areas
Table App.8 Type made up of label columns, item columns, and setting areas
Item Description
9
(2) Precautions for editing setting information files
XML MESSAGE
For details on how to edit setting information files and setting information files that can
FORMAT
be imported, refer to *1 below.
Appendix 2.1 Setting information files list
10
Point
TROUBLESHOOTING
(1) When editing a setting information file using such as spreadsheet software,
change the setting items to match the setting information file formats,
explained starting from the following descriptions.
(2) When editing a setting information file, make sure to use the exported setting
information file.
A setting information file must not be created by the user.
APPENDICES
(a) Space
All spaces are treated as a part of the item.
If a space is used with a setting item in which a space cannot be used, an error
will occur.
INDEX
1) "Line feed"
To input a "Line feed", enter "\n".
(Example) An error occurred in Line A. \n Execute recovery processing.
2) "\" mark
To input "\", enter "\\".
3) "," comma
When inputting a ",", enclose the entire item in double quotation marks.
(However, at the use of Excel, double quotations do not need to be entered
since they are added automatically when the data is saved in CSV format.)
(Example) "As the temperature was abnormal, the machine stopped"
Indicates the
corresponding setting.
Shows settings
corresponding to the label
columns and item rows in
the file format and
explanations for them.
9
Appendix 2.3 SYSTEM.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.9 File format
Item Description
File name SYSTEM.CSV
10
TROUBLESHOOTING
• [System setting] - [Network settings] Section 7.6.1 Setting items in Network setting
File contents • [System setting] - [Time synchronization setting] Section 7.6.2 Setting items in Time
synchronization setting
NWTYPE LAN
IPTYPE SPECIFY
1 IPADDRESS 192.168.3.3
2 SUBNET 255.255.255.0
3 GATEWAY
DNSTYPE SPECIFY
APPENDICES
DNS1
DNS2
HTTPTYPE DEFAULT
HTTPPORT
HTTPNAT NO
FTPTYPE DEFAULT
FTPPORT
FTPNAT NO
SYSTEMNAME QJ71MES96
DIAGNOSIS NO
INTERVAL
INDEX
DESTINATION
EDEVICE
STARTUP YES
4 SNTP PLC
5 SNTPADDRESS
6 TIMEZONE
7 DBBUFSIZE 64
[System setting]
5 6
(2) Label
Table App.10 Label
Label Description Setting value
— NWTYPE (Fixed value) [LAN]
— IPTYPE (Fixed value) [SPECIFY]
9
Appendix 2.4 ACCOUNT.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.11 File format
Item Description
File name ACCOUNT.CSV
10
TROUBLESHOOTING
File contents [System setting] - [Account setting] Section 7.6.3 Setting items in Account setting
2 3
APPENDICES
INITIAL FILENAME
TOP
TOP
1)
TOP
File format TOP
Item row : Change disabled.
Label column, setting area : Can be changed by the user.
INDEX
[System setting]
1
2
3
(2) Label
Table App.12 Label
Label Description
ACCOUNT1 to Set [Account setting] items No. 1 to 16.
1 ACCOUNT16 Enter only the labels desired to be set. (Unnecessary to enter labels not to be set.)
*1
3 PASSWORD Password 8 to 14 characters
— DWRITE (Fixed value) [YES]
— TWRITE (Fixed value) [YES]
— ADMINISTRATOR (Fixed value) [YES]
— INITIAL (Fixed value) [TOP]
— FILENAME (Fixed value) (Blank)
*1 For characters can be used in user names and passwords, refer to the following.
Appendix 1.3 Characters available for character string constants, etc.
*2 If the same user name already exists, the existing name is overwritten.
If the same user name is set multiple times, the setting of the label with the higher number is
overwritten.
9
Appendix 2.5 DBBUF.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.14 File format
Item Description
File name DBBUF.CSV
10
TROUBLESHOOTING
File contents [System setting] - [DB buffering settings] Section 7.6.4 Setting items in DB buffering setting
7 8
APPENDICES
Item row
File format Label column, setting area
[System setting] 7 8
1
2
5
INDEX
6
3
4
(2) Label
Table App.15 Label
Label Description
2 3 4 5 6
7 8 9 10 11 12 13
2 3
1)
3 1 CCLINK 20 2
40 4
Item row : Change disabled.
Label column, setting area : Can be changed by the user.
File format
2
1 3
4
5
6
7
8
9
10
11
12
13
9
(2) Label
XML MESSAGE
Table App.18 Label
FORMAT
Label Description
Set [Access target CPU settings] items No. 1. (Setting required)
CPU1
Only [CPUNAME] can be set. (Other setting items are disabled.)
1 Set [Access target CPU settings] items No. 2 to 64.
10
CPU2 to CPU64
Enter only the labels desired to be set. (Unnecessary to enter labels not to be set.)
TROUBLESHOOTING
(3) Setting item
Table App.19 Setting item
Item Description Setting value
*1 *2
2 CPUNAME CPU name Up to 16 characters
QCPU (Q mode) [QCPU]
QCPU (A mode) [QCPUA]
3 SERIES PLC series
QnACPU [QNACPU]
APPENDICES
ACPU [ACPU]
No specification [NO]
When [QCPU] is CPU No. 1 [1]
selected with CPU No. 2 [2]
Multiple CPU
4 MULTI CPU
specification
SERIES CPU No. 3 [3]
CPU No. 4 [4]
When other than the above is selected
(Blank)
with SERIES
No specification *3 [NO]
Other station
INDEX
5 OTHER STATION
specification
Other station (Single network) [SINGLE]
Other station (Different network) [DIFFERENT]
When [SINGLE] or NET/10(H) [NET10]
[DIFFERENT] is CC-Link [CCLINK]
selected with Ethernet [ETHERNET]
9
Appendix 2.7 TAG.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.20 File format
Item Description
File name TAG.CSV
10
TROUBLESHOOTING
File contents [Device tag settings] Section 7.8.1 Setting items in Device Tag setting
2 3 4 5 6
APPENDICES
COMPNUM
64
20
1)
48
File format 10
INDEX
2 5
1 4 6
3
(2) Label
Table App.21 Label
Label Description
Set [Device tag settings] items No. 1 to 64.
1 TAG1 to TAG64
Enter only the labels desired to be set. (Unnecessary to enter labels not to be set.)
*1 For characters can be used in device tag names, refer to the following.
Appendix 1.2 Characters available for item names, component names, variable names, etc.
*2 A name same as a server service name cannot be set.
Make the setting causes an error.
*3 If the same device tag name already exists, the setting of the label with the higher number is
overwritten.
*4 Registration of [High-speed sampling] is limited to one tag only.
Setting multiple tags for high-speed sampling causes an error.
9
Appendix 2.8 COMPONENT.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.23 File format
Item Description
File name COMPONENT.CSV
10
TROUBLESHOOTING
File contents [Device tag settings] - [Component setting] Section 7.8.2 Setting items in Component setting
2 3 4 5
APPENDICES
6 7 8
INDEX
[Device Tag setting]
2 3
5 4
6
7 8
(2) Label
Table App.24 Label
Label Description
• Set [Device tag settings] items No. 1 to 64 - [Component setting] items No. 1 to 256.
COMPONENT64-256
Indicates [Component setting] No.1 to 256.
COMPONENT1-1 to Indicates [Device Tag setting] No.1 to 64.
1 COMPONENT64-256
• Necessary to set the number of labels set with TAG.CSV [COMPNUM]
The label setting following it are ignored.
(Example) When TAG.CSV label [TAG5] has [COMPNUM] of 10
COMPONENT.CSV must set labels COMPONENT5-1 to COMPONENT5-10.
*1 For characters can be used for component names, refer to the following:
Appendix 1.2 Characters available for item names, component names, variable names, etc.
*2 If the same component name already exists in the same item (Tag), the existing name is
overwritten.
Also, if the same component name is set multiple times in the same item (Tag), the setting of the
label with the higher number is overwritten.
*3 Specify [Access target CPU settings] No. that is set in the CPU.CSV label.
Specifying [Access target CPU settings] No. that is not set in CPU.CSV causes an error.
*4 Setting a device that does not exist causes an error.
Setting a device that does not match the data type causes an error.
If the total of device points is set greater than 96 at [High-speed sampling] selection, this causes
an error.
9
Appendix 2.9 SERVER.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.26 File format
Item Description
File name SERVER.CSV
10
TROUBLESHOOTING
File contents [Server service settings] Section 7.9.1 Setting items in Server Service setting
2 3 4 5 6
APPENDICES
7 8 9 10 11 12
Item row
Label column, setting area
INDEX
File format
[Server Service setting]
1 3
4
5
6
7
8
9
10
11 12
(2) Label
Table App.27 Label
Label Description
SERVER1 to
1 SERVER32
[Server service settings] No. 1 to 32
11 DEVICETAG Tag 1 to 64
9
Appendix 2.10 JOB.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.29 File format
Item Description
File name JOB.CSV
10
TROUBLESHOOTING
• [Job settings] Section 7.10.1 Setting items in Job setting
• [Job settings] - [DB Buffering] Section 7.10.4 Setting items in DB Buffering
File contents
• [Job settings] - [Notify errors (job cancellation) that occur during job execution]
Section 7.10.5 Setting items for job cancellation
2 3 4 5 6
APPENDICES
1)
JOB3 Monitoring status ENABLE DISABLE ENABLE DISABLE
JOB4 Product management 2 DISABLE ENABLE DISABLE ENABLE
7 8 9
INDEX
DISABLE 7 DISABLE
10 11 12
Item row
Label column, setting area
[Job setting]
2 3
4
8 6
1
10 11 12
(2) Label
Table App.30 Label
Label Description
10 CANCELTAG Tag 1 to 64
9
Appendix 2.11 CONDITION.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.32 File format
Item Description
File name CONDITION.CSV
10
TROUBLESHOOTING
File contents [Job settings] - [Trigger conditions] Section 7.10.2 Setting items in Trigger conditions
2 3 4 5 6 7 8
ITEM TYPE YEAR MONTH DAY WEEK HOUR MINUTE
CONDITION1-1 SCHEDULING 31 17 30
CONDITION1-2 NONE
1)
CONDITION2-1 TIMER
CONDITION2-2 VALUE
1
APPENDICES
9 10 11 12 13
SECOND TIMER MONITORTAG MONITORELEMENT COMPARECONDITION
0
1) 2)
60
1 5 GREATERTHAN
14 15 16 17
COMPARETYPE COMPARETAG COMPAREELEMENT COMPAREEVAL
INDEX
File format
2) 3)
VALUE 3000
18 19 20
HANDSHAKESTARTTAG HANDSHAKESTARTELEMENT HANDSHAKEENDTAG
3) 4)
21
HANDSHAKEENDELEMENT
4)
Item row
Label column, setting area
[Job setting]
3 4 5 7 8
6
File format
(Continued)
10 11 12 13 14 15 16
17 18
19 20
(2) Label
Table App.33 Label
Label Description
[Job settings] No. 1 to 64 - [Trigger conditions] - 1: [Trigger 1], 2: [Trigger 2]
CONDITION1-1 to CONDITION64-2
1 CONDITION64-2 Indicates 1: [Trigger 1], 2: [Trigger 2].
Indicates [Job setting] No.1 to 64.
9
(3) Setting item
XML MESSAGE
Table App.34 Setting item
FORMAT
Item Description Setting value
Disable [NONE]
Time specification startup [SCHEDULING] 10
Fixed scan interval [TIMER]
TROUBLESHOOTING
2 TYPE Condition type
Value monitoring startup [VALUE]
At module startup [UNITSTART]
Handshake operation [HANDSHAKE]
When [SCHEDULING] is selected with TYPE 1000 to 9999
3 YEAR Year
When other than the above is selected with TYPE (Blank)
When [SCHEDULING] is selected with TYPE 1 to 12
4 MONTH Month
When other than the above is selected with TYPE (Blank)
When [SCHEDULING] is selected with TYPE 1 to 31
5 DAY Day
When other than the above is selected with TYPE (Blank)
APPENDICES
When [SCHEDULING] is selected with TYPE 0 to 127 (Decimal) *1
6 WEEK Day of the week
When other than the above is selected with TYPE (Blank)
When [SCHEDULING] is selected with TYPE 0 to 23
7 HOUR Hour
When other than the above is selected with TYPE (Blank)
When [SCHEDULING] is selected with TYPE 0 to 59
8 MINUTE Minute
When other than the above is selected with TYPE (Blank)
— SECOND (Fixed value) (Blank)
When [TIMER] is selected with TYPE 1 to 32767
9 TIMER Period
When other than the above is selected with TYPE (Blank)
INDEX
When [VALUE] is selected with TYPE 1 to 64
10 MONITORTAG Tag
When other than the above is selected with TYPE (Blank)
When [VALUE] is selected with TYPE 1 to 256
11 MONITORELEMENT Component
When other than the above is selected with TYPE (Blank)
= [EQUAL]
[NOTEQUAL]
When [VALUE] [LESSTHANEQUAL]
12 COMPARECONDITION Condition is selected with TYPE [GREATERTHANEQUAL]
< [LESSTHAN]
> [GREATERTHAN]
When other than the above is selected with TYPE (Blank)
Tag [TAG]
When [VALUE]
13 COMPARETYPE Tag/type is selected with TYPE
Constant [VALUE]
*1 The setting value for the day of the week is expressed in decimal numbers.
For the setting value contents, check with the method below.
1) Convert a decimal number to a binary number.
2) Each binary bit is the setting contents for the day of the week.
b6 b5 b4 b3 b2 b1 b0
Sunday Saturday Friday Thursday Wednesday Tuesday Monday
85 (Decimal number)
b6 b5 b4 b3 b2 b1 b0
1 0 1 0 1 0 1
9
Appendix 2.12 ACTION.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.36 File format
Item Description
File name ACTION.CSV
10
TROUBLESHOOTING
File contents [Job settings] - [Action] Section 7.11 Job Setting - Actions
2 3 4
APPENDICES
CONDNUM EXCEPTNUM OPENUM
1 1
1 1
1)
5
Item row
Label column, setting area
INDEX
[Job setting]
File format
1
[Communication action]
3 4
[Operation action]
2
(2) Label
Table App.37 Label
Label Description
[Job settings] No. 1 to 64 - [Action] No. 1 to 10
ACTION1-1 to
1 ACTION64-10
ACTION64-10
Indicates [Action] No.1 to 10.
Indicates [Job setting] No.1 to 64.
9
Appendix 2.13 ACFIELD.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.39 File format
Item Description
File name ACFIELD.CSV
10
TROUBLESHOOTING
[Communication action] - [DB-tag link settings] Section 7.11.1 Setting items in Communication
File contents
action
2 3 4 5 6
APPENDICES
Item row
File format Label column, setting area
[Communication action]
INDEX
2 3 4 5 6
(2) Label
Table App.40 Label
Label Description
[Job settings] No. 1 to 64 - [Action] No. 1 to 10 - [DB-tag link settings] No. 1 to 256
FIELD64-10-256
FIELD1-1-1 to
1 FIELD64-10-256 Indicates [DB-Tag link setting] No.1 to 256.
Indicates [Action] No.1 to 10.
Indicates [Job setting] No.1 to 64.
Tag [TAG]
Date [DATE]
Date string [DATESTR]
3 TYPE Constant type Numerical value [NUMBER]
Character string [STRING]
Variable [VARIABLE]
None [NONE]
When [TAG] is selected with TYPE 1 to 64
4 TAG Tag When other than the above is selected
(Blank)
with TYPE
When [TAG] is selected with TYPE 1 to 256
5 ELEMENT Component When other than the above is selected
(Blank)
with TYPE
When [TAG] is selected with TYPE (Blank)
When [DATE] is Server time [SERVER]
selected with
Unit time [UNIT]
TYPE
When [DATESTR] is selected with
Character string valid as a date
TYPE
6 VALUE Constant value
When [NUMBER] is selected with
Numerical value
TYPE
When [STRING] is selected with TYPE Any character string
When [VARIABLE] is selected with
Variable name
TYPE
When [NONE] is selected with TYPE (Blank)
9
Appendix 2.14 ACCONDITION.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.42 File format
Item Description
File name ACCONDITION.CSV
10
TROUBLESHOOTING
File contents [Communication action] - [Select/Update conditions] Section 7.11.1 (5) Select/Update conditions
2 3 4 5 6 7
1
Item row
APPENDICES
File format Label column, setting area
[Communication action]
2 4 3 5 6 7
INDEX
(2) Label
Table App.43 Label
Label Description
[Job settings] No. 1 to 64 - [Action] No. 1 to 10 - [Select/Update conditions] No. 1 to 8
CONDITION1-1-1 to CONDITION64-10-8
1 CONDITION64-10-8 Indicates [Select/Update conditions] No.1 to 8.
Indicates [Action] No.1 to 10.
Indicates [Job setting] No.1 to 64.
Tag [TAG]
Date [DATE]
Date string [DATESTR]
3 TYPE Constant type Numerical value [NUMBER]
Character string [STRING]
Variable [VARIABLE]
None [NONE]
= [EQUAL]
[NOTEQUAL]
Select/Update [LESSTHANEQUAL]
4 COMPARE
conditions [GREATERTHANEQUAL]
< [LESSTHAN]
> [GREATERTHAN]
When [TAG] is selected with TYPE 1 to 64
5 TAG Tag When other than the above is selected
(Blank)
with TYPE
When [TAG] is selected with TYPE 1 to 256
6 ELEMENT Component When other than the above is selected
(Blank)
with TYPE
When [TAG] is selected with TYPE (Blank)
When [DATE] is Server time [SERVER]
selected with
Unit time [UNIT]
TYPE
When [DATESTR] is selected with
Character string valid as a date
TYPE
7 VALUE Constant value
When [NUMBER] is selected with
Numerical value
TYPE
When [STRING] is selected with TYPE Any character string
When [VARIABLE] is selected with
Variable name
TYPE
When [NONE] is selected with TYPE (Blank)
9
Appendix 2.15 ACEXCEPTION.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.45 File format
Item Description
File name ACEXCEPTION.CSV
10
TROUBLESHOOTING
[Communication action] - [Exception processing]
File contents • Section 7.11.1 (6) Exception processing: No applicable record
• Section 7.11.1 (7) Exception processing: Multiple applicable records
2 3 4 5 6 7
APPENDICES
1
Item row
Label column, setting area
File format
[Communication action]
INDEX
1
2
4
3
5 6 7
(2) Label
Table App.46 Label
Label Description
[Job settings] No. 1 to 64 - [Action] No. 1 to 10 - 1: [Exception processing: No applicable record], 2:
[Exception processing: Multiple applicable records]
EXCEPTION1-1-1 to EXCEPTION64-10-2
1 EXCEPTION64-10-2
Indicates 1: [Exception processing: No applicable record],
2: [Exception processing: Multiple applicable records].
Indicates [Action] No.1 to 10.
Indicates [Job setting] No.1 to 64.
5 TAG Tag 1 to 64
9
Appendix 2.16 ACOPERATION.CSV
XML MESSAGE
(1) File format
FORMAT
Table App.48 File format
Item Description
File name ACOPERATION.CSV
10
TROUBLESHOOTING
File contents [Operation action] Section 7.11.2 Setting items in Operation action
2 3 4 5
APPENDICES
6 7 8 9 10 11
12 13 14
File format IN2TAG IN2ELEMENT INPUT2
1 2
INDEX
100
2)
50
15 2
Item row
Label column, setting area
[Operation action]
1
2 3 4 5 6 7 8 9 11 12 13 14
10
(2) Label
Table App.49 Label
Label Description
[Job settings] No. 1 to 10 - [Action] No. 1 to 10 - [Operation action] No. 1 to 20
OPERATION1-1-1 to OPERATION64-10-20
1 OPERATION64-10-20 Indicates [Operation action] No.1 to 20.
Indicates [Action] No.1 to 10.
Indicates [Job setting] No.1 to 64.
9
(From the previous page)
XML MESSAGE
Table App.50 Setting item
Item Description Setting value
FORMAT
When [NONE] is selected with OPERATION (Blank)
Tag [TAG]
Input 2
Date string [DATESTR]
10
11 IN2CONSTTYPE
Constant type
When other than the above is Numerical value [NUMBER]
TROUBLESHOOTING
selected with OPERATION Character string [STRING]
Variable [VARIABLE]
None [NONE]
When [NONE] is selected with OPERATION (Blank)
When [TAG] is selected with
1 to 64
IN2CONSTTYPE
12 IN2TAG Input 2 Tag When other than the above is
When other than the above is
selected with OPERATION
selected with (Blank)
IN2CONSTTYPE
APPENDICES
When [NONE] is selected with OPERATION (Blank)
When [TAG] is selected with
1 to 256
Input 2 IN2CONSTTYPE
13 IN2ELEMENT
Component
When other than the above is
When other than the above is
selected with OPERATION
selected with (Blank)
IN2CONSTTYPE
When [NONE] is selected with OPERATION (Blank)
When [TAG] is selected
(Blank)
with IN2CONSTTYPE
INDEX
When [DATESTR] is selected Character string valid
with IN2CONSTTYPE as a date
When [NUMBER] is selected
Numerical value
14 INPUT2 Input 2 Variable When other than the above is with IN2CONSTTYPE
selected with OPERATION When [STRING] is selected
Any character string
with IN2CONSTTYPE
When [VARIABLE] is selected
Variable name
with IN2CONSTTYPE
When [NONE] is selected
(Blank)
with IN2CONSTTYPE
2 3 4
5 6 7 8 9
10 11 12
Item row
Label column, setting area
5
8 9 10
6
11
12
9
(2) Label
XML MESSAGE
Table App.52 Label
FORMAT
Label Description
[Job settings] No. 1 to 64 - 1: [Before actions], 2: [After actions]
10
REMOTEEXEC1-1 to REMOTEEXEC64-2
TROUBLESHOOTING
1 REMOTEEXEC64-2
Indicates 1: [Before actions], 2: [After actions].
Indicates [Job setting] No.1 to 64.
APPENDICES
Execute program before When enabled [ENABLE]
2 REMOTEEXEC
(after) action When disabled [DISABLE]
INDEX
Write the value into the tag When enabled [ENABLE]
7 ERRORWRITE
when the value is faulty When disabled [DISABLE]
8 ERRORTAG Tag 1 to 64
This section explains the processing time required for "communication action" as a result
of measurements made under the conditions shown in (1).
The processing time can be lengthened, however, depending on any of the following
factors:
• The load status of the server computer and the network
• Sequence scan time
• The status of access from a personal computer, terminal display, or intelligent
function module to the PLC CPU
• Access from a personal computer by MES Interface Function Configuration Tool
and XML processing
• Settings of the MES interface module
Use the measurement result shown in (2) as reference of the processing time.
9
(2) Measurement results
XML MESSAGE
(a) When [Enhance sampling efficiency] is checked
FORMAT
The following shows the results in the case where the [Enhance sampling
efficiency] box is checked in [Sampling settings] of [Device tag settings].
10
Table App.55 Measurement results when [Enhance sampling efficiency] is checked
TROUBLESHOOTING
No. of fields 16 64 256 1024 4096
Select 0.2s 0.3s 0.9s 3.21s 13.5s
Update
0.2s 0.2s 0.5s 1.4s 5.2s
Insert
APPENDICES
Table App.56 Measurement results when [Enhance sampling efficiency] is not checked
No. of fields 16 64 256 1024 4096
Select 0.2s 0.3s 0.9s 3.2s 13.5s
Update
0.2s 0.3s 1.0s 3.5s 15.0s
Insert
INDEX
This section shows the external dimension diagrams of the MES interface module.
QJ71MES96
RUN
ERR.
PULL
CF CARD
10BASE-T/
100BASE-TX
100
M
(3.86)
SD/
98
RD
R1
(*1)
QJ71MES96
90 27.4
(3.54) (1.08)
(0.55)
14
PULL
CF CARD
10BASE-T/
100BASE-TX
100
M
SD/
RD
QJ71MES96
(Unit: mm (inch))
Figure App.4 External dimensions
*1 The bending radius near the connector (R1: yardstick) should be at least four times longer than the
cable's outside diameter when the twisted pair cable is connected.
9
Appendix 5 Data Collection Method for CPUs that cannot be
Accessed Directly
XML MESSAGE
FORMAT
This section explains the method for collecting data from CPUs that cannot be accessed
directly (hereafter, explained with the Motion CPU).
10
TROUBLESHOOTING
(1) Auto refresh using CPU shared memory in a multiple CPU system
By performing auto refresh between the QCPU and Motion CPU in the multiple CPU
system, device data in the Motion CPU can be read to the QCPU.
Registering device data read to the QCPU with tags enables to handle the device data
in the Motion CPU.
APPENDICES
with [PLC parameter] - [Multiple CPU settings] - [Refresh settings] of GX Developer.
For auto refresh settings, refer to the following manual.
QCPU User's Manual (Multiple CPU System)
INDEX
MES interface
module
CPU (No.1)
Motion CPU (CPU No.2)
Figure App.5 System configuration
Appendix 5 Data Collection Method for CPUs that cannot be Accessed Directly App - 44
APPENDICES
Figure App.6 [Refresh settings] for the Motion CPU (CPU No. 2)
00FF
Component D256 D256
Component
Component D511 D511
App - 45 Appendix 5 Data Collection Method for CPUs that cannot be Accessed Directly
APPENDICES
9
Appendix 6 Transportation Precautions
XML MESSAGE
When transporting a battery containing lithium, handling according to transportation
FORMAT
regulations is required.
TROUBLESHOOTING
The lithium battery used in the MES interface module is classified as follows.
APPENDICES
Appendix 6.2 Handling for shipping
The products are packed in accordance with transportation regulations before shipment.
When transporting products after repacking or unpacking them, make them comply with
the IATA Dangerous Goods Regulations, IMDG Code, and national transportation
regulations.
For details, consult with the shipping carrier.
INDEX
[D] [R]
[H] [T]
HTTP .............................................................A-16,9-4 Test mode............................................................ 7-49
Time synchronization................................... 6-23,7-19
[I] Time zone ....................................................A-17,7-19
Insert action ......................................................... 7-76 Transfer setup...................................................... 7-89
IP filter ........................................................... 8-3,8-16 Trigger buffering ..................................................A-17
function............................................................... 6-7
setting............................................................... 7-47
[J]
Status ............................................................. 7-107
Job ....................................................................... A-17 Trigger condition ..................................................A-17
job .......................................................... 6-1,7-46,7-67 trigger condition ..................................................... 6-6
Index - 1
trigger conditions ................................................. 7-50
9
[U]
Update action ...................................................... 7-75
XML MESSAGE
Update settings.................................................. 7-102
FORMAT
URL ............................................................... A-16,9-4
[V]
10
Variable ...............................................A-17,7-79,7-87
TROUBLESHOOTING
Verify ................................................................... 7-92
[W]
Working log.......................................................... 7-93
Write .................................................................... 7-90
[X]
XML processing.....................................A-16,6-22,9-1
APPENDICES
INDEX
Index - 2
WARRANTY
Please confirm the following product warranty details before using this product.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
6. Product application
(1) In using the Mitsubishi MELSEC programmable logic controller, the usage conditions shall be that the application will not
lead to a major accident even if any problem or fault should occur in the programmable logic controller device, and that
backup and fail-safe functions are systematically provided outside of the device for any problem or fault.
(2) The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries,
etc. Thus, applications in which the public could be affected such as in nuclear power plants and other power plants
operated by respective power companies, and applications in which a special quality assurance system is required, such
as for Railway companies or Public service purposes shall be excluded from the programmable logic controller
applications.
In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical
applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and safety
devices, shall also be excluded from the programmable logic controller range of applications.
However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi
representative outlining the special requirements of the project, and providing that all parties concerned agree to the
special circumstances, solely at the users discretion.
Microsoft, Windows, SQL server, Visual Studio are registered trademarks of Microsoft Corporation in the United States and
other countries.
Sun, Sun Microsystems, Java, J2ME and J2SE are either trademarks or registered trademarks of Sun Microsystems, Inc. in
the United States and other countries.
Oracle is a registered trademark of Oracle Corporation.
Adobe and Acrobat are registered trademarks of Adobe Systems Incorporation.
Pentium and Celeron are trademarks of Intel Corporation in the united States and other countries.
Ethernet is a trademark of Xerox Co., Ltd. in the United States.
CompactFlash is a trademark of SanDisk Corporation.
Other company names used in this document are trademarks or registered trademarks of respective owners.
VS-FlexGrid Pro 8.0J
Copyright (C) 2001-2003 ComponentOne LLC.
MITSUBISHI ELECTRIC
HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EURASIAN REPRESENTATIVES
MITSUBISHI ELECTRIC EUROPE B.V. EUROPE GEVA AUSTRIA INTEHSIS SRL MOLDOVA KAZPROMAUTOMATICS LTD. KAZAKHSTAN
Gothaer Straße 8 Wiener Straße 89 bld.Traian 23/1 2,Scladskaya str.
D-40880 Ratingen AT-2500 Baden MD-2060 Kishinev KAZ-470046 Karaganda
Phone:+49 (0)2102 / 486-0 Phone:+43 (0)2252 / 85 55 20 Phone:+373 (0)22 / 66 4242 Phone:+7 3212 / 50 11 50
Fax:+49 (0)2102 / 486-1120 Fax:+43 (0)2252 / 488 60 Fax:+373 (0)22 / 66 4280 Fax:+7 3212 / 50 11 50
MITSUBISHI ELECTRIC EUROPE B.V. FRANCE TEHNIKON BELARUS KONING & HARTMAN B.V. NETHERLANDS ELEKTROSTILY RUSSIA
25,Boulevard des Bouvets Oktyabrskaya 16/5, Off.704 Haarlerbergweg 21-23 Rubzowskaja nab.4-3,No.8
F-92741 Nanterre Cedex BY-220030 Minsk NL-1101 CH Amsterdam RU-105082 Moscow
Phone:+33 (0)1 / 55 68 55 68 Phone:+375 (0)17 / 210 46 26 Phone:+31 (0)20 / 587 76 00 Phone:+7 495 / 545 3419
Fax:+33 (0)1 / 55 68 57 57 Fax:+375 (0)17 / 210 46 26 Fax:+31 (0)20 / 587 76 05 Fax:+7 495 / 545 3419
MITSUBISHI ELECTRIC EUROPE B.V. IRELAND KONING & HARTMAN B.V. BELGIUM BEIJER ELECTRONICS A/S NORWAY ICOS RUSSIA
Westgate Business Park,Ballymount Woluwelaan 31 Teglverksveien 1 Industrial Computer Systems ZAO
IRL-Dublin 24 BE-1800 Vilvoorde NO-3002 Drammen Ryazanskij Prospekt,8A,Office 100
Phone:+353 (0)1 4198800 Phone:+32 (0)2 / 257 02 40 Phone:+47 (0)32 / 24 30 00 RU-109428 Moscow
Fax:+353 (0)1 4198890 Fax:+32 (0)2 / 257 02 49 Fax:+47 (0)32 / 84 85 77 Phone:+7 495 / 232 0207
MITSUBISHI ELECTRIC EUROPE B.V. ITALY AKHNATON BULGARIA MPL TECHNOLOGY SP.Z O.O. POLAND Fax:+7 495 / 232 0327
Viale Colleoni 7 4 Andrej Ljapchev Blvd.Pb 21 Ul.Krakowska 50 NPP “URALELEKTRA” RUSSIA
I-20041 Agrate Brianza (MI) BG-1756 Sofia PL-32-083 Balice Sverdlova 11A
Phone:+39 039 / 60 53 1 Phone:+359 (0)2 / 97 44 05 8 Phone:+48 (0)12 / 630 47 00 RU-620027 Ekaterinburg
Fax:+39 039 / 60 53 312 Fax:+359 (0)2 / 97 44 06 1 Fax:+48 (0)12 / 630 47 01 Phone:+7 343 / 353 2745
MITSUBISHI ELECTRIC EUROPE B.V. SPAIN INEA CR D.O.O. CROATIA SIRIUS TRADING & SERVICES SRL ROMANIA Fax:+7 343 / 353 2461
Carretera de Rubí 76-80 Losinjska 4 a Str.Biharia nr.67-77
E-08190 Sant Cugat del Vallés (Barcelona) HR-10000 Zagreb RO-013981 Bucuresti 1
Phone:+34 93 / 565 3131 Phone:+385 (0)1 / 36 940 - 01/ -02/ -03 Phone:+40 (0)21 / 201 1147 MIDDLE EAST REPRESENTATIVE
Fax:+34 93 / 589 1579 Fax:+385 (0)1 / 36 940 - 03 Fax:+40 (0)21 / 201 1148
MITSUBISHI ELECTRIC EUROPE B.V. UK AUTOCONTCONTROLSYSTEMSS.R.O. CZECH REPUBLIC CRAFT CONSULTING & ENGINEERING D.O.O. SERBIA ILAN & GAVISH LTD ISRAEL
Travellers Lane Jelinkova 59/3 Toplicina str.4 lok 6 24 Shenkar St.,Kiryat Arie
UK-Hatfield, Herts. AL10 8XB CZ-721 00 Ostrava Svinov SER-1800 Nis IL-49001 Petah-Tiqva
Phone:+44 (0)1707 / 27 61 00 Phone:+420 (0)59 / 5691 150 Phone:+381 (0)18 / 292-24-4/5 , 523 962 Phone:+972 (0)3 / 922 18 24
Fax:+44 (0)1707 / 27 86 95 Fax:+420 (0)59 / 5691 199 Fax:+381 (0)18 / 292-24-4/5 , 523 962 Fax:+972 (0)3 / 924 0761
MITSUBISHI ELECTRIC CORPORATION JAPAN B:TECH A.S. CZECH REPUBLIC INEA SR D.O.O. SERBIA TEXEL ELECTRONICS LTD. ISRAEL
Office Tower “Z”14 F Na Ostrove 84 Karadjordjeva 12/260 2 Ha´umanut,P.O.B.6272
8-12,1 chome,Harumi Chuo-Ku CZ - 58001 Havlickuv Brod SER-113000 Smederevo IL-42160 Netanya
Tokyo 104-6212 Phone:+420 (0)569 / 408 841 Phone:+381 (0)26 / 617 163 Phone:+972 (0)9 / 863 08 91
Phone:+81 3 622 160 60 Fax:+420 (0)569 / 408 889 Fax:+381 (0)26 / 617 163 Fax:+972 (0)9 / 885 24 30
Fax: +81 3 622 160 75 BEIJER ELECTRONICS A/S DENMARK AUTOCONT CONTROL S.R.O. SLOVAKIA
MITSUBISHI ELECTRIC AUTOMATION USA LAUTRUPHOJ 1-3 Radlinského 47
500 Corporate Woods Parkway DK-2750 Ballerup SK - 02601 Dolný Kubín AFRICAN REPRESENTATIVE
Vernon Hills, IL 60061 Phone:+45 (0)70 / 26 46 46 Phone:+421 (0)43 / 5868 210
Phone: +1 847 478 21 00 Fax:+45 (0)70 / 26 48 48 Fax:+421 (0)43 / 5868 210 CBI LTD. SOUTH AFRICA
Fax: +1 847 478 22 83 BEIJER ELECTRONICS EESTI OÜ ESTONIA CS MTRADE SLOVENSKO,S.R.O. SLOVAKIA Private Bag 2016
Pärnu mnt.160i Vajanskeho 58 ZA-1600 Isando
EE-11317 Tallinn SK - 92101 Piestany Phone:+ 27 (0)11 / 928 2000
Phone:+372 (0)6 / 51 81 40 Phone:+421 (0)33 / 7742 760 Fax:+ 27 (0)11 / 392 2354
Fax:+372 (0)6 / 51 81 49 Fax:+421 (0)33 / 7735 144
BEIJER ELECTRONICS OY FINLAND INEA D.O.O. SLOVENIA
Ansatie 6 a Stegne 11
FIN-01740 Vantaa SI-1000 Ljubljana
Phone:+358 (0)9 / 886 77 500 Phone:+386 (0)1 / 513 8100
Fax:+358 (0)9 / 886 77 555 Fax:+386 (0)1 / 513 8170
UTECO A.B.E.E. GREECE BEIJER ELECTRONICS AUTOMATION AB SWEDEN
5,Mavrogenous Str. Krangatan 4A
GR-18542 Piraeus S-20124 Malmö
Phone:+30 211 / 1206 900 Phone:+46 (0)40 / 35 86 00
Fax:+30 211 / 1206 999 Fax:+46 (0)40 / 35 86 02
MELTRADE LTD HUNGARY ECONOTEC AG SWITZERLAND
Fertõ utca 14. Hinterdorfstr.12
HU-1107 Budapest CH-8309 Nürensdorf
Phone:+36 (0)1 / 431-9726 Phone:+41 (0)44 / 838 48 11
Fax:+36 (0)1 / 431-9727 Fax:+41 (0)44 / 838 48 12
BEIJER ELECTRONICS SIA LATVIA GTS TURKEY
Lienes iela 28 Darulaceze Cad.No.43 KAT.2
LV-1009 Riga TR-34384 Okmeydani-Istanbul
Phone:+371 (0)784 / 2280 Phone:+90 (0)212 / 320 1640
Fax:+371 (0)784 / 2281 Fax:+90 (0)212 / 320 1649
BEIJER ELECTRONICS UAB LITHUANIA CSC AUTOMATION LTD UKRAINE
Savanoriu Pr.187 15,M.Raskova St.,Fl.10,Office 1010
LT-02300 Vilnius UA-02002 Kiev
Phone:+370 (0)5 / 232 3101 Phone:+380 (0)44 / 494 33 55
Fax:+370 (0)5 / 232 2980 Fax:+380 (0)44 / 494-33-66
MITSUBISHI
ELECTRIC Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Straße 8 /// D-40880 Ratingen /// Germany
FACTORY AUTOMATION Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-486112 /// info@mitsubishi-automation.de /// www.mitsubishi-automation.com
Specifications subject to change without notice /// Art. no. 204927-A /// 08.2006