background image

 
 
 

Chapter 7 server service

 

7-10 

 
 

 

5) _CNF_WAR     

 Collectively displays warning flags related to continue operation(DWORD, F004~F005) 

Variable 

Type 

Device 

Function 

Description 

_RTC_ER 

Bit 

F00040  Abnormal RTC data 

In case of abnormal data of RTC 

_DBCK_ER 

Bit 

F00041  Data back-up error 

Cold restart is performed because normal (hot or warm restart) 

program modification is impossible due to abnormal backup 

data memory. A flag indicating this can be used for the 

initialization program and will be reset automatically upon 

completion of the initialization program. 

_HBCK_ER 

Bit 

F00042  Hot restart error 

Indicates that hot restart is not possible 

_ABSD_ER 

Bit 

F00043  Stop abnormal operation 

It occurs when the program stops during operation for reasons 

such as power cut off during program execution, and continuous 

operation is not performed due to the preservation data 

synchronized in scan unit when power is turned on again. 

Available in the initialization program and will be reset 

automatically upon completion of the initialization program. 

_TASK_ER 

Bit 

F00044  Task conflict 

When a user program runs, if the same task is requested 

repeatedly, the task shows a conflict. 

_BAT_ER 

Bit 

F00045  Battery error 

Detects and displays when the battery voltage required for user 

program and data memory backup is less than the standard. 

_ANNUM_ER 

Bit 

F00046 

Minor  error  detection  in 

external device 

When a warning message of an external device is detected by 

the user program and recorded in ANC_WB [n], fault detection 

is displayed. 

_LOG_FULL 

Bit 

F00047  Warning: Log memory full  Indicates that there is no log memory storage area of PLC. 

_HS_WAR1 

Bit 

F00048  HS parameter 1 error 

This flag is displayed when HS link operation is impossible by 

checking the error of each HS link parameter when HS link 

setting (Enable). 

Reset when HS link is disabled 

_HS_WAR2 

Bit 

F00049  HS parameter 2 error 

_HS_WAR3 

Bit 

F0004A  HS parameter 3 error 

_HS_WAR4 

Bit 

F0004B  HS parameter 4 error 

_HS_WAR5 

Bit 

F0004C  HS parameter 5 error 

_HS_WAR6 

Bit 

F0004D  HS parameter 6 error 

_HS_WAR7 

Bit 

F0004E  HS parameter 7 error 

_HS_WAR8 

Bit 

F0004F  HS parameter 8 error 

_HS_WAR9 

Bit 

F00050  HS parameter 9 error 

_HS_WAR10 

Bit 

F00051  HS parameter 10 error 

_HS_WAR11 

Bit 

F00052  HS parameter 11 error 

_HS_WAR12 

Bit 

F00053  HS parameter 12 error 

_P2P_WAR1 

Bit 

F00054  P2P parameter 1 error 

This flag is displayed when P2P operation is impossible by 

checking the error of each P2P parameter when P2P setting is 

enabled.    Reset when HS P2P is disabled 

_P2P_WAR2 

Bit 

F00055  P2P parameter 2 error 

_P2P_WAR3 

Bit 

F00056  P2P parameter 3 error 

_P2P_WAR4 

Bit 

F00057  P2P parameter 4 error 

_P2P_WAR5 

Bit 

F00058  P2P parameter 5 error 

_P2P_WAR6 

Bit 

F00059  P2P parameter 6 error 

_P2P_WAR7 

F0005A  P2P parameter 7 error 

_P2P_WAR8 

F0005B  P2P parameter 8 error 

_Constant_ER 

F0005C  Fixed period error 

If the scan time is longer than the fixed period, it will be 'ON'. 

F0005D 

~F0005F 

Summary of Contents for XGL-EFMF

Page 1: ...C strives to maximize your profits in gratitude for choosing us as your partner Programmable Logic Control XGT Ethernet Module XGL EFMTB XGL EFMFB XGL EFMHB XOL ES4T XOL ES4H XGL EH5T XGL EFMT XGL EFMF XGT Series ...

Page 2: ...me 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 ...

Page 3: ... 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 ...

Page 4: ... PLC power is off If not electric shock or damage on the product may be caused 3 Be sure that every module is securely attached 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 ...

Page 5: ...ns 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 which is exclusively used for PLC If the terminals not grounded correctly abnorm...

Page 6: ... installing or disassembling the module let all the external power off including PLC power If not electric shock or abnormal operation may 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 c...

Page 7: ...Safety Instruction 6 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 ...

Page 8: ...dding 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...

Page 9: ...ion Date Remark Page V3 1 2020 06 1 Format and contents modification according to the change of company name LSIS LS ELECTRIC 2 Adding RAPIEnet autoscan 3 Adding Smart Extension service diagnostic variables ALL CH3 6 CH4 CH9 ...

Page 10: ...ring 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...

Page 11: ...ce specifications 2 2 2 2 1 Ethernet module 2 3 2 2 2 Switch module 2 4 2 2 3 Power specification 2 4 2 2 4 Load specifications 2 5 2 3 Structure and Characteristics 2 6 2 3 1 Names of Part and Function 2 6 2 4 Specification of cable 2 15 2 4 1 Twisted pair cable 2 15 2 4 2 Optical Fiber Cable 2 16 2 5 How to connect communication between our products 2 17 2 5 1 Master communication 2 17 2 5 2 Sla...

Page 12: ...pes of diagnostic functions 3 33 Chapter 4 Smart Extension service 4 1 4 1 Overview 4 1 4 2 Smart extension service setting 4 2 4 2 1 Standard settings 4 2 4 2 2 Smart Extension service 4 3 4 2 3 Smart Extension master setting 4 8 4 2 4 Setting Communication device 4 20 4 2 5 Smart Extension service setting Download 4 23 4 2 6 Smart Extension Enable Services 4 24 4 3 Hot Swapping function 4 25 4 3...

Page 13: ...8 5 6 2 When configuring an XGR Single network 5 30 5 7 XGR Redundant High Speed Link Setting Program 5 31 5 7 1 When configuring an XGR redundant network 5 31 5 7 2 When configuring an XGR Single network 5 38 5 8 Ethernet System Configuration 5 41 5 8 1 Configuration of Ethernet System Using Dedicated Network 5 42 5 8 2 Mix of Dedicated Networks and Third Party Ethernet Systems 5 42 5 8 3 Mix of ...

Page 14: ...P service diagnosis 6 40 6 8 XGR Redundancy Program Method 6 41 Chapter 7 Server service 7 1 7 1 XGT server 7 1 7 1 1 Overview 7 1 7 1 2 Request to read information and status PC HMI PLC 7 7 7 1 3 Server operation 7 11 7 2 Modbus Server 7 14 7 2 1 Overview 7 14 7 2 2 Server operation 7 16 7 3 EtherNet IP server 7 18 7 3 1 Overview 7 18 7 3 2 Operation Sequence 7 20 7 3 3 Parameter setting 7 21 7 3...

Page 15: ...f XGL EFMTB EFMF 9 3 9 1 3 Abnormal operation display of XGL EH5T 9 5 9 1 4 Abnormal operation display of XOL ES4T ES4H 9 6 9 2 Error checking method by XG5000 connection 9 7 9 2 1 Error Warning check during PLC operation 9 7 9 2 2 Error Warning check during communication module operation 9 14 9 2 3 View Communication Module Log 9 27 9 3 XGT dedicated communication error code 9 28 9 3 1 STATUS val...

Page 16: ... Mail sjbaik lselectric biz Hochiminh LS ELECTRIC Middle East FZE Dubai U A E Tel 971 4 886 5360 E Mail salesme lselectric biz LS ELECTRIC Europe B V Hoofddorf Netherlands Tel 31 20 654 1424 E Mail europartner lselectric biz LS ELECTRIC America Inc Chicago USA Tel 1 800 891 2941 E Mail sales us lselectricamerica com Headquarter LS ro 127 Hogye dong Dongan gu Anyang si Gyeonggi Do 14119 Korea Seoul...

Page 17: ...Table of Content 16 ...

Page 18: ...peration high speed link setting high speed link information XGR redundancy program method and Ethernet system configuration Chapter 6 P2P service Function overview P2P service operation P2P service setting user frame definition overview operation setting E mail service P2P parameter download and diagnosis XGR redundancy program method are described Please refer to Chapter 5 for system configurati...

Page 19: ...nication with up to 16 modules is available in addition to the high speed link Dedicated communication server P2P communication up to 32 modules in Ethernet V6 0 or higher The loader service through the Ethernet XG5000 is supported Dedicated TCP IP PORT 2002 assignment Easy connection with 3rd party modules system using P2P communication and XG5000 Support for dedicated protocols XGT and open prot...

Page 20: ...rt1 and Port2 Ring2 is available between Port3 and Port4 4 Reliability of Industrial Device Standards Compared to commercial switches it guarantees environmental and noise reliability 5 Built in crossover function provides convenience in cable work Direct cables between routers and switch or between PC and switches cross cables between routers and routers or switch and switches Auto Crossover is a...

Page 21: ...y 3 or less but the In this case network speed is limited to 10Mbps Please be careful when installing the system 3 XGL EH5T can be used as a switch by mounting on XGT base module It can be used by simply installing it without a program and has a speed of up to 100Mbps The XGL EFMT XGL EFMF module is discontinued and can be replaced by XGL EFMTB XGL EFMFB 1 2 4 Function Items by Version The functio...

Page 22: ...ol or Modbus TCP protocol TCP port 2004 and UDP port 2005 are used for XGT dedicated driver of Ethernet module and Modbus TCP driver uses TCP 502 The dedicated service means the server function in the following client server model The client connects to the server and read and write data according to the set protocol The server performs the functions of reception detection and response transmissio...

Page 23: ...es PLCs and provides two Ethernet ports capable of line daisy chain and ring configuration It provides a flexible network configuration method compared to the existing STAR type PLC to PLC communication module The RAPIEnet module is divided into two electric ports 100BASE TX 1000BASE T two optical ports 100BASE FX 1000BASE X and mixed 100BASE TX 1000BASE T 100BASE FX 1000BASE X according to the me...

Page 24: ...cation module mount it on the main base where possible The table below shows the types of services available for each CPU Category XGK XGI XGR CPUE CPUS CPUA CPUH CPUU CPUSN CPUHN CPUUN CPUE CPUS CPUH CPUU CPUU D CPUUN CPUH T CPUH F CPUH S HS Link service 12 modules 6 modules P2P service 8 modules 6 modules Server service 24 units 6 units Notes 1 In XGR system Ethernet is available only for the ma...

Page 25: ...GT Cnet client Modbus ASCll client Modbus RTU client RAPIEnet client 2 RAPIEnet protocol adding RAPIEnet v1 3 High speed link station type adding RAPIEnet 4 Smart server function adding XGK CPUE V4 57 XGK CPUSN V1 21 XGI CPUE V4 08 XGI CPUUN V1 31 V2 72 or higher V3 71 or higher XGL EFMTB XGL EFMFB XGL EFMHB V8 0 or higher 1 Adding Smart Extension service 2 Adding EtherNet IP service 3 Adding RAPI...

Page 26: ...r than stated above is used Please check compatibility 1 3 2 Checking the product information 1 Checking the version Check the version of the module before using the Ethernet module Check the module information by double clicking the Ethernet module on XG5000 Online Communication module setting and diagnosis System Diagnosis 2 Check the version via the case label on the product For each communicat...

Page 27: ...Chapter 1 Overview 1 10 ...

Page 28: ...ctrostatic discharge 4 0kV Contact discharge IEC 61131 2 IEC 61000 4 2 Radiation field noise 80 1000 MHz 10V m IEC 61131 2 IEC 61000 4 3 Fast transient burst noise Category Power module Digital Analog Input Output Communication Interface IEC 61131 2 IEC 61000 4 4 Voltage 2kV 1kV 8 Operating atmosphere Free from corrosive gases and dust 9 Altitude Less than 2 000m 10 Pollution degree 2 or less 11 C...

Page 29: ...IP Specified by the user E mail Up to 128 address Smart extension service RAPIEnet v2 EtherNet IP Max 64 station EtherNet IP Service Server UDP IP Periodic TCP IP Non periodic Periodic 22 22 Non periodic 44818 Periodic server Up to 64 tag Maximum number of server 64 Periodic Non periodic Client Up to 64 channels Server service Dedicated communication XGT server TCP IP 2004 Up to 64 channels Up to ...

Page 30: ... byteNote1 MaxNo ofconnected stationspernetwork 64 stations However MRS is not included in the number of connected stations and is limited to 12 EtherNet IP Service specifications Dataprocessingunit Byte 8bit Maxread writedatasize Non periodic tag 1400 Bytes Periodic tag Note2 1 400 Bytes Availablecommunication type Connection type Cycle messages Class1 Non connection type Non periodic message Tag...

Page 31: ...ype and number of ports XOL ES4T 100BASE TX 2 port 100BASE TX 1000BASE T 2 port XOL ES4H 100BASE TX 1000BASE T 2 port 100BASE FX 1000BASE X 2 port 10 100BASE TX 5 port Transmission distance 100m 100m 2km 100m Diagnosis function LED display LED display LED display Basi c Spe cific atio ns Power supply DC 24V Input range 20 4 28 8V 5V supply from base module Current consumption m A 300 300 550 Weigh...

Page 32: ... Ethernet module such as a communication error a diagnostic service failure or a remote connection failure occurs 5 Even if the receive block is not set in HS link parameter the load is increased because media interrupt occurs 6 When the maximum load is exceeded change the communication cycle of the Ethernet module where high speed link transmission is set ex 20ms 200ms Notes 1 XGL EFMT EFMF appro...

Page 33: ...es of LED and Function Names of LED LED display contents LED condition Functional Description RUN Display module operation status ON Normal operation OFF Do not normal operation HS Display High speed link service operation state ON High speed link service operates normally OFF High speed link service does not operate normally P2P Display P2P service operation state ON P2P service operates normally...

Page 34: ...nication with the CPU module is not normal The module is critical error OFF Normal operation TX Display send operation status ON Sending data Flickering When sending stops repeatable during transmission OFF Do not sending data RX Display receive operation status ON Receiving data Flickering When receiving stops repeatable during receive OFF Do not receiving data PHY Display communication speed ON ...

Page 35: ...ending and stopping are repeated during transmission Off Do not sending or receiving data 5 RJ 45 LNK Orange Green Shows link speed when link partner and link are connected when Link LED is on Green ON 1Gbps Orange ON 100Mbps Off 10Mbps Link LED is on and RJ45 LNK LED is off Names of LED and Function Names of LED LED display contents LED condition Functional Description RUN Display module operatio...

Page 36: ...g error There is RAPIEnet slave parameter error V6 0 or higher There is a station number conflict on the RAPIEnet network V6 0 or higher Transceiver recognition fails when the media setting for SFP is Auto V8 0 or higher This is the case with CPU version that does not support TAG V8 0 or higher In case of EtherNet IP tag or smart expansion tag error V8 0 or higher For details please check the hist...

Page 37: ...LINK Display LINK LED operation state ON When the communication network is connected Please refer to the RJ 45 LNK LED specification for LINK speed OFF When the communication network is not connected Notes 1 Relay function is not supported at 0Mbps so if Relay option is checked at 10Mbps Relay LED will be off ...

Page 38: ...y contents LED condition Functional Description PWR Display module power status ON Displays the power On status of the module OFF Displays the power off status of the module ACT Display send receive operation status by port ON Flickering Port 1 data send receive is in progress OFF Port 1 data transmission reception does not operation LNK Display communication speed status by port ON Port 1 100Mbps...

Page 39: ...Chapter 2 Product specifications 2 12 4 XOL ES4T XOL ES4H 2 1 3 3 4 5 6 7 8 9 10 ...

Page 40: ... Names of LED and Function Names of LEDLED display contents LED condition Functional Description RUN Display module power status ON Normal operation Off This is not a normal operation 1Gbps XOL ES4T Display communication speed status by port ON Ports 3 and 4 are communicating at 1 Gbps Off Ports 3 and 4 are communicating at 100Mbps 1G T XOL ES4H Display communication speed status by port ON Ports ...

Page 41: ...Flicker This is the case of a station number collision between the nodes other than MRS in the network This is when the switching loop path is detected in the MRS Off The station number collision situation has been resolved and it is operating normally Notes 1 Relay is a function that connects data between ports Relay between ports is possible and RELAY1 and RELAY2 display relay status between 1 2...

Page 42: ...ielded Up to 500MHz Sound information data video signal Replacement of 75Ω coaxial cable Notes UTP Unshielded Twisted Paired Copper Cable FTP Overall Foiled Twisted Paired Copper Cable STP Overall Shielded and Shielded Individually Pair Twisted Paired Copper Cable PLC Ethernet communication cable is recommended to use S STP cable If the S STP cable can not be used due to the field conditions a mod...

Page 43: ... 100m or less 10MHz 47 16MHz 44 20MHz 42 2 4 2 Optical Fiber Cable Item Value Cable type MMF Twin strands of Multi mode fiber SMF Single mode fiber Connector XGL EFMF SC connector XGL EFMFB EFMHB LC connector Notes 1 The connection cable of the communication module differs according to the system configuration and environment so please consult with a specialist 2 The characteristics of the optical...

Page 44: ...t IP on third party devices Other compani es Device X X X X X X X X X X RAPIEnet V1 GEL xxxx V1 x version X X X X X X X X X X X X XGL EIMT F H XBL EIMT F H X X X X X X X X X X X Smart I O expansion XEL BSSB X X X X X X X X X X X X XEL BSSA X X X X X X X X X X X X EtherNet IP XGL EIPT XBL EIPT X X X X X X X X X X X X Ethernet module XBL EMTA X X X X X X X X X XGL EFMxB V8 x X X X XGL EFMxB V6 x X X...

Page 45: ...devices Other compani es Device X X RAPIEnet V1 GEL xxxx V1 x version X X X X XGL EIMT F H XBL EIMT F H X X X Smart I O expansion XEL BSSB X X X X XEL BSSA X X X X EtherNet IP XGL EIPT XBL EIPT X X X Ethernet module XBL EMTA X X XGL EFMxB V8 x XGL EFMxB V6 x X XGL EFMxB V5 x X X Communicatio n device X X X X Driver Service items XGT server Modbus Server RAPIEnet server EIP Server ...

Page 46: ... locked with the base locking device If it is not locked there may be abnormality in the interface with the CPU module 6 Cables used for communication module should be installed referring to the standard 7 Ethernet switches and cables required for communication with the Ethernet module should be selected as standard products 2 Switch module system configuration 1 When installing the switch module ...

Page 47: ...ation check System Diagnostics PLC Information using XG5000 8 To check the network connection check if the response is received from the PC to the network using PING or if the network is not connected to the PC select the Ethernet module on the monitor in Online Communication module setting and Diagnostics System Diagnostics of the XG5000 and then click the mouse Check the response using the right...

Page 48: ...4 5 and 7 8 to reduce interference between pairs 2 Hub power should be separated from PLC power so that there is no noise effect 3 For cable terminal processing and production please consult with a professional manufacturer for production and installation 4 The optical cable is susceptible to impact pressure folding pulling etc If the cable contact surface connected to the connector is contaminate...

Page 49: ...of Category 5 may be deteriorated 5 Maintain proper distance between EMI sources and cables when installing cables Condition Minimum separation distance 2 0KVA or less 2 5 KVA 5 0KVA or higher Unshielded power line or electrical equipment are open or in close proximity to non metallic pipes 127mm 305mm 610mm If the unshielded power line or the electric equipment is close to a buried metallic pipe ...

Page 50: ...rail Pull hook for DIN rail at the bottom of module and install it on DIN rail Push hook to fix the module on DIN rail after installing The DIN rail stopper must be installed on both sides of the module to secure the module 2 In case of installing at panel The can be installed directly on the panel using screw mounting holes When installing the product directly to the panel use M3 type fixing scre...

Page 51: ...ch Module XGL EH5T Installation Switch modules can be used to connect between Ethernet modules using 10 100BASE TX Therefore as shown in the figure below the configuration for network system configuration between modules and between PLC systems and PCs can be connected Twisted pair cable ...

Page 52: ...nector Incomplete cable connection may cause communication error 5 When connecting communication cables over long distances route the cables at a sufficient distance from the power line or inductive noise 6 If the cable is bent at a right angle or is excessively deformed it may cause cable breakage and damage to the connector in the communication module 7 If the LED does not work normally refer to...

Page 53: ...tatus on the CPU module If abnormal refer to the troubleshooting in each PLC user s manual 6 Check if the LED status of the communication module is normal If abnormal refer to Chapter 9 Troubleshooting 7 After setting communication parameter download setting file Programming Programming in XG5000 and write to CPU module Check program Check the operation of the communication module according to the...

Page 54: ...work cable 3 Operate the module according to the setting procedure in Section 3 3 2 2 Communication module exchange using the module change switch of the CPU Refer to 6 10 Changing Module during Operation of CPU Module User s Manual 3 Communication module exchange using x5000 module change wizard Refer to 10 23 Module Change Wizard of XG5000 user s manual Notes 1 When replacing the Ethernet module...

Page 55: ...rt Node 1 S N 99 RAPIEnet support Node 6 S N 60 RAPIEnet support Node 5 RAPIEnet Not support Node 4 S N 70 RAPIEnet support Node 2 RAPIEnet Not support Node 3 S N 80 RAPIEnet support Ring Manager 2 support RAPIEnet Unsupported Node Communication Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 2 Possible Possible Impossible Impossible Impossible Node 5 Possible Impossible Possible Possible Possible ...

Page 56: ...can communicate with the nodes are determined by the relay option of the line manager Node 1 RAPIEnet Not support Node 5 RAPIEnet support Node 4 RAPIEnet Not support Node 2 RAPIEnet Not support Node 3 RAPIEnet support line Manager 1 line Manager 2 RAPIEnet Unsupported Node Node 2 Relay option Communication Node 1 Node 2 Node 3 Node 4 Node 5 Node 1 Enable Possible Possible Possible Possible Disable...

Page 57: ...twork diagnostic services The parameters and files set by the user can be written downloaded and read uploaded to the Ethernet communication module via the CPU module The downloaded communication parameters are saved in the CPU and can be used without resetting even if the new communication module is replaced in the slot initially set This chapter focuses on the settings required when using the Et...

Page 58: ...cation module base slot location of communication module should be registered in Undefined Network of XG5000 project tree list 1 Offline registration To register communication module without accessing XGT CPU module use Communication Module Settings window When registering Ethernet module in base 0 and slot 0 set as follows in the project window In the Project window select Undefined Network click...

Page 59: ...creen where Ethernet module is registered in Slot 0 of BASE 0 is as follows 2 On line registration If communication module is connected to the installed XGT CPU module all communication modules installed in XGT can be searched automatically and registered in the project window as follows However online registration is possible only when the PLC mode is Stop Select Online System Diagnostics I O inf...

Page 60: ...Chapter 3 Product Installation and trial operation 3 15 Press the I O Sync button at the bottom left of the I O Information window ...

Page 61: ...oduct Installation and trial operation 3 16 Check the contents of the message window and click Yes if there is no problem The screen where Ethernet module is automatic registered in slot 00 of base 00 is as follows ...

Page 62: ...icated Connections Host Table Settings and Sets EIP Server Therefore in order to perform Ethernet communication it is necessary to download after setting the parameters in the Standard settings of the module XGI XGK and XGR Standard Settings screens are different 1 In case of CPU of XGK XGI series If you double click Ethernet module under Undefined Network registered in project window the followin...

Page 63: ...ss router address for sending and receiving data through a station or a public network that uses a different network from your own station DNS Server Specifies the domain name server DHCP DHCP Dynamic Host Configuration Protocol is used when you want to use dynamic IP use when connecting ADSL line without using Fixed IP Relay Used to send data frames received on the port to the other port OPC UA E...

Page 64: ...ngs TCP Port 502 V6 0 or less Supports Modbus TCP server V6 0 or higher Supports Modbus TCP RTU ASCII server Smart server The XGT server and the Modbus server are supported at the same time V6 0 or higher RAPIEnet setting Select the protocol driver when RAPIEnet is used Disable RAPIEnet is not used RAPIEnet v1 Available from V6 0 or higher RAPIEnet v2 Default Available from V8 0 or higher 2 In cas...

Page 65: ...c Automatically sets the media settings of the currently installed module 10M HALF 10Mbps Half Duplex Electric 10M FULL 10Mbps Full Duplex Electric 100M HALF 100Mbps Half Duplex Electric 100M FULL 10Mbps Full Duplex Electric 100M FX HALF 100Mbps Half Duplex optical 100M FX FULL 100Mbps Full Duplex optical 1G FULL 1Gbps Full Duplex Electric 1G FX FULL 1Gbps Full Duplex optical IP address Set the IP...

Page 66: ...munication server XGT Cnet dedicated communication server Modbus server Modbus server settings TCP Port 502 V6 0 or less Modbus TCP server V6 0 or higher Supports Modbus TCP RTU ASCII server Smart server Simultaneous supports XGT server and Modbus server V6 0 or higher RAPIEnet setting Select the protocol driver when RAPIEnet is used Disable RAPIEnet is not used RAPIEnet v1 Available from V6 0 or ...

Page 67: ...for the remote station again 4 Refer to the table below for the PORT information for IP allocation using DHCP by OS version of XGL EFMxB OS Version XGL EFMTB XGL EFMFB XGL EFMHB 8 30 or less PORT 1 PORT 1 PORT 2 8 30 or higher PORT 1 2 PORT 1 2 PORT 1 2 Notes 1 If you are not using RAPIEnet please set RAPIEnet to Disable 2 When setting RAPIEnet check the protocol driver that can be supported by OS...

Page 68: ...andard time Notes 1 When SNTP is activated the module receives the time received from the NTP server and updates it with the CPU time information 2 When SNTP is activated after installing multiple Ethernet modules each Ethernet module individually transmits the time received from the NTP server to the CPU 3 5 6 Sets EIP Server This is a screen to input local tag and data count when using EtherNet ...

Page 69: ... 3 24 3 5 7 Advanced Settings This is a function to change the XGT server port By default it is assigned as 2004 for TCP IP and 2005 for UDP IP but you can change this value to the number you want For XGT server function refer to Section 7 1 XGT Server ...

Page 70: ... via Online Connect 2 Check the base and slot location of the Ethernet module to download from the screen below That is if you designate communication module B0S2 XGL EFMT B located under the Undefined Network of the project tree and select Online Write Basic Settings High speed Link P2P the following screen appears 3 After selecting the network parameter to download to the designated communicatio...

Page 71: ...the communication parameters to the CPU module if the link of the related service is allowed the parameter is automatically changed after the download is completed If the link of the related service is not allowed the parameter is not applied until the link is allowed 3 When writing after changing basic setting in V6 0 or higher version the CPU module must be reset after writing to apply the chang...

Page 72: ...gs That is select Online Read after designating communication module of Undefined Network in the project tree as B0S2 XGL EFMT B 2 After connecting select Online Read and the following screen will appear 3 Check the base No and slot No here and select the Standard Settings of the communication module If reading is completed and clicks the parameter to check the data read from CPU module can be che...

Page 73: ...initiates sending receiving service Each parameter can be individually assigned an action If the link is enabled even when the CPU module is stopped communication will continue 1 Link Enable on XG5000 1 Click Online Communication Module Setting Enables Services and the following screen will appear 2 Set service enable for each parameter 3 When the link enable write is executed the following messag...

Page 74: ...le disable status of high speed link NO 10 _HS11_ENABLE_STATE BIT F0960A Current enable disable status of high speed link NO 11 _HS12_ENABLE_STATE BIT F0960B Current enable disable status of high speed link NO 12 _HS1_REQ BIT F10300 Request enable disable for high speed link No 1 _HS2_REQ BIT F10301 Request enable disable for high speed link No 2 _HS3_REQ BIT F10302 Request enable disable for high...

Page 75: ... _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 Set enable disable for P2P No 1 _P2P2_REQ_NUM BIT F10331 P2P1 enable disable setting _P2P3_REQ_NUM BIT F10332 Set enable disable for P2P No 3 _P2P4_REQ_NUM BIT F10333 Set enable disable for P2P No 4 _P2P5_REQ_NUM BIT F10334 Set...

Page 76: ...disable setting flag high speed link P2P enable disable request flag On Disable enable method Set Off for high speed link P2P enable disable setting flag high speed link P2P enable disable request flag On The enable disable status flag of HS link P2P can be used to monitor the enable disable status of the HS link ...

Page 77: ...iled online status such as link type link information and O S information so that users can diagnose and debug data send receive relationship of current communication module 3 6 1 Diagnostics When select Online Communication Module Setting System Diagnosis the following screen will be displayed It displays the base information slot information and CPU operation status of the installed module ...

Page 78: ...an EtherNet IP network RAPIEnet autoscan V8 10 or higher Provides information on networks composed of RAPIEnet and EtherNet IP modules System Log It is a function to check the system operation Modbus Service P2P Service log Provides brief log information of communication module Ping Test This shows the port connection status of other station connected to the network RAPIEnet media information V6 0...

Page 79: ...allows the user to check whether the communication module is in normal state 2 Status By Service The service status of communication module is divided into Dedicated Service P2P Service High Speed Link Service and Smart Extension and shows the detailed information of each communication service 1 Dedicated Service Dedicated service shows communication status with MMI HMI the parent client Displays ...

Page 80: ...stallation and trial operation 3 35 2 P2P service When P2P parameter is set and enabled it indicates whether the service is normal or not Real time monitoring is possible by specifying redo and continuous read through menu ...

Page 81: ...3 HS Link Service Monitoring by flag is performed for individual parameters of HS link parameter HS link service information displays individual information such as run link and link trouble 3 Media information Indicates packet information input to the media ...

Page 82: ...Chapter 3 Product Installation and trial operation 3 37 4 Ping Test 5 Autoscan Indicates the link interface status of the network ...

Page 83: ...nd trial operation 3 38 6 RAPIEnet media information Module version V6 0 or higher Indicates the link interface status of the network 7 RAPIEnet autoscan Module version V6 0 or higher Indicates the link interface status of the network ...

Page 84: ...can in RAPIEnet autoscan Executing RAPIEnet autoscan in Online Communication module setting and diagnosis System diagnosis Click the Save button to save the current RAPIEnet autoscan information to the module When you click the Compare button the RAPIEnet autoscan information saved with the Save button is compared with the RAPIEnet autoscan information displayed on the current screen and the resul...

Page 85: ...irst When RAPIEnet autoscan is executed in Online Communication module setting and diagnosis System Diagnosis information about the IP device connected to the first MRS is displayed The figure below shows the UI of the RAPIEnet autoscan function If the system configuration is complete click the Save button to save Goden Image Golden Image is stored in the communication master module and will be us...

Page 86: ...Chapter 3 Product Installation and trial operation 3 41 If the cable between the 0st and 20th node is removed in this state the disconnection section is displayed in red as shown below ...

Page 87: ...des 0st and 20th are connected again the connected section is marked with a blue line as follows When removing node 2 in the above state the removed module is displayed in red as shown below and the cable disconnection section is displayed in red due to the module ...

Page 88: ...peration 3 43 10 View Communication Module Log Module version V6 0 or higher It indicates the event and communication history of communication module 11 Remote OS download Module version V6 0 or higher A Update OS of remote communication module ...

Page 89: ...ack test Module version V6 0 or higher A The loopback test of the local Ethernet module is used to test the hardware for abnormalities Notes 1 Reset communication module after remote OS download If you do not reset the communication module will not operate normally ...

Page 90: ...tion devices that support Smart extension Service are as follows Extension driver XGL DBDT DBDF DBDH Smart I O expansion XEL BSSRT BSSRF BSSRH Smart I O block GEL TR4C1 DT4C1 D24C RY2C AV8C AC8C DV4C DC4C Inverter option B D CE S7M1 2 Protocols for communication between Ethernet modules and Communication devices are RAPIEnet v2 and EtherNet IP Smart extension service using RAPIEnet protocol is not...

Page 91: ... Communication device 2 RAPIEnet setting The operation varies depending on the RAPIEnet setting in the driver setting item of the Standard Settings EtherNet IP protocol can be used regardless of RAPIEnet setting RAPIEnet setting Smart extension service operation Disable RAPIEnet protocol is not used If set to Disable RAPIEnet protocol cannot be used to connect communication devices in Smart extens...

Page 92: ...and select by right clicking on the communication module item on the tree 2 If you want to use the Smart Extension Wizard to set up the Smart extension service select Next in the Overview window of the Smart extension Wizard 3 If you select Next in the Overview window of the Smart Extenstion Wizard the Details window appears Smart extension service setting such as communication device adding and s...

Page 93: ... s Manual Module Name Specifies the module name of the Communication device to be added For the module Name refer to the Communication Device User s Manual Station No Specifies the station number of the Communication device to be added The station number range is 0 220 Setting station number method refer to the Communication device User s Manual IP Address Specifies the IP Assigns the Communicatio...

Page 94: ...emory area s size of the master to map the input output variables of the communication device The Extension driver XGL DBDx requires 384 words per unit The Smart I O expansion XGL BSSRx requires 256 words per unit The Smart I O block Digital requires 4 words per unit The Smart I O block Analog requires 32 words per unit Enables EB Slot Diagnostic variables Enable Disable the use of EB Slot Diagnos...

Page 95: ... and select Add Item Add Communication Device or double click New under Smart Extension in the project window 8 You can add the communication device of the Smart Extension Service by specifying the connection information on the Connection tab of the Add Communication Device window and selecting OK ...

Page 96: ...ies the station number of the Communication device to be added The station number range of the Communication device is 0 220 Setting method refer to the Communication Device User s Manual IP Specifies the IP Assigns the Communication device to be added Setting method refer to the Communication Device User s Manual Module type Specifies the module type of the communication device to be added For th...

Page 97: ... Autoscan the start address and size of the input output variables and diagnostic variables in the PLC area settings are automatically set up for the added Communication device However check that there is no overlapping memory area with other services other than the Smart Extension service 1 Double click Smart Extension added in the project window with the left mouse button 2 Select Master Setting...

Page 98: ...type contact points and the number of I O module contacts added to the Smart I O extension type is fixed to 64 points or it is provided with a function to allocate the number of mounted I O modules gradually At least 32 points Memory allocation by slot of expansion device It provides the function of allocating the memory of the Smart I O block type and the Smart I O expansion type as a base unit o...

Page 99: ...Extension service 4 10 When set to default When input is set to MW1000 and output is set to MW2000 4 Select Communication Device Settings from the Smart extension tree to set the Communication device operation setting ...

Page 100: ...s the setting for the output of the output module installed in the Communication device in the Smart extension setting Hold output when an error occurs Non setting Clear output when an error occurs EB or module swap during operation hot swap Setting to allow the exchange of EB PLC with communication device or module mounted in EB during operation setting Continue operation when a fault occurs and ...

Page 101: ...s Use with caution because the set values of the same module in the Smart Expansion System are set to be the same 6 Select Smart Extension in the Project window and double click to select Allocate Input Output Variables in the Smart Extension tree This function can be used like the same PLC system by mapping input output device of PLC system equipped with Communication device to device memory of C...

Page 102: ...t devices of the PLCs equipped with each Communication device At this time select Register Variable to register the device as a variable 8 If you double click Variable Comment in the Project window you can see that the Smart Extension input output variable is registered as the CPU variable of the master Notes ...

Page 103: ...on the Communication device _BBSS_EBXX_RQxxPyy Contact No 2 Special module _BBSS_EBXX_bbss_CH0_ACT Base number on which the master module is mounted _BBSS_EBXX_bbss_CH0_ACT Slot number on which the master module is mounted _BBSS_EBXX_bbss_CH0_ACT EB number of the Communication device _BBSS_EBXX_bbss_CH0_ACT Base number of the module mounted on the Communication device _BBSS_EBXX_bbss_CH0_ACT Slot ...

Page 104: ...EB_DETACH_WAR 1Bit EB detached warning while operating Smart Extension operation Hot swap On _BBSS_IO_DETACH_WAR 1Bit IO detached warning while operating Smart Extension operation Hot swap On _BBSS_FUSE_WAR 1Bit FUSE warning while operating Smart Extension operation Hot swap On _BBSS_SATATUS_CHG_CNT_CLR 1Bit Smart Expansion Network Status change number initialization _BBSS_REF_TIME_OUT_CLR 1Bit Sm...

Page 105: ...ed _BBSS_EBXX_SYY_IO_TYER Slot number on which the master module is mounted _BBSS_EBXX_SYY_IO_TYER EB No of Communication device _BBSS_EBXX_SYY_IO_TYER Slot number of the module mounted on the Communication device _BBSS_EBXX_SYY_IO_TYER Variable Type When _BBSS_EBXX_P1_CRC_ER is set it means CRC error frame is received in the corresponding EB port Check the communication cable noise in the communi...

Page 106: ...t window and double click to select EIP Cycle Details in the Smart Extension tree In the EIP Cycle Details Check the list of EIP clients currently configured EIP server list is not available 13 Check the list and detailed settings of the EIP client in the EIP Cycle Details window ...

Page 107: ... information are different in RAPIEnet Auto Scan To set the topology information you can set it in Undefined Network Smart Extension Master Settings Topology Configuration in the project window Executing RAPIEnet autoscan in Online Communication module setting and diagnosis System diagnosis Set topology information and If the installed topology information is different a red line indicates that th...

Page 108: ...Chapter 4 Smart Extension service 4 19 The opposite case is indicated by a blue line ...

Page 109: ...he name and operation setting of Communication device Item Contents Name Set the name of the Communication Device Set the Communication device operation of the master Check this if you want to automatically reflect the master set values as the Communication device operation set values Hold output when converting run stop When the CPU mode is changed from run to stop this is the setting for the out...

Page 110: ...evice setting tree I O parameter setting of PLC equipped with communication device can be set When a communication device is added using auto scan parameter information of the I O module installed in the PLC is automatically set Item Contents Module Select the module mounted on the communication device Description write a comment Select the comment cell you want to last with the left mouse button ...

Page 111: ... slot of the main base If it is installed in the expansion base slot it will not be recognized and it will not operate 3 Smart extension variable name rules by module are as follows I O Module _RQxxPyy Input Output division RQ Output RI Input _RQxxPyy Slot number of the module mounted on the Communication device _RQxxPyy Contact No Special module _bbss_CH0_ACT Base number of the module mounted on ...

Page 112: ...net master module and Communication device are immediately reflected the Smart expansion service setting value without the module reset When the module is exchanged using the Module Changing Wizard the Smart expansion service parameter is not set automatically Therefore download the following items again with Online Write of XG5000 Notes 1 In case of slaves using EtherNet IP protocol EB dropout ma...

Page 113: ...isabling the Smart Extension service will only stop the Smart Extension service Setting the Smart Extension Service enable is only possible while online 1 Select Online Communication module setting Enable Services 2 In the Enable Service window check the Smart extension item and select OK to enable the Smart extension service In addition uncheck the Smart Extension item and select OK to disable th...

Page 114: ...r flag of Smart extension system with Ethernet installed in slot 1 of base 0 _0001_EB02_IO_DEER IO detachment error flag by EB in Smart extension system _0001_EB02_S06_IO_DEER IO detachment error flag Slot 6 of Smart Extension system 4 3 1 Hot Swap Operation Operation Hot Swap Enable Hot Swap Disable Module change Provided by Unavailable Module detach Master hold previous mode Master hold previous...

Page 115: ...xtension window 2 Click Smart Extension Communication Device Settings to display the screen on the right Checking Exchange EB or modules while running hot swap in the setting item performs hot swap operation 3 To set by Communication device select EB of Communication device and cancel Enables Master Communication Device in Basic Parameter item and set as below ...

Page 116: ... Disable On if an I O module detachment occurs in an EB with hot swap setting disabled Hot swap settings are all Enabled Hold Off Hot swap settings are all Disabled On if an I O module detachment occurs _BBSS_EB_DETACH_ WAR Hot swap settings are mixed Enable Disable ON if an EB detachment occurs in an EB with hot swap setting enabled Hot swap settings are all Enabled ON if an EB detachment occurs ...

Page 117: ... Variable Operation with Hot Swap setting _BBSS_EBXX_IO_DEER Hot swap settings are Enable Hold Off Hot swap settings are Disable On if an I O module detachment of EB occurs _BBSS_EBXX_FUSE_ER Hot swap settings are Enable Hold Off Hot swap settings are Disable On if FUSE error occurs in the I O module of EB ...

Page 118: ...base with hot swap enable 1 Operation EB01 to EB04 base operates normally when slot 1 module of EB01 with hot swap enabled is detached The detached module operates according to the emergency output setting Smart extension master EB01 EB02 EB03 EB04 Slot 01 I O Module Detached 2 System diag All System diag are turned OFF System diag Monitoring value SYSTEM_ER OFF SYATEM_WAR OFF EB_DEER OFF IO_DEER ...

Page 119: ...B03_IO_ DEER OFF EB04_IO_ DEER OFF EB01_S01 _IO_DEER ON EB02_Sxx_ IO_DEER OFF EB03_Sxx_ IO_DEER OFF EB04_Sxx_ IO_DEER OFF 2 Module detached from base with hot swap enable 1 Operation EB03 EB04 error and EB01 EB02 operate normally when slot 1 module of EB03 with hot swap disabled is detached Each module mounted on EB03 EB04 shall be output according to the setting of Keep output when an error occur...

Page 120: ... variables Monitoring value Diagnostic variables Monitoring value EB01_DEE R OFF EB02_DEE R OFF EB03_DEE R OFF EB04_DEE R OFF EB01_IO_ DEER OFF EB02_IO_ DEER OFF EB03_IO_ DEER OFF EB04_IO_ DEER OFF EB01_Sxx_ IO_DEER OFF EB02_Sxx_ IO_DEER OFF EB03_S01 _IO_DEER ON EB04_Sxx_ IO_DEER OFF 3 EB detached with hot swap enable 1 Operation EB02 to EB04 operates normally when EB01 with hot swap enabled is de...

Page 121: ...01_IO_ DEER OFF EB02_IO_ DEER OFF EB03_IO_ DEER OFF EB04_IO_ DEER OFF EB01_S01 _IO_DEER OFF EB02_Sxx_ IO_DEER OFF EB03_Sxx_ IO_DEER OFF EB04_Sxx_ IO_DEER OFF 4 EB detached with hot swap disabled 1 Operation EB03 EB04 error and EB01 EB02 operate normally when EB03 with hot swap disabled is detached Each module mounted on EB03 EB04 shall be output according to the setting of Keep output when an erro...

Page 122: ... EB 03 turns ON EB01 Hot swap Enable EB02 Hot swap Enable EB03 Hot swap Disable EB04 Hot swap Disable Diagnostic variables Monitoring value Diagnostic variables Monitoring value Diagnostic variables Monitoring value Diagnostic variables Monitoring value EB01_DEE R OFF EB02_DEE R OFF EB03_DEE R OFF EB04_DEE R OFF EB01_IO_ DEER OFF EB02_IO_ DEER OFF EB03_IO_ DEER OFF EB04_IO_ DEER OFF EB01_Sxx_ IO_D...

Page 123: ... Fault module measure 2 Master reset or service Disable Enable 2 EB01 detachment 1 Reconnect EB 2 Master reset or service Disable Enable 3 Module failure mounted on EB02 Automatic return on fault module measure 4 EB02 detachment 1 Auto return on EB reconnect 5 Module failure mounted on EB03 Note 1 1 Fault module measure 2 EB Reset 3 Master reset or service Disable Enable 6 EB03 detachment 1 Reconn...

Page 124: ...00M 2 When hot swap of each country operated by Smart extension service is set to Disable and the media is set to Auto each station automatically operates by adjusting the communication speed However if 100M and 1G media are mixed EB will be detached when connecting to media with different speeds In this case Smart extension service can be operated after setting communication media setting of each...

Page 125: ...ion 1 Program using Smart Extension Wizard XGI D22A XGL EFMTB XGP AC23 XGK CPUE XGQ RY2A XGQ TR2A XGI D21A XGP AC23 XGQ TR2A XGH DT4A XGQ TR2A XGL EFMTB XGQ RY2A Program to turn on the output contact point connected to the expansion stage 1 using the Smart expansion service ...

Page 126: ...ject name CPU series CPU type programming type and program name 2 Undefine d Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Setting the Type Base and Slot After that select the OK button to complete the setting 3 Network Basic setting Double click the communication module in the Project window ...

Page 127: ...ing Enter TCP IP Settings Receive time out Settings and Driver settings on the Basic Settings tab Click Online Write and select and download the master module of the network parameter Downloaded parameters are applied after reset 4 Adding Smart Extensio n service Click Project Add item Smart Extension ...

Page 128: ... in Online Connect before Autoscan 2 Set input output variables and diagnostic variables as initial values in the PLC Area Setting window Then proceed to Section 7 3 If select Cancel on the Overview Details window start from section 5 below 5 Master Setting 1 Double click Smart Extension and click the Master Setting menu 2 Input Master Setting and PLC area in Master Setting and Communication Devic...

Page 129: ...on Add Item Add Communication Device 2 In the Adds Communication Device window enter the contents of the Basic Parameter and Connect tab 3 Double click Smart Extension EB01 XGL DBDT and click the I O Parameter menu in the B0S0 EB01 window 4 Register I O module installed in communication device in I O Parameter and click Apply button ...

Page 130: ... by referring to the program after registering the variable 8 program ming 1 Create NewProgeam of the scan program At this time output contact no 0 of slot 0 and slot 1 of Extension driver are displayed as _0000_EB01_RQ00P00 and _0000_EB01_RQ01P00 respectively 9 Program Downloa d online Write window click OK 10 Set link enable Online Communication module setting and diagnosis Check Smart extension...

Page 131: ...ion service by using service status communication module history diagnostic variables Communication device connection configuration EIP cycle detailed setting list 4 5 1 Status by service Smart extension 1 Select Online Communication module setting System diagnosis 2 In the System Diagnosis window right click the Ethernet module image area and select the service specific status ...

Page 132: ... connection with the communication device Station No IP Displays the station number IP of the communication device Displays the station number when the protocol type is RAPIEnet Displays the IP address when the protocol type is EtherNet IP Service Displays currently active services I O service Service provided by communication device with Smart Extension function Event service EtherNet IP Client S...

Page 133: ...slot Flag is displayed according to the type of error occurred when an error occurs in slot File save Saves the current status of Smart extension service as a file Clear scan Initializes the scan information Initializes the SCAN MAX and SCAN MIN values Clear flag Initialize the EB flag and slot flag slot Error flag history is initialized Read continuously Smart extension service status is updated ...

Page 134: ...mmunication Module Log window Click the error history to display the details of the error and the corrective action 4 Check the communication error history by selecting Communication history at the top of Module log window Click the error history to display the details of the error and the corrective action ...

Page 135: ...Chapter 4 Smart Extension service 4 46 ...

Page 136: ...in the system it will operate at 100Mbps In case of optical media the transceiver should be mounted accordingly 4 6 1 Typical Configuration Total number of slaves 63 100Mbps 1Gbps Ethernet module V8 0 Expansion driver XGL DBDx Expansion Smart I O Block type Smart I O Total number of slaves 63 100Mbps 1Gbps Ethernet module V8 0 Expansion driver XGL DBDx Expansion Smart I O Block type Smart I O ...

Page 137: ...nsion Smart I O Smart I O Expansion driver XGL DBDx 100Mbps 1Gbps Expansion Smart I O Total number of slaves 63 The switch module MRS does not support ring type connection when EtherNet IP protocol is used Notes When using the EtherNet IP protocol in the Smart extension service general purpose Ethernet switch can be used When using the RAPIEnet protocol communication is not guaranteed when using t...

Page 138: ...k the node is connected at 100M speed and the relay function of the neighboring node is also operated Communication is possible Node 1 Node 2 Node 3 Node 4 Node 5 Auto speed sync complete and relay support 100M 100M 100M 100M 100M Adds node 5 100M 1G support ex 2 When the link speed of the network is set to 100 Mbps by the Auto Speed Sync function if a node that supports only 1G is added to the ne...

Page 139: ...nk speed based on the Transceiver s 100M or 1G even when the media is set to AUTO However in case of the mixing module if 100M Transceiver is connected to the optical port if the electrical port is set to AUTO the communication is connected to 100M according to the optical port speed ...

Page 140: ...ows 1 High speed link block setting function 1 High speed link service is up to 12 XGK I and 6 XGR 2 Each HS link can be set to 32 blocks for sending and 128 blocks for receiving If mixed up to 128 blocks can be set 3 Up to 200 words can be set for each block 2 Send cycle setting function User can set send receive cycle for each module Send receive cycle is set from 5ms to 10 seconds per module 3 ...

Page 141: ...sending data set the Read area and Block number to be read without specifying the destination station number High speed link send receive processing is performed at the end of scan time If the high speed link period is faster than scan it is performed once at the end of scan Scan time 8ms High speed link Send receive cycle 5ms High speed link Send receive cycle 10ms End scan Start scan Start scan ...

Page 142: ...s the station number of Ethernet master when using RAPIEnet protocol communication with the Communication device 2 RAPIEnet setting Service operation depends on the RAPIEnet settings in the driver settings of the Standard settings window RAPIEnet setting HS Link Service operation Disable Only Ethernet protocol is available RAPIEnet v1 Only RAPIEnet v1 protocol is available RAPIEnet v2 Only RAPIEne...

Page 143: ...ting method for high speed link 1 Click the Project tap on the left Project window and select by right clicking on the communication module item on the tree 2 Click the View High speed Link tab on the left Project window and select by right clicking on the PLC item on the tree ...

Page 144: ... within one HS link parameter Output data settings in case of emergency CPU error Latch It keeps and transmits the latest data received from the CPU Even if it is set to latch it may appear to be cleared by giving data to the CPU before the error Clear Ignores the data received from the CPU and sets HS link send data to 0 for transmission Even if the emergency output data setting of the device are...

Page 145: ...d receive block RAPIEnet Smart I O block is automatically set to the same station number and block number Read area Memory area of own module Available memory area 1 XGK P M K F T C U Z L N D R ZR 2 XGI XGR M I Q R W For the size and range of each memory area refer to the XGT CPU memory device list in the Appendix Variable The variable name of the device set in the read area is displayed Variable ...

Page 146: ... and expansion driver Smart I O expansion Smart I O block slave is available only in Smart I O block RAPIEnet v1 version The rest of the slaves are not supported It is supported as a slave module expansion driver Smart I O extension type Smart I O block type and smart extension service with Ethernet V8 0 or higher as RAPIEnet v2 driver and high speed link service is not supported 4 Write high spee...

Page 147: ...Chapter 5 High speed link service 5 8 5 High speed link parameters read 1 Select Online read on menu 2 Check the relevant HS link in read window and press OK button ...

Page 148: ...f XG5000 to open the screen below Check the setting parameters and click the OK button 2 After downloading the Standard Settings parameters the PLC power must be Off On or reset If you do not reset the communication module the new communication parameter information will not be applied ...

Page 149: ...the newly registered Ethernet XGL EFMx module on the network configuration screen and right click to select the Add Item Add Slave menu Alternatively select Project Add Item Add Slave on the XG5000 menu to perform the same function 1 Slave configuration window RAPIEnet Smart I O block module is a slave module To communicate with master module parameter for each slave must be set The configuration ...

Page 150: ...cupied by other master modules Clicking Add Auto Scan Slave creates a list of slaves that can be added from the network Name Meaning Standard information It means the network configuration information of master local number Displays the base number and slot number Add Slave It is a function to select the module to control among the Smart I O block modules existing in the network at the master stat...

Page 151: ...ve to be selected in the slave add window is controlled by another master module the slave cannot be selected 2 Apply all parameters This function is used when applying all the modules according to the module type In the system consisting of Smart I O block parameters for each module can be applied collectively reducing the parameter setting time ...

Page 152: ...setting cycle is available from 200ms to 65500msec If you check the use of diagnostic area you can get the information of each Smart I O block heartbeat error 5 Master module number This function is activated when Smart I O block is used in XGR CPU It means the station number of the master of XGR CPU and the master module settled on standby Smart I O block connects only the data of XGR master side...

Page 153: ...itted only when the input value is changed at the set time interval Data Transfer method Broadcast When you send data not send the data to a specific receiver but to all devices connected to that network Unicast This is the most commonly used one to one communication method Input filter This function is activated only when the digital input module is used The input filter function is supported to ...

Page 154: ...od 5ms High Speed Link send mode is recommended as Cyclic mode for stable system operation 2 Module parameter settings Module parameter is a window to set basic information necessary to operate Smart I O block special module connected to network For detailed parameters refer to parameter setting of each product 3 High speed link parameters setting 1 Click the Project tap on the left Project window...

Page 155: ...link block according to the network system change click Slave Registration to select the slave to be used and click Apply 3 HS link block setting slave If you double click High speed Link item on High speed Link view tab the following parameter registration window is created Set the area to read and save ...

Page 156: ...etting HS link P2P in XG5000 and check the HS link and click OK button 5 High speed link parameters enable Select Online Communication module setting and diagnosis Enable services in XG5000 and check the corresponding high speed link and click the write button When HS link is enabled HS LED is turned on in the LED display of the module to start HS link ...

Page 157: ...e basic parameters high speed link station no Media IP etc the basic parameters must be set downloaded and reset Click added communication module and select Add item High speed link communication Set according to the number of communication modules used One high speed link is applied per communication module 2 Set the Communication period settings and Output data settings in case of emergency Peri...

Page 158: ...tion 0 stores them in M0010 and transmits 2 words of M0000 data in block 1 When sending specify the area to be read and the sending block without specifying the destination station number 0 station Station type local Mode send receive Block No 0 1 Block 0 send Read area M0000 M0001 Block 1 receive Save area M0010 M0011 Period type 200ms Size 2 words Block 0 Block 1 1 station Station type local Mod...

Page 159: ...pen New Project and enter the project name CPU series CPU type programming type and program name 2 Undefin ed Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select OK button in Communication module selection and module setting is completed 3 Standar d settings D...

Page 160: ...c Settings tab 1 Set Station No 0 and IP address 2 Set Station No 1 and IP address to a station number different from station number 0 4 HS link setting Click Project Add item High speed link communication From the Communication module settings window select the high speed link index communication period and output data settings in case of emergency and then click the OK button ...

Page 161: ... program ming 1 Station No 0 program Sends M0000 hFFFF and h0000 values changed every 500ms and M0001 value 2 word data to high speed link 01 as block 0 and outputs M0010 to P0003 of M0010 and M0011 data received as block 1 of station number 1 to high speed link 01 2 Station No 1 program Sends M0000 hAAAA and h0000 values changed every 500ms and M0001 value 2 word data to high speed link 01 as blo...

Page 162: ...h speed link service 5 23 Sequ ence Setting process Setting method 6 Program Downloa d Online Write window Click OK 7 Set link enable Online Communication module setting and diagnosis check link 1 in Service Enable ...

Page 163: ...state Block setting status Type of information Complete information Complete information Individual information Individual information Individual information Individual information Individual information Name of keyword X High speed link No 1 12 _HSxRLINK _HSxLTRBL _HSxTRX n n 0 127 _HSxMOD n n 0 127 _HSxERR n n 0 127 _HSxSTATE n n 0 127 _HSxSETBL OCK n n 0 127 Data type Bit Bit Bit Array Bit Arra...

Page 164: ...0 127 x High speed link No 1 12 Individual information indicating the operation status of each high speed link parameter for each block Up to 128 blocks of error information are displayed When the user program cannot be executed it indicates that the other station PLC is operating normally when it is OFF and when it is ON the other station is in abnormal status 6 High speed link state _HSxSTATE 0 ...

Page 165: ...ct Variable Monitoring Window in View to display the following variable registration screen Select the flag to register by selecting the high speed link information flags one by one in the variable flag list list screen At this time since _HSxSTATE n _HSxERR n _HSxMOD n and _HSxTRX n are Array type flags the user must select the array number manually and the array number means the block number in ...

Page 166: ...Chapter 5 High speed link service 5 27 3 HS Link Service selection Place the mouse cursor on XGL EFMTB and right click and click Status by Service to open the following screen Select HS link service ...

Page 167: ...must decide which data to receive In addition if one cable is disconnected due to a network failure programming is required to receive data from the other side and not receive data from the disconnected side Based on the issued sequence number the receiving side can receive and use the updated data whenever the sequence number is updated 3 Receive side input data setting When the sequence number i...

Page 168: ...nd and receive The XGK I side to be transmitted should use two communication modules to service the same data with the same setting At this time sequence number is not necessary and the receiving side receives communication data coming into the master as input data If STATE FLAG is turned off with STATE FLAG as a contact in the condition of receiving input data in consideration of network failure ...

Page 169: ...ence or STATE FLAG of the input block of the station is OFF the data of B A Side station no must be treated as input data 4 When XGK I sends XGR receives 1 Data send and receive When sending from XGK I set data to be sent equally to two communication modules connected to XGR system In XGR the receiving side data coming into the master is treated as input data If STATE FLAG is set at the contact po...

Page 170: ... XGR redundant network 1 When XGR sends XGK I receives 1 Communication settings XGR send side Standard settings When using the same high speed link station no By applying One IP Solution High speed link block setting When the sequence number is set in block 0 High speed link block setting When setting sequence number first 1 word and data to be sent by user in block 0 ...

Page 171: ...32 2 Ladder program XGR send side In the HS link block setting increase the sequence number in the first block and set the send data to be sent by the user in the second block 3 Communication settings XGK I receive side Standard settings ...

Page 172: ...A Side The sequence number and user data can be set in one block as shown below High speed link block setting Communication module connected to XGR B Side The sequence number and user data can be set in one block as shown below 4 ladder program XGK I receive side input data setting using HS_FB function block ...

Page 173: ...ock RCV_B1 Receive data of B Side Variable Array RCV_DATA Input data to be processed by user by judging SEQ number of A Side SEQ number of B Side and STATE 5 HS link receiving ladder program in XGK In XGK there is no function block so you can use the program written in the below letter Input the sequence number of A Side B Side input to RX_SRI_A B and the device of data to be input to RCV_A1 B1 Th...

Page 174: ...Chapter 5 High speed link service 5 35 ...

Page 175: ... receives 1 Communication settings XGK I send side High speed link block setting Communication module connected to XGR A Side High speed link block setting Communication module connected to XGR B Side 2 ladder program XGK I receive side No ladder program required ...

Page 176: ...normal you can process data on the master side However if a network error occurs you should copy the data on the standby side to the master and process it as data using the SYNC command using STATE FLAG At this time since receiving block of master and standby should be set use STATE FLAG for each block instead of link trouble _HSx_LTRBL to determine network failure ...

Page 177: ...High speed link service 5 38 5 7 2 When configuring an XGR Single network 1 When XGR sends XGK I receives 1 communication setting XGR send side 2 High speed link parameters setting 3 Ladder program XGR send side ...

Page 178: ...Chapter 5 High speed link service 5 39 4 Communication settings XGK I receive side High speed link parameter setting at receiving side including sequence number 5 Ladder program XGK I receive side ...

Page 179: ... 1 Communication settings XGK I send side High speed link parameters setting 2 ladder program XGK I send side side No ladder program required 3 Communication settings XGR receive side 4 Redundant receive high speed link parameter setting 5 Ladder program XGR receive side ...

Page 180: ...a local monitoring system directly connected to the site network allows access to on site PLC systems Local Surveillance System iXP 2 IP 192 168 91 197 EtherNet IP서버 Wide area Surveillance System 1 IP 191 100 105 1 Wide area Surveillance System 2 IP 191 100 105 2 Switch Router PLC 1 IP 192 168 91 190 PLC 2 IP 192 168 91 191 PLC 3 IP 192 168 91 192 Switch Router PLC 4 IP 192 168 91 193 PLC 5 IP 192...

Page 181: ...8 91 191 PLC 3 IP 192 168 91 192 iXP 1 IP 192 168 91 194 InfoU IP 192 168 91 193 5 8 2 Mix of Dedicated Networks and Third Party Ethernet Systems Shows an example where a PLC system and a third party PLC system are configured using a dedicated network Ethernet system Our Ethernet module allows for User frame definition Communication Therefore knowing the frame structure of other company s PLC Ethe...

Page 182: ...l Area Surveillance System iXP IP 192 168 91 197 EtherNet IP서버 Wide Area Surveillance System 1 IP 191 100 105 1 Wide Area Surveillance System 2 IP 191 100 105 2 Switch Router Switch Router PLC 1 IP 192 168 91 193 PLC 2 IP 192 168 91 194 PLC 3 IP 192 168 91 195 Other company PLC 4 IP 192 168 91 196 Internet InfoU 5 8 4 System configuration using InfoU PLC to PLC Dedicated Ethernet in XGR system In ...

Page 183: ...h speed link service 5 44 5 8 5 System configuration using single network Ethernet in XGR system XGK I IP 192 168 91 193 Ethernet network A Side IP 192 168 91 191 InfoU IP 192 168 91 194 B Side IP 192 168 91 192 XGR ...

Page 184: ...each P2P parameter consists of P2P channel P2P block user frame definition and email 2 P2P editing Up to 64 P2P blocks that can be registered for each P2P parameter A frame can be registered separately for each driver 6 1 2 P2P parameter configuration In order to use P2P service user carry should set it for desired operation in P2P parameter window P2P parameter configuration consists of 4 pieces ...

Page 185: ...n and after receiving a response the request data is sent again to the next start condition If you use Write_NC Send_NC command data is sent in the next start condition without receiving a response Therefore 3 fast data transmission is possible Read Receive service that requires the other party s response does not provide the corresponding optional function The transmission data must be set not to...

Page 186: ...et module supports various Modbus protocol in addition to user frame definition protocol 4 RAPIEnet client V6 0 or higher If RAPIEnet is set in the standard settings the RAPIEnet client service is available 5 E mail E mail service is a service to notify the remote administrator of the status by using the system when a problem occurs in the system If the status of the CPU has changed or an event oc...

Page 187: ...odbus TCP client Modbus RTU client Modbus ASCII client Smart server When using XGT dedicated protocol Modbus protocol simultaneously XGT client XGT Cnet client Modbus TCP client Modbus RTU client Modbus ASCII client RAPIEnet server RAPIEnet protocol of LS ELECTRIC RAPIEnet client Notes 1 For 6 0 and below the number of drivers is reduced by the number of available drivers by the number of Ethernet...

Page 188: ...V6 0 and above the number of P2P channels of the module is 32 regardless of the number of dedicated connections P2P can communicate with simple parameter setting for communication with device using XGT MODBUS TCP protocol for user s convenience For communication with other devices the user can define the frame directly and communicate Also the user can register a message and mail address in order ...

Page 189: ... channel Details It is the function to specify the port number of the client Notes 1 If XGT Ethernet is client destination station s IP address must set server device address If the server is assigned an IP dynamically using DHCP the IP address will be changed and it will be different from the configured IP Therefore communication will not be possible Therefore the server must be assigned a fixed ...

Page 190: ...lect either LSIS XGT or LSIS GLOFA P2P function This function carries out Read Write Data from the destination station using the set drivers The detailed command functions are shown in the table below Start condition It defines the time for the P2P block to operate and the fixed cycle and memory set trigger condition can be selected Command type Select individual read write and continuous read wri...

Page 191: ...l writing and can write data in up to four separate areas Available memory areas P M K F T C U Z L N D R ZR Q I M etc User frame definition Send Send_NC This command is used to send an arbitrary frame to the external device to be connected by unspecified communication method not XGT Modbus client protocol Only one frame per the Frame Send function should be selected and used and the memory setting...

Page 192: ... 2 to XGT Enet Modbus TCP client from Ethernet side with IP address 192 168 1 3 In addition write word data to Ethernet with IP address 192 168 1 3 to XGT Enet client from Ethernet side with IP address 192 168 1 2 IP 192 168 1 2 XGT Enet client Write 4 Word M0100 M0101 M0110 M0111 Starting condition T200MS Channel 0 Channel 1 XGT Enet client Write word P0002 Starting condition T200MS Channel 0 Cha...

Page 193: ...w Project and enter the project name CPU series CPU type programming type and program name 2 Undefine d Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select ok button in Communication module setting and module setting is completed 3 Undefine d Network setting D...

Page 194: ...ings window Enter own s IP address Select server mode among XGT server Modbus server Smart server If you use XGT server and Modbus server at the same time select smart server PLC1 selects XGT server as server operation of XGT Enet client 5 P2P paramete r setting 1 Select Ethernet module Add item P2P communication 2 Select 01 parameter window in P2P selection ...

Page 195: ...ver with XGT Enet client Channel 1 writes 16 BIT data to the server with Modbus TCP client 2 Channel 0 writes 4 words from M0100 to server D100 3 Channel 1 reads 16 bit data from M00100 Bit device 8 Program ming 1 Move the 4 word data to be written to D100 D103 in channel 0 to M0100 M0101 M0110 M0111 2 Channel 1 reads 16 bits from the input contact status 0x10000 from the server s input module PLC...

Page 196: ...line Connect and Online Write download the following items 10 Communi cation module reset 1 Select On line Reset Clear Reset individual module 2 Select the relevant module in the reset window of individual module reset and select OK 11 Enable Services and Run Select Online Communication Module setting Enable Services ...

Page 197: ...Chapter 6 P2P service 6 14 Then select Online Change Mode to run ...

Page 198: ...t Open New Project and enter the project name CPU series CPU type programming type and program name 2 Undefine d Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select ok button in Communication module setting and module setting is completed 3 Standard settings D...

Page 199: ...erver Smart server If you use XGT server and Modbus server at the same time select smart server Select Smart Server as the server operation of XGT Enet and Modbus TCP client of PLC1 2 Set the start address of the bit read area of the server side PLC2 for Bit Read in the Modbus TCP client of PLC1 to P00020 5 P2P paramete r setting 1 Select Ethernet module Add item P2P communication 2 Select 01 para...

Page 200: ...he destination station s IP 7 P2P paramete r setting 1 Set the setting items for each P2P block channel of P2P 01 parameter as follows Channel 0 writes 1 word for data to the server PLC1 with XGT Enet client 2 Write 1 word from input module slot 2 address P0002 to address D200 of server PLC1 8 program ming 1 Save data sent from M0100 M0101 M0110 M0111 of PLC1 to D00100 D00103 and move it to D00200...

Page 201: ...d Online Write download the following items 10 Communi cation module reset 1 Select On line Reset Clear Reset individual module 2 Select the relevant module in the reset window of individual module reset and select OK 11 Enable Services and Run Select Online Communication Module setting Enable Services Then select Online Change Mode ...

Page 202: ... and Tail Group registration is required for frame registration Frame It consists of Head Body Tail Define the sending and receiving frames A fixed sized or a variable sized variable can be added in Body The frame is composed of multiple segments and registered in the frame edit window Send frame HEAD BODY TAIL Data send HEAD BODY TAIL Receive frame HEAD BODY TAIL Data receive HEAD BODY TAIL User ...

Page 203: ...n be entered arbitrarily 3 When the group name SEND and frame type are selected as sending the results entered in the project window are shown 2 Add frame If you click the right mouse button on the added d group as below the pop up menu appears Click Add frame and select the type of frame you wish to create When HEAD TAIL and BODY are selected the frame is added to the group ...

Page 204: ...Chapter 6 P2P service 6 21 1 Adding HEAD of a user frame definition 2 Adding TAIL of a user frame definition 3 Create and add a BODY name of a user frame definition ...

Page 205: ...r processing variable sized data among frames to be received 2 Registration can be done on only the last segment among the areas of Body frame Selecting memory designation saves the data of the corresponding segment among the received frames in the memory area The data is also swappable Size The data size is displayed in bytes Data Input data to send and receive Assign memory Specify the memory ar...

Page 206: ...tant Up to 10 bytes String constant Up to 10 bytes BCC Only one BCC can be applied BODY Numerical constant Up to 10 bytes String constant Up to 10 bytes Variable sized variable Up to 4 variables are available Receive Frame HEAD Numerical constant Up to 10 bytes String constant Up to 10 bytes TAIL Numerical constant Up to 10 bytes String constant Up to 10 bytes BCC Only one BCC can be applied BODY ...

Page 207: ...ble shows the frame structure of the standard protocol and Check Sum protocol For the command and data structure refer to the PLC communication example of Hanyoung Nux Co Ltd http hynux com STX Station No Command Data CR LF 0x02 1 99 0x0D 0x0A STX Station No Command Data Error code CR LF 0x02 1 99 Check sum 0x0D 0x0A 1 Writing an example frame This example is the case of saving the current value a...

Page 208: ...ramming type and program name 2 Undefine d Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select OK button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in the Project window ...

Page 209: ...dard settings Set TCP IP Settings Receive time out Settings and Driver settings on the Standard Settings tab 1 Set Station No 0 and IP address 4 Adds P2P communi cation Select Add item P2P communication 2 The user frame definition is displayed in P2P 01 of the project window ...

Page 210: ...utton and select Add item Add a group 2 Edit group 1 The group name indicates the name of a frame that will be created by the user 2 Select send for the frame type since the send frame is created currently 3 Add frame 1 Select the frame name right click and select Add Frame Edit group It is used for changing the frame name Delete group It is used for deleting a frame ...

Page 211: ...onstant that represents the Hex value in ASCII code and the data is the Hex value of 2 which means STX 6 Add segment TAIL 1 In DRS TAIL type is numeric constant represented by Hex ASCII code and data is input Hex value D A which means CR and LF 7 Add segment BODY 1 Double click the test item to edit the segment as shown below 2 Write a frame that requests read data value on two continuous areas wi...

Page 212: ...r frame definition 2 Click the right mouse button and select Add item Add a group 2 Edit group 1 The group name indicates the name of a frame that will be created by the user 2 Select Reception for the frame type since the reception frame is created currently 3 Add frame 1 Select the frame name right click and select Add Frame ...

Page 213: ...esents the Hex value in ASCII code and the data is the Hex value of 2 which means STX 6 Add segment TAIL 1 In DRS TAIL type is numeric constant represented by Hex ASCII code and data is input Hex value D A which means CR and LF 7 Add segment BODY 1 Since the present value is saved in MB200 and the set value in MB210 set the storage area of the 1st and 2nd data 2 Since the data size of 1 2 is 4 byt...

Page 214: ...2P function select Send as SEND and Receive as RECEIVE 4 The starting condition will be enabled only when the P2P function is SEND 5 Use F93 which indicates 1 second for the starting condition since data is read once a second 6 Click the setting of the receive frame to set the current temperature value and the storage area of the set value 2 Write paramete r Write Online Write 2 Select Online Comm...

Page 215: ...consisting of the user name and mail server and the PLC can send data and the reply can Setting high speed to be received by the PC Server Information POP3 server address Set the IP address to the server address that receives mail from other devices It can be set as a mail server that supports POP3 SMTP server address The IP address must be set as the server address for the PLC to send data Can be...

Page 216: ...ters will not operate so this service is provided as an option in preparation for such a case 6 6 2 Writing address Double clicking an address in the E mail setup section of the P2P screen displays the screen for editing the address book In the screen below register an address to send a mail 1 Address Edit Select Edit to display the Edit Address screen enter your name and e mail address and select...

Page 217: ...vidual users at once If you select a group the personal address book registered so far is displayed on the left screen Select the address of each person who will be a member of the group and click OK to create the group address book If you send to Group 1 the mail will be sent to jmaeil and gsjang at the same time ...

Page 218: ... a message in the E mail setup section of the P2P screen the message edit screen appears 1 Double click on the mail message you want to send 2 Double click the 0 on the above window to display the E mail Message window 3 Click Add to open the E mail edit window ...

Page 219: ...of P2P ESend parameter by the number of bytes set in size Size Specifies the size of the message data Up to 80 can be set Data It is activated when STRING is specified in the form and inputs data Change line Change line means that a command to change the line to the next line is included when the received contents are displayed on the screen 4 Click Add to open the E mail edit window ...

Page 220: ...ail Setting of P2P Decide the title and data of the mail Mail Address Number Set the registration number set in the address book Decide to whom you wish to send mail If you want to send it to multiple people you can set it using a group However the mail addresses of the recipient group should have been entered in advance before specifying the group The number of groups that can be specified is lim...

Page 221: ...o the PLC CPU and start the P2P service To download P2P parameters select Online Write in the XG5000 menu window and the parameter download window will appear In this window basic setting P2P parameter high speed link parameter registered by user can be selected Select only P2P parameters created during P2P 0 7 and select OK If confirmed the P2P parameter is downloaded to the CPU module ...

Page 222: ...t Online Communication module setting Enable Services high speed link P2P from the menu Select a P2P parameter you wish to start from the Enable Link HS Link P2P window A P2P parameter which is already checked has started and if it is canceled the relevant P2P service will stop After downloaded and check operation status of P2P service in System Diagnosis menu ...

Page 223: ...e user can check whether the P2P service is operating normally wit h the system diagnosis Please refer to the Chapter 3 4 XG5000 program for details 1 P2P service Check the status of the user define service in detail When P2P parameter is set and enabled it indicates whether the service is normal or not Real time monitoring is available by specifying read continuously and refresh on menu ...

Page 224: ...vice Save normal service count of P2P service connected to A Side and B Side and read STATUS of the block to check if it is 0 After that it checks that STATUS is 0 and normal service count is increased and read the data on either side 1 XGR and XGK I are redundant with different IP addresses on a single network In such a case since the P2P service must be composed of different blocks in one block ...

Page 225: ...onnected to the master standby side P2P service 2 connected to the standby master side and 0 in P2P block 0 you can write as follows If 1 is normal 1 data is taken If 1 server is abnormal 2 data are taken Check if P2P 1 has been serviced normally and set set_p2p1 if it is normal Check if P2P 2 has been serviced normally and set set_p2p2 if it is normal ...

Page 226: ...antly configured with the same IP address in different separate networks duplicated services can be implemented by writing the same ladder program 2 and the basic part is different Check if P2P 2 has been serviced normally and set set_p2p2 if it is normal ...

Page 227: ...Chapter 6 P2P service 6 44 ...

Page 228: ...Protocol Communication method Port number XGT server TCP IP 2004 UDP IP 2005 2 Frame structure 1 XGT Server Packet Structure Using Ethernet XGT server protocol includes MAC IP header TCP header between LS ELECTRIC frame including data required for Ethernet communication The structure of the Ethernet communication frame is shown below 2 Structure of the XGT server frame The LS IS frame for data com...

Page 229: ...aster single 1 Dual Slave Bit07 0 CPU normal operation 1 CPU Error operation Bit08 12 System status RUN 0x01 STOP 0x02 ERROR 0x04 DEBUG 0x08 Bit13 15 Reserved CPU Info 1 It is determined that it is XGK XGI XGR series XGK 0xA0 XGB MK 0xB0 XGI 0XA4 XGB IEC 0xB4 XGR 0xA8 Source of Frame 1 Client HMI Server PLC 0x33 Server PLC Client HMI 0x11 Invoke ID 2 ID to distinguish order between frames Send thi...

Page 230: ...ndividual h0000 BIT Response to the request for Write Data h0100 BYTE h0200 WORD h0300 DWORD h0400 LWORD Continuous h1400 BYTE Response to the request for block unit read Notes 1 In Timer Counter the Bit specification means the contact value and the Byte and Word value specification means the current value 2 Only Byte and Word can be specified for the data register D 3 In case of a byte type comma...

Page 231: ...ame characters and maximum 16 characters are allowed The value is h 0001 to h 0010 Data address Max 16 bytes Only direct variable is available and input address of variable to read ASCII value within 16 characters Variable names are not allowed except numbers uppercase and lowercase Error status 0 is normal otherwise 0 is an error Length of variable In case of NAK response error status the lower b...

Page 232: ... of blocks Block No 0x01 0x00 2 Variable length Variable Length 0x04 0x00 2 Data address Data Address ASCII M W 0 4 HEX 0x25 0x4D 0x57 0x30 2 Response frame to reading a variable separately Category Form Frame Size LSIS Identification Number Company ID 1 ASCII L S I S X G T n n 10 HEX 0x4C 0x53 0x49 Ox53 Ox2D 0x58 0x47 0x54 0x00 0x00 ASCII L G I S G L O F A HEX 0x4C 0x47 0x49 0x53 0x2D 0x47 0x4C 0...

Page 233: ...riable length Variable Length 0x04 0x00 2 Data address Data Address ASCII M B 0 4 HEX 0x25 0x4D 0x42 0x30 Number of data Data Count HEX 0x02 0x00 2 4 Response frame to reading a variable continuously Category Form Frame Size LSIS Identification Number Company ID 1 ASCII L S I S X G T n n 10 HEX 0x4C 0x53 0x49 Ox53 Ox2D 0x58 0x47 0x54 0x00 0x00 ASCII L G I S G L O F A HEX 0x4C 0x47 0x49 0x53 0x2D 0...

Page 234: ...re Item Size Byte Byte Position Content Slot Info 4 0 Slot info Bit00 Bit03 Slot information remotely connected to another station Bit04 Bit07 Base information remotely connected to another station Bit08 Bit11 Slot information remotely connected from another station Bit12 Bit15 Base information remotely connected to another station Bit16 Bit19 Slot information on which Ethernet module is mounted B...

Page 235: ...ccessfully during run _RUN_EDIT_END Bit11 F0000B Internal flag to indicate when modification is complete during run Modification completed successfully during run _CMOD_KEY Bit12 F0000C Operation mode change Change operation mode by key _CMOD_LPADT Bit13 F0000D Operation mode change Change run mode by local PADT _CMOD_RPADT Bit14 F0000E Operation mode change Change run mode by remote PADT _CMOD_RL...

Page 236: ... normally _IP_IFER Bit F00025 Special communication module Interface error Normal connection is not possible due to malfunction of special communication module among modules in each slot _ANNUM_ER Bit F00026 Significant error detection in external device Fault detection when a failure of external device is detected by user program and recorded in ANC_ERR n Bit F00027 _BPRM_ER Bit F00028 Basic para...

Page 237: ...r detection in external device When a warning message of an external device is detected by the user program and recorded in ANC_WB n fault detection is displayed _LOG_FULL Bit F00047 Warning Log memory full Indicates that there is no log memory storage area of PLC _HS_WAR1 Bit F00048 HS parameter 1 error This flag is displayed when HS link operation is impossible by checking the error of each HS l...

Page 238: ...using server service you must set server mode before downloading If not set XGT server Dedicated connection number in basic parameter means the number of channels HMI connection connected by XGT server However up to 64 blocks per TCP server port is available in V6 0 and above Therefore the number of dedicated communication channels can be changed by changing the number of server connections in the...

Page 239: ... CPU type programming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings Then select the OK button in the Communication module setting window to complete the module setting 3 Standard settings Double click the communication module in the Proje...

Page 240: ...quence Setting process Setting method 3 Standard settings Set TCP IP Settings Receive time out Settings and Driver settings on the Standard Settings tab 1 Set Station No 0 and IP address 4 Program Download Online Write window Click OK ...

Page 241: ...TCP Header and Modbus ADU for the Ethernet communication ADU Application data unit PDU Protocol data unit MBAP Modbus application protocol 1 Frame structure 1 Modbus TCP IP Server Packet Structure Using Ethernet 2 Modbus TCP IP server frame structure IP Header MAC TCP Header MODBUS TCP IP ADU MODBUS TCP IP ADU Ethernet Request Response Frame MABP Header Function Code Data MODBUS TCP IP ADU PDU MAB...

Page 242: ...al line Initialize on client Copy from request frame in response from server 4 Available function codes Classification of function code Function Modbus transcription Response size Function Code 01 h01 Read output bit Read Coils 2000 Coils Function Code 02 h02 Read input bit Read Discrete Inputs 2000 Coils Function Code 03 h03 Read output word Read Holding Registers 125 Registers Function Code 04 h...

Page 243: ... name CPU series CPU type programming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select ok button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in t...

Page 244: ...ting method 3 Standard settings Set TCP IP Settings Receive time out Settings and Driver settings on the Standard Settings tab 1 Set Station No 0 and IP address 2 Click Modbus setting and input each device 4 Program Download In the Online Write window Click ok ...

Page 245: ...ernet module FEnet is as follows 1 EtherNet IP EIP server functions It provides tag communication function of EIP period server function It provides tag communication function of EIP Non period server function 2 EIP client function 1 EIP period client Provides EIP Period client functionality EIP s period client functionality is integrated into the Smart extension services feature 2 EIP Non period ...

Page 246: ...ata desired by the client in the requested packet interval RPI and the desired method Unicast Multicast Therefore the client sets up the Consumed Tag and the server sets up the Produced Tag Notes Implicit Client also generates data to Implicit Server Depending on the type the server can set the timeout with the data cycle given by the client and output to the server module with the data given by t...

Page 247: ...11 5 Standard settings EIP tag setting 6 Variable Tag register Online after connecting local 15 Write Basic parameter setting using XG5000 Standard settings Set TCP IP Settings Receive time out Settings and Driver settings Enter the network type and base slot number where the communication module is installed Set tags to use in local tags Omitted when using specific device values in local tags Loc...

Page 248: ...n No Station number is used as station number of Ethernet module when using RAPIEnet protocol communication with communication device Station number is not used when setting EtherNet IP 2 RAPIEnet setting The operation varies depending on the RAPIEnet setting in the driver setting item of the Standard Settings RAPIEnet setting Smart extension service operation Disable Only the EtherNet IP protocol...

Page 249: ...rview window 2 Smart extension service setting such as communication device adding and setting and PLC area setting can be performed However I O parameter setting should be done separately during Communication device setting If you select Next in the smart extension overview window the Details window appears If you do not want to add the Smart Extension service without using the Smart Extension wi...

Page 250: ... Slave type Specifies the module name of the Communication device to be added For the module name refer to the Communication device User s Manual Station No Specifies the station number of the Communication device to be added The station number range is 0 220 Setting station number method refer to the Communication device User s Manual IP Address Specifies the IP Assigns the Communication device t...

Page 251: ... Set the memory start address of the clients to map the input output variables of the communication device Size Set the memory area s size of the clients to map the input output variables of the communication device 384 words per 1 unit of Communication device required Enables EB Slot Diagnostic variables Enable Disable the use of EB Slot Diagnostic variables Diagnostic variables Area Set the memo...

Page 252: ...devices added under Project Smart Expansion you can check Communication device setting and Communication device information tree 2 In the Communication device setting tree set the client parameter by setting the block in the EIP detailed setting window EIP Non period client setting example EIP period client setting example ...

Page 253: ...ient The minimum value is 20ms Setting is not possible in EIP Non period client Timeout Sets the Time outs of the EIP period client Setting is not possible in EIP Non period client Data type Sets data type In EIP period clients they are automatically represented by local tag values Local tag Set the local tag of the EIP client Double click to select tag or to directly write variable of specific de...

Page 254: ... set to the communication device Refer to the Communication device user s manual for how to set the communication device s IP address Module type Specifies the module type of the communication device Module type is automatically assigned when adding a communication device and can not be modified image Assigns the image of the communication device Use the desired photo file as the image of the comm...

Page 255: ... select Open 2 Set each item in Standard settings 3 In the Standard settings window select the parent Sets EIP Server tab 4 In the Sets EIP Server window double click the area of the local tag Use device values rather than tags If you want to use the device value select the local tag area with the left mouse button once and enter the device value you want to use In this case please skip 4 ...

Page 256: ...he local tag for the EIP period server then select OK 6 If the tag has been added to a local tag in the Sets EIP Serve window select OK 2 In case of operating as Non period server When the Ethernet module operates as Non periodic server there is no additional parameter setting other than tag registration ...

Page 257: ...must be registered first The Tag register method is as follows 1 Tag setting when using XGK CPU 1 Set tag for EIP communication Select Project EtherNet IP OPC UA Tag Settings 2 In the EtherNet IP OPC UA Tag Settings window select Add Variable 3 Select Add Variable enter and select the variable data type device etc and select OK ...

Page 258: ... type Select the data type of the variable tag to use Device Enter the device value to map with the variable tag Comment Enter a description of the variable tag Enter it if necessary 4 After confirming that the variable added in the EtherNet IP OPC UA tag setting window appears normally select Close ...

Page 259: ...Right click on Global Direct Variable or Local Variable in the Project window and select Open 2 Fill in the information of the variable tag to be used and check EIP OPC UA for details of global direct variable and local variable setting please refer to XGI XGR CPU manual ...

Page 260: ...P tag and EIP server the module does not need to be reset and the settings are immediately reflected 3 When the module is exchanged using the Module Changing Wizard the EIP tag and EIP server parameter is not set automatically Redownload EIP tag and EIP server parameter by using Online Write of XG5000 4 EIP Service enable Start EtherNet IP client operation when Smart Extension Service is enabled o...

Page 261: ...odule to the EIP server The program example reads the tag setting data of the server station from the client at period intervals Passes tag tttt D0010 word data from the server as client tag jjjj D00100 word data Ethernet module Implicit Server operation EIP Module Implicit Client operation XGI D21A XGL EIPT XGP AC23 XGK CPUSN XGI TR2A XGQ TR2A XGL EFMFB XGP AC23 XGK CPUE XGI D22A XGQ TR2A XGL EFM...

Page 262: ...ramming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select ok button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in the Project window ...

Page 263: ...among P2P parameter window No 1 8 1 Double click EIP Configuration to display the EIP Configuration 01 screen below Then click EDS Information on the right side of XG5000 screen to register EDS information of the external device XGL EFMTB to be connected to EIP 2 If you click the external device to connect in EDS Information EDS by version is displayed Drag the version to the EIP Configuration scr...

Page 264: ...cast and Point to Point 4 Parameter Enter the read size The data type is determined by the registered tag information 5 Send cycle ms time out Set the send cycle and timeout time 6 Tag time setting Local tag Device tag of master to save data read from server Double click to select from Select EIP Tag window or set by directly inputting variable Remote tag The device tag of the server you want to r...

Page 265: ...equence Setting process Setting method 7 Program Download On Online Write window check EtherNet IP basic setting and P2P and click OK 8 Set link enable Check P2P EIP in Online Communication module setting and diagnosis Service Enable ...

Page 266: ...ramming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select OK button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in the Project window ...

Page 267: ...ables in the Global Direct Variables or Local Variables window of the project tree Check the EIP OPC UA item If you use continuous data create an Array type variable 5 Standard settings After setting IP address subnet mask gateway and DNS server in the Standard settings window register the tag to be used in the EIP period server setting tab 6 Downloading parameter In Online Write window check Enet...

Page 268: ... EIPT connected to period server by Smart extension service of Ethernet module Delivers tag 3 M0100 word data from the server as client tag 1 M0000 word data Ethernet module Smart extension operation EIP Module Implicit Server operation XGI D21A XGL EIPT XGP AC23 XGK CPUSN XGI TR2A XGQ TR2A XGL EFMFB XGP AC23 XGK CPUE XGI D22A XGQ TR2A XGL EFMTB XGH DT4A XGF DC4H ...

Page 269: ...ramming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select OK button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in the Project window ...

Page 270: ...ck Project Add item Smart Extension 1 Select Autoscan on the Overview Details window to automatically register the connected network PLC system should be connected in Online Connect before Autoscan 2 Set input output variables and diagnostic variables as initial values in the PLC Area Setting window Then proceed to Section 7 3 If you select Cancel in Overview Detail set Step 4 or later below ...

Page 271: ...set the master setting PLC area setting and Communication device operation setting as initial values 6 Tag registration 1 XGK CPU Click Project EtherNet IP OPC UA Tag Settings Select Add Variable to add variables data types and devices 2 XGI R CPU Add variables in the Global Direct Variables or Local Variables window of the project tree Check the EIP OPC UA item If you use continuous data create a...

Page 272: ...on Device window enter the contents of the Basic Parameter and Connect tab 2 3 1 Click Sets EIP Details under XGL EIP of Smart Extension to register the pre registered Tag1 as the local tag and the Tag3 as the remote tag 8 Program download and Enable Services 1 In Online Write window Click ok 2 Check Smart extension Fenet base0 slot1 in Online Communication module setting and diagnosis Service Ena...

Page 273: ...ramming type and program name 2 Undefined Network Add 1 Select Undefined Network Add item Communication module 2 In the Select Module window click Add module 1 Set Type Base and Slot in Communication module settings After that select OK button in Communication module setting and module setting is completed 3 Standard settings Double click the communication module in the Project window ...

Page 274: ...Tag Settings Select Add Variable to add variables data types and devices 2 XGI R CPU Add variables in the Global Direct Variables or Local Variables window of the project tree Check the EIP OPC UA item If you use continuous data create an Array type variable 6 IP channel setting and EIP block setting 1 Set operation mode of channel 0 as period server and input master s IP address in IP address of ...

Page 275: ...rver service 7 48 Sequence Setting process Setting method 7 Program download and Enable Services 1 In Online Write window Click ok 2 Check P2P EIP in Online Communication module setting and diagnosis Service Enable ...

Page 276: ...server Period Non period among EtherNet IP services but only diagnostic function for EIP client Period Non period The EIP Client Service is integrated into the Smart Extension Service and also includes diagnostics For the diagnosis function of smart extension service refer to 4 4 Smart extension diagnosis function ...

Page 277: ... 3 10 System configuration The Ethernet module provides both EtherNet IP server and client functions Ethernet module V8 0 Client Switch module MRS EtherNet IP server EtherNet IP server EtherNet IP server Max 64 stations 100Mbps 1Gbps ...

Page 278: ...stem it is not limited to one operating system or programming language so it can be operated on various devices Embedded Device 2 Strong security It supports authentication and authorization through signing encryption and data integrity consistency accuracy and validity Authentication uses X 509 certificates 3 Support a Service Oriented Architecture XGT OPC UA server module can access flags local ...

Page 279: ...ication of XGT OPC UA module is as follows Connect with up to 10 OPC UA clients Connect 10 Sessions with OPC UA Client Up to 7000 variables can be set for OPC UA Have up to 50 subscription channels 10 per session Register 1000 and up to 5000 variables MonitoredItem per subscription channel Security Profiles support No Security 128Rsa15 Sign 128Rsa15 Sign Encrypt 256 Sign 256 Sign Encrypt 256Sha256...

Page 280: ...OPC UA server you need to upgrade the OS of the Ethernet module Only V7 x version is supported 1 Download OPC UA server OS from LS ELECTRIC website http www lselectric co kr 2 After installing the Ethernet module on the system supply power to the PLC 3 Connect to PLC with XG5000 and change the operation mode to STOP 4 Select on Online Communication module setting OS download upload 5 Check the bas...

Page 281: ...ct on Online Communication module setting OS download upload 7 After selecting Ethernet module select OS in file type selection and click download button When the file search window appears select the OS file downloaded from the homepage ...

Page 282: ...click the OK button Notes Only Ethernet modules V6 0 or higher manufactured after January 18 can be upgraded to OS that supports OPC UA server If you change to the firmware version V7 x version OPC UA is supported and other V6 x or V8 x version does not support OPC UA function ...

Page 283: ...d into basic setting secure channel setting user authentication setting parameter and selecting variable to use in OPC UA It is downloaded through XG5000 1 Standard settings To set up OPC UA server you have to select Use OPC UA option in standard settings of Ethernet communication module ...

Page 284: ... the OPC UA client connects to the server s URL it is set by default as XG5000 Set PLC Type OPCUAServer Set PLC Name and you can change it 2 Port number Enter the number to be used as the OPC UA server port The default value is set to 4840 which is the OPC UA server port default It can be changed by the user except for port numbers 502 2002 2004 2005 2007 2008 etc already defined among the decimal...

Page 285: ...ver address It is displayed as opc tcp communication module s IP address OPC UA port number and the user cannot directly modify it The IP address of the communication module and the port number of OPC UA can be changed at the same time 3 Secure Channel 1 Server Certificate Name Displays part of the file name of the certificate to use as the server certificate 2 Available security policies on the s...

Page 286: ... for trusted clients connecting to the OPC UA server Unchecked the Automatically accept all client certificates check box in 3 to enter the file 5 Select Certificate Enroll by issuing your own certificate or selecting a certificate stored on your PC 4 User Authentication ...

Page 287: ... access Check the user ID and password to determine if the client is connected 7 4 4 Variable registration The OPC UA server registers and uses server variables for use by OPC UA clients 1 XGK CPU Add OPC UA server variables on Project Export EtherNet IP OPC UA Tag menu 2 XGI R CPU Add OPC UA server variables by selecting EIP OPC UA check box in Global Direct Variable window or Local Variable wind...

Page 288: ...Chapter 7 server service 7 61 7 4 5 Setting Download After setting up OPC UA server and selecting parameters use Online Write menu to download OPC UA server parameters ...

Page 289: ...Chapter 7 server service 7 62 ...

Page 290: ...rk 1 Remote 2stage connection In XG5000 USB cable is connected to PLC 1 and PLC 1 PLC 2 and PLC N are connected to each other via Ethernet To access the contents of PLC 1 in the above figure make the local connection from the online menu of XG5000 and access the contents of PLC 1 After the connection is terminated disconnect the PLC 1 disconnection menu to connect with PLC N Then from the online m...

Page 291: ... 1 stage connection PLC A IP 192 168 91 200 PLC B IP 192 168 91 201 PLC C IP 192 168 91 202 Network 1 Network 1 Remote 2stage connection The figure above shows an example of connecting the 1st PLC 2 and 2nd PLC B in a system consisting of two networks 8 2 1 Remote 1 stage connection when using USB XG5000 must be offline for remote 1 connection From this menu select Online Connection Settings 1 Con...

Page 292: ...FEnet FDEnet etc according to the network type to which step 1 connection is made Step 1 connection is selected by Ethernet FEnet Also selects an Ethernet connection between the CPU built in Ethernet Ethernet module 2 Base slot number Designate number of base and slot where local Ethernet module USB connected PLC for remote connection is installed 192 168 91 190 ...

Page 293: ...ct Notes Cautions for remote connection Create a program that matches the CPU type of the other party to connect remotely and connect If the CPU type is not correct only limited functions are available and the upload download and monitoring function functions of the program are not supported 8 2 2 Remote 2 stage connection when using USB XG5000 must be offline for remote 2 connection In this state...

Page 294: ... according to the network type to which step 2 connection is made The network types of the 1st and 2nd connection are not related It is connected by 1 stage Ethernet to FEnet 2 Base slot number Write the base and slot number of the Ethernet module mounted on the remote 2 connected PLC Remote 1 stage 3 Station number setting Write the station number of the remote 2 connected module ...

Page 295: ...mote 1 stage connection PLC A Rnet 1 station PLC B Rnet 2 station PLC C Rnet 3 station Network 1 Network 1 Remote 2 stage connection 1 Remote 1 stage connection when using Ethernet The above figure shows the case where PC and PLC are connected by Ethernet In this case XG5000 can connect to all PLCs on network without using USB or RS 232C In this case local connection is omitted and all PLCs are co...

Page 296: ...C Select OK in this state and select Connection from the online menu The connection with the built in Ethernet is the same as that of the Ethernet module 2 Remote 2 stage connection when using Ethernet If the PC running XG5000 is connected to PLC via network the setting example of remote 1 connection to Ethernet and PLC A Rnet station 1 to remote 2 are as follows 1 Method Select a local connection...

Page 297: ...ermission f I O information g Forced I O information h I O SKIP 2 When programming XG5000 by connecting remote 1 and 2 open the project of the station to be connected and execute remote connection 3 Remote connection is only supported up to 2 levels No further remote connection is possible 2 Remote connection via XGR redundancy The same service is supported even when remotely connecting to a dual ...

Page 298: ... RAPIEnet mixed system configuration supported by Ethernet V6 0 or higher switch V1 1 or higher 1 RAPIEnet communication using standalone MRS RAPIEnet Smart I O Ethernet module V6 0 RAPIEnet Smart I O Switch module MRS 2 ring system configuration Ring to Ring Ethernet module V6 0 RAPIEnet Smart I O Switch module MRS RAPIEnet Smart I O 1 ring 1 line system configuration Ring to Line Ethernet module...

Page 299: ... V6 0 Switch module MRS Expansion Smart I O Ethernet ring line system configuration Ethernet module V6 0 Ethernet Expansion Smart I O Use either Ethernet or PAPIEnet among the four switch modules Notes 1 Smart extension service can be used in various system configurations However if 1Gbps and 100Mbps media are mixed in the system it operates at 100Mbps In the case of optical media and optical medi...

Page 300: ... there is a problem with the Ethernet module by lighting the LED on the front of the Ethernet module 2 Error checking method by XG5000 connection Only Ethernet module 1 Error Warning check during PLC operation 2 Error Warning check during communication module operation Error Warning check during communication module operation P2P dedicated service Error Warning check during communication module op...

Page 301: ...ameters of FEnet module are normally configured by using XG5000 2 Check if the function block command is normal 3 Check if the communication connection is normal 4 Check if P2P link enable allowed of XG5000 menu is set HS Turned off during high speed link service 1 Check if standard settings parameters of FEnet module are normally configured by using XG5000 2 Check if HS link setting is normal 3 C...

Page 302: ...heck if the function block command is normal 3 Check if the communication connection is normal 4 Check if P2P link enable allowed of XG5000 menu is set Flicker during P2P service 1 Check if parameter is normal due to P2P parameter error V6 0 or higher PADT Turned off during remote access service 1 Check if the IP address for remote connection is correct 2 Check if remote connection is released wit...

Page 303: ...munication module history 3 Check the error status of the EB with the EB or module exchange hot swap in operation option enabled during the smart expansion service EB The error status of EB can be checked conveniently using diagnostic variables Please refer to 4 3 3 Diagnosis variable operation according to EB or module exchange hot swap option during operation ON 1 Check if the station number of ...

Page 304: ...odule blink once after the power is applied the switch module is normal LED contents Error contents Solution PWR LED off after PLC power on 1 Mounting error of Switch module Check if the DC 5V power supply of the power supply module is abnormal Check if the communication module is installed in the base normally ACT LED Off 1 Check if the cable is properly connected to the port LED is not On when n...

Page 305: ...abnormal ERR LED Off 1 Check if the cable is properly connected to the port LED is not On when not connected 2 Make sure the data is sent and received normally FAULT LED Off 1 Reconfirm the station number due to collision with MRS station number of the same network 1G LED Off 1 Channel 1 and 2 are connected by 100M 2 Channel 3 and 4 are connected by 100M RING LED off flicker 1 Channel 1 and 2 are ...

Page 306: ... After connecting to CPU port check through Online Diagnostics PLC History and PLC Error Warning of XG5000 If the module has hardware error or CPU interface error the LED of the communication module itself is abnormal Also programs also provide a quick way to see status information The above figure is error warning information that can be checked through PLC History of Online menu of XG5000 ...

Page 307: ...ing I O parameters Replace the battery if there is something wrong with the battery After reloading I O parameters and checking the storage status if there is an error replace the CPU module STOP ERR ON RUN mode change after reset 25 Basic parameter error Start after reloading basic parameters Replace the battery if there is something wrong with the battery After reloading basic parameters and che...

Page 308: ...N During operation 42 Stack normal range exceeded during program execution Restart STOP RUN ON ERR ON During operation 43 Duplicated base setup error Reset after confirming the base setting switch STOP ERR ON RUN mode change after reset 44 Timer index user error Start after modifying re downloading the timer index program STOP RUN RUN ON ERR ON Scan end 50 Detecting critical error of external devi...

Page 309: ...if there is an error replace the CPU module STOP ERR ON RUN mode change after reset 24 I O parameter error Start after reloading I O parameters Replace the battery if there is something wrong with the battery After reloading I O parameters and checking the storage status if there is an error replace the CPU module STOP ERR ON RUN mode change after reset 25 Basic parameter error Start after reloadi...

Page 310: ...ram STOP RUN ON ERR ON During operation 41 Operation error occurred while executing user program Remove calculation error Redownload Program and Restart STOP RUN RUN ON ERR ON During operation 42 Stack normal range exceeded during program execution Restart STOP RUN ON ERR ON During operation 44 Timer index user error Start after modifying re downloading the timer index program STOP RUN RUN ON ERR ...

Page 311: ...e location of wrong slot with XG5000 and restart after modifying the module or parameter Cold when modifying a program Refer to flag Module type mismatch error flag _IO_TYER _IO_TYER_N _IO_TYERR n STOP RUN E030 Power on Program loading Change RUN mode 31 Module failing during setup or during operation Restart the module after checking the position of detach additional slot with XG5000 and modifyin...

Page 312: ...ing the missing base normally Please refer to Standby CPU error history for its detached base information STOP RUN E103 During operation 104 Systemconfigurationerror Reconfigures Redundant system Check the Expansion driver module station number Check O S version between expansion driver module and expansion manager STOP E104 Power on Scan completion 300 Redundant system synchronous operation error...

Page 313: ...unication module abnormally Connect to CPU port and click Online Communication module setting and diagnosis System diagnosis of XG5000 Thereafter you can right click the Ethernet module in the PLC system and check it through the Block Status tab of Status by Service P2P Service Please refer to E mail error code when using E mail service ...

Page 314: ...the block setting 4 Email service cannot connect to the email server Check the IP address ID password of the email server and check the network status 0x0004 P2P Communication Error 1 The device area requested by the server service dedicated communication has been exceeded Check the block setting 2 An error message was received from the server in Modbus communication Check the block setting addres...

Page 315: ... setting do not match Check the block setting There is an error in the message data requested from XGT Cnet client Cnet dedicated communication Check the data 3 Check the data type of the XGT dedicated communication P2P block 0x0012 P2P communication error 1 There is an error in the address format of the FEnet dedicated communication request message Check the block setting 2 An error occurred duri...

Page 316: ... dedicated error reply message The command message header of FEnet dedicated communication is set incorrectly Check the settings 0x0090 Dedicated Server Monitor execution error There is a problem in monitor execution registration request of XGT Cnet client Cnet dedicated communication Check the settings 0x00F0 P2P Buffer Error There was a problem when allocating an internal buffer for FEnet dedica...

Page 317: ...ck the block setting Note1 FEnet dedicated communication collectively refers to XGT server and XGT Enet client Error code Error contents Solution 0xB008 P2P Block station number setting error The maximum station number was exceeded in XGT Cnet client Cnet dedicated communication Check the block setting 0xB025 P2P Received incorrect response frame for the request It is not a response to the frame r...

Page 318: ...end with the Email address book Check the address and message setting on XG5000 and try again Note1 FEnet dedicated communication collectively refers to XGT server and XGT Enet client Error code Error contents Solution 0xE173 P2P Email receiver registration error An error occurred while registering the email receiver Check the settings 0xE174 P2P Email sender registration error An error occurred w...

Page 319: ...er cannot send data before making a connection First establish a connection on the other client 2 The data size set in user frame definition communication exceeded the maximum size 1024byte Check the data size Note1 FEnet dedicated communication collectively refers to XGT server and XGT Enet client ...

Page 320: ...ce Types of service status and descriptions are as follows Service status type Description Enable Smart extension service is working Disable The operation of the Smart extension service has stopped SCAN MAX Smart extension service displays the maximum scan cycle of the network SCAN MIN Smart extension service displays the minimum scan cycle of the network SCAN CURR Smart extension service displays...

Page 321: ...he type of error occurred when an error occurs in EB Slot No slot Displays the slot number EB Type slot Displays the module type installed in the slot EB For EtherNet IP EIP clients displays the service type Status slot Displays the service status of the slot EB Block Status slot Display the status of that service block This feature is only available for EIP clients Error code Slot The error code ...

Page 322: ...sion Service Smart extension service can check error related diagnostic variable EB flag in diagnosis variable and Status by Service See the table below for the corrective actions for the errors identified in the diagnostic variables EB flags If the same error occurs after the measures below request A S ...

Page 323: ...device for which _BB SS_EBXX_IO_DEER occurred by checking the EB diagnostic variable 1 Check if I O module is missing from communication device 2 Check if I O module failure of communication device Allocate diagnostic variables depend on the setting of the EB or modu le swap hot swap option during operation For more information refer to 4 4 3 Diagnosis Variable Action by EB or Module Change Hot Sw...

Page 324: ...ck including smart extension network cable 2 Check the power status of devices in the network _BBSS_EBXX_REF_TI ME_OUT Check the network connection of the relevant communication dev ice 1 System check including smart extension network cable 2 Check the power status of devices in the network Check the network load of the relevant communication device 1 Check if the network load meets the specificat...

Page 325: ...단 변수는 동작 중 EB 또는 모듈 교환 핫 스왑 설정 옵 션에 따라 동작이 달라집니다 자세한 사항은 4 4 3 동작 중 EB 또 는 모듈 교환 핫 스왑 옵션에 따른 진단 변수 동작 을 참조하십시 오 Slot _BBSS_EBXX_SYY_I O_TYER Check that I O parameter settings of the communication device and the mounted I O module match _BBSS_EBXX_SYY_I O_DEER Check I O module status of the communication device 1 Check if I O module is missing from communication device 2 Check if I O module failure...

Page 326: ...ures Select Online Communication module setting System Diagnosis from XG5000 Right click on the XGL EFMxB module you want to diagnose and select View communication module log If you select the error occurrence history in the Event History tab and the Communication History tab you can check the details of the error and the corrective action in Details and Actions below ...

Page 327: ...er than X B W D L 3 0x0003 If you request a device that is not in service XGK P M L K R XGI I Q M 4 0x0004 It is the case that exceeded the supported area for each device 5 0x0005 Read write up to 1400 bytes at a time if you request beyond this range Single block size 6 0x0006 Read write up to 1400 bytes at a time if you request beyond this range Total size per block 117 0x0075 The head of the fra...

Page 328: ...are error Is the power supply normal H W error Does the installation environment meet the installation specifications Is the Ethernet module installed correctly Restart the power Do you get the same error It is hardware error of Ethernet module Contact A S center Check the power voltage Complement the installation environment Install the Ethernet module correctly No No No Yes Yes Yes Is it normal ...

Page 329: ...stallation environment meet the installation specifications Ethernet module installed correctly on base module It is hardware error of Ethernet or CPU module Contact A S center Check the power voltage Comply with the general standards for the surrounding environment Install Ethernet module correctly on the base module No No No Yes Yes Yes End ...

Page 330: ...rective are listed below Specifications Test item Test details Standard value EN50081 2 EN55011 Radiated noise 2 Electromagnetic emissions from the product are measured 30 230 QP 50 m 1 230 1000 QP 57 m EN55011 Conducted EM noise Electromagnetic emissions from the product to the power line is measured 150 500 QP 79 Mean 66 500 230 QP 73 Mean 60 EN61131 2 EN61000 4 2 Electrostatic immunity Immunity...

Page 331: ... PLC control panel must have the following features 1 Use SPCC Cold Rolled Mild Steel for the control panel 2 The steel plate should be thicker than 1 6mm 3 Use isolating transformers to protect the power supply from external surge voltage 4 The control panel must have a structure which the radio waves does not leak out For example make the door as a box structure so that the panel body and the do...

Page 332: ...refore high frequency noise waves are radiated from this extension cable To ensure CE conformity attach ferrite cores as shown below to the extension cable Type Vendor Note CU1330D E tech ZCAT3035 1330 TDK 3 How to fix the cable in the panel When fixing the extension cable of the XGT series to the metal control panel keep the extension cable at least 1 cm so that the extension cable does not direc...

Page 333: ... developed in accordance with the above standards for modules operating at rated voltage of AC50V DC75V or higher 10 2 2 Selection of XGT Series PLC 1 Power supply module There are dangerous voltages higher than 42 4V peak inside the power supply modules of the Rated input voltage AC110 220Vtes Therefore the CE mark compliant models feature enhanced insulation strong primary and secondary windings...

Page 334: ...es Memory area of the CPU used for local data send receive Local Device Type Range Size Word Read Write P P0 P2047 2048 R W M M0 M2047 2048 R W K K0 K2047 2048 R W F F0 F1023 1024 R F F1024 F2047 1024 R W T T0 T2047 2048 R W C C0 C2047 2048 R W U U00 00 U7F 31 4096 R W Z Z0 Z127 128 R W L L0 L11263 11264 R W N N0 N21503 21504 R W D CPUH D0 D32767 32768 R W D CPUS D0 D19999 20000 R W R R0 R32767 32...

Page 335: ...gh speed link flag N 42K byte NW0 NW25087 P2P flag U 8K byte UW7 15 31 Analog refresh flag A 1 3 XGR CPU devices Local Device Type Size Range Note Memory Input variable I 16KB IW0 0 0 IW127 15 3 Output variable Q 16KB QW0 0 0 QW127 15 3 Automatic Variable A 512KB AW0 AW262143 Up to 256K retainable Direct variable M 256KB MW0 MW131071 Up to 128K retainable R 64KB 2 block RW0 RW32767 64KB per block ...

Page 336: ...ARP Address Resolution Protocol Protocol to search for MAC address by means of correspondent IP address on the Ethernet LAN Bridge A device used to connect two networks so to be operated as one network Bridge is used not only to connect two different types of networks but also to divide one big network into two small networks in order to increase the performance Client A user of the network servic...

Page 337: ...generally uses the following abbreviation as specified below and Korea uses kr to stand for Korea com usually for companies edu usually for educational organizations such as universities ac academy is mostly used in Korea gov for governmental organizations For example nasa gov is for NASA government mil military related sites For example af mil is for USA air force military org private organizatio...

Page 338: ...sfer Protocol standard protocol of WWW It is a protocol supporting the hypermedia system ICMP Internet Control Message Protocol An extended protocol of IP address used to create error messages and test packets to control the Internet Implicit Messaging Implicit messages and messages with minimal header information other than data XGT EtherNet IP module provides cycle client cycle server communicat...

Page 339: ... Control A method used to decide which device should use the network during given time on the broadcast network Node Each computer connected with the network is called Node Packet package of data which is the basic unit used to send through the network Usually the package is made of several tens or hundreds of bytes with the header attached in front to which its destination and other necessary inf...

Page 340: ...le TCP Transmission Control Protocol A transport layer protocol for the Internet Data Tx Rx through connection Multiplexing Transmission reliable Emergent data transmission supported TCP IP Transmission Control Protocol Internet Protocol Transmission protocol used for communication among different kinds of computers which makes the communication available between general PC and medium host IBM PC ...

Page 341: ...ternet It is a function to set the predetermined execution time of the program and to generate an alarm when the processing is not completed within the specified time indicating that there is an error in the PLC operation 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 Max 200Km distance for ent...

Page 342: ...ode The operation mode has been changed by key F0000D BIT _CMOD_LPADT Operation mode Operation mode changed by local PADT F0000E BIT _CMOD_RPADT Operation mode Operation mode changed by remote PADT F0000F BIT _CMOD_RLINK Operation mode Operation mode changed by remote communication module F00010 BIT _FORCE_IN Forced input Forced input state F00011 BIT _FORCE_OUT Forced output Forced output state F...

Page 343: ...0002C BIT _PGM_ER Program error There is an error in the program F0002D BIT _CODE_ER Code error There is an error in the program code F0002E BIT _SWDT_ER System watchdog System watchdog worked F0002F BIT _BASE_POWER_ER Power error The base power supply is error F00030 BIT _WDT_ER Scan watchdog The scan watchdog worked F0004 DWORD _CNF_WAR System warning Reports the minor error status of the system...

Page 344: ... P2P parameter 5 P2P parameter 5 error F00059 BIT _P2P_WAR6 P2P parameter 6 P2P parameter 6 error F0005A BIT _P2P_WAR7 P2P parameter 7 P2P parameter 7 error F0005B BIT _P2P_WAR8 P2P parameter 8 P2P parameter 8 error F0005C BIT _CONSTANT_ER Fixed period error Fixed period error F0009 WORD _USER_F User contact point Timer that can be used by the user F00090 BIT _T20MS 20ms Clock of 20ms cycle F00091...

Page 345: ... BIT _GTE GTE flag If If larger than or equal to On F00125 BIT _NEQ NEQ flag If it is not equal to On F0013 WORD _AC_F_CNT Instantaneous interruption Indicates the number of instantaneous interruption occurrences F0014 WORD _FALS_NUM FALS number Displays the number of FALS F0015 WORD _PUTGET_ERR0 PUT GET error 0 Main base PUT GET error F0016 WORD _PUTGET_ERR1 PUT GET error 1 Extension base 1 stage...

Page 346: ... latch Latches the error when underflow occurs F00572 BIT _FPU_LFLAG_O Overflow latch Latches the error when overflow occurs F00573 BIT _FPU_LFLAG_Z Zero divide latch Latches the error when zero divide occurs F00574 BIT _FPU_LFLAG_V Invalid operation latch Latch when invalid operation F0057A BIT _FPU_FLAG_I Inaccurate error Indicates an inaccuracy error occurred F0057B BIT _FPU_FLAG_U Underflow Di...

Page 347: ...age module type error F0099 WORD _IO_TYER3 Module type 3 error Extension base 3 stage module type error F0100 WORD _IO_TYER4 Module type 4 error Extension base 4 stage module type error F0101 WORD _IO_TYER5 Module type 5 error Extension base 5 stage module type error F0102 WORD _IO_TYER6 Module type 6 error Extension base 6 stage module type error F0103 WORD _IO_TYER7 Module type 7 error Extension...

Page 348: ...le interface error F0130 WORD _IO_IFER_2 Module IF 2 error Extension base 2 stage module interface error F0131 WORD _IO_IFER_3 Module IF 3 error Extension base 3 stage module interface error F0132 WORD _IO_IFER_4 Module IF 4 error Extension base 4 stage module interface error F0133 WORD _IO_IFER_5 Module IF 5 error Extension base 5 stage module interface error F0134 WORD _IO_IFER_6 Module IF 6 err...

Page 349: ...t available in program F10240 BIT _RTC_WR RTC RW Writing and reading data in RTC F10241 BIT _SCAN_WR Scan WR Initializing the value of scan F10242 BIT _CHK_ANC_ERR External critical error request Request of fatal error detection from external device F10243 BIT _CHK_ANC_WAR External light error request Request of minor error detection from external device F1025 WORD _USER_STAUS_F User contact point...

Page 350: ...r is unstable Link trouble becomes On when a condition falling under 1 2 and 3 above occurs and it becomes Off when the condition returns to normal L000020 L00009F _HS1_STATE k k 000 127 Bit Array Indicates the overall status of No k block in high speed link parameter No 1 Indicates the overall status of communication information for each data block of the set parameter HS1STATE k HS1MOD k _HS1TRX...

Page 351: ...L00249F 6 L002500 L00299F 7 L003000 L00349F 8 L003500 L00399F 9 L004000 L00449F 10 L004500 L00499F 11 L005000 L00549F k is the block number and the information of 128 blocks from 000 to 127 is shown as a total of 8 words including 1 word for every 16 blocks For example in case of mode information _HS1MOD the information of block 0 to block 15 is shown in L00010 and the information of block 16 31 3...

Page 352: ...No 00 block service abnormal execution by P2P parameter No 1 Displays the number of No 0 block service executed normally by P2P parameter No 1 L006310 _P2P1_NDR01 Bit P2P parameter No 1 completed No 01 block service normally P2P parameter No 1 completed No 1 block service normally L006311 _P2P1_ERR01 Bit P2P parameter No 1 completed No 01 block service abnormally P2P parameter No 1 completed No 1 ...

Page 353: ...arameter No 1 N00015 _P1B00RS3 WORD P2P parameter No 1 No 00 block area to read size 3 Saves size 3 on No 00 block area to read of P2P parameter No 1 N00016 N00019 _P1B00RD4 Device structure P2P parameter No 1 No 00 block area to read device 4 Saves device No 4 on No 00 block area to read of P2P parameter No 1 N00020 _P1B00RS4 WORD P2P parameter No 1 No 00 block area to read size 4 Saves size 4 on...

Page 354: ...1RD4 Device structure P2P parameter No 1 No 01 block area to read device 4 Saves device 4 on No 01 block area to read of P2P parameter No 1 N00061 _P1B01RS4 WORD P2P parameter No 1 No 01 block area to read size 4 Saves size 4 on No 01 block area to read of P2P parameter No 1 N00062 N00065 _P1B01WD1 Device structure P2P parameter No 1 No 01 block save area device 1 Saves device 1 on No 01 block sav...

Page 355: ...BS 48 072 H 88 136 ˆ C8 200 È 09 009 HT 49 073 I 89 137 C9 201 É 0A 010 LF 4A 074 J 8A 138 Š CA 202 Ê 0B 011 VT 4B 075 K 8B 139 CB 203 Ë 0C 012 FF 4C 076 L 8C 140 Œ CC 204 Ì 0D 013 CR 4D 077 M 8D 141 CD 205 Í 0E 014 SO 4E 078 N 8E 142 Ž CE 206 Î 0F 015 SI 4F 079 O 8F 143 CF 207 Ï 10 016 DLE 50 080 P 90 144 D0 208 Ð 11 017 DC1 51 081 Q 91 145 D1 209 Ñ 12 018 DC2 52 082 R 92 146 D2 210 Ò 13 019 DC3 ...

Page 356: ...232 è 29 041 69 105 i A9 169 EC 233 é 2A 042 6A 106 j AA 170 ª ED 234 ê 2B 043 6B 107 k AB 171 EE 235 ë 2C 044 6C 108 l AC 172 EF 236 ì 2D 045 6D 109 m AD 173 F0 237 í 2E 046 6E 110 n AE 174 F1 238 î 2F 047 6F 111 o AF 175 F2 239 ï 30 048 0 70 112 p B0 176 F3 240 ð 31 049 1 71 113 q B1 177 F4 241 ñ 32 050 2 72 114 r B2 178 F5 242 ò 33 051 3 73 115 s B3 179 F6 243 ó 34 052 4 74 116 t B4 180 F7 244 ...

Page 357: ...l cable 185m Fast Ethernet 100BASE T4 100 UTP 100m 100BASE TX 100 UTP 100m 100BASE FX Multi mode 100 Optical cable 412m Half Duplex 2km Full Duplex 100BASE FX Single mode 100 Optical cable 20km Gigabit Ethernet 1000BASE T 1000 UTP 100m 100BASE FX Single mode 1000 Optical cable 3km 100BASE FX Multi mode 1000 Optical cable 500m 100BASE T 1000 Coaxial cable 25m 100VG AnyLAN 100 UTP ATM 155 622 UTP Op...

Page 358: ...Appendix A 25 A 6 Dimension 1 XGL EFMTB EFMFB XGL EH5T Unit mm ...

Page 359: ...Appendix A 26 2 XOL ES4H Unit mm ...

Page 360: ...Appendix A 27 3 XOL ES4T Unit mm ...

Page 361: ...Appendix A 28 ...

Page 362: ...othereasons unexpected atthelevelof thecontemporaryscienceandtechnologywhen delivered 6 Not attributabletothecompany forinstance naturaldisasters orfire 3 Since the above warranty is limited to PLC unit only make sure to use the product considering the safety for system configuration or applications Environmental Policy LS ELECTRIC Co Ltdsupports and observes theenvironmental policyas below Enviro...

Page 363: ...Warranty and Environment Policy 2 ...

Page 364: ... Mail sjbaik lselectric biz Hochiminh LS ELECTRIC Middle East FZE Dubai U A E Tel 971 4 886 5360 E Mail salesme lselectric biz LS ELECTRIC Europe B V Hoofddorf Netherlands Tel 31 20 654 1424 E Mail europartner lselectric biz LS ELECTRIC America Inc Chicago USA Tel 1 800 891 2941 E Mail sales us lselectricamerica com Headquarter LS ro 127 Hogye dong Dongan gu Anyang si Gyeonggi Do 14119 Korea Seoul...

Reviews: