SH 080654 Engi
SH 080654 Engi
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.
In this manual, the safety precautions are ranked as "DANGER" and "CAUTION".
DANGER
Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions,
resulting in medium or slight personal injury or physical damage.
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
Before performing the test operation, read this manual carefully to understand the operation
procedure.
Incorrect output or malfunctions may cause an accident.
When the security of the GOT and relevant information need to be protected against illegal access
from an external device via the Internet, take measures at the user's discretion.
Failure to do so may cause the configured information to be read out illegally.
A-1
REVISION
* The manual number is given on the bottom left of the back cover.
Print date * Manual number Revision
Nov., 2006 SH(NA)-080654ENG-A First edition
Feb., 2007 SH(NA)-080654ENG-B Compatible with GT Designer2 Version2.47Z
Partial additions
Section 3.3, Section 3.4.1, Section 3.4.2, Section 7.2, Section 7.2.5
Partial corrections
Section 1.2, 2.3, 2.4.2, 2.5, 3.1, 5.3, 6.5, 6.5.1, 6.5.2, 6.6.1, 6.7, 6.7.1, 6.8, 6.8.1,
6.8.2, 6.9, 6.9.2, 6.10, 7.6, 7.8.1, 8.2.2, Section 6.10.1 to 6.10.5
Additions
Section 5.1.5, Section 6.10.6, Appendix 5
Section 5.1.5 to 5.1.8 Section 5.16 to 5.1.9
May, 2007 SH(NA)-080654ENG-C Compatible with GT Designer2 Version 2.58L
Partial additions
DEFINITIONS AND DESCRIPTIONS OF TERMS, Section 2.1.1, 2.4.2, 3.1, 3.2,
5.3, 6.6.1, 6.8.1, 6.10.3, 6.10.4, 7.2, 8.2, Appendix 5, 6, INDEX
Partial corrections
Section 6.5, 6.11.2, Appendix 2
Aug., 2007 SH(NA)-080654ENG-D Compatible with the GT Designer2 Version 2.63R
Partial additions
Section 2.1.1
Partial corrections
DEFINITIONS AND DESCRIPTIONS OF TERMS, Section 4.1, App. 5
Dec., 2007 SH(NA)-080654ENG-E Compatible with the GT Designer2 Version 2.73B
Partial additions
DEFINITIONS AND DESCRIPTIONS OF TERMS, Section 3.1, 3.3, 6.5.1, 6.6.1,
6.8, 6.11.2, 7.8
Partial additions
Section 5.1.6, 5.1.9, 6.7.1 to 6.7.3, 6.7.5, 6.8.1, 6.8.2, 6.9.2, 7.5, 7.8.1, 7.8.2
Additions
Section 6.5.2
Section 6.5.2 Section 6.5.3
Partial additions
Section 2.2.1, 6.8.1, 8.1
A -2
* The manual number is given on the bottom left of the back cover.
Print date * Manual number Revision
Jun., 2008 SH(NA)-080654ENG-G Compatible with the GT Designer2 Version 2.82L
Partial additions
Section 2.4.2, 3.1, 3.3, 5.1.1, 6.5.1, 6.5.3, 6.7.1, 6.8, 7.2, 8.2.1, 8.2.2
Additions
Section 5.1.8, Section 6.8.3, Appendix 3
Section 5.1.8 to 5.1.9 Section 5.1.9 to 5.1.10,
Appendix 4 to 5 Appendix 5 to 6
Oct., 2008 SH(NA)-080654ENG-H Compatible with the GT Designer2 Version 2.90U
Partial additions
Section 1.1, 2.3, 2.5, 3.2, 3.3, 4.1, 5.1.10, 6.7.1, 6.7.6, 6.9.2, 6.11.2, 8.1, 8.1.1,
8.2.1
Partial additions
Chapter 1, Section 2.2.1, 2.3, App.6
Dec., 2008 SH(NA)-080654ENG-I Compatible with the GT Designer2 Version 2.91V
Partial corrections
Section 2.2.1, 6.9.1
A-3
CAUTIONS FOR USE
(2) Option function board that supports the MES interface function
For the option function board that supports the MES interface function, refer to the fol-
lowing:
Section 2.3 Required Equipment, Software and Option OS
A -4
INTRODUCTION
Thank you for purchasing the Mitsubishi Graphic Operation Terminal (GOT).
Before using the GOT, please read this manual carefully to understand the features and performance for
correct handling.
CONTENTS
CHAPTER 1 OVERVIEW 1 - 1 to 1 - 7
1.1 Features........................................................................................................................................... 1 - 2
1.2 What is the MES Interface Function? .............................................................................................. 1 - 7
CHAPTER 3 SPECIFICATIONS 3 - 1 to 3 - 8
3.1 Performance Specifications ............................................................................................................. 3 - 1
3.2 GOT Devices Available for the MES Interface Function.................................................................. 3 - 3
3.3 Function List and Setting Item List................................................................................................... 3 - 4
3.4 GOT Internal Device (GS) ............................................................................................................... 3 - 6
3.4.1 GOT internal device list ............................................................................................................ 3 - 6
3.4.2 MES Interface Function area.................................................................................................... 3 - 6
A-5
4.2 Installation and Uninstallation .......................................................................................................... 4 - 4
A-6
6.10.2 Manipulating the MES Interface Function status (Operation) ................................................. 6 - 94
6.10.3 Changing the job status (Change job status) ......................................................................... 6 - 95
6.10.4 Checking the connection of the previous job execution (Connection result of previous job
execution) ............................................................................................................................... 6 - 97
6.10.5 Manipulating DB buffering (DB buffering operation)............................................................... 6 - 98
6.10.6 Checking the trigger buffering (Trigger buffering status) ........................................................ 6 - 99
6.11 Working Log................................................................................................................................. 6 - 100
6.11.1 MES Interface Execute Log.................................................................................................. 6 - 101
6.11.2 Job Execute Log................................................................................................................... 6 - 102
6.12 Precautions.................................................................................................................................. 6 - 107
CHAPTER 8 TROUBLESHOOTING 8 - 1 to 8 - 18
8.1 Error Handling and Recovery Method ............................................................................................. 8 - 1
8.1.1 MES Interface Function setting ................................................................................................ 8 - 3
8.1.2 When using DB Connection Service Setting Tool .................................................................... 8 - 5
8.2 Error Code List................................................................................................................................. 8 - 6
8.2.1 Error log in the Working log ...................................................................................................... 8 - 6
8.2.2 DB Connection Service .......................................................................................................... 8 - 10
Appendix 1 Usable Characters and ASCII Code Tables by Setting Items ............................................. App - 1
Appendix 1.1 ASCII code table .........................................................................................................App - 1
Appendix 1.2 Characters applicable to item names, component names, variable names, etc. ........App - 2
Appendix 1.3 Characters applicable to character string constants, etc............................................. App - 3
Appendix 1.4 Characters applicable to field names, table names, etc. ............................................. App - 3
Appendix 2 About Monitoring Interval Timeout....................................................................................... App - 4
Appendix 3 Warning Messages in Windows Vista(R) ............................................................................App - 7
Appendix 3.1 Overview of warning messages ..................................................................................App - 7
Appendix 3.2 Methods for disabling warning messages ................................................................... App - 7
Appendix 4 Tables for Used Terms ......................................................................................................App - 13
Appendix 5 Application Example of MES Interface Function ...............................................................App - 14
A-7
Appendix 6 List of Functions Added by MES Interface Function Version Upgrade..............................App - 17
A-8
ABOUT MANUALS
Manual number
Manual name
(Model code)
GT16 User's Manual
-Describes the GT16 hardware-relevant contents, including the specifications, part names, mounting, power
SH-080978ENG
supply wiring, external dimensions, and option devices.
(1D7M88)
-Describes the GT16 functions, including the utility.
(Sold separately)
GT15 User's Manual
-Describes the GT15 hardware-relevant contents, including the specifications, part names, mounting, power
SH-080528ENG
supply wiring, external dimensions, and option devices.
(1D7M23)
-Describes the GT15 functions, including the utility.
(Sold separately)
GT Designer2 Version2 Basic Operation/Data Transfer Manual (For GOT1000 Series)
Describes the GT Designer2 installation procedure, basic operations for drawing, and how to transfer data to the SH-080529ENG
GOT1000 series. (1D7M24)
(Sold separately)*1
GT Designer2 Version2 Screen Design Manual (For GOT1000 Series) 1/3
GT Designer2 Version2 Screen Design Manual (For GOT1000 Series) 2/3
SH-080530ENG
GT Designer2 Version2 Screen Design Manual (For GOT1000 Series) 3/3
Describe the specifications and setting details of each object function used in the GOT1000 series. (1D7M25)
(Sold separately)*1
GOT1000 Series Connection Manual 1/3
GOT1000 Series Connection Manual 2/3
SH-080532ENG
GOT1000 Series Connection Manual 3/3
Describe the system configurations available for the GOT1000 series and how to produce cables. (1D7M26)
(Sold separately)*1
GOT1000 Series Gateway Functions Manual
SH-080545ENG
Describes the gateway function specifications, system configurations, and setting method.
(1D7M33)
(Sold separately)*1
*1 The manual data in PDF format are included in the product of GT Works2 or GT Designer2.
A -9
ABBREVIATIONS AND GENERIC TERMS
A - 10
Communication unit
Option unit
A - 11
Option
Abbreviations and generic terms Description
GT05-MEM-16MC, GT05-MEM-32MC, GT05-MEM-64MC, GT05-MEM-128MC,
Memory card CF card
GT05-MEM-256MC, GT05-MEM-512MC, GT05-MEM-1GC, GT05-MEM-2GC
Memory card adaptor GT05-MEM-ADPC
GT16-MESB, GT15-FNB, GT15-QFNB, GT15-QFNB16M,
Option function board
GT15-QFNB32M, GT15-QFNB48M, GT15-MESB48M, GT11-50FNB
Battery GT15-BAT, GT11-50BAT
GT16-90PSCB, GT16-90PSGB, GT16-90PSCW,
For GT16 GT16-90PSGW, GT16-80PSCB, GT16-80PSGB,
GT16-80PSCW, GT16-80PSGW
GT15-90PSCB, GT15-90PSGB, GT15-90PSCW,
GT15-90PSGW, GT15-80PSCB, GT15-80PSGB,
GT15-80PSCW, GT15-80PSGW, GT15-70PSCB,
For GT15 GT15-70PSGB, GT15-70PSCW, GT15-70PSGW,
GT15-60PSCB, GT15-60PSGB, GT15-60PSCW,
GT15-60PSGW, GT15-50PSCB, GT15-50PSGB,
Protective Sheet
GT15-50PSCW, GT15-50PSGW
GT11-50PSCB, GT11-50PSGB, GT11-50PSCW,
For GT11
GT11-50PSGW, GT11H-50PSC
GT10-50PSCB, GT10-50PSGB, GT10-50PSCW,
GT10-50PSGW, GT10-40PSCB, GT10-40PSGB,
GT10-40PSCW, GT10-40PSGW, GT10-30PSCB,
For GT10
GT10-30PSGB, GT10-30PSCW, GT10-30PSGW,
GT10-20PSCB, GT10-20PSGB, GT10-20PSCW,
GT10-20PSGW
GT05-90PCO, GT05-80PCO, GT05-70PCO, GT05-60PCO,
Protective cover for oil
GT05-50PCO
USB environmental protection cover GT16-UCOV, GT15-UCOV, GT11-50UCOV
GT15-90STAND, GT15-80STAND, GT15-70STAND, A9GT-50STAND,
Stand
GT05-50STAND
GT15-70ATT-98, GT15-70ATT-87, GT15-60ATT-97, GT15-60ATT-96,
Attachment
GT15-60ATT-87, GT15-60ATT-77, GT15-50ATT-95W, GT15-50ATT-85
GT16-90XLTT, GT16-80SLTT, GT15-90XLTT, GT15-80SLTT,
Backlight GT15-70SLTT, GT15-70VLTT, GT15-70VLTN, GT15-60VLTT,
GT15-60VLTN
Multi-color display board GT15-XHNB, GT15-VHNB
Connector conversion box GT11H-CNB-37S
Emergency stop sw guard cover GT11H-50ESCOV
Memory loader GT10-LDR
Memory board GT10-50FMB
Software
Abbreviations and generic terms Description
GT Works2 Version SW D5C-GTWK2-E, SW D5C-GTWK2-EV
GT Designer2 Version SW D5C-GTD2-E, SW D5C-GTD2-EV
GT Designer2 Abbreviation of screen drawing software GT Designer2 for GOT1000/GOT900 series
GT Converter2 Abbreviation of data conversion software GT Converter2 for GOT1000/GOT900 series
GT Simulator2 Abbreviation of screen simulator GT Simulator 2 for GOT1000 / GOT900 series
GT SoftGOT1000 Abbreviation of monitoring software GT SoftGOT1000
GT SoftGOT2 Abbreviation of monitoring software GT SoftGOT2
GX Developer Abbreviation of SW D5C-GPPW-E(-EV)/SW D5F-GPPW-E type software package
Abbreviation of SW D5C-LLT-E(-EV) type ladder logic test tool function software packages
GX Simulator
(SW5D5C-LLT (-EV) or later versions)
Document Converter Abbreviation of document data conversion software Document Converter for GOT1000 series
PX Developer Abbreviation of SW D5C-FBDQ-E type FBD software package for process control
A - 12
License key (for GT SoftGOT1000)
Others
Abbreviations and generic terms Description
OMRON PLC Abbreviation of PLC manufactured by OMRON Corporation
KEYENCE PLC Abbreviation of PLC manufactured by KEYENCE CORPORATION
KOYO EI PLC Abbreviation of PLC manufactured by KOYO ELECTRONICS INDUSTRIES CO., LTD.
SHARP PLC Abbreviation of PLC manufactured by Sharp Corporation
JTEKT PLC Abbreviation of PLC manufactured by JTEKT Corporation
TOSHIBA PLC Abbreviation of PLC manufactured by TOSHIBA CORPORATION
TOSHIBA MACHINE PLC Abbreviation of PLC manufactured by TOSHIBA MACHINE CO., LTD.
HITACHI IES PLC Abbreviation of PLC manufactured by Hitachi Industrial Equipment Systems Co., Ltd.
HITACHI PLC Abbreviation of PLC manufactured by Hitachi, Ltd.
FUJI FA PLC Abbreviation of PLC manufactured by Fuji Electric FA Components & Systems Co., Ltd.
MATSUSHITA PLC Abbreviation of PLC manufactured by Matsushita Electric Works, Ltd.
YASKAWA PLC Abbreviation of PLC manufactured by YASKAWA Electric Corporation
YOKOGAWA PLC Abbreviation of PLC manufactured by Yokogawa Electric Corporation
ALLEN-BRADLEY PLC Abbreviation of Allen-Bradley PLC manufactured by Rockwell Automation, Inc.
GE FANUC PLC Abbreviation of PLC manufactured by GE Fanuc Automation Corporation
LS IS PLC Abbreviation of PLC manufactured by LS Industrial Systems Co., Ltd.
SCHNEIDER PLC Abbreviation of PLC manufactured by Schneider Electric SA
SIEMENS PLC Abbreviation of PLC manufactured by Siemens AG
OMRON temperature
Abbreviation of temperature controller manufactured by OMRON Corporation
controller
SHINKO indicating
Abbreviation of temperature controller manufactured by Shinko Technos Co., Ltd.
controller
CHINO controller Abbreviation of temperature controller manufactured by CHINO CORPORATION
FUJI SYS temperature
Temperature Abbreviation of temperature controller manufactured by Fuji Electric Systems Co., Ltd.
controller
controller
YAMATAKE temperature
Abbreviation of temperature controller manufactured by Yamatake Corporation
controller
YOKOGAWA temperature
Abbreviation of temperature controller manufactured by Yokogawa Electric Corporation
controller
RKC temperature
Abbreviation of temperature controller manufactured by RKC INSTRUMENT INC.
controller
PC CPU module Abbreviation of PC CPU Unit manufactured by CONTEC CO., LTD
GOT (server) Abbreviation of GOTs that use the server function
GOT (client) Abbreviation of GOTs that use the client function
Generic term for the protocol designed to use MODBUS protocol messages on a TCP/IP
MODBUS /TCP
network.
A - 13
HOW TO READ THIS MANUAL
The figure above is for explanation purposes only, and therefore differs from the actual
pages.
There are also the following types of explanations.
Point
Provides cautions or useful functions in addition to the page descriptions.
Remark
Gives references related to the contents explained on the page, or useful informa-
tion.
A - 14
DEFINITIONS AND DESCRIPTIONS OF TERMS
The following table shows the definitions and descriptions of the terms used in this
manual.
Term Description
Tag for Wonderware
Name for data unit in the data base Wonderware Historian.
Historian
Abbreviation for Manufacturing Execution System
The system that controls and monitors the plant status in real time to optimize production
MES activities
This enables speed-up of the responses to production plans and status changes and efficient
production operation, optimizing the 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 the time of computers via a TCP/IP network
Computer that provides time information to the GOT
SNTP server computer
This can be shared with a server computer.
Abbreviation for Structured Query Language
SQL
Data manipulation language and used for relational database operations
UTF-8 Method for converting character strings defined in Unicode into byte strings (Number strings)
Abbreviation for eXtensible Markup Language
XML
Markup language for describing documentation, data meanings, and structures
Account Represents the right to use a GOT or a server computer, or an ID necessary for its use.
The unit for processing defined in the job. The unit for processing includes [Communication
action] and [Transmit resource action] for communicating with a database, and [Operation
action] for operating tag component values.
[Communication action] is a processing unit for sending one SQL text (Select, Update, Insert,
Action
MultiSelect).
[Transmit resource action] is the processing unit for sending each SQL text (Insert) for records
in one resource data collected in the GOT.
Up to 20 dyadic operations can be defined for [Operation action].
One of the server computers, which communicates by the MES interface function to run
Application server computer programs
A database computer can be shared as an application server computer.
COMMIT Processing that makes a permanent change to databases
Generic term for the services that a server computer to which the DB Connection Service is
installed can offer.
Server service There are database server service and application server service.
Database server service is a service for accessing a database.
Application server service is a service for linking with a program.
Generic term for database server computers and application server computers
Server computer
This computer can be shared as an SNTP server computer.
Job A set of processings executed by a preset trigger
A personal computer that runs GT Designer2
This is used to install the option OS into a GOT, to configure the Communication Settings,
Configuration computer
screens and MES interface function settings, and to download projects to the GOT.
This can be shared as a server computer.
A - 15
(From the previous page)
Term Description
Standard time zone for each region of the world
Each nation uses the time difference (within 12 hours) from the time at the Greenwich
Observatory in the United Kingdom (GMT) as the standard time. The region using the same
Time zone time difference is called a time zone.
The standard time for Japan is 9 hours ahead of the GMT.
Some nations adopt daylight-saving time in summer season in which clocks are set one hour
ahead of the standard time.
Generic term for components (Device data) making up a device tag (Tag)
Tag component
A set of data that contains the information on the GOT's internal devices, and the data type
(Component)
and devices required for access to the gateway devices
Connection information necessary for accessing data using ODBC
With Windows , a data source name is assigned to connection information for manegement.
Data source
The database can be accessed via ODBC by specifying the data source name in the MES
interface function.
Database (DB) Data management method that follows relational data model logic
or One data is expressed as a collection of multiple items (Fields) and the data collection is
Relational expressed as a table.
database (RDB) Data can be easily merged and selected using key data.
One of the server computers, on which the database communicating with the GOT is run
Database computer
when the MES interface function is used.
Data management format managed with relational databases
Table
It is a two-dimensional table format composed of rows and columns.
Variety of memory data that each controller internally contains.
Device
There are devices handled in units of bits and those handled in units of words.
Data table that contains a set of information (Components) required to access the device data
Device tag (Tag)
in the GOT
Unit that multiple databases related to each other can be correctly processed all at once.
Processing managed as transaction is either correctly completed or canceled with the
Transaction
rollback. Each database is processed by the action, and each transaction is processed by the
job with the MES interface function.
Trigger conditions Startup conditions for job operation
When too many trigger conditions (data transmission conditions) are met simultaneously, this
function allows the system to buffer the data and the time that trigger conditions are met to the
user area. The action (operation and transmission of the data) for the buffered data is
Trigger buffering
executed later.
Even when the data transmission triggers are activated frequently, no triggers are missed so
that all the jobs are executed.
This function allows the system to temporarily store SQL texts that failed to be sent due to a
DB buffering
communication error in a CF card and to resend the texts upon recovery.
A constant exchange of signals between the sending and receiving ends to achieve high
Handshake
reliability
Corresponds to a column in a relational database and indicates a type of data (Record
Field
attribute).
Variable (Temporary Variable that can be used in the same job when temporarily storing values selected from a
variable) database or when 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 - 16
1
CHAPTER 1 OVERVIEW
OVERVIEW
The MES interface function allows SQL text transmission from a GOT to a database in the
server computer connected via the Ethernet, enabling writing GOT's device values to the
database and reading database values to set them to GOT's devices.
This direct communication with the server computer eliminates the need for gateway
2
equipment, realizing reduction in the maintenance cost and improvement in reliability.
CONFIGURATION
Point
SYSTEM
The MES interface function is available only for GT16 and GT15.
3
When not using MES interface function When using MES interface function
SPECIFICATIONS
Server (Database) Server (Database)
5
GOT GOT
MES INTERFACE
FUNCTION
Controller Controller
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
1-1
1.1 Features
OVERVIEW
(a) Buffering of send data (SQL text) during a communication error
When an error occurs during communications with a database, the SQL texts
failed to be sent can be buffered in the GOT.
After recovery, the buffered SQL texts are automatically sent to the database. 2
(Manual operation is also possible.)
CONFIGURATION
Disconnected
SYSTEM
Database
INSERT
3
SPECIFICATIONS
INSERT
INSERT
UPDATE
Resend
Database
5
INSERT
MES INTERFACE
INSERT
FUNCTION
INSERT
UPDATE
FUNCTION SETTING
CF card
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Database
DB connection service
Access
log
SQL failure
log
<Information system>
[Conventional system]
<Information system>
Database
OVERVIEW
Freely designed database tables can be used for access to databases.
The MES interface function offers not only the high flexibility in designing a new
system but also the capability of reconstructing the existing system without changing
the database tables. 2
CONFIGURATION
(5) Various controller information can be stored and changed in the database.
Controllers can be connected in a variety of topologies and their information can be
SYSTEM
stored into a database via GOT devices.
Also, data read out from the database can be set to controllers as parameters via
GOT devices. 3
SPECIFICATIONS
PLC
4
MES INTERFACE
Gateway function
FUNCTION
Servo
Data query
FUNCTION SETTING
Microcomputer
MES INTERFACE
7
Barcode reader
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
The items listed below are used with the MES interface function.
For equipment required for the MES interface function, refer to the following:
Section 2.3 Required Equipment, Software and Option OS
2
Reference
Item Description
section
CONFIGURATION
Option OS (MES Interface) The option OS that runs on a GOT to realize the MES interface function. Chapter 5
MES interface function
This function allows the MES interface function setting in GT Designer2. Chapter 6
SYSTEM
setting
Software that runs on the server computer and links databases with the GOT.
DB Connection Service Chapter 7
Installed from the CD-ROM of GTWorks2/GT Designer2.
Software that runs on the server computer and changes the settings of the DB
3
DB Connection Service
Connection Service. Chapter 7
Setting Tool
Installed from the CD-ROM of GTWorks2/GT Designer2.
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This chapter explains the system configuration available for the MES interface function.
This section shows the overall system configuration when using the MES interface
function.
DB Connection Service
DB Connection Service Setting Tool
Ethernet
USB*3 GT Designer2
* MES interface function
* Option OS
GOT Download
MELSECNET/H, etc.*2
*1 The SNTP server computer and configuration computer can be shared as the server computer.
*2 For controllers available for the MES interface function, refer to the following manual.
GOT1000 Series Connection Manual
*3 RS-232 or Ethernet connection is also available.
However, in Ethernet connection, the option OS cannot be installed.
OVERVIEW
The following shows system configuration when installing software used for the MES
interface function.
2
(1) When installing the DB Connection Service and DB Connection Service
Setting Tool on a server computer
CONFIGURATION
SYSTEM
GT Works2 Sever computer
GT Designer2
Install
3
SPECIFICATIONS
DB Connection Service
DB Connection Service Setting Tool Commercial product
Point 4
MES INTERFACE
FUNCTION
GT Works2 Configuration computer
GT Designer2
Install
6
FUNCTION SETTING
GT Designer2
Commercial product MES INTERFACE
Computer
7
Option OS
GOT
DB CONNECTION
(MES interface)
SETTING TOOL
SERVICE AND
Install*1
GT Designer2
+
MES interface function 8
TROUBLESHOOTING
Commercial product
The following table shows the GOT supporting the MES interface function and availability
in each connection type.
For system configuration when using the MES interface function, refer to the following
manual:
GOT1000 Series Connection Manual
: Applicable : Partly restricted : Not applicable
Connection type GT16/GT15
Bus connection
Direct CPU connection
Computer link connection
MELSECNET/H connection (PLC to PLC network)
Mitsubishi PLC *4 MELSECNET/10 connection (PLC to PLC *1
connection network)
CC-Link IE controller network connection
CC-Link connection (Intelligent device station) *2
*7
Ethernet connection
Remark
OVERVIEW
Connection type examples for the case where the MES interface function cannot
be used
(Example 1) When using GT11
Because the Ethernet communication unit is not mountable, the MES interface 2
function cannot be used.
CONFIGURATION
SYSTEM
GT11 Ethernet communication
unit
3
SPECIFICATIONS
(Example 2) When using GT15
Since the CC-Link communication unit (GT15-75J61BR13-Z) is not mountable
concurrently together with the Ethernet communication unit, the MES interface
function cannot be used.
To utilize both of them concurrently, use another type of the CC-Link 4
MES INTERFACE
FUNCTION
Ethernet communication
unit
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
In the inverter or servo amplifier connection, the status observation function or the script
function must be used for device assignment.
For the status observation function and the script function, refer to the following manual.
GT Designer2 Version Screen Design Manual
The following are device assignment examples.
Example 1) Setting for assigning devices of the inverter [FREQROL 500/700 Series] to
the GOT's internal devices using the status observation function
Example 2) Setting for assigning devices of the inverter [FREQROL 500/700 Series] to
the GOT's internal devices using the status observation function
OVERVIEW
(1) Required equipment and software
The following table lists the equipment and software required for use of the MES
interface function.
2
(a) GT16
Application Required equipment/software Module name
CONFIGURATION
Executing the MES interface function on the GOT Option function board GT16-MESB
Connecting the GOT to Ethernet Built-in Ethernet interface -
SYSTEM
Connecting the GOT to controllers GOT1000 Series Connection Manual
Setting the MES interface GT Designer2 Version2.90U or later
function (MES interface function)
- 3
Setting the MES interface GT15-MEM-128MC
DB buffering function,
function GT15-MEM-256MC
SPECIFICATIONS
log output function, CF card
Commercially available CF card
diagnostics function
(128MB to 2GB)*1
INTERFACE FUNCTION
(MELFANSweb site: http://www.MitsubishiElectric.co.jp/melfansweb)
MES INTERFACE
(b) GT15
FUNCTION
Application Required equipment/software Module name
Executing the MES interface function on the GOT Option function board GT15-MESB48M
Connecting the GOT to Ethernet Ethernet communication unit GT15-J71E71-100 6
Connecting the GOT to controllers GOT1000 Series Connection Manual
FUNCTION SETTING
Setting the MES interface GT Designer2 Version2.43V or later
- MES INTERFACE
function (MES interface function)
Setting the MES interface GT15-MEM-128MC
DB buffering function,
function GT15-MEM-256MC
log output function, CF card
Commercially available CF card
diagnostics function
(128MB to 2GB)*1 7
*1 Some models have been concluded by Mitsubishi to be applicable.
DB CONNECTION
For the applicable models, refer to "List of valid devices applicable for GOT1000 Series" (GOT-D-
SETTING TOOL
SERVICE AND
001).
The above TECHNICAL BULLETIN can be viewed at the Information site for Mitsubishi Electric
Industrial Automation products, MELFANSweb.
(MELFANSweb site: http://www.MitsubishiElectric.co.jp/melfansweb)
8
For installation of the required equipment, refer to the following manual.
TROUBLESHOOTING
Application OS name
MES interface function MES Interface
For installation of the required option OS, refer to the following manual.
GT Designer2 Version Basic Operation/Data Transfer Manual (8.
TRANSFERRING DATA)
OVERVIEW
2.4.1 Configuration computer
CONFIGURATION
For the operating environment for GT Designer2, refer to the following manual.
GT Designer2 Version Basic Operation/Data Transfer Manual
SYSTEM
Item Description
Display Resolution 1024 x 768 pixels or higher
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This section explains the operating environment for the server computer.
Item Description
Personal computer A PC/AT-compatible computer on which the following operating systems can run
Microsoft Windows XP Professional Operating System (English version)*1*3*4
Microsoft Windows 2000 Professional Operating System (English version)*2*3
Microsoft Windows Server 2003 Operating System (English version)*1*3*4
OS Microsoft Windows 2000 Server Operating System (English version)*2*3
Microsoft Windows Vista Ultimate Operating System (English version)*1*3*4*10*11
Microsoft Windows Vista Enterprise Operating System (English version)*1*3*4*10*11
Microsoft Windows Vista Business Operating System (English version)*1*3*4*10*11
Computer A PC/AT-compatible computer on which the following operating systems can run
CPU
Required See "Performance required for personal computer and operating system to be used" below.
memory
Free hard disk space 64MB or more (After database installation)
Disk drive CD-ROM disk drive
Display A display where the above OS and after-mentioned databases can run
Interface Ethernet
When using the DB interface function: Relational database (any of the following)
• Oracle 8i Standard Edition
• Oracle 9i Standard Edition
• Oracle 10g Standard Edition
• Microsoft SQL Server 2000 Standard Edition*5
• Microsoft SQL Server 2005 Standard Edition
Required software • Microsoft SQL Server 2000 Desktop Engine(MSDE 2000)*5
• Microsoft Access 2000*6*7
• Microsoft Access 2003*6*7
• Microsoft Access 2007*5*6*12*13
• Wonderware Historian 9.0*8*9
When using the SNTP time synchronization function: SNTP server
(Equipped as a standard to Windows 2000 Server, Windows Server 2003)
Others The mouse, keyboard, and CD-ROM driver must be compatible with the above OS.
*1 Only the 32-bit OS is available.
*2 When using Windows 2000 Server or Windows 2000 Professional, ServicePack2 or later is
required.
*3 To install or operate DB Connection Service or DB Connection Service Setting Tool, the
administrator authority is required.
*4 The following functions are not available.
If any of the following functions is used, this product many not operate normally.
• Application startup in Windows compatibility mode
• User simple switching
• Remote desktop
• Large Fonts (Detailed setting in the Display Properties)
*5 Set [SQL Server and Windows] for the security authentication mode.
*6 Up to 127 fields can be updated for a communication action.
*7 Do not access the same file with multiple GOTs and MES interface modules simultaneously.
*8 Only [Insert] can be used for the communication action.
*9 The rollback cannot be used for inserting data to a database.
*10 15GB or more of free space is required for using Windows Vista .
*11 A standard user or Administrator account is required for using Windows Vista .
*12 Memo-type fields in Rich Text Format cannot be used.
*13 A field having multiple values cannot be used.
OVERVIEW
Windows XP Professional Intel Pentium /Celeron series
CPU with clock speed of at least 300 128 MB or more
Windows 2000 Professional
MHz
Windows Server 2003 Intel Pentium /Celeron series
2
CPU with clock speed of at least 550 256 MB or more
Windows 2000 Server
CONFIGURATION
MHz
Windows Vista Ultimate Intel Pentium /Celeron series
SYSTEM
Windows Vista Enterprise CPU with clock speed of at least 1GB or more
3
Point
How to set security authentication mode (SQL Server and Windows)
SPECIFICATIONS
(1) For Microsoft SQL Server 2000 and Microsoft SQL Server 2005
Set the security authentication mode in the SQL Server Properties
(Configure) screen.
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
(2) For Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
When installing MSDE2000, specify a command parameter.
setup sapwd = "sa" SECURITYMODE=SQL
(sa: Specify an arbitrary password.) 8
TROUBLESHOOTING
OVERVIEW
This chapter explains the performance specifications, functions and devices of the MES
interface function.
2
3.1 Performance Specifications
CONFIGURATION
The following are the performance specifications of the MES interface function.
SYSTEM
Reference
Item Specifications
section
No. of connected databases Up to 8 databases/project 3
Seven types
• Oracle 8i Standard Edition
SPECIFICATIONS
• Oracle 9i Standard Edition
• Oracle 10g Standard Edition
• Microsoft SQL Server 2000 Standard Edition
Section 6.6.1
No. of connectable databases • Microsoft SQL Server 2005 Standard Edition
• Microsoft SQL Server 2000 Desktop Engine(MSDE 2000)
4
MES INTERFACE
20 types (Time specification (6 types), Specified time period,
FUNCTION
trigger
DB comparison between tag component values (6 types), comparison Section 6.7.2
conditions Condition type
interface between tag component value and constant value (6 types), At
module startup) and Handshake operation
Validation interval One second at the minimum 6
Allowable number of
Up to 10 actions/job
FUNCTION SETTING
settings
MES INTERFACE
Section 6.8
Communication action
4 types (Select, Update, Insert, MultiSelect)
type
Up to 8192 fields/project
No. of communication • [DB-Tag link setting]: Up to 256 rows/communication action
action fields • [Select/Update conditions]: Up to 8 rows/communication action 7
• [Select sort settings]: Maximum 8 rows/communication action Section 6.8.1
No. of records/data
Action Up to 40000 records/MultiSelect communication action
DB CONNECTION
selectable for
SETTING TOOL
Up to 45000 words/job
SERVICE AND
communication action
No. of operations
possible for operation (Up to 20 dyadic operations)/operation action
action Section 6.8.2
Operators for operation 6 types (Addition, subtraction, multiplication, division, remainder, 8
action character string combination)
TROUBLESHOOTING
[Calculation Example]
In the case of the capacity of 64 Mbytes, the field name of 16 characters, the data length of 32
characters, access to 256 fields by one action per job, and executing once per 30 seconds
SQL text length = (16 256) + 6 256 + (32 256) = 13844 [bytes]
Allowable No. of bufferings = (64 1024 1024) (13844 + 4) 4846
Buffering time = 4846 (60 30 60) 40 [h]
OVERVIEW
The following are GOT devices that can be set in the Device tag settings of the MES
interface function.
Type
Bit register inside the GOT
Description Available setting range
2
GOT bit register GB64 to GB65535*1
Can be used as a bit device.
CONFIGURATION
Data register inside the GOT
GOT data register GD0 to GD65535
Can be used as a word device.
SYSTEM
Special register inside the GOT
GOT special
Stores GOT's internal information, communication status, error information, etc. GS0 to GS1023*2
register
Can be used as a word device.
Used when making interaction between the MES interface function and the gateway function. 3
Virtual device for indirectly reading or writing the controller devices that are monitored by 1-1: EG0 to 239-64:
Gateway device
another GOT. EG32767*3
SPECIFICATIONS
Can be used as a word device.
*1 For GB0 to GB63, refer to the following manual.
GT Designer2 Version Screen Design Manual
*2 Do not write any value to a write-prohibited GOT special register.
Setting a value to the GOT special register may affect the GOT operation. 4
For the GOT special register, refer to the following manual.
INTERFACE FUNCTION
*3 Specify the gateway device in the following format.
(Network No.) - (Station No.): EG (Device No.)
Network No.: 1 to 239
Station No.: 1 to 64
Device No.: 0 to 32767
5
Point
The gateway function setting is required for use of the gateway devices.
MES INTERFACE
For the gateway setting, refer to the following manual.
FUNCTION
GOT1000 Series Gateway Functions Manual (4.3 Connection Method)
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
3.2 GOT Devices Available for the MES Interface Function 3-3
3.3 Function List and Setting Item List
This section provides the lists of the functions and setting items that can be set for the
MES interface function.
Reference
Function Description
section
Section 5.1
DB interface function Executes communication with the database in units of jobs. Section 6.7
Section 6.8
Collects data in the internal devices or gateway devices of the GOT on the network in
units of tags. Section 5.1.3
Tag function
Assigning a database field to a tag component allows reading or writing of a database Section 6.5
value or device data that is specified by the tag component.
Trigger monitoring Monitors values such as the time and tag values and, when the trigger condition Section 5.1.4
function changes from false to true (when the conditions are met), starts a job. Section 6.7.2
Allows the system to buffer the data and the time that trigger conditions are met to the
user area of the GOT when too many trigger conditions (data transmission conditions)
Trigger buffering are met simultaneously. The action (operation and transmission of the data) for the Section 5.1.5
function buffered data is executed later. Section 6.7.1
Even when the data transmission triggers are activated frequently, no triggers are
missed so that all the jobs are executed.
Automatically creates an SQL text and communicates with the database.
The following three types of commands can be selected for the SQL text.
SQL text transmission Section 5.1.6
• Select/MultiSelect
(Communication action) Section 6.8.1
• Update
• Insert
Arithmetic processing
Section 5.1.7
function Allows operations of tag component values.
Section 6.8.2
(Operation action)
Resource data send
Sends the resource data collected in the GOT to the database. Section 5.1.8
function (Resource data
A SQL text (INSERT) is used for sending the resource data to the database. Section 6.8.3
send action)
Program execution Executes programs in the application server computer before execution of the first action Section 5.1.9
function and after execution of the last one in a job. Section 6.7.3
Temporarily stores SQL texts into a CF card when they cannot be sent due to network Section 5.1.10
disconnection or failure of the database server computer. Section 6.9.2
DB buffering function
After recovery, the buffered SQL texts are automatically sent to the database. (Manual Section 6.10.4
operation is also possible.) Section 6.10.5
SNTP time synchronization Allows the time on the GOT to be synchronized with the time on the SNTP server Section 5.2
function computer on the network. Section 6.9.1
Used to stop/restart the MES interface function, check job operations and configure the
Diagnostics function Section 6.10
settings.
DB server function Allows direct access to a database upon request of the DB interface function. Section 7.1
ODBC connection
Executes the operation requested by the DB interface function or returns a response. Section 7.2
function
Connection setting
Restricts IP addresses of GOTs that can be connected to the database. Section 7.5
function
Log output function Outputs the execution status of DB Connection Service to the log. Section 7.8
OVERVIEW
Reference
Function Description
section
Device tag settings Configure the settings for the tag function.
Configure this setting when writing multiple records extracted from a database to the
Section 6.5
2
Array setting Section 6.5.2
same tag component.
Component setting Configure the settings for assigning GOT devices to tags. Section 6.5.3
CONFIGURATION
Server service settings Configure the settings for access to a server computer. Section 6.6
Job settings Configure the settings for the DB interface function. Section 6.7
SYSTEM
trigger conditions Configure the settings for startup conditions of the job. Section 6.7.2
Trigger buffering Set whether to utilize the trigger buffering function or not. Section 6.7.1
Communication action Configure the settings for communications with a database. Section 6.8.1 3
Operation action Configure the settings for operation of tag component values. Section 6.8.2
Resource data send
SPECIFICATIONS
Configure the settings for sending the resource data to the database. Section 6.8.3
action
program execution Configure the settings for the program execution function. Section 6.7.3
DB buffering Set whether to utilize the DB buffering function or not. Section 6.7.4
One-shot execution Execute a job as a one-shot task. Section 6.7.6
Option setting Configure the SNTP time synchronization setting and the DB buffering function setting. Section 6.9 4
SNTP time
INTERFACE FUNCTION
DB buffering setting Configure the settings for the DB buffering function. Section 6.9.2
diagnosis Perform the remote diagnosis for the MES Interface function. Section 6.10
Status The operation status of the option OS (MES Interface) can be checked. Section 6.10.1
Operation The operation status of the MES Interface function can be checked. Section 6.10.2
Change Job Status
Connection result of
The job status can be changed.
Connection with the server computer set in [Server Service setting], which is made at the
Section 6.10.3
5
Section 6.10.4
previous job execution time of the previous job execution, can be displayed.
DB buffering operation The DB buffering can be operated. Section 6.10.5
MES INTERFACE
MESI/F Log Displays the working log of the MES Interface function. Section 6.11
FUNCTION
MES Interface Execute
Displays the MES Interface function execution log. Section 6.11.1
Log
Job Execute Log Displays the job execution event log. Section 6.11.2
6
(3) List of setting items of DB Connection Service Setting Tool
FUNCTION SETTING
MES INTERFACE
Reference
Function Description
section
Service port Specify the number of the port where the DB Connection Service operates.
DB access timeout
Set a timeout time (unit: seconds) used when no response may be returned after 7
requesting program execution or value writing/reading from the GOT to a database.
Determine whether or not to restrict IP addresses of GOTs whose connection to DB Section 7.5
IP address setting
DB CONNECTION
Output access log Set whether or not to output the access log.
Output SQL failed log Set whether or not to output the SQL failure log.
8
TROUBLESHOOTING
The list of the GOT internal devices (GS) used for the MES interface module is shown
below.
Point
(1) For details of any other GOT internal devices (GS) than the shown areas used
for the MES interface function, refer to the following manual.
GT Designer2 Version Screen Design Manual
(2) Values stored in the GOT internal devices (GS) are cleared to 0 when the GOT
is powered OFF and then ON or is reset.
Initial Reference
GS Application Name
value section
SNTP time synchronization setting status
265 1: [Synchronize with SNTP] 0
Section 3.4.2
0: [SNTP time synchronization setting not exist/failed]
266 to 272 SNTP time query result 0
273 MES interface
function Use prohibited - -
274
area
275 Monitoring interval timeout count 0
670 No. of trigger buffer data 0
Section 3.4.2
671 Trigger buffer overflow count 0
672 to 675 Trigger buffer overflow flag for a job 0
This section explains the details of the special registers used for the MES interface
function.
(b) When the "Synchronize using SNTP" box is checked in the Option setting
This area is set when the clock time information was obtained from the SNTP
server computer.
If it could not be obtained from the SNTP server computer, this area is not set
since the operation for selection of [Synchronize with PLC CPU time] is performed
(The time is synchronized with the time of the PLC CPU).
OVERVIEW
information obtained from the SNTP server is stored.
CONFIGURATION
(Month)
268 SNTP time query result (Day) The day data, 01 to 31, is stored.
SYSTEM
269 SNTP time query result (Hour) The hour data, 00 to 23, is stored.
SNTP time query result
270 The minute data, 00 to 59, is stored. Set by the
(Minute)
SNTP time query result
system 3
271 The second data, 00 to 59, is stored.
(Second)
The day-of-the-week data is stored.
SPECIFICATIONS
SNTP time query result (Day of 0: Sunday 1: Monday 2: Tuesday
272
the week) 3: Wednesday 4: Thursday 5: Friday
6: Saturday
MES INTERFACE
The number of trigger buffer data is stored.
FUNCTION
When many trigger buffer data is stored for a long time, the GOT becomes busy. As a
result, some data may not be collected.
Check the number of job settings for which [Trigger buffering] is enabled and the 6
trigger condition setting.
FUNCTION SETTING
(5) Trigger buffer overflow count (GS671) MES INTERFACE
The cumulative number of times that a trigger buffer overflow has occurred is stored.
The trigger buffer overflow means that 129th trigger data is discarded without being
buffered when 128 trigger data is already buffered.
If trigger buffer overflow occurs frequently, check the number of job settings for which 7
[Trigger buffering] is enabled and the trigger condition setting.
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
This chapter explains the procedures and settings to be done before use of the MES
interface function. 2
CONFIGURATION
Function
SYSTEM
The flowcharts for use of the MES interface function are shown here.
3
Point
SPECIFICATIONS
Start the server computer, and then the GOT.
5
Database server computer *1 Application server computer *2 SNTP server computer *3
MES INTERFACE
Start up the SNTP server.
FUNCTION
Install a relational database and design Create a user program. *5
a table. *4
6
Set the ODBC of the database. Create an account for user program
execution. *6
FUNCTION SETTING
Section 7.2 Setting ODBC of
MES INTERFACE
Database
SETTING TOOL
Uninstallation Uninstallation
SERVICE AND
Operation *8
4.1 Settings and Procedures before Use of the MES Interface Function 4-1
*1 Be sure to make the settings to use the DB interface function.
Section 5.1 DB Interface Function
*2 Make the settings when using the program execution function.
Section 5.1.9 Program execution function
*3 Make the settings when using the time on the SNTP server computer with the SNTP time
synchronization function.
Section 5.2 SNTP Time Synchronization Function
*4 Restart the personal computer after installing the relational database.
Communication with GOT may fail if not restarted.
*5 Create it only when necessary.
An existing program, a program included in OS, or a commercially available program can also be
used.
*6 Always set a password for the account for user program execution.
Use of an account without password will result in execution failure by OS.
*7 If the login is not confirmed, the program execution function may not operate properly.
When installing DB Connection Service and DB Connection Service Setting Tool, log in using a
user name with administrative right.
*8 Do not log in the server computer using an account for user program execution during user
program execution.
Doing so may cause incorrect operation of the program execution function.
4-2 4.1 Settings and Procedures before Use of the MES Interface Function
1
(2) Starting the GOT
OVERVIEW
Procedure for starting GOT
CONFIGURATION
*1
GOT.
SYSTEM
Connect to Ethernet. *2 Create project data. *3
SPECIFICATIONS
Connect the GOT to the configuration computer.
(USB, RS-232, Ethernet) *4
MES INTERFACE
both 10Mbps and 100Mbps communication speeds by using a switching hub.
For GT15, mount the Ethernet communication unit.
FUNCTION
*3 Configure the Extend I/F Setting in Communication Settings of GT Designer2.
In the Extend I/F Setting, select any of the following and set an IP address.
• CH: * Driver: Ethernet download
• CH: * Driver: Gateway 6
• CH: 1 Driver: Ethernet(MELSEC), Q17nNC, CRnD-700
FUNCTION SETTING
• CH: 1 Driver: Ethernet(MELSEC), Q17nNC, CRnD-700,Gateway
MES INTERFACE
When using the MES interface function only on the Ethernet, the GOT port No. setting in
Communication Detail Settings is ignored.
*4 In Ethernet connection, the option OS cannot be installed.
To install the option OS, use USB or RS-232 connection.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
4.1 Settings and Procedures before Use of the MES Interface Function 4-3
4.2 Installation and Uninstallation
For how to install and uninstall each execution software for the MES interface function on
the operating environment, refer to the following manual.
GT Designer2 Version Basic Operation/Data Transfer Manual (2. INSTALLATION
AND UNINSTALLATION)
OVERVIEW
The MES interface function can be used on the GOT by installing the option OS (MES
Interface).
This chapter describes the MES interface function.
2
Point
CONFIGURATION
The MES interface function settings are configured on the MES interface function
setting screen of GT Designer2.
SYSTEM
Chapter 6 MES INTERFACE FUNCTION SETTING
3
5.1 DB Interface Function
SPECIFICATIONS
The DB interface function executes access to the database in units of jobs.
INTERFACE FUNCTION
GOT
Device *6 Tag 1 Job 1
Trigger monitoring *2 Database server computer
Action *3 5
GD1000 Component Communication action 1 (Update)
Operation action 2
MES INTERFACE
Communication action 3 (Insert)
Resource data send action 4
FUNCTION
Database
Executed in
order
FUNCTION SETTING
MES INTERFACE
Program execution *4
*1 DB buffering *5 Execute
file
7
Application server computer
*1 Collects tag data. Section 5.1.3 Tag function
DB CONNECTION
SETTING TOOL
Start
Stopped
Is the GOT working?
Disabled
Is the job enabled?
Checked
The program in the application server computer is
executed before execution of the first action.
• Section 5.1.9 Program execution function
• Section 6.7.3 Setting items in Program
execution
OVERVIEW
Actions are executed.
Up to 10 actions can set for a job, and they are
executed in order.
• Section 5.1.6 SQL text transmission (Communication action)
• Section 5.1.7 Arithmetic processing function (Operation action) 2
• Section 5.1.8 Resource data send function (Resource data send
action)
CONFIGURATION
• Section 6.8 Job Settings - Actions
SYSTEM
In Update/Insert actions, substitute or insert values are
committed to database.
3
Is the [Execute
Not checked
program after action.]
SPECIFICATIONS
box checked?
Checked
The program in the application server computer is
executed after execution of the last action.
• Section 5.1.9 Program execution function
4
MES INTERFACE
FUNCTION
Point
For the case where an error occurs during job execution, refer to the following:
Section 5.3 (2) When an error occurs in job execution 6
FUNCTION SETTING
5.1.3 Tag function
MES INTERFACE
The tag function collects device data of the GOTs on the network in units of tags.
Assigning a database field to a tag component allows reading or writing of a database
value or device data that is specified by the tag component.
For the tag function setting, refer to the following:
7
Section 6.5 Device Tag Settings
DB CONNECTION
SETTING TOOL
SERVICE AND
GOT
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.
• [Time specification startup]: Starts the job at the specified time.
• [Specified time period startup]: Starts the job at the specified intervals (Unit:
Seconds).
• [Value monitoring startup]:
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.
• [Handshake operation]:
Starts the job on request from the GOT.
Completion of job execution can be reported to the GOT.
• [At GOT startup]:
Starts the job only once when the GOT starts up.
Two kinds of conditions can be used in combination for starting a job.
For the trigger monitoring function setting, refer to the following:
Section 6.7.2 Setting items in Trigger conditions
Tag
Component
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
Handshake
operation
ON
OFF
OVERVIEW
synchronization.
CONFIGURATION
Tag 2 Sampling cycle: 60s
Trigger When Tag 1Component A is 10 Component name Value Sampling time 10:08:00
SYSTEM
Component B 5
Action 1) Add Tag 2 Component B to Tag 1 Component B.
Tag 3 Sampling cycle: 1s
3
Action 2) Send Tag 3 Component C to database Component name Value
Component C 12
Sampling time 10:08:21
Component D 3
Component E 4 (Too many components,
Component F 8 sampling delayed)
SPECIFICATIONS
: :
5
Component B 20
Trigger When startup tag component turns ON Tag 2 Sampling cycle: 60s
(Handshake Component name Value GOT device
operation setting) Component B 5
MES INTERFACE
Action 1) Add Tag 2 Component B to Tag 1 Component B. Tag 3 Sampling cycle: 1s
FUNCTION
Component name Value
Action 2) Send Tag 3 Component C to database Component C 12
Component D 3 GOT device
Component E 4
Component F 8
: : 6
FUNCTION SETTING
(Plan 2)
MES INTERFACE
Put the tag components used in a job into one tag.
Since the tag components collect the specified GOT device values during job
execution, the execution time of the job is increased.
Job
7
Tag 2 Sampling cycle: 3s
DB CONNECTION
Component A 10
Trigger When Tag 1Component A is 10 Component B 20
Component B' 5
Component C 12 Sampling time 10:08:21
Action 1) Add Tag 1 Component B' to Tag 1 Component B.
Component D 3
Action 2) Send Tag 1 Component C to database Component E
Component F
4
8
8
: :
TROUBLESHOOTING
When too many trigger conditions (data transmission conditions) are met simultaneously,
the trigger buffering function allows the system to buffer the data and time trigger
conditions are met to the user area of the GOT. The action (operation and transmission of
the data) for the buffered data is executed later.
Even when the data transmission triggers are activated frequently, no triggers are missed
so that all the jobs are executed.
Enable [Trigger buffering] in each job setting to utilize the trigger buffering function.
(a) When normal (Interval that trigger conditions are met is longer than processing
time of action)
• When trigger conditions are met, the tag data and the time are stored in the
trigger buffer.
• The action, which is specified by the data stored in the trigger buffer, is
executed immediately.
[GOT]
[When normal] Data
Trigger buffer trans-
Job 1 Job 1
mission
Trigger Action is
conditions executed Database
are met
Time Time
OVERVIEW
• Tag data and time that conditions are met are stored to the trigger buffer
every time the conditions are met.
• If an action cannot complete before another condition is met, up to 128 trigger
data can be stored. 2
[GOT]
CONFIGURATION
[When busy] Data
trans-
SYSTEM
Job 1 ... 1) Trigger buffer
Trigger conditions Job 1 ... 2) Trigger data (Tag data and time)
mission
are met
Job 3 ... 3) Trigger data (Tag data and time) Database
Job 1 ... 2)
Trigger conditions
Job 1 ... 1) 3
are met Action is
executed The action for "Job 1 ... 1)" is executed.
SPECIFICATIONS
Job 3 ... 3) The trigger data of "Job 1 ... 2)" and
Trigger conditions
are met "Job 3 ... 3)" is stored to the trigger buffer.
Time Time
The numbers 1) to 3) correspond to the order of that trigger conditions are met.
In this example, the jobs 1 and 3 access the same database.
4
INTERFACE FUNCTION
processing time of action)
• The action, which is specified by the data stored in the trigger buffer, is read
and executed sequentially.
• When the action for the trigger data in the trigger buffer completes, the trigger
5
data is cleared, and another trigger data can be stored.
MES INTERFACE
[GOT]
FUNCTION
[When becoming less busy] Data
Trigger buffer trans-
Job 1 ... 2)
mission
Action is
6
executed Database
Job 3 ... 3)
Action is
FUNCTION SETTING
executed The action for "Job 1 ... 1)" is executed.
The action for "Job 1 ... 2)" and "Job 3 ... 3)", MES INTERFACE
which is specified by the data in the trigger
buffer, is executed sequentially.
Time Time
The numbers 1) to 3) correspond to the order of that trigger conditions are met. 7
In this example, the jobs 1 and 3 access the same database.
DB CONNECTION
Point
SETTING TOOL
SERVICE AND
(1) For job operation for which [Trigger buffering] is disabled, refer to the
following:
Section 5.3 (1) Operation behavior of jobs 8
(2) Whether the condition is changed from false to true is judged at collection of
TROUBLESHOOTING
the tag.
Section 6.7.2 Setting items in Trigger conditions
(c) If 128 conditions are already met and another condition is met, the trigger of the
new condition is discarded.
Check the number of discards in the trigger buffer overflow (GS671).
The SQL text transmission function allows automatic creation of SQL texts, enabling
OVERVIEW
communications with the database.
The following three types of commands can be selected for the SQL text.
• Select/MultiSelect 2
• Update
• Insert
CONFIGURATION
For the SQL text transmission setting, refer to the following:
Section 6.8.1 Setting items in Communication action
SYSTEM
(1) Select/MultiSelect
Select/MultiSelect is used to write a database value to a tag component value area or
3
to store it in 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.
Select/MultiSelect
Select...
Tag Component
Temporary variable Data 5
Update
Update...
MES INTERFACE
Tag Component
Temporary variable Data Database
FUNCTION
Constant
Insert
Tag Component Insert...
Temporary variable
Constant
Data 6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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 6.8.2 Setting items in Operation action
The resource data send function allows the GOT to send resource data collected in a GOT
OVERVIEW
buffering area and a CF card to a database.
Device values for controllers, alarm data for the GOT, and others can be stored to the
database without any communication programs. 2
For the resource data send function settings, refer to the following.
Section 6.8.3 Setting items in Transmit resource action
CONFIGURATION
SYSTEM
Data transmission
Database
3
SPECIFICATIONS
Time No Count
08:20:10 101 10
08:30:20 102 11
08:30:30 105 12
MES INTERFACE
Resource data Description
FUNCTION
Logging data Logging data collected by the logging function
Alarm data collected by the advanced user alarm
Advanced user alarm
observation setting
Alarm data
Advanced system Alarm data collected by the advanced system alarm 6
alarm observation setting
FUNCTION SETTING
GOT operation history data collected by the operation
Operation log data
MES INTERFACE
log function
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
[Resource data]
Sending data at
Database
the second action
Data collected after the
first action
Sending data at
Second action the third action
Data collected after the
second action
Third action
*Excluding logging data at the first action
Point
The GOT sends the resource data to the database only one time. The GOT does
not send the sent data to the database on the subsequent actions. Unnecessary
data is not stored to the database.
The GOT may send the sent data to the database in the following cases.
• When turning on the GOT
• When restarting the GOT (Downloading a project data or others)
Section 6.12 Precautions
OVERVIEW
[Resource data]
CONFIGURATION
Resource data for the first action B
SYSTEM
First action A
First action B
3
Collected data
Resource data for the second action A
SPECIFICATIONS
after turning on
Resource data for the second action B
GOT
Second action A
Resource data for the action A is sent again when the action B is executed.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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 6.7.3 Setting items in Program execution
Programs that can be executed from [Command line] are applicable.
Since program execution is set on the application server computer as described below,
more sophisticated data linkage can be realized.
OVERVIEW
The DB buffering function temporarily stores SQL texts into a CF 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
3
Database
SPECIFICATIONS
INSERT
INSERT
INSERT
UPDATE
4
Recovered
5
Resend
Database
MES INTERFACE
FUNCTION
INSERT
INSERT
INSERT
UPDATE 6
FUNCTION SETTING
MES INTERFACE
CF card
Point 7
(1) To automatically send SQL texts after recovery, irrespective of transmission
DB CONNECTION
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 7.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 connection timeout is detected (approx. 10 seconds).
This section (7) When SQL texts cannot be sent to the database
Even if a trigger condition is met again during connection timeout detection,
the corresponding job is not executed.
Section 5.3 (1) Operation behavior of jobs
(3) If SQL texts cannot be sent to the database due to failure of database
software, DB buffering is not performed until detection of DB access timeout.
This section (7) When SQL texts cannot be sent to the database
Time for detecting DB access timeout is set to 30 seconds by default.
Section 7.5 (2) DB access timeout (required) (Range: 1 to 3600; Default:
30)
Even if a trigger condition is met again during detection of DB access timeout,
the corresponding job is not executed.
Section 5.3 (1) Operation behavior of jobs
Start
End
OVERVIEW
(a) When no data are currently stored in the DB buffer
Start
2
Job execution starts when trigger conditions are met.
CONFIGURATION
Section 5.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
This section (2) Factors for starting DB buffering buffer.
SPECIFICATIONS
Not sent
End 5
MES INTERFACE
FUNCTION
Point
Check the DB buffer status (No. of bufferings, utilization) and prevent the full
status of the DB buffer. 6
• Section 6.7.4 Setting items in DB Buffering
FUNCTION SETTING
• Section 6.10.5 Manipulating DB buffering (DB buffering operation)
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Start
No
Checked
Section 5.3 Precautions
DB buffering is started. *1
End
Point
Check the DB buffer status (No. of bufferings, utilization) and prevent the full
status of the DB buffer.
• Section 6.7.4 Setting items in DB Buffering
• Section 6.10.5 Manipulating DB buffering (DB buffering operation)
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
(d) Manually resending data
End
INTERFACE FUNCTION
Job 1 (Auto) Job 3_SQL TEXT (Auto) Job 10_SQL TEXT (Auto)
Job 2 (Auto) Job 6_SQL TEXT (Manual) Job 3_SQL TEXT (Auto)
Job 3 (Auto) Job 4_SQL TEXT (Manual) Job 1_SQL TEXT (Auto)
Job 4 (Manual) Job 1_SQL TEXT (Auto) 2) Job 2_SQL TEXT (Auto)
Job 5 (Manual) Job 2_SQL TEXT (Auto) 5
Job 6 (Manual) Job 5_SQL TEXT (Manual)
3)
MES INTERFACE
Job 10 (Auto)
FUNCTION
1)
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Start
Execute manual resend of the DB buffer data. After line recovery, retry the manual resend of DB buffer
Request for resend on [MES interface setting] - [Diagnosis] data.
tab
Request for resend on [Resend DB buffer request] of the
specified tag component
• Section 6.9.2 Setting items in DB buffering
settings
• Section 6.10.5 Manipulating DB buffering (DB
buffering operation)
Completed
If a job with manual resend setting is started after completion
3) of manual resending, its SQL texts are sent to the database
if it is accessible, without being buffered. *1
Job 1 (Auto) Job 3_SQL TEXT (Auto) 1) Job 6_SQL TEXT (Manual)
Job 2 (Auto) Job 6_SQL TEXT (Manual) Job 4_SQL TEXT (Manual)
Job 3 (Auto) Job 4_SQL TEXT (Manual) Job 5_SQL TEXT (Manual)
Job 4 (Manual) Job 1_SQL TEXT (Auto) Job 10_SQL TEXT (Manual)
Job 5 (Manual) Job 2_SQL TEXT (Auto) Job 11_SQL TEXT (Manual)
Job 6 (Manual) Job 5_SQL TEXT (Manual)
Job 10 (Manual) 2)
Job 11 (Manual)
3)
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 downloading the project data, for which the MES interface function is set, to
the GOT, powering OFF and ON or restarting the GOT
SYSTEM
• Clear request from [MES interface setting screen] - [Diagnosis tab].
Section 6.10.5 Manipulating DB buffering (DB buffering operation) 3
• Clear request from [Clear DB buffer request] of the specified tag component
Section 6.9.2 Setting items in DB buffering settings
SPECIFICATIONS
(7) When SQL texts cannot be sent to the database
(a) When auto-send is selected for the job
2 After DB buffering is started, whether SQL texts can be sent to the database or
not is checked every time each job is activated.
3 When the system has not been recovered from network disconnection or failure
5
of the database server computer or database software, DB buffering is executed
after detection of the timeout.
MES INTERFACE
FUNCTION
Recovery from network
disconnection
FUNCTION SETTING
MES INTERFACE
After sending Sending SQL
SQL texts, texts
timeout detected
DB buffering executed DB buffering execution Auto-resending
DB buffer data
7
after checking if SQL
texts can be sent
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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
DB buffering executed DB buffering executed Resending DB buffer data
The SNTP time synchronization function allows the time on the GOT to be synchronized
OVERVIEW
with the time on the SNTP server computer on the network.
Time information is utilized for job start conditions or in send data to the database.
For the SNTP time synchronization function setting, refer to the following. 2
Section 6.9.1 Setting items in SNTP time synchronization setting
CONFIGURATION
Point
For time synchronization with the SNTP server, pay attention to the following:
SYSTEM
• When using the SNTP time synchronization function, do adjust the time in
the time setting in Utility or in System Environment of GT Designer2.
The SNTP time synchronization function does not work if the clock of the
3
GOT is set to be adjusted to the clock data of external equipment.
SPECIFICATIONS
• To write the clock time of the SNTP server to controllers, use [Broadcast].
This function can be used in combination with [Broadcast].
SNTP server
SNTP time Time broadcast
synchronization 4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Condition value
Interval
of tag Tag component value
sampling
Condition value
Interval
of tag Tag component value
sampling
:Trigger conditions
are met
Trigger data 2)
3) Trigger buffer
4)
Job Job Job Job Job
startup startup startup startup startup
Job execution 1) 2) 3) 4) 5)
(b) When trigger conditions for multiple jobs are met concurrently
• Up to three jobs can start their executions concurrently in the order in [Job
settings].
• After completion of these jobs, executions of the other jobs are started
sequentially.
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.
5 - 24 5.3 Precautions
1
(c) When actions are set for a job
When actions are set for a job, if a communication error occurs, a timeout time will
OVERVIEW
be generated.
In the case of multiple action settings, timeout time is generated for each action.
For the timeout time, refer to the following.
7.5 Setting Items of DB Connection Service Setting Tool 2
CONFIGURATION
Job execution
SYSTEM
Action 1
Action 2
Action 10
3
Program execution (after actions)
SPECIFICATIONS
Timeout time occurs for each.
The time taken until completion of the job is obtained from the formula shown
below.
4
INTERFACE FUNCTION
executions
MES INTERFACE
Item Setting
FUNCTION
Communication action 12
Program execution (before action) 1
Program execution (after action) 1
Timeout 30 seconds 6
FUNCTION SETTING
MES INTERFACE
(d) Monitoring interval timeout
Depending on the number of set jobs or the trigger condition setting, the
monitoring interval timeout may be generated.
Appendix 2 About Monitoring Interval Timeout
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
5.3 Precautions 5 - 25
(2) When an error occurs in job execution
(a) The job execution is canceled when the error cause is the following:
• Failure in device data writing due to network disconnection within the PLC
system
• Failure in device data writing, or operation error
• Failure in access to the database (Except jobs for which [Enable DB
buffering] is selected)
Section 5.1.10 DB buffering function
(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 GOT device data and the database.
(1) GOT device data
Since all of data are written to the device data area in the GOT at a time upon
completion of job execution, any change due to the error is not reflected in the
device data of the GOT.
(2) Database
Rollback is executed assuming the time immediately before job activation as
a commit point.
However, when the database is Wonderware Historian, rollback is not
executed.
When an error occurs during inserting data into a database, the data inserted
into the database before occurring the error are reflected.
(c) When [Notify errors (job cancellation) that occur during job execution] has been
selected, a value is assigned to the specified tag component.
Section 6.7.5 Notify errors (job cancellation) that occur during job execution
5 - 26 5.3 Precautions
1
CHAPTER 6 MES INTERFACE FUNCTION SETTING
OVERVIEW
This chapter explains the setting of the MES interface function.
CONFIGURATION
required for the MES interface function.
In addition, the operation status of the MES interface function and the working log can be
SYSTEM
checked, and other operations such as stop/restart of the MES interface function can be
also performed.
3
6.2 Displaying the MES Interface Function Setting Screen
SPECIFICATIONS
1 Start GT Designer2.
For how to start GT Designer2, refer to the following manual.
GT Designer2 Version Basic Operation/Data Transfer Manual (2.4. Starting
4
3 The MES interface screen is displayed. Configure the settings referring to the
following descriptions.
5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This section explains the structure of the MES interface function setting screen.
Title bar
Tab
Detailed setting
edit screen
Remark
(1) Display on the title bar
On the title bar, the status of connection to the GOT is displayed.
The connection status displays are shown below.
The Edit items tree shows overall MES interface function settings in a tree.
OVERVIEW
This section explains the operations using the Edit items tree.
CONFIGURATION
Project root
SYSTEM
Item
Setting type
3
SPECIFICATIONS
4
(1) Selecting an item
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area. 5
(2) Adding an item
MES INTERFACE
1 Selecting an item or a setting type to be added and performing either of the
FUNCTION
following will add the item.
• Select an item of the same type or a setting type, right-click the mouse, and
choose [Add]. 6
• Double-click a setting type that contains no item.
FUNCTION SETTING
MES INTERFACE
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 7
Since the number of items that can be added is limited depending on the setting
type, refer to the relevant section of each item.
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
1 Select an item to be deleted and right-click the mouse. Selecting [Delete] deletes
the item.
Point
For precautions on the item deletion, refer to the following.
Section 6.12 (2) When deleting an item
1 Select an item to be copied, right-click it to display the menu. Selecting [Copy &
Paste] replicates the item.
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.
OVERVIEW
Configure the settings for the MES interface function.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
Reference
Item Description
section 6
Device tag settings Configure the settings for the tag function. Section 6.6
FUNCTION SETTING
Server service settings Configure the settings for access to a server computer. Section 6.7
Job settings Configure the settings for the DB interface function. Section 6.8 MES INTERFACE
Configure the SNTP time synchronization setting and the DB buffering function
Option Setting Section 6.9
setting.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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 6.3.2 Operations using the Edit items tree
(2) When an item is added or copied, a "New Tag" item is added.
OVERVIEW
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Item Description
Device tag name Enter a device tag name. (Up to 16 characters)
Set whether to periodically sample the tag or not.
Sampling setting
Set a sampling interval to sample the tag. 4
INTERFACE FUNCTION
Section 6.5.2 Setting items in Array setting
Configure the tag component settings.
Component setting input
Section 6.5.3 Setting items in Component setting
Displays a list of the components that have been already set.
Component list
Section 6.5.3 Setting items in Component setting
Array block size Make setting when changing the block size manually.
5
No. of tag components in
Displays the number of all the tag components in the project.
project
MES INTERFACE
No. of statistical Displays the number of the components in the project, for which [Perform
FUNCTION
processings in project statisticcal processing] is selected.
No. of device points in tag Displays the number of total device points used in [Device Tag setting].
FUNCTION SETTING
Configured tags are used in [Job settings], etc.
For characters that can be used for device tag names, refer to the following: MES INTERFACE
SETTING TOOL
SERVICE AND
An array is a data format, in which the specified number of data of the same data type are
OVERVIEW
arranged sequentially.
The Array setting is set when writing multiple records extracted from a database to the
same tag component. 2
Either of the following can be selected for device assignment to each tag component.
• Assigning consecutive devices to each tag component (series)
CONFIGURATION
• Handling all tag components as a block and assigning the same kind of devices in a
series of blocks (block)
SYSTEM
Tags with array settings are used for [MultiSelect].
Section 6.8.1 Setting items in Communication action
3
SPECIFICATIONS
(1) Use array
When the [Use array] checkbox is checked, the tag is arranged as arrays. 4
5
(2) Length of array (Range: 2 to 40000, Default: 2)
MES INTERFACE
Set the number of arrays for the tag.
FUNCTION
(3) Series/Block (Default: Series)
Select a method for the array setting.
6
(a) Series
FUNCTION SETTING
Devices of respective tag components are arranged consecutively.
(Example)When [Length of array] is set to 4 with [series] setting MES INTERFACE
to GD103
GD1000 GD1004 GD1008 GD1012
Component C to GD1003 to GD1007 to GD1011 to GD1015
8
TROUBLESHOOTING
Block
Point
When device types are different, [block] cannot be selected.
For the device types, refer to the following.
Section 3.2 GOT Devices Available for the MES Interface Function
OVERVIEW
Up to 256 components can be set for one tag.
Up to 4096 components can be set for one project.
(Adding a component) 2
• Set required items in [Component setting input], and click the Add button.
CONFIGURATION
• The component is added in [Component list].
(Modifying a component)
SYSTEM
• When a component to be modified is selected in [Component list], its settings are
displayed in [Component setting input].
3
• Modify the item settings in [Component setting input], and click the Replace
button.
SPECIFICATIONS
(Deleting a component)
• Select a component to be deleted in [Component list], and click the Delete button.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Selecting a component in [Component List] and clicking the button reverses the
button order between the selected component and the one immediately above it.
Selecting a component in [Component List] and clicking the button reverses the
button order between the selected component and the one immediately below it.
Point
The following are displayed on the status bar of [Device Tag setting].
• [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.
Up to 40000 device points can be set for a tag with [Array setting].
OVERVIEW
For characters that can be used for component names, refer to the following:
Appendix 1.2 Characters applicable to item names, component names, variable
names, etc. 2
(2) Device
CONFIGURATION
• Set a device type and an actual device number.
• Bit specification is not allowed for word devices.
SYSTEM
• For accessible devices, refer to the following:
Section 3.2 GOT Devices Available for the MES Interface Function
3
(3) Data type
SPECIFICATIONS
Select the data type of the sampling data (device data).
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
MES INTERFACE
etc.
• When the device value is a termination character (NULL code: 00H)
FUNCTION
The character data following it are ignored. (The character string is regarded as terminated.)
FUNCTION SETTING
(b) When [String] is selected, data are stored as follows: MES INTERFACE
1) When the value length is shorter than the character string length
NULL codes (00H) are stored after the stored values.
Example: "ABCD" is stored in the device of the tag component, whose 7
character length is 8.
A B C D
DB CONNECTION
SETTING TOOL
SERVICE AND
2) When the value length is longer than the character string length
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 8
component, whose character length is 2.
TROUBLESHOOTING
"AB"
(c) Odd numbers are not allowed for the character string length setting.
Set an even number for the character string length.
(b) When [Perform statistical processing] is selected, set the following items.
Item Description
Statistical type Select a type of the statistical processing.
Specify the number of samples when [Moving average], [Moving
No. of samples
maximum], or [Moving minimum] is selected.
1) Statistical type
Select a type of the statistical processing.
Item Description
*1 An average value after starting sampling
Average
Maximum*1 The maximum value after starting sampling
Minimum*1 The minimum value after starting sampling
An average of the tag component values that are collected at
sampling intervals for the number of times specified by [No. of
Moving average*2 *3 samples]
Since the processing range moves at each sampling, the latest value
can be obtained.
The maximum value in the tag component values that are collected
at sampling intervals for the number of times specified by [No. of
Moving maximum*2 *3 samples]
Since the processing range moves at each sampling, the latest value
can be obtained.
The minimum value in the tag component values that are collected at
sampling intervals for the number of times specified by [No. of
Moving minimum*2 *3 samples]
Since the processing range moves at each sampling, the latest value
can be obtained.
OVERVIEW
job.
For operation actions, refer to the following:
Section 6.8.2 Setting items in Operation action
The statistical processing is reset and a value processed after the substitution is stored. 2
*2 Statistical values of [Moving average], [Moving maximum], and [Moving minimum] cannot be reset.
*3 When a tag component having [Moving average], [Moving maximum], or [Moving minimum]
CONFIGURATION
setting is specified in a job, the job is not activated until data are collected for the specified number
of times after start of sampling.
SYSTEM
2) No. of samples (2 to 20)
Specify the number of samples when [Moving average], [Moving maximum], or
[Moving minimum] is selected.
3
SPECIFICATIONS
(Moving average when [No. of samples] is 4)
MES INTERFACE
1st 2nd 3rd
FUNCTION
1)+2 )+3)+4 ) 2 )+3)+4 )+5) 3 )+4)+5 )+6)
4 4 4
FUNCTION SETTING
(6) n (Array No.)
MES INTERFACE
When [Array setting] is set, the device range of array No.n, is displayed in [Device [n]]
of [Component List].
7
To change the [Device [n]] display, use the following methods.
DB CONNECTION
SETTING TOOL
8
TROUBLESHOOTING
Usually, the block size need not be changed because the it is automatically adjusted
to avoid duplication of components.
Change [array block size] when:
• Setting a desired number for the start device No. of each block.
• Adding any component in the future.
The following example explains the cases where [array block size] is manually set and
is not set.
(Example) When [Component D] is to be added in the future
• When 10 is set for [array block size], device numbers are not changed.
• When nothing is set for [array block size], device numbers in and after array
No.2 are changed.
OVERVIEW
Configure the settings for the access to a server computer.
The set server service name is used in [Job setting].
1 Double-clicking [Server Service setting] in the Edit items tree displays relevant items. 2
2 Selecting one of the items displays the corresponding edit screen on the detailed
CONFIGURATION
setting edit screen area.
Make the setting referring to the following descriptions.
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
Point MES INTERFACE
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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.
Port No.
(Range: 1024 to 65535, Default: 5112)
Set a user name used to access the server computer.
User name
(Up to 30 characters)
Password/Confirm Set a password used to access the server computer.
password (Up to 30 characters)
Data source name Set the name of the ODBC data source to be accessed.
Database type Select the type of the database server.
Access error notification
Set whether to enable or disable notification of the access error status.
setting
In case a connection error occurs on the network between the GOT and
the server computer, set a timeout time during which the GOT will detect
Connection timeout
the error.
(Range: 1 to 180 seconds, Default: 10 seconds)
OVERVIEW
The set server service name is used in [Job setting].
For characters that can be used for server service names, refer to the following:
Appendix 1.2 Characters applicable to item names, component names, variable 2
names, etc.
Note that using the name same as the one of the device tags set in [Device tag
CONFIGURATION
settings] is not allowed.
SYSTEM
(2) Server type
(a) Select the server type of the server computer to be accessed. 3
Item Description
Database server Used in [Communication action] of [Job setting].
SPECIFICATIONS
Application server Used in [Program execution] of [Job setting].
INTERFACE FUNCTION
Appendix 1.4 Characters applicable to field names, table
names, etc.
Select the type of the database server.
• Oracle 8i • Oracle 9i • Oracle 10g
Database type
• SQL Server 2000/2005 • MSDE2000 • Access2000
5
• Access2003/2007 • Wonderware Historian
MES INTERFACE
(3) IP address
FUNCTION
Enter a decimal IP address of the server computer where DB Connection Service is
installed.
FUNCTION SETTING
Set the same value in [Port No.] as the one set in [Service port] of DB Connection
MES INTERFACE
Service.
Section 7.5 Setting Items of DB Connection Service Setting Tool
SETTING TOOL
SERVICE AND
server computer.
(b) When [Notify the access error status.] is selected, choose a tag component into
whose device the access error status data is stored.
Tags that have a tag component with [Array setting] cannot be selected.
Data are stored as follows depending on the data type.
Data type of tag
Description
component
OFF: Normal/Not accessed/Network line disconnected
Bit
ON: Access error status
"0": Normal/Not accessed/Network line disconnected
String
"1": Access error status
0: Normal/Not accessed/Network line disconnected
Other than the above
1: Access error status
Point
The relation of the values set for [Connection timeout] and [DB access timeout
time] in [DB Connection Service Setting Tool] must be as follows:
• Connection timeout value DB access timeout value
OVERVIEW
Configure the settings for the DB interface function.
For the DB interface function, refer to the following:
Section 5.1 DB Interface Function
2
1 Double-clicking [Job settings] in the Edit items tree displays relevant items.
CONFIGURATION
2 Selecting one of the items displays the corresponding edit screen on the detailed
setting edit screen area.
SYSTEM
Make the setting referring to the following descriptions.
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
Point MES INTERFACE
(1) How to add, delete, or copy an item
For addition, deletion or copying of items, refer to the following:
Section 6.3.2 Operations using the Edit items tree
(2) When an item is added or copied, a "New Job" item is added. 7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
GOT Initializing Set whether to enable the job at startup of the GOT or not.
Trigger buffering Set whether to enable the trigger buffering or not.
Startup logging Set whether to output the startup history of the job to the log or not.
Test mode Set whether to operate the job in test mode or not. 2
Configure the settings for startup conditions of the job.
Trigger conditions
Section 6.7.2 Setting items in Trigger conditions
CONFIGURATION
Configure the action settings.
Action
Section 6.8 Job Settings - Actions
SYSTEM
Configure the settings for the program execution function.
Program execution
Section 6.7.3 Setting items in Program execution
Configure the settings for the DB buffering function.
3
DB buffering
Section 6.7.4 Setting items in DB Buffering
SPECIFICATIONS
Set whether to enable or disable notification of errors (job cancellation) that
Notify errors (job
occur during job execution.
cancellation) that occur
Section 6.7.5 Notify errors (job cancellation) that occur during job
during job execution
execution
No. of fields in project Displays the total number of fields in the project.
Tag component data length
4
Displays the total data length of the tag components in the job.
MES INTERFACE
(2) GOT Initializing
FUNCTION
(a) Set whether to enable the job at startup of the GOT or not.
If the [GOT Initializing] box is not checked, the job is disabled at startup of the
GOT. (Even if trigger conditions are met, the job is not executed.) 6
(b) When the GOT is ON, the enable/disable setting of the job can be changed in
FUNCTION SETTING
MES INTERFACE
[Change Job Status] on the [Diagnosis] tab.
Section 6.10.3 Changing the job status (Change job status)
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
The total data length of tag components in one job is the total data length of tag
components set in [Communication action] and [Operation action]. In
[Communication action], tag components are set in [Select/Update conditions]
and [DB-tag link setting].
All tags in one job are treated as different tags even if there are the same tags.
(b) When the log capacity becomes full (Log capacity: 1MB 2)
The first half of the data are deleted.
The latest log is stored after the remaining data.
(c) When this function is enabled, a processing time is required for saving or deleting
the startup history of the job.
It is recommended to disable this function during system operation.
OVERVIEW
(a) Set whether to operate the job in test mode or not.
Up to 4 jobs can be set to [Test mode].
When the [Test mode] box is checked, the test mode is activated, and execution
details of the job can be confirmed before operation. 2
Job execution can be confirmed in [Job Execute Log] on the [Working log] tab.
CONFIGURATION
(b) When [Test mode] is selected
The following are performed in the test mode.
SYSTEM
Operations other than the following are identical to the actual operations.
• Startup data are logged.
• Detailed data are logged. 3
• Data are not written to GOT devices.
• No data are written to the database.
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Item Description
Combination Selects conjunction of Trigger 1 and 2.
Trigger 1 Selects Trigger 1.
Trigger 2 Selects Trigger 2.
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.)
When the combination result of [Trigger 1] and [Trigger 2] is changed from false to 2
true, 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
Combination Trigger 1 Trigger 2 Combination result
(Changed from false to (Remained false)
SPECIFICATIONS
true)
True True
False False 4
MES INTERFACE
(Changed from false
FUNCTION
True True
to true)
False False
FUNCTION SETTING
True True MES INTERFACE
False False
(Changed from false to (Changed from false to
true) true)
7
AND (When both of them
are true, the result is true.)
True True
DB CONNECTION
SETTING TOOL
False
SERVICE AND
False
8
True True
TROUBLESHOOTING
False False
(3) Disable
(a) When [Disable] is selected for [Trigger 1] or [Trigger 2]
Another trigger is regarded as a trigger condition.
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
3
1) Year, Month, Day, Hour, and Minute
Directly enter the date and time.
SPECIFICATIONS
Matching with the actual date and time is not checked for any field that remains
blank.
Item Description
Year (4 digits) 0000 to 9999 4
INTERFACE FUNCTION
Hour 0 to 23
Minute 0 to 59
2) Day:
Specify a day of the week. 5
Check the checkbox of the day to be specified.
If no box is checked, it means "every day".
MES INTERFACE
FUNCTION
(Example) The following shows that the job is to be activated at 17:30 on
Monday through Friday.
6
FUNCTION SETTING
MES INTERFACE
(Example) The following shows that the job is to be activated at 9:00 on the 1st
day of every month.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
Point 8
If [Startup logging] is selected, each job startup can be confirmed with the time to
the second in the startup log.
TROUBLESHOOTING
(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.
Startup point
Startup point
Condition value
Tag compon
Sampling interval
OVERVIEW
1) Tag, Component
2
Select a tag component to be compared with.
Tags that have a tag component with [Array setting] cannot be selected.
CONFIGURATION
2) Condition
Select a condition for comparison.
SYSTEM
=
Item Description
The tag component value is equal to the condition value.
3
The tag component value is not equal to the condition value.
SPECIFICATIONS
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])
The tag component value is greater than the condition value.
(Not selectable when [Data type] of the tag component is [bit] or 4
INTERFACE FUNCTION
(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])
5
3) Tag/Type
MES INTERFACE
Select a tag or constant that is used as a condition for comparison.
FUNCTION
Tags that have a tag component with [Array setting] cannot be selected.
4) Component
Select or enter a component/constant value that is used as a condition for
6
comparison.
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(Example)
To activate the job repeatedly while the condition of [Value monitoring startup]
is met,
Make settings as follows:
Item Description
Combination AND (When both of them are true, the result is true.)
Trigger 1, Trigger 2 [Value monitoring startup], [Specified time period startup]
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
OVERVIEW
(8) Handshake operation
(a) The job is activated when [Handshake startup] of the GOT turns ON. 2
Upon completion of the job execution, [Completion notification] of the GOT turns
ON.
CONFIGURATION
[Handshake operation] is a startup method by which completion of job execution
SYSTEM
can be notified to a GOT.
Sampling interval 3
GOT
Handshake operation started
SPECIFICATIONS
ON
[Handshake startup]
OFF
ON
[Completion notification]
OFF
4
INTERFACE FUNCTION
Device data
Job operation 5
Data
MES INTERFACE
FUNCTION
1 When [Handshake startup] turns ON in the sequence program, the GOT collects
tag component values used for the job and executes the job.
6
2 Upon completion of the job execution, [Completion notification] of the GOT is
FUNCTION SETTING
turned ON.*1
MES INTERFACE
3 After confirming that [Completion notification] is ON, turn OFF [Handshake
startup] of the GOT.
4 When [Handshake startup] turns OFF, the GOT turns OFF [Completion
7
notification], causing the handshake operation to be completed.
5 After confirming the completion of the handshake operation, the next job is
DB CONNECTION
SETTING TOOL
SERVICE AND
executed.
*1 If an error occurs during job execution, [Completion notification] does not turn ON.
To detect such an error, enable [Notify errors (job cancellation) that occur during job execution].
Section 6.7.5 Notify errors (job cancellation) that occur during job execution
8
TROUBLESHOOTING
Item Description
Select a tag component used to request for job startup.
(Selectable only when [Data type] of the tag component is [bit])
Handshake startup
Tags that have a tag component with [Array setting] cannot be
selected.
Select a tag component that allows notification of execution
completion of the job.
Completion notification *1 (Selectable only when [Data type] of the tag component is [bit])
Tags that have a tag component with [Array setting] cannot be
selected.
OVERVIEW
For the program execution function, refer to the following:
Section 5.1.9 Program execution function
2
1 Click the Setting button of [Before actions] or [After actions].
• Before actions:
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
2 [Program execution setting (before action)] or [Program execution setting (after
action)] is displayed.
Make the setting referring to the following descriptions. 4
INTERFACE FUNCTION
5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(b) When [Execute program before action] or [Execute program after action] is
enabled, make the setting described in this section (2) and subsequent sections.
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 [DB access timeout] time set in DB 2
Connection Service Setting Tool, a timeout error is detected and the job execution
is canceled.
CONFIGURATION
For [DB access timeout], refer to the following:
SYSTEM
Section 7.5 Setting Items of DB Connection Service Setting Tool
(b) When [Check return value] is selected, set the following items.
1) Normal return value (Default: 0)
3
Set a normal return value.
SPECIFICATIONS
2) Write the value into the tag when the value is faulty.
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. 4
MES INTERFACE
return value is faulty, the job execution is canceled.
FUNCTION
(5) Wait for execution completion
If the [Wait for execution completion] box is checked, the next processing is executed 6
after completion of the program execution.
When [Check return value] is selected, [Wait for execution completion] is always
FUNCTION SETTING
MES INTERFACE
selected.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Item Description
Enable DB buffering Set whether to enable the DB buffering or not.
Set whether or not to automatically resend data after recovery.
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.
Point
Before resending data, the GOT communicates with the database.
At this time, if an action for communicating with the same database is set for a job,
a long time is required for execution of the job.
In the case of a large buffering size, it is advisable to resend the data manually
while any job that is set to communicate with the database is not in execution, so
that no problem will arise even if the MES interface function processing is
affected.
Set whether to enable or disable notification of errors (job cancellation) that occur during
OVERVIEW
job execution.
Job execution is canceled when access to the database fails or when type mismatch is
found. 2
Section 5.2 SNTP Time Synchronization Function
Section 6.12 Precautions
CONFIGURATION
SYSTEM
3
(1) Notify errors (job cancellation) that occur during job execution
SPECIFICATIONS
(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. 4
INTERFACE FUNCTION
selected, set a tag component to which a value is assigned.
1) Tag, Component
Select a tag component to which a value is assigned.
Tags that have a tag component with [Array setting] cannot be selected.
5
2) Substitute value
MES INTERFACE
Directly enter a substitute value.
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
• In [One-shot execution], settings of [Startup logging] and [DB Buffering]
are not executed.
• All of job operations running with the MES interface function are
temporarily disabled during one-shot execution.
1 Click the One-shot execution button with the [Job settings] edit screen displayed.
2 Clicking the One-shot execution button performs one-shot job execution ignoring the
trigger conditions.
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 6.11.2 (3) Updating the Job Execute Log
Remark
A dialog box indicating the current processing status is displayed until completion
of one-shot execution.
OVERVIEW
(a) Precautions before one-shot execution
One-shot execution can be performed only when the MES interface function is
active.
When the MES interface function is not active, check the status and restart the 2
operation before starting one-shot execution.
For restart of the MES interface function, refer to the following:
CONFIGURATION
Section 6.10.2 Manipulating the MES Interface Function status (Operation)
SYSTEM
(b) Precautions during one-shot execution
Do not perform the following during one-shot execution.
• Do not disconnect the cable that is connected to the GOT during one-shot 3
execution.
Doing so will cause the MES interface function to be inoperative.
SPECIFICATIONS
• Do not remove the CF card from the GOT during one-shot execution.
Doing so will cause the MES interface function to be inoperative.
If the MES interface function becomes inoperative, check the status and restart
the operation on the Diagnosis tab. 4
For restart of the MES interface function, refer to the following:
INTERFACE FUNCTION
(c) Precautions after one-shot execution
One-shot execution results are not reflected in [Connection result of previous job
execution].
5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(Adding an action)
• Select [Communication action], [Operation action], or [Transmit resource action]
from the list box next to the Add button, and click the Add button.
• The Communication action dialog box, the Operation action dialog box, or the
Transmit resource action dialog box is displayed.
• Section 6.8.1 Setting items in Communication action
• Section 6.8.2 Setting items in Operation action
• Section 6.8.3 Setting items in Transmit resource action
(Modifying an action)
• Select an action to be modified in [Action list], and click the Edit button.
• The Communication action dialog box, the Operation action dialog box, or the
Transmit resource action dialog box is displayed.
• Section 6.8.1 Setting items in Communication action
• Section 6.8.2 Setting items in Operation action
• Section 6.8.3 Setting items in Transmit resource action
(Deleting an action)
• Select an action to be deleted in [Action list], and click the Delete button.
(Copying an action)
• Select an action to be copied in [Action list], choose [Replicate the selected action]
from the list box next to the Add button, and click the Add button.
1 Select [Replicate actions of other jobs] in the list box next to the Add button, and
OVERVIEW
click the Add button.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
5 Actions of the job selected in 4 are listed in [Source Actions]. Select an action to
be copied. (Multiple selection is available.)
6
6 Clicking the > button displays the action(s) selected in 5 in [Selected Actions to
FUNCTION SETTING
replicate].
MES INTERFACE
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
7
>> button replicate].
DB CONNECTION
< button
SERVICE AND
the box.
Deletes all of the actions in [Selected Actions to replicate] from the
<< button box.
Selecting an action in [Action list] and clicking the button reverses the
button order between the selected one and the one immediately below it.
The button cannot be clicked on the last action.
Point
When more than one action are set, they are executed in order, starting from the
top.
(1) Type
The types of the existing actions are displayed.
Item Description
Select [Select] of [Communication action]
Update [Update] of [Communication action]
Insert [Insert] of [Communication action]
MultiSelect [MultiSelect] of [Communication action]
Operation [Operation action]
Resource [Transmit resource action]
OVERVIEW
(a) In the case of [Communication action]
Item Description
2
[Database: Table name]{DB-tag link setting No.1}...{DB-tag link setting No.n}
CONFIGURATION
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}
SYSTEM
(b) In the case of [Operation action]
3
Item Description
{Operation action No.1}...{Operation action No.n}
SPECIFICATIONS
• With substitution setting:
{Operation action} =
Display format*1 *2 {Substitution tag component/Constant value <- Operation tag component/Constant value Operator
Operation tag component/Constant value}
• Without substitution setting:
4
Item Description
[Database: Table name]{Comment storing field name, Time storing field name, Field name No.1, ..., Field 5
Display format
name No.n}
MES INTERFACE
*1 Display format of the tag component/constant value
FUNCTION
Item Description
Tag component Device tag name, component name
Numerical value Numerical value 6
String "Character string"
FUNCTION SETTING
GOT time: Date [GOT time]
MES INTERFACE
Date
Server time: Date [Server time]
Date String "Date [Date String]"
Variable (Variable name)
*2 Display format of the operator
7
Item Description
+ (Addition) +
DB CONNECTION
SETTING TOOL
- (Subtraction) -
SERVICE AND
(Multiplication)
(Division)
% (Remainder) %
8
TROUBLESHOOTING
Item Description
Action type Select an action type.
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*1
constant values).
When [Select], [Update] or [MultiSelect] is selected for [Action type], set
Select/Update conditions*1
conditions for the records to be selected or updated.
When [Select] or [MultiSelect] is selected for [Action type], set a
Select sort settings*1
condition for sorting selected records.
Set the processing to be performed in the following cases:
No corresponding record exists when [Select], [Update], or [MultiSelect]
is selected for [Action type].
Exception process setting Multiple corresponding records exist when [Select] or [Update] is
selected for [Action type].
button
The number of records to be multi-selected is greater than the number of
arrays set in [Array setting] of the tag when [MultiSelect] is selected for
[Action type].
Multi select setting When [MultiSelect] is selected, detailed settings can be configured by
clicking this.
button
OVERVIEW
Generated SQL text
[Communication action].
No. of fields in project Displays the total number of fields in the project.
Tag component data length in
job
Displays the total data length of the tag components in the job.
2
Selecting a row and clicking the button reverses the order between
the selected row and the one immediately above it.
CONFIGURATION
button
The button cannot be clicked on the first row.
SYSTEM
Selecting a row and clicking the button reverses the order between
button the selected row and the one immediately below it.
The button cannot be clicked on the last row. 3
Delete row button Selecting a row and clicking the Delete row button deletes the row.
• All of the tags set in [Device tag settings] are inserted into [Tag] and
SPECIFICATIONS
[Component].
• Select a row into which data are inserted and choose a tag in a list box
next to the Insert a whole tag button. Clicking the
Insert a whole tag button
Insert a whole tag button inserts all of the tag components into 4
contiguous rows starting from the selected one.
INTERFACE FUNCTION
moved down.
*1 Up to 8192 fields can be set in [DB-tag link settings], [Select/Update conditions] and [Select sort
settings] for each project.
(Check [No. of fields in project] in the lower left of the Communication action dialog box.)
5
Remark
MES INTERFACE
(1) Entry of [Component]
FUNCTION
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.)
6
Because of this, setting the same name to each of the field name and tag
component name is useful.
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(2) Database
Select a database to be accessed.
OVERVIEW
substitute value (tag component value/variable).
Set conditions of the record to be selected in [Select/Update conditions].
This section (5) Select/Update conditions
Conditions for sorting the selected records are set in [Select sort settings].
2
This section (6) Select sort settings
CONFIGURATION
1) Field name (1 to 32 characters)
Set a field name for the field value to be selected.
SYSTEM
For characters that can be used for field names, refer to the following:
Appendix 1.4 Characters applicable to field names, table names, etc.
2) Tag
3
Select a tag or variable for which a value is substituted.
SPECIFICATIONS
Tags that have a tag component with [Array setting] cannot be selected.
3) Component
Select or directly enter a component value or a variable of the substitution
target.
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
Database: DB1, Table name: RecipeData
Work_No RECIPE1 RECIPE2 RECIPE3
536 5 32 1 7
DB CONNECTION
SETTING TOOL
Tag component
Process1.Work_No Process1.RECIPE1 Process1.RECIPE2 Process1.RECIPE3
536 5 32 1
8
TROUBLESHOOTING
Tag component
Process1.Work_No Process1.Complete Process1.Rejected Constant: Server time
536 496 32 2005.07.01 15:12:00
OVERVIEW
constant value/variable) into a field of the generated record.
1) Field name (1 to 32 characters)
Set a field name for the field value to be inserted.
2
For characters that can be used for field names, refer to the following:
Appendix 1.4 Characters applicable to field names, table names, etc.
CONFIGURATION
2) Tag
Select a tag, constant, or variable which is substituted.
SYSTEM
Tags that have a tag component with [Array setting] cannot be selected.
3) Component 3
Select or directly enter a Component value or a variable that is to be
substituted.
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
Database: DB1, Table name: ERRORLOG
Date Process No Work_No Parameter
7
Inserted Inserted Inserted Inserted
DB CONNECTION
SETTING TOOL
Tag component
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
substitute values (tag component values).
Conditions for the redords to be selected are set in [Select/Update conditions].
This section (5) Select/Update conditions
Conditions for sorting the selected records are set in [Select sort settings].
2
This section (6) Select sort settings
CONFIGURATION
1) Field name (Up to 32 characters)
Set a field name for the field values to be multi-selected.
SYSTEM
For characters that can be used for field names, refer to the following.
Appendix 1.4 Characters applicable to field names, table names, etc.
2) Tag
3
Select a target tag.
SPECIFICATIONS
Only the tags with [Array setting] can be selected.
3) Component
Select a target component.
Point 4
MES INTERFACE
setting is handled separately.
FUNCTION
(The number of settings can be confirmed on the status bar of [Job setting], or in
the [Communication action] or [Operation action] dialog box.)
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
: : : :
536 5 32 1
537 6 33 0
538 7 34 1
539 8 35 0
540 9 36 1
Select-sorted Matched
Selected Selected
(Ascending) (RECIPE_C=1)
Tag component
Process1.Work_No[1] Process1.RECIPE_A[1] Process1.RECIPE_B[1] Process1.RECIPE_C[1]
536 5 32 1
538 7 34 1
540 9 36 1
OVERVIEW
[Update], [Insert] or [MultiSelect], or as condition values of [Select/Update
conditions].
The following table lists data types of tag components and those of assignable
fields. 2
If the data type of a tag component does not match the one of its substitution
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 3
job.
Section 6.12 (3) Type mismatch
SPECIFICATIONS
Data type of assignable field
INTERFACE FUNCTION
Bit type Yes/No type Discrete Tag
bit
Byte type
int
Integer type
smallint
Long integer type
(Numeric type: Integer)
NUMBER
CHAR
tinyint
float
Single type 5
Single-precision type Double type Analog Tag(Integer)
VARCHAR real
Double-precision type AutoNumber type
char
MES INTERFACE
Currency type
varchar
Text type*1 *2
FUNCTION
text*1
Memo type*1 *2
float
Single type
(Numeric type: Floating NUMBER real
Double type 6
point) CHAR char *1 *2 Analog Tag(Real)
Text type
Floating-point type *3 VARCHAR varchar
FUNCTION SETTING
Memo type*1 *2
MES INTERFACE
*1
text
char
CHAR Text type *2
Character string varchar String Tag
VARCHAR Memo type *2
text*1
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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
Up to 64 variables can be set for one job.
CONFIGURATION
Point
SYSTEM
(1) A variable is valid only in a single job execution and is not held.
(2) The initial variable value before substitution processing is the numerical value 3
of zero.
(3) The data type of a variable will change through operation processing of a job.
SPECIFICATIONS
Section 6.12 (3) Type mismatch
INTERFACE FUNCTION
Historian
MSDE 2000 2007
Oracle 10g
Bit type Yes/No type Discrete Tag
bit
Byte type
int
Integer type
smallint
tinyint
Long integer type 5
NUMBER Single type
(Numeric type: Integer)
CHAR float Analog
Single-precision type Double type
real
MES INTERFACE
Up to 16 characters. VARCHAR AutoNumber type Tag(Integer)
Double-precision type
For characters that can be used for char
Currency type
FUNCTION
variables, refer to the following: vachar
Text type *1*2
Appendix 1.2 Characters text *1
Memo type *1*2
applicable to item names,
component names, variable
float
Single type 6
(Numeric type: Floating NUMBER real
names, etc. Double type
FUNCTION SETTING
point) CHAR char Analog Tag(Real)
Text type *1*2
MES INTERFACE
Floating-point type *3 VARCHAR vachar
Memo type *1*2
text *1
char
CHAR Text type*2
Character string vachar String Tag
VARCHAR Memo type*2
text *1 7
*1 Not available for [Select/Update conditions]
*2 Memo-type fields in Rich Text Format cannot be used. (For Microsoft Access 2007)
DB CONNECTION
SETTING TOOL
8
TROUBLESHOOTING
Point
Exception processing is executed when records that meet [Select/Update
conditions] are in the following cases.
• Records to be selected/updated/multi-selected do not exist.
• Multiple records exist for select/update.
• The number of records to be multi-selected is greater than the number of
arrays set in [Array setting] of the tag.
For details of the exception processing, refer to the following.
This section (7) Exception processing setting
(a) Combine
Select a method by which conditions set in respective lines are combined.
Select "AND" or "OR".
If "AND" and "OR" are combined, the database will process "AND" first and then
"OR".
Item Description
The condition of the line just above the corresponding line and the
AND
condition of the corresponding line
The condition of the line just above the corresponding line or the
OR
condition of the corresponding line
OVERVIEW
Item Description
The field value is equal to the condition value.
The field value is not equal to the condition value. 2
The field value is equal to or greater than the condition value.
CONFIGURATION
The field value is greater than the condition value.
The field value is smaller than the condition value.
SYSTEM
The field value is equal to or smaller than the condition value.
(d) Tag 3
Select a tag or constant that is used as a condition for comparison.
Tags that have a tag component with [Array setting] cannot be selected.
SPECIFICATIONS
(e) 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. 4
INTERFACE FUNCTION
For tag components, constants or variables, refer to the following:
• This section (4)(e) About tag components
• This section (4)(f) About constants
• This section (4)(g) About variables 5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(b) Order
Set the order of sorting the selected records.
Item Description
Sorts the records so that the specified fields are arranged in
Ascending order
ascending order.
Sorts the records so that the specified fields are arranged in
Descending order
descending order.
OVERVIEW
200 707 2007-01-31
201 662 2007-01-10
202 666 2007-01-29
2
203 662 2007-01-31
204 707 2007-01-10
CONFIGURATION
205 666 2007-01-29
206 707 2007-01-10
SYSTEM
207 662 2007-01-29
208 662 2007-01-31
3
Sorting conditions in [Select sort settings]
SPECIFICATIONS
1)
2)
MES INTERFACE
2) 205 666 2007-01-29
FUNCTION
202 666 2007-01-29
208 662 1) 2007-01-31
FUNCTION SETTING
MES INTERFACE
1) First, selected records are sorted in ascending order of DELIVERY_DATE.
2) Then, records of the same DELIVERY_DATE are sorted in descending order of ORDER_NO.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
(1) When a job is forcibly terminated, an error occurred during job execution (job
OVERVIEW
cancellation) is not notified.
Section 6.7.5 Notify errors (job cancellation) that occur during job
execution 2
(2) If [Enable DB buffering] is selected for a job, its exception processing setting
is disabled.
CONFIGURATION
Section 6.7.4 Setting items in DB Buffering
SYSTEM
(b) Exception processing: Multiple applicable records
When [Select] or [Update] is selected for [Action type], set processing for the case 3
where there are multiple records to be selected or updated.
SPECIFICATIONS
4
MES INTERFACE
Point
FUNCTION
When [Update] is selected for [Action type], if multiple records to be updated exist,
all of them are updated.
6
FUNCTION SETTING
2) Send notification of this exception
MES INTERFACE
When the [Send notification of this exception] box is checked, if multiple
records 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 7
which the value is assigned.
• Tag, Component
DB CONNECTION
Tags that have a tag component with [Array setting] cannot be selected.
• Substitute value
Directly enter a substitute value.
3) Continue this job
8
After executions of exception processing described in the above 1) and 2), the
TROUBLESHOOTING
Point
(1) When a job is forcibly terminated, an error occurred during job execution (job
cancellation) is not notified.
Section 6.7.5 Notify errors (job cancellation) that occur during job
execution
(2) If [Enable DB buffering] is selected for a job, its exception processing setting
is disabled.
Section 6.7.4 Setting items in DB Buffering
Remark
If the [Select firster find records] checkbox is not checked, the following is per-
formed.
• When [Notify the number of acquired records] is set in [Multi select setting], 0 is
notified.
• When [Clear the unused tag components by zero] is set in [Multi select setting],
0 is assigned.
This section (8) Multi select setting
OVERVIEW
by [Select/Update conditions] is greater than the number of arrays set in [Array
setting].
[Array setting] is less than the number of records selected by [Select/Update 2
conditions].
When selecting this, set a tag component to which a value is assigned.
CONFIGURATION
• Tag, Component
Select a tag component to which a value is assigned.
SYSTEM
Tags that have a tag component with [Array setting] cannot be selected.
• Substitute value
Directly enter a substitute value.
3
3) Continue this job
SPECIFICATIONS
After executions of exception processing described in the above 1) and 2), the
system continues executions of other actions.
4) Finish this job (Default: Finish this job)
After executions of exception processing described in the above 1) and 2), the
system forcibly terminates the job without executing other actions.
4
Point
(1) When a job is forcibly terminated, an error occurred during job execution (job 5
cancellation) is not notified.
Section 6.7.5 Notify errors (job cancellation) that occur during job
MES INTERFACE
execution
FUNCTION
(2) If [Enable DB buffering] is selected for a job, its exception processing setting
is disabled.
Section 6.7.4 Setting items in DB Buffering 6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
(1) When the select sort settings are set, the GOT acquires the records in the set
sorting orders.
(2) An error occurs if the specified tag component value is 0 or less.
Section 5.3 (2) When an error occurs in job execution
OVERVIEW
specified number of arrays of the tag component is less than the number of
actually acquired records, zeros are assigned to other array areas.
(Example) 2
When the specified number of arrays of the tag component is "6" and the number
of actually acquired records is "4":
CONFIGURATION
Component name Device Data type n=1 n=2 n=3 n=4 n=5 n=6
SYSTEM
Component A GB0 Bit Component A GB0 9 GB1 4 GB2 7 GB3 1 GB4 0 GB5 0
Component B GD10 Double word Component B GD10 482 GD12 623 GD14 769 GD16 154 GD18 0 GD20 0
Component C GD100 String (10 characters) Component C GD100 Table GD105 Data1 GD110 Data2 GD115 Data3 GD120 "" GD125 ""
3
Acquired records "0" is assigned to
unassigned tag
SPECIFICATIONS
components. ("Null" for
the character string
type)
INTERFACE FUNCTION
execution, and displayed in the format shown below. (It is different from the actual
SQL text.)
Actions of [Select] and [MultiSelect] generate SQL texts with SELECT. With the SQL
text, the user cannot identify which action is executed.
5
Item Description
Tag component '(Device tag name, component name)'
MES INTERFACE
Numerical value 'Number'
FUNCTION
String 'String'
GOT time:
TO_DATE('( Date and time [YYYYMMDDhhmmss])',
Oracle 8i
'YYYYMMDDHH24MISS') 6
Server time: sysdate
GOT time:
FUNCTION SETTING
MES INTERFACE
Oracle 9i TO_DATE('( Date and time [YYYYMMDDhhmmss])',
Oracle 10g 'YYYYMMDDHH24MISS')
Date Server time: CURRENT_TIMESTAMP
SQL Server
2000/2005
MSDE2000
GOT time: '( Date and time [YYYY-MM-DD hh:mm:ss])' 7
Server time: CURRENT_TIMESTAMP
Wonderware
Historian
DB CONNECTION
SETTING TOOL
SERVICE AND
Access 2000 GOT time: '( Date and time [YYYY-MM-DD hh:mm:ss])'
Access 2003/2007 Server time: NOW()
Date String '(Date[String])'
Variable '(Variable name)'
8
TROUBLESHOOTING
1 Performing the operation for adding or modifying an action displays the [Operation
action] dialog box.
Make the setting referring to the following descriptions.
Clicking the OK button after setting adds or modifies the action.
For the operation for adding or modifying an action, refer to the following:
Section 6.8 Job Settings - Actions
OVERVIEW
Select or directly enter a component value or a variable of the substitution
Component
target.
Select a tag, constant, or variable which is computed.
Operation tag
Tags that have a tag component with [Array setting] cannot be selected. 2
Select or directly enter a component/constant value or a variable that is to
Component
be computed.
CONFIGURATION
Select an operator.
Operator [ ] (None), [+] (Addition), [-] (Subtraction), [ ] (Multiplication), [ ]
SYSTEM
(Division), [%] (Remainder)
Selecting a row and clicking the button reverses the order between the
button selected row and the one immediately above it. 3
The button cannot be clicked on the first row.
SPECIFICATIONS
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.
Tag component data length 4
Displays the total data length of the tag components in the job.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
(1) A variable is valid only in a single job execution and is not held.
(2) The initial variable value before substitution processing is the numerical value
of zero.
(3) The data type of a variable will change through operation processing of a job.
Section 6.12 (3) Type mismatch
OVERVIEW
voltage and it is assigned to a tag component (Process 1.Correction power).
The tag component value (Process 1.Correction power) obtained from the following
[Operation action] is: 2
(Process 1.Voltage 100 + 50) Currrent
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Configure the settings for sending the resource data collected in a GOT to a database.
Point
Before setting [Transmit resource action], configure the settings to collect the
resource data (the logging setting, the advanced user alarm observation, the
advanced system alarm observation, and the operation log setting).
For details, refer to the following manual.
GT Designer2 Version Screen Design Manual
The settings for collecting the resource data must be matched to the settings for
the resource data send action. When the settings are not matched, an error may
occur at the job execution.
Item Description
Action type Select an action type.
Database Select a database to be accessed.
Table name Select a table name of the database to be accessed.
Resource type Select a resource data type.
Set the assignments between the resource data to be sent and the field
Field name setting*1
value for the database.
Clicking this button checks that the settings for collecting the resource
data are matched to the settings for the resource data send action.
Confirm setting button An error message is displayed when the settings are not matched.
For the displayed error message, refer to the following.
Section 6.12 Precautions
Set the logging ID for the logging setting or the alarm ID that is set on the
Logging ID/Alarm ID
advanced alarm observation.
Clicking the Set operation log file name button displays the stored
Operation log file
location for the operation log data to be sent.
(To the next page)
OVERVIEW
Displays the SQL text that is generated during editing the data for
Generated SQL text
[Transmit resource action].
*1 Up to 8192 fields can be set in [Field name setting] for each project.
(Check [No. of fields in project] in the lower left of the Communication action dialog box.)
2
CONFIGURATION
Select an action type.
SYSTEM
The selectable action type is the insert only.
Item Description
Insert Generates a new record, and assigns a value (resource data) into a field.
3
(2) Database
SPECIFICATIONS
Select a database to be accessed.
INTERFACE FUNCTION
For characters that can be used for table names, refer to the following:
Appendix 1.4 Characters applicable to field names, table names, etc.
MES INTERFACE
Item Description
FUNCTION
Device values of a controller that are collected at any timing or in
Logging
specified intervals.
Alarm data that are collected in specified intervals for the advanced user
Advanced user alarm
alarm observation setting 6
Alarm data for controllers and a network that are collected by the
Advanced system alarm
FUNCTION SETTING
advanced system alarm observation setting
Operation log GOT operation history data collected by the operation log function MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
1)
4)
2) 5)
3) 6)
Item Description
*1
1) First row (comment)
A field name for sending a comment to the database can be set.
2) Second row (time)*1
Field name*3*5 A field name that specifies a date and time for a resource data send
(0 to 32 characters) action can be set.
3) Third row or later (resource data)
A field name for sending the resource data to the database can be set.
Input the field name for [Insert data] to be sent.
4) First row (0 to 32 characters, Default: Comment)*1*4
The comment to be inserted into the database can be set.
5) Second row (Default: GOT time)
The date and time for inserting the data to the database can be
selected from [GOT time] or [Server time].
6) Third row or later (resource data)
The list of resource data to be inserted to the database is displayed.
Insert data*2 This section (5)(a) When selecting [Logging] for [Resource type]
This section (5)(b) When selecting [Advanced user alarm] for
[Resource type]
This section (5)(c) When selecting [Advanced system alarm] for
[Resource type]
This section (5)(d) When selecting [Operation Log] for [Resource
type]
*1 When setting [Field name], fields for the stroring comment and the time data are created in the
database. (The setting for the field name is not necessarily required.)
*2 When [Field name] is not inputted, no resource data is sent.
*3 For the types of data to be sent in the fields, refer to the following.
This section (5)(e) Data types
*4 For characters that can be used for character strings, refer to the following:
Appendix 1.3 Characters applicable to character string constants, etc.
*5 For characters that can be used for field and table names, refer to the following:
Appendix 1.4 Characters applicable to field names, table names, etc.
OVERVIEW
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Insert data Data type
Logging time Date
LoggingDevice (1 to 250)*1 Numeric type (Integer, floating point)
*1 The numbers of 1 to 250 correspond to the rows set for the number of the block number in the 4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
Insert data Data type
Alarm time Date
Alarm status Character string
General comment*1 Character string 7
*1 Character string
Middle comment
*1 Character string
Higher comment
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
Up to 512 of one-byte and two-byte characters can be set in a comment for the
advanced system alarm.
Set the length of character string on the database more than that for the comment.
OVERVIEW
2
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
Insert data*1 Data type
Logging time(DATE) Date
Log No.(NO) Numeric type (Integer)
Screen No.(SCRN_NO) Character string
Action type(ACT_ABBR) Character string 4
INTERFACE FUNCTION
Operation level(OPERATOR) Character string
Operation level(OPE_ID) Numeric type (Integer)
User ID(USER_ID) Numeric type (Integer)
Action No.(ACT_NO) Numeric type (Integer)
Data type(DATA_TYPE) Character string 5
Device name(DEV_NAME) Character string
Change value(CHG_VALUE) Character string
MES INTERFACE
Previous value(PREV_VALUE) Character string
*1 The data to be sent vary according to the operation log target.
FUNCTION
For details of the collected data in the operation log, refer to the following manual.
GT Designer2 Version Screen Design Manual
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
*1 Memo-type fields in Rich Text Format cannot be used. (For Microsoft Access 2007)
*2 With Wonderware Historian, only [GOT time] is sent.
OVERVIEW
[Resource type] only.
CONFIGURATION
SYSTEM
Clicking the Set operation log file name button displays the stored location for the
operation log file. 3
The GOT can send the displayed operation log file to the database.
Inputting the data directly to [Drive Name], [Folder Name], and [File Name] are not
SPECIFICATIONS
available.
Point
When the operation log settings are changed after setting [Transmit resource
4
action], click the Set operation log file name button to set the operation log file
INTERFACE FUNCTION
The settings for [Operation log file] are not automatically changed.
When the displayed data on [Operation log file] does not exist, an error occurs at
the job execution.
5
(8) Range of data
MES INTERFACE
Specify the maximum number of resource data to be sent for one resource data send
action.
FUNCTION
When [Operation Log] is selected for [Resource type], [Range of data] is fixed to
[Latest data (days specified)].
6
FUNCTION SETTING
MES INTERFACE
7
Item Description
Specify the maximum number of resource data collected in the GOT after the
Latest data
DB CONNECTION
last action.
SETTING TOOL
SERVICE AND
(No. specified)
(Range:1 to 99999, Default:1)
Specify the time period from the job execution time to the specified time for
Latest data
sending the collected resource data.
(time specified)*1
(Range:1 to 99999, Default:1 (seconds))
Specify the number of days including in the date at the job execution for sending
8
Latest data the resource data. (This item cannot be specified for sending the logging data,
TROUBLESHOOTING
(days specified)*1 the advanced user alarm data, and the advanced system alarm data.)
(Range:1 to 400, Default:1 (days))
All data All the resource data collected in the GOT after the last action.
For details of *1, refer to the following.
GOT time
Sending resource data <Resource data to be sent for the last action>
(last action) A:Data collected for the specified time (300 seconds)
A B
Sending resource data <Resource data to be sent for the next action>
C
(next action) B:Data collected after the last action until changing
11:10 11:20 the GOT time
C:Data collected for the specified time (300 seconds)
Changing GOT time
(b) Executing the next action after the time of the last action
Example 1) Changing the time from 11:40 to 11:20, and executing the next action at 11:35
: Time specified (300 seconds)
GOT time
Sending resource data <Resource data to be sent for the last action>
(last action) A:Data collected for the specified time (300 seconds)
A B D
Sending resource data <Resource data to be sent for the next action>
C
(next action) B,C:Data collected for the specified time (300
Changing GOT time 11:20 11:35 seconds)
D:Data collected after the time of the next action (in
the previous GOT time setting)
Example 2) Changing the time from 11:58 to 12:58, and executing the next action at 13:00
: Time specified (300 seconds)
GOT time
Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified time (300 seconds)
Sending resource data <Resource data to be sent for the next action>
B
(next action) B:Data collected for the specified time (300 seconds)
Changing GOT time 12:58 13:00
OVERVIEW
: Time specified (300 seconds)
GOT time
2
Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified time (300 seconds)
CONFIGURATION
(11:25) 11:30 11:40
SYSTEM
Sending resource data <Resource data to be sent for the next action>
(next action) No data
11:00 11:20 3
Changing GOT time
SPECIFICATIONS
(b) Executing the next action after the time of the last action
Example 1) Changing the time from 11:40 to 11:20, and executing the next action at 11:35
: Time specified (300 seconds)
GOT time
4
INTERFACE FUNCTION
A B
MES INTERFACE
* The data collected before the last action are not sent by the next action even though the data is
collected within the specified time.
FUNCTION
(3) Operation log data
(a) Executing the next action before the time of the last action
(The GOT does not send all the data collected after the last acton.)
6
Example 1) Changing the time from 0:40 to 23:40 on the previous day, and executing the
FUNCTION SETTING
next action at 23:50
: Days specified (1 day) MES INTERFACE
GOT time
7
Changing date Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified day (1 day)
0:30 0:40
DB CONNECTION
SETTING TOOL
SERVICE AND
GOT time
Changing date Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified day (1 day)
0:30 0:40
(b) Executing the next action after the time of the last action
Example 1) Changing the time from 23:40 to 0:10 on the next day, and executing the next
action at 0:20
: Days specified (1 day)
GOT time
Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified day (1 day)
Changing date
23:30 23:40
Sending resource data <Resource data to be sent for the next action>
B
(next action) B:Data collected for the specified day (1 day) after
Changing GOT time 0:10 0:20 the last action
Example 2) Changing the time from 0:40 to 0:50 on the same day, and executing the next
action at 1:00
: Days specified (1 day)
GOT time
Changing date Sending resource data <Resource data to be sent for the last action>
(last action) A:Data collected for the specified day (1 day)
A B
0:30 0:40
Sending resource data <Resource data to be sent for the next action>
C
(next action) B, C:Data collected for the specified day (1 day)
Changing GOT time 0:50 1:00 after the last action
Point
(1) The GOT sends the resource data only one time, regardless of the settings
OVERVIEW
for [Range of data]. The GOT does not send the sent data to the database.
The GOT may send the sent data when restarting the GOT for downloading
the project data and others. 2
Section 6.12 Precautions
(2) When an action fails due to the communication error between the GOT and
CONFIGURATION
the server computer or others, the GOT sends the failed action data at the
next action.
SYSTEM
3
Remark
The time to complete the resource data send action (Reference value (seconds))
SPECIFICATIONS
The following shows the resource data send time for the resource type, and the
number of resource data (100, 500, 1000, 10000).
Under the following conditions, the values for sending data differ from the refer-
ence values in the following table.
• Loads on the GOT or loads on between the GOT and the server computer or
4
MES INTERFACE
Advanced system
Operation log*4 1 5 9 82
FUNCTION
*1 The logging is collected by the buffer historical and the device points set to 250 points and a
100ms cycle for the logging setting.
*2 When collecting data every 100ms cycle is canceled, the value is shown in the parentheses.
*3 When sending the alarm comment with 512 one-byte characters. 6
*4 When the numbers of insert fields are 7 to 13 by one action.
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Item Description
*1 'Data name'
Resource data
String 'String'
GOT time:
TO_DATE('(Date and time[YYYYMMDDhhmmss])',
Oracle 8i
'YYYYMMDDHH24MISS')
Server time: sysdate
GOT time:
Oracle 9i TO_DATE('(Date and time[YYYYMMDDhhmmss])',
Date Oracle 10g 'YYYYMMDDHH24MISS')
Server time: CURRENT_TIMESTAMP
SQL Server 2000/2005
MSDE 2000 GOT time: '(Date and time[YYYY-MM-DD hh:mm:ss])'
Server time: CURRENT_TIMESTAMP
Wonderware Historian
Access 2000 GOT time: '(Date and time[YYYY-MM-DD hh:mm:ss])'
Access 2003/2007 Server time: NOW()
*1 For the data name, refer to the following.
This section (5) Field name setting
OVERVIEW
Configure the SNTP time synchronization setting and the DB buffering function setting.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
To synchronize the time between the GOT and other devices on the network,
using the time on the SNTP server computer is recommended.
Point
When the GOT time is set to be synchronized with the clock time of another
controller by GT Designer2 and GOT utility, even if the [Synchronize using SNTP]
box is checked, the SNTP time synchronization is not performed.
To use the SNTP time synchronization function, do not set the time adjustment
settings on GT Designer2 or the GOT utility.
For details of the time adjustment settings, refer to the following manual.
GT Designer2 Version Screen Design Manual (Section 2.5 Clock Function)
Item Description
OVERVIEW
SNTP server address Enter the IP address of the SNTP server or NTP server in decimal
(required) notation.
Select a time zone used for time synchronization.
Time zone (required)
Japan Standard Time (GMT+09:00) is selected by default. 2
Set an interval used for time synchronization.
Sync. Interval (required)
Default is 1 minute.
CONFIGURATION
(2) When time information is not obtainable from the SNTP server computer
SYSTEM
When the GOT cannot obtain time information from the SNTP server computer due to
failure of the network or time synchronization server, it behaves as follows:
3
(a) When time information is not obtained at the time of powering ON the GOT from
OFF, or resetting the GOT
SPECIFICATIONS
1) Time synchronization is not performed. (Clock data of the GOT are used as
they are.)
2) An error is output to the MES interface Execute Log.
3) Time query is executed to the SNTP server computer after the interval 4
MES INTERFACE
3) Time query is executed to the SNTP server computer after the interval
FUNCTION
specified for Sync. Interval.
Point 6
(1) When time query to the SNTP server computer is executed successfully, it
can be also confirmed by the error log.
FUNCTION SETTING
MES INTERFACE
• When succeeded in initial time query
An error code is output to the MES interface Execute Log.
• When failed in previous time query and succeeded this time
An error code is output to the MES interface Execute Log.
(2) The MES interface Execute Log can be checked on the [Working log] tab. 7
Section 6.11 Working Log
DB CONNECTION
SETTING TOOL
SERVICE AND
Note that the SNTP server computer must have the time synchronization server
function.
OVERVIEW
(a) Select a tag component into whose device whether data are currently
accumulated in the DB buffer or not is stored.
Tags that have a tag component with [Array setting] cannot be selected.
2
(b) Data are stored as follows depending on the data type.
Data type of tag
CONFIGURATION
Description
component
OFF : Not accumulated
Bit
SYSTEM
ON : One or more data accumulated
“0” : Not accumulated
String
1 or greater: Number of buffering data that are accumulated
0 : Not accumulated
3
Other than the above
1 or greater: Number of buffering data that are accumulated
SPECIFICATIONS
(4) Resend DB buffer request
(a) Select a tag component used to request for resend processing of the DB buffer.
Tags that have a tag component with [Array setting] cannot be selected.
4
INTERFACE FUNCTION
Data type of tag
Description
component
The resend processing of the DB buffer is performed when the
specified tag component is ON. 5
Normal: Turns OFF after completion of the resend processing.*1*2
Error:
MES INTERFACE
Outputs an error code to MES interface Execute Log, and turns OFF.
FUNCTION
Bit
FUNCTION SETTING
MES INTERFACE
The resend processing of the DB buffer is performed when "1" is written
to the specified tag component.
String Normal: "0" is written after completion of the resend processing.*1*2
Error: 7
Outputs an error to the MES interface Execute Log, and "0" is written.
The resend processing of the DB buffer is performed when "1" is written
DB CONNECTION
Other than the above Normal: "0" is written after completion of the resend processing.*1*2
Error:
Outputs an error to the MES interface Execute Log, and "0" is written.
*1 Do not change the value of the specified tag component until the resend processing is completed. 8
Even if the value changes, the resend processing is not interrupted.
*2 To make another DB buffer resend request after completion of resend processing, wait for a
TROUBLESHOOTING
sampling interval of the specified tag component or more, and then set the device as follows:
• Bit type: ON
• Character string type: "1"
• Other than the above: 1
(b) The following explains the operation of the clear processing using [Clear DB
buffer request].
DB buffer clear
processing Execute clear
OVERVIEW
(a) Select a tag component into whose device the status of whether the DB buffer is
full or not is stored.
Tags that have a tag component with [Array setting] cannot be selected.
2
(b) Data are stored as follows depending on the data type.
Data type of tag
CONFIGURATION
Description
component
OFF : DB buffer is not full.
Bit
SYSTEM
ON : DB buffer is full.
“0” : DB buffer is not full.
String
“1”
0
: DB buffer is full.
: DB buffer is not full.
3
Other than the above
1 : DB buffer is full.
SPECIFICATIONS
(c) When the DB buffer becomes full, buffering operation will be stopped.
After buffering operation is stopped, even if a job for which DB buffering is
enabled is activated, its SQL texts are discarded without being buffered.
Execution of a job for which DB buffering is enabled is not canceled.
4
MES INTERFACE
(unit: %) is stored.
FUNCTION
Tags that have a tag component with [Array setting] cannot be selected.
FUNCTION SETTING
OFF : Not accumulated
Bit
MES INTERFACE
ON : One or more data accumulated
“0” : Not accumulated
String
Other than "0": Utilization of DB buffer area (Unit: %)
0 : Not accumulated
Other than the above
Other than 0: Utilization of DB buffer area (Unit: %)
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
6 - 92 6.10 Diagnosis
1
6.10.1 Checking the MES Interface Function status (Status)
OVERVIEW
The following explains the display of [Status].
The display of [Status] is updated every 3 seconds.
2
CONFIGURATION
SYSTEM
Display Description
Running The MES interface function is working normally.
The MES interface function is stopped. 3
Stopped Even if trigger conditions are met, no job will be executed during stop of
the function.
SPECIFICATIONS
The GOT is in process of powering from OFF to ON, or resetting.
Initializing Even if trigger conditions are met, no job will be executed during
initialization.
The MES interface function is starting up after processing of the above
Starting Initializing status.
Even if trigger conditions are met, no job will be executed during startup. 4
INTERFACE FUNCTION
Getting status
status from the MES interface function.
The MES interface function setting screen failed to connect to the MES
Connection failed
interface function and could not acquire the status.
The MES interface setting has not been done, or the MES interface
Error
function is stopped due to an error. 5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
6.10 Diagnosis
6.10.1 Checking the MES Interface Function status (Status)
6 - 93
6.10.2 Manipulating the MES Interface Function status (Operation)
(1) Stop
1 Selecting the [Stop] radio button and clicking the Execute button stops the
operation of the MES interface function.
Point
If a job is in execution, the MES interface function will stop upon completion of the
job.
For completion of a job in which a communication error has occurred, refer to the
following:
Section 5.3 (c) When actions are set for a job
(2) Restart
1 Selecting the [Restart] radio button and clicking the Execute button restarts the
operation of the stopped MES interface function.
6 - 94 6.10 Diagnosis
6.10.2 Manipulating the MES Interface Function status (Operation)
1
6.10.3 Changing the job status (Change job status)
OVERVIEW
Point
The job status changed by this operation returns to the status set in [Job settings] 2
by powering OFF and ON or resetting the GOT.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
The job is enabled and thereby it is executed when the trigger
FUNCTION
conditions are met.
Enable job
• Not checked
The job is disabled, and thereby it is not executed even if the
trigger conditions are met. 6
• Checked
The startup logging is enabled, and thereby startup records are
FUNCTION SETTING
MES INTERFACE
logged.
Enable startup logging *1
• Not checked
The startup logging is disabled, and thereby startup records are
not logged.
• Checked
The detailed logging is enabled, and thereby detailed records are 7
logged.
Enable detailed logging *2
• Not checked
DB CONNECTION
SETTING TOOL
not logged.
• Checked
Disable writing to GOT Writing to PLC devices is disabled.
device • Not checked 8
Writing to PLC devices is enabled.
TROUBLESHOOTING
• Checked *3
Writing to the database is disabled.
Disable writing to database
• Not checked
Writing to the database is enabled.
6.10 Diagnosis
6.10.3 Changing the job status (Change job status)
6 - 95
*1 The startup log can be confirmed in [Job Execute Log] on the [Working log] tab.
Section 6.11.2 Job Execute Log
*2 [Enable detailed logging] is selectable only when [Test mode] is selected in [Job settings].
Section 6.7.1 (5) Test mode
When [Enable detailed logging] is checked, [Enable startup logging] is also selected.
The detailed log can be confirmed in [Job Execute Log] on the [Working log] tab.
Section 6.11.2 Job Execute Log
*3 When [Disable writing to database] is checked, the following processing are executed.
• The SQL text is sent to a database, and then the rollback is executed at the last.
Errors occur when the server service settings and the settings for the actions in [Job settings],
including table names and field names, are incorrect.
When an error occurs, check the settings.
• With Wonderware Historian, the following SQL text is sent because the rollback cannot be
used.
INSERT INTO History (Data Time, TagName,Value) SELECT TOP 0 NULL.
NULL. NULL:
Errors occur when the server service settings are incorrect.
When an error occurs, check the server service settings.
No error occurs even though the settings for the action in [Job settings] are incorrect.
6 - 96 6.10 Diagnosis
6.10.3 Changing the job status (Change job status)
1
6.10.4 Checking the connection of the previous job execution (Connection
result of 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
Displayed result Description
Normally connected to the server computer at the time of the
4
Connected
Point 5
• The display of the connection result is not changed until the next job is
executed to communicate the database server computer.
MES INTERFACE
• The result of the one-shot communication with the database server
computer is not reflected.
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
6.10 Diagnosis
6.10.4 Checking the connection of the previous job execution (Connection result of previous job execution)
6 - 97
6.10.5 Manipulating DB buffering (DB buffering operation)
Description
Display
Current value Highest value*2
Shows the current number of bufferings Shows the number of bufferings (number
No. of bufferings *1
(number of buffered jobs). of buffered jobs) in the past.
Shows the highest buffer utilization in the
Buffer utilization *1 Shows the current buffer utilization.
past.
*1 A value is not displayed when the value is being obtained or could not be obtained.
*2 Any of the following operation clears the highest value.
• Power off the GOT.
• Reset the GOT (when changing the communication settings, etc.)
• Install the OS from GT Designer2
• Download project data, etc.
• Restart the MES interface function
• One-shot execution
Note that the highest value is not cleared if the MES interface function was stopped by the
diagnostics function.
1 Clicking the Resend 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 resend processing fails, an error will be output to the MES interface Execute
Log.
1 Clicking the Clear button clears all of the SQL texts that are stored in the DB
buffer.
6 - 98 6.10 Diagnosis
6.10.5 Manipulating DB buffering (DB buffering operation)
1
6.10.6 Checking the trigger buffering (Trigger buffering status)
This section explains checking the number of data buffered, the current buffer utilizations,
OVERVIEW
and the highest buffer utilizations of the trigger buffering function.
For the trigger buffering function, refer to the following:
Section 5.1.5 Trigger buffering function 2
CONFIGURATION
SYSTEM
3
Description
Display
SPECIFICATIONS
Current value Highest value*2
Shows the current number of bufferings Shows the number of bufferings
No. of bufferings *1
(number of buffered jobs). (number of buffered jobs) in the past.
*1 A value is not displayed when the value is being obtained or could not be obtained.
*2 Any of the following operation clears the highest value.
• Power off the GOT.
4
INTERFACE FUNCTION
• Download project data, etc.
• Restart the MES interface function
• One-shot execution
Point 5
When a large number of data is buffered, check the number of job settings and the
trigger condition setting.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
6.10 Diagnosis
6.10.6 Checking the trigger buffering (Trigger buffering status)
6 - 99
6.11 Working Log
OVERVIEW
Data displayed in the MES Interface Execute Log are shown below.
Item Description
Date Displays the date and time on which an error occurred. 2
Displays an error code of the error occurred.
Error code For error codes, refer to the following:
CONFIGURATION
Section 8.1 Error Handling and Recovery Method
Summary Displays an error message.
SYSTEM
(2) Updating the MES interface Execute Log
3
1 Clicking the Acquire button updates the MES interface Execute Log.
SPECIFICATIONS
(3) Clearing the MES interface Execute Log
1 Clicking the Clear button clears the historical data in the MES interface Execute 4
Log.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This area displays event log data of the jobs whose executions have been completed.
There are two kinds of Job Execute Log data: [Startup log] and [Detailed log], by which the
job startup history and job execution details can be checked respectively.
(a) Icon
The completion status of the job is displayed as an icon in the Job Execute Log
area.
The following explains the status of each icon.
Icon Description
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.
(b) Date
The date and time of job startup is displayed.
(d) Summary
Trigger instructions are displayed.
Display Description
Start Shows that any job other than handshake operation was activated.
Handshake start Shows that job execution of handshake operation was activated.
Handshake end Shows that job execution of handshake operation was completed.
OVERVIEW
are displayed.
Section 6.7.1 (5) Test mode
2
Point
Do not remove the CF card from the GOT during detailed log output.
CONFIGURATION
SYSTEM
1 Selecting a job of or icon and clicking the View details button displays the
[View details] dialog box.
3
2 The following explains the display of the [View details] dialog box.
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
Item Description 6
Displays a list of executed job actions.
Action list
Selecting an action displays its action details.
FUNCTION SETTING
MES INTERFACE
Program execution result Displays a program execution result before execution of the first
(before action) action.
Program execution result
Displays a program execution result after execution of the last action.
(after action)
Action details *1 *2 *3 Displays the action details.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
1)
2)
6)
3)
4)
5)
7)
Display Description
Type, Database, Table Displays data of [Action type], [Database], and [Table name], which
1)
name were set in [Communication action].
Displays the number of records specified for [Specify the maximum
number of acquiring records] in the Multi select setting screen for the
2) Request record No. communication action.
When the number of records is not specified, [No specification] is
displayed.
Displays the execution result of the SQL text.
• When succeeded
3) Execution result [Success] is displayed.
• When failed
[Failed] is displayed.
• When [Select] or [MultiSelect] is selected for [Action type]
The number of records that meet the Select/Update conditions is
displayed.
• When [Update] is selected for [Action type]
The number of updated records is displayed.
• When [Insert] is selected for [Action type] ([Insert records No.] is
Applicable record No. displayed.)
4)
(Insert records No.) The number of inserted records is displayed.
When the database is Wonderware Historian, the number of
inserted records is displayed as 0 with the following operations and
settings.
• Test mode • One-shot execution
• Settings without writing to the database
Displays the number of acquired records when [Select] or [MultiSelect]
5) Acquired record No.
is selected for [Action type].
Displays data of [DB-tag link settings], which were set in
6) DB-tag link settings
[Communication action].
7) SQL text The SQL text executed in [Communication action] is displayed.
OVERVIEW
1)
2)
2
Display Description
CONFIGURATION
1) Upper row Displays the settings of [Operation action].
2) Lower row Displays values calculated in [Operation action].
SYSTEM
*3 In the case of Transmit resource action
SPECIFICATIONS
1)
3)
4)
2)
4
6)
Display Description
5
Type, Database, Table Displays data of [Action type], [Database], and [Table name], which
1)
name were set in [Communication action].
MES INTERFACE
Displays the execution result of the SQL text.
FUNCTION
• When succeeded
2) Execution result [Success] is displayed.
• When failed
[Failed] is displayed. 6
Displays the data of [Resource type], [Logging ID/Alarm ID], and
Resource type, Logging ID/
FUNCTION SETTING
3) [Operation log file] (the stored location for the operation log file) set for
Alarm ID, Operation log file
[Transmit resource action]. MES INTERFACE
Displays the field name set on [Field name setting] in [Transmit
resource action] and the substitute value.
• When the resource data to be sent exists
4) Field name setting Displays the substitute value sent the first.
• When the resource data to be sent does not exist. (all or part of the
7
substitute value for the field)
DB CONNECTION
Displays the number of the SQL texts sent for [Transmit resource
action].
Displays 0 in the following cases.
5) No. of execute SQL • When sending no resource data (substitute values for all the fields)
• When a communication error occurs between the GOT and the 8
database
TROUBLESHOOTING
OVERVIEW
Precautions for the MES interface function setting are described below.
CONFIGURATION
To newly add, edit or delete a MES interface setting, have the MES interface function
SYSTEM
setting screen displayed on GT Designer2.
SPECIFICATIONS
As the error dialog box appears, identify the location, stop using it for another item,
and then delete the item.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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.
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 MES interface Execute Log.
Example:"312" "4" "1248"
3
"31AH" "4" Cancellation of job execution
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
INTERFACE FUNCTION
occur at the job execution.
When setting for the resource data send action, click the Confirm setting button,
and then check that [No problem in the resource setting.] is displayed.
When the resource data send action setting differs from the setting for collecting 5
the resource data, the following error message are displayed.
MES INTERFACE
Resource type Error message Corrective action
Logging function setting
FUNCTION
Set [Logging Setting].
does not exist.
Logging
The logging ID is not Set the logging ID in [Logging ID/Alarm ID] that is set
available. for [Logging Setting].
Advanced user alarm
6
function setting does not Set [Advanced User Alarm Observation].
FUNCTION SETTING
Advanced user
exist.
MES INTERFACE
alarm
The alarm ID is not Set the alarm ID in [Logging ID/Alarm ID] that is set
available. for [Advanced User Alarm Observation].
Advanced system Advanced system alarm Check [Use System Alarm] for [Advanced System
alarm function is not available. Alarm].
Operation log function is not Check [Use Operation Log Settings] for [Operation 7
available. Log Setting].
Operation log
The operation log file name Click the Set operation log file name button to obtain
DB CONNECTION
8
TROUBLESHOOTING
Point
Set "null-capable" in the fields for the database.
Without setting "null-capable", an error occurs at the job execution.
For the database setting, refer to the manual for the database to be used.
OVERVIEW
This chapter explains DB Connection Service and DB Connection Service Setting Tool.
2
7.1 DB Connection Service Functions
CONFIGURATION
Installing DB Connection Service on the server computer allows to use the MES interface
SYSTEM
function of the GOT.
The following shows the functions of the DB Connection Service.
3
Point
SPECIFICATIONS
(1) It is necessary to install DB Connection Service on all the database server
computers and application server computers to be accessed from the GOT.
(2) When using DB Connection Service on a database server computer, the
ODBC setting for the database used must be made beforehand.
Section 7.2 Setting ODBC of Database 4
INTERFACE FUNCTION
(4) Changes to the DB Connection Service settings are made with DB
Connection Service Setting Tool.
Section 7.5 Setting Items of DB Connection Service Setting Tool
5
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Database server
Database computer
ODBC
Access
log SQL
failure log
2 Accesses the database via ODBC interface and executes the SQL text.
OVERVIEW
computer upon request from the GOT.
The following shows operation on the application server computer.
2
Application server
Program computer
CONFIGURATION
SYSTEM
3
MES interface DB Connection
function Service
SPECIFICATIONS
When
accessed
Access
4
MES INTERFACE
(3) IP filter function ( Section 7.5 (3) Limit IP addresses which permit to
FUNCTION
connect)
The IP filter function allows specification of the IP address of the GOT that can
connect to the DB Connection Service, ensuring the security of the server computer. 6
Batch specification using the mask bit length specification is possible.
FUNCTION SETTING
If the IP filter function is not used, any GOT can connect to DB Connection Service.
MES INTERFACE
SETTING TOOL
SERVICE AND
(b) SQL failure log ( Section 7.5 (5) Output SQL failed log)
If data cannot be updated/inserted normally due to an error such as no table at
8
SQL text execution, the error information is output to the SQL failure log.
TROUBLESHOOTING
When using DB Connection Service on a database server computer, the ODBC setting for
the database used must be done beforehand.
For the ODBC setting, refer to the following.
Manuals and online help for the database software and operating system (OS) used
OVERVIEW
[Administrative Tools] dialog box.
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
3 Double-clicking [Data Sources (ODBC)] displays
the [ODBC Data Source Administrator] dialog box.
Select the [System DSN] tab, and click the Add 4
button.
MES INTERFACE
displayed. Select [Oracle in OraHome92].
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
SETTING TOOL
SERVICE AND
OVERVIEW
(The following shows a setting example using Microsoft SQL Server 2000 with
Microsoft Windows XP Professional Operating System.)
Set the following conditions. 2
• Data source name*1: SAMPLEDS
CONFIGURATION
• Server name*2: SAMPLESRV
*1 Data source name can be set as desired.
SYSTEM
For [Data source name] in [Server service settings], use the name set with this setting.
*2 The server name is the name for accessing a Microsoft SQL Server 2000 database.
This name is entered when installing Microsoft SQL Server 2000. 3
This can be checked with the SQL Server service manager server.
(Start)
SPECIFICATIONS
1 Clicking [Performance and Maintenance] on the
Control Panel displays the [Performance and
Maintenance] dialog box.
4
To display the Control Panel, select [Start]
INTERFACE FUNCTION
5
MES INTERFACE
2 Clicking [Administrative Tools] displays
FUNCTION
[Administrative Tools] dialog box.
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
REMARKS
Setting Wonderware Historian
Mark a check in [Change the default value to] and
select [Runtime].
OVERVIEW
box, click the [Test Data Source] button to check
that the connection is normal.
2
CONFIGURATION
SYSTEM
8 Click the OK button in the [SQL Server ODBC
Data Source Test] dialog box. 3
9 Click the OK button in the [ODBC Microsoft
SPECIFICATIONS
SQL Server Setup] dialog box.
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(Start)
OVERVIEW
displayed, then select [Microsoft Access
Driver(*.mdb)].
5 When using Microsoft Access 2007 2
6 Select "Microsoft Access Driver(*.mdb. *accdb)".
CONFIGURATION
SYSTEM
7 The [ODBC Microsoft Access Setup] dialog box is 3
displayed. Set the following and click the
[Database] selection button.
SPECIFICATIONS
• [Data source name]: SAMPLEDS
INTERFACE FUNCTION
Select the following and click the OK button.
• [Folder]: C \ mes
• [Database Name]: sampledb.mdb
MES INTERFACE
FUNCTION
9 Click the OK button in the [ODBC Microsoft
Access Setup] dialog box.
FUNCTION SETTING
MES INTERFACE
(End)
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
For information on how to start DB Connection Service Setting Tool, refer to the following
manual.
GT Designer2 Version Basic Operation/Data Transfer Manual (Section 2.4 Starting
the Software)
Point
Only one DB Connection Service Setting Tool can be activated.
OVERVIEW
This section explains the screen structure of DB Connection Service Setting Tool.
CONFIGURATION
Menu
Section 7.4.2 Menu configuration
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
(1) File
Reference
Item Description
section
Import Imports an existing file.
Section 7.6
Export Exports the DB Connection Service Setting Tool to a file.
Exit Exits the DB Connection Service Setting Tool. -
(2) Help
Reference
Item Description
section
Product information Displays product information of the DB Connection Service Setting Tool.
Section 7.7
Connect to MELFANSweb Displays the [Connect to MELFANSweb] screen.
OVERVIEW
The following shows how to change the DB Connection Service settings.
1 Set the following items and 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 8.1 (2) Error checking procedure
SYSTEM
Point
(1) Change the DB Connection Service settings while a job using the DB 3
Connection Service is not operating.
The status is as follows:
SPECIFICATIONS
• The GOT is powered OFF.
• The MES interface function operation is stopped by [MES interface
setting] - [Diagnosis] tab.
Section 6.10.2 Manipulating the MES Interface Function status
(Operation)
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
Point
Set a value to [DB access timeout] so that the relation with a value set in
[Connection timeout] in [MES Interface Configuration Tool] is as follows:
• Connection timeout value DB access timeout value
OVERVIEW
(a) Specify whether or not to set IP addresses to which connection is to be permitted.
If the [limit IP addresses which permit to connect] box is checked, connection is
permitted from only the GOT with the specified IP address.
For IP addresses that are permitted to connect to DB Connection Service, at least 2
one IP address setting is required and up to 64 addresses can be set.
If the box is not checked, connection from any GOT will be permitted.
CONFIGURATION
(b) When [limit IP addresses which permit to connect] is selected, set IP address(es).
SYSTEM
1) Adding an IP address to permit its connection
<Specifying individual IP addresses>
3
SPECIFICATIONS
Item Description
Set an IP address in decimal notation so that its connection will be
IP address
permitted.
Mask bit length (Blank)
4
INTERFACE FUNCTION
(Example) 192.168.0.64
MES INTERFACE
permitted.
Set the effective bit length of the set IP address.
FUNCTION
Mask bit length
(Range: 1 to 32)
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
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 [Output access log] is selected, set the following items.
Item Description
Output destination Set the output destination of the log file.
Access log capacity Set the capacity for one access log file and the number of files.
OVERVIEW
Capacity over
Ne
w
2
1 dbConnector.log dbConnector.log
Re
na
me
CONFIGURATION
Files
within the
dbConnector.log.001 dbConnector.log.001 specified
SYSTEM
Re number of
na
me files
dbConnector.log.002 dbConnector.log.002 3
De
let
e
SPECIFICATIONS
1 When [dbConnector.log] exceeds 1M byte, it is renamed as
[dbConnector.log.001]. 4
MES INTERFACE
(a) Set whether or not to output the SQL failure log.
FUNCTION
(b) When [Output SQL failed log] is selected, set the following items.
Item Description 6
Output destination Set the output destination of the log file.
SQL failure log capacity Set the capacity for one SQL failure log file and the number of files.
FUNCTION SETTING
1) Output destination (Default: "SQLFailed.log") MES INTERFACE
SETTING TOOL
10 files)
SERVICE AND
Set the capacity for one SQL failure log file and the number of files.
If the log exceeds the capacity for one file, the data are copied to a file of the
original name with a number attached and a new log file is created.
If the total number of files exceeds the set number of files, files are deleted in 8
order from the oldest one.
TROUBLESHOOTING
Import/export files.
(1) Import
An existing file can be imported.
Item Description
Look in Select the location where the file is stored.
File name Specify the name of the file to be imported.
Select a type of the file to be imported.
Files of type
• DB connection service setting files
(2) Export
DB Connection Service Setting Tool can be exported to a file.
Item Description
Save in Select the location where the file is to be saved.
File name Specify the name of the file to be saved.
Select a type of the file to be saved.
Files of type
• DB connection service setting files
OVERVIEW
The product information of the DB Connection Service Setting Tool and the Connect to
MELFANSweb screen can be displayed.
2
(1) Product information
CONFIGURATION
1 Select [Help] [Product information] from the menu.
SYSTEM
2 The [Product information] dialog box of the DB Connection Service Setting Tool is
displayed.
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
(2) Connect to MELFANSweb
6
1 Select [Help] [Connect to MELFANSweb] from the menu.
FUNCTION SETTING
2 The [Connect to MELFANSweb] dialog box is displayed.
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
7.7 Help 7 - 21
7.8 Output Log Specifications
The following shows the output log format for the access log and SQL failure log given in
Section 7.8.1 and later.
OVERVIEW
(1) Service start/end
(a) Start
2
Item Description
CONFIGURATION
Output log format [Date] [Error code] Service Start
Example 2005/07/01 12:00:00.000 0x00000000 Service Start
SYSTEM
(b) End
Item
Output log format [Date] [Error code] Service Stop
Description
3
Example 2005/07/01 12:00:00.000 0x00000000 Service Stop
SPECIFICATIONS
(2) Connection/disconnection from the GOT
(a) Connection
Item Description
[Date] [Error code] SID [Session ID]:MIFWS Connected:[Source IP]:[Target data source]:
4
(b) Disconnection
Item Description
Output log format [Date] [Error code] SID [Session ID]:MIFWS Disconnected:[Source IP]:[Target data source]:[Connection ID]
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:MIFWS Disconnected:192.168.3.3:DataSource:ID 5
MES INTERFACE
FUNCTION
(a) Connection
Item Description
Output log format [Date] [Error code] SID [Session ID]:DB Connect:[Target data source]: [Connection ID]:[Connection result*1]
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:DB Connect:DataSource:ID:Success
6
*1 When succeeded: Success, when failed: Failed
FUNCTION SETTING
(b) Disconnection MES INTERFACE
Item Description
[Date] [Error code] SID [Session ID]:DB Disconnect:[Target data source]: [Connection ID]:[Disconnection
Output log format
result*1]
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:DB Disconnect:DataSource:ID:Success
7
*1 When succeeded: Success, when failed: Failed
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
*2 When succeeded: Success ([No. of selected records]), when failed: Failed (Line feed) Database
message
(b) UPDATE
Item Description
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*3]([No. of updated records])
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:SQL<UPDATE TABLE SET COL = '';>:Success(1)
*3 When succeeded: Success ([No. of updated records]), when failed: Failed (Line feed) Database
message
(c) INSERT
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 0x00000000 SID 0:SQL<INSERT INTO TABLE ( COL ) VALUES ('')
Example
;>:Success(1)
*4 When succeeded: Success ([No. of inserted records]), when failed: Failed (Line feed) Database
message
(d) COMMIT
Item Description
Output log format [Date] [Error code] SID [Session ID]:COMMIT:[Processing result*5]
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:COMMIT:Success
*5 When succeeded: Success, when failed: Failed (Line feed) Database message
(e) ROLLBACK
Item Description
Output log format [Date] [Error code] SID [Session ID]:ROLLBACK:[Processing result*6]
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:ROLLBACK:Success
*6 When succeeded: Success, when failed: Failed (Line feed) Database message
*1 When succeeded: Success, when failed: Failed (Line feed) Database message
OVERVIEW
Item Description
Output log format [Date] [Error code] [Target data source]:[SQL text]
Example
2005/07/01 12:00:00.000 0x00000000 DataSource:INSERT INTO TABLE ( COL ) VALUES ('') ; 2
Database Message 0x00000388 [Oracle][ODBC][Ora]ORA-00904: "NUM" :invalid identifier
CONFIGURATION
SYSTEM
3
SPECIFICATIONS
4
MES INTERFACE
FUNCTION
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This section describes how to check an error output when using the MES interface
function.
Point
If more than one error are displayed in the error log of [MESI/F Log] or by error
dialog boxes, take corrective actions in chronological order.
OVERVIEW
Section 8.2 Error Code List
CONFIGURATION
procedure GT Designer2 Version Screen Design Manual
• Connect the operating GOT to a configuration computer.
SYSTEM
Working log checking
• Display the Working log sheet in the MES interface setting.
procedure *1
• Display the detailed log from the Working log sheet and check the data.
Status checking • Connect the operating GOT to a configuration computer. 3
procedure • Display the Diagnosis sheet in the MES interface setting and check the data.
• Set a notification tag in the MES interface setting.
SPECIFICATIONS
• Add a setting for monitoring the tag value on the GOT screen.
• On the GOT screen, check if an error or exception has occurred in the tag or not.
• Notification tags can be set for the following four items:
• [Job settings] - [Communication action] - [Exception process setting] - [Exception processing:
Notification tag
component value
No applicable record]
• [Job settings] - [Communication action] - [Exception process setting] - [Exception processing:
4
MES INTERFACE
Viewer checking
• Select the Application log to display the list.
procedure
FUNCTION
• Click on [Source] (sorting the list by the source name), and check for "DB Connector."
Access log checking • In DB Connection Service Setting Tool, select [Output access log].
procedure • Display the output file with Windows Notepad.
SQL log checking • In DB Connection Service Setting Tool, select [[Output SQL failed log]. 6
procedure • Display the output file with Windows Notepad.
FUNCTION SETTING
MES INTERFACE
*1 A CF card is required.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
This section explains troubleshooting information on the setting of the MES interface
function.
OVERVIEW
• Do not use Select actions in the job
where DB buffering is enabled.
Unable to set [DB buffering setting]. Is there any Select action set for the job?
• The DB buffering is not available for jobs
performing Select actions.
2
• Delete any unnecessary variable settings
Are there 64 variables that were already
Unable to set a new variable. of the job.
CONFIGURATION
defined in the job?
• Up to 64 variables can be set for one job.
• Select any other than [Handshake
SYSTEM
Unable to select [Trigger 2] in [Trigger Is [Handshake operation] selected for operation] for [Trigger 1].
conditions]. [Trigger 1]? • When [Handshake operation] is selected,
selection is not allowed for [Trigger 2]. 3
Is the DB buffering enabled? • Disable the DB buffering.
Unable to set [Exception processing
• Set any other than [Insert] for [Action
setting] in [Communication action]. Is [Insert] set for [Action type]?
SPECIFICATIONS
type].
INTERFACE FUNCTION
GOT. installed? GOT.
MES INTERFACE
• Install a CF card.
Is there a CF card inserted?
FUNCTION
• Turn ON the CF card access switch.
No log is displayed.
• On the Diagnosis tab, check the MES
Is the MES interface function operating?
interface function status.
• Check if Adjust is enabled with the Utility 6
No execution result is displayed in spite of Is the time adjust function of the GOT function of the GOT.
FUNCTION SETTING
SNTP time synchronization setting. disabled? • Check if Adjust is enabled in GT
MES INTERFACE
Designer2.
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
The error code list is shown below.
For the error output checking method, refer to the following.
Section 8.1 Error Handling and Recovery Method
2
8.2.1 Error log in the Working log
CONFIGURATION
Error code Error description and cause Corrective action
SYSTEM
• The device value cannot be collected.
0x41130001 Tag value collecting error Check the device settings and the network
configuration.
3
• The set data are erroneous.
0x41140029
Download them again.
Setting read error
SPECIFICATIONS
• In the case of one-shot job execution, the CF
0x4114002A
card may corrupted. Replace the CF card.
• Check the Ethernet connection.
• An Ethernet communication error has occurred.
MES INTERFACE
• Check if [Device tag settings] are correct.
0x41140065 Failed to perform the tag access.
FUNCTION
Section 6.5 Device Tag Settings
• Failed to read data from the tag.
0x41140069 Tag value read error • Check if [Device tag settings] are correct.
Section 6.5 Device Tag Settings 6
• The data could not be converted to the type
FUNCTION SETTING
specified for the tag component.
0x41140077 Type conversion to tag component error
MES INTERFACE
• Change the setting so that type conversion will
be available in any case.
0x41140081 • Data stored in the DB buffer are invalid.
DB buffer content error • The CF card may be corrupted.
0x41140083
• Replace the CF card.
• A part of invalid data in the DB buffer has been
7
corrected.
0x41140084 Partial correction of DB buffer content
• A part of the DB buffered data in the CF card
DB CONNECTION
SETTING TOOL
SERVICE AND
OVERVIEW
invalid.
0x411400E8 Invalid max number of select record.
• Set the tag component value specified as the
maximum number of records 1 or more.
• Check that the option OS for the operation log 2
function is installed on the GOT.
0x411400EA Operation log function is not running
• Check that the operation log setting is
CONFIGURATION
configured.
0x411400EE Unable to find the operation log file. • The MES interface function in the GOT cannot
SYSTEM
0x411400F0 Unable to open the operation log file. access the operation log file.
• Check that the CF card including the operation
0x411400F2 Unable to acquire the operation log file.
log file is installed in the GOT.
• An error occurred in the Ethernet
3
communication, and the communication failed to
start.
SPECIFICATIONS
• Check the Ethernet connection.
0x41150110 Communication start error
• Check if [Server service settings] are correct.
Section 6.6 Server Service Settings
• Check if the ODBC setting is correct.
Section 7.2 Setting ODBC of Database 4
INTERFACE FUNCTION
0x41150121 Communication connection timeout • Check if [Server service settings] are correct.
MES INTERFACE
Section 6.6 Server Service Settings
FUNCTION
• Check if the ODBC setting is correct.
Section 7.2 Setting ODBC of Database
0x41150141 Message reception timeout • Check the error information of DB Connection
Service (access log file). 6
Section 7.8.1 Access log
FUNCTION SETTING
0x41150160 DB transaction status error
MES INTERFACE
0x41150161 DB transaction start status error • Check the transaction status of the database.
The DB Connection Service outputs errors to the Windows Event Log, access log, and
OVERVIEW
SQL failure log.
For Windows Vista , DB Connection Service Client also outputs errors to Windows
Event Log. 2
(1) Event log of Windows
CONFIGURATION
(a) Event log output warning list of DB Connection Service (Source name:
SYSTEM
DBConnector)
SPECIFICATIONS
Start the service using the default setting. Section 7.5 Setting Items of DB
Connection Service Setting Tool
(b) Event log output warning list of DB Connection Service (Source name:
DBConnector) 4
MES INTERFACE
Failed to initialize the log file. and 501 to 503.
6
FUNCTION
The service is stopped. • Actions are displayed with error codes 401 to
403, and 501 to 503.
• Change the server port No. with DB Connection
9
The server port has already been opened. Service Setting Tool.
6
The service is stopped. Section 7.5 Setting Items of DB
Connection Service Setting Tool
FUNCTION SETTING
MES INTERFACE
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.
104 The setting file could not be opened.
• Reinstall the DB Connection Service. 7
• Terminate other applications, and make the
setting again with DB Connection Service Setting
DB CONNECTION
SETTING TOOL
SERVICE AND
OVERVIEW
file, create it.
• When the attribute of the access log file is set to
read-only, cancel the setting.
• If read/write is disabled for the access log file, 2
404 The access log file could not be opened. enable it in the security setting.
• When the access log file name represents a
CONFIGURATION
directory, rename or delete the directory.
• When the access log file has been open in
SYSTEM
another application, terminate the application.
• Check the disk device for any fault.
• When the disk space is full, ensure a free disk
space.
3
405 The log could not be written to the access log file. • When the access log file has been open in
another application, terminate the application.
SPECIFICATIONS
• Check the disk device for any fault.
• When the attribute of the oldest access log file is
set to read-only, cancel the setting.
• If read/write is disabled for the oldest access log
406 Failed to delete an old access log file. file, enable it in the security setting. 4
• When the oldest access log file has been open in
INTERFACE FUNCTION
• Check the disk device for any fault.
• When the attributes of the new and old access
log files are set to read-only, cancel the setting.
• If read/write is disabled for the new and old
MES INTERFACE
• Check the disk device for any fault.
FUNCTION
The computer ran out of memory when initializing
501
the SQL failure log file. • Terminate any unnecessary applications.
The computer ran out of resources when initializing • Add more memory to the personal computer.
502
the SQL failure log file. 6
• Shorten the path to the SQL failure log file with
FUNCTION SETTING
The full path name of the SQL failure log file is too DB Connection Service Setting Tool.
503
MES INTERFACE
long. Section 7.5 Setting Items of DB
Connection Service Setting Tool
• If no directory exists for storing the SQL failure
log file, create it.
• When the attribute of the SQL failure log file is
set to read-only, cancel the setting.
7
• If read/write is disabled for the SQL failure log
DB CONNECTION
504 The SQL failure log file could not be opened. file, enable it in the security setting.
SETTING TOOL
SERVICE AND
(c) Event log output error list of DB Connection Service Client (source name:
DBCnctClient)
OVERVIEW
(Service Not Start.)
0x20100001 Failed to start the service due to insufficient
memory. • Terminate any unnecessary applications.
(Service Not Start.) • Add more memory to the personal computer. 2
0x20100002 Failed to start the service due to insufficient
resources.
CONFIGURATION
(Service Not Start.)
• If a firewall software has been installed, make the
0x20100011 Failed to start the service due to failure of the
SYSTEM
specified server port operational.
server port initialization.
• Terminate the application that has opened the
server port. 3
(Service Not Start.) • Set another server port No. with DB Connection
0x20100012
Another application has opened the server port. Service Setting Tool.
SPECIFICATIONS
Section 7.5 Setting Items of DB
Connection Service Setting Tool
(Not Initialize a service for each client: [IP address])
• Terminate any unnecessary applications.
0x20200001 Failed to initialize a service for each client due to
• Add more memory to the personal computer.
insufficient memory.
• Using DB Connection Service Setting Tool, add
4
INTERFACE FUNCTION
0x20200002 permission.
Rejected the connection request from the non-
Section 7.5 Setting Items of DB
permitted IP address.
Connection Service Setting Tool
(SID [Session ID]: Request Receive Error: [IP
• Terminate any unnecessary applications.
0x20300001 address])
Failed to receive data due to insufficient memory.
• Add more memory to the personal computer.
5
(SID [Session ID]: Request Receive Error: [IP
0x20300010 address])
MES INTERFACE
Connection disconnected during request reception.
FUNCTION
(SID [Session ID]: Request Receive Error: [IP
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
address])
• Check if the power of the GOT has not been 6
0x20300012 turned off.
Detected failure of the MES interface module while
FUNCTION SETTING
waiting for or receiving a request.
MES INTERFACE
(SID [Session ID]: Request Receive Error: [IP
0x20300013 address])
Receive I/O error
(SID [Session ID]: Request Receive Error: [IP
0x20300014 address]) 7
• Check the source IP address setting.
Buffer overrun (Request length exceeded)
• Confirm the version of the Option OS (MES
(SID [Session ID]: Request Receive Error: [IP
DB CONNECTION
Interface).
SETTING TOOL
0x20300015 address])
SERVICE AND
8
TROUBLESHOOTING
OVERVIEW
(SID [Session ID]: COMMIT: Failed)
(SID [Session ID]: ROLLBACK: Failed)
0x20600010
(SID [Session ID]: GetNext: Failed)
(SID [Session ID]: Reset: Failed) 2
Invalid SQL execution request • Check the source IP address setting.
(SID [Session ID]: SQL<...>: Failed) • Confirm the version of the option OS (MES
CONFIGURATION
(SID [Session ID]: COMMIT: Failed) Interface).
(SID [Session ID]: ROLLBACK: Failed)
SYSTEM
0x20600020 (SID [Session ID]: GetNext: Failed)
(SID [Session ID]: Reset: Failed)
DB Connection Service does not support the SQL
instruction to be executed.
3
(SID [Session ID]: SQL<...>: Failed)
(SID [Session ID]: COMMIT: Failed)
SPECIFICATIONS
(SID [Session ID]: ROLLBACK: Failed)
0x20600021
(SID [Session ID]: GetNext: Failed)
(SID [Session ID]: Reset: Failed) • Correctly set a database type for [DB server
Failed in preparation before SQL execution. setting], a table name in the job for the
(SID [Session ID]: SQL<...>: Failed) communication action setting, or the resource 4
(SID [Session ID]: COMMIT: Failed) data send action setting in [MES Interface].
INTERFACE FUNCTION
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.
MES INTERFACE
(SID [Session ID]: GetNext: Failed)
communication action setting or the resource
(SID [Session ID]: Reset: Failed)
FUNCTION
data send action setting in [MES Interface].
Failed in SQL execution.
Section 6.6 Server Service Settings
(SID [Session ID]: SQL<...>: Failed) • In [MES interface setting], set update conditions
(SID [Session ID]: COMMIT: Failed) correctly for the Communication action setting of 6
(SID [Session ID]: ROLLBACK: Failed) the Job settings.
FUNCTION SETTING
0x20600025 (SID [Session ID]: GetNext: Failed) Section 6.8.1 Setting items in
(SID [Session ID]: Reset: Failed) Communication action MES INTERFACE
No record was updated or inserted by the SQL • Check if the database has been filled with
execution. registered data.
• Check if it is connected to the network.
(SID [Session ID]: *** Transmitting Commit
0x2060002B Success Response Failed. ***)
• Check if the gateway and/or hub is operating.
• Check if the power of the GOT has not been
7
Failed to transmit the COMMIT success response.
turned off.
DB CONNECTION
OVERVIEW
0x20600001 Failed in SQL execution due to insufficient memory.
• Terminate any unnecessary applications.
Failed in SQL execution due to insufficient
0x20600002 • Add more memory to the personal computer.
resources.
• Check the source IP address setting.
2
DB Connection Service does not support the SQL
0x20600020 • Confirm the version of the option OS (MES
instruction to be executed.
Interface).
CONFIGURATION
SYSTEM
0x20600021 Failed in preparation before SQL execution. • Correctly set a database type for [DB server
setting], a table name in the job for the
communication action setting, or the resource
data send action setting in [MES Interface].
3
Failed to obtain the number of fields in the record
0x20600022 Section 6.6 Server Service Settings
that is to be obtained by the SQL execution.
SPECIFICATIONS
• Correctly set a database type for [DB server
setting], a table name, field names, Select/
Update conditions, and types of the data to be
0x20600023 Failed in SQL execution. stored in the fields in the job for the 4
communication action setting or the resource
INTERFACE FUNCTION
Section 6.6 Server Service Settings
• In [MES interface setting], set update conditions
correctly for the Communication action setting of
the Job settings.
No record was updated or inserted by the SQL
0x20600025
execution.
Section 6.8.1 Setting items in
Communication action
5
• Check if the database has been filled with
registered data.
MES INTERFACE
• Check if it is connected to the network.
(Data source name: *** Transmitting Commit
FUNCTION
• Check if the gateway and/or hub is operating.
0x2060002B Success Response Failed. ***)
• Check if the power of the GOT has not been
Failed to transmit the COMMIT success response.
turned off.
6
FUNCTION SETTING
MES INTERFACE
7
DB CONNECTION
SETTING TOOL
SERVICE AND
8
TROUBLESHOOTING
2 3 4 5 6 7
0 (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
App - 1
Appendix 1.2 Characters applicable to item names, component names, vari-
able names, etc.
APPENDICES
(1) ASCII characters
The shaded characters can be used.
(However, neither a number nor an underscore ( _ ) can be used as the first
character.)
2 3 4 5 6 7
0 (SP) 0 @ P ` p
1 ! 1 A Q a q
INDEX
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 Åe 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
App - 2
Appendix 1.3 Characters applicable to character string constants, etc.
App - 3
Appendix 2 About Monitoring Interval Timeout
APPENDICES
Depending on the number of set jobs or the trigger condition setting, the monitoring
interval timeout may be generated in the MES interface function.
This section explains monitoring interval timeout.
Point
Although up to 64 jobs can be registered and trigger conditions can be set to each
of them, some adjustment in trigger condition settings is required depending on
the number of the jobs.
INDEX
(1) Monitoring interval timeout
The monitoring interval timeout means that the trigger detection time (the time
provided for the trigger monitoring function to determine if the trigger conditions are
met) becomes longer than the time limit of trigger occurrence (monitoring interval).
When a monitoring interval timeout occurs, the job may not be executed even though
set trigger conditions are met.
Monitoring interval: 1s 10:08:30 10:08:31 10:08:32 10:08:33 10:08:34 10:08:35
Monitoring timeout
occurred
Remark
In the following cases, monitoring interval timeouts do not occur.
• When selecting [Time specification startup] or [GOT Initializing] for [Trigger con-
ditions] in [Job settings]
• When the total jobs are processed in a monitoring interval
App - 4
(Example 1)
When the time for trigger detection is shorter than the monitoring interval
Since processing for trigger detection is performed within each monitoring
interval, no monitoring interval timeout occurs.
Monitoring
interval
Detecting trigger
(Example 2)
When the time for trigger detection is longer than the monitoring interval
Since processing for trigger detection cannot be completed within each monitoring
interval, monitoring interval timeout occurs.
The processing for trigger detection is performed at the next timing after the
monitoring interval.
Monitoring
interval
Detecting trigger
Monitoring interval
timeout occurred.
Point
If the monitoring interval timeout has occurred, set a monitoring interval longer
than the processing time described in This section (4) in each of all jobs.
App - 5
(4) Processing time for trigger detection
Total number of trigger conditions 100 (ms) can be assumed as a processing time
for trigger detection.
APPENDICES
Total number of trigger conditions is the total of those set for individual jobs.
Note that [Trigger 1] and [Trigger 2] are counted separately.
Also, [Handshake operation] must be counted as "2" for each.
(Example 3)
Processing time for trigger detection, which is required for [Job settings] shown
below
Since the number of trigger conditions is 12, the assumed processing time for
INDEX
trigger detection is: 12 100 = 1200 (ms)
Setting a value of 1200ms or longer to the monitoring interval in all jobs can
prevent occurrence of the monitoring interval timeout.
Job name Trigger conditions [Trigger 1] Trigger conditions [Trigger 2]
Job 1 [Value monitoring startup] [Value monitoring startup]
Job 2 [Value monitoring startup] [Value monitoring startup]
Job 3 [Handshake operation] -
Job 4 [Specified time period startup] -
Job 5 [Time specification startup] -
Job 6 [Value monitoring startup] [Value monitoring startup]
Job 7 [Handshake operation] -
App - 6
Appendix 3 Warning Messages in Windows Vista(R)
Point
The User Account Control (UAC) is provided to protect the system from being
destroyed (e.g. prevention of start-up of a program which will execute an
unintended operation).
Before taking either of the methods described below, understand that the security
function offered by UAC will be disabled and consider the risk.
The following two methods are available for preventing warning messages.
App - 7
(From the previous page)
APPENDICES
2 Select [User Accounts].
INDEX
3 Select [User Accounts].
App - 8
(From the previous page)
(End)
App - 9
(2) Method for permitting programs without any warning message
APPENDICES
The following shows a procedure for permitting programs without any warning
message.
INDEX
2 Select [Classic View].
App - 10
(From the previous page)
App - 11
(From the previous page)
APPENDICES
7 Select [User Account Control: Behavior of the
elevation prompt for administrators in Admin
Approval Mode, Prompt for consent].
INDEX
8 Select [Elevate without prompting] on the [Local
Security Setting] tab, and click the OK button.
(End)
App - 12
Appendix 4 Tables for Used Terms
In GT Designer2, some different terms are used for the same meaning on the MES
interface function setting screen and other setting screens.
They are listed in the tables shown below.
App - 13
Appendix 5 Application Example of MES Interface Function
APPENDICES
The following is an example of the system where the MES interface function is used.
Example) A system where manufacturing information is collected in a GOT and managed
in a database
In the company-wide integrated system in which parts acceptance, manufacturing
processing, assembly, shipment, and inventory control are managed, information of the
actual performance is managed in a database using the MES interface function.
A process line control PLC handles information on process line (equipment) stop, running
time, down time, quantity of production, and the number of rejected products.
INDEX
On the GOT, the status of each process line is displayed, allowing control by operators.
By the MES interface function, the termination time of the process line, regularly-checked
operation rate, and fraction defective information are managed.
The system configuration is illustrated below.
Database
<Server computer>
IP address: 192.168.11.1
Ethernet
<GOT>
IP address: 192.168.11.101
Engineering process
Process line
App - 14
(1) Setup on the server computer (database)
The actual performance for every 5 seconds, and fraction defective and operation rate
for every hour are managed using the database.
• ODBC setting
ODBC data source name: PROCESS
Driver: OracleHome2
TNS service name: PROCESS
• DB Connection Service setting
Service port No.: 5112
Timeout: 10 seconds
(b) Script
App - 15
(d) MES interface setting
• Device tag settings
APPENDICES
Device tag name Sampling cycle Component name Data type Device
Operation time Single word GD540
Accumulated down
Single word GD542
time
Normal sampling 5 seconds Performance Single word GD544
Rejected Single word GD546
Fraction defective Real number GD548
WorkingRate Real number GD550
INDEX
Sync. trigger 5 seconds Stop flag Bit GB101
• Job settings
App - 16
Appendix 6 List of Functions Added by MES Interface Function Ver-
sion Upgrade
GT Designer2
Item Description OS version
version
Option OS
Allows to not collect device data. 2.47Z MES Interface
[03.02.**]
Tag function
Option OS
Allows to set the array setting for tags. 2.73B MES Interface
[03.09.**]
Option OS
Oracle 8i, MSDE2000, Access2000, and Access2003 are 2.47Z MES Interface
added as available database. [03.02.**]
Option OS
SQL text transmission Industrial SQL Server 9.0 and Microsoft SQL Server 2005 are 2.58L MES Interface
added as an applicable database. [03.03.**]
Option OS
Access 2007 is added as an applicable database. 2.82L MES Interface
[03.13.**]
Option OS
Buffers the trigger activated during execution of a job, and
Trigger buffering function 2.47Z MES Interface
execute the action with the buffered data.
[03.02.**]
Option OS
Resource data send
Sends the resource data collected in the GOT to the database. 2.82L MES Interface
function
[03.13.**]
Option OS
Applicable model GT16, GT16-MESB 2.90U MES Interface
[04.02.**]
App - 17
App - 18
INDEX APPENDICES
INDEX
[A] [J]
Access log ............................................. 7-3,7-18,7-23 Job ................................................ A-15,5-1,6-21,6-42
Account................................................................ A-15 Job cancellation ................................................... 6-39
Action...........................................................A-15,6-42
Application server computer ................................ A-15 [M]
Arithmetic processing function (Operation action)
MES .....................................................................A-15
..................................................................... 5-10,6-68
MES interface function setting ............................... 6-1
Monitoring interval timeout...........................3-7,App-4
[C]
String ................................................................... 6-13 [O]
COMMIT .............................................................. A-15
ODBC ..................................................... A-15,7-2,7-4
Component setting .............................................. 6-11
One-shot execution.............................................. 6-40
Configuration computer ....................................... A-15
Operating environment .......................................... 2-8
Constant ...................................................... 6-56,6-70
Configuration computer ...................................... 2-8
Server computer (SNTP server computer)......... 2-9
[D] Operations using the Edit items tree...................... 6-3
DB buffering......................................................... A-16 Adding an item ................................................... 6-3
Clear processing ...................................... 6-90,6-98 Deleting an item ................................................. 6-4
Function ........................................................... 5-15 Replicating an item............................................. 6-4
Manual resend processing ....................... 6-89,6-98 Selecting an item................................................ 6-3
Operation ......................................................... 6-98 Option OS (MES interface) .................................... 1-7
Setting ...................................................... 6-38,6-88 Option setting....................................................... 6-85
DB Connection Service ................................... 1-7,7-1
DB Connection Service Setting Tool ....... 1-7,7-1,7-15 [P]
DB interface function ....................................... 3-4,5-1
Performance specifications.................................... 3-1
DB server function ................................................. 3-4
Program execution function ...................5-14,6-35,7-3
Device tag (Tag) ......................................A-16,5-3,6-6
Diagnosis ............................................................. 6-92
Operation ......................................................... 6-94 [R]
Status (MES interface function) ....................... 6-93 Record .................................................................A-16
Change job status ............................................ 6-95 Resource data send function (Resource data send
Connection result of previous job execution .... 6-97 action) .......................................................... 5-11,6-72
DB buffering operation ..................................... 6-98 Rollback ...............................................................A-16
Diagnostics ............................................................ 3-4
[S]
[F] Select/Update conditions ..................................... 6-58
Field ..................................................................... A-16 Server computer ..................................................A-15
Function list and setting item list............................ 3-4 Server service ......................................................A-15
List of setting items of DB Connection Service Setting items in Array setting ................................. 6-9
Setting Tool ........................................................ 3-5 Setting ODBC of a database ................................. 7-4
List of the MES interface setting items............... 3-5 Setting tab.............................................................. 6-5
MES interface function list.................................. 3-4 Device tag settings ............................................. 6-6
Job settings ...................................................... 6-21
[G] Job settings - Actions ....................................... 6-42
Server service settings ..................................... 6-17
GOT internal device......................................... 3-3,3-6
SNTP ...........................................................A-15,6-86
SNTP server computer ........................................A-15
[H] SNTP time synchronization function .................... 5-23
Handshake ..................................................A-16,6-33 SQL......................................................................A-15
SQL failure log .......................................7-3,7-19,7-25
[I] SQL text transmission (Communication action)
....................................................................... 5-9,6-46
IP filter ........................................................... 7-3,7-17
Insert ................................................................ 6-51
MultiSelect........................................................ 6-53
Select ............................................................... 6-49
Index - 1
Update ............................................................. 6-50
Statistical processing........................................... 6-14
[T]
APPENDICES
Tag component (Component).............................. A-16
Tag for Wonderware Historian............................. A-15
Tag function............................................... 3-4,5-3,6-6
Test mode............................................................ 6-25
Time zone....................................................A-16,6-86
Transaction.......................................................... A-16
Trigger buffering .................................................. A-16
Function ....................................................... 3-4,5-6
Settings ............................................................ 6-26
Trigger conditions ........................................A-16,6-26
INDEX
Trigger monitoring function.............................. 3-4,5-4
[V]
Variable (Temporary variable) .............A-16,6-57,6-70
[W]
Working log........................................................ 6-100
Working log tab
Job Execute Log ............................................ 6-102
MESInterface Execute Log ............................ 6-101
Index - 2
Microsoft, Windows, Windows NT, Windows Vista are registered trademarks of Microsoft Corporation in the United States
and other countries.
Adobe and Adobe Reader are registered trademarks of Adobe Systems Incorporated.
Pentium and Celeron are a registered trademarks of Intel Corporation in the United States and other countries.
Ethernet is a trademark of Xerox Co., Ltd. in the United States.
MODBUS is a trademark of Schneider Electric SA.
Other company and product names herein are either trademarks or registered trademarks of their respective owners.
SH(NA)-080654ENG-I