Page 1
Right choice for ultimate yield LSIS strives to maximize customers' profit in gratitude of choosing us for your partner. Programmable Logic Controller XGT FEnet I/F Module XGT Series User’s Manual XGL-EFMT(B) XGL-EFMF(B) XGL-EH5T Read this manual carefully before installing, wiring, operating, servicing or inspecting this equipment.
Page 2
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.
Page 3
Safety Instructions Safety Instructions for design process Warning 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.
Page 4
Safety Instructions Safety Instructions for design process Caution 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 cause malfunctions from noise Safety Instructions on installation process Caution Use PLC only in the environment specified in PLC manual or general standard of data sheet.
Page 5
Safety Instructions Safety Instructions for wiring process Warning Prior to wiring works, make 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.
Page 6
Safety Instructions Safety Instructions for test-operation and maintenance Warning Don’t touch the terminal when powered. Electric shock or abnormal operation may occur. 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.
Page 7
Safety Instructions Safety Instructions for waste disposal Caution Product or battery waste shall be processed as industrial waste. The waste may discharge toxic materials or explode itself.
Page 8
7. Changing error code table CH10.4 XG5000 V4.0 UI Update V 2.0 2014.11 XGL-EFMTB, XGL-EFMFB contents added V2.1 2016.10 ※ The number of User’s manual is indicated right part of the back cover. Copyright ⓒ 2014 LSIS Co., Ltd All Rights Reserved.
Page 9
User’s Manual. The User’s Manual describes the product. If necessary, you may refer to the following description and order accordingly. In addition, you may connect our website (http://www.lsis.com/) and download the information as a PDF file. Relevant User’s Manuals...
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 Cable Specifications ------------------------------------------------------------------------------------------ 2-9 2.4.1 UTP cable ----------------------------------------------------------------------------------------------- 2-9 2.4.2 Optical cable ------------------------------------------------------------------------------------------- 2-11...
Page 11
4.1.3 Combined with Public network and dedicated network system ----------------------------------- 4-2 4.1.4 Ethernet System of Public Network and Dedicated Network -------------------------------------- 4-3 4.1.5 Public network and dedicated network system composed of LSIS’ and other company’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,...
Page 12
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...
Page 13
9.2.4 Remote 2 connection directly from PC connected with Ethernet --------------- 9-10 Chapter 10 Troubleshooting 10.1 Check through communication module LED -------------------------------------------------------- 10-1 10.1.1 Abnormal operation display XGL-EFMT/EFMF ------------------------------------------- 10-1 10.1.2 Abnormal operation display XGL-EFMTB/EFMFB--------------------------------------- 10-2 10.1.3 Abnormal operation display XGL-EH5T ------------------------------------------- 10-4 10.2 Module Check with XG5000 ------------------------------------------------------------------------ 10-5...
Page 14
Chapter 11 Compliance with EMC Specifications 11.1 Requirements 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 Requirements Complying with Low Voltage Direction -------------------------------------------- 11-4 11.2.1 Specifications applicable to XGT series ---------------------------------------------------- 11-4 11.2.2 Selection of XGT series PLC ------------------------------------------------------------------ 11-4 Appendix A.1 XGT CPU Memory Device List ---------------------------------------------------------------------------- A-1...
Chapter 1 Overview 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.
▶ 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.
Chapter 1 Overview 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.
For more precise application of program and communication, please refer to the details below so to apply to the system. 1.4.1 Checking software (1) Application to XGT series Classification Programming tool and Frame Setting 10BASE-T/100BASE- XGL-EFMT(B) TX/1000BASE-T XG5000 XGL-EFMF(B) 100BASE-FX/1000X XGL-EH5T Switch...
Page 20
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.
Chapter 1 Overview 1.4.2 XG5000 XG5000 is exclusive software to setup parameters, edit frames and diagnose communication 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.
Page 22
Chapter 1 Introduction [Fig. 1.4.2] Checking module version through XG5000 2) Through the case label of the 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.
• Duration : 11ms Shocks Immunity IEC61131-2 • Pulse wave type : Half-sine (3 times each direction per each axis) Square wave AC : ±1,500V LSIS internal impulse noise DC : ±900V test spec. Electrostatic IEC61131-2 Voltage: 4kV (Contact discharge)
Chapter 2 Product Specifications 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) Product Name Item XGL-EFMT XGL-EFMTB XGL-EFMF XGL-EFMFB 10/100/1000 100/1000Mbp...
Chapter 2 Product Specifications 2.2.2 XGL-EH5T Item XGL-EH5T(Switch) 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 Transmission length 100m Specification Node interval Diagnosis LED (PWR power, Link Status, Data) 5V side consumption current Basic (mA)
▶ 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) ▶...
Chapter 2 Product Specifications 2.3 Structure and Characteristics 2.3.1 Structure of XGL-EFMT(B)/EFMF(B) (1) XGL-EFMT/XGL-EFMF LED display Media connector XGL-EFMT XGL-EFMF The table 2.3.1 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.
Page 28
Chapter 2 Product Specifications Contents Indicates whether P2P service is normal 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.
Page 29
Chapter 2 Product Specifications 내 용 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. Indicates whether High speed link service is normal or not. In case HS link setting is done, service is enabled and service is executed normally, LED is on.
Chapter 2 Product Specifications 2.3.2 Structure of XGL-EH5T module (1) XGL-EH5T LED display Media connection connector XGL-EH5T Special setting is not necessary and this module gets the power from power. If all LEDs except power LED flicker one time after power on, switch module is normal. LED description of XGL-EH5T LED status Flicker...
Chapter 2 Product Specifications 2.4 Cable Specifications 2.4.1 UTP cable UTP cable is classified into 2 types based on the following criteria. ① Shield: classified into 3 (UTP, FTP, STP) ② Frequency band used: classified into 7 (Cat.1~7) 1) Type of cables (shield) Classification Details Purpose...
Page 32
Chapter 2 Product Specifications 2) Classification based on frequency used Frequency used Transmission Classification Purpose (MHz) Speed (Mbps) Category 1 Phonetic Frequency Phone network (2-Pair) Category 2 Multi-Pair communication cable Category 3 Phone network + Computer network 1) Computer network transmission Category 4 speed Up 2) Low-loss communication cable...
Chapter 3 Installation and Operation Chapter 3 Installation and Operation 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) Select the cable to be used for communication module to use. (only one is available between 10/100 BASE-TX and 100BASE-FX).
Chapter 3 Installation and Test Operation 3.1.2 Operation steps The steps for operating FEnet I/F module from installation to operation will be described below. After the product installation is complete, install and configure the system to be operated as specified in the following steps.
RJ45 Connector Twist Pair Cable [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.
Page 37
Chapter 3 Installation and Test Operation 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.
Chapter 3 Installation and Operation 3.2.2 Installation of XGL-EFMF(B) Optical switch MULTI MODE SC: XGL-EFMF LC: XGL-EFMFB [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.
Chapter 3 Installation and Test Operation 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...
Page 40
[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...
Chapter 3 Installation and Test Operation 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.
Page 42
Chapter 3 Installation and Operation 2) Steps of operation The steps will be described below, starting from installation complete on PLC to test operation Start Power on Confirm input power. Check communication cable connection. Power on Check if power LED of power module is turned on. Check LED status of CPU module.
Chapter 3 Installation and Test Operation 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.
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.2] Ethernet System (Dedicated Network with LSIS’ PLCs) 4.1.3 Dedicated 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.
Page 46
Chapter 4 System Configuration 4.1.4 Public Network and Dedicated Network 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.
Chapter 4 System Configuration 4.1.5 Public Network and Dedicated Network system composed of LSIS’ and other company’s PLCs Broadband monitoring system[1] Broadband monitoring system[2] Router or Gateway Public network Router or Gateway Ethernet network (Network[1]) Other company’s PLC[D] Local monitoring system[2] Local monitoring system[1] [Fig.4.1.5] Ethernet System (Public Network + Dedicated Network + Other Company’s System)
Chapter 4 System Configuration 4.1.6 System configuration using dedicated Ethernet between HMIs, PLCs at XGR system At XGR system, Ethernet module should be installed at main base and same slot of A/B bases. Ethernet module installed at base acting as MASTER executes the communication service but Ethernet module installed at base acting as STANDBY CPU doesn’t execute the communication service.
Chapter 4 System Configuration 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.
Chapter 5 XG5000 Program Chapter 5 XG5000 Program In order to operate FEnet I/F module, XG5000, a dedicated S/W for communication modules, 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 communication modules such as FEnet, Cnet, DeviceNet and Profibus-DP communication modules, manage and diagnose communication modules.
Chapter 5 XG5000 Program 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 project, 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.
Chapter 5 XG5000 Program There are 4 types of PLC series; XGK, XGB, XGI and XGR. For more detail, refer to relevant 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.
Page 53
Chapter 5 XG5000 Program 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...
Page 54
Chapter 5 XG5000 Program 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.
Page 55
Chapter 5 XG5000 Program [Fig. 5.2.8] I/O information b) Click [I/O information] -> [I/O sync] [Fig. 5.2.9] I/O Sync...
Page 56
Chapter 5 XG5000 Program 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.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.
Page 58
Chapter 5 XG5000 Program 1) TCP/IP setting Classification Description Specify station No. for High-speed link communication between LSIS PLCs’ FEnet High-speed I/F modules, which shall not be duplicated identically to the correspondent link station No. communication module. Select media to use.
Page 59
Chapter 5 XG5000 Program 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 module is disconnected from server or Power is off (3) In case of using Remote connection to module using DHCP, when remote side restart, you have to...
Page 60
FEnet module IP address of master base 4. The above number + 1 becomes FEnet module IP address of standby base Specify station No. for High-speed link communication between LSIS PLCs’ FEnet I/F High-speed link modules, which shall not be duplicated identically to the correspondent station No.
Page 61
Chapter 5 XG5000 Program Classification Description Value necessary to check if destination station is on the same network of the Subnet mask applicable station. IP address of Gateway or Router to transmit/receive data through the public network Gateway or a network different from the network where the applicable FEnet module is included.
Chapter 5 XG5000 Program 5.3 High-speed Link Settings etting 5.3.1 S 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.
Page 63
Chapter 5 XG5000 Program (2) Setting communication module [fig.5.3.3] Setting of communication module and communication period Classification Description Module type Select FEnet. Communication Select Base No. the module is installed on. Base No. module settings (Main Base : 00) Slot No. Select Slot No.
Page 64
Chapter 5 XG5000 Program (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 MASTER...
Page 65
Chapter 5 XG5000 Program (5) Writing High-speed Link Parameter 1) Click [Online] -> [Write] [fig.5.3.7] Write menu Check [High speed Link] and Click ‘OK’ button. [Fig 5.3.8] Writing High-speed Link parameter 5-16...
Page 66
Chapter 5 XG5000 Program (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 5-17...
Page 67
Chapter 5 XG5000 Program 5.3.2 High Speed Link parameter at XGR redundant system Standard setting is same with XGK, XGI but parameter of communication module of MASTER and STANDBY should be set respectively. At redundant system, available number of module is up to 6.
Chapter 5 XG5000 Program 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 Initial selection screen 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’...
Page 69
Chapter 5 XG5000 Program [Fig. 5.4.3] Selection of communication module Classification Description Module type Select FEnet. Communication Select Base No. the module is installed on. Base No. module settings (Main Base : 00) Slot No. Select Slot No. the module is installed on. [Fig.
Chapter 5 XG5000 Program 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] ->...
Page 71
Chapter 5 XG5000 Program [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.
Page 72
Chapter 5 XG5000 Program (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.
Chapter 5 XG5000 Program 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 module, which will enable or disenable the operation relationship separately from the specified parameters, where the communication will be kept on based on the Enable conditions even if CPU stops.
Page 74
Chapter 5 XG5000 Program [Fig. 5.5.7] Selection of Enable Link If Enable Link Write is executed, a message 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 5-25...
Page 75
Chapter 5 XG5000 Program * 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”...
Page 76
Chapter 5 XG5000 Program Flag Data type Device Description _HS12_REQ F1030B HS link 12 enable/disable request _HS1_REQ_NUM F10310 HS link 1 enable/disable setting _HS2_REQ_NUM F10311 HS link 2 enable/disable setting _HS3_REQ_NUM F10312 HS link 3 enable/disable setting _HS4_REQ_NUM F10313 HS link 4 enable/disable setting _HS5_REQ_NUM F10314 HS link 5 enable/disable setting...
Chapter 5 XG5000 Program 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.
Chapter 5 XG5000 Program [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 communication modules. Main functions for each item are as described below in [Table 5.6.1].
Page 79
Chapter 5 XG5000 Program Classification Description Detailed module Displays communication module’s basic information, H/W and communication information 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.
Page 80
Chapter 5 XG5000 Program (2) Service status Service status of the communication module is classified into 3 (dedicated communication, P2P and High-speed link), which show detailed information on the respective communication services. 1) Dedicated Service Displays the service status of MMI or HMI dedicated protocol by means of higher client, and monitors Tx/Rx data and errors of the specified IP.
Page 81
Chapter 5 XG5000 Program 3) HS Link Service Monitor flags of respective parameters 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.
Page 82
Chapter 5 XG5000 Program (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.
[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)
Page 84
Chapter 6 High-speed Link Service 6.2 High-speed Link Send/Receive Data Processing High-speed link application will be described below with the example 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.
Chapter 6 High-speed Link Service 6.3 Operation Sequence through High-speed Link Specify and download the basic parameters such Set basic parameters HS link station No., media, IP address, etc. Reset Use XG5000 the PLC to apply downloaded basic parameters. ▽ Select HS link Open HS link setting window of XG5000 HS link setting window...
Chapter 6 High-speed Link Service 6.4 High-speed Link Parameters Settings High-speed link parameters shall be setup by the means of setup respective items for High-speed link after selecting High-speed link parameter number on the Hs link screen of XG5000. The setting steps and the functions of respective items are explained below.
Chapter 6 High-speed Link Service 6.4.2 Standard settings (Module) (1) Setting the communication module 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 ‘Write parameter’ window of [Fig. 6.4.2]. Check applicable standard settings and click [OK] button.
Chapter 6 High-speed Link Service 6.4.3 High-speed Link Parameters (HsLink) (1) Initial screen setting of High-speed link parameters 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.
Page 89
Chapter 6 High-speed Link Service (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.
Page 90
Chapter 6 High-speed Link Service Maintain and send the latest data received from CPU. It is seen that Latch 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. Output data It sends by setting received High-speed Link data as 0 in ignoring data from CPU.
Page 91
Chapter 6 High-speed Link Service (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 FEnet I/F module operates as master. Slave function is not Station type Master supported.
Page 92
Chapter 6 High-speed Link Service (5) Downloading High-speed link parameters. After High-speed link parameters 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 parameters enable Select [Online] –...
Chapter 6 High-speed Link Service 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 information so to confirm reliability of the data read from the destination station via the High- speed link.
Page 94
Chapter 6 High-speed Link Service [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, whose status will be kept ‘On’ if once ‘On’ until Link Enable is ‘Off’, and also will be ‘On’...
Chapter 6 High-speed Link Service (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.
Page 96
Chapter 6 High-speed Link Service [Fig. 6.5.2] System Diagnosis (3) With the mouse cursor placed on the applicable module, click the right button of the mouse and select ‘Status for Respective Services’ to open [Fig. 6.5.3] screen as shown below. [Fig.
Chapter 6 High-speed Link Service 6.6 High Speed Link at Redundant system 6.6.1 In case of redundant network When configuration 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 (IP address) or different station number because their networks operate respectively.
Page 98
Chapter 6 High-speed Link Service 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.
Chapter 6 High-speed Link Service 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 transmission, since station to receive is only one, communication setting is same with that of XGK(I)-XGK(I).
Page 100
Chapter 6 High-speed Link Service 6.7 High Speed Link Setting Program Example 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 (When 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)
Page 101
Chapter 6 High-speed Link Service Increasing SEQ-NO for HS link transmission Writing the user HS link data to send [Fig 6.7.4] sequence program setting screen 3) Communication setting (XGK(I) reception part) a) Standard parameter setting Standard setting of Comm. Module connected to A-Side Standard setting of Comm.
Page 102
Chapter 6 High-speed Link Service The user can set SEQ-NO and user data in one block like the figure below [Fig 6.7.7] HS link parameter setting not including sequence reception c) HS link block setting ( Comm. module connected to XGR B-Side) [Fig 6.7.8] HS link parameter setting including sequence reception The user can set SEQ-NO and user data in one block like the figure below [Fig 6.7.9] HS link parameter setting not including sequence reception...
Page 103
Chapter 6 High-speed Link Service Classification Contents MOD_A STATE FLAG about HS link input block of A-Side MOD_B STATE FLAG about HS link input block of B-Side RX_SRI_A SEQ No. of A-Side (Device setting (Word) of HS link first input block) RCV_A1 Reception data of A-Side (flexible Array) RX_SRI_B...
Page 104
Chapter 6 High-speed Link Service Adding MOD_A, MOD_B (Fixing the problem that another network doesn’t operate when one network is down Though connection of FEnet fails, NDR bit is added because Run Link is set 6-22...
Page 105
Chapter 6 High-speed Link Service (2) In case XGK(I) is transmission mode and XGR is reception mode 1) Communication setting(XGK(I) transmission part) Standard setting connected to A-Side Standard setting connected to A-Side [Fig 6.7.11] Single standard setting a) HS link block setting (Comm. module connected to XGR A-Side) [Fig 6.7.12] A-SIDE High Speed Link parameter setting b) HS link block setting (Comm.
Page 106
Chapter 6 High-speed Link Service 3) Comm. setting (XGR reception side) a) Standard parameter setting [Fig 6.7.15] redundant reception side standard setting b) Block setting [Fig 6.7.16] Redundant HS link reception parameter setting 4) Ladder program (XGR reception side) In case network is normal, the user can take data of Master side but in case network is not normal, the user copy the data of Standby to Master and take it as input data by using STATE FLAG and SYNC instruction.
Page 107
Chapter 6 High-speed Link Service 6.7.2 In case of single network (1) In case XGR is transmission mode and XGK(I) is reception mode 1) Communication setting (XGR reception side) [Fig 6.7.18] redundant standard setting [Fig 6.7.19] Redundant HS link parameter setting including SEQ-No. 2) Ladder program (XGR reception side) Increasing SEQ-NO for HS link reception Writing HS link data for user to send...
Page 108
Chapter 6 High-speed Link Service 3) Communication setting(XGK(I) reception side) [Fig 6.7.21] Reception side Hs link parameter setting including SEQ-No. 4) Ladder program (XGK(I) reception side) [Fig 6.7.22] HS link reception FB setting (2) In case XGK(I) is transmission mode and XGR is reception mode 1) Communication setting (XGK(I) reception side) [Fig 6.7.23] HS link parameter setting 6-26...
Page 109
Chapter 6 High-speed Link Service 2) Ladder program (XGK(I) transmission side) HS link transmission data setting [Fig 6.7.24] Ladder program setting screen 3) Communication setting (XGR reception side) [Fig 6.7.25] Redundant reception Hs link parameter setting 4) Ladder program (XGR reception side) [Fig 6.7.26] Ladder program through SYNC instruction 6-27...
Chapter 7 P2P Service Chapter 7 P2P Service 7.1 Introduction 7.1.1 Introduction to P2P service P2P service executes Master operation of the communication module as realized with parameters setting which was with function blocks (instruction). 8 P2P instructions available in FEnet I/F module are Read, Write, Write_NC, Send, Send_NC, Receive, ESend and EReceive.
Chapter 7 P2P Service 7.1.2 Configuration of P2P parameters In order to use P2P service the user needs to execute setting for the operation desired on the P2P parameters window. Specify type, base and slot as desired on the P2P screen to display P2P parameters setting screen composed of 4 kinds of information as shown in the figure below;...
Chapter 7 P2P Service 7.2 Type of P2P Service 7.2.1 Type of P2P Instructions (1) P2P instructions 6 instructions are available for programming P2P communication service, and each instruction will be used with different purpose according to respective service methods as described in the table below, for reference.
Chapter 7 P2P Service 7.2.2 Type of P2P Service (1) XGT Client XGT Client service is used to communicate between XGT FEnet I/F modules. Through its own protocol built-in without additionally defined frame, the user can specify communication settings simply with basic settings of channel, data type (BIT, BYTE, WORD, etc.) and memory area. Use port No.2004 for TCP, and port No.2005 for UDP protocol.
(2) Type of Ethernet (server) drivers Driver types available are as specified below; Type Description XGT server XGT FEnet dedicated protocol by LSIS Modbus TCP/IP server Open type of protocol by Modicon [Table 7.3.1] Types of Ethernet (server) drivers Notes (1) The number of drivers is changeable according to specified Ethernet channel.
Chapter 7 P2P Service 7.3.2 P2P channel Ethernet P2P channel is used when XGT FEnet I/F module executes the master function of communication with built-in XGT protocol or user defined protocol. ETOS Ethernet Device Connection Request (only for TCP/IP) Data Read/Write Request Ethernet channel Ethernet...
Page 116
Chapter 7 P2P Service If the desired port is selected, “P2P Channel Settings” window will appear for the user to define P2P driver type applicable for the port. [Fig. 7.3.4] P2P driver client setting Drivers and details available in XGT FEnet I/F are as follows; Items Details User frame...
Page 117
Chapter 7 P2P Service 1) How to use Modbus driver [Table 7.3.3] displays instructions and addresses of Modbus devices. Modicon PLC Code Function code name Remarks data address Output Contact Status Read (Read Coil Status) 0XXXX(bit-output) Bit Read Input Contact Status Read (Read Input Status) 1XXXX(bit-input) Bit Read Output Register Read (Read Holding Registers)
Chapter 7 P2P Service 7.3.3 P2P Block If user select P2P block of relevant parameter, P2P parameter setting window will be displayed. [Table 7.3.5] selection of P2P block Up to 64 independent blocks are available. If user selects some block at XG5000, user can set the function of block.
Page 119
Chapter 7 P2P Service (4) P2P function Let the driver execute READ or WRITE 1) READ It is used when reading some area of partner device and save them. It is applied to XGT Client and Modbus TCP client driver Available memory area: P,M,K,F,T,C,U,Z,L,N,D,R,ZR,%Q,%I,%M etc.
Page 120
Chapter 7 P2P Service (11) Setting When setting XGT client or user definition frame, it defines the memory area to send/receive. In case of TX, it sets the area to send (M0000) and to save the data from partner device. 7-11...
Chapter 7 P2P Service 7.3.4 User Defined Frame Send/Receive frames must be defined if there are frames to be sent or received whose structure is different from the structure of XGT dedicated frame or Modbus TCP frames in the network. This is available only in P2P service.
Page 122
Chapter 7 P2P Service 1) Numerical constant The part to be fixed as Constant shall be defined among frames, with the value of the data item specified in hexadecimal. [Fig. 7.3.9] Numerical constant to select and input 2) String Constant String Constant shall be registered among frames, with the value of the data item specified in ASCII code.
Page 123
Chapter 7 P2P Service 4) Variable sized variable a) Available in the Body area of the frame b) Send Frame Used to change the length of frame. Check “Assign memory” to configure the send frame with the data read from PLC memory. c) Receive Frame (a) Used to process the Variable sized data among the received frames.
Page 124
Chapter 7 P2P Service If h1234567811223344 is converted by respective methods above, its results are as follows; - 2 Bytes swap : h3412785622114433 - 4 Bytes swap : 7856341244332211 - 8 Bytes swap : 4433221178563412 7-15...
Chapter 7 P2P Service 7.4 P2P Service Operation After P2P parameters are specified, download the parameters onto PLC CPU and start the P2P service. It is supposed that P2P parameters to download are already prepared and connection is available with the applicable PLC CPU.
Page 126
Chapter 7 P2P Service (2) P2P service start Even after P2P parameters are downloaded, P2P shall be started in order to start the P2P service. Select [Online] -> [Communication module setting] -> [Enable Link] (HS link, P2P)] on the menu. [Fig.
Chapter 7 P2P Service 7.5 P2P Diagnosis Function Diagnosis function of P2P system is used to display the service status and information of the communication program after the driver of the communication module is specified. The user can check the normal P2P service through the diagnosis system. Refer to Chapter 5 XG5000 Program for more details.
Page 128
Chapter 7 P2P Service 1) P2P service It is used to display detailed information on the user defined service executed, check and read the service status if P2P parameters are set and enabled, where real-time monitoring is available with Individual Read or Continuous Read specified on the menu. [Fig.
Chapter 7 P2P Service 7.6 E-mail service using P2P service 7.6.1 E-mail service When there’s problem, E-mail service can be used to notify the problem to manager. When status of CPU is changed or specific event occurs, it notified the status to manager by using E-mail or SMS service.
Page 130
Chapter 7 P2P Service [Fig 7.6.2] E-mail setting window Item Details Determines whether to use E-mail service. In order to use E- Use E-Mail mail function, check this box. User name seen when partner receives the mail. If it is set as User name PLC, PLC will be name of E-mail sender.
Page 131
Chapter 7 P2P Service Item Details POP3 server Server addresses receiving the E-mail from other device. Any address mail server supporting POP3 can be used SMTP server Server addresses sending the E-mail to other device. Any mail address server supporting SMTP can be used Server Account name in the POP3 which should be same with mail Account name...
Page 132
Chapter 7 P2P Service [Fig 7.6.4] Setting screen of Address Lock Select the No and press Edit or double-click the No to active the following screen [Fig 7.6.5] Address Edit window [Fig 7.6.6] complete screen of Address Lock 7-23...
Page 133
Chapter 7 P2P Service When sending E-mail to group, press Group [Fig 7.6.7] Group setting screen [Fig 7.6.8] complete screen of Address Lock (including Group) If you select Group, already registered individual address is indicated at left side. Select individual to be member of group and press OK to create Group address.
Page 134
Chapter 7 P2P Service 2) Writing message Press “Message” to edit message [Fig 7.6.9] P2P project window (Message setting) The following figure is message edit window [Fig 7.6.10] E-mail message registration window Click “Add” to activate the following screen. Set the Form and Size and write the message data. Form is classified into String and Byte data receiving from CPU.
Page 135
Chapter 7 P2P Service [Fig 7.6.11] E-mail message edit window [Fig 7.6.12] E-mail Edit setting (MB) [Fig 7.6.13] Registration result screen of E-mail message 7-26...
Page 136
Chapter 7 P2P Service (3) Setting of P2P block Sets the parameter of P2P block to send message set in the previous steps If setting the E-mail button after clicking the P2P block, P2P instruction can be selectable. [Fig 7.6.14] P2P project window (P2P block) [Fig 7.6.15] P2P parameter setting window [Fig 7.6.16] Setting screen in case of E-mail TX 7-27...
Page 137
Chapter 7 P2P Service [Fig 7.6.17] Setting screen in case of E-mail RX Item Details E-mail Enables the E-mail service ESEND Sends E-mail P2P function ERECEIVE Receives E-mail Inputs device to use as start condition Conditional flag Memory area and flag are available Mail message Inputs index number of message list among the E-mail setting in P2P number...
Chapter 7 P2P Service 7.7 P2P service at Redundant System In case of P2P service, if you want to take data of redundant system, don’t use P2P Write at XGR side and Set READ at XGK(I) side by using flag of P2P service. Save the normal service count of P2P service connected to A-Side and B-Side and after you check if the STATUS of relevant block is 0 or not, take the data of one side by checking STATUS is 0 and normal service count increases.
Page 139
Chapter 7 P2P Service If no.1 is normal, data of No.1 is taken. If no.1 is abnormal, data of No.2 is taken (2) In case XGR and XGK(I) are configured as redundant system with different IP address at the separated network, P2P service connected to Master (standby) is no.1 and P2P service connected to Standby (master) is no.2.
Page 140
Chapter 7 P2P Service If no.1 is normal, data of No.1 is taken. If no.1 is abnormal, data of No.2 is taken (3) In case XGR and XGK(I) are configured as redundant system with same IP address at the separated network, only standard setting is different with (2). You can configure the redundant system by using same ladder program to configure redundant system.
Chapter 8 Dedicated Protocol Communication Chapter 8 Dedicated Communication 8.1 Dedicated Communication 8.1.1 Introduction The dedicated communication service is reading and writing information and data of PLC from/on PC and associated devices with the protocol built-in FEnet I/F module. The FEnet I/F module operates as a server in the network and responds to memory Read/Write request instruction with XGT dedicated protocol or MODBUS TCP protocol by Computer or external devices.
Application Header Format Application Instruction Format (1) Header Structure (Application Header Format) Item Size(byte) Description “LSIS-XGT” + “NULL NULL(reserved area)” Company ID (ASCII CODE : 4C 53 49 53 2D 58 47 54 00 00) Reserved h00 : Reserved area * Client(MMI) ...
Page 143
XGT’) area (2) ** Figure in ( ) means the number of bytes. ▷ Company ID: ‘LSIS-XGT’ in ASCII text ▷ Reserved: area to match the character string number with LGIS-GLOFA ▷ PLC Info: Information area for PLC ▷ Invoke ID: ID used to discriminate the sequence among frames, which can be set optionally at request instruction.
Chapter 8 Dedicated Communication 8.1.3 Instruction list Instructions used in dedicated communication service are as shown below in the table. Instruction Instruction Data type Processing Details code Reads Bit, Byte, Word, Double word and Long word type Request : Individual of variables data based on each data type.
Chapter 8 Dedicated Protocol Communication 8.2. Execution of Instructions 8.2.1 Read Separated Direct Variable (1) Introduction This function is used to directly specify the device memory address and the data type to read. Up to 16 separate device memory areas can be read at a time (2) Request format (PC ->...
Page 146
Chapter 8 Dedicated Communication 3) Variable Input the address of memory device to be read actually. It shall be ASCII value within 16 characters. Others than figure, capital/small letter, ‘%’ and ’.’ are not allowed. Based on the PLC type, available types of variables are as described below. Classification Byte Word...
Page 147
Chapter 8 Dedicated Protocol Communication 1) Data Size It means the number of bytes in Hexadecimal. This number is decided based on the memory type (X,B,W,D,L) included in variable name of the computer request format. 2) Number of blocks Used to specify the number of blocks composed of ‘[Number of Data][Data]’ in the request format up to 16 blocks.
Chapter 8 Dedicated Communication 8.2.2 Read Continuous Direct Variable (1) Introduction This function is used to read the data of directly defined PLC device memory continuously as many as specified from the address specified. (2) Request format (PC ⇒ PLC) ■...
Page 149
Chapter 8 Dedicated Protocol Communication (3) Response format (For PLC’s ACK Response) ■ Read Response of Continuous Variable (PLC MMI) Item Size(byte) Description Instruction h0055 : Read Response Data type h0014 : Block Type Reserved area h0000 : Don’t Care Error status Normal if it is 0, abnormal if not 0.
Chapter 8 Dedicated Communication 8.2.3 Write Separated Direct Variable (1) Introduction This function is used to directly specify the PLC device memory to write data on applicably to its memory data type. The data can be written on up to 16 separate device memories at a time. (2) Request format (PC ->...
Page 151
Chapter 8 Dedicated Protocol Communication 3) Variable Input variable’s address to read actually. It shall be ASCII value within 16 characters. Others than figure, capital/small letter, ‘%’ and ’.’ are not allowed for the variable name. Notes (1) Device data type of each block shall be surely identical. If the data type of the first block is Word, and that of the second is Double Word, an error may occur.
Chapter 8 Dedicated Communication 8.2.4 Write Continuous Direct Variable (1) Introduction This function is used to write the data on the directly defined PLC device memory continuously as many as specified from the address specified. However, byte type of variables is only available. (2) Request format ■...
Page 153
Chapter 8 Dedicated Protocol Communication (3) Response format (in case of PLC ACK response) ■ Write Response of Continuous Variable (PLC MMI) Item Size(byte) Description Instruction h0059 : Write Response Data type h0014 : Block Type Reserved area h0000 : Don’t Care. Error status Normal if it is 0, abnormal if not 0.
Chapter 8 Dedicated Communication 8.2.5 Status Read Request (MMI -> PLC) (1) Introduction This service allows the user to use information and status of PLC through communication. (2) Computer Request format Item Size(byte) Description Instruction h00B0 : Status Request Data type h0000 : Don’t Care Reserved area h0000 : Don’t Care...
Page 155
Chapter 8 Dedicated Protocol Communication (5) Description of flags 1) _CPU_TYPE 15Bit : XGK(1)/XGI(0), 15-Bit : Single, Redundancy master(0)/ Redundancy slave(1) Single : h8000~hffff hA001 : XGK-CPUH hA002 : XGK-CPUS 2) _VER_NUM hXXYY : xx.yy 3) _SYS_STATE It displays operation mode and operation status information of the system (DWORD, F00~F01) Variable Type Device...
Page 156
Chapter 8 Dedicated Communication Variable Type Device Function Description I/O skip being Specified I/O module existent to stop error _SKIP_ON F00012 executed check and data refresh. Error mask being Specified I/O module existent to speedily carry _EMASK_ON F00013 executed out the operation even if a defect occurred. External monitor in progress for programs and _MON_ON F00014...
Page 157
Chapter 8 Dedicated Protocol Communication Variable Type Device function Description F00027 Basic parameters _BPRM_ER F00028 Displayed if basic parameters abnormal. error IO configuration Displayed if I/O configuration parameters _IOPRM_ER F00029 parameters error abnormal. Special module Displayed if special module parameter _SPPRM_ER F0002A parameters error...
Page 158
Chapter 8 Dedicated Communication Variable Type Device Function Description Displayed if identical tasks requested as _TASK_ER F00044 Task impact duplicated when user program executed. Displayed if battery voltage for back-up of Battery _BAT_ER F00045 error user program and data memory is less than specified.
Chapter 8 Dedicated Protocol Communication 8.3 Modbus/TCP Dedicated Server This is used when it operates as the master of other device or higher PC (MMI) Modbus. 8.3.1 Driver setting [Fig. 8.3.1] Modbus TCP driver setting [Fig. 8.3.2] Modbus TCP address 8-19...
Page 160
Chapter 8 Dedicated Communication Modbus function and the maximum number of response data that Modbus TCP driver supports are described in the table below. The correspondent master device shall make a request within the range specified in the table. For example, Bit Read Request is available up to 2000 bits, and Bit Write Request is up to 1600 bits.
Chapter 9 Remote Connection Service Chapter 9 Remote Connection Service 9.1 Introduction This function is used for programming, downloading of user program, program debugging, monitoring, etc in network system where PLCs are connected with each other via Ethernet by remote control without moving the physical connection status of XG5000.
Chapter 9 Remote Connection Service 9.2 Setting and Connection All PLCs connected via XGT network are available to connect with each other by remote connection service. XG5000 remote connection is composed of stage 1 and stage 2 connections as described below. The followings explains remote 1 and remote 2 connections.
Page 163
Chapter 9 Remote Connection Service 9.2.1 Remote stage 1 connection (If RS-232C cable used) For remote stage 1 connection, XG5000 shall be in off-line state. Click [Online] -> [Connection settings] [Fig. 9.2.2] XG5000 remote connection option to select (1) Connection type It designates the connecting method for local connection.
Page 164
Chapter 9 Remote Connection Service [Fig. 9.2.3] XG5000 remote stage 1 connection (3) Network type Select a network type for stage 1 connection among Rnet, Fdnet, Cnet, FEnet and FDEnet. XGL-FEnet is to be selected because stage 1 connection is applied through FEnet in [Fig. 9.2.3].
Page 165
Chapter 9 Remote Connection Service (5) IP address Specify the IP address of FEnet I/F module installed in the PLC which will be connected with XG5000 in the network 1. Use the IP address of FEnet module installed in PLC #2 station, 192.168.91.189 in [Fig.
Page 166
Chapter 9 Remote Connection Service 9.2.2 Remote stage 2 connection (RS-232C cable is used for local connection) For remote stage 2 connection, XG5000 shall be in off-line state. Click [Online] -> [Connection settings] like [fig.9.2.2] (1) Connection type Select Local connection. [Fig. 9.2.4] shows that select RS-232C for Type and Remote 2 for Depth.
Page 167
Chapter 9 Remote Connection Service Remote 2 only will be described below since the others are the same in the dialog box above. (1) Setting of network type Select a network type for remote stage 2 connection among XGT Rnet, Fdnet, Cnet, FEnet and FDEnet.
Chapter 9 Remote Connection Service 9.2.3 Remote 1 connection directly from PC connected with Ethernet Remote stage 1 connection via Ethernet without connecting RS-232C is available if a PC where XG5000 is operating is included in PLC Ethernet network. PLC [1] PLC [2] PLC [n] IP: 210.206.91.187...
Page 169
Chapter 9 Remote Connection Service (1) Connection type Select an applicable type for connection. In the case of [Fig. 9.2.6], select Ethernet because the connection is established directly via Ethernet without application of RS-232C. (2) Connection depth Decide a PLC connection stage of remote stage 1 or 2. Select remote 1 here. (3) IP address Set the IP address of FEnet I/F module to connect to.
Chapter 9 Remote Connection Service 9.2.4 Remote 2 connection directly from PC connected with Ethernet Remote stage 2 connection is available via Ethernet if a PC where XG5000 is operating is included in one PLC Ethernet network and one Ethernet is connected with other Ethernet network.
Page 171
Chapter 9 Remote Connection Service Notes (1) Precautions for operation with remote stage 1 & 2 connection 1) The following menus are not available if the types between the project presently open in XG5000 and the CPU connected with stage 1 or 2 are not identical. A) Write program and each parameter B) Read program and each parameter C) Monitor...
A/S rule. 10.1 Check through Communication Module LED The status of the communication module can be checked through LED display. 10.1.1 Abnormal operation display of XGL-EFMT/EFMF The operation status can be checked through LED in front of Ethernet module. XGL-EFMT RUN □...
Chapter 10 Troubleshooting Error Action 1) Check if the basic parameter is downloaded correctly. Turned off during 2) Check HS link setting if correct. HS link service 3) Check if ‘Link Enable’ is enabled. Turned off during 1) Check if IP address for remote (PADT) connection is normal. PADT Remote connection 2) Check if remote connection of PADT is disconnected...
Page 174
Chapter 10 Troubleshooting 1) Check if the basic parameter is downloaded correctly. Turned off during 2) Check if the function block/command is edited correctly. command 3) Check if the media is connected correctly. service 4) Check if ‘Link Enable’ is enabled. 1) Check if the basic parameter is downloaded correctly.
Chapter 10 Troubleshooting 10.1.3 Abnormal operation display of XGL-EH5T The operation status can be checked through LED in front of Ethernet module <XGL-EH5T’s LED> [Fig 10.1.3] LED structure of FEnet I/F module This switch module (EH5T) doesn’t need specific parameter setting and it uses power form Base.
Chapter 10 Troubleshooting 10.2 Module Check with XG5000 10.2.1 Error check in XG5000 XG5000 program can be used to monitor the communication module simply. Establish connection between PLC and a PC in which XG5000 is installed, and then select [Online] -> [PLC History], [PLC Error/Warning] in XG5000.
Chapter 10 Troubleshooting 10.2.2 Error code It is brief and can monitor a communication module error through XG5000. Click [Onlie] -> [Communication module setting] -> [System diagnosis[] Right click FEnet module -> [Status by service] -> [P2P Service] When you use the E-mail service, please perform reference of E-mail error code. Error type Error code Description 0x0001...
Chapter 10 Troubleshooting 10.3 Module Check through Error Codes Identify the error codes of abnormal operations described. Troubleshooting will show error details and actions to take against. 10.3.1 Troubleshooting (1) Run LED Off : H/W error H/W error Powered Check power/voltage. normally? Installed Let the conditions as...
Page 179
Chapter 10 Troubleshooting (2) I/F LED Off : Interface error Interface error Powered Check power/voltage. normally? Let the conditions Installed modified or complemented as specified? as specified. Install communication Communication Module installed correctly module correctly on the on basic base? basic base.
Page 180
It can read or write maximum 1400byes at once. That restriction is exceeded 0x0006 (Total size per block) 0x0075 First part of frame header is wrong at dedicated service (‘LSIS-GLOFA’) 0x0076 Length of frame header is wrong at dedicated service 0x0077...
Page 181
Chapter 11 Compliance with EMC Specifications Chapter 11 Compliance with EMC Specifications 11.1 Requirements Complying with EMC Specifications EMC Directions describe “Do not emit strong electromagnetic wave to the outside: Emission” and “Do not have an influence of electromagnetic wave from the outside: Immunity”, and the applicable products are requested to meet the directions. The chapter summarizes how to structure a system using XGT PLC to comply with the EMC directions.
Chapter 11 Compliance with EMC Specifications 11.1.2 Panel The PLC is a kind of open device(installed on another device) and it should be installed in a panel. It is because the installation may prevent a person from suffering from an accident due to electric shock as the person contacts with the product(XGT PLC) and the panel can attenuates the noise generating from the PLC.
Chapter 11 Compliance with EMC Specifications 2) Power cable and grounding cable The grounding/power cable of PLC should be treated as follows. (1) The panel should be grounded with a thick wire() to secure a lower impedance even in high frequency. (2) LG(Line Ground) terminal and FG(Frame Ground) terminal functionally let the noise inside the PLC flow into the ground, so a wire of which impedance is low should be used.
Chapter 11 Compliance with EMC Specifications 11.2 Requirements Complying with Low Voltage Direction The low voltage direction requires a device that operates with AC50~1000V, DC 75 ~ 1500V to have proper safety. The followings summarize the cautions for installing and wiring PLC of the XGT series to comply with the low voltage directions. The description is the data based on the applicable requirements and specifications as far as we know but it does not mean that every system manufactured according to the description meets the following specifications.
Appendix Appendix A.1 XGT CPU Memory Device List For up-to-date device list of each CPU, refer to relevant CPU user manual. The following contents are based on when this user manual is written. A.1.1 Device of XGK CPU It is the memory addresses of CPU for the data send/receive. Device type Range Size(Word)
Appendix A.1.2 Device of XGI CPU Device type Size Range Reference Symbolic variable Max 256K byte can be set as 512K byte %AW0~%AW262143 area(A) retain-area Input variable(I) 16K byte %IW0.0.0 ~ %IW127.15.3 Output variable(Q) 16K byte %QW0.0.0 ~ %QW127.15.3 Max 128K byte can be set as 256K byte %MW0~%MW131071 retain-area...
Appendix A.2 Terminology A.2 explains it for the general term of the FEnet I/F module. If you want more detailed contents, Please perform reference of an Ethernet specialized book. 1. IEEE 802.3 IEEE 802.3 specifies standards for CSMA/CD based Ethernet. Exactly it is a LAN based on CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Ethernet designed by IEEE 802.3 group, which is classified into detailed projects as specified below;...
Page 188
Appendix 8. E-mail Address The address of the user with login account for the specific machine connected via the Internet. Usually user’s ID @ domain name (machine name) is assigned. In other words, it will be like hjjee@microsoft.com, where @ is called as ‘at’ displayed with shift+2 pressed on the keyboard. The letters at the back of @ are for the domain name of specific company (school, institute,..) connected with the Internet, and the letters in front of @ are for the user ID registered in the machine.
Page 189
Appendix 17. IP Address Address of respective computers on the Internet made of figures binary of 32 bits (4 bytes) to distinguish the applicable machine on the Internet. Classified into 2 sections, network distinguishing address and host distinguishing address. The network address and the host address is respectively divided into class A, B and C based on the bits allotted.
Page 190
Appendix 27. Server The side which passively responds to the client’s request and shares its resources. 28. TCP (Transmission Control Protocol) A transport layer protocol for the Internet - Data Tx/Rx through connection - Multiplexing - Transmission reliable - Emergent data transmission supported 29.
Page 191
Appendix 33) Auto-Negotiation Auto-negotiation is the process that Ethernet device changes information for the performance such as speed, mode (duplex) 1. The reason discovery that connection was refused. 2. Decide the performance that the network equipment has. 3. Change connection speed. 34) FDDI(Fiber Distributed Data Interface) Based on optical cable, provides 100Mbps, Shared Media Network as Dual Ring method, Token Passing is done in two-way.
Appendix A.3 List of Flags A.3.1 List of Special Relays (F) Device 1 Device 2 Type Variable Function Description Mode & Status PLC mode & run status displayed. F0000 DWORD _SYS_STATE RUN status. F00000 _RUN STOP STOP status. F00001 _STOP ERROR ERROR status.
Page 193
Appendix Device 1 Device 2 Type Variable Function Description Compile code 1 Compile code 1 selected. F0001E _CB1 Compile code 2 Compile code 2 selected. F0001F _CB2 System error Serious error in system reported. F0002 DWORD _CNF_ER CPU error CPU configuration error found. F00020 _CPU_ER Module type error...
Page 194
Appendix Device 1 Device 2 Type Variable Function Description HS link 5 HS link – parameter 5 error F0004C _HS_WAR5 HS link 6 HS link – parameter 6 error F0004D _HS_WAR6 HS link 7 HS link – parameter 7 error F0004E _HS_WAR7 HS link 8...
Page 195
Appendix Device 1 Device 2 Type Variable Function Description Repeat specific scan ON/OFF CLOCK 2 for specific scan F00102 _USR_CLK2 Repeat specific scan ON/OFF CLOCK 3 for specific scan F00103 _USR_CLK3 Repeat specific scan ON/OFF CLOCK 4 for specific scan F00104 _USR_CLK4 Repeat specific scan ON/OFF CLOCK 5 for specific scan...
Page 196
Appendix Device 1 Device 2 Type Variable Function Description WORD _PUTGET_NDR6 PUT/GET complete 6 Added base step 6 PUT / GET complete F0029 WORD _PUTGET_NDR7 PUT/GET complete 7 Added base step 7 PUT / GET complete F0030 CPU type Information on CPU type displayed. F0044 WORD _CPU_TYPE CPU version...
Page 197
Appendix Device 1 Device 2 Type Variable Function Description Block service Increased if module’s block data serviced F0074 DWORD _CA_CNT Increased if module’s block data service Block service LIMIT F0076 DWORD _CA_LIM_CNT abnormal. Block service Increased if module’s block data service F0078 DWORD _CA_ERR_CNT ERROR...
Page 198
Appendix Device 1 Device 2 Type Variable Function Description F0116 WORD _FUSE_ER4 Fuse blown 4 error Added base step 4 Fuse blown error F0117 WORD _FUSE_ER5 Fuse blown 5 error Added base step 5 Fuse blown error F0118 WORD _FUSE_ER6 Fuse blown 6 error Added base step 6 Fuse blown error F0119...
Page 199
Appendix Device 1 Device 2 Type Variable Function Description F0148 DWORD _LOG_ROTATE Log rotate Log rotate information saved. F0150 WORD _BASE_INFO0 Slot information 0 Main base slot information F0151 WORD _BASE_INFO1 Slot information 1 Added base step 1 slot information F0152 WORD _BASE_INFO2 Slot information 2...
Appendix A.3.2 List of Communication Relays (L) 1) Special register for data link HS link No. 1 ~ 12 Keyword Type Detail Description Displays all stations normally operated as specified in HS link parameter, which will be On if 1.There is no error with all stations specified in parameter in RUN mode HS link parameter _HS1_RLIN...
Page 201
Appendix HS link No. L area address Remarks Compared with HS link of 1 in [Table 1], other HS link station L000500~L00099F number’s flag address will be simply calculated as follows; L001000~L00149F L001500~L00199F ∗Calculation formula: L area address = L000000 + 500 x (HS link L002000~L00249F No.
Page 202
Appendix P2P parameters: 1~8, P2P block: 0~63 Keyword Type Detail Description P2P parameter No.1, block P2P parameter No.1, block No.0 service is L006250 _P2P1_NDR00 No.00 service is completed completed normally normally P2P parameter No.1, block P2P parameter No.1, block No.0 service is L006251 _P2P1_ERR00 No.00 service is completed...
Page 203
Appendix 2) List of link devices (N) P2P No. : 1 ~ 8, P2P block: 0 ~ 63 Keyword Type Detail Description P2P parameter No.1, Saves P2P parameter No.1, block No.00 destination N00000 _P1B00SN Word block No.00 station number destination station No. N00001 P2P parameter No.1, _P1B00RD...
Page 204
Appendix Keyword Type Detail Description N00036 P2P parameter No.1, _P1B00W Device Saves P2P parameter No.1, block No.00 Save area block No.00 Save area structure device 4 N00039 device 4 P2P parameter No.1, _P1B00W Saves P2P parameter No.1, block No.00 Save area N00040 Word block No.00 Save area...
Page 205
Appendix Keyword Type Detail Description P2P parameter No.1, _P1B01W P2P parameter No.1, block No.01 saved area size 3 N00076 Word block No.01 saved saved area size 3 N00077 P2P parameter No.1, _P1B01W Device P2P parameter No.1, block No.01 saved area device 4 block No.01 saved structure saved...
Appendix A.4 ASCII Code Table American National Standard Code for Information Interchange ASCII ASCII ASCII ASCII Value Value Value Value NULL € À Á ‚ Â ƒ Ã „ Ä … Å † Æ ‡ Ç ˆ È ‰ É Š...
Appendix A.6 External Dimensions XGL-EFMT/EFMF, XGL-EH5T is equal design. Please refer to a lower picture for the dimension. Unit: mm A-26...
Page 211
LSIS provides an 18-month warranty starting from the date of production. 2. Range of warranty For problems within the terms of the warranty, LSIS will replace the entire PLC or repair the defective parts free of charge except for the following cases.
Page 212
2 Zhongshan Liu Road.Guangzhou.P.R China Tel : 86-20-8328-6754/Fax : 86-20-8326-6287 e-mail : chenxs@lsis.com.cn 2016. 10 ※ LSIS constantly endeavors to improve its product so that information in this manual is subject to change without notice. ⓒ LSIS Co., Ltd 2011 All Rights Reserved.
Need help?
Do you have a question about the XGL-EFMT and is the answer not in the manual?
Questions and answers