LSIS XGL-EFMT, XGL-EFMF, XGL-EFMTB, XGL-EH5T, XGL-EFMFB User Manual

Right choice for ultimate yield
LSIS strives to maximize customers' profit in gratitude of choosing us for your partner.
Programmable Logic C ontroller
User’s Manual
Read this manual carefully before
installing,
wiring, operating, servicing
or inspecting this equipment.
Keep this manual within easy reach
for quick reference.
XGL-EFMT
(B)
XGL-EFMF
(B)
XGL-EH5T
XGT Series
http://eng.lsis.biz
Safety Instructions
Before using the product …
For your safety and effective operation, please read the safety instructions thoroughly before using the product. Safety Instructions should always be observed in order to prevent accident or risk with the safe and proper use the product.
Instructions are divided into “Warning” and “Caution”, and the meaning of the terms is as follows.
This symbol indicates the possibility of serious injury or death if some applicable instruction is violated
This symbol indicates the possibility of severe or
slight injury, and property damages if some
applicable instruction is violated
Moreover, even classified events under its caution category may develop into serious accidents relying on situations. Therefore we strongly advise users
to observe all precautions properly just like warnings.
The marks displayed on the product and in the user’s manual have the following meanings.
Be careful! Danger may be expected. Be careful! Electric shock may occur.
The user’s manual even after read shall be kept available and accessible to any user of the product.
Warning
Caution
Safety Instructions
Safety Instruct ions for design process
1. Please install a protection circuit on the exterior of PLC so that the
whole system may operate safely regardless of failures from external power or PLC. Any abnormal output or operation from PLC
may cause serious problems to safety in whole system.
(1) Install protection units on the exterior of PLC like an interlock circuit
that deals with opposite operations such as
emergency stop,
protection circuit, and forward/reverse rotation or install an interlock circuit that deals with high/low limit under its position controls.
(2) If any system error (watch-dog timer error, module installation error,
etc.) is detected during CPU operation in PLC, all output signals are designed to be turned off and stopped for safety. However, there are cases when output signals remain active due to device failures in Relay and TR which can’t be detected
. Thus, you are
recommended to install an addition circuit to monitor the output status for those critical outputs which may cause significant problems.
2. Never overload more than rated current of output module nor allow to have a short circuit. Over current for a long period time may cause a fire .
3. Never let the external power of the output circuit to be on earlier than PLC power, which may cause accidents from abnormal output or operation.
4.
Please install interlock circuits in the sequence program for safe
operations in the system when exchange data with PLC or modify operation modes using a computer or other external equipments
Read specific instructions thoroughly when conducting control
operations with PLC.
Warning
Safety Instructions
Safety Instruct ions for design process
Safety Instruct ions on installation process
I/O signal or communication line shall be wired at least 100mm
away from a high-voltage cable or power line. Fail to follow this
instruction may caus e mal funct ions from noise
Caution
1. Use PLC only in the environment specified in PLC manual or
general standard of data sheet.
If not, electric shock, fire,
abnormal operation of the product may be caused.
2. Before install or remove the module, be sure PLC power is off. If not, electric shock or damage on the product may be caused.
3. Be sure that every module is securely attac hed after adding a module or an extension connector.
If the product is installed
loosely or incorrectly, abnormal operation, error or dropping may be caused.
In addition, contact failures under poor cable
installation will be causing malfunctions as well.
4. Be sure that screws get tighten securely under vibrating
environments.
Fail to do so will put the product under direct
vibrations which will cause electric shock, fire and abnormal operation.
5. Do not come in contact with conducting parts i n eac h module, which may cause electric shock, malfunctions
or abnormal
operation.
Caution
Safety Instructions
Safety Instruct ions for wiring process
1. Prior to wiring w orks, mak e sure that every power is turned off. If not, electric shock or damage on the product may be caused.
2.
After wiring process is done, make sure that terminal covers
are installed properly before its use. Fail to install the cover may
cause electric shocks.
Warning
1. Check rated voltages
and terminal arrangements in each
product prior to its wiring process.
Applying incorrect voltages
other than rated voltages and misarrange
ment among terminals
may cause fire or malfunctions.
2. Secure terminal screws tightly applying with specified torque. If the screws get loose, short circuit, fire or abnormal operation may be caused.
Securing screws too tightly will cause damages to the
module or malfunctions, short circuit, and dropping.
3. Be sure to earth to the ground using Class 3 wires for FG terminals w hich is exclusively used for PLC. If the terminals not grounded correctly, abnormal operation or electric shock may be caused.
4. Don’t let any foreign materials such as wiring waste inside the module while wiring,
which may cause fire, damage on the
product or abnormal operation.
5. Make sure that pressed terminals get ti
ghten following the
specified torque. External connector type shall be pressed or
soldered using proper equipments.
Caution
Safety Instructions
Safety Instruct ions for test-operation and maintenance
1. Don’t touch the terminal when powered
. Electric shock or
abnormal operation may occur .
2. Prior to cleaning or tightening the terminal screws, let all the
external power off including PLC power. If not, electric shock or abnormal operation may occur .
3. Don’t let the battery recharged, disassembled, heated, short or
soldered. Heat, explosion or ignition may cause injuries or fire.
Warning
1. Do not make modifications or disassemble each module. Fire, electric shock or abnormal operation may occur.
2. Prior to installing or disassemb
ling the module, let all the
external powe r off including PLC power. If not, electric shock or
abnormal operation m ay occur .
3. Keep any wireless equipment such as walkie-talkie or cell phones at least 30cm away from PLC. If not, abnormal operation may be caused.
4. When making a modification
on programs or using run to
modify functions under PLC operations, read and comprehend all contents in the manual fully. Mism
anagement will cause
damages to products and accidents.
5. Avoid any physical impact to the battery and prevent it from
dropping as well. Damages to battery may cause leakage from its
fluid. When battery was dropped or exposed under strong impact,
never reuse the battery again. Moreover skilled workers are needed when exchanging batteries.
Caution
Safety Instructions
Safety Instructions for waste disposal
Product or battery waste shall be processed as industrial waste.
The waste may discharge toxic materials or explode itself.
Caution
Revision History
2
Revision History
Version Date Remark Page
V1.0
2005.03
First Edition -
V1.1
2005.05
Adding the function description -
V1.2 2005.09
Adding module detachment and how to change Setting PLC type at XG-PD Adding appendix (CPU memory device)
CH3.8 CH5.2 APPENDIX-
V1.3
2005.11
Fixing figure and adding contents -
V1.4
2005.11
Fixing figure and contents -
V1.5 2008.07
1. Adding models
-adding XGI/XGR redundant system
-adding switch module (XGL-EH5T)
2. Adding E-mail service
3. Adding error code table
4. Adding CH 11 Compliance with EMC Specifications
5. Fixing headquarter address
CH1.3.2
CH7.6 CH10.4 CH11
Back cover-
V1.6 2009.09
1. Modifying Overview
2. Adding CPU
3. Adding contents on standard setting (One IP Solution, DHCP)
CH1.2.1 CH1.3.2 CH5.3
V1.7 2011.05
1. How to enable link through flag added
2. Write_NC, Send_NC” instruction added
CH5.5.2 CH7.2.1
V1.8 2013.10
1. Adding Communication load specifications
2. Changing Modbus server offset area
CH2.2.3 CH8.3.1
V1.9 2014.03
1. Changing Communication load specifications
2. Adding info-U, iXP
3. Adding XGR HS Link
4. Adding XGT Dedicated Communication’s Header
5. Adding XGT Dedicated Communication’s error Code
6. Adding High Performance XGT
7. Changing error code table
CH2.2.3 CH4 CH6.6~6.7 CH8.1.2 CH8 CH9.2.3 CH10.4
V 2.0
2014.11
XG5000 V4.0 UI Update
-
V2.1
2016.10
XGL-EFMTB, XGL-EFMFB contents added
-
The number of User’s manual is indicated right part of the back cover.
Copyright ⓒ 2014 LSIS Co., Ltd All Rights Reserved.
About User’s Manual
1
Congratulations on purchasing PLC of LSIS Co.,Ltd. Before use, m ake s ur e to c aref u l l y rea d an d u nd er s tand the Us er’s Manual about the functions, perform ances , install atio n and programming of the product you purchased in order for correct use and importantly, let the end user and maintenance administrator to be provided with the User’s Man ual.
The User ’s Manual describes the product. If necessary, you may refer to the following description and order accordingly. In addition, you may conne ct our websi te (http://www.lsis.com/
) and download the information as a PDF file.
Relevant User’s Manuals
Title Description
XG5000 User’s Manual
XG5000 software user manual describing online function such as programming, print, m onitoring, deb ugging by using XG K, XGB
CPU
XG5000 User’s Manual (for XGI, XGR)
XG5000 software us er manual describing o nline function such
as programming, print, monitoring, debugging by using XGI,
XGR CPU
XGK/XGB Instructions & Programming
User’s Manual
User’s manual for programming
to explain how to use
instructions that are used PLC system with XGK, XGB CPU.
XGI/XGR Instructions & Programming User’s Manual
User’s manual for programming
to explain how to use
instructions that are used PLC system with XGI, XGR CPU.
XGK CPU User’s Manual (XGK-CPUU/CPUH/CPUA/CPUS/CPUE/ CPUSN/CPUHN/CPUUN)
XGK-CPUU/CPUH/CPUA/CPUS/CPUE/CPUSN/CPUHN/ CPUUN user manual describing about XGK CPU module, power module, base, IO module, specification of extension cable
and system configuration, EMC standard
XGI CPU User’s Manual (XGI-CPUU/D,CPUU,CPUH,CPUS,CPUE, CPUUN)
XGI-CPUU/D,CPUU,CPUH,CPUS,CPUE,CPUUN user manual
describing about XGI CPU module, power module, base, IO module, specification of extension cable and system
configuration, EMC standard
XGR redundant series User’s Manual
XGR- CPUH/F , CPUH/T user manual describing about XGR
CPU module, power module, extension drive, base, IO module, specification of extension cable and system configuration, EMC
standard
Currently user manual of FEnet I/F module is written based on the following version. Related OS version list
Item OS version
XGK-CPUU, CPUH, CPUA, CPUS, CPUE
V4.55
XGI-CPUU/D, CPUU, CP UH, CP US, CPUE
V4.06 XGK-CPUSN, CPUHN, CPUUN V1.05 XGI-CPUUN
V1.12 XGR-CPUH/F, CPUH/T, CPUH/S
V2.72 XG5000
V4.10
Table of Contents
Chapter 1 Overview
1.1 Introduction ----------------------------------------------------------------------------------------------------- 1-1
1.2 Features of FEnet I/F Module -------------------------------------------------------------------------- 1-2
1.2.1 Characteristic of FEnet I/F module --------------------------------------------------------------- 1-2
1.2.2 Characteristic of XGL-EH5F (switch) ------------------------------------------------------------ 1-3
1.3 Product Configuration ---------------------------------------------------------------------- 1-4
1.3.1 Designation --------------------------------------------------------------------------------------------- 1-4
1.3.2 vailable units to be installed on each CPU ----------------------------------------------------- 1-4
1.4 Software for Product Application ---------------------------------------------------------------------- 1-5
1.4.1 Checking software ------------------------------------------------------------------------------------ 1-5
1.4.2 XG5000 -------------------------------------------------------------------------------------------------- 1-7
1.4.3 Version checking -------------------------------------------------------------------------------------- 1-7
Chapter 2 Product Specifications
2.1 General Specifications --------------------------------------------------------------------------------------- 2-1
2.2 Performance Specifications --------------------------------------------------------------------------------- 2-2
2.2.1 XGL-EFMT(B)/EFMF(B) ------------------------------------------------------------------------------------ 2-2
2.2.2 XGL-EH5T ---------------------------------------------------------------------------------------------- 2-2
2.2.3 Specification of Communication load amount ------------------------------------------------- 2-4
2.3 Structure and Characteristics ------------------------------------------------------------------------------- 2-5
2.3.1 Structure of XGL-EFMT(B)/EFMF(B)------------------------------------------------------------------- 2-5
2.3.2 Structure of XGL-EH5T module --------------------------------------------------------------- 2-8
2.4 Cab le Specifications ------------------------------------------------------------------------------------------ 2-9
2.4.1 UTP c able ----------------------------------------------------------------------------------------------- 2-9
2.4.2 Optical cable ------------------------------------------------------------------------------------------- 2-11
Chapter 3 Installation and Operation
3.1 Precautions for Installation ---------------------------------------------------------------------------------- 3-1
3.1.1 Installation ----------------------------------------------------------------------------------------- 3-1
3.1.2 Operation steps--------------------------------------------------------------------------------------- 3-2
3.2 Installation of the Product ----------------------------------------------------------------------------------- 3-3
3.2.1 Installation of XGL-EFMT(B) ------------------------------------------------------------------- 3-3
3.2.2 Installation of XGL-EFMF(B) ----------------------------------------------------------------------- 3-5
3.2.3 Installation of XGL-EH5T ----------------------------------------------------------------------- 3-6
3.3 Operation -------------------------------------------------------------------------------------------------------- 3-8
3.3.1 Precautions for system configuration ----------------------------------------------------------- 3-8
3.3.2 Checklist prior to test operation ------------------------------------------------------------------ 3-8
3.3.3 How to install or remove the module ---------------------------------------------------------- 3-10
Chapter 4 System Configuration
4.1 Configuration of Network System ------------------------------------------------------------------------- 4-1
4.1.1 Ethernet network compos ed of LSIS’ PLCs------------------------------------------------------------ 4-1
4.1.2 Dedicat ed net work com pos ed of LSI S’ PLCs --------------------------------------------------------- 4-2
4.1.3 Combined with Public network and dedicated network system ----------------------------------- 4-2
4.1.4 Ethernet System of Public Network and Dedic ate d Net work -------------------------------------- 4-3
4.1.5 Public network and dedicated network system composed of LSIS’ and other compan y’s PLCs -------------------------------------------------------------------------------- 4-4
4.1.6 System configuration using dedicated Ethernet between HMIs,
PLCs at XGR system ---------------------------------------------------------------------------------------- 4-5
4.1.7 System configuration using dedicated Ethernet between HMIs,
PLCs at XGR system ---------------------------------------------------------------------------------------- 4-6
Chapter 5 XG5000 Program
5.1 Introduction ----------------------------------------------------------------------------------------------------- 5-1
5.2 Basic Settings -------------------------------------------------------------------------------------------------- 5-2
5.2.1 PLC type setting ------------------------------------------------------------------------------------- 5-2
5.2.2 Register of communication module ------------------------------------------------------------- 5-3
5.2.3 Standard settings (Module) ------------------------------------------------------------- 5-8
5.3 High-speed link Settings ------------------------------------------------------------------------------------5-13
5.3.1 Setting of high-speed link parameters -------------------------------------------------------- 5-13
5.3.2 Setting of high-speed link parameters -------------------------------------------------------- 5-18
5.4 P2P Settings -------------------------------------------------------------------------------------------------- 5-19
5.4.1 P2P parameters ------------------------------------------------------------------------------------ 5-19
5.5 Connect and Download to communication Module ------------------------------------------------- 5-21
5.5.1 Download/Upload -------------------------------------------------------------------------------- 5-21
5.5.2 Enable Link ------------------------------------------------------------------------------------------ 5-24
5.6 System Diagnosis ------------------------------------------------------------------------------------------- 5-28
5.6.1 Execution of the diagnosis function ----------------------------------------------------------- 5-28
5.6.2 Type of diagnosis functions --------------------------------------------------------------------- 5-29
Chapter 6 High-speed Link Service
6.1 Introduction ----------------------------------------------------------------------------------------------------- 6-1
6.2 High-speed link Send/Receive Processing ------------------------------------------------------------- 6-2
6.3 Operation Sequence through High-speed link --------------------------------------------------------- 6-3
6.4 High-speed link parameters settings --------------------------------------------------------------------- 6-4
6.4.1 Execution of XG5000 ------------------------------------------------------------------------------- 6-4
6.4.2 Standard settings (Module) ----------------------------------------------------------------------- 6-5
6.4.3 High-speed Link parameters (HsLink) --------------------------------------------------------- 6-6
6.5 High-speed Link Information ------------------------------------------------------------------------------ 6-11
6.5.1 High-speed link flags ------------------------------------------------------------------------------ 6-11
6.5.2 Monitor of High-speed link information ------------------------------------------------------- 6-13
6.6 High Speed Link at Redundant system ------------------------------------------------------------- 6-15
6.6.1 In case of redundant network ------------------------------------------------------------------ 6-15
6.6.2 Monitor of High-speed link information ------------------------------------------------------- 6-17
6.7 High Speed Link at Redundant system ------------------------------------------------------------- 6-18
6.7.1 In case of redundant system ----------------------------------------------------------------- 6-18
6.7.2 In case of single network ------------------------------------------------------- 6-25
Chapter 7 P2P Service
7.1 Introduction ----------------------------------------------------------------------------------------------------- 7-1
7.1.1 Introduction to P2P service ----------------------------------------------------------------------- 7-1
7.1.2 Configuration of P2P parameters ---------------------------------------------------------------- 7-2
7.2 Type of P2P Service ----------------------------------------------------------------------------------------- 7-3
7.2.1 Type of P2P Instructions --------------------------------------------------------------------------- 7-3
7.2.2 Type of P2P Service ------------------------------------------------------------------------------- 7-4
7.3 How to Set P2P Service ------------------------------------------------------------------------------------- 7-5
7.3.1 Ethernet (server) driver ---------------------------------------------------------------------------- 7-5
7.3.2 P2P channel ------------------------------------------------------------------------------------------ 7-6
7.3.3 P2P block -------------------------------------------------------------------------------------------- 7-9
7.3.4 User Defined Frame ----------------------------------------------------------------------------- 7-12
7.4 P2P Service Operation ------------------------------------------------------------------------------------- 7-16
7.5 P2P Diagnosis Function ------------------------------------------------------------------------------------ 7-18
7.6 E-mail service using P2P service --------------------------------------------------------------------- 7-20
7.6.1 E-mail service ---------------------------------------------------------------------------- 7-20
7.7 P2P service at Redundant System ------------------------------------------------------------------- 7-29
Chapter 8 Dedicated Communication
8.1 Dedicated Communication ---------------------------------------------------------------------------------- 8-1
8.1.1 Introduction ------------------------------------------------------------------------------------------- 8-1
8.1.2 Frame structure ------------------------------------------------------------------------------------- 8-2
8.1.3 List of instructions ----------------------------------------------------------------------------------- 8-4
8.1.4 Data type ---------------------------------------------------------------------------------------------- 8-4
8.2 Execution of Commands ---------------------------------------------------------------------------------- 8-5
8.2.1 Read separated direct variable -------------------------------------------------------------- 8-5
8.2.2 Read continuous direct variable ------------------------------------------------------------ 8-8
8.2.3 Write separated direct variable -------------------------------------------------------------- 8-10
8.2.4 Write continuous direct variable ----------------------------------------------------------- 8-12
8.2.5 Status read request (MMI -> PLC) ---------------------------------------------------------- 8-14
8.3 Modbus/TCP Dedicated Server -------------------------------------------------------------------------- 8-19
8.3.1 Driver settings -------------------------------------------------------------------------------------- 8-19
Chapter 9 Remote Connection Service
9.1 Introduction ----------------------------------------------------------------------------------------------------- 9-1
9.2 Setting and Connection -------------------------------------------------------------------------------------- 9-2
9.2.1 Remote 1 connection (If RS-232C cable used) -------------------------------------- 9-3
9.2.2 Remote 2 connection (If RS-232C cable is used for local connection) ---------------- 9-6
9.2.3 Remote 1 connection directly from PC connected with Ethernet --------------- 9-8
9.2.4 Remote 2 connection directly from PC connected with Ethernet --------------- 9-10
Chapter 10 Troubleshooting
10.1 Check thr ough communic atio n m odule LED -------------------------------------------------------- 10-1
10.1.1 Abnormal operation display XGL-EFMT/EFMF ------------------------------------------- 10-1
10.1.2 Abnormal operation disp lay XGL-EFMTB/EFMFB--------------------------------------- 10-2
10.1.3 Abnormal operation display XGL-EH5T ------------------------------------------- 10-4
10.2 Module Check with XG5000 ------------------------------------------------------------------------ 10-5
10.2.1 Error check in XG5000 ------------------------------------------------------------------------- 10-5
10.2.2 Error code ------------------------------------------------------------------------------------------ 10-6
10.3 Module Check through Error Codes ------------------------------------------------------------------- 10-7
10.3.1 Troubleshooting ---------------------------------------------------------------------------------- 10-7
10.4 Error code received from Comm. module ---------------------------------------------------------- 10-9
10.4.1 Error received fr om Comm. m odule --------------------------------------------------------- 10-9
Chapter 11 Compliance with EMC Specifications
11.1 Requ irements Complying with EMC Specifications ----------------------------------------------- 11-1
11.1.1 EMC specifications --------------------------------------------------------------------------- 11-1
11.1.2 Panel --------------------------------------------------------------------------------------- 11-2
11.1.3 Cable -------------------------------------------------------------------------------------- 11-3
11.2 Requir ements Complying with Lo w Voltage Direction -------------------------------------------- 11-4
11.2.1 Specifications applicable to XGT series ---------------------------------------------------- 11-4
11.2.2 Selection of XGT ser ies PLC ------------------------------------------------------------------ 11-4
Appendix
A.1 XGT CPU Memory Device List ---------------------------------------------------------------------------- A-1
A.1.1 Device of XGK CPU ---------------------------------------------------------------------------- A-1 A.1.2 Device of XGI CPU ----------------------------------------------------------------- A-2
A.1.3 Device of XGR CPU ----------------------------------------------------------------- A-2 A.2 Terminology ---------------------------------------------------------------------------- A-3 A.3 List of Flags ---------------------------------------------------------------------------- A-8
A.3.1 List of Special Relays (F) ---------------------------------------------------------------------------- A-8
A.3.2 List of Communication Relays (L)---------------------------------------------------------------- A-16
A.4 ASCII Code Table ------------------------------------------------------------------------------------------- A-22 A.5 Comparison Table of Ethernet Technology ----------------------------------------------------------- A-25 A.6 Ex ternal Dimensions --------------------------------------------------------------------------------------- A-26
Chapter 1 Overview
1-1
Chapter 1 Overview
1.1 Introduction
This user’s manual is prepared to describe Fast Ethernet Interface module of XGT series PLC (hereinafter referred to as FEnet I/F module, 1Gbps). Ethernet is a ‘technical standard' established by the international organization of IEEE. Communication is controlled by CSMA/CD method and network can be established with easy. In addition, a great amount of data can be trans ferred with high speed. FEnet I/F module is an interface m odule to communicate data between higher level system such as host PC and PLC, or between PLCs with electric/optical media (10BASE-T/100BASE-TX/1000BASE-T, 100BASE-FX/1000X).
[Fig. 1.1.1] Configuration diagram of FEnet system
FEnet I/F module has variety applicable comm unication systems. Refer to Chapt er 4 System Configuration for detailed system configuration and its description.
1) Communication between PLC and host PC (MMI)
2) Mutual exchange or monitoring data between PLCs /monitoring
3) Data management or system control for field devices.
Chapter 1 Introduction
1-2
1.2 Features of FEnet I/ F Module
1.2.1 Characteristic of FEnet I/F module
XGT FEnet I/F module supports TCP/IP and UDP/IP protocols and has the features as specified below;
Fast Ethernet (FEnet I/F module) :
Module exchange on CPU RUN with module exchange switch in the CPU is possible. Module exchange on CPU RUN with module exchange wizard of XG5000 is possible. Conforms to IEEE 802.3 standard (Ethernet standard supported). High-speed link service supported for communication between LSIS’ PLCs with high speed. XG5000, a communication parameter configuration tool, is provided. High-speed link block setting available to link between modules.
(Max. Send Data: 64blocks x 200 words, Max . Rec eive Data: 128 blocks x 200 words, Totally
128 blocks can be setup. (Send + Receive)) .
In addition to High-speed link service, Communication with up to 16 Ethernet devices is
available (dedicated communication + P2P communication).
Loader service (XG5000 connection) is supported through Ethernet: (dedicated TCP/IP PORT :
2002 allotted).
It is easy to connect with other company’s Ethernet device through P2P c ommunication and
XG5000. (Variable READ/WRITE service is available (through Dynamic Connection))
10BASE-T/100BASE-TX/1000BASE-T, 100BASE-FX/1000X media supported. Data is accessible via the public network. LS protocol (XGT) and other company’s protocol (MODBUS TCP) supported
(dedicated service)
Convenient client function supported for communication between LSIS’ PLCs and for
communication with other company’s Ethernet device.
(XGT, Modbus TCP P2P client function)
Dynamic IP supported to make ADSL network available Access table provided for host PC (MMI) and communication security. Dynamic Connection/Disconnection supported through P2P service. Various diagnosis functions and status information of modules and network provided.
1) CPU module status
2) Communication module status
3) Communication service (High-speed link, dedicated service, P2P) status
4) Autoscan function used to visualize the information of LSIS’ communication modules connected within the network
5) PING test function provided to check if other modules exist.
6) Type and average amount of packet received by communication m odule provided (network load predictable)
7) Diagnosis function provided for communication module through the network.
E-MAIL service (ASCII) provided. Up to 24 Ethernet communication modules can be installed on main and extension base.
(For XGR, FEnet module can be installed on only main base)
One IP Solution function provided (XGR O/S Version 2.4 or above)
Chapter 1 Overview
1-3
1.2.2 Characteristic of XGL-EH5T (switch)
Switch module is HUB module having the switching function for interface with system based on Ethernet or XGT FEnet module. It improves the weak points of the external hub module (using external power source and low reliability) and it can be installed on XGT base to simplify the work and reduce the fault factor.
(1) Available to install at XGT base
It doesn’t need a external power source and can be installed at XGT base. Compact size for easy installation
(2) Reliability apply ing to industrial standard
It passed the noise, environment test based our company standard comparing other switches (3) Built-in Auto Cross Over function (For convenience of wiring) (4) High speed link function is guaranteed
It canceled Broadcast storm function for normal operation of High speed link packet
(5) CHS GROUND supported at RJ-45 connector In case of using shielded cable (FTP/STP), effective for reducing the transmission error rate
Chapter 1 Introduction
1-4
1.3 Product Configuration
1.3.1 Designation
Product configuration of XGT FEnet I/F module is as follows;
Designations Description Remarks
XGK/XGI/XGR
XGL-EFMT 10BASE-T/100BASE-TX Category 5 or more(STP)
XGL-EFMTB 100BASE-TX/1000BASE-T Category 5 or more(STP)
XGL-EFMF
100BASE-FX
Fiber Optic (SC)
XGL-EFMFB
100BASE-FX/1000X
Fiber Optic(LC/SFP)
XGL-EH5T 10/100BASE-TX Switch
Notes
1) AUI (10BASE-5) is not supported in XGT series.
2) In the case that UTP cable is used, use the switching hub of 100Mbps
, which can be used
together with the 10Mbps Ethernet device (category 3 or less) but its baud rate will be limit ed to 10Mbps. Pay attention to installation of the system.
3) XGL-EH5T can be installed on XGT base and used as switch without specific program. It has
maximum 100Mbps speed
1.3.2 Available units to be installed on each CPU
The maximum installation number of m odules based on CPU type of each FEnet I/F module is described in the table below. After due consideration of the number of communication modules available, apply such applicable modules to the system configuration.
Segment
XGK
XGI
XGR
CPUH CPUU CPUA CPUS CPUE
CPUSN CPUHN CPUUN
CPUU CPUH CPUS CPUE
CPUU/D CPUUN CPUH
/T
CPUH
/F
CPUH
/S
Number of HS
Link use
module(Maximu
m)
12 units 6 units
Number of P2P
use
modules(maximu
m)
8 units 6 units
Maximum
number of
modules(server
use modules
included)
24 units 6 units
Chapter 1 Overview
1-5
1.4 Software for Produc t Application
The following is for main program ming tools and other producing software needed to use FEnet I/F
module. For more pr ecis e application of program and communication, please refer to the det ails below
so to apply to the system.
1.4.1 Checking software
(1) Application to XGT series
Classification
Programming tool and Frame Setting
XGL-EFMT(B)
10BASE-T/100BASE-
TX/1000BASE-T
XG5000
XGL-EFMF(B) 100BASE-FX/1000X
XGL-EH5T Switch
No relation
(2) CPU version to use FEnet I/F module
Section Section
Available version
(recommended)
Reference
XGK series
XGK-CPUH V4.55
XGK-CPUS
V4.55
XGK-CPUA
V4.55
XGK-CPUE
V4.55
XGK-CPUU
V4.55
XGK-CPUSN
V1.05
XGK-CPUHN
V1.05
XGK-CPUUN
V1.05
XGI series
XGI-CPUU/D
V4.06
XGI-CPUU
V4.06
XGI-CPUH
V4.06
XGI-CPUS
V4.06
XGI-CPUE
V4.06
XGI-CPUUN
V1.12
XGR series
XGR-CPUH/T
V2.72
XGR-XPUH/F
V2.72
Software
XG5000
V4.10
Chapter 1 Introduction
1-6
Notes
1) The software above can be downloaded presently from the web site for its application. If the Internet is not available, please visit the nearest agent of service center to get the applicable
installation CD-ROM to use.
Internet web site : http://www.lsis.com
2) RS-232C and USB port of CPU module is available for downloading the program made by XG5000
and communication configuration made by XG5000.
Refer to CPU or XG5000 manual for connection diagram of each cable.
3) At the lower version than above table, som e function m ay not work properly. Check the version
before using
Chapter 1 Overview
1-7
1.4.2 XG5000
XG5000 is exclusive software to setup param eters, edit frames and diagnose comm unication modules of XGT series PLC and network necessary for operation of all the communication modules including FEnet I/F module. Refer to Chapter 5 XG5000 for more details. The figure below shows the initial screen of XG5000.
[Fig. 1.4.1] Initial screen of XG5000
1.4.3 Version checking
Prior to use of FEnet I/F module, please check the version of the applicable module.
(1) Through XG5000
Connect with communication module directly via on-line so to read information of the communication module. If interface status with CPU is normal, the information will be acquired as shown below.
a) Execute XG5000. b) Use on-line connection with CPU. c) If connection between XG5000 and CPU is established, execute diagnosis of XG5000. d) On the system diagnosis screen, execute communication module status. e) Software information will be displayed on the right bottom of the communication module
status screen.
Chapter 1 Introduction
1-8
[Fig. 1.4.2] Checking module version through XG5000
2) Through the case label of t he product
On the external case of each communication module, product information of the module is printed. The version can be checked module may be removed and then installed if on-line checking is unavailable due to unavailable external connection device with PC. The label is adhered to the back of the product where designation and version information of the product are described.
Chapter 2 Product Specifications
2-1
Chapter 2 Product Specifications
2.1 General Specifications
General specifications of XGT series are as shown in Table 2.1.
No. Items Specification Reference
1
Ambient Temp.
0 ~ 55 °C
2 Storage Temp. 25 ~ +70 °C 3 Ambient humidity 5 ~ 95%RH (Non-condensing)
4
Storage humidity
5 ~ 95%RH (Non-condensing)
5 Vibration Immunity
Occasional vibration
- Frequency
Acceleration
Pulse width
Times
IEC61131-2
5 ≤ f < 8.4Hz
3.5mm
10 times
each
direction (X,Y
and Z)
8.4 ≤ f ≤ 150Hz
9.8m/s2(1G)
Continuous vibration
Frequency
Acceleration
Pulse width
5 ≤ f < 8.4Hz
1.75mm
8.4 ≤ f ≤ 150Hz
4.9m/s2(0.5G)
6 Shocks Immunity
Peak acceleration : 147 m/s2(15G)
Duration : 11ms
Pulse wave type : Half-sine (3 times each direction per each axis)
IEC61131-2
7 Noise Immunity
Square wave
impulse noise
AC : ±1,500V
DC : ±900V
LSIS internal
test spec.
Electrostatic
discharge
Voltage: 4kV (Contact discharge)
IEC61131-2
IEC61000-4-2
Radiated
electromagnetic
field noise
80 ~ 1000 MHz, 10V/m
IEC61131-2,
IEC61000-4-3
Fast transient
/Burst noise
Classific
ation
Power
supply
Digital/Analog Input/Output,
Communication Interface
IEC61131-2
IEC61000-4-4
Voltage
2kV
1kV
8
Operation
ambience
Free from corrosive gases and excessive dust
9 Altitude Less than 2,000m 10 Pollution degree Less than 2 11 Cooling method Air-cooling
1) IEC(International Electro technical Commission. : An international nongovernmental organizatio n w hich pr omot es inter nat i ona lly coopera ted stand ar diz at ion in
electric/electronic fields, publishes international standards and manages applicable estimation system related with.
2) Pollution level : An index indicating pollution level of the operating environment which decides insulation performance of the
devices. Generally, Pollution level 2 indicates the state that only non-conductive pollution occurs generally.
However, this state contains temporary conduction due to dew produced.
Notes
Chapter 2 Product Specifications
2-2
2.2 Performance Specifications
Specifications for system configuration are as described below according to media of FEnet I/F module. Refer to the table below for system configuration.
2.2.1 XGL-EFMT(B)/EFMF(B)
Item
Product Name
XGL-EFMT
XGL-EFMTB
XGL-EFMF
XGL-EFMFB
Transmission
Specification
Baud rate 10/100Mbps
10/100/1000
Mbps
100Mbps
100/1000Mbp
s
Transmission Type
Base Band
Max. extended length
between nodes
100m
(Node-Hub)
2km
Max. segment length
-
-
Max. number of nodes
Hub connection
(Up to 9 recommended )
30/Segments
Distance between
nodes
- Integral times of 0.5m
Max. protocol size 1,500 Byte
Access method to
service zone
CSMA/CD
Frame error check
CRC 16 = X
15
+ X14 + X13+ .... + X2 + X + 1
Basic
Specification
Current
consumption
(5V)
100
Mbp
s
410 mA 560mA 630 mA 750mA*
1Gb
ps
- 900mA - 740mA*
Weight 105 g 146 g 120 g 156 g
*Formerica SFP standard
[Table 2.2.1] Performance Specification of FEnet I/F module
Chapter 2 Product Specifications
2-3
2.2.2 XGL-EH5T
Item
XGL-EH5T(Switch)
Transmission
Specification
Transmission speed
10/100Mbps
Port type and number
10/100BASE-TX, TP cable, RJ-45 socket, 5 port
Comm. Interface
Auto-Crossing, Auto-Nego.,Auto-Polirity
Transmission length
100m
Node interval -
Diagnosis
LED (PWR power, Link Status, Data)
Basic
Specification
5V side consumption curr ent (mA)
550
Weight (g)
90
[Table 2.2.2] Performance Specification of FEnet switch module
Chapter 2 Product Specifications
2-4
2.2.3 Specification of Communication load amount
Communication load am ount have two types. One is media inter rupt that received every second in FEnet media, the ot her is the se nding load amount(by l ink I/F) fr om CPU to F Enet. If excee ding FEnet granted media interrupt load amount and sending load amount, it will fail. Make network system to prevent badly intended DDOS and ARP based attack.
(1) Communication load amount by media interrupt
Load by Frme from media
Diagnose load by packet FEnet module’s max load amount by media interrupt(Server operation standard)
XGL-EFMT/EFMF: about 1200 packets/sec XGL-EFMTB/EFMFB: about 5,000 packets/sec
(5,000 packets/sec means moment load amount. For example 600 packets(or more)
per 100ms makes problem)
How to check:XG5000->[Online]-> [set communication module]-> [system diagnosis]
-> [media information] -> [packet/sec]
Symptoms of FEnet module when exceeding max load amount: communication error,
diagnosis service error, connection error
If receive block is not set in high speed link parameter, interrupt still occur. It might be
influenced by load amount.
Symptoms of exceeding max load amount: set communication period in FEnet
module which high speed link transmission is set longer than previous set period. ex)20ms → 200ms
(2) XGK/I/R system’s send packets load (Load by link I/F interrupt)
Load by data amount sending CPU module to Communication module Scan time of CPU module, high speed link service period, P2P setting will choose load amount. Max available sending(=transm ission) block in high speed link of FEnet module considering
Link I/F interrupt ((Sending period/ Max CPU scan time) * 8 blocks)/2 =max sending blocks
Solution when exceeding max send/receive load: Change the RAPIEnet module’s sending
period which high speed link set or Change number of blocks
Max sending blocks considering CPU scan time and high speed link
Chapter 2 Product Specifications
2-5
2.3 Structure and Characteristics
2.3.1 Structure of XGL-EFMT(B)/EFMF(B)
(1) XGL-EFMT/XGL-EFMF
The table 2.3.1 explains th e deta ils of LED display. Refer t o chapter 10 Troubleshooting of this manual
for judgment and action of trouble based on the status of LEDs.
LED Contents
RUN
Indicates whether initialization is done successfully a
nd it works properly. In case
initialization is done successfully, LED is on. In case initialization is not normal or done abnormally, LED is off.
I/F
Indicates whether FEnet I/F module interface with CPU or not
. In case of normal,
LED flickers. In case of abnormal, LED holds on or off
HS
Indicates whether H igh speed li nk service is normal or not. In case HS link s etting is
done, service is enabled and service is executed normally, LED is on. Though the user sets the HS link, if the user doesn’t enable th
e HS link service,
service is not executed.
XGL-EFMT
LED display
Media connector
XGL-EFMF
Chapter 2 Product Specifications
2-6
LED
Contents
P2P
Indicates whether P2P service is norm al or not. In case P2P setting is done , P2P
service is enabled and service is executed normally, LED is on. Though the user sets the P2P, if the user doesn’t enable the P 2P service, servi ce is
not executed.
PADT
Indicates whether PADT is connected or not throu gh FEnet I/F module. If PAD T is
connected, LED is on. If not, LED is off.
PC
Indicates whether t here’s Ethernet dedic ated service connectio n or not. If dedic ated
service is executed, LED is on. If not LED is off.
ERR
Indicates hardware er ror. It means heavy err or so if this LED is o n, contact custom service center.
TX
Indicates whether FEnet I/ F module is transmitting or not. In case of transmis sion, LED is on. When transmission and stop is repeated, LED will flicker
RX
Indicates whether FEnet I/F module is receiving or no t. In case of trans mission, LED is on. When transmission and stop is repeated, LED will flicker
PHY
Indicates speed of media. In case of 10 0Mb ps , L ED is on. In case of 10 Mb ps , L E D is
off. When setting the media speed as Auto, the module detects the speed of media. In
case the user selects the one (10Mbps or 100Mbps), that is reflected in LED
[Table 2.3.1 LEDs of XGL-EMFT/EFMF module]
(2) XGL-EFMTB/XGL-EFMFB
The table 2.3.2 explains the details of LED display. Refer to chapter 10 Troubleshooting of this manual for judgment and action of trouble based on the status of LEDs.
XGL-EFMTB
LED Display
Media connector
XGL-EFMFB
Chapter 2 Product Specifications
2-7
LED
RUN
Indicates whether initialization is done successfully and it works properly. In case initialization is done successfully, LED is on. In case initialization is not normal or done abnormally, LED is off.
HS
Indicates whether H igh speed li nk service is normal or not. In case HS link s etting is
done, service is enabled and service is executed normally, LED is on. Though the user sets the HS link, if the user doesn’t enable the HS link service,
service is not executed.
P2P
Indicates whether P2P service is norm al or not. In case P2P setting is done , P2P
service is enabled and service is executed normally, LED is on. Though the user sets the P2P, if the user doesn’t enable the P2P service, service is
not executed.
PADT
Indicates whether PADT is conn ected or not through FEnet I/F m odule. If PADT is connected, LED is on. If not, LED is off.
SVR
Indicate whether connection with remote Ethernet interface communication device(include PC) and dedicated communication service. In case dedicated communication is used, LED is on.
ERR
Indicates hardware er ror. It means heavy err or so if this LED is o n, contact custom service center.
RELAY
Indicate whether use frame relay function between Port1 and Port2. In case relay function setting is done, LED is on. In case relay function is not set, LED is off.
CHK
In case IP collision, high-speed link station number collision or there is difference
between set media type and actual media type, LED is flickering. In case normal
operating, LED is off.
FAULT
In case there are communication frame error(CRC error or others), LED is on. In case normal operating, LED is off.
ACT
In case Ethernet I/F module send and rece ive da ta, L ED is o n. In c as e send and stop
send operations are repeat, LED is flickering.
LNK In case Ethernet I/F module connect link with network, LED is on
[Table 2.3.2 LEDs of XGL-EFMTB/EFMFB module]
Chapter 2 Product Specifications
2-8
2.3.2 Structure of XGL-EH5T module
(1) XGL-EH5T
Special setting is not necessary and this module gets the power fr om powe r. If all LEDs ex cept powe r LED fli cker one time after power on, switch module is normal.
LED description of XGL-EH5T
LED status Off Flicker ON
PWR
Power is OFF
-
Power is ON
1
ACT
Not Sending/Receiv ing da ta
Sending/Receiving data
-
LNK
10Mbps Link
-
100Mbps Link
2
ACT
Not Sending/Receiv ing da ta
Sending/Receiving data
-
LNK
10Mbps Link
-
100Mbps Link
3
ACT
Not Sending/Receiv ing da ta
Sending/Receiving data
-
LNK
10Mbps Link
-
100Mbps Link
4
ACT
Not Sending/Receiving data
Sending/Receiving data
-
LNK
10Mbps Link
-
100Mbps Link
5
ACT
Not Sending/Receiv ing da ta
Sending/Receiving data
-
LNK
10Mbps Link
-
100Mbps Link
LED display
Media connection connector
XGL-EH5T
Chapter 2 Product Specifications
2-9
2.4 Cable Specifications
2.4.1 UTP cable
UTP cable is classified into 2 types based on the following criteria.
Shield: classif ied into 3 (UTP, FTP, STP) Frequency band used: classified into 7 (Cat.1~7)
1) Type of cables (shield)
Classification Details Purpose
UTP (or U.UTP)
Unshielded
cable. High speed
data transmission.
Max. 200MHz Phonetic+Data+Low grade of video signal
FTP (or S.UTP) Shielded cable core only.
Max.100MHz Electronic impediment (EMI) and electric stability considered Phonetic+Data+Low grade of video signal
STP (or S.STP)
Double-shielded cable. Shielded core and
Individually
Pair cable
Max. 500MHz Phonetic+Data+Video signal Substitute for 75Ω coaxial cable
Notes
1) UTP : Unshielded Twisted Paired Copper Cable FTP : (Overall) Foiled Twisted Paired Copper Cable
STP : (Overall) Shielded(and Shielded Individually Pair)Twisted Paired Copper Cable
2) Patch Cable(or Patch Cord) Conductor composed of str anded c able ins tead of s olid cond uctor m ay be used t o incre ase th e flexibilit y of UT P 4 -pair cable. And surface specificatio n and materia ls used is Un-c oated AWG 24 (7/0203A). In other words, the diameter of a s ingle cable is 0.203mm, and this cable is of 1+6 struc ture as standardized with annealed copper cable.
3) It is recommended to use S,STP cable in PLC Ethernet. If it’s not possible because of field
conditions, error (communication error and module error by noise) might occur.
UTP STP
FTP
Chapter 2 Product Specifications
2-10
2) Classification based on frequency used
Classification
Frequency used
(MHz)
Transmission
Speed (Mbps)
Purpose
Category 1 Phonetic Frequency
1 Phone network (2-Pair) Category 2 4 4 Multi-Pair communication cable Category 3 16 16 Phone network + Computer network
Category 4 20 20
1) Computer network transmission speed Up
2) Low-loss communication cable
Category 5 and
Enhanced
Category 5
100 100
1) Digital Phone network + Computer network
2) Low-loss, broadband cable
Category 6
Category 6A
250 500
1000
10000
-
Category 7
Category 7A
600
1000
10000 10000
-
Notes
1) Presently classified items are Categor y 3, 5, En-Cat.5 and Cat.6 inside and outside of the country, where Category 4 has been replaced by Category 5 and Categor y 7 is being under development all over the world as STP structure.
3) Example (CTP-LAN5) of Category 5 twisted-pair cable (UTP)
Item
Unit
Value
Conductor resistance(Max)
Ω/km
93.5
Insulation resistance(Min)
MΩ·km
2,500
Voltage endurance
V/min
AC 500
Characteristic impedance
Ω(1~100MHz)
100 ± 15
Attenuation
dB/100m
or less
10MHz
6.5
16MHz
8.2
20MHz
9.3
Near-end crosstalk
Attenuation
dB/100m
or less
10MHz
47
16MHz
44
20MHz
42
Chapter 2 Product Specifications
2-11
2.4.2 Optical cable
Item
Value
Cable Type
Twin strands of multi-mode fiber optic cable(MMF)
Connector
XGL-EFMF: SC type connector
XGL-EFMFB: LC type connector
Diameter of optical fiber
62.5/125μm (62.5μm fiber optic core and 125μm outer cladding)
Wavelength used
1,310 nm
Attenuation
2dB/1,000m or less
Near-end crosstalk Attenuation
11dB or less
Notes
1) Since the type of the connectable cable used for communication module differs from each other based on the system configuration and its environment, app licable profes sional advice will be required prior to installation.
2) The optical cable may have communication errors due to attenuation
if any fingerprint or
contamination is stuck on the sectional end of the cable during its treatment.
Chapter 3 Installation and Operation
3-1
Chapter 3 Installation and Operation
3.1
Precautions for Installation
3.1.1 Installation
(1) For system configuration through FEnet I/F module
1) Check the basic factors necessary for system configuration so to select an appropriate communication module.
2) Selec t the cable to be used for communication module to use. (only one is available between
10/100 BASE-TX and 100BASE-FX).
3) Before installing communication module, check if there is no foreign element on the connector of
base and module, and no damage on the connector pin of the module.
4) All kinds of communication modules can be installed on the extension base fundamentally,
however, it is recommended to install com m unication m odules on the slot as near as pos sible to CPU.
5) For installation of the module, exactly insert the protuberant part at t he bottom of the m odule with
the communication cable disc onnec ted into the bas e groove and then apply enough strength until its top is locked up with the locking device of the bas e. If the lock is not applied, it may cause an error on the interface with CPU.
6) T he cable available for the communication module shall be installed with one type only between
10/ 100BASE-TX and 100BASE-FX.
7) Select standard products of switching hub and cable, which are necessary for communication
with FEnet I/F module.
(2) For system configuration through switch module
1) Check the foreign substance at the connector and damage of connector pin
2) This module gets power from base so this module is not recognized by CPU. This module can
be installed on any base. (main or extension)
3) For installation of the module, exactly insert the protuberant part at the bottom of the module
with the communication cable disconnected into the base groove and then apply enough strength until its top is locked up with the locking device of the base. If the lock is not applied, it may cause detachment.
4) 10/100BASE-TX can be applied to this switch module.
Chapter 3 Installation and Test Operation
3-2
3.1.2 Operation steps
The steps for operating FEnet I/F m odule from installation to operation will be described below. After the product installation is complete, install and configure the system to be operated as specif ied in the following steps.
Operation Steps.
1) Install FEnet I/F module on the base
2) Connect FEnet I/F module with other network.
3) Turn the system power on
4) Run XG5000 to setup basic parameters.
5) After the basic parameters are downloaded, reset the module.
6) After the module reset, check if RUN and I/F RUN LEDs of the module are normal.
7) If LED and CPU are normal, check the status information of the comm unication module and CPU with the diagnosis function of XG5000.
8) If the module s tatus is normal, check if response comes in when PING test is executed through a computer connected to the network if a computer is connected to the network . If computer is not connected to the network, use the live check item am ong diagnosis services of XG5000 to check the response.
9) Setup the communication services and download the setup items to the PLC with XG5000.
10) Enable communication service.
11) After programming with XG5000, write it on CPU to start the operation.
Notes
1) After station No. and IP address are specified through XG5000, surely reset the applicable module. T he first station No. and IP address (including fram es) will keep the value read from the communication module when initialized. Any changed details during communication will not be
applied during Run.
Chapter 3 Installation and Operation
3-3
3.2 Installat ion of the Product
3.2.1 Installation of XGL-EFMT(B)
[Fig. 3.2.1] Installation of XGL-EFMT(B)
The maximum cable length of a segment in 10/100BASE-TX system is 100m (distance between module and hub). Generally, the hub is of straight cable with TD and RD stranded inside. If only 2 communication modules are connected 1 to 1, cross-cable form shall be used.
Pin No. Sign
Straight cable between
hub and module
1 to 1 cross-cable
1 2 3 6 4 5 7
8
TD+
TD-
RD+
TRD2+
TRD2-
RD-
TRD3+
TRD3-
1 — 1 2 — 2 3 — 3 4 — 4 5 — 5 6 — 6
7 — 7
8 — 8
1 — 3 2 — 6 3 — 1 4 — 7 5 — 8 6 — 2 7 — 4
8 — 5
Ethernet Switch
RJ45 Connector
Twist Pair Cable
Chapter 3 Installation and Test Operation
3-4
Notes
1) Since the structure of 10/100BASE-TX cable is vulnerable to external noise, the cable needs to be stranded as twisted (two lines twisted with each other) between cables of the pin No.1 and 2 of TD+ and TD- and between cables of the pin No.3 and 6 of RD+ and RD- so to be strong against noise
2) Hub power shall be separated from PLC power to be used against the noise.
3) Contact professional manufacturers for processing cable terminal, manufacture and
installation.
(1) Precautions for UTP installation
1) In order to transmit reliable 100Mbps sign with UTP cable, use the cable conforming to the characteristics of Category 5.
2) Be careful not to exceed the tension strength of the cable intensely during wiring.
3) W hen es caping from the coat (sheathed), let it as long as the length only to be wired and with the insulation kept from damage.
4) Jumper wire and patch code shall be applied rather loosely. If wired too tight, the
characteristics of Category 5 may be deteriorated.
5) When UTP cable is installed, a s uitable distance shall be maintained between EMI source
and UTP cable.
Condition
Min. separation distance
2.0 kVA or less
2.5 kVA
5.0 kVA or more
Power line unshielded, or electric facility
open or
near to nonmetallic pipe
127mm 305mm 610mm
Power line unshielded, or electric facility
near to
metallic pipe buried
64mm 152mm 305mm
Power line inside metallic pipe buried (or equivalently shielded) near to metallic pipe buried
- 76mm 152mm
Transformer, electric motor, fluorescent lamp
1,016mm 305mm
Notes
1) If voltage is 480V, rated power is 5 kVA or more, separate calculation is needed.
Chapter 3 Installation and Operation
3-5
3.2.2 Installation of XGL-EFMF(B)
[Fig. 3.2.2] Installation of XGL-EFMF(B)
The maximum cable length of segment in 100BASE-FX system is 2km (distance between module and optical switch). In case of XGL-EFMF(B), refer to SFP specification. Let the module’s Tx cross-connected with the optical switch’s Rx, and the module’s Rx with the optical switch’s Tx.
Notes
1) Since the optical cable is vulnerable to impact, pressure, folding and pulling, pay good attention to its treatment. The optical contact between the connector and the end of the cable may have communication errors if contaminated, which may result in unavailable communication. If the cable is installed outdoors, additional countermeasures are required to protect the cable suitably for the installation environment.
MULTI MODE
SC: XGL-EFMF LC: XGL-EFMFB
Optical switch
Chapter 3 Installation and Test Operation
3-6
3.2.3 Installation of XGL-EH5T
This switch module provides interface used between Ethernet module using 10/100BASE-TX. So interfaces between PCs are also supported.
Twist Pair Cable
[Figure 3.2.3] Installation of XGL-EH5T
Chapter 3 Installation and Operation
3-7
[Figure 3.2.4] System configuration example using XGL-EH5T
(1) Installation of cable
XGL-EH5T uses UTP cable that is same one used in XGL-EFMT. For more detail, refer to 3.2.1. This switch module provides Auto Cross Over function so the user can use both cross and direct cable.
Redundancy PLC
Open Network (Ethernet)
GMR
GM1/2/3 GM4C
GM4
GMR/1/2/3, K1000S
XGK
-CPUH/S
XGI-CPUH
Ethernet between PLCs
Engineering Workstation
PC Card
Chapter 3 Installation and Test Operation
3-8
3.3 Operation
Check status of LEDs of FEnet I/F module when power turned on after communication cable is connected. If normal, download the applicable program to PLC via XG5000 so to execute the program.
3.3.1 Precautions for system configuration
1) IP addresses shall be surely different from each devices in 1 network system including FEnet I/F module. If there are more than 1 devices of same IP address in 1 network system, communication error m ay occur, leading to comm unication trouble. HS link station No. of all stations also shall be different from each FEnet I/F module to use HS link service.
2) Use the communication cable as specified only. If not, fatal error may occur to communication.
3) Check communication cable if opened or shorted prior to installation.
4) Tighten up communication cable connector until connected firmly. If cable connection is unstable, fatal error may occur to communication.
5) If cable is connected long distance, keep the cable far away from power line or inductive noise.
6) Since the flexibility of coaxial cable is low, it is to be diverged min. 30cm away from the connector in communication module. If the cable is bent at a right angle or transformed compulsorily, cable disconnection or connector damage in communication module may be caused.
7) If the status of LEDs is abnormal, refer to C hapter 10 T roubleshooting to c heck for c auses and
available actions against the status of LEDs . Contact custom er service center if the error is as before
3.3.2 Checklist prior to test operation
Check items are described below prior to operation of the FEnet I/F module.
1) Communication module installed on PLC
Check items
Description
Installation and inspection of basic S/W
- Is installation and operation of XG5000 normal?
Communication cable connection
(If cable is connected)
- Is connection and tab status of communication cable normal?
- Is the status of LEDs and cable connection normal?
Module installation - Is the FEnet I/F module installed correctly on basic base?
Chapter 3 Installation and Operation
3-9
2) Steps of operation
The steps will be described below, starting from installation complete on PLC to test operation
Start
Power on:
1)
Confirm input power.
2)
Check communication cable connection.
3)
Power on.
4)
Check if power LED of power module is turned on.
5)
Check LED status of CPU module.
->
If abnormal, refer to Troubleshooting in user manual of each PLC model.
6)
Check if LED status of communication module is normal or not.
->
If abnormal, refer to Chapter 10. Troubleshooting in this user manual.
7)
Set system parameters correctly so to download.
Programming: Program execution program with XG5000 and write to CPU module.
Sequence check :
Confirm the operation of communication module according to program.
Program modification :
If abnormal in sequence program, let it modified.
Program preservation :
1)
Save the program onto floppy or hard disk.
2)
Print circuit drawings and list.
3) Save the program in the memory module when it is necessary.
End
Chapter 3 Installation and Test Operation
3-10
3.3.3 How to install or remove the module
Follow the steps described below to replace or remove the applicable module due to its hardware error or system change.
(1) To replace the communication module
(1) Power off the base where the communication module is installed on. (2) Disconnect the network cable. (3) Install a new module as specified in the steps of 3.3.2 above.
(2) Replacement by the module change switch of CPU
Refer to how to use the module exchange switch of CPU
(3) Replacement by the module wizard switch of XG5000
Refer to how to use the module change wizard of XG5000
Notes
1) When FEnet I/F module is replaced, reset the oppos ite side device (MMI or PC).
The device
may stop communicating due to the time out of the applicable module
Chapter 4 System Configuration
4-1
Chapter 4 System Configuration
4.1 Configuration of Network System
4.1.1 LSIS’ PLCs Ethernet system
LSIS’s Ethernet system can connect to Internet public network using open protocol TCP/IP. So you can monitor local PLC via broadband monitoring system[1,2], GLOFA VIEW using Internet. And you can monitor PLC via local monitoring system connected to local network.
[Fig.4.1.1] Ethernet System [Public network with LSIS’ PLCs]
Broadband monitoring system[1]
Broadband monitoring system[2]
Hub
Router or Gateway
Public network
Router or Gateway
Hub
Ethernet network (Network[1])
Local monitoring syst em[2]
Local monitoring syst em[1]
Chapter 4 System Configuration
4-2
4.1.2 Dedicated Network composed of LSIS’ PLCs
You can configure Ethernet system with dedicated network not c onnected to public network, Internet. Figure 4.1.2 shows example us ing dedicated network. Each PLC is connected to the dedicated Ethernet network via FEnet m odule and they can transmit and receive eac h other’s data using P2P, High Speed Link and the dedicated service.
.
[Fig.4.1.2] Ethernet System (Dedicated Network with LSIS’ PLCs)
4.1.3 Dedicat ed Network composed of LSIS’ and Other Company’s PLCs
Figure 4.1.3 shows Ethernet system composed of LSIS’s and other company’s PLCs. LSIS’s PLC can us user-defined communication. So if you know the frame structure of other company’s PLCs, LSIS’s PLC can communicate with other PLC.
[Fig.4.1.3] Ethernet System (Dedicated Network with LSIS’ and Other Company’s PLCs)
Upper system
Ethernet network (Network[1])
Hub
Upper system
Other company’s PLC[D]
Chapter 4 System Configuration
4-3
Broadband monitoring system[1]
Broadband monitoring system[2]
Hub
Router or Gateway
Public network
Router or Gateway
Hub
Local monitoring syst em[2]
Local monitoring syst em[1]
Ethernet network (Network[1])
4.1.4 Public Network and Dedicated Network system
LSIS’s Ethernet system can connect to Internet public network us ing open protocol TCP/IP. So you can monitor local PLC via broadband monitoring system[1,2], GLOFA VIEW using Internet. And you can monitor PLC via local monitoring system connected to local network.
[Fig.4.1.4] Ethernet System (Public Network + Dedicated Network)
Chapter 4 System Configuration
4-4
4.1.5 Public Network and Dedicated Network system composed of LSIS’ and other company’s PLCs
[Fig.4.1.5] Ethernet System (Public Network + Dedicated Network + Other Company’s System)
Broadband monitoring system[1]
Broadband monitoring system[2]
Hub
Router or Gateway
Public network
Router or Gateway
Hub
Local monitoring system[2]
Local monitoring syst em[1]
Ethernet network (Network[1])
Other company’s PLC[D]
Chapter 4 System Configuration
4-5
4.1.6 System configuration using dedicated Ethernet between HMIs, PLCs at XGR system
At XGR system, Ethernet module should be installed at m ain bas e and same slot of A/B bases. Ethernet module installed at base acting as MASTER executes the c om m unication ser vice but Ethernet module installed at base acting as STANDBY CPU doesn’t execute the communication service.
Ethernet
(Network [2])
A-Side
IP: 192.168.91.191
XGK/I PLC IP: 192.168.91.192 IP: 192.168.91.192
Upper system
IP: 192.168.91.193
Upper system
IP: 192.168.91.193
GLOFA
VIEW
GLOFA
VIEW
Ethernet
(Network [1])
B-Side
IP: 192.168.91.191
XGR
[Figure 4.1.6] XGT Ethernet redundancy system (Redundant Network)
A-Side
IP: 192.168.91.191
XGK/I PLC
IP: 192.168.91.193
Upper system
IP: 192.168.91.194
GLOFA
VIEW
Ehternet
B-Side
IP: 192.168.91.192
XGR
[Figure 4.1.7] Communication as XGT redundant system (Single network)
Chapter 4 System Configuration
4-6
4.1.7 System configuration using dedicated Ethernet between HMIs, PLCs at XGR system
For communication with upper system, previous PLC system and other company’s controller,
Ethernet communication module can be used and For communication with XGT PLC, industrial Ethernet communication can be used to improve the reliability and speed.
[Figure 4.1.8] XGT redundancy system (Between HMIs, PLCs)
RAPIEnet (Ring)
GMR
PC Card / HMI
Master
Ethernet
XGK
Smart I/O
Software HMI (Info-U)
Switch
Modbus
Pnet
Dnet
Rnet
Switch
XGI
GM4C
Standby
Chapter 5 XG5000 Program
5-1
Chapter 5 XG5000 Program
In order to operate FEnet I/F module, XG5000, a dedicat ed S/W for comm unication m odules, must be used to setup or manage parameters of communication modules including FEnet I/F module. XG5000 is dedicated software to setup parameters and of c ommunication modules such as FEnet, Cnet, DeviceNet and Profibus-DP communication modules, manage and diagnose communication modules.
5.1 Introduction
As a basic program tool needed to setup, c ontr ol and manage the network in Ethernet communication, XG5000 is used to setup and manage all of the communication parameters including system parameters, service parameters, module and network diagnosis, etc.
With regard to Ethernet network, the functions of XG5000 can be mainly classified as follows;
1) Basic parameters setting of communication system,
2) Parameters setting of communication service (HS link, P2P, dedicated service)
3) Diagnosis service for module and network
Parameters and files the user has specified can be written (downloaded) on and read (uploaded) fr om Ethernet communication m odule through CPU module. Since once downloaded communication system parameters are managed by CPU, they can be directly used without resetting even if a new communication module is installed on the initially specified position.
This chapter will focus on the description of settings necessary for the application of Ethernet module
Chapter 5 XG5000 Program
5-2
5.2 Basic Settings
5.2.1 PLC type setting
To connect XG5000 to PLC, it is necessary to set PLC type. To create new proj ec t, click [File]  [New
File] in XG5000 Menu. At new project menu, set the project name, project type and PLC type.
[Fig 5.2.1] is initial screen of XG5000
[Fig 5.2.1] Start Page of XG5000
[Fig. 5.2.2] Create new project
Chapter 5 XG5000 Program
5-3
There are 4 types of PLC series; XGK, XGB, XGI and XGR. For more detail, refer to r elevant user manual. Here XGK is selected as example. There are 5 CPUs in XGK; XGK-CPUU, XGK-CPUA, XGK-CPUE and XGK-CPUS. After setting is complete, menu of [Fig 5.2.3] will be displayed.
[Fig 5.2.3] Initial menu of XG5000
5.2.2 Register of communication module
Here describes standard setting that is necessary to execute FEnet module
(1) Selection and execution of communication module
For standard setting of communication module, register the communication module at relevant base, slot. The user can register in on-line or off-line status.
A) Register in off-line status
If you register a communication module without connected to XGT, Use a “Communication
module setting” window. If FEnet is to be registered on base 0 and slot 2, Set it in the following procedure at a project Window.
Chapter 5 XG5000 Program
5-4
a) Right click [unspecified Network] -> [add item] -> [Communication module]
[Fig 5.2.4] Select communication module menu
b) Click [Select communication module] -> [Add module]
[Fig 5.2.5] Add module
Chapter 5 XG5000 Program
5-5
c) [Communication module settings] -> select module type, base, slot
[Fig. 5.2.6] Communication module setting
FEnet module is registered on Slot 2 of Base 0 is as shown below;
[Fig. 5.2.7] Manually register communication module
B) Register in Online status.
If Connect XG5000 and PLC on which the communication module is installed, I/O sync can help automatically register module.
a) Select [Online] -> [Diagnosis] -> [I/O information]
Chapter 5 XG5000 Program
5-6
[Fig. 5.2.8] I/O information
b) Click [I/O information] -> [I/O sync]
[Fig. 5.2.9] I/O Sync
Chapter 5 XG5000 Program
5-7
c) Check message and click OK button.
[fig. 5.2.10] I/O sync warning messange
FEnet module is registered on Slot 2 of Base 0 is as shown below;
[Fig. 5.2.11] Automatically register communication module.
Chapter 5 XG5000 Program
5-8
5.2.3 Standard settings (Module)
Standard settings is to specify communication system parameters necessary to control and manage the Ethernet network, which will decide basic items such as FEnet I/F module’s IP address, subnet mask, gateway address, DNS server, reception latency time, number of dedicated connections, host table setting, etc. Thus, surely set basic parameters on the standard settings screen of the m odule window so to download for the Ethernet communication. Standard settings are classified into for XGI/XGK and for XGR. (1) In case CPU is XGK/XGI series
[Fig. 5.2.12] shows specified standard parameters in case CPU is XGI/XGK
[Fig. 5.2.12] Standard settings (details) in case of XGK/XGI
Details on the screen displayed in [Fig. 5.2.12] are as follows; Among those details below, IP address, High-speed link station No. and media shall be reset appropriately for the application environment.
Chapter 5 XG5000 Program
5-9
1) TCP/IP setting
Classification
Description
High-speed
link station No.
Specify station No. for High-speed link communication between LSIS PLCs’ FEnet I/F modules, which shall not be duplicated identically to the correspondent
communication module.
Media
Select media to use.
AUTO (electric) : automatically detects the module presently installed. 10M/HALF : 10MBps Half Duplex electric 10M/FULL : 10MBps Full Duplex electric 100M/HALF : 100MBps Half Duplex electric 100M/FULL : 10MBps Full Duplex electric FX/100M/HALF : 100MBps Half Duplex optical
FX/100M/FULL : 100MBps Full Duplex optical
IP address
Specify the IP Address of the applicable FEnet I/F module.
Subnet mask
Value necessary to check if destination station
is on the same network of the
applicable station.
Gateway
IP address of Gateway or R
outer to transmit/receive data through the public
network or a network different from the network where the
applicable FEnet
module is included.
DNS server
Specify the IP address of domain name server.
DHCP
(note1)
Check DHCP option when not fixed but dynamic IP is to be used (ADSL).
Relay
Using when send frame received at one port to another port.
Reception
wating time
If there is no request during the specif ied time f rom the host PC or MMI connected for dedicated communication, it will end the dedicate
d service connection
regardless of normal ending procedures supposing that the higher level
system is
with error. T his time is used in dedicated service to reset the c hannel
when any
error occurs on the destination station or the cable is disconnected.
Number of
dedicated
connections
Max. number of TCP dedicated services accessible at a time. (1~16)
2) Driver (server) setting
Classification
Description
XGT server
Set when operated as dedicated communication server (slave)
Modbus TCP/IP server
Set when operated as Modbus server driver (slave)
3) Host table setting
Classification
Description
Enable host table
Access allowed to applicable module of IP address registered in host table
(unregistered client(IP address) is prohibited from connection when enabled)
Chapter 5 XG5000 Program
5-10
Notes
(Note 1) Notice in setting DHCP
(1) To check the IP address after DHCP setting, check IP address in Online -> System diagnosis -> Detailed module information or click standard setting after executing Open From PLC. (2) In case of dynamic IP address, IP address is reset when m odule is disconnected f rom server or Power is off (3) In case of using Remote connection to module using DHCP, when remote side res tart, you have to check the IP address of remote station
(4) In case of using DHCP with XGL-EFMTB/EFMFB, you have to use only port 1.
(1) In case CPU is XGR series [Fig. 5.2.13] shows specified standard parameters in case CPU is XGR CPU. In case of XGR, some of items in Standard setting is different ac cording to whether you use ON E IP Solution or not.
Chapter 5 XG5000 Program
5-11
[Fig. 5.2.13] Standard settings (details) in case of XGR
Details on the screen displayed in [Fig. 5.2.13] are as follows;
Among those details below, IP address, High-speed link station No. and media shall be reset appropriately for the application environment.
1) TCP/IP setting (XGI/XGK series)
Classification
Description
ONE IP
Solution
1. You are able to connect to master base F Enet of X GR redundanc y system with one
IP regardless of Master conversion. For this, in case of master conv
ersion, FEnet
modules of master base and standby base exchange each other’s IP address
2. If you check ONE IP Solution, ONE IP Solution function is activated and you
register only one IP
3. When using ON E IP Solution, IP address should be even number. T ha
t number
become FEnet module IP address of master base
4. The above number + 1 becomes FEnet module IP address of standby base
High-speed link
station No.
Specify station No. for High-speed link communication between LSIS PLCs’ FEnet I/F modules, which shall not be duplicated identically to the correspondent
communication module.
Media
Select media to use.
AUTO (electric) : automatically detects the module presently installed. 10M/HALF : 10MBps Half Duplex electric 10M/FULL : 10MBps Full Duplex electric 100M/HALF : 100MBps Half Duplex electric 100M/FULL : 10MBps Full Duplex electric FX/100M/HALF : 100MBps Half Duplex optical
FX/100M/FULL : 100MBps Full Duplex optical
IP address
Specify the IP Address of the applicable FEnet I/F module.
Chapter 5 XG5000 Program
5-12
Classification
Description
Subnet mask
Value necessary to check if destination station is on the same network of the applicable station.
Gateway
IP address of Gateway or Router to transm it/receive data through the public network or a network different from the network where the applic
able FEnet module is
included.
DNS server
Specify the IP address of domain name server.
DHCP
Check DHCP option when not fixed but dynamic IP is to be used (ADSL).
Relay
Using when send frame received at one port to another port.
Reception
wating time
If there is no request during the specified tim e f rom the host PC or MMI connected for dedicated communication,
it will end the dedicated service connection regardless of
normal ending procedures supposing that the higher level s ystem is with error. This time is used in dedicated service to reset the c hannel
when any error occurs on the
destination station or the cable is disconnected.
Number of
dedicated
connections
Max. number of TCP dedicated services accessible at a time. (1~16)
A->B, B->A
This option
is activated When One IP Solution is not is not used. After setting
parameter of A side or B side, if you click A->B, B->A, the parameter s
in one side is
copied into another side.
2) Driver (server) setting
Classification
Description
XGT server
Set when operated as dedicated communication server (slave)
Modbus TCP/IP server
Set when operated as Modbus server driver (slave)
3) Host table setting
Classification
Description
Enable host table
Access allowed to applicable module of IP address registered in host table
(unregistered client(IP address) is prohibited from connection when enabled)
Notes
(Note 1) Notice in setting DHCP
(1) To check the IP address after DHCP setting, check IP address in Online -> System diagnosis -> Detailed module information or click standard setting after executing Open From PLC. (2) In case of flexible IP address, I P addres s is res et when module is disconnected from s erver or Power is off (3) In case of using Remote connection to module using DHCP, when remote side res tar
t, you have to
check the IP address of remote station
(4) In case of using DHCP with XGL-EFMTB/EFMFB, you have to use only port 1.
Chapter 5 XG5000 Program
5-13
5.3 High-speed Link Settings
5.3.1 Setting of High-speed link parameters
How to set High-speed link communication of FEnet I/F module will be described. High speed links of FEnet I/F module are supported up to 12 according to the number of installed module. For each HS link, 32 transm ission blocks , 128 reception blocks ar e available. And in case of combined setting of transmission/reception block, 128 blocks are available.
(1) Choose one method in two methods from Initial selection screen
1) Click project tab, Right click [Unspecified network]
[fig.5.3.1] Select High speed Communication from Project tab
2) Click view High-speed Link tab, Right click ‘PLC name’
[fig.5.3.2] Select High speed Communication
Chapter 5 XG5000 Program
5-14
(2) Setting communication module
[fig.5.3.3] Setting of communication module and communication period
Classification
Description
Communication module settings
Module type
Select FEnet.
Base No.
Select Base No. the module is installed on.
(Main Base : 00)
Slot No. Select Slot No. the module is installed on.
Communication
period settings
Period type
Set the data transmission period. (available range is 20ms~10sec)
Output data setup
in case of
emergency
Latch
Maintain and send the latest data received from CPU.
It is seen that it is cleared if CPU sends data as 0
even though latch is set. Make sure to check the emergency output data setting of CPU.
Clear
It sends by setting received High-speed Link data as 0 in ignoring data from CPU. If emergency data is set as ‘clear’ in emergency output data setting of XG5000 High-
speed Link module setting even though
emergency output data setting of device area of High­speed Link sending part is set as latch in CPU, the
data set as 0 is sent. Make sure to set it after checking desired operation.
Chapter 5 XG5000 Program
5-15
(3) After select communication module
[fig.5.3.4] double click High-speed Link 01 from project tab
[fig.5.3.5] double click High-speed Link 01 from View High-speed Link tab
(4) High-speed link parameters settings (double-click High-speed link parameters window)
[Fig. 5.3.6] High-speed link block settings
Classification
Description
Station type
MASTER
This item is not related with FEnt I/F module so this is always
fixed as ‘MASTER’
SLAVE
Mode
1.Send
Sends data
2.Receive
Receives data
Station No.
In case of Send Mode, it indicates station num ber of this module. And in case of Receive Mode, it indicates that of target module.
Block No.
Specify Tx Block and Rx Block.
Read area
Memory area of this module. (P,L,M,K,…)
Read area Word size
Specify data size to transmit..(WORD)
Save area
Area to save data received from the destination station.
Save area Word size
Specify data size to receive.
Chapter 5 XG5000 Program
5-16
(5) Writing High-speed Link Par am eter
1) Click [Online] -> [Write]
[fig.5.3.7] Write menu
2) Check [High speed Link] and Click ‘OK’ button.
[Fig 5.3.8] Writing High-speed Link parameter
Chapter 5 XG5000 Program
5-17
(2) Reading High-speed Link parameter
1) Click [Online] -> [Read].
[Fig.5.3.9] Read menu
2) Check [High speed Link] and Click ‘OK’ button.
[Fig 5.3.10] Reading High-speed Link parameter
Chapter 5 XG5000 Program
5-18
5.3.2 High Speed Link parameter at XGR redundant system
Standard setting is same with XGK, XG I but param eter of com munication module of MAST ER and STANDBY should be set respectively. At redundant system, available number of module is up to 6.
(1) Standard settings
For standard setting in redundancy, you can set one HS link station number and IP address etc. by using One IP Solution or can set parameters of A side and B side separately by not using One IP Solution. For more detail, refer to CH6 High Speed Link service.
[Fig 5.3.11] Redundant standard setting screen
Chapter 5 XG5000 Program
5-19
5.4 P2P Settings
5.4.1 P2P parameters
P2P setting of FEnet I/F module will be described. P2P Setting is possible to up to 8 Each P2P set the block up to 64.
(1) Choose one method in two methods from I nit ial select ion scr een
1) Click project tab, Right click [Unspecified network]
[fig.5.4.1] Select communication module from Project tab
2) Click view P2P tab, Right click ‘PLC name’
[fig.5.4.2] Select View P2P tab
(2) Setting Communication module
Chapter 5 XG5000 Program
5-20
[Fig. 5.4.3] Selection of communication module
Classification
Description
Communication module settings
Module type
Select FEnet.
Base No.
Select Base No. the module is installed on. (Main Base : 00)
Slot No. Select Slot No. the module is installed on.
[Fig. 5.4.4] P2P setting details
After communication m odule setting is completed, P2P setting details screen will be displayed as in [Fig. 5.4.3]. Refer to Chapter 7 P2P Service for detailed setting.
Classification
Description
P2P
channel
User defined frame
Edit the user defined protocol.
XGT client
Set dedicated service master.
Modbus TCP client
Set to Modbus TCP master.
P2P Block
Set each command block based on spec ified XG T client
of P2P channel.
User defined frame
Set each command frame for the user defined frame of
P2P channel.
E-mail
Execute as defined by the user for E-mail service.
Chapter 5 XG5000 Program
5-21
5.5 Connect and Download to Communication Module
5.5.1 Download/Upload
XG5000 can be used for downloading (writing) specified parameters or uploading (reading) the
parameters stored in the PLC.
(1) Write (download)
Connect with CPU of the basic base FEnet I/F module installed on whose parameters are desired to write through [Online] -> [Connect] menu.
[Fig. 5.5.1] Connect menu
After connection is established, select [Online] -> [Write(standard settings, HS link, P2P)] to display [Fig. 5.5.1] screen, where to specify standard settings items of the base and slot positions FEnet I/F module to write (download) is installed on.
Notes
1) XG5000 can be programmed through RS-232C port or USB port of CPU module. Refer to CPU Module’s connection diagram for detailed cable type.
Chapter 5 XG5000 Program
5-22
[Fig. 5.5.2] Write Parameter window
[Fig. 5.5.3] Write screen
Notes
1) In case any service allows link when downloading parameter to CPU by using XG5000
, it
automatically works with the parameter newly downloaded after downloading the parameter; if the
service does not allow the link, the parameter is not applied until the link is allowed.
Chapter 5 XG5000 Program
5-23
(2) Read (upload)
Connect with CPU of the basic base FEnet I/F module to read is installed on, and register the communication module to read standard settings.
[Fig. 5.5.4] Read Parameter window
After connected, select [Online] -> [Read(standard settings, HS link, P2P)] to display [Fig. 5.5.5] screen
[Fig. 5.5.5] Read Parameter menu
Where, confirm Base No. and Slot No. among the standard settings items, and then select standard settings of the applicable communication module. After Read is completed, conf irm edit/standard settings of the XG5000 screen to find the data read from FEnet module saved.
Chapter 5 XG5000 Program
5-24
5.5.2 Enable Link
Link enable procedures are necessary to start the operation of the communication for actual Tx/Rx of downloaded High-speed link and P2P data through XG5000. Let Link Enable ON to start Tx/Rx service of the communication m odule, which will enable or disenable the operation relationship separately from the specif ied parameters, where the comm unication will be kept on based on the Enable conditions even if CPU stops.
(1) Link Enable from XG5000
The next is to specify XG5000 for the Enable conditions. Click the setting menu on [Fig. 5.5.6] to display [Fig. 5.5.7]. Check the items which need the link service.
[Fig. 5.5.6] Enable Link setting
Chapter 5 XG5000 Program
5-25
[Fig. 5.5.7] Selection of Enable Link
If Enable Link Write is executed, a m essage will be displayed as in [Fig. 5.5.8], which means that Link is normally enabled.
[Fig. 5.5.8] Message Screen of Enable Link
Chapter 5 XG5000 Program
5-26
* Enable Link through flag
It describes “Enable Link” method through flag. The following XG5000 version, CPU OS version is
needed.
Item
Version
XG5000
V3.61 or above
XGR CPU
V1.91 or above
XGI CPU
V3.4 or above
XGK CPU
V3.7 or above
Flag list related with “Enable Link”
-XGR
Flag
Data type
Device
Description
_HS_ENABLE_STATE
ARRAY[0..11] OF BOOL
%FX19040
HS link enable/disable current state
_HS_REQ
ARRAY[0..11] OF BOOL
%FX31520
HS link enable/disable request
_HS_REQ_NUM
ARRAY[0..11] OF BOOL
%FX31536
HS link enable/disable setting
_P2P_ENABLE_STATE
ARRAY[0..7] OF BOOL
%FX19072
P2P enable/disable current state
_P2P_REQ
ARRAY[0..7] OF BOOL
%FX31552
P2P enable/disable request
_P2P_REQ_NUM
ARRAY[0..7] OF BOOL
%FX31568
P2P enable/disable setting
-XGI
Flag
Data type
Device
Description
_HS_ENABLE_STATE
ARRAY[0..11] OF BOOL
%FX15840
HS link enable/disable current state
_HS_REQ
ARRAY[0..11] OF BOOL
%FX16480
HS link enable/disable request
_HS_REQ_NUM
ARRAY[0..11] OF BOOL
%FX16496
HS link enable/disable setting
_P2P_ENABLE_STATE
ARRAY[0..7] OF BOOL
%FX15872
P2P enable/disable current state
_P2P_REQ
ARRAY[0..7] OF BOOL
%FX16512
P2P enable/disable request
_P2P_REQ_NUM
ARRAY[0..7] OF BOOL
%FX16528
P2P enable/disable setting
-XGK
Flag
Data type
Device
Description
_HS1_ENABLE_STATE
BIT
F09600
HS link 1 enable/disable current state
_HS2_ENABLE_STATE
BIT
F09601
HS link 2 enable/disable current state
_HS3_ENABLE_STATE
BIT
F09602
HS link 3 enable/disable current state
_HS4_ENABLE_STATE
BIT
F09603
HS link 4 enable/disable current state
_HS5_ENABLE_STATE
BIT
F09604
HS link 5 enable/disable current state
_HS6_ENABLE_STATE
BIT
F09605
HS link 6 enable/disable current state
_HS7_ENABLE_STATE
BIT
F09606
HS link 7 enable/disable current state
_HS8_ENABLE_STATE
BIT
F09607
HS link 8 enable/disable current state
_HS9_ENABLE_STATE
BIT
F09608
HS link 9 enable/disable current state
_HS10_ENABLE_STATE
BIT
F09609
HS link 10 enable/disable current state
_HS11_ENABLE_STATE
BIT
F0960A
HS link 11 enable/disable current state
_HS12_ENABLE_STATE
BIT
F0960B
HS link 12 enable/disable current state
_HS1_REQ
BIT
F10300
HS link 1 enable/disable request
_HS2_REQ
BIT
F10301
HS link 2 enable/disable request
_HS3_REQ
BIT
F10302
HS link 3 enable/disable request
_HS4_REQ
BIT
F10303
HS link 4 enable/disable request
_HS5_REQ
BIT
F10304
HS link 5 enable/disable request
_HS6_REQ
BIT
F10305
HS link 6 enable/disable request
_HS7_REQ
BIT
F10306
HS link 7 enable/disable request
_HS8_REQ
BIT
F10307
HS link 8 enable/disable request
_HS9_REQ
BIT
F10308
HS link 9 enable/disable request
_HS10_REQ
BIT
F10309
HS link 10 enable/disable request
_HS11_REQ
BIT
F1030A
HS link 11 enable/disable request
Chapter 5 XG5000 Program
5-27
Flag
Data type
Device
Description
_HS12_REQ
BIT
F1030B
HS link 12 enable/disable request
_HS1_REQ_NUM
BIT
F10310
HS link 1 enable/disable setting
_HS2_REQ_NUM
BIT
F10311
HS link 2 enable/disable setting
_HS3_REQ_NUM
BIT
F10312
HS link 3 enable/disable setting
_HS4_REQ_NUM
BIT
F10313
HS link 4 enable/disable setting
_HS5_REQ_NUM
BIT
F10314
HS link 5 enable/disable setting
_HS6_REQ_NUM
BIT
F10315
HS link 6 enable/disable setting
_HS7_REQ_NUM
BIT
F10316
HS link 7 enable/disable setting
_HS8_REQ_NUM
BIT
F10317
HS link 8 enable/disable setting
_HS9_REQ_NUM
BIT
F10318
HS link 9 enable/disable setting
_HS10_REQ_NUM
BIT
F10319
HS link 10 enable/disable setting
_HS11_REQ_NUM
BIT
F1031A
HS link 11 enable/disable setting
_HS12_REQ_NUM
BIT
F1031B
HS link 12 enable/disable setting
_P2P1_ENABLE_STATE
BIT
F09620
P2P1 enable/disable current state
_P2P2_ENABLE_STATE
BIT
F09621
P2P2 enable/disable current state
_P2P3_ENABLE_STATE
BIT
F09622
P2P3 enable/disable current state
_P2P4_ENABLE_STATE
BIT
F09623
P2P4 enable/disable current state
_P2P5_ENABLE_STATE
BIT
F09624
P2P5 enable/disable current state
_P2P6_ENABLE_STATE
BIT
F09625
P2P6 enable/disable current state
_P2P7_ENABLE_STATE
BIT
F09626
P2P7 enable/disable current state
_P2P8_ENABLE_STATE
BIT
F09627
P2P8 enable/disable current state
_P2P1_REQ
BIT
F10320
P2P1 enable/disable request
_P2P2_REQ
BIT
F10321
P2P2 enable/disable request
_P2P3_REQ
BIT
F10322
P2P3 enable/disable request
_P2P4_REQ
BIT
F10323
P2P4 enable/disable request
_P2P5_REQ
BIT
F10324
P2P5 enable/disable request
_P2P6_REQ
BIT
F10325
P2P6 enable/disable request
_P2P7_REQ
BIT
F10326
P2P7 enable/disable request
_P2P8_REQ
BIT
F10327
P2P8 enable/disable request
_P2P1_REQ_NUM
BIT
F10330
P2P1 enable/disable setting
_P2P2_REQ_NUM
BIT
F10331
P2P2 enable/disable setting
_P2P3_REQ_NUM
BIT
F10332
P2P3 enable/disable setting
_P2P4_REQ_NUM
BIT
F10333
P2P4 enable/disable setting
_P2P5_REQ_NUM
BIT
F10334
P2P5 enable/disable setting
_P2P6_REQ_NUM
BIT
F10335
P2P6 enable/disable setting
_P2P7_REQ_NUM
BIT
F10336
P2P7 enable/disable setting
_P2P8_REQ_NUM
BIT
F10337
P2P8 enable/disable setting
How to enable link
-HS link/P2P enable/disable setting flag ON HS link/P2P enable/disable request flag ON
How to disable link
-HS link/P2P enable/disable setting flag OFF HS link/P2P enable/disable request flag ON
You can monitor the Enable/Disable state of the each link through “enable/disable current states” flag.
Chapter 5 XG5000 Program
5-28
5.6 System Diagnosis
System Diagnosis function is used to display general service status and information of the communication module in Online status including link type, link information and OS version so to allow the user to precisely diagnose and debug the data Tx/Rx relation of the communication module presently used.
5.6.1 Execution of the diagnosis function
Run XG5000 to connect with and then select [Online] -> [Communication module setting] -> [System Diagnosis] to display [Fig. 5.6. 2], which s hows base and slot information the pres ent module is installed on and the operation status.
[Fig. 5.6.1] Selection of system diagnosis function
Chapter 5 XG5000 Program
5-29
[Fig. 5.6.2] Module information of system diagnosis
5.6.2 Type of diagnosis functions
Through the pop-up menu as in the initial diagnosis screen [Fig. 5.6.3], system status can be diagnosed for the various c omm unication m odules. Main functions for each item are as described below in [Table 5.6.1].
[Fig. 5.6.3] Diagnosis function pop-up of module
Chapter 5 XG5000 Program
5-30
Classification
Description
Detailed module
information
Displays comm unication m odule’s basic information, H/W and communication
status.
Status by service
Displays the status of dedicated communication, P2P, HS link service, etc.
Media information
Provides packet information of Tx/Rx data through media.
Ping test
Displays port connection status of other station specified on the network.
Autoscan
Provides active IP information for all the modules specified on the present
network.
[Table 5.6.1] Detailed diagnosis services
(1) Communication module information
Communication module information shows basic information such as base information, High­speed link station No., IP information, etc. in addition to media and start status of the communication service, through which the user can confirm that the communication module normally transmits and receives the data.
[Fig. 5.6.4] Communication module information
Chapter 5 XG5000 Program
5-31
(2) Service status
Service status of the communication module is classified into 3 (dedicated communication, P2P and High-speed link) , which show detailed infor mation on the respective communication services.
1) Dedicated Service Displays the service status of MMI or HMI dedicated prot ocol by means of higher client, and monitors Tx/Rx data and errors of the specified IP.
[Fig. 5.6.5] Dedicated service monitor
2) P2P Service Displays detailed information on the user defined service executed, and checks norm al s ervice to read if P2P parameters are set and enabled, where real time m onitoring is available with Individual Read or Continuous Read specified on the menu.
[Fig. 5.6.6] P2P service monitor
Chapter 5 XG5000 Program
5-32
3) HS Link Service Monitor flags of respective paramet ers for High-speed link setting data. Run link, link trouble
and individual information can be all monitored by High-speed link service.
[Fig. 5.6.7] High-speed link service monitor
(3) Media Information
Displays the packet information input through the media.
[Fig. 5.6.8] Media information
Chapter 5 XG5000 Program
5-33
(4) Ping Test
[Fig 5.6.9] Ping Test monitor for the destination station number
(5) Auto scan
Display the link interface status of the whole network. The service status of FEnet I/F module connected with the public network is displayed as simple as shown in the diagram.
[Fig. 5.6.10] Network Auto scan
Chapter 6 High-speed Link Service
6-1
Chapter 6 High-speed Link Service
6.1 Introducti on
High-speed link ( HS link) is a com munication method between XGT PLC com munication modules to send and receive data with High-speed link parameters s etting, which can also allow the user to use XG5000 to exchange data with param eters setting of Send/Receive data size, communication period, Send/Receive area and area to save through its data transmission service function. However, since High-speed link service uses the subnet broad s ervice, it may have an influence on other communication m odules which use the identical network. Thus, setting block size as near to the maximum Send/Receive size (400 bytes or 200 words) as available per High-speed link block is recommended f or the user to obtain the gr eatest c ommunication effic iency with the lowest influence on other modules so to r educe the sum of block s. In order to mak e use of all func tions, surely specify the basic communication parameters in the status of communication available.
High-speed link functions are specified as below;
1) High-speed link block setting function (1) If there are many Send/Receive areas, up to 128 blocks can be setup. (2) 200 words are available for a block.
2)
Communication period setting function
Send/Receive period can be setup per block by user for the areas where especially fast Tx/Rx is required and not required respectively in a Tx/Rx period of 20ms to 10 sec.
3)
Send/Receive area setting function
Send/Receive area can be setup per data block by user according to memory address specified.
4) Providing function of High-speed link information Reliable communication system can be easily configured by providing High-speed link information for user via the user keyword.
[Table 6.1.1] shows the data capacity of High-speed link communication whose basic unit is 1 word.
Classification
Max. communication words
Max. Send words
Max. blocks
Max. words per block
XGL-EFMT
25,600
6,400
128 (0-127)
200
[Table 6.1.1] Max. Communication data capacity
Chapter 6 High-speed Link Service
6-2
6.2 High-speed Link Send/Receive Data Processing
High-speed link application will be described below with the exam ple where FEnet I/F modules of the
stations No.0 and No.1 are to send and receive the data between each other.
The station No.0 transmits the data of 10 words from M0000 to M0009 with block No.0 and the received data, transmitted by the station No.1, is saved on M0010. The station No.1 receives data of 10 words from the s tation No.0 to save on M0030, and transm its the data of 10 words f rom M0020 to M0029 word with block No.1.
There are 32 blocks for Send data and 64 blocks f or Rx data in the High-speed link param eters. The block num ber can be set 0~31 for transmiss ion or 0~63 for rec eiving. T he Send side needs only to decide which data to read and which block number to send to without setting the destination station No. when transmitting the data is setup.
[Table 6.2.1] Diagram of High-speed link processing blocks
Station 0
Station type : Local
Mode: Send/Receive
Block No. : 0, 1
Area to read : M0000
Area to save : M0010
Communication Period:
200ms
Size:10
Block 0
Block 1
Station 1
Station type: Local
Mode: Send/Receive
Block No.: 0, 1
Area to read : M0020
Area to save : M0030
Communication Period:
200ms
Size:10
Block 0
Block 1
Chapter 6 High-speed Link Service
6-3
6.3 Operation Seque nc e t hrough High-speed Link
Set basic parameters
1
Use XG5000
Select HS link
2
HS link setting window
Select HS link parameters
3
HS link 1~12
Set communication module
4
Module type
FEnet
5
Base No.(0~7)
6
Slot No.(0~11)
Set communication period
7
20ms~10s
Set HS link block (register list)
8
Station type
Master
9
Station No.(0~63)
10
Block type
Send or Receive
11
Block No.(0~31)
12
Read area/Save area
13
Size (1~200 words)
Online (after local-connected )
14
Write
HS link parameters
Set link enable
5
HS link1~12
Setup the parameters for correspondent station as in 1~15
above.
Specify and download the basic parameters suc h HS link station No., media, IP address, etc. Reset the PLC to apply downloaded basic parameters.
Open HS link setting window of XG5000
Select HS link number. (1 HS link number is available for 1
communication module)
1. Self-station No. for Send blocks (auto Correspondent station No. for Receive blocks
2. Totally, 128 blocks are available. Send/Receive
data sorted out by station No. and block No. of each other.
3. Self-station’s area to read for Send, Self-
station’s area to save the received data for Receive
Download HS link parameters from XG5000 onto
CPU
Set link-enable for the applicable HS link number to be started the HS link service with XG5000.
Select the network’s Send period (20ms~10s)
Input network type and base and slot No. where communication module is installed.
Chapter 6 High-speed Link Service
6-4
6.4 High-speed Link Parameters Settings
High-speed link param eter s shall be setup by the means of setup respec tive items f or High-speed link
after selecting High-speed link parameter number on the Hs link scr een of XG5000. The setting steps
and the functions of respective items are explained below.
6.4.1 Execution of XG5000
The initial screen of XG5000 will be displayed as shown below [Fig. 6.4.1] when XG5000 is executed.
[Fig. 6.4.1] Initial screen of XG5000
Chapter 6 High-speed Link Service
6-5
6.4.2 Standard settings (Module)
(1) Setting the communication m odule
Communication module setting can be registered via off-line or Online. Refer to Chapter 5 XG5000 program for more details.
(2) Downloading standard settings
Select [Online] - [Write] to open the ‘W rite parameter’ window of [Fig. 6.4.2]. Check applicable standard settings and click [OK] button. After standard settings are downloaded, surely let PLC power turn off and on or reset. If the communication m odule is not reset, the new comm unication parameters inform ation will not be applied.
[Fig. 6.4.2] Write Parameter window
Chapter 6 High-speed Link Service
6-6
6.4.3 High-speed Link Parameters (HsLink)
(1) Initial screen setting of High-speed link parameter s
Select HsLink window of XG5000 to display the window where High-speed link parameters can be setup. 12 High-speed links are available for XGT series PLC. And parameters setting are available for the communication modules installed on the basic or extended base.
[Fig. 6.4.3] Initial screen of High-speed link settings
Chapter 6 High-speed Link Service
6-7
(2) Communication Module Settings and Communication period settings
Double-click one of the High-speed links 01~12 on the [Fig.6.4.3] screen to open the Communication Module setting dialog box depicted in [Fig. 6.4.4] to setup communication module and communication period.
[Fig. 6.4.4] Communication module setting
Set the applicable communication module and communication period in the dialog box.
Item
Description
Communication module settings
Module type
Select the installed communication module type.
Base No.
Select the base number where applicable FEnet module is installed.
Slot No.
Select the slot number where applicable FEnet module is installed.
Communication
period settings
Period type
- High-speed link servic e is used to send and receive data
by user
defined parameters when the execution of PLC program is ended. Thus, if the scan time of PLC program is as short as
or less,
the communication data will be increased since the communication m odule sends data at the end of every scan, which will cause decreased efficiency of the whole communication system. In order to prevent this, the communication is controlled by th e specified comm unication period whose setting range is 20 ~ 10sec, which will be automatically set to default of 200 if not specified.
- The communication period will be applied for Send blocks.
- The communication period will be applied identically to all the Send
blocks included in the same High-speed link parameter number.
Chapter 6 High-speed Link Service
6-8
Output data
setup in case of
emergency
Latch
Maintain and send the latest data received from CPU. It is seen that it is cleared if CPU sends data as 0 even though latch is set. Mak e
sure to check the emergency output data setting of CPU.
Clear
It sends by setting received High-speed Link data as 0 in ignoring
data from CPU. If emergency data is set as ‘clear’ in emergency output data setting of XG5000 High-speed Link module s etting even though emergency output data setting of device area of High-speed Link sending part is set as latch in CPU, the data set as 0 is sent.
Make sure to set it after checking desired operation.
[Table 6.4.2] Setting of communication module and communication period
(3) High-speed link param et er s settings
Click [OK] on [Fig.6.4.4] screen to display [Fig.6.4.5] of ‘HS link block registration’ window.
[Fig. 6.4.5] HS link block registration screen.
Chapter 6 High-speed Link Service
6-9
(4) HS Link Block Settings
Double-click the left mouse button on the ‘HS Link Block Settings window’ to open [Fig.6.4.6] screen to register HS link blocks.
[Fig. 6.4.6] HS Link Block Settings
Classification
Description
Station type Master
FEnet I/F module operates as master. Slave function is not supported.
Mode
Send
Transmits data.
Receive
Receives data.
Station
number
Native/
Destination
Station No
Automatically, The High-speed link station number of self­station will be setup for Send blocks. Setup the High-speed link station number of corr espondent station f or Receive block s. Available station No. for High-speed link with FEnet I/F m odule is ‘0~63’.
Duplicated number is not allowed for station num bers of FEnet
I/F modules included in the identical network since it is a
specific number to discrim
inate FEnet I/F modules in the
network system.
Classification
Description
Block No.
Block number
Used to specify Send/Receive blocks.
Read area Address
The data memor y address where the data to be transmitted is stored.
Available memory area
1) XGK: P, M, K, F, T, C, U, Z, L, N, D, R, ZR
2) XGI/XGR: I, Q, M, L, K, U, R, W, F
Refer to the list of XGT CPU m emory device in appendix for
available range of each memory area.
Read area
Word size
Size (Word) The size of data to be transmitted in word unit.
Save area Address
The data memor y address to save the received dat a which is transmitted by the destination station.
1) XGK: P, M, K, F(subsection), T, C, U, Z, L, N, D, R, ZR
2) XGI/XGR: I, Q, M, L, K, U, R, W, F(subsection)
Refer to the list of XGT CPU memory device in appendix for
available range of each memory area.
Save area Word size
Size (Word) The data size of received block in word unit
[Table 6.4.3] High-speed link settings
Chapter 6 High-speed Link Service
6-10
(5) Downloading High-speed link paramet er s .
After High-speed link parameter s setting is complete, select [Online] - [Write (standard settings, HS link, P2P)] on XG5000, check applicable High-speed link and then click [OK].
[Fig. 6.4.7] Write Parameters Screen
(6) High-speed link param et er s enable
Select [Online] – [Comm unication module setting] - [Enable Link] on XG5000, check applicable High-speed link and c lick [Write]. If High-speed link enabled, HS LED will be turned ON on the module’s LED display to start High-speed link.
[Fig. 6.4.8] Link Enable Screen
Chapter 6 High-speed Link Service
6-11
6.5 High-speed Link Information
6.5.1 High-speed Link Flags
When High-speed link service is used to exchange data between communication modules of two or more stations, it provides a checking method of High-speed link service status for the user through High­speed link inf ormation so to c onfirm r eliability of the data read from the destination station via the High­speed link . In other words, the comm unication module
synthesizes the data received up to that time at
intervals of a specific time and lets the user know if High-speed link is operated as in parameters specified by the user through High-speed link information where the whole information of Run­link(_HSxRLINK) and Link-trouble(_HSxLTRBL) to provide the whole information of the c omm unication, and the individual information of _HSxSTATE, _HSxTRX, _HSxMOD and _HSxERR to provide communication status for registered items in the parameters are contained. The user can use the information in keyword format when programming, and also monitor the High-speed link status using the monitor function of the High-speed link information. Prior to its application, the user is requested to check the reliability of the communication data through High-speed link inf ormation of Run-link and Link­trouble when operating several PLCs with High-speed link service. [Table 6.5.1] shows the functions and definition of the High-speed link information.
Classification
Run-link
Link-trouble
Tx/Rx status
Operation Mode
Error
HS link status
Information type
Whole
information
Whole
information
Individual
information
Individual
information
Individual
information
Individual
information
Keyword name
(x=HS link No.)
_HSxRLINK _HSxLTRBL
_HSxTRX[n]
(n=0~127)
_HSxMOD[n]
(n=0~127)
_HSxERR[n]
(n=0.~127)
_HSxSTATE[n]
(n=0~127)
Data type
Bit
Bit
Bit-Array
Bit-Array
Bit-Array
Bit-Array
Monitor
Available
Available
Available
Available
Available
Available
Program
Available
Available
Available
Available
Available
Available
[Table 6.5.1] The definition of High-speed link information.
Select [Variable/Comment] on the XG5000 pr oject window to display [Fig. 6.5.1] as shown below. From
this window drag the device to be monitored on to the variable monitor window.
Chapter 6 High-speed Link Service
6-12
[Fig. 6.5.1] Variable monitor window
(1) Run-link (_HSxRLINK)
As the whole information it shows if High-speed link is normally executed through the user
defined parameters, wh os e status will be kept ‘On’ if onc e ‘On’ until Link Enable is ‘Off’, and also will be ‘On’ under the conditions specified below. A) If Link Enable is ‘On’. B) If all the register list settings of parameters are specified normally. C) If all the data applicable to the parameters register list is transmitted and received as
specified in the period.
D) If the status of all the destination stations specified in the parameters is Run and with no
error at the same time.
(2) Link-trouble (_HSxLTRBL where x is HS link No.(1~12))
As the whole information it shows if High-speed link is normally executed through the user defined parameters, which will be turned ‘On’ if condition to be turned ‘On’ the Run-link flag is violated when Run-link is On, and will be turned Off if the condition is recovered.
(3) Tx/Rx status (_HSxTRX[0..127] where x is HS link No.(1~ 12) )
As individual information it shows the operation status of High-speed link parameters on the register list up to 128 registered item s ’ Tx/Rx inform ation. If the Tx/R x operation of the registered items is agreeable to the Tx/Rx period, the applicable bit will be turned On, and if not, it will be turned Off.
Chapter 6 High-speed Link Service
6-13
(4) Operation mode (_HSxMODE[0..127] where x is High-speed link No.(1~12))
As individual information it shows the operation status of High-speed link parameters on the register list up to 128 registered items’ operation mode information just like the max. register number. If the station specified in the register item is in Run mode, the applicable bit will be turned On, and if in Stop/Pause/Debug mode, it will be turned Off.
(5) Error (_HSxERR[0..127] where x is High-speed link No.(1~12))
As individual information it shows the operation status of High-speed link parameters on the register list up to 128 registered items ’ error information jus t like the max. register num ber. The error displays the general status of the PLC which fails to execute the user program. If the destination station PLC is normal, it will be turned Off, and if abnormal, it will be turned On.
(6) HS link status (_HSxSTATE[0..127] where x is High-speed link No.(1~12))
As individual information it shows the operation status of High-speed link parameters on the register list up to 127 regis tered items ’ High-speed link status jus t like the m ax. register number , which synthesizes the information of the individual items to display the general infor m ation of the registered items. In other words , if the applicable list’s Tx/Rx s tatus is normal with the operation mode of Run and with no error, it will be turned On, and if the conditions above are violated, it will be turned Off.
6.5.2 Monitor of High-speed link information
High-speed link information can be check ed through the variable monitor on the monitor m enu when XG5000 is online state, or through the XG5000 diagnosis service.
(1) Variable monitor
Variable monitor is a function to register the variables to be m onitored and monitor the selected variables. Select [View] - [Variable Monitor Window] to display the variable registration screen as shown in [Fig. 6.5.1], and there select [Flag] directly to select and register High-speed link information flag one by one on the screen of the variable flags list. At this time, since _HSxSTATE[n], _HSxERR[n], _HSxMOD[n] and _HSxTRX[n] are the flags of array type, the user needs directly to select the array numbers which stand for the register numbers inside the parameters.
(2) High-speed link monitor from t he XG5000 diagnosis services
A) It will be available through the menu [Connect] -> [Online] ->
[Communication module setting] -> [System Diagnosis] on XG5000.
Chapter 6 High-speed Link Service
6-14
[Fig. 6.5.2] System Diagnosis
(3) W ith the mouse cursor placed on the applicable m odule, click the right button of the mouse and
select ‘Status for Respective Services’ to open [Fig. 6.5.3] screen as shown below.
[Fig. 6.5.3] XG5000 Diagnosis Services (status for respective services)
Chapter 6 High-speed Link Service
6-15
6.6 High Speed Link at Re dunda nt s ystem
6.6.1 In case of redundant network
When conf iguration redundant NET, station number and IP address of A-Side and B-side can be set without restriction. Namely, they can use same station number (I P address) or different station number because their networks operate respectively. There is no restriction.
[Fig 6.6.1] Redundant network configuration
(1) In case XGR is transmission mode and XGK(I) is reception mode
1) Publication of sequence number When sending the data at XGR, The first 1 word should publish the sequence number (SEQ_NO), this sequence number increases by 1 every scan.
2) User data The data to send actually is set other parts except the first 1 word. Since communication module of MASTER and STANDBY always execute same service at XGR system, the reception side should determine which data to get. And when there is error in one side, the reception part needs program to get the data of another s ide and not to get the data of one in error. The reception part can receive the correct data by receiving the data of updated sequence number.
3) Input data setting of reception side
Reception part take the data of updated sequence number as input data regardless of A-Side
or B-Side and memories the sequence number. Generally, scan time of Standby communication m odule is slower than that of Master c omm unication module with amount of 1 scan. So reception part takes the data of Master side as input data and memorizes the sequence number at that time. Though there is data from Standby side, reception part ignores that data considering not updated sequence number.
If communication of one side is not available because of line error, the data having the not
updated sequence number is not taken as input. So the user can take advantage of redundant system.
Chapter 6 High-speed Link Service
6-16
4) Function Block for High Speed Link At XGR and XGI, there is function block to deal with the reception data. And at XGK, there is no function block. So apply the program acting as Function Block. Refer to Ch6.7 .
5) TX/RX method by using sequence number is standard algorithm. If there is special
pattern according to user application, the user can’t use this.
(2) In case XGK(I) is transmission mode and XGR is reception mode
1) TRX setting
Make the two modules of XGK(I) send same data by same setting. At this time, sequence number is not necess ary. Take the data entering to the Master as input data and considering the network error, use the STATE FLAG as condition to take the input data. If STATE FLAG is OFF, copy the data of Standby to Master by SYNC instruction and take it as input data
Note
(1) For block setting, A-Side and B-Side is used in same manner. So station number of TX is different, take the double of block.
Chapter 6 High-speed Link Service
6-17
6.6.2 In case of single network
In case of single network, A-Side and B-Side are in the same network so station number and IP address should be different.
[Fig 6.6.2] Single network configuration
(1) In case XGR is transmission mode and XGK(I) is reception mode
1) Data TRX In case of transmis sion, since station to receive is only one, communication s etting is same with that of XGK(I)-X GK(I). In the reception side, when FLAG is ON, receive the data of A-Side and when FLAG is OFF, receive the data of B-Side
(2) In case XGK(I) is transmission mode and XGR is reception mode
1) Data TRX Make the XGK(I) send the same data to two communic ation module. In the reception side, take the data entering to Master as input data and use STATE FLAG as input condition of SYNC instruction to copy the Standby data to Master
Chapter 6 High-speed Link Service
6-18
6.7 High Speed Link Set t ing Program Exampl e
6.7.1 In case of redundant system
(1) In case XGR is transmission mode and XGK(I) is reception mode
1) Communication setting (XGR transmission side) a) Stand parameter setting (W hen One IP Solution is used and same HS link station number is
applied)
[Fig 6.7.1] Communication redundant standard setting
b) HS link block setting (In case sequence number is saved in Block 0)
[Fig 6.7.2] HS link block setting including sequence
c) HS link block setting (In case of setting sequence number (First Word) and user data in Block 0)
[Fig 6.7.3] HS link block setting not including sequence
2) Ladder program (XGR reception side) a) Increase the sequence number in the first Block and set the data to send in the second Block
Loading...