• SAFETY PRECAUTIONS •
(Always read these instructions before using this equipment.)
Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly.
The instructions given in this manual are concerned with this product. For the safety instructions of the programmable controller system, please read the CPU module user's manual.
In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
! DANGER CAUTION
!
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in medium or slight personal injury or physical damage.
Note that the
!CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Precautions for test operation]
! CAUTION
• Before starting test operation for system monitor, special function module monitor or ladder monitor (bit device ON/OFF, word device present value changing, timer/counter set
value/present value changing, buffer memory present value changing), please read the manual carefully to fully understand the operation methods.
For the devices that perform significant operations for the system, never perform test operation to change data.
Doing so can cause accidents due to false outputs or malfunctions.
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Oct., 2004 SH (NA)-080525ENG-A First printing Mar., 2005 SH (NA)-080525ENG-B Partial corrections
Section 5.1.3, 5.3, 5.4, 7.1.1, 7.4, 8.1, 8.2, 8.3.1, 8.3.2 Jan., 2006 SH (NA)-080525ENG-C Partial corrections
About Manuals Jun., 2006 SH (NA)-080525ENG-D Partial corrections
Section 2.5, Chapter 3, Section 5.4, 8.2, 8.3.1, 8.4.2
Japanese Manual Version SH-080518-C
Structure of This Manual
This manual is made up of the following chapters.
Chapter 1 Overview
Describes the features of the gateway functions.Chapter 2 System Configuration
Describes the system configuration of the gateway functions.Chapter 3 Operation Sequence
Provides the general procedure for using the gateway functions.Chapter 4 Settings Common to
Functions
Describes the settings common to the gateway functions.Chapter 5 Server and Client Functions
Describes the specifications, setting methods, precautions and others of the server and client functions.
Chapter 6 FTP Server Function
Describes the specifications, setting methods, precautions and others of the FTP server function.Chapter 7 Mail Send Function
Describes the specifications, setting methods, precautions and others of the mail send function.Chapter 8 Troubleshooting
Describes the error messages and troubleshooting for the functions.1
2
3
4
5
6
7
8
INTRODUCTION
Thank you for choosing the Mitsubishi Graphic Operation Terminal.
Before using the equipment, please read this manual carefully to use the equipment to its optimum.
CONTENTS
SAFETY PRECAUTIONS A- 1
REVISIONS A- 2
Structure of This Manual A- 3
INTRODUCTION A- 4
About Manuals A- 7
About the Generic Terms and Abbreviations A- 8
About the Symbols A- 11
1. OVERVIEW 1- 1 to 1- 3
1.1 Features of Server and Client Functions 1- 1
1.2 Features of FTP Server Function 1- 3
1.3 Featuers of Mail Send Function 1- 3
2. SYSTEM CONFIGURATION 2- 1 to 2- 4
2.1 System Configuration of Gateway Functions 2- 1
2.2 Connection Form 2- 1
2.3 Required Devices 2- 2
2.4 Precautions for Mounting the Communication Board 2- 2
2.5 About OS 2- 4
2.6 Precautions for System Configuration 2- 4
3. OPERATION SEQUENCE 3- 1 to 3- 2
4. FUNCTION SETTING 4- 1 to 4- 4
4.1 GOT Setting 4- 3
4.2 GT Designer2 Setting 4- 4
5. SERVER AND CLIENT FUNCTIONS 5- 1 to 5-22
5.1 Gateway Devices 5- 1
5.1.1 What are the gateway devices?... 5- 1 5.1.2 Usable gateway devices ... 5- 2 5.1.3 How to monitor the gateway devices... 5- 3 5.1.4 PLC devices that can be assigned ... 5- 6
5.2 Specifications 5- 8
5.2.1 Specifications... 5- 8 5.2.2 Access range that can be monitored ... 5- 9
5.3 Setting Method 5-10
5.4 Examples of Use 5-13
5.5 Precautions 5-18
5.6 For Efficient Use 5-20
6. FTP SERVER FUNCTION 6- 1 to 6-13
6.1 Specifications 6- 1
6.1.1 Specifications... 6- 1 6.1.2 File accessible range... 6- 2
6.2 Setting Method 6- 3
6.3 Operation on the FTP Client Side 6- 4
6.3.1 Input command at FTP client... 6- 4 6.3.2 File specifying method... 6- 5 6.3.3 Checking the line connection condition ... 6- 6 6.3.4 Line cutoff ... 6- 7
6.4 Example of Use 6- 8
6.5 Precautions 6-12
7. MAIL SEND FUNCTION 7- 1 to 7- 8
7.1 Specifications 7- 1
7.1.1 Specifications... 7- 1 7.1.2 Mail send enabled range... 7- 2
7.2 Setting Method 7- 3
7.3 Send Examples 7- 4
7.4 Examples of Use 7- 6
7.5 Precautions 7- 8
8. TROUBLESHOOTING 8- 1 to 8-10
8.1 Troubleshooting Common to Gateway Functions 8- 1
8.2 Gateway Information 8- 2
8.3 Server and Client Functions 8- 4
8.3.1 Error codes and error messages ... 8- 4 8.3.2 Troubleshooting... 8- 6
8.4 FTP Server Function 8- 7
8.4.1 Error codes and error messages ... 8- 7 8.4.2 Troubleshooting... 8- 8
8.5 Mail Send Function 8- 9
8.5.1 Error codes and error messages ... 8- 9 8.5.2 Troubleshooting... 8- 9
INDEX Index- 1 to Index - 2
About Manuals
The following manuals are also related to this product.
In necessary, order them by quoting the details in the tables below.
Related Manuals
Manual Name Manual Number
(Model Code) GT Designer2 Version2 Operating Manual
Describes methods of operating GT Designer2 and transmitting data to GOT
(Option)
SH-080521ENG (1DM216)
GT Designer2 Version2 Reference Manual
Describes the specifications and settings of each object function used in GT Designer2
(Option)
SH-080522ENG (1DM217)
GOT-A900 Series Operating Manual
(GT Works2 Version2/GT Designer2 Version2 compatible Extended • Option Functions Manual) Describes the following extended functions and optional functions applicable to GOT
• Utility • Ladder monitor • System monitor
• Special module monitor • Network monitor • List editing
• Module monitor • Servo amplifier monitor • CNC monitor
• Font change • System dialog language switching
(Option)
SH-080523ENG (1DM218)
GOT-A900 Series User’s Manual
(GT Works2 Version2/GT Designer2 Version2 compatible Connection System Manual)
Describes the system configuration of which connection method is compatible with GOT-A900 series as well as processing cables.
(Option)
SH-080524ENG (1DM219)
A985GOT/A975GOT/A970GOT/A960GOT User's Manual
Explains the performance specifications, installation methods, communication board/communication unit mounting methods and others of the GOTs.
(Option)
SH-4005 (1DM099)
A950GOT/A951GOT/A953GOT/A956GOT User's Manual
Explains the performance specifications, installation methods, communication board/communication unit mounting methods and others of the GOTs.
(Option)
SH-080018 (1DM103)
MX Component Version3 Operating Manual
Explains the setting and operating methods of the utilities on MX Component.
(Option)
SH-080271 (13JU32)
MX Component Version3 Programming Manual
Explains the programming procedures, detailed descriptions and error codes of the ACT controls.
(Option)
SH-080272 (13JF66)
About the Generic Terms and Abbreviations
The following abbreviations and generic terms are used in this manual.
GOT
Generic Term/Abbreviation Description
A985GOT-V A985GOT-TBA-V, A985GOT-TBD-V
A985GOT A985GOT-TBA, A985GOT-TBD, A985GOT-TBA-EU
A975GOT A975GOT-TBA-B, A975GOT-TBD-B, A975GOT-TBA, A975GOT-TBD, A975GOT-TBA-EU
A970GOT
A970GOT-TBA-B, A970GOT-TBD-B, A970GOT-TBA, A970GOT-TBD, A970GOT-SBA, A970GOT-SBD, A970GOT-LBA, A970GOT-LBD, A970GOT-TBA-EU, A970GOT-SBA-EU, A970GOT-LBA-EU
A97 GOT A975GOT, A970GOT
A960GOT A960GOT-EBA, A960GOT-EBD, A960GOT-EBA-EU
A956WGOT A956WGOT-TBD
A956GOT A956GOT-TBD, A956GOT-SBD, A956GOT-LBD,
A956GOT-TBD-M3, A956GOT-SBD-M3, A956GOT-LBD-M3
A953GOT A953GOT-TBD, A953GOT-SBD, A953GOT-LBD,
A953GOT-TBD-M3, A953GOT-SBD-M3, A953GOT-LBD-M3
A951GOT A951GOT-TBD, A951GOT-SBD, A951GOT-LBD,
A951GOT-TBD-M3, A951GOT-SBD-M3, A951GOT-LBD-M3
A951GOT-Q A951GOT-QTBD, A951GOT-QSBD, A951GOT-QLBD,
A951GOT-QTBD-M3, A951GOT-QSBD-M3, A951GOT-QLBD-M3
A950GOT A950GOT-TBD, A950GOT-SBD, A950GOT-LBD,
A950GOT-TBD-M3, A950GOT-SBD-M3, A950GOT-LBD-M3 A95 handy GOT A950GOT-SBD-M3-H, A950GOT-LBD-M3-H, A953GOT-SBD-M3-H,
A953GOT-LBD-M3-H GOT-A900
Series
A95 GOT A956GOT, A953GOT, A951GOT, A951GOT-Q,
A950GOT, A950 handy GOT
Communication board/Communication module
Generic Term/Abbreviation Description
Bus connection board A9GT-QBUSS, A9GT-QBUS2S, A9GT-BUSS, A9GT-BUS2S, Communication
board Serial communication board
A9GT-RS4, A9GT-RS2, A9GT-RS2T, A9GT-50WRS2,
A9GT-50WRS4 Communication
module
Ethernet
communication module A9GT-J71E71-T
Option unit
Generic Term/Abbreviation Description
Option module Memory card
interface module A1SD59J-MIF
Option
Generic Term/Abbreviation Description
Memory board A9GT-FNB, A9GT-FNB1M, A9GT-FNB2M, A9GT-FNB4M,
A9GT-FNB8M, A9GT-QFNB, A9GT-QFNB4M, A9GT-QFNB8M
Memory card Flash PC card/Commercially available flash PC card/SRAM type PC card Flash PC card A9GTMEM-10MF, A9GTMEM-20MF, A9GTMEM-40MF Option
Compact flash PC card Commercially available flash PC card
Software
Generic Term/Abbreviation Description
GT Works2 Version2 SW2D5C-GTWK2-E GT Designer2 Version2 SW2D5C-GTD2-E
GT Designer2 GT Designer2 screen creation software for GOT900 GT Simulator2 GT Simulator2 screen simulator for GOT900 GT SoftGOT2 GT SoftGOT2 monitoring software
Software
MX Component MX Component ActiveX communication support tool
CPU
Generic Term/Abbreviation Description
QCPU (Q Mode)
Q00JCPU, Q00CPU, Q01CPU, Q02CPU,
Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU,
Q12PHCPU, Q25PHCPU, Q12PRHCPU, Q25PRHCPU
QCPU (A Mode) Q02CPU-A, Q02HCPU-A, Q06HCPU-A QCPU
Remote I/O station
Network module for MELSECNET/H network system remote I/O station (QJ72LP25-25, QJ72LP25G, QJ72BR15)
QnACPU type Q2ACPU, Q2ACPU-S1, Q2AHCPU, Q2AHCPU-S1,
Q3ACPU, Q4ACPU, Q4ARCPU
QnACPU
QnASCPU type Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU, Q2ASHCPU-S1
AnUCPU A2UCPU, A2UCPU-S1, A3UCPU, A4UCPU
AnACPU A2ACPU, A2ACPU-S1, A3ACPU
AnNCPU A1NCPU, A2NCPU, A2NCPU-S1, A3NCPU
AnCPU type AnUCPU, AnACPU, AnNCPU
AnUS(H)CPU A2USCPU, A2USCPU-S1, A2USHCPU-S1
AnS(H)CPU A1SCPU, A1SCPUC24-R2, A2SCPU, A2SCPU-S1,
A1SHCPU, A2SHCPU, A2SHCPU-S1
A1SJ(H)CPU A1SJCPU, A1SJCPU-S3, A1SJHCPU
AnSCPU type AnUS(H)CPU, AnS(H)CPU, A1SJ(H)CPU A1FXCPU A1FXCPU
ACPU
A0J2HCPU, A2CCPU, A2CCPUC24, A2CJCPU
FXCPU
FX0 series, FX0N series, FX0S series, FX1 series, FX1N series, FX1NC series, FX1S series, FX2 series, FX2C series, FX2N series, FX2NC series,
FX(2N)-10GM/20GM series, FX3UC series Motion controller
CPU (Q series) Q172CPU, Q173CPU Motion
controller
CPU Motion controller CPU (A series)
A273UCPU, A273UHCPU, A273UHCPU-S3,
A373CPU, A373UCPU, A373UCPU-S3,
A171SCPU, A171SCPU-S3, A171SCPU-S3N,
A171SHCPU, A171SHCPUN, A172SHCPU,
A172SHCPUN, A173UHCPU, A173UHCPU-S1
FA controller LM610, LM7600, LM8000
MELDAS C6/C64 FCA C6, FCA C64
Other PLC
Generic Term/Abbreviation Description
Omron PLC
C200HS, C200H, C200H series (C200HX, C200HG,
C200HE), CQM1, C1000H, C2000H,
CV500, CV1000, CV2000, CVM1-CPU01,
CVM1-CPU11, CVM1-CPU21, CS1, CS1D,
CJ1M, CPM1, CPM1A, CPM2A,
CPM2C, CPM1H
Yaskawa PLC
GL60S, GL60H, GL70H, GL120,
GL130, CP-9200SH, CP-9300MS, MP-920,
MP-930, MP-940, MP-9200(H), PROGIC-8
SLC500 series SLC500-20, SLC500-30, SLC500-40, SLC5/01,
SLC5/02, SLC5/03, SLC5/04, SLC5/05
MicroLogix1000 series
1761-L10BWA, 1761-L10BWB, 1761-L16AWA, 1761-L16BWA, 1761-L16BWB, 1761-L16BBB, 1761-L32AWA, 1761-L32BWA,
1761-L32BWB, 1761-L32BBB, 1761-L32AAA, 1761-L20AWA-5A, 1761-L20BWA-5A, 1761-L20BWB-5A
Allen- Bradley PLC
MicroLogix1500
series 1764-LSP
Sharp PLC
JW-21CU, JW-22CU, JW-31CUH, JW-32CUH, JW-33CUH, JW-50CUH, JW-70CUH, JW-100CUH, JM-100CU, Z-512J
PROSEC T
series T3, T3H, T2E, T2N
Toshiba
PLC PROSEC V
series Model3000, S2T
SIEMENS PLC SIMATIC S7-200 series, SIMATIC S7-300series,
SIMATIC S7-400 series Large-sized H
series
H-302(CPU2-03H), H-702(CPU2-07H), H-1002(CPU2-10H), H-2002(CPU2-20H), H-4010(CPU3-40H), H-300(CPU-03Ha), H-700(CPU-07Ha), H-2000(CPU-20Ha) H-200 to 252
series
H-200(CPU-02H,CPE-02H), H-250(CPU21-02H), H-252(CPU22-02H), H-252B(CPU22-02HB), H-252C(CPU22-02HC, CPE22-02HC)
H series board type
H-20DR, H-28DR, H-40DR, H-64DR,
H-20DT, H-28DT, H-40DT, H-64DT,
HL-40DR, HL-64DR
HITACHI PLC (HIDEC H series)
EH-150 series EH-CPU104, EH-CPU208, EH-CPU308, EH-CPU316
Matsushita Electric Works PLC
FP0-C16CT, FP0-C32CT, FP1-C24C, FP1-C40C,
FP2, FP2SH, FP2-CCU, FP3,
FP5, FP10(S), FP10SH, FP-M(C20TC),
FP-M(C32TC)
About the Symbols
In this manual, the following symbols are used to represent menus and buttons.
Symbols Description
Represents the menu item to be selected from the menu bar.
[ ]
Represents the item in the setting dialog box or the utility menu item of the GOT.
Represents the operation sequence, to to .
Represents the item that provides detailed explanation (manual or the chapter, section or item of that manual).
Point
Represents the information that you should know.Represents the information that will be useful.
Remark
Represents the supplementary explanation that will be helpful.1. OVERVIEW
This manual explains the gateway functions that can be performed on the GOT-A900 series.
There are the following gateway functions to support remote watching and remote maintenance of production sites from an office.
• Server function • Client function
• FTP server function • Mail send function
1.1 Features of Server and Client Functions
Collection of data by personal computer (server function)
Monitoring the GOTs (servers) from the personal computer (MX Component) allows data to be read/written indirectly from/to the PLC CPU devices being monitored by the GOTs.
If the PLC CPU of a different maker is monitored, use of the server function enables data to be read/written with only MX Component and the communication method to be standardized by Ethernet.
Previously ...
Install peripheral software programs of various companies.
Mitsubishi Company A
Communications are made with personal computer in respective communication methods of companies.
Mitsubishi PLC Company A PLC Mitsubishi PLC Company A PLC
Server Server
Server
Communication method is standardized by Ethernet.
Necessary software is MX Component only.
MX Component
Ethernet When server function is used ...
RS-232C communi- cation RS-422 communi- cation Bus communi-
cation RS-232C communication RS-422 communication
Micro computer board
Micro computer board
Micro computer board
RS-232C communi- cation RS-422 communi- cation
Bus communi- cation RS-232C communication RS-422 communication
RS-232C communi- cation RS-422 communi- cation
RS-232C communi- cation RS-422 communi- cation
1
Monitoring of other GOTs from client GOT (server function, client function)
Monitoring of the GOTs (servers) from the GOT (client) allows data to be read/written indirectly from/to the PLC CPU devices being monitored by the GOTs (servers).
Use of the client function enables data to be read/written indirectly from/to the PLC CPUs of different makers that are different from the maker of the PLC CPU connected to the GOT (client).
Company A PLC Micro computer board Mitsubishi PLC
Client
Ethernet
Server Server
Bus communication RS-232C communication RS-422 communication
RS-232C communication
RS-422 communication RS-422 communication RS-232C communication
1
1.2 Features of FTP Server Function
Using the FTP server function, you can read/write data (recipe, alarm history, screen image data) saved in the memory cards of the GOTs from the personal computer.
General-purpose FTP client tool
Windows MS-DOS prompt or command promptR
Recipe data (CSV file), alarm history data (CSV file) or screen image data (BMP/JPG file) are read to personal computer.
Recipe data (CSV file) are written to memory cards.
FTP server function
FTP server function
Bus communication RS-232C communication RS-422 communication
RS-232C communication RS-422 communication
Mitsubishi PLC Company A PLC
Ethernet
FTP server function
RS-232C communication RS-422 communication
Micro computer board Memory
card Memory
card Memory
card
1.3 Features of Mail Send Function
Using the alarm history display function, you can send the occurrence or restoration information of an error to the personal computer or cellular phone by mail at occurrence of or restoration from the error.
Bus communication RS-232C communication RS-232C communication Mail send
function Mail send
function Mail send
function
Internet Intranet mail server
Alarm history display function
Sends alarm occurrence or restoration information
Personal computer
Cellular phone Ethernet
2. SYSTEM CONFIGURATION
This chapter describes the system configuration of the gateway functions.
2.1 System Configuration of Gateway Functions
When the gateway functions are used, one GOT connects to Ethernet and PLCs and therefore both the Ethernet communication module and communication board must be mounted to the GOT.
Hence, the gateway functions cannot be used for the GOT that cannot be mounted with the Ethernet communication module and for the connection form that uses the communication module.
(Example 1) For A951GOT
Since the Ethernet communication module cannot be mounted, the gateway functions cannot be used.
(Example 2) For CC-Link connection
Since two different communication modules cannot be mounted to one GOT, the gateway functions cannot be used.
A951GOT Ethernet
communication module
GOT
CC-Link
communication module
Ethernet
communication module
2.2 Connection Form
The GOTs that can use the gateway functions are indicated on a connection form basis.
Refer to the following manual for details of the connection forms.
GOT-A900 Series User's Manual (Connection System Manual)
: Usable : Unusable : Not connectable
Connection Form A985 GOT(-V)
A97
GOT A960GOT A956W GOT
A956GOT
-M3*1*2 A953GOT A951GOT
(-Q) A950GOT
A95 handy GOT
GT SoftGOT Bus connection
CPU direct connection Computer link connection MELSECNET connection CC-Link connection Ethernet
connection Third party PLC connection Microcomputer connection
1 When using the A956GOT, use the memory extension type (A956GOT-TBD-M3, A956GOT-SBD-M3, A956GOT-LBD-M3) GOT.
2
Unable to make RS-232C/RS-422 communication, the A956GOT cannot be connected with the FXCPU or2
2.3 Required Devices
The following devices of the GOTs are required to use the gateway functions.
Application Required Device A985GOT
(-V) A97 GOT A960GOT A956WGOT A956GOT
-M3 Connects GOT to
Ethernet system. Ethernet communication module A9GT-J71E71-T (Hardware version E (June, 2002) or later) 1 Bus connection
(QCPU (Q mode)) A9GT-QBUSS or A9GT-QBUS2S 2, 3 Bus connection
(QnA/ACPU) A9GT-BUSS or A9GT-BUS2S 2, 3 RS-232C
communication A9GT-RS2 or A9GT-RS2T A9GT-50WRS2 Connects GOT to
PLC.
Communication board
RS-422
communication A9GT-RS4 A9GT-50WRS4
Cannot be connected.
Executes gateway functions with GOT.
Memory board A9GT-QFNB (4/8M) or A9GT-FNB (1/2/4/8M) Not required
Memory card Flash PC card/Commercially available flash PC card/SRAM type PC card 4
Flash PC card A9GTMEM-10MF, A9GTMEM-20MF,
A9GTMEM-40MF Cannot be used.
Required to use FTP server function.
Compact flash PC card Commercially available flash PC card 5 Cannot be used.
1 The gateway functions cannot be used with the hardware version D or earlier.
2 The bus connection module (A9GT-BUSSU, A9GT-BUS2SU, A9GT-QBUS2SU) cannot be used for the gateway functions.
Use the above bus connection board when making bus connection.
3 The bus connection board (A9GT-50WQBUSS, A9GT-50WBUSS) dedicated to the A956WGOT cannot be used for the gateway functions.
Use the above bus connection board when making bus connection with the A956WGOT.
4 The memory card interface module is required to use the memory card with the A956WGOT or A956GOT.
5 The A985GOT cannot use the compact flash PC card. (It can be used with the A985GOT-V only.)
2.4 Precautions for Mounting the Communication Board
How to mount the communication board to the GOT changes depending on the communication board used. The precautions for mounting the communication board are described below.
Point About the mounting of the communication board
Do not mount both the bus connection board and serial communication board to the GOT.
When using the serial communication board
When mounting the serial communication board, mount it to the GOT as previously.
Refer to the following manual for the way to mount the communication board.
2
When using the bus connection board
Mount the bus connection board to the back of the A9GT-J71E71-T.
How to mount the bus connection board is shown below.
1) Loosen the mounting screws (2 pcs.) that fix the slot cover on the back of the A9GT-J71E71-T.
Slot cover
Bus connection board
2) Remove the slot cover.
Save the removed slot cover carefully.
(If the A9GT-J71E71-T is used alone without the slot cover, foreign matter will enter the unit, causing a failure or malfunction.)
3) Fit the bus connection board to the A9GT-J71E71-T.
4) Tighten the mounting screws (2 pcs.) of the bus connection board to the specified torque (36 to 48N • cm) to fix the bus connection board.
5) After fitting the bus connection board, mount the A9GT-J71E71-T to the GOT.
2.5 About OS
The OSs compatible with the GOT must be installed to in advance use the gateway functions.
Refer to the following manual for the system programs necessary for the gateway functions, their installation methods and precautions.
GT Designer2 Version2 Operating Manual
2.6 Precautions for System Configuration
Connection to the intranet must be fully safeguarded.
Consult the network access provider or network manager (person who does network planning, IP address management, etc.).
We have no liability for any system problems that occur at the time of connection to the intranet.
If a delay occurs due to network congestion, take preventive measures, e.g. install a bridge.
3. OPERATION SEQUENCE
A general procedure for using the gateway functions is given below.
Start
Examine the system configuration.
Examine the configuration of the whole system.
• Connection structure of the whole system such as the PLCs and GOTs
• PLC setting (device assignment, etc.)
• GOT setting (IP address, network number, station number, etc.)
Connect the GOTs and the personal computer, where GT Designer2 has started, by the RS-232C cable.
...GT Designer2 Version2 Operating Manual
Fit the memory boards to the GOTs.
(Not required when the A956GOT is used)
...User's manual of the used GOT
Check the ROM_BIOS versions of the GOTs.
If the ROM_BIOS version does not support the gateway functions, install ROM_BIOS again.
...GT Designer2 Version2 Operating Manual
Install the OSs in the GOTs.
• Basic function OS
• PLC communication driver
• Extended function OS ("gateway functions" and other necessary OS)
...GT Designer2 Version2 Operating Manual
Install the OSs
into the GOTs.
When the GOT is restarted, the utility menu appears. Select "Memory information" to check whether the installed OSs are correct or not.
...Extended • Option Functions Manual
Set the following items in the utility setup of the GOT.
• IP address of the GOT
• Set the NET No. (network number) and PLC No. (station number) of the GOT.
• When making bus connection with the QCPU, set the extension number and I/O slots.
• When making other connection, make communication settings, such as the transmission speed to the PLC, as required.
Connection System Manual Section 4.1 in this manual
Fit the communication board to the GOT or Ethernet communication module and connect it with the PLC by the cable.
(For QnA/ACPU bus connection, make setting with the extension number and I/O slot switches on the communication board.)
Section 2.4 in this manual
Connection System Manual
Connect the GOTs to Ethernet.
Fit the Ethernet communication module to the GOT and connect the Ethernet cable.
...User's manual of the used GOT
To next page
3
From previous page
Set the gateway functions to be used.
• When using the server and client functions Make server and client settings on GT Designer2.
• When using the FTP server function Make FTP server setting on GT Designer2.
• When using the mail send function
Set the mail of each object on GT Designer2 .
Set the send destination and SMTP server in the mail send setting.
.... Sections 5.3, 6.2, 7.2 in this manual
Create monitor screen data.
Create monitor screen data. .... GT Designer2 Version2
Reference Manual
Download the monitor screen data.
Transfer the monitor screen data to the GOTs.
(Transfer by RS-232C communication or transfer using the memory cards)
.... GT Designer2 Version2 Operating Manual
Debug.
Check the operations of the GOTs.End
3
4. FUNCTION SETTING
To use the gateway functions, settings related to the gateway functions must be made on both the GOT and GT Designer2.
Settings to be made on the GOT and GT Designer2 will be described below.
Server and client functions
<System configuration example>
Router
GOT NW No GOT PC No GOT IP address Router address GOT NW No GOT PC No GOT IP address Router address
GOT NW No GOT PC No GOT IP address Router address
IP:
10.97.15.254 IP:
10.97.14.254 MX Component
IP address: 10.97.14.20
Ethernet
: 1 : 1 : 10.97.14.10 : 10.97.14.254
: 1 : 2 : 10.97.14.11 : 10.97.14.254
: 2 : 1 : 10.97.15.10 : 10.97.15.254
• Utility menu of the GOT (Refer to Section 4.1.) Set the network No., station number, IP address, etc. of the GOT itself on each GOT.
• GT Designer2 (Refer to Section 5.3.) <Server setting>
Setting of the server function to the GOT.
Assign the PLC CPU devices to the gateway devices to be accessed by MX Component and the GOT of the client function.
<Client setting>
Setting of the client function to the GOT.
Register its the network No., PLC No. and IP addresses of the GOTs of the server function to be accessed.
4
FTP server function
<System configuration example>
Router GOT IP address
Router address
GOT IP address Router address
GOT IP address Router address
IP:10.97.15.254 IP:10.97.14.254 General-purpose FTP client tool
Windows MS-DOS prompt or command promptR IP address: 10.97.14.20
Ethernet
: 10.97.14.10 : 10.97.14.254
: 10.97.14.11 : 10.97.14.254
: 10.97.15.10 : 10.97.15.254
• Utility menu of the GOT (Refer to Section 4.1.) Set the IP address of the GOT itself on each GOT.
• GT Designer2 (Refer to Section 6.2.) <FTP server setting>
Set the login name and password used for connection of the line of the personal computer and GOT.
Mail send function
<System configuration example>
Router
GOT IP address Router address GOT IP address Router address
GOT IP address Router address
IP:
10.97.15.254 IP:
10.97.14.254 Intranet mail server
Personal computer
Cellular phone Internet
IP address: 10.97.14.20
Ethernet
: 10.97.14.10 : 10.97.14.254
: 10.97.14.11 : 10.97.14.254
: 10.97.15.10 : 10.97.15.254
• Utility menu of the GOT (Refer to Section 4.1.)
Set the IP address and mail sending of the GOT itself on each GOT.
• GT Designer2 (Refer to Section 7.2.) <Mail send setting>
Specify the mail server and set the mail address and others of the send destination.
4
4.1 GOT Setting
Perform the GOT setting in the setup of the utility menu.
Installing the gateway option driver into the GOT or fitting the A9GT-J71E71-T to the GOT displays the following menu. Make the necessary settings.
The settings to be made change depending on the gateway functions used.
Refer to the following manual for the way to operate the utility menu.
GOT-A900 Series Operating Manual (Extended • Option Functions Manual)
: Setting required : Setting required depending on condition : Setting not required (no problem will arise if setting is made)
Setting Item Description Factory Setting Server
Function
Client Function
FTP Server Function
Mail Send Function GOT NET NO. Set the network No. of the GOT. 1
GOT PC NO. Set the station number of the GOT. 1 GOT IP ADDRESS 1 Set the IP address of the GOT. 000.000.000.000 GOT PORT NO. Set the port No. of the GOT. 5001 ROUTER
ADDRESS 2
When the system is connected to the other network by a router, set the router address of the network where the GOT is connected.
000.000.000.000
SUBNET MASK 2
When the GOT is connected to the Ethernet network under control of the subnet, set the subnet mask set commonly to the networks.
When the subnet is not used, the default value is used for operation.
255.255.255.000
SEND MESSAGE WAIT
Set the send message wait to reduce the loads
of the network and target PLC. 0 3
SEND MESSAGE
TIME Set the message time. 3 4
START UP TIME Set when to start communication (in seconds)
after power-on of the GOT. 3
1 Set the IP address after consulting the network manager (person who does network planning, IP address management, etc.).
2 Before setting the values, have them checked by the network manager.
3 When sending multiple mails, set the time interval from when one mail is sent until the next mail is sent.
4 The send message time for connection with the SMTP server at the start of mail sending has been set to 1 minute (fixed).
4.2 GT Designer2 Setting
Set the gateway functions in the gateway setting of GT Designer2.
For the settings, refer to the setting methods of the corresponding functions.
• When using the server and client functions Section 5.3 Setting Method
• When using the FTP server function Section 6.2 Setting Method
• When using the mail send function
Section 7.2 Setting Method
5. SERVER AND CLIENT FUNCTIONS
This chapter explains the server and client functions.
5.1 Gateway Devices
5.1.1 What are the gateway devices?
The gateway devices are virtual devices designed exclusively to perform the server and client functions on the GOT, and the PLC CPU devices and GOT's internal devices are assigned to the gateway devices for use.
When accessing the PLC from the personal computer via the GOT
Accessing the gateway devices of the GOTs (server function) from the personal computer enables indirect access to the PLC CPU devices.
Personal computer Use MX Component
Version 3 or later. Mitsubishi PLC
D100 Omron PLC
TIM50
GOT (server function) GOT (server function)
Mitsubishi PLC Omron PLC
Ethernet Access to gateway devices
250
330
Gateway device EG0
Assignment definition EG0=D100
D100 : 250 TIM50 : 330
Gateway device EG0
Assignment definition EG0=TIM50
Refer to the following for the devices required for the GOT.
Section 2.3 Required Devices
5
When monitoring the PLC of different maker from one GOT
Accessing the gateway device of the GOT (server function) from the GOT (client function) enables indirect access to the PLC CPU device.
Mitsubishi PLC D100 Omron PLC
TIM50
GOT (client function) GOT (server function)
Mitsubishi PLC Omron PLC
Access to gateway device
Access to PLC 250
330
Gateway device EG0
Assignment definition EG0=TIM50
TIM50 : 330 D100 : 250
5.1.2 Usable gateway devices
The usable gateway devices are indicated below.
Device Name Device Range Device Number
Representation Max. Number of Points
Word device EG EG0 to EG32767 Decimal 32k points
Bit device EG Specified bits of above word devices Decimal
5
5.1.3 How to monitor the gateway devices
When accessing the gateway devices from the personal computer
Using the functions of MX Component (e.g. Microsoft
RExcel), access the gateway devices of the GOTs.
Refer to the following manuals for the operation method and programming procedure of MX Component.
• MX Component Version3 Operating Manual
• MX Component Version3 Programming Manual
The following functions of MX Component are compatible with the GOT.
Item Description
Open Opens the communication line (starts communication with the GOT).
Close Closes the communication line (ends communication with the GOT).
ReadDeviceBlock
ReadDeviceBlock2 Batch-reads data from devices.
WriteDeviceBlock
WriteDeviceBlock2 Batch-writes data to devices.
ReadDeviceRandom
ReadDeviceRandom2 Randomly reads data from devices.
WriteDeviceRandom
WriteDeviceRandom2 Randomly writes data to devices.
EntryDeviceStatus Registers device status watching.
FreeDeviceStatus Cancels registering device status watching.
OnDeviceStatus Announces event.
SetDevice
SetDevice2 Changes the device data values.
GetDevice
GetDevice2 Gets the device data values.
GetCpuType Gets the GOT model.
When accessing the gateway device from the GOT
The gateway devices cannot be assigned to the object functions.
Hence, the script function is used to monitor them.
The following explains the setting example for access to the gateway device from the GOT.
(1) When reading the gateway device value
Using the script function, read the gateway device value of the GOT (server function) to the internal device of the GOT (client function).
By monitoring the value read to the internal device using the numerical display function or like, the GOT (client function) can monitor the same value as the gateway device value of the GOT (server function).
Mitsubishi PLC D100 Omron PLC
TIM50
GOT (client function) GOT (server function)
Mitsubishi PLC Omron PLC
EG0 value is read to GD100 by script function.
Script function Client setting
Numerical display 1 (for Mitsubishi) Numerical display 2
(for GOT internal device)
Server setting 250
330
TIM50 : 330 Gateway device EG0
Assignment definition EG0=TIM50 GOT internal device
GD100 : 330
D100 : 250
Ethernet
*The read destination of the script function can be set to the device of the Mitsubishi Electric PLC.
(a) Setting items of the GOT (client function)
• Script function ...Make setting to read the gateway device value of the GOT (server function) to the internal device of the GOT (client function).
• Client setting ...Register the GOT of the server function whose device value will be read.
• Numerical display 1 function....Make setting to display the device value of the Mitsubishi Electric PLC.
• Numerical display 2 function....Make setting to display the internal device value of the GOT (client function).
(b) Setting item of the GOT (server function)
• Server setting...Make setting to assign the device of the Omron PLC to
the gateway device.
(2) When writing a value to the gateway device
Using the numerical input function or like, write a value to the gateway device of the GOT (client function).
Using the script function, write the internal device value of the GOT (client function) the gateway device of the GOT (server function).
TIM50 Mitsubishi PLC
D100 Omron PLC
GOT (client function) GOT (server function)
Mitsubishi PLC Omron PLC
GD100 value is written to EG0 by script function.
Script function Client setting
Numerical display 1 (for Mitsubishi) Numerical display 2
(for GOT internal device)
Server setting 250
520
GOT internal device GD100 : 520
D100 : 250 TIM50 : 520
Gateway device EG0
Assignment definition EG0=TIM50
Ethernet
*The write destination of the script function can be set to the GOT internal device of the sever function.
(a) Setting items of the GOT (client function)
• Script function ...Make setting to write the internal device value of the GOT (client function) to the gateway device of the GOT (server function).
• Client setting ...Register the GOT of the server function where the value will be written.
• Numerical input 1 function ...Make setting to input a value to the device of the Mitsubishi Electric PLC.
• Numerical input 2 function ...Make setting to input a value to the internal device of the GOT (client function).
(b) Setting item of the GOT (server function)
• Server setting...Make setting to assign the device of the Omron PLC to the gateway device.
Point About details of the script function
Refer to the following manual for details of the script function.
GT Designer2 Version2 Reference Manual
For the examples using the script function, refer to Section 5.4 of this manual.
5.1.4 PLC devices that can be assigned
PLC devices that can be assigned
The PLC PCU devices that can be monitored by the GOT and the GOT internal devices can be assigned to the gateway devices.
Refer to the following manual for the devices that can be monitored by the GOT.
GT Designer2 Version2 Reference Manual
Precautions for monitoring the gateway devices
When the following PLC CPU devices are assigned to the gateway devices, they cannot be monitored depending on the used script function commands or MX Component functions.
The restricted commands/functions are indicated on a PLC CPU basis.
: No restrictions : Some devices cannot be used (unusable device names are indicated in parentheses) Restricted Script Function Commands Restricted MX Component Functions
Maker Name bmov, fmov Word device- Bit device- ReadDevice
ReadDeviceRandom WriteDeviceRandom instruction specified specified Block Word device-
specified
Bit device- specified Q/QnA/A/FX
CPU, motion controller A series
(TT, TC, CT, CC) (Z, BM) (TT, TC, CT, CC) (Z, BM) Mitsubishi
Electric
Motion controller Q series
Allen-Bradley PLC (TT, TN, CU, CD, CN, TP, TA, CP, CA)
(TT, TN, CU, CD, CN)
(TT, TN, CU, CD, CN, TP, TA, CP, CA)
(TT, TN, CU, CD, CN)
Omron PLC Sharp PLC
(T, C) (T, C) (T, C) (T, C)
Yaskawa PLC Toshiba PLC
(Z, T, C) (Z, T, C)
Hitachi PLC
(TD, SS, WDT, MS, TMR, CU, RCU, CT, R, DIF, DFN)
(TD, SS, WDT, MS, TMR, CU, RCU, CT, R, DIF, DFN)
Matsushita Electric
Works PLC (T, C) (T, C)
SIEMENS PLC
(Example) When the bmov instruction is used with the script function The gateway device to which TT (Allen-Bradley PLC device) has been assigned cannot be monitored.
1 The devices not indicated in the above table can be
Device TT is assigned to gateway device.
EG0=T4:0/14(TT) Script function
bmov instruction
Remark Restricted script function commands
There are restrictions on the following script function commands.
Refer to the following manual for details of the commands.
GT Designer2 Version2 Reference Manual
• Word device-specified command names
Item Description
Function
Applied arithmetic operation
sin, cos, tan, asin, acos, atan, abs, log, log10, exp, ldexp, sqrt
• Bit device-specified command names
Item Description
Bit device &, |, ~, ^, <<, >>
Substitution = Operator
Device operation set, rst, alt
5.2 Specifications
5.2.1 Specifications
The specifications of the server and client functions are given below.
Item Specifications Setting Method
Server function 5011 Port number
Client function 5012, 5013 Fixed
Max. number of nodes
Recommended: Max. 64 units
(GOT (server function) + GOT (client function) + personal computer that communicates with GOTs = 64 units)
Number of clients (GOT, personal computer) that can access servers (GOTs) simultaneously
Max. 5 units 1
Other node designation IP address designation, max. 128 units
Gateway device 32k points of word devices: EG0 to 32767 GT Designer2
Compatible MX Component MX Component Version 3 (SW3D5C-ACT(-A)) or later Server function 20 + 20 number of assigned gateway device points Memory space
used by GOT
(bytes) Client function 16 + 20 preset number of GOTs of server function
GT Designer2
1 If six or more clients (GOT, personal computer) make simultaneous access to the servers (GOTs), the scripts of the clients may stop.
5.2.2 Access range that can be monitored
The access range of the server and client functions is shown below.
When the PLC CPU is monitored via the GOT, only the PLC CPU device set to the gateway device of the GOT can be accessed.
• The device of the PLC CPU as the network destination can be monitored when it is assigned to the gateway device of the GOT connected.
• The GOT cannot monitor the PLC CPU of Ethernet connection.
Personal computer (MX Component)
GOT 1) GOT 2) PLC 1)
MELSECNET or like PLC 2)
PLC 3)
PLC 4)
PLC 5) PLC 6)
Bus connection
RS-232C/RS-422 communication Bus connection
RS-232C/RS-422 communication
Ethernet
Monitor Destination
Monitor Source
Personal computer
GOT 1) (Server)
GOT 2)
(Server) PLC 1) PLC 2) PLC 3) PLC 4) PLC 5) PLC 6)
Personal computer 1) 1) 1) 1) 2)
GOT 1) (client) 2)
GOT 2) (client) 1) 1) 1) 1)
: Can monitor the gateway device : Can monitor the PLC CPU device.
1) : Can monitor the PLC CPU device assigned to the gateway device of the GOT 1).
2) : Can monitor the PLC CPU device assigned to the gateway device of the GOT 2).
: Cannot monitor.
5.3 Setting Method
Server setting
In the server setting, set the gateway device to be used by the GOT of the server function and the PLC CPU device to be assigned to that gateway device.
(1) Server function setting method (a) Operation procedure
When either of the following operations is performed, the Gateway server dialog box is displayed.
• Choose the [Common] [Gateway] [Server] menu.
• Double-click (Gateway Server) in the workspace.
(b) Gateway server dialog box
Item Description
Assignment setting list Set the gateway devices used for the GOT of the server function and the PLC CPU devices to be assigned to those gateway devices.
EG Device Set the gateway device to which the PLC CPU device will be assigned.
Type Select the type of the device to be assigned.
PLC Device
Set the N/W number, PLC station number, CPU number and device of the PLC CPU to be assigned to the gateway device.
Refer to the following for the device setting method.
GT Designer2 Version2 Reference Manual
Points Register the consecutive device points in "Points" for the device type already set.
OK Used to confirm the settings and close the dialog box.
Cancel Used to cancel the settings and close the dialog box.
Add Used to add new assignment settings.
Click this switch to display the EG Device setting dialog box, and make settings.
Delete After selecting the setting, click this switch to delete the setting.
Delete All Used to delete all settings.
Check Used to check whether the settings are correct or not.
If any setting is incorrect, the error message is displayed.
(2) Precautions for device assignment
A gateway device is set on a two point basis.
Hence, the number of assigned points changes depending on the set device type.
(a) Assignment of bit device (1-bit device) It is assigned on a 32 point basis.
(Example) When M0 is assigned to EG0
(b) Assignment of word device (16-bit device) It is assigned on a 2 point basis.
(Example) When D0 (16 bits) is assigned to EG0
EG0 M15 to M0 EG0 D0
EG1 M31 to M16 EG1 D1
(c) Assignment of word device (32-bit device) It is assigned on a 1 point basis.
(Example) When CN200 (32 bits) is assigned to EG0
(d) Assignment of 8-bit device It is assigned on a 4 point basis.
(Example) When E0000 is assigned to EG0
EG0 CN200 (lower bits) EG0 E0001 E0000
EG1 CN200 (upper bits) EG1 E0003 E0002
Client setting
In the client setting, register the N/W No., PLC No. and IP address of the GOT of the server function to be monitored by the GOT of the client function.
(1) Client function setting method (a) Operation procedure
When either of the following operations is performed, the Gateway client dialog box is displayed.
• Choose the [Common] [Gateway] [Client] menu.
• Double-click (Gateway Client) in the workspace.
(b) Gateway client dialog box
Item Description
Server function GOT list Set the N/W numbers, PLC numbers, types, etc. of the GOTs of the server function to be monitored by the GOT of the client function.
N/W No. Register the network No. of the corresponding GOT.
PLC No. Register the PLC No. (station number) of the corresponding GOT.
Type Fixed to GOT.
IP address Register the IP address of the corresponding GOT.
Port No. Fixed to 5011.
Communication Fixed to UDP.
OK Used to confirm the settings and close the dialog box.
Cancel Used to cancel the settings and close the dialog box.
Add Used to add a new GOT of the server function.
Click this switch to add the GOT of the server function, and make settings.
Delete After selecting the settings, click this switch to delete the settings.
Delete All Used to delete all settings.
Copy After selecting the settings, click this switch to copy the settings.
5.4 Examples of Use
The following gives the examples of using the sever and client functions.
Making access to the PLC from the personal computer via the GOT
The device values of EG0 to EG5 of the GOT 1) (server function) are displayed on MX Component.
GOT utility menu GOT NET No.
GOT PC No.
GOT IP address
MX Component
EG0:150 EG1:480 EG2:230 EG3:370 EG4: 80 EG5: 25 EG devices (EG0 to EG5) of GOT 1) are monitored.
PLC devices (D10 to D15) are monitored.
D10:150 D11:480 D12:230 D13:370 D14: 80 D15: 25 GOT 1)
PLC
Ethernet
Bus connection RS-422 communication RS-232C communication
Device batch-read function is issued to GOT to monitor EG0 to EG5 devices of GOT.
D10:150 D11:480 D12:230 D13:370 D14: 80 D15: 25 PLC device values
EG device Device Points GT Designer2 Gateway server setting
EG0 D10 6
: 1 : 2 : 10.97.14.2
(1) GOT 1) setting example (a) Server setting
EG Device Device Type Points
EG D10 Word 6
(b) Numerical display function
Item Description
Device D10 to D15
Network Host
(2) Personal computer setting
Set the personal computer in the environment where Ethernet can be used.
Displaying on the client GOT the alarms that occurred on multiple PLCs
The device values of the PLC 2) and PLC 3) are transferred to the internal devices (GD100 to GD147) of the GOT 1)
The GOT 1) monitors its own internal devices, and if an alarm occurs on the PLC 2) or PLC 3), displays the occurrence information.
GOT utility menu GOT NET No.
GOT PC No.
IP address
GOT 3)
PLC 3)
GT Designer2 server setting EG device Device Points
EG0 0-FF ..300 256
PLC 2) GOT utility menu
GOT NET No.
GOT PC No.
IP address
GOT 2)
GT Designer2 server setting EG device Device Points
EG0 0-FF IB200 512
GD100 to 131 GD132 to 147 GOT internal devices Transferred by script 1)
(5 second sampling)
Transferred by script 2) (5 second sampling) GOT utility menu
GOT NET No.
GOT PC No.
IP address
GOT 1)
GT Designer2 client setting NET No. PLC No. IP Address
1 2 10.97.14.2
1 3 10.97.14.3
PLC 1)
: 1 : 2 : 10.97.14.2
:1 :1
: 10.97.14.1
: 1 : 3 : 10.97.14.3
Ethernet
(1) GOT 1) setting example (a) Client setting
NET No PLC No IP Address
1 2 10.97.14.2 1 3 10.97.14.3
(b) Alarm history display function (for GOT 2) alarm display)
Item Description
Number of device points 512 points (consecutive)
Device GD100.b0
(c) Alarm history display function (for GOT 3) alarm display)
Item Description
Number of device points 256 points (consecutive)
(d) Script function (for GOT 2) alarm display)
Item Description
Type Screen script
Trigger type Sampling, 5 Sec.
Data format Unsigned BIN 16-bit Script 1)
Script description
bmov([1-2:w:EG0],[w:GD100],32);
//Transfers the data of 32 points, starting from EG0, of GOT 2) to GD100 and later of GOT 1).
(e) Script function (for GOT 3) alarm display)
Item Description
Type Screen script
Trigger type Sampling, 5 Sec.
Data format Unsigned BIN 16-bit Script 2)
Script description
bmov([1-3:w:EG0],[w:GD132],16);
//Transfers the data of 16 points, starting from EG0, of GOT 3) to GD132 and later of GOT 1).
(2) GOT 2) setting example (a) Server setting
EG Device Device Type Points
EG0 IB200 Bit 512
(3) GOT 3) setting example (a) Server setting
EG Device Device Type Points
EG0 ..300 Bit 256
Point About the trigger type
When using the script function, do not set the trigger type as [Ordinary] or [Sampling, 2 Sec.].
Doing so may affect the other monitor operations.
Monitoring and controlling the production conditions of multiple PLCs with the server GOT
The device values of the PLC 2) and PLC 3) are transferred to the EG devices of the GOT 1) (devices of the PLC 1)).
When values are written to the PLC 1), the EG devices of the GOT 1) (internal devices (GB100, GB101) of the GOT 1)) turn ON. (Check completion of write using the lamp display function or like.) The GOT 1) monitors the devices of the PLC 1) to check the production conditions of the PLC 2) and PLC 3).
EG0.b0/EG1.b1 turn ON at completion of write.
PLC 1)
GOT internal devices GB128
GB129 EG0.b0
EG0.b1
EG2 233
EG3 523
D100 233
D101 523
PLC 1) devices
OFF ON OFF ON
OFF ON OFF ON
GOT 1)
GOT utility menu GOT NET No.
GOT PC No.
IP address
GT Designer2 server setting EG device Device Points
EG0 GB128 32
EG2 D100 2
: 1 : 1 : 10.97.14.1
Ethernet
GOT utility menu GOT NET No.
GOT PC No.
IP address
PLC 2) GOT 2)
GT Designer2 client setting N/W No. PLC No. IP Address
1 1 10.97.14.1
When the bit device that indicates production completion turns ON, HR200 value (233) is transferred to EG2 by script 1).
HR200 233 PLC 2) device
: 1 : 2 : 10.97.14.2
Bit device that indicates Production completion:
OFF ON
GOT utility menu GOT NET No.
GOT PC No.
IP address GOT 3)
GT Designer2 client setting N/W No. PLC No. IP Address
1 1 10.97.14.1
PLC 3)
When the bit device that indicates production completion turns ON, W200 value (523) is transferred to EG3 by script 2).
W200 523 PLC 3) device
: 1 : 3 : 10.97.14.3
Bit device that indicates Production completion:
OFF ON
(1) GOT 1) setting example (a) Server setting
EG Device Device Type Points
EG0 GB128 Bit 32
EG2 D100 Word 2
(b) Numerical display function
Item Description
Device D100 to D101
Network Host
(c) Lamp display function (set two)
Item Description
Device GB100 to GB101
Network Host
(2) GOT 2) setting example (a) Client setting
NET No PLC No IP Address
1 1 10.97.14.1
(b) Script function
Item Description
Type Screen script
Trigger type While ON, bit device that indicates production completion Data format Unsigned BIN 16-bit
Script 1)
Script description
[1-1:w:EG2]=[w:HR200]; //Writes the production count to the PLC 1).
set ([1-1:b:EG0.00]); //Turns ON the write completion signal.
(3) GOT 3) setting example (a) Client setting
NET No PLC No IP Address
1 1 10.97.14.1
(b) Script function
Item Description
Type Screen script
Trigger type While ON, bit device that indicates production completion Data format Unsigned BIN 16-bit
Script 2)
Script description
[1-1:w:EG3]=[w:W200]; //Writes the production count to the PLC 1.
set ([1-1:b:EG0.01]); //Turns ON the write completion signal.
5.5 Precautions
This section provides the precautions for using the server and client functions.
Precautions for assigning the devices in the gateway setting
(1) The gateway devices are set as at least two points, and set on a two point basis thereafter.
(2) When a bit device is assigned, 32 points are set, starting from the set device.
(3) When a device was not assigned, the unassigned area (empty area) is on a word basis.
(4) The network number and PLC station number must be set to assign the MELSEC-A/QnA/Q series PLC CPU devices.
(5) The CPU number must be set to assign the CPU of the multiple PLC system.
(6) If station No. is changed while monitoring the gateway device to which PLC CPU device has been assigned,the monitored device is irrelevant to the station No. change.
Example) When station No. is changed on the GOT (server)
GD100(D100) D100 250
GOT(Client function) GOT(Server function)
Use the script function to read EGO to the GOT internal device.
Ethernet
D100:250 GOT internal devices
GD100:250
D100:100 D100:200
D100:150 200
Station No.0 (00FF)
Station No.1 (0101)
Station No.2 Station
No.3
If station No. is changed on the GOT (server), the station No. change is irrelevant to the GOT (client) that monitors D100 assigned to the gateway device.
As D100 has not been assigned to the gateway device on the GOT (server), station No. change is executed.
Station number switching device
D50 00FF 0101
Station No. is changed
Monitoring D100 in the numeric display
Monitoring Station No.1 Gateway device
EG0 Assignment definition EG0=D100
Precautions for setting the script function
(1) When setting the script function, do not set the trigger type to [Ordinary] or [Sampling, within 2 seconds].
Doing so may affect the other monitor operations.
(2) The script function cannot be used to monitor the gateway devices of the GOT itself.
When monitoring the PLC devices assigned to the gateway devices, monitor the PLC devices directly.
Precautions for using GT Simulator for debugging
(1) GT Simulator cannot debug the gateway functions.
An error will occur if the gateway device is monitored or data is written to the gateway device.
Precautions for monitoring
(1) If the GOT monitors devices by transient communication via the network, the monitor speed will decrease.
To increase the monitor speed, use link devices.
(2) If the gateway device of the GOT of the server function is monitored in a status where the server and client functions cannot be used , an error occurs and the script stops.
While power is off, when the ROM_BIOS version of the GOT is incompatible, or when the memory board is not fitted, for example.
(3) The gateway device, to which the PLC device has not been assigned, is monitored as 0 (OFF for bit).
When write is executed, the written value is invalid.
(4) If the screen save of the GOT is canceled (by a screen touch or the human sensor) during execution of the script that uses the gateway devices, it may take some time to cancel.
When the execution of automatic screen save has been specified, it may take more time than the specified.
(For example, when the script processing time is 2 seconds, the screen save is canceled in a
maximum of 2 seconds after the screen is touched.)
5.6 For Efficient Use
This section explains the points for efficient use of the server and client functions.
Script function setting
When the gateway devices are used directly to execute a program, the number of times to access the other GOT increases, slowing the processing.
By performing batch read from the GOT internal devices and performing batch write after execution of the processing as shown in the following (1), the number of access times can be decreased, improving the processing speed.
(1) When performing batch read from GOT internal devices (GD) and performing batch write after processing
Access to the other station GOT occurs twice (1), 3)).
When one time of access requires 50ms, the necessary processing time is about 100ms.
Script description example 1) bmov([1-2:w:EG0], [w:GD100],10);
2)
[w:D200]=[w:GD100];
[w:D201]=[w:GD101];
[w:D202]=[w:GD102];
[w:D203]=[w:GD103];
[w:D204]=[w:GD104];
[w:GD105]=128;
[w:GD106]=[w:D106];
[w:D205]=[w:GD107];
[w:D206]=[w:GD108];
[w:GD109]=5433;
Server Client
EG0 to EG9
1)
3)
2) Processing GD100 to GD109
3) bmov([w:GD100], [1-2:w:EG0],10);
(2) When using gateway devices directly
Access to the other station GOT occurs 10 times (1) to 10)).
When one time of access requires 50ms, the necessary processing time is about 500ms.
Script description example 1) [w:D200]=[1-2:w:EG0];
2) [w:D201]=[1-2:w:EG1];
3) [w:D202]=[1-2:w:EG2];
4) [w:D203]=[1-2:w:EG3];
5) [w:D204]=[1-2:w:EG4];
6) [1-2:w:EG5]=128;
7) [1-2:w:EG6]=[w:D106];
8) [w:D205]=[1-2:w:EG7];
9) [w:D206]=[1-2:w:EG8];
Server Client
EG0 to EG9
1),2),3) 8),9),10)
D200 to D206 D106
10) [1-2:w:EG9]=5433;
Point About the written values
In the above (1), the gateway devices are batch-accessed when the script execution
condition is established. Therefore, the gateway device values available when the
Gateway device setting
When assigning the PLC devices to the gateway devices, set the same type of devices of the same PLC together where possible.
By setting the same devices of the same PLC together as in the following (1), the number of access times can be reduced, improving the processing speed.
(1) Devices of host, other station and other PLC are set together
When the GOT of the client function accesses the host devices of the GOT of the server function, access can be made with the program that reads 50 points starting from EG0 (1)).
Script description example 1) bmov([W:GD100], [1-2:w:EG0],50);
(2) Devices of host, other station and other PLC are set not together
When the GOT of the client function accesses the host devices of the GOT of the server function, access requires the program that reads 40 points starting from EG0 (1)) and the program that reads 10 points starting from EG130 (2)).
Script description example 1) bmov([W:GD100], [1-2:w:EG0], 40);
2) bmov([w:GD140], [1-2:w:EG130], 10);