Got2000 o Mes e
Got2000 o Mes e
GOT2000 Series
MES Interface Function Manual
For GT Works3 Version1
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
INTRODUCTION
Safety Precautions.......................................................................................................................................A - 6
Cautions for Using .......................................................................................................................................A - 7
List of Manuals for GT Works3 ....................................................................................................................A - 8
Abbreviations, Generic Terms, the meaning of the icon ..............................................................................A - 9
1. OVERVIEW
1.1 Features........................................................................................................................................... 1 - 3
1.2 What is the MES Interface Function? .............................................................................................. 1 - 7
2. SYSTEM CONFIGURATION
2.1 System Configuration ...................................................................................................................... 2 - 2
2.1.1 Overall system configuration.................................................................................................... 2 - 2
2.1.2 System configuration when installing software used for the MES Interface Function.............. 2 - 3
2.2 Connection between GOT and Controllers...................................................................................... 2 - 4
2.2.1 Connection type used for the MES Interface Function............................................................. 2 - 4
2.2.2 Precautions for inverter or servo amplifier connection ............................................................. 2 - 5
2.3 Required Equipment, Software, and System Application (Extended Function)............................... 2 - 6
2.4 Operating Environment.................................................................................................................... 2 - 7
2.4.1 Configuration computer............................................................................................................ 2 - 7
2.4.2 Server computer (SNTP server computer)............................................................................... 2 - 7
2.5 Cautions on System Configuration .................................................................................................. 2 - 9
3. SPECIFICATIONS
3.1 Performance Specifications ............................................................................................................. 3 - 2
3.2 GOT Devices Available for the MES Interface Function.................................................................. 3 - 4
3.3 Function List and Setting Item List................................................................................................... 3 - 5
3.4 GOT Internal Device (GS) ............................................................................................................... 3 - 7
3.4.1 GOT internal device list............................................................................................................ 3 - 7
3.4.2 MES Interface Function area ................................................................................................... 3 - 7
A-1
5. MES INTERFACE FUNCTION
5.1 DB Interface Function ...................................................................................................................... 5 - 2
5.1.1 DB interface function operation................................................................................................ 5 - 2
5.1.2 Job execution procedure.......................................................................................................... 5 - 3
5.1.3 Tag function ............................................................................................................................. 5 - 4
5.1.4 Trigger monitoring function ...................................................................................................... 5 - 5
5.1.5 Trigger buffering function ......................................................................................................... 5 - 7
5.1.6 SQL text transmission (Communication action) ....................................................................... 5 - 9
5.1.7 Arithmetic processing function (Operation action) ................................................................... 5 - 9
5.1.8 Resource data send function (Resource data send action) ................................................... 5 - 10
5.1.9 Program execution function ................................................................................................... 5 - 12
5.1.10 DB buffering function.............................................................................................................. 5 - 13
5.2 Precautions .................................................................................................................................... 5 - 20
A-2
6.11 Working Log................................................................................................................................... 6 - 81
6.11.1 MES Interface Execute Log ................................................................................................... 6 - 81
6.11.2 Job Execute Log .................................................................................................................... 6 - 82
6.12 Precautions.................................................................................................................................... 6 - 86
8. TROUBLESHOOTING
8.1 Error Handling and Recovery Method ............................................................................................. 8 - 2
8.1.1 MES Interface Function setting ................................................................................................ 8 - 4
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
9. APPENDICES
9.1 Usable Characters and ASCII Code Tables by Setting Items ......................................................... 9 - 2
9.1.1 ASCII code table ...................................................................................................................... 9 - 2
9.1.2 Characters applicable to item names, component names, variable names, etc. ..................... 9 - 2
9.1.3 Characters applicable to character string constants, etc. ........................................................ 9 - 4
9.1.4 Characters applicable to field names, table names, etc........................................................... 9 - 4
9.2 About Monitoring Interval Timeout................................................................................................... 9 - 5
9.3 Warning Messages in Windows Vista(R)......................................................................................... 9 - 7
9.3.1 Overview of warning messages ............................................................................................... 9 - 7
9.3.2 Methods for disabling warning messages ................................................................................ 9 - 7
9.4 Tables for Used Terms .................................................................................................................. 9 - 11
9.5 Application Example of MES Interface Function............................................................................ 9 - 12
REVISIONS
A-3
A-4
INTRODUCTION
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A - 6
Cautions for Using . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A - 7
List of Manuals for GT Works3 . . . . . . . . . . . . . . . . . . . . . . . . . .A - 8
Abbreviations, Generic Terms, the meaning of the icon . . . . .A - 9
A-5
Safety Precautions
Be sure to read these instructions before using this product.
Before using the product, read this manual and the relevant manuals introduced in this manual carefully and handle the
product properly with full attention to safety.
Note that these precautions apply only to this product.
In this manual, the safety instructions are ranked as "WARNING" and "CAUTION".
Note that failure to observe the CAUTION level instructions may also lead to serious results depending on the
circumstances.
Be sure to observe the instructions of both levels to ensure personal safety.
Please keep this manual in accessible place and be sure to forward it to the end user.
Design precautions
● Before performing the test operation, read this manual carefully to understand
WARNING the operation procedure.
● 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-6
Cautions for Using
■1. GOTs that support the MES interface function
The MES interface function is available on GT27 and GT25.
To use the MES interface function, install the required system application (extended function) on the GOT.
For applicable models, refer to the following:
➠ 2.2 Connection between GOT and Controllers
■2. Option function board that supports the MES interface function
For the option function board that supports the MES interface function, refer to the following:
➠ 2.3 Required Equipment, Software, and System Application (Extended Function)
A-7
List of Manuals for GT Works3
For the manuals related to this product, install the manuals with the drawing software.
If you need a printed manual, consult your local Mitsubishi representative or branch office.
Manual number
Manual name Format
(Model code)
SH-081220ENG
GT Designer3 (GOT2000) Screen Design Manual PDF, e-Manual
(1D7ML9)
SH-080862ENG
GT Converter2 Version3 Operating Manual for GT Works3 PDF
(1D7MB2)
GOT2000 Series MES Interface Function Manual for GT Works3 Version1 SH-081228ENG PDF
Manual number
Manual name Format
(Model code)
SH-081197ENG
GOT2000 Series Connection Manual (Mitsubishi Products) For GT Works3 Version1 PDF
(1D7MJ8)
Manual number
Manual name Format
(Model code)
Manual number
Manual name Format
(Model code)
SH-081194ENG
GOT2000 Series User's Manual (Hardware) PDF, e-Manual
(1D7MJ5)
SH-081195ENG
GOT2000 Series User's Manual (Utility) PDF, e-Manual
(1D7MJ6)
SH-081196ENG
GOT2000 Series User's Manual (Monitor) PDF, e-Manual
(1D7MJ7)
POINT
e-Manual
e-Manual refers to the Mitsubishi FA electronic book manuals that can be browsed using a
dedicated tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• Hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
A-8
Abbreviations, Generic Terms, the meaning of the icon
The following shows the abbreviations and generic terms used in Help.
■1. GOT
Meaning of icon
Abbreviations and generic terms Description Not
Support
support
GT2105-QTBDS
GT21-Q GT2105-Q
GT2105-QMBDS
GOT2000
Series GT21-R GT2104-R GT2104-RTBD
GT2104-PMBD
GT2104-PMBDS
GT2104-P
GT21 GT2104-PMBDS2
GT2104-PMBLS
GT21-P
GT2103-PMBD
GT2103-PMBDS
GT2103-P
GT2103-PMBDS2
GT2103-PMBLS
A-9
■2. Communication unit
■4. Option
Battery GT11-50BAT
A - 10
■5. Software
(1) Software related to GOT
GT Designer3
Screen drawing software for GOT2000 series included in GT Works3
GT Designer3 (GOT2000)
GT Designer3 (GOT1000) Screen drawing software for GOT1000 series included in GT Works3
GT Designer2 Classic Screen drawing software GT Designer2 Classic for GOT900 series
A - 11
Abbreviations and generic terms Description
FX3U-ENET-L Configuration tool FX3U-ENET-L type Ethernet module setting software (SW1D5-FXENETL-E)
CPU Module Logging Configuration Tool CPU module logging configuration tool (SW1DNN-LLUTL-E)
A - 12
■7. Others
SICK SICK AG
SIEMENS Siemens AG
A - 13
A - 14
1
OVERVIEW
1. OVERVIEW
1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 3
1.2 What is the MES Interface Function? . . . . . . . . . . . . . . . . . . . . . 1 - 7
1-1
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 equipment, realizing reduction in the
maintenance cost and improvement in reliability.
POINT
The MES interface function is available only for GT27 and GT25.
When not using MES interface function When using MES interface function
GOT GOT
Controller Controller
1-2
1.1 Features 1
This section explains the features of the MES interface function.
■1. Simple setting enables connection to the information system without programming.
OVERVIEW
Access to information system databases can be realized simply by making the necessary settings with the setting tool.
Since there is no need to create programs for generating SQL texts, the engineering costs for system construction and
the work period can be reduced.
Disconnected
Database
INSERT
INSERT
INSERT
UPDATE
SD card
Recovered
Resend
Database
INSERT
INSERT
INSERT
UPDATE
SD card
Database
DB connection service
Access
log
SQL failure
log
OVERVIEW
[With the MES interface function]
<Information system>
[Conventional system]
<Information system>
Database
PLC
Inverter
Microcomputer
Barcode reader
OVERVIEW
Reference
Item Description
section
MES interface function setting This function allows the MES interface function setting in GT Designer3. 6.
Software that runs on the server computer and links databases with the GOT.
DB Connection Service Install the software from either of the following. 7.
• CD-ROM or DVD-ROM of GT Works3
DB Connection Service Setting Software that runs on the server computer and changes the settings of the DB Connection Service.
7.
Tool Install the software from the CD-ROM or DVD-ROM of GT Works3.
SYSTEM CONFIGURATION
2. SYSTEM CONFIGURATION
2.1 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 2
2.2 Connection between GOT and Controllers . . . . . . . . . . . . . . . . 2 - 4
2.3 Required Equipment, Software, and System Application
(Extended Function) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 6
2.4 Operating Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 7
2.5 Cautions on System Configuration. . . . . . . . . . . . . . . . . . . . . . . 2 - 9
2-1
This chapter explains the system configuration available for the MES interface function.
DB Connection Service
DB Connection Service Setting Tool
Ethernet
Configuration computer*1
Write
GT Designer3
· MES interface function
· System application (extended function)
GOT
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.
SYSTEM CONFIGURATION
Install
DB Connection Service
DB Connection Service Setting Tool Commercial product
POINT
(1) When installing DB Connection Service on a database server computer, the ODBC setting
for the database used must be made beforehand.
➠ 7.2 Setting ODBC of Database
(2) When installing DB Connection Service on an application server computer, an account for
user program execution must be created beforehand.
Install
GT Designer3(GOT2000)
Commercial product
■3. When installing a system application (extended function) of [MES Interface] on the GOT
Computer Installing a
system application
(extended function) GOT
of [MES Interface]
on the GOT*1
GT Designer3
(GOT2000)
+
MES interface function
Commercial product
Bus connection
Ethernet connection*7
Inverter connection *3
Serial connection
Ethernet connection*7
CNC connection*6
MELSECNET/10 connection (PLC to PLC network) *1
Serial connection
Third party PLC connection
Ethernet connection*7
Serial connection
Microcomputer connection
Ethernet connection*7
MODBUS/RTU connection
MODBUS/TCP connection
SYSTEM CONFIGURATION
Example 2) Setting for assigning devices of the inverter [FREQROL 500/700/800, SENSORLESS SERVO] to the GOT's
internal devices using the trigger action
Setting item Setting content Remarks
GT Designer3 Version1.108N or
Setting the MES
later -
interface function
(MES interface function)
Setting the MES
interface function NZ1MEM-2GBSD, NZ1MEM-4GBSD,
DB buffering function,
NZ1MEM-8GBSD, NZ1MEM-16GBSD,
log output function, SD card
L1MEM-2GBSD, L1MEM-4GBSD,
diagnostics function
Commercially available CF card (128MB or more)*1
*1 Some models with the operations checked by our company are usable.
For applicable SD cards, refer to the following Technical News.
➠ Operation Check Results of Non-Mitsubishi SD Cards on GOT2000 Series Units (GOT-A-0065)
POINT
(1) To use the MES Interface function, the BootOS Version of GOT D or later is required.
When the old version, license registration to use the MES interface function can not be.
(2) How to set the SNTP server, refer to the following.
➠ GT Designer3 (GOT2000) Screen Design Manual
2-6 2.3 Required Equipment, Software, and System Application (Extended Function)
2.4 Operating Environment
2.4.1 Configuration computer
The operating environment for the configuration computer is identical to those for GT Designer3.
For the operating environment for GT Designer3, refer to the following manual.
2
➠ GT Designer3 (GOT2000) Screen Design Manual
SYSTEM CONFIGURATION
This section explains the operating environment for the server computer.
Item Description
Personal computer Personal computer or Server on which the following operating systems and relational database can run
• When using the Windows Server 2012 R2, Windows Server 2012, Windows Server 2008, Windows Server 2003 x64
Edition, Windows 8.1 (64bit), Windows 8 (64bit) and Windows7 (64bit):2GB or more
Memory • When using the Windows Server 2003, Windows Server 2000, Windows 8.1 (32bit), Windows 8 (32bit), Windows7
(32bit) and Windows Vista (32bit):1GB or more
• When using the Windows XP and Windows 2000:512MB or more
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 12c*3
Oracle 11g*2
Oracle 10g*1
Oracle 9i*1
Oracle 8i*1
Microsoft SQL Server 2014*2*6*7
Microsoft SQL Server 2012*2*6*7
Microsoft SQL Server 2008 R2*2*6*7
Microsoft SQL Server 2008*2*6*7
Other software
Microsoft SQL Server 2005*1*6
Microsoft SQL Server 2000*1*6
Microsoft SQL Server 2000 Desktop Engine(MSDE 2000)*6
Microsoft Access 2013*1*7*12*13
Microsoft Access 2010*2*7*12*13
Microsoft Access 2007*7*12*13
Microsoft Access 2003*7*8
Microsoft Access 2000*7*8
SYSTEM CONFIGURATION
(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.)
SPECIFICATIONS
3. SPECIFICATIONS
3.1 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2
3.2 GOT Devices Available for the MES Interface Function . . . . . . 3 - 4
3.3 Function List and Setting Item List. . . . . . . . . . . . . . . . . . . . . . . 3 - 5
3.4 GOT Internal Device (GS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 7
3-1
This chapter explains the performance specifications, functions and devices of the MES interface function.
• Oracle 12c*5
• Oracle 11g*4
• Oracle 10g*3
• Oracle 9i*3
• Oracle 8i*3
• Microsoft SQL Server 2014*4
• Microsoft SQL Server 2012*4
• Microsoft SQL Server 2008 R2*4 6.6.1
No. of connectable databases
• Microsoft SQL Server 2008*4
• Microsoft SQL Server 2005*3
• Microsoft SQL Server 2000*3
• Microsoft SQL Server 2000 Desktop Engine(MSDE 2000)
• Microsoft Access 2013*3
• Microsoft Access 2010*4
• Microsoft Access 2007
• Microsoft Access 2003
• Microsoft Access 2000
Allowable number of
Up to 64 jobs/project
Job settings 6.7.1
Trigger buffering Up to 128 tag components/tag
Allowable number of
Up to 10 actions/job
settings
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
• [Select sort settings]: Maximum 8 rows/communication action 6.8.1
No. of records/data
Action Up to 40000 records/MultiSelect communication action
selectable for
Up to 45000 words/job
communication action
No. of operations
possible for operation (Up to 20 dyadic operations)/operation action
action 6.8.3
Operators for operation 6 types (Addition, subtraction, multiplication, division, remainder, character
action string combination)
SPECIFICATIONS
Statistical processing (Average, maximum, minimum, moving average*1, moving maximum*1,
moving minimum*1)
Allowable number of (Once before execution of the initial action + once after execution of the
Program execution 6.7.3
settings final action)/job*2
Worki Log capacity for MES interface function execution Maximum capacity: 1 Mbyte (SD card)
ng 6.11
log Log capacity for job execution events Maximum capacity: 2 Mbytes (SD card)
[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]
*3 Only 32-bit is available.
*4 32-bit and 64-bit are available.
*5 Only 64-bit is available.
Used when making interaction between the MES interface function and the gateway function.
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
Can be used as a word device.
POINT
The gateway function setting is required for use of the gateway devices.
For the gateway setting, refer to the following manual.
➠ GT Designer3 (GOT2000) Screen Design Manual
3-4 3.2 GOT Devices Available for the MES Interface Function
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.
SPECIFICATIONS
Monitors values such as the time and tag values and, when the trigger
Trigger monitoring 5.1.4
condition changes from false to true (when the conditions are met), starts a
function 6.7.2
job.
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) are met simultaneously. The action (operation and 5.1.5
Trigger buffering function
transmission of the data) for the buffered data is executed later. 6.7.1
Even when the data transmission triggers are activated frequently, no
triggers are missed so that all the jobs are executed.
Arithmetic processing
5.1.7
function Allows operations of tag component values.
6.8.2
(Operation action)
Program execution Executes programs in the application server computer before execution of 5.1.9
function the first action and after execution of the last one in a job. 6.7.3
Temporarily stores SQL texts into a CF card when they cannot be sent due to 5.1.10
network disconnection or failure of the database server computer. 6.9.1
DB buffering function
After recovery, the buffered SQL texts are automatically sent to the 6.10.4
database. (Manual operation is also possible.) 6.10.5
Diagnostics function Used to stop/restart the MES interface function, check job operations and configure the settings. 6.10
Allows direct access to a database upon request of the DB interface function. 7.1
ODBC connection Executes the operation requested by the DB interface function or returns a
7.2
function response.
DB server function
Connection setting
Restricts IP addresses of GOTs that can be connected to the database. 7.5
function
Log output function Outputs the execution status of DB Connection Service to the log. 7.8
Component setting Configure the settings for assigning GOT devices to tags. 6.5.3
Server service settings Configure the settings for access to a server computer. 6.6
trigger conditions Configure the settings for startup conditions of the job. 6.7.2
Trigger buffering Set whether to utilize the trigger buffering function or not. 6.7.1
Communication action Configure the settings for communications with a database. 6.8.1
Operation action Configure the settings for operation of tag component values. 6.8.2
Job settings
Resource data send
Configure the settings for sending the resource data to the database. 6.8.3
action
program execution Configure the settings for the program execution function. 6.7.3
Perform the remote diagnosis for the MES Interface function. 6.10
Status The operation status of the MES Interface function can be checked. 6.10.1
Operation The operation of the MES interface function can be controlled. 6.10.2
diagnosis Change Job Status The job status can be changed. 6.10.3
Connection result of Connection with the server computer set in [Server Service setting], which is
6.10.4
previous job execution made at the time of the previous job execution, can be displayed.
Job Execute Log Displays the job execution event log. 6.11.2
Service port Specify the number of the port where the DB Connection Service operates.
Set a timeout time (unit: seconds) used when no response may be returned after requesting program
DB access timeout
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 Connection Service 7.5
IP address setting
is permitted.
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.
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. 3
➠ GT Designer3 (GOT2000) 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.
SPECIFICATIONS
Reference
GS Application Name Initial value
section
Jobs 1 to 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jobs 17 to 32 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Jobs 33 to 48 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Jobs 49 to 64 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
4-1
4.1 Settings and Procedures before Use of the MES Interface Function
This chapter explains the procedures and settings to be done before use of the MES interface function.
The flowcharts for use of the MES interface function are shown here.
POINT
Start the server computer, and then the GOT.
Set the ODBC of the database. Create an account for user program
execution. *6
7.2 Setting ODBC of Database
Operation *8
4-2 4.1 Settings and Procedures before Use of the MES Interface Function
■2. Starting the GOT
Procedure for starting GOT
Operation start
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 Works3 Version1 Installation Procedure Manual
5-1
You can use the MES interface function by installing a system application (extended function) of [MES Interface] on the
GOT.
This chapter describes the MES interface function.
POINT
The MES interface function settings are configured on the MES interface function setting screen
of GT Designer3.
5.1 DB Interface Function
The DB interface function executes access to the database in units of jobs.
GOT
Device *6 Tag 1 Job 1
Trigger monitoring *2 Database server computer
Action *3
GD1000 Component Communication action 1 (Update)
Operation action 2
Communication action 3 (Insert)
Resource data send action 4
Database
Executed in
order
Program execution *4
*1 DB buffering *5 Execute
file
Application server computer
Start
Stopped
Is the GOT working?
5
Disabled
Is the job enabled?
Checked
The program in the application server computer is
executed before execution of the first action.
?5.1.9 Program execution function
?6.7.3 Setting items in Program execution
Is the [Execute
Not checked
program after action.]
box checked?
Checked
The program in the application server computer is
executed after execution of the last action.
?5.1.9 Program execution function
?6.7.3 Setting items in Program execution
End
POINT
For the case where an error occurs during job execution, refer to the following:
➠ 5.1.10 ■2. When an error occurs in job execution
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
To synchronize collection of the above tag component values, perform either of the following
(Plan 1) or (Plan 2).
(Plan 1)
Use [Handshake operation].
➠ 6.7.2 ■8. Handshake operation
Tag 1 Sampling cycle: 1s
Job Component name Value
Component A 10 GOT device
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
(Plan 2)
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
(2) When busy (Interval that trigger conditions are met is shorter than processing time of action)
• 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.
[GOT]
[When busy] Data
Trigger buffer trans-
Job 1 ... 1)
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) Job 1 ... 1)
Trigger conditions
are met Action is
executed The action for "Job 1 ... 1)" is executed.
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.
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.
POINT
(1) For job operation for which [Trigger buffering] is disabled, refer to the following:
➠ 5.1.10 ■1. Operation behavior of jobs
(2) Whether the condition is changed from false to true is judged at collection of the tag.
➠ 6.7.2 Setting items in Trigger conditions
■1. Select/MultiSelect
Select/MultiSelect is used to write a database value to a tag component value area or to store it in the temporary
variable area by sending a SQL text to the database.
When a value is stored in the temporary variable area, it can be used as a variable for other actions.
Update
Tag Component Update...
Temporary variable Data Database
Constant
Insert
Tag Component Insert...
Temporary variable Data
Constant
Data transmission
Database
Time No Count
08:20:10 101 10
08:30:20 102 11
08:30:30 105 12
Advanced user alarm Alarm data collected by the advanced user alarm observation setting
Alarm data
Advanced system alarm Alarm data collected by the advanced system alarm observation setting
Operation log data GOT operation history data collected by the operation log function
[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
[Resource data]
Collected data
Resource data for the second action A
after turning on
Resource data for the second action B
GOT
Second action A
Second action B
Resource data for the third action A
Third action A
Resource data for the action A is sent again when the action B is executed.
Since program execution is set on the application server computer as described below, more sophisticated data linkage can
be realized.
Disconnected
Database
INSERT
INSERT
INSERT
UPDATE
5
Recovered
Resend
Database
INSERT
INSERT
INSERT
UPDATE
SD card
POINT
(1) To automatically send SQL texts after recovery, irrespective of transmission
sequence, select the auto-resend processing.
➠ 5.1.10 ■5. (3) Automatically resending data after recovery
(2) To send SQL texts after recovery, without changing the transmission sequence, select
the manual resend processing.
➠ 5.1.10 ■5. (4) Manually resending data
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.
➠ 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).
➠ 5.1.10 ■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.
➠ 5.1.10 ■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.
➠ 5.1.10 ■7. When SQL texts cannot be sent to the database
Time for detecting DB access timeout is set to 30 seconds by default.
➠ 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.
➠ 5.1.10 ■1. Operation behavior of jobs
Start
End
Start
Not sent
5
Is the [Enable DB buffering] Not checked
box checked?
DB buffering is started.
End
POINT
Check the DB buffer status (No. of bufferings, utilization) and prevent the full status of the DB
buffer.
➠ 6.7.4 Setting items in DB Buffering
6.10.5 Manipulating DB buffering (DB buffering operation)
Start
Not sent
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.
➠ 6.7.4 Setting items in DB Buffering
6.10.5 Manipulating DB buffering (DB buffering operation)
Start
No
3)
Job with Manual resend setting will not be sent even
after recovery. 5
(4) Manually resending data
End
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)
Job 6 (Manual) Job 5_SQL TEXT (Manual)
3)
Job 10 (Auto)
1)
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
?6.9.1 Setting items in DB buffering settings
?6.10.5 Manipulating DB buffering (DB buffering operation)
Sent
In the order of storage in the DB buffer, the accumulated data
1)
of the jobs with Manual resend setting are sent again. *1
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 remains there
after recovery until manual resend is executed.
Step 1. If SQL texts cannot be sent to the database due to network disconnection or failure of the database server
computer or database software, the system starts DB buffering after detection of a timeout.
5
Step 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.
Step 3. When the system has not been recovered from network disconnection or failure of the database server
Step 1. If SQL texts cannot be sent to the database due to network disconnection or failure of the database server
computer or database software, the system starts DB buffering after detection of a timeout.
Step 2. After started, DB buffering is performed without checking whether SQL texts can be sent to the database
or not for each job activation.
Step 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
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)
(2) 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 - 20 5.2 Precautions
(3) When actions are set for a job
When actions are set for a job, if a communication error occurs, a timeout time will 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
Job execution
Action 10
Program execution (after actions)
5
Timeout time occurs for each.
The time taken until completion of the job is obtained from the formula shown below.
Example) Time taken until completion of a job in the event of a communication error
No. of communications: 10 + 1 + 1 = 12
Time taken until job completion: 12 30s = 360s
Item Setting
Communication action 12
Timeout 30 seconds
5.2 Precautions 5 - 21
■2. When an error occurs in job execution
(1) 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)
➠ 5.1.10 DB buffering function
(2) If a job execution is canceled, the operation processed before the error occurrence returns to the
status before the job execution.
POINT
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.
When an error occurs during inserting data into a database, the data inserted into the
database before occurring the error are reflected.
(3) When [Notify errors (job cancellation) that occur during job execution] has been selected, a value
is assigned to the specified tag component.
➠ 6.7.5 Notify errors (job cancellation) that occur during job execution
5 - 22 5.2 Precautions
6. MES INTERFACE FUNCTION 6
SETTING
6-1
6.1 MES Interface Function Setting Screen
The MES interface function setting screen is a screen for configuring various settings required for the MES interface
function.
In addition, the operation status of the MES interface function and the working log can be checked, and other operations
such as stop/restart of the MES interface function can be also performed.
Step 3. The MES interface screen is displayed. Configure the settings referring to the following descriptions.
Tab
Detailed setting
edit screen
Project root
Item
Setting type
Step 2. Selecting one of the items displays the corresponding edit screen on the detailed setting edit screen area.
Step 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.
POINT
For precautions on the item deletion, refer to the following.
➠ 6.12 ■2. When deleting an item
Step 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.
Step 2. The "Setting" sheet is displayed on the detailed setting edit screen.
For each of the setting items, refer to the section shown below.
Device tag settings Configure the settings for the tag function. 6.6
Server service settings Configure the settings for access to a server computer. 6.7
Job settings Configure the settings for the DB interface function. 6.8
Step 1. Double-clicking [Device tag settings] in the Edit items tree displays relevant items.
Step 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:
➠ 6.3.2 Operations using the Edit items tree
(2) When an item is added or copied, a "New Tag" item is added.
?? ??
Array block size Make setting when changing the block size manually.
No. of tag components in project Displays the number of all the tag components in the project.
Displays the number of the components in the project, for which [Perform statisticcal processing] is
No. of statistical processings in project
selected.
No. of device points in tag Displays the number of total device points used in [Device Tag setting].
POINT
(1) When the array setting is set, device data are not collected.
(2) The array setting is unavailable for the tags set for the actions in [Job settings].
(2) Block
Devices of all tag components are arranged as a block.
The size of the block can be changed in [array block size].
For [array block size], refer to the following.
➠ 6.5.3 Setting items in Component setting
6
Usually, the block size need not be changed because it is automatically adjusted to avoid device duplication.
(Example) When [Length of array] is set to 4 with [block] setting
Only the start device (device in n=1) need be set.
Block
POINT
When device types are different, [block] cannot be selected.
For the device types, refer to the following.
➠ 3.2 GOT Devices Available for the MES Interface Function
(Adding a component)
• Set required items in [Component setting input], and click the Add button.
• The component is added in [Component list].
(Modifying a component)
• When a component to be modified is selected in [Component list], its settings are displayed in [Component setting input].
• Modify the item settings in [Component setting input], and click the Replace button.
(Deleting a component)
• Select a component to be deleted in [Component list], and click the Delete button.
Item Description
Component Data type Select the data type of the sampling data.
setting input
Set a character string length when [String] is selected for [Data type].
Character string length
(1 to 32 characters)
Component List When [Perform statistical processing] is set, displays the type of
Statistical type
statistical processing.
When [Array setting] is set, displays the device range of array No.n.
Device [n] For a display example, refer to the following.
Displays the array No. that is currently displayed in [Device [n]] of [Component
n (Arrray No.)
List].
If this is clicked, the device range of the first array is displayed in [Device [n]] of
[Component List].
< button When the device range of the first array is already displayed, this button cannot be
clicked.
If this is clicked, the device range of the previous array is displayed in [Device [n]]
of [Component List].
< button When the device range of the first array is already displayed, this button cannot be
clicked.
If this is clicked, the device range of the next array is displayed in [Device [n]] of
[Component List].
> button When the device range of the last array is already displayed, this button cannot be
Component List clicked.
If this is clicked, the device range of the last array is displayed in [Device [n]] of
< [Component List].
button When the device range of the last array is already displayed, this button cannot be
clicked.
button
Selecting a component in [Component List] and clicking the button reverses
the order between the selected component and the one immediately above it.
6
The button cannot be clicked on the first component.
Array block size Make setting when changing the block size manually.
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].
■2. Device
• Set a device type and an actual device number.
• Bit specification is not allowed for word devices.
• For accessible devices, refer to the following:
➠ 3.2 GOT Devices Available for the MES Interface Function
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
Bit Handles data as bit data (in units of bits (0/1)). Bit
A B C D
41h 42h 43h 44h 00h 00h 00h 00h
(b) 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 component, whose character length is 2.
"AB"
(3) Odd numbers are not allowed for the character string length setting.
Set an even number for the character string length.
Specify the number of samples when [Moving average], [Moving maximum], or [Moving
No. of samples
minimum] is selected.
An average of the tag component values that are collected at sampling intervals for the
Moving average*2 *3 number of times specified by [No. of 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
Moving maximum*2 *3 for the number of times specified by [No. of 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
Moving minimum*2 *3 for the number of times specified by [No. of samples]
Since the processing range moves at each sampling, the latest value can be obtained.
*1 If a statistical value of [Average], [Maximum], or [Minimum] is reset, a value obtained after resetting will be stored.
• How to reset a statistical value of [Average], [Maximum], or [Minimum]
Perform substitution of some value for the relevant tag component using [Operation action] of a job.
For operation actions, refer to the following:
➠ 6.8.2 Setting items in Operation action
The statistical processing is reset and a value processed after the substitution is stored.
*2 Statistical values of [Moving average], [Moving maximum], and [Moving minimum] cannot be reset.
*3 When a tag component having [Moving average], [Moving maximum], or [Moving minimum] 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.
0 Time (seconds)
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.
6
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.
Step 1. Double-clicking [Server Service setting] in the Edit items tree displays relevant items.
Step 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:
➠ 6.3.2 Operations using the Edit items tree
(2) When an item is added or copied, a "NewServer" item is added.
Server type Select the server type of the server computer to be accessed.
IP address Enter a decimal IP address of the server computer where DB Connection Service is installed.
Data source name Set the name of the ODBC data source to be accessed.
Access error notification setting Set whether to enable or disable notification of the access error status.
In case a connection error occurs on the network between the GOT and the server computer, set a
Connection timeout timeout time during which the GOT will detect the error.
(Range: 1 to 180 seconds, Default: 10 seconds)
■3. IP address
Enter a decimal IP address of the server computer where DB Connection Service is installed.
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
Step 1. Double-clicking [Job settings] in the Edit items tree displays relevant items.
Step 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:
➠ 6.3.2 Operations using the Edit items tree
(2) When an item is added or copied, a "New Job" item is added.
GOT Initializing Set whether to enable the job at startup of the GOT 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.
Set whether to enable or disable notification of errors (job cancellation) that occur during
Notify errors (job cancellation) that occur during job job execution.
execution
➠ 6.7.5 Notify errors (job cancellation) that occur during job execution
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.
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.
Item Description
6
Combination Selects conjunction of Trigger 1 and 2.
True True
False False
True True
False False
No trigger conditions
Disable ○ ○
➠ ■3. Disable
When the specified date, time and day of the week match the
actual date, time and day of the week, the condition changes
Time specification startup from false to true, resulting in job startup. ○ ○
■3. Disable
(1) When [Disable] is selected for [Trigger 1] or [Trigger 2]
Another trigger is regarded as a trigger condition.
(2) When [Disable] is selected for both [Trigger 1] and [Trigger 2]
The job is not activated by trigger conditions.
The job can be executed only by one-shot execution.
Month 1 to 12
Day 1 to 31
Hour 0 to 23
Minute 0 to 59
(Example) The following shows that the job is to be activated at 9:00 on the 1st day of every month.
POINT
If [Startup logging] is selected, each job startup can be confirmed with the time to the second in
the startup log.
The startup log can be checked on the [Working log] tab.
➠ 6.11 Working Log
(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
Sampling interval
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 equal to or smaller than the condition value.
(Not selectable when [Data type] of the tag component is [bit] or [String])
(c) Tag/Type
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.
(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.)
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
ON
[Handshake startup]
OFF
ON
[Completion notification]
OFF
Device data
6
Job operation
Step 1. When [Handshake startup] turns ON in the sequence program, the GOT collects tag component values
used for the job and executes the job.
Step 2. Upon completion of the job execution, [Completion notification] of the GOT is turned ON.*1
Step 3. After confirming that [Completion notification] is ON, turn OFF [Handshake startup] of the GOT.
Step 4. When [Handshake startup] turns OFF, the GOT turns OFF [Completion notification], causing the
handshake operation to be completed.
Step 5. After confirming the completion of the handshake operation, the next job is 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].
➠ 6.7.5 Notify errors (job cancellation) that occur during job execution
Item Description
Select a tag component that allows notification of execution completion of the job.
Completion notification (Selectable only when [Data type] of the tag component is [bit])
Tags that have a tag component with [Array setting] cannot be selected.
Step 2. [Program execution setting (before action)] or [Program execution setting (after action)] is displayed.
Make the setting referring to the following descriptions.
After completing the setting, click the OK button.
Execute program before (after) action Set whether or not to enable program execution before or after execution of actions.
Check return value Set whether to check the return value or not.
Set whether or not to wait for execution completion of the program before executing the next
Wait for execution completion
processing.
Item Description
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.
■1. Notify errors (job cancellation) that occur during job execution
(1) 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.
(2) When [Notify errors (job cancellation) that occur during job execution] has been selected, set a tag component to
which a value is assigned.
(a) Tag, Component
Select a tag component to which a value is assigned.
6
Tags that have a tag component with [Array setting] cannot be selected.
(b) Substitute value
Directly enter a substitute value.
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.
Step 1. Click the One-shot execution button with the [Job settings] edit screen displayed.
Step 2. Clicking the One-shot execution button performs one-shot job execution ignoring the trigger conditions.
Step 3. 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:
➠ 6.11.2 ■3. Updating the Job Execute Log
POINT
A dialog box indicating the current processing status is displayed until completion of one-shot
execution.
(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.
➠ 6.8.1 Setting items in Communication action
6.8.2 Setting items in Operation action
6.8.3 Setting items in Transmit resource action 6
(Modifying an action)
• Select an action to be modified in [Action list], and click the Edit button.
(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.
Step 1. Select [Replicate actions of other jobs] in the list box next to the Add button, and click the Add button.
Step 3. By repeating the following steps 4 to 6 , set copy targets in [Selected Actions to replicate].
Step 4. From [Source Jobs], select a job that includes a desired action.
Step 5. Actions of the job selected in 4 are listed in [Source Actions]. Select an action to be copied. (Multiple
selection is available.)
Step 6. Clicking the > button displays the action(s) selected in 5 in [Selected Actions to replicate].
Item Description
> button Puts the action(s) selected in [Source Actions] into [Selected Actions to replicate].
>> button Puts all of the actions in [Source Actions] into [Selected Actions to replicate].
< button Deletes the action(s) selected in [Selected Actions to replicate] from the box.
<< button Deletes all of the actions in [Selected Actions to replicate] from the box.
Item Description
button
Selecting an action in [Action list] and clicking the
the selected one and the one immediately above it.
button reverses the order between
6
The button cannot be clicked on the first action.
Selecting an action in [Action list] and clicking the button reverses the order between
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
■2. Summary
(1) Details of the existing actions are displayed.
(a) In the case of [Communication action]
Item Description
[Database: Table name]{Comment storing field name, Time storing field name, Field name No.1,
Display format
..., Field name No.n}
Item Description
Item Description
+ (Addition) +
- (Subtraction) -
(Multiplication)
(Division)
% (Remainder) %
Step 1. Performing the operation for adding or modifying an action displays the [Communication action] dialog box.
Step 3. Clicking the OK button after setting adds or modifies the action.
Step 4. For the operation for adding or modifying an action, refer to the following:
➠ 6.8 Job Settings - Actions
DB-tag link settings*1 Set assignments between field values and tag component values (or constant values)
When [Select], [Update] or [MultiSelect] is selected for [Action type], set conditions for the
Select/Update conditions*1
records to be selected or updated.
When [Select] or [MultiSelect] is selected for [Action type], set a condition for sorting
Select sort settings*1
selected records.
Multi select setting button When [MultiSelect] is selected, detailed settings can be configured by clicking this.
Generated SQL text Displays SQL text that is generated in the currently editing [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.
Selecting a row and clicking the button reverses the order between the selected row
button and the one immediately above it.
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 [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 Insert a whole tag button. Clicking the Insert a whole tag button inserts
all of the tag components into contiguous rows starting from the selected one.
• The existing data set in the rows starting from the selected one are moved down.
*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.)
POINT
(1) Entry of [Component]
When data are entered in [Component] by [Insert a whole tag] or with the [Field name] space
blank, the data are copied to the [Field name] space.
(Characters not allowed for [Field name] are not entered.)
Because of this, setting the same name to each of the field name and tag component name
is useful.
[Select] substitutes a field value of the record, whose conditions are met, for a substitute value (tag
Select
component value/variable).
[Update] substitutes a substitute value (tag component value/variable) for a field value of the record
Update *1
whose conditions are met.
Generates a new value, and inserts an insert value (tag component value/constant value/variable) into a
Insert
field of the generated record.
Substitutes field values of the records, whose conditions are met, for substitute values (tag component
MultiSelect
values).
■2. Database
Select a database to be accessed.
536 5 32 1
Tag component
Process1.Work_No Process1.RECIPE1 Process1.RECIPE2 Process1.RECIPE3
536 5 32 1
Tag component
Process1.Work_No Process1.Complete Process1.Rejected Constant: Server time
536 496 32 2005.07.01 15:12:00
Tag component
Constant: GOT time Constant: 1 Process1.Work_No. Process1.Parameter
2005.07.01 15:12:00 1 536 8
: : : :
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
POINT
The data type of a tag component will change through operation processing of a job.
➠ 6.11.2 ■3. (2) Operation of numerical values
float
Single type
(Numeric type: Floating NUMBER real
Double type
point) CHAR char
Text type*1 *2
Floating-point type *3 VARCHAR varchar
Memo type*1 *2
text*1
char
CHAR Text type *2
Character string varchar
VARCHAR Memo type *2
text*1
Yes/No type
bit *1 Byte type
Up to 16 characters
int *1 Integer type
• Signed decimal notation
smallint *1 Long integer type
[Number] (Example: -521.98) NUMBER
Single type
• Signed exponential notation tinyint *1
(Example: -5.2198E03) float
Double type
AutoNumber type
6
real
Currency type
Up to 32 characters
For characters that can be used for character char
CHAR Text type *4
Up to 32 characters
For characters that can be used for character
strings, refer to the following:
➠ 9.1.3 Characters applicable to character
string constants, etc.
Specify the date and time of the GOT in the
following format.
char
Year (4 digits): YYYY CHAR Text type *4
[Date String] varchar
Year (2 digits): YY VARCHAR Memo type *4
Month (2 digits): MM text*3
Day (2 digits): DD
Hour (2 digits): hh
Minute (2 digits): mm
Second (2 digits): ss
Example: "YYYY-MM-DD hh:mm:ss"
"2005-07-01 15:12:00"
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
➠ 6.12 (2) Operation of numerical values
SQL Server2014
Oracle 12c SQL Server2012 Access 2013
Data type of Values (variable names) that can be entered in Oracle 11g SQL Server2008 R2 Access 2010
variable [Component] Oracle 10g Access 2007
SQL Server2008
Oracle 9i SQL Server 2005 Access 2003
Oracle 8i Access 2000
SQL Server2000
MSDE 2000
char
Character CHAR Text type*2
vachar
string VARCHAR Memo type*2
text *1
POINT
Exception processing is executed when records that meet [Select/Update conditions] are in the
following cases.
6
• 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
AND The condition of the line just above the corresponding line and the condition of the corresponding line
OR The condition of the line just above the corresponding line or the condition of the corresponding line
(4) Tag
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.
(5) Component
Select or directly enter a component/constant value that is used as a condition for comparison.
If [Variable] is selected for [Tag], select or directly enter a variable.
POINT
Ascending order Sorts the records so that the specified fields are arranged in ascending order.
Descending order Sorts the records so that the specified fields are arranged in descending order.
1)
2)
POINT
(1) When a job is forcibly terminated, an error occurred during job execution (job cancellation) is
not notified.
➠ 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.
➠ 6.7.4 Setting items in DB Buffering
POINT
When [Update] is selected for [Action type], if multiple records to be updated exist, all of them are
updated.
(b) Send notification of this exception
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 which the value is assigned.
• Tag, Componen
Select a tag component to which a value is assigned.
Tags that have a tag component with [Array setting] cannot be selected.
• Substitute value
Directly enter a substitute value.
(c) Continue this job
After executions of exception processing described in the above 1) and 2), the system continues executions of
other actions.
(d) Finish this job (Default: Finish this job)
After execution of exception processing described in 1) and 2), the job is forcibly terminated without executing
remaining actions.
At this time, substitute/insert values before exception processing execution are committed, and they are written
to relevant tag components.
POINT
(1) When a job is forcibly terminated, an error occurred during job execution (job cancellation) is
not notified.
➠ 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.
➠ 6.7.4 Setting items in DB Buffering
POINT
If the [Select firster find records] checkbox is not checked, the following is performed.
• 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.
6
➠ 6.8.1 ■8. Multi select setting
(b) Send notification of this exception
If the [Send notification of this exception] checkbox is checked, a value is assigned to the specified tag
component when the number of records selected by [Select/Update conditions] is greater than the number of
POINT
(1) When a job is forcibly terminated, an error occurred during job execution (job cancellation) is
not notified.
➠ 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.
➠ 6.7.4 Setting items in DB Buffering
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.
➠ 5.1.10 ■2. When an error occurs in job execution
(2) Send notificcation of selected record number
When the [Notify the number of acquired records] checkbox is checked, the number of actually acquired records is
notified to the specified tag component.
When selecting this, set a tag component to which a value is notified.
• Tag
Select a tag component to which a value is notified.
Tags that have a tag component with [Array setting] cannot be selected.
(3) Clear the unused tag components by zero
When the [Clear the unused tag components by zero] checkbox is checked, if the 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) When the specified number of arrays of the tag component is "6" and the number of actually acquired
records is "4":
ent name Device Data type n=1 n=2 n=3 n=4 n=5
ent A GB0 Bit Component A GB0 9 GB1 4 GB2 7 GB3 1 GB4 0 GB
ent B GD10 Double word Component B GD10 482 GD12 623 GD14 769 GD16 154 GD18 0 GD
ent C GD100 String (10 characters) Component C GD100 Table GD105 Data1 GD110 Data2 GD115 Data3 GD120 "" GD
String 'String'
GOT time:
?TO_DATE('( Date and time [YYYYMMDDhhmmss])',
Oracle 8i
?'YYYYMMDDHH24MISS')
Server time: sysdate
Access 2013
Access 2010
GOT time: '( Date and time [YYYY-MM-DD hh:mm:ss])'
Access 2007
Server time: NOW()
Access 2003
Access 2000
Step 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:
➠ 6.8 Job Settings - Actions
Item Description
Component Select or directly enter a component value or a variable of the substitution target.
Select an operator.
Operator [ ] (None), [+] (Addition), [-] (Subtraction), [ ] (Multiplication), [ ] (Division), [%]
(Remainder)
Selecting a row and clicking the button reverses the order between the selected row
button and the one immediately above it.
Selecting a row and clicking the button reverses the order between the selected row
button and the one immediately below it.
Delete row button Selecting a row and clicking the Delete row button deletes the row.
Tag component data length in job Displays the total data length of the tag components in the job.
POINT
Operation actions are executed in order, from the top to the bottom.
Up to 16 characters
[Number] • Signed decimal notation (Example: -521.98)
• Signed exponential notation (Example: -5.2198E03)
Up to 32 characters
[String] For characters that can be used for character strings, refer to the following:
➠ 9.1.3 Characters applicable to character string constants, etc.
Up to 32 characters
For characters that can be used for character strings, refer to the following:
➠ 9.1.3 Characters applicable to character string constants, etc.
Specify the date and time of the GOT in the following format.
Year (4 digits): YYYY
Year (2 digits): YY
[Date String]
Month (2 digits): MM
Day (2 digits): DD
Hour (2 digits): hh
Minute (2 digits): mm
6
Second (2 digits): ss
Example: "YYYY-MM-DD hh:mm:ss" "2005-07-01 15:12:00"
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.
➠ 6.11.2 ■3. (2) Operation of numerical values
Up to 16 characters
[Variable] For characters that can be used for variables, refer to the following:
➠ 9.1.2 Characters applicable to item names, component names, variable names, etc.
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 Designer3 (GOT2000) 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.
Field name setting*1 Set the assignments between the resource data to be sent and the field 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.
➠ 6.12 Precautions
Set the logging ID for the logging setting or the alarm ID that is set on the advanced alarm
Logging ID/Alarm ID
observation.
Clicking the Set operation log file name button displays the stored location for the operation log data
Operation log file
to be sent.
Range of data Specify the number of resource data to be sent for each action.
Generated SQL text Displays the SQL text that is generated during editing the data for [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 Transmit resource action dialog box.)
Insert Generates a new record, and assigns a value (resource data) into a field.
■2. Database
Select a database to be accessed.
Logging Device values of a controller that are collected at any timing or in specified intervals.
Advanced user alarm Alarm data that are collected in specified intervals for the advanced user alarm observation setting
Alarm data for controllers and a network that are collected by the advanced system alarm observation
Advanced system alarm
setting
Operation log GOT operation history data collected by the operation log function
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 action can be set.
(0 to 32 characters)
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.
6
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)
*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.
*1 The numbers of 1 to 250 correspond to the rows set for the number of the block number in the logging setting.
*1 Character string
Higher comment
*1 The first column data of the column number set in the comment group is sent.
POINT
Up to 512 of one-byte and two-byte characters can be set in a comment for the advanced user
alarm.
Set the length of character string on the database more than that for the comment.
6
Alarm time Date
SQL Server2014
Oracle 12c SQL Server2012 Access 2013
Data type of resource data Oracle 11g SQL Server2008 R2 Access 2010
Oracle 10g SQL Server2008 Access 2007
Oracle 9i Access 2003
SQL Server2005
Oracle 8i Access 2000
SQL Server 2000
MSDE 2000
datetime
Date DATE Date/Time type
smalldatetime
char
CHAR Text type*1
Character string varchar
VARCHAR Memo type*1
text
Yes/No type
bit Byte type
int Integer type
smallint Long integer type
NUMBER tinyint Single type
Numeric type CHAR float Double type
VARCHAR real AutoNumber type
char Currency type
varchar
Text type*1
text
Memo type*1
*1 Memo-type fields in Rich Text Format cannot be used with Microsoft Access 2013/2010/2007
Clicking the Set operation log file name button displays the stored location for the operation log file.
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 available.
6
Item Description
Specify the maximum number of resource data collected in the GOT after the last action.
Latest data (No. specified)
(Range:1 to 99999, Default:1)
Specify the number of days including in the date at the job execution for sending the resource data.
(This item cannot be specified for sending the logging data, the advanced user alarm data, and the
Latest data (days specified)*1
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.
*1 Resource data to be sent after changing the GOT time and date
When changing the GOT time, the resource data to be sent may differ from the resource data to be
sent without changing the GOT time.
The following shows the resource data to be sent after changing the GOT time and date.
?Logging data?
• Executing the next action before the time of the last action
Example 1) Changing the time from 11:40 to 11:10, and executing the next action at 11:20
: 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
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
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
Sending resource data <Resource data to be sent for the last action>
A (last action) A:Data collected for the specified time (300 second
Sending resource data <Resource data to be sent for the next action>
(next action) No data
11:00 11:20
Changing GOT time
Sending resource data <Resource data to be sent for the last action>
(last action) A:Data collected for the specified time (300 second
A B
* The data collected before the last action are not sent by the next action even though the data is collected within the specified
time.
?Operation log data?
• 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 next
action at 23:50
: Days specified (1 day)
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
Example 2) Changing the time from 0:40 to 0:10 on the same day, and executing the next action at
0:20
: Days specified (1 day)
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
• 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)
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
nging 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 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.
➠ 6.12 Precautions
(2) When an action fails due to the communication error between the GOT and the server
computer or others, the GOT sends the failed action data at the next action.
(3) The time to complete the resource data send action (Reference value (seconds))
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 reference values in
the following table.
• Loads on the GOT or loads on between the GOT and the server computer or others
• MES interface function setting
Number of resource data
Resource type
100 500 1000 10000
7 31 59 582
Logging*1*2
(5) (23) (42) (410)
Operation log*4 1 5 9 82
*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.
*4 When the numbers of insert fields are 7 to 13 by one action.
String 'String'
GOT time:
TO_DATE('(Date and time[YYYYMMDDhhmmss])',
Oracle 8i
'YYYYMMDDHH24MISS')
Server time: sysdate
Access 2013
Access2010
GOT time: '(Date and time[YYYY-MM-DD hh:mm:ss])'
Access 2007
Server time: NOW()
Access 2003
Access 2000
Step 2. The "option setting" area is displayed on the detailed setting edit screen.
Make the setting referring to the following descriptions.
0 : Not accumulated
Other than the above
1 : One or more data accumulated
0 : Not accumulated
Other than the above
1 or greater : Number of buffering data that are accumulated
The resend processing of the DB buffer is performed when the specified tag component is ON.
Normal: Turns OFF after completion of the resend processing.*1*2
Error:
Outputs an error code to MES interface Execute Log, and turns OFF.
Bit
Resend DB buffer request
Tag component value
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:
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 to the specified tag
component.
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.
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 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
The clear processing of the DB buffer is performed when the specified tag component is ON.
Turns OFF after completion of the clear processing.*3*4
DB buffer clear
processing Execute clear
The DB buffer is cleared when "1" is written to the specified tag component.
String
"0" is written after completion of the clear processing.*3*4
The DB buffer is cleared when "1" is written to the specified tag component.
Other than the above (Including string)
"0" is written after completion of the clear processing.*3*4
*1 Do not change the value of the specified tag component until the clear processing is completed.
Even if the value changes, the clear processing is not interrupted.
*2 To make another DB buffer clear request after completion of clear processing, wait for a 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
(3) 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.
POINT
Check [DB buffer utilization] shown in this 6.9.1 ■7. DB buffer utilization to prevent the "DB buffer 6
full" status.
0 : Not accumulated
Other than the above
Other than 0 : Utilization of DB buffer area (Unit: %)
Display Description
The MES interface function is starting up after processing of the above Initializing status.
Starting
Even if trigger conditions are met, no job will be executed during startup.
The MES interface function setting screen is attempting to acquire the status from the MES interface
Getting status
function.
The MES interface function setting screen failed to connect to the MES interface function and could
Connection failed
not acquire the status.
The MES interface setting has not been done, or the MES interface function is stopped due to an
Error
error.
6 - 76 6.10 Diagnosis
6.10.2 Manipulating the MES Interface Function status (Operation)
The operation of the MES interface function can be controlled.
■1. Stop
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:
➠ 5.2 (3) When actions are set for a job
■2. Restart
Selecting the [Restart] radio button and clicking the Execute button restarts the operation of the stopped MES
interface function. 6
6.10.3 Changing the job status (Change job status)
The job status can be changed.
Step 1. From [Job list], select the job whose status is to be changed.
• Checked
The job is enabled and thereby it is executed when the trigger conditions are met.
Enable job
• Not checked
The job is disabled, and thereby it is not executed even if the trigger conditions are met.
• Checked
The startup logging is enabled, and thereby startup records are logged.
Enable startup logging *1
• Not checked
The startup logging is disabled, and thereby startup records are not logged.
• Checked
*2
The detailed logging is enabled, and thereby detailed records are logged.
Enable detailed logging
• Not checked
The detailed logging is disabled, and thereby detailed records are not logged.
6.10 Diagnosis 6 - 77
Item Description
• Checked
Writing to PLC devices is disabled.
Disable writing to GOT device
• Not checked
Writing to PLC devices is enabled.
• Checked *3
Writing to the database is disabled.
Disable writing to database
• Not checked
Writing to the database is enabled.
*1 The startup log can be confirmed in [Job Execute Log] on the [Working log] tab.
6.10.4 Checking the connection of the previous job execution (Connection result of
previous job execution)
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].
Connected Normally connected to the server computer at the time of the previous job execution.
Initial status (Not connected to the database server computer), or normal connection could not be
Disconnected
established at the previous job execution and thereby the line was disconnected.
POINT
• The display of the connection result is not changed until the next job is executed to
communicate the database server computer.
• The result of the one-shot communication with the database server computer is not reflected.
6 - 78 6.10 Diagnosis
6.10.5 Manipulating DB buffering (DB buffering operation)
Operate the DB buffering.
For the DB buffering function, refer to the following:
➠ 5.1.10 DB buffering function
No. of bufferings *1
Shows the current number of bufferings (number
of buffered jobs).
Shows the number of bufferings (number of
buffered jobs) in the past.
6
Buffer utilization*1 Shows the current buffer utilization. Shows the highest buffer utilization in the past.
*1 A value is not displayed when the value is being obtained or could not be obtained.
6.10 Diagnosis 6 - 79
6.10.6 Checking the trigger buffering (Trigger buffering status)
This section explains checking the number of data buffered, the current buffer utilizations, and the highest buffer utilizations
of the trigger buffering function.
For the trigger buffering function, refer to the following:
➠ 5.1.5 Trigger buffering function
Description
Display
Current value Highest value*2
Shows the current number of bufferings (number Shows the number of bufferings (number of
No. of bufferings*1
of buffered jobs). 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.
• Reset the GOT (when changing the communication settings, etc.)
• Install the OS from GT Designer3
• Download project data, etc.
• Restart the MES interface function
• One-shot execution
POINT
When a large number of data is buffered, check the number of job settings and the trigger
condition setting.
6 - 80 6.10 Diagnosis
6.11 Working Log
The operation log of the MES interface function can be checked.
In [Working log], the MES interface Execute Log and the Job Execute Log of the GOT can be checked.
Selecting the job and clicking the View details button displays the [View details] dialog box.
Selecting the job and clicking the View details button displays the [View details] dialog box.
(2) Date
The date and time of job startup is displayed.
(3) Job name
Started jobs are displayed.
(4) 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.
POINT
Do not remove the CF card from the GOT during detailed log output.
Step 1. Selecting a job of or icon and clicking the View details button displays the [View details] dialog
box.
The following explains the display of the [View details] dialog box.
1)
2)
6)
3)
4)
5)
7)
Display Description
1)
2)
Display Description
1)
3)
4)
2)
5)
6)
Display Description
Displays the number of the SQL texts sent for [Transmit resource
action].
Displays 0 in the following cases.
• When sending no resource data (substitute values for all the
5) No. of execute SQL
fields)
• When a communication error occurs between the GOT and the
database
• When the SQL text cannot be sent to the database.
A value is assigned after being converted to the type for the tag com
For example, when the tag component, Data1, is double-precision ty
the type of the variable, Temp1, is converted from floating-point to
double-precision first, and then the converted value is assigned.
If a type that cannot be converted is assigned to a tag component, the job execution is canceled.
At this time, "Type conversion to tag component error" is displayed in the MES interface Execute Log.
6 - 86 6.12 Precautions
(2) Operation of numerical values
There are two kinds of numerical values: Integer type and Floating-point type.
• Integer type : Represents the bit type, single-precision type, and double-precision type of tag components.
• Floating-point type : Represents the floating-point type of tag components.
The following table lists operation items and types of the results.
Item Operation result
Addition, subtraction, multiplication of In the range from -2147483648 to 2147483647 : Integer type
Integer type Exceeding the above range : Floating-point type
User alarm function setting does not exist. Set [Advanced User Alarm Observation].
User alarm Set the alarm ID in [Logging ID/Alarm ID] that is set for
The alarm ID is not available.
[User Alarm].
System alarm System alarm function is not available. Check [Use System Alarm] for [System Alarm].
User alarm When restarting the GOT, the sent resource data is stored in the alarm log file.
System alarm When restarting the GOT, the sent resource data is stored in the alarm log file.
6.12 Precautions 6 - 87
Resource type Condition
Operation log When restarting the GOT, the sent resource data is stored in the operation log file.
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.
(b) Collecting no resource data after the last action
The action is succeeded without communicating the GOT with the database. (The MESInterface Execute Log is
output.)
The access log is not output to the server computer.
6 - 88 6.12 Precautions
7. DB CONNECTION SERVICE
AND SETTING TOOL
7
7.1 DB Connection Service Functions . . . . . . . . . . . . . . . . . . . . . . . 7 - 2
7.2 Setting ODBC of Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 - 4
7-1
This chapter explains DB Connection Service and DB Connection Service Setting Tool.
POINT
(1) It is necessary to install DB Connection Service on all the database server computers and
application server computers to be accessed from the GOT.
(2) When using DB Connection Service on a database server computer, the ODBC setting for
the database used must be made beforehand.
➠ 7.2 Setting ODBC of Database
(3) When using DB Connection Service on an application server computer, an account for user
program execution must be created beforehand.
(4) Changes to the DB Connection Service settings are made with DB Connection Service
Setting Tool.
➠ 7.5 Setting Items of DB Connection Service Setting Tool
Database server
Database computer
ODBC
Access
log SQL
failure log
Step 2. Accesses the database via ODBC interface and executes the SQL text.
Application server
Program computer
When
accessed
Access
log
7
Step 1. Receives a program execution request from the GOT.
Step 2.
(Completed)
This can be checked with the SQL Server service manager server.
(Start)
(End)
(End)
POINT
Precautions for using Access 2007, Access 2010 and Access 2013
When using SELECT or MultiSelect for a field whose data type is the single type or the double
type, set the following.
• Select [Microsoft Access Driver (*.mdb)] for the ODBC setting for the database.
• When the data base source file is *.accdb, convert it into *.mdb before using it.
POINT
Only one DB Connection Service Setting Tool can be activated.
Menu
7.4.2 Menu configuration
7
7.4.2 Menu configuration
This section shows each command provided on the menu bar.
■2. Help
Product information Displays product information of the DB Connection Service Setting Tool.
7.7
Connect to MELFANSweb Connects to the Mitsubishi Electric Factory Automation Global Website.
Step 1. Set the following items and click the Reflect settings button.
Step 2. After updating the settings, check for an error by selecting [Administrative Tools] - [Event Viewer] in
Windows.
➠ ■2. Error checking procedure
POINT
(1) Change the DB Connection Service settings while a job using the DB Connection Service is
not operating.
The status is as follows:
• The GOT is powered OFF.
• The MES interface function operation is stopped by [MES interface setting] - [Diagnosis]
tab.
➠ 6.10.2 Manipulating the MES Interface Function status (Operation)
(2) If any changed settings are entered with a job using DB Connection Service being operating,
the execution of the connected job is canceled and a communication error occurs.
Also, for a job to which [Enable DB buffering] is selected, SQLtexts are buffered in the DB
buffer.
Item Description
Service port (required) Set the number of a port through which the DB Connection Service operates.
Set a DB access timeout time (Unit: seconds) for writing/reading a database value from the GOT to the server computer, or for the
DB access timeout
case where no response is returned after request for program execution.
Limit IP addresses which permit to connect Specify whether or not to set IP addresses to which connection is to be permitted.
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.
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
■2. When [limit IP addresses which permit to connect] is selected, set IP address(es).
Step 1. Set the following items and click the Add button.
Item Description
Step 1. Set the following items and click the Add button
Item Description
Step 2. The IP address/mask bit length is added to the [Permitted IP addresses list].
(Example) 192.168.0.64/26
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
Access log capacity Set the capacity for one access log file and the number of files.
Capacity over
Ne
w
dbConnector.log dbConnector.log
Re
na
me
Files
within the
dbConnector.log.001 dbConnector.log.001 specified
Re number of
na
me files
dbConnector.log.002 dbConnector.log.002
De
let
e
Step 3. The total number of files exceeds 3 if [dbConnector.log.002] is renamed, therefore [dbConnector.log.002]
7
is deleted.
■2. When [Output SQL failed log] is selected, set the following items.
Item Description
SQL failure log capacity Set the capacity for one SQL failure log file and the number of files.
■1. Import
An existing file can be imported.
Item Description
■2. Export
DB Connection Service Setting Tool can be exported to a file.
Item Description
Step 2. The [Product information] dialog box of the DB Connection Service Setting Tool is displayed.
Step 3. Click the OK to display the Mitsubishi Electric Factory Automation Global Website.
Online manuals and other information can be viewed on the website.
7.7 Help 7 - 17
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.
First line
Database message header - Database message 18th byte from the line
" " (Space: 20H)
delimiter head
(2) End
Item Description
Output log format [Date] [Error code] SID [Session ID]:MIFWS Connected:[Source IP]:[Target data source]:[Connection ID]
Output log format [Date] [Error code] SID [Session ID]:MIFWS Disconnected:[Source IP]:[Target data source]:[Connection ID]
Output log format [Date] [Error code] SID [Session ID]:DB Connect:[Target data source]: [Connection ID]:[Connection result*1]
(2) Disconnection
Item Description
Output log format [Date] [Error code] SID [Session ID]:DB Disconnect:[Target data source]: [Connection ID]:[Disconnection result*1]
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*2]([No. of selected records])
*1 When succeeded: Success ([No. of selected records]), when failed: Failed (Line feed) Database message
(2) 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)
*1 When succeeded: Success ([No. of updated records]), when failed: Failed (Line feed) Database message
(3) INSERT
Item Description
Output log format [Date] [Error code] SID [Session ID]:SQL<[SQL text]>:[Processing result*4]([No. of inserted records])
Example 2005/07/01 12:00:00.000 0x00000000 SID 0:SQL<INSERT INTO TABLE ( COL ) VALUES ('') ;>:Success(1)
*1 When succeeded: Success ([No. of inserted records]), when failed: Failed (Line feed) Database message
(4) COMMIT
Item Description
Output log format [Date] [Error code] SID [Session ID]:COMMIT:[Processing result*5]
*1 When succeeded: Success, when failed: Failed (Line feed) Database message
(5) ROLLBACK
Item Description
Output log format [Date] [Error code] SID [Session ID]:ROLLBACK:[Processing result*6]
*1 When succeeded: Success, when failed: Failed (Line feed) Database message
Output log format [Date] [Error code] SID [Session ID]:GetNext:[Processing result*7]
*1 When succeeded: Success, when failed: Failed (Line feed) Database message
Output log format [Date] [Error code] SID ProgramExec:[Source IP]:<[Command line]>[Processing result*8]([Return value])
Output log format [Date] [Error code] [Target data source]:[SQL text]
TROUBLESHOOTING
8-1
8.1 Error Handling and Recovery Method
This section describes how to check an error output when using the MES interface function.
• Check a warning dialog displayed when a setting out • When a value out of the permitted range has been
MES interface setting error of the permitted range was made in the MES entered in the MES interface function setting, disable
interface function setting. the entry and return to the previous status.
• Check a warning dialog displayed when a setting out • When a value out of the permitted range has been
DB Connection Service setting
of the permitted range was made in DB Connection entered in DB Connection Service Setting Tool,
error
Service Setting Tool. disable the entry and return to the previous status.
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.
System alarm checking • For the system alarm checking procedure, refer to the following manual.
procedure ➠ GT Designer3 (GOT2000) Screen Design Manual
TROUBLESHOOTING
• 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.
*1 A CF card is required.
Is there any problem on the personal computer? • Replace it with another computer.
All the text is not displayed in a table. • Adjust the column width of the table.
Isn't the column width narrow?
(The text display is truncated.) 6.3.1 Screen structure
Unable to set [Exception processing setting] in Is the DB buffering enabled? • Disable the DB buffering.
[Communication action]. Is [Insert] set for [Action type]? • Set any other than [Insert] for [Action type].
• Install a CF card.
Is there a CF card inserted?
• 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.
TROUBLESHOOTING
Was a user ID having the administrator authority • Log in again with a user ID having the
Unable to reflect the setting.
used for the login? administrator authority.
Is the file set in [Output destination] read-only? • Correct the file specification.
[Access log output error] is recorded in [Event Is the access to the folder containing the file set in
• Check the right of access to the folder.
Viewer] of [Administrative Tools] in Windows. [Output destination] authorized?
Is the drive space of the server computer full? • Check the free space on the drive.
Is the file set in [Output destination] read-only? • Correct the file specification.
[SQL failure log output error] is recorded in [Event Is the access to the folder containing the file set in
• Check the right of access to the folder.
Viewer] of [Administrative Tools] in Windows. [Output destination] authorized?
Is the drive space of the server computer full? • Check the free space on the drive.
0x411400B2
• Character strings could not be converted to numerical
0x411400B6 values.
Character string number conversion error
0x411400BA • Change the setting so that type conversion will be
available in any case.
0x411400C0
TROUBLESHOOTING
0x411400EA Operation log function is not running function) is installed on the GOT.
• Check that the operation log setting is configured.
0x411400EE Unable to find the operation log file. • The MES interface function in the GOT cannot access
the operation log file.
0x411400F0 Unable to open the operation log file.
• Check that the CF card including the operation log file is
0x411400F2 Unable to acquire the operation log file. installed in the GOT.
0x41150161 DB transaction start status error • Check the transaction status of the database.
Waiting for DB access (program execution) completion • No response is received from DB Connection Service.
0x41151180
timeout Check the server and the network.
TROUBLESHOOTING
(2) Event log output warning list of DB Connection Service (Source name: DBConnector)
Error event ID Error description and cause Corrective action
Failed to read the setting file. • Refer to the actions of error codes 101 to 129.
5
The service is stopped. • Actions are displayed with error codes 101 to 129.
The computer ran out of memory while reading the setting • Terminate any unnecessary applications.
101
file. • Add more memory to the personal computer.
117 The setting of the access log file name is not correct.
The maximum file size setting for the access log is not
119
correct.
The maximum file size setting for the access log is out of
120
range.
123 The SQL failure log setting is not correct. • Configure the settings again with DB Connection
124 The setting of the SQL failure log file name is not correct. Service Setting Tool.
125 The SQL failure log file name is too long. ➠ 7.5 Setting Items of DB Connection Service Setting
Tool
The maximum file size setting for the SQL failure log is not
126
correct.
The maximum file size setting for the SQL failure log is out
127
of range.
TROUBLESHOOTING
only, cancel the setting.
• If read/write is disabled for the access log file, enable it
404 The access log file could not be opened. in the security setting.
• When the access log file name represents a directory,
rename or delete the directory.
• When the access log file has been open in another
application, terminate the application.
• 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 access log
407 Failed to rename the access log file. files, enable it in the security setting.
• When the new and old access log files have been open
in another application, terminate the application.
• Check the disk device for any fault.
• When the attributes of the new and old SQL failure log
files are set to read-only, cancel the setting.
• If read/write is disabled for the new and old SQL failure
507 Failed to rename the SQL failure log file. log files, enable it in the security setting.
• When the new and old SQL failure log files have been
open in another application, terminate the application.
• Check the disk device for any fault.
(3) Event log output error list of DB Connection Service Client (source name: DBCnctClient)
Error code Error description and cause Corrective action
50
53
(SID [Session ID]: Request Receive Error: [IP address]) • Terminate any unnecessary applications.
0x20300001
Failed to receive data due to insufficient memory. • Add more memory to the personal computer.
TROUBLESHOOTING
0x20300012 Detected failure of the MES interface module while waiting
for or receiving a request.
(SID [Session ID]: DB Connect: [Data source]: [User]: • Check the source IP address setting.
0x20400010 Failed) • Check the version of a system application (extended
Invalid DB connection request function) of [MES Interface].
(SID [Session ID]: SQL<...>: Failed) • Correctly set a database type for [DB server setting], a
(SID [Session ID]: COMMIT: Failed) table name, field names, Select/Update conditions, and
(SID [Session ID]: ROLLBACK: Failed) types of the data to be stored in the fields in the job for
0x20600023 the communication action setting or the resource data
(SID [Session ID]: GetNext: Failed)
(SID [Session ID]: Reset: Failed) send action setting in [MES Interface].
Failed in SQL execution. ➠ 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 the
(SID [Session ID]: ROLLBACK: Failed) Job settings.
0x20600025
(SID [Session ID]: GetNext: Failed) ➠ 6.8.1 Setting items in Communication action
(SID [Session ID]: Reset: Failed) • Check if the database has been filled with registered
No record was updated or inserted by the SQL execution. data.
(SID [Session ID]: *** Transmitting Commit Success • Check if it is connected to the network.
0x2060002B Response Failed. ***) • Check if the gateway and/or hub is operating.
Failed to transmit the COMMIT success response. • Check if the power of the GOT has not been turned off.
TROUBLESHOOTING
• Check the source IP address setting.
(SID [Session ID]: TCPOpen Request Error: [IP address])
0x20800010 • Check the version of a system application (extended
Invalid TCPOpen request
function) of [MES Interface].
0x20600001 Failed in SQL execution due to insufficient memory. • Terminate any unnecessary applications.
0x20600002 Failed in SQL execution due to insufficient resources. • Add more memory to the personal computer.
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
Failed to obtain the number of fields in the record that is to
0x20600022 [MES Interface].
be obtained by the SQL execution.
➠ 6.6 Server Service Settings
(Data source name: *** Transmitting Commit Success • Check if it is connected to the network.
0x2060002B Response Failed. ***) • Check if the gateway and/or hub is operating.
Failed to transmit the COMMIT success response. • Check if the power of the GOT has not been turned off.
APPENDICES
9.2 About Monitoring Interval Timeout . . . . . . . . . . . . . . . . . . . . . . . 9 - 5
9.3 Warning Messages in Windows Vista(R) . . . . . . . . . . . . . . . . . . 9 - 7
9.4 Tables for Used Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 11
9.5 Application Example of MES Interface Function . . . . . . . . . . . 9 - 12
9
9-1
9.1 Usable Characters and ASCII Code Tables by Setting
Items
9.1.1 ASCII code table
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
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
9-2 9.1 Usable Characters and ASCII Code Tables by Setting Items
■2. Reserved terms
The following words are reserved terms and therefore cannot be used.
Reserved terms
A abstract
G goto
I if, implements, import, in, include, Infinity, instanceof, int, interface, invoke
L long
O oneshot
R return
APPENDICES
U undefined
W while, with
9.1 Usable Characters and ASCII Code Tables by Setting Items 9-3
9.1.3 Characters applicable to character string constants, etc.
The shaded characters can be used.
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
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
9-4 9.1 Usable Characters and ASCII Code Tables by Setting Items
9.2 About Monitoring Interval Timeout
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.
Monitoring timeout
occurred
APPENDICES
A monitoring interval timeout occurs when the total jobs cannot be processed in a monitoring interval.
The monitoring interval includes the following sampling intervals.
• Sampling interval set for [Sampling setting] in [Device tag settings] when selecting [Value monitoring startup] or
[Handshake operation] for [Trigger conditions] in [Job settings]
➠ 6.5 Device Tag Settings
• Sampling interval set for [Trigger conditions] when selecting [Specified time period startup] for [Trigger conditions] in
[Job settings]
9
➠ 6.7.2 Setting items in Trigger conditions
POINT
In the following cases, monitoring interval timeouts do not occur.
• When selecting [Time specification startup] or [GOT Initializing] for [Trigger conditions] in [Job
settings]
• When the total jobs are processed in a monitoring interval
(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.
(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 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]
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.
APPENDICES
9
(End)
APPENDICES
9
APPENDICES
(End)
bytes Digits
Rise
Value monitoring startup
Fall
= ==
!=
<- =
Database
<Server computer>
IP address: 192.168.11.1
Ethernet
<GOT>
IP address: 192.168.11.101
Engineering process
Process line
• ODBC setting
ODBC data source name: PROCESS
Driver: OracleHome2
TNS service name: PROCESS
• DB Connection Service setting
Service port No.: 5112
Timeout: 10 seconds
[w:GD544]=[w:D544];
M102: Completion notification
[w:GD546]=[w:D546];
2 When M102 rises (The GOT collects PLC information upon
[b:GB102]=[b:M102];
completion of the processing.)
[b:M102]=0;
APPENDICES
➠ GT Designer3 (GOT2000) Screen Design Manual
(4) MES interface setting
• Device tag settings
Device tag name Sampling cycle Component name Data type Device
• Job settings
Job name Trigger Processing Remarks
Value monitoring • Inserting the time and performance data into the Calculation of the
Status report
GB102=ON database (DBServer) operation rate
2006/3/2 10:12:01 1
2006/3/2 10:24:32 2
2006/3/2 10:53:17 3
2006/3/2 11:05:42 4
2006/3/2 11:17:31 5
: : : :
* The manual number is given on the bottom left of the back cover.
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric
Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the
contents noted in this manual.
REVISIONS - 1
GOT is a registered trademark of Mitsubishi Electric Corporation.
Microsoft, Windows, Windows NT, Windows Server, Windows Vista, and Windows 7 are registered trademarks or trademarks
of Microsoft Corporation in the United States and other countries.
Adobe and Adobe Reader are registered trademarks of Adobe Systems Incorporated.
Intel, Intel Core, Pentium, and Celeron are trademarks or registered trademarks of Intel Corporation in the United States and
other countries.
Ethernet is a registered trademark of Xerox Corporation in the United States.
MODBUS is a trademark of Schneider Electric SA.
VNC is a registered trademark of RealVNC Ltd. in the United States and other countries.
Other company and product names herein are either trademarks or registered trademarks of their respective owners.
SH(NA)-081228ENG-F
GOT2000 Series MES Interface Function Manual
For GT Works3 Version1
MODEL GOT2000-O-MES-E
MODEL
CODE
When exported from Japan, this manual does not require application to the Ministry of Economy,
SH(NA)-081228ENG-F(1608)MEE Trade and Industry for service transaction permission.
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN