Home

XGB Fnet USer Manual

image

Contents

1. Transmission speed lAuofOWIOMps o Tansmisontpe Baseband Flow coto DPE Le 8 Mansmisse Max distance between nodes L n s Max number of nodes Hub connection f 00000 c 0000 INodeieval fe Max protocol size DataSt ye oo NENNEN Communication zone access CSMA CD method Check method for frame error CRC32 Table 2 2 Transmission specifications 2 3 Cable Specifications 2 3 1 Cable classification XGB Fast Enet I F module uses UTP cable above Category 5 Table 2 3 shows cable specifications Classification Details uge SS So called unshielded cable used for Max 200MHz UTP or U UTP l HS signal Phonetic Data low grade of video signal gt Max 100MHz FTP or S UTP Cable with cable core only shielded Electromagnetic Interference EMI and electric solely stability considered Phonetic Data low grade of video signal Double shielded structure pair NIME STP or S STP Phonetic Data Video signal shielded and core shielded cable Substitute for 75Q coaxial cable Table 2 3 Cable class Remark 1 XGB Fast Enet I F module does not support AUI 10BASE 5 2 Twisted paired cable unit above category 5 takes 100Mbps class hub and if network speed is 10 Mbps it can be used with 10Mbps class hub below category 3 Be cautions prior to the installations 2 2 Chapter 2 Specifications UTP FTP Remark 1 UTP
2. i TCP IP Data Frame Figure 5 1 XGT dedicated packet structure through Ethernet 2 XGT dedicated frame structure LSIS own frame for data communication includes LSIS ID instruction data type data Fig 5 2 shows XGT dedicated frame structure LS 1S Frame Format Company Header ECT ANI Data Data Type Figure 5 2 XGT dedicated frame structure Chapter 5 Protocols of Various Services 5 2 3 XGT Dedicated Protocol Header Structure me LSIS XGT pay ASCII CODE 4C 53 49 53 2D 58 47 54 00 00 2 2 h00 Reserved area Client MMI gt Server PLC Dont care h00 Server PLC gt Client MMI Bit 00 05 CPU TYPE 01 XGK R CPUH 02 XGK CPUS 05 XGI CPUU Bit 06 O Redundancy Master Single PLC Info 1 Redundancy Slave Bit 07 O CPU normal operation 1 CPU error Bit 8 12 System status 1 RUN 2 STOP 4 ERROR 8 DEBUG Bit 13715 Reserved It is determined to be the XGK I R series through a reserved area CPU Info 1 XGK OxA0 XGI OXA4 XGR OxA8 XGB Mk OxBO XGB IEC 0xB4 Server PLO gt Client MMI h11 EH Invoke ID 2 l This number is sent as attached to Response frame 2 Bit 4 7 FEnet I F module s Base No BCC Application Header s Byte Sum Table 5 3 XGT Dedicated Protocol Header Structure Chapter 5 Protocols of Various Services 5 2 4 Instruction of XGT dedicated protocol Us
3. Constant ICH Assign memory NONE NONE Figure 7 44 registration of fix sized variable d Variable sized variable Available in the Body area of the frame TX Frame Used when changing the length of frame Check Assign memory to configure the TX frame with the data from PLC memory RX Frame Used when processing the variable sized data among the RX frames Registration available only in the last segment in the Body area Check Assign memory to save the data for the applicable segment among the received frames Swap and conversion are available Add segment o JL cms Figure 7 45 registration of variable sized variable 7 28 ESis Chapter 7 P2P Service a 2 Data Conversion Processing In order to convert data from Hexadecimal to ASCII code when frames are sent and received or execute Byte swap the following setting shall be specified on the frame edit window a Conversion B Hex To ASCII TX converts the data from PLC memory to ASCII code and configures TX frame RX converts the received data to ASCII and save them B ASCII To Hex TX converts the data from PLC memory to Hex and configures TX frame RX converts the received data to Hex and save them Add segment Form Variable sized vi e 7 Assign memory Conversion f NA NONE Hex To ASCII ASCII To Hex Figure 7 46 Data processing method When Hex To ASCII is selected if 2 words of PLC memory MW100
4. Transmission port n 21024 Destination port 502 Transmission port n 21024 SYN Destination port 502 Connection V SYN ACK Connection AC PUSH ACK Modbus TCP IP Serer PUSH ACK Modnus TCP IP Client oo FIN ACK UM Disconnection Disconnection lt Time Time Figure 7 31 Setting TCP XGT client channel 7 22 LS Chapter 7 P2P Service 7 7 User Frame Definition TRX frames must be defined if there are frames whose structure is different from the structure of XGT dedicated frame or Modbus TCP frames in the network This is available only in P2P service All the frames are composed of Header Data and Tail which can be omitted respectively In XGT user defined frames are displayed with group name and frame name whose details are as follows 7 7 1 Group This is group of frame having same header and tail For registration of frame you have to register group 1 Adding user defined frame s group Click the right button of the mouse after selecting User frame definition In the popup menu select Add Group as shown in the Fig 7 32 Praject TIX NewProgram Program NewPLC P2PC Ei NewPLC BOSO LH Cnet 3 a NewPLC BOS1 H FEnet 4 in NewPLC B0S2 XBL EMTA a H P2P 03 ff P2P Channe
5. Omer ecetiat2 BCEE mm hock Vibration resistance Square wave AC 1 500V DC 900 V SES Se 4kV Contact discharge ECON Ste discharge gt IEC61000 1 2 Radiated S e Peak acceleration 147 m s 15G e Duration 11ms IEC61131 2 resistance KE e Half sine 3 times each direction per each axis 7 Noise resistance IEC61131 2 IEC61000 1 3 electromagnetic 80 1 000 MHz 10V m field noise Segme Power supply DigitaVanalog input output IEC61131 2 Fast Weieen nt module communication interface IEC61000 1 4 Free from corrosive gasses and excessive dust Polluti degree a Table 2 1 General specification 1 IEC International Electrotechnical Commission An international nongovernmental organization which promotes internationally cooperated standardization in electric electronic field publishes international standards and manages applicable estimation system related with 2 Pollution degree An index indicating pollution degree of the operating environment which decides insulation performance of the devices For instance Pollution degree 2 indicates the state generally that only non conductive pollution occurs However this state contains temporary conduction due to dew produced 2 1 Chapter 2 Specifications 2 2 Transmission Specifications Table 2 2 shows transmission specifications of XGB Fast Enet I F module media tem Specifications Remark
6. 1 3 1 XGB Fast Ethernet I F module characteristics 1 Ethernet Il IEEE 802 3 standard functions 2 HS link function for HS data communication between LSIS modules Communication dedicated parameter setting program XG5000 Send data Max 32 blocks x 200 words receive data Max 32 block x 200 words Send Receive Max 64 blocks x 200 words HS link and communication is available with Max 4 modules Dedicated communication P2P communication Loader service by FEnet XG5000 Dedicated TCP IP PORT 2002 assignment Connection to other system is available through P2P communication and XG5000 Variable READ WRITE services Dynamic Connection function JZ S GEG Chapter 1 General E 6 Auto 10 100BASE TX media service 7 Various communication functions oystem connection by using public network L SIS protocol XGT and other company protocol Modbus TCP IP dedicated service oimple client function for the communication between LSIS communication module and other company communication module XGT Modbus TCP user define P2P client function Host enable table for Upper PC MMI and communication protection Dynamic Connection Disconnection function by using P2P service 8 Various diagnosis functions module and network condition information CPU module condition Communication module condition Communication service HS rink main service P2P condition PING function to check the existence of other module Pack
7. K careful Electric shock may occur gt The users manual even after read shall be kept available and accessible to any user of the product Contents E X 3X3 Safety Instructions for design process Please install a protection circuit on the exterior of PLC so that the whole system may operate safely regardless of failures from external power or PLC Any abnormal output or operation from PLC may cause serious problems to safety in whole system Install protection units on the exterior of PLC like an interlock circuit that deals with opposite operations such as emergency stop protection circuit and forward reverse rotation or install an interlock circuit that deals with high low limit under its position controls f any system error watch dog timer error module installation error etc is detected during CPU operation in PLC all output signals are designed to be turned off and stopped for safety However there are cases when output signals remain active due to device failures in Relay and TR which cant 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 gt Never overload more than rated current of output module nor allow to have a short circuit Over current for a long period time may cause a fire Contents a Safety Instructions for design process HO signal or communication line shall be wired
8. Right choice for ultimate yield LSIS strives to maximize customers profit in gratitude of choosing us for your partner Programmable Logic Controller XGB FEnet I F Module User s Manual XGT Series XBL EMTA LOL A Safety Instructions eRead this manual carefully before installing wiring operating servicing or inspecting this equipment eKeep this manual within easy reach for quick reference http www lsis com Contents Before using the product For your safety and effective operation please read the safety instructions thoroughly before using the product gt Safety Instructions should always be observed in order to prevent accident or risk with the safe and proper use the product gt Instructions are divided into Warning and Caution and the meaning of the terms is as follows 7x Warning This symbol indicates the possibility of serious injury or death if some applicable instruction is violated This symbol indicates the possibility of severe or slight injury and property N Caution 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 gt The marks displayed on the product and in the users manual have the following meanings N Be careful Danger may be expected
9. Unshielded Twisted Pair Copper Cable FTP Overall Foiled Twisted Pair Copper Cable STP Overall Shielded and Shielded Individually Pair Twisted Pair Copper Cable 2 Patch Cable or Patch Cord Stranded conductor composed of stranded cable instead of solid conductor may be used to increase the flexibility of UTP 4 paired cable Representative specification and material are un coated AWG 24 7 0203A In other words the diameter of a single cable is 0 203mm and this cable is of 1 6 structure as standardized with annealed copper cable 2 3 2 Frequency classification Transmission speed Classification Frequency MHz Mbps P Purpose 0 C Gran Category 1 Phonetic frequency 1 Phone network 2 Pair Category 2 Multi Pair communication cable Category 3 16 Phone network computer network Computer network transmission speed up Category 4 20 20 Low loss communication cable Category 5 amp 100 158 Digital phone network computer network Enhanced Category5 Low Joes broadband cable Table 2 4 Frequency classification Remark 1 Presently Category 3 5 En Cat 5 and Cat 6 are commonly ued and classified under domestic internalional makers where Category 4 has been replaced by Category 5 and Category 7 is being developed all over the world as STP structure 2 3 Chapter 2 Specifications 2 3 3 Category 5 twisted pair cable UTP examples CTP LAN5 em Ui 4J0JN te Conductor resistance M
10. d Examples Request frame Classification Classification Table 5 39 Function code 0x06 frame examples Chapter 5 Protocols of Various Services oo 8 Function code 0x10 Write Multiple Registers a Request Classification Size Range Start address 0x0000 OxFFFF Number of output 2 bytes 0x0001 or 0x07D8 Number of bytes Output value N x2 bytes Table 5 40 Function code 0x10 request frame b Response Classification ges Range Number of bytes 0x0000 OxFFFF N umber of 2 bytes 0x0001 0x007B output Table 5 41 Function code 0x10 response frame c Error Classification Size Range 0x90 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 42 Function code 0x10 error frame d Examples Table 5 43 Function code 0x10 frame examples Chapter 6 Dedicated Service Chapter 6 Dedicated Service 6 1 Dedicated Service Function Introduction 6 1 1 Server model Dedicated service provides a server function as Fig 6 1 Client Server model It operates data Read Write by the protocol that the client connects and sets 1 Client Server model Server does perform the function of Indication and 3 Response 1 Request 2 Indication Client Server 4 Confirmation 3 Response Figure 6 1 Client Server model 6 1 2 System configuration Client Client Client C
11. 5 3 Modbus TO vizio co E 5 8 NET 5 8 5 3 2 Structure of Modbus TCP IP fame 5 8 5 99 MBAP Header SITIO TO serdar a pedro PES t a coe Lata ia pc dR eU PEE HA eU e Enedns 5 9 oo dAVallapie TUI TOT E 5 9 5 3 5 Frame structure by function code cccscsecsssesssseecsseecsseeesseeecsenecssesecsenesseneessenessenessnesessneseass 5 9 Chapter 6 Dedicated Service 6 1 Dedicated Service Function Introduction eeessesseseeeee enne 6 1 6 1 1 Server le Rm 6 1 6 1 2 System COMM e ee Mics cctirsnesieus esp eri means wat ne stem cu HEC iiaa Romain Qu uma ov ca EP CR muU 6 1 6 1 3 Dedicated service casetcabon nnnm nnne 6 1 6 2 Setting Dedicated Service seen nnn nennen nn nnn nnn nn 6 2 Biel ASIC Dal Ae NET TT T 6 2 su acier 6 4 su elle EN 6 6 SMNEICLP CUE 2 MNMMCR 6 6 6 4 Modbus TCP IP Gener nnn nnnnenenn nnn nnnnnnnn nnn n rrr nn nr nnne rers sss nsns sss 6 7 LS TABLE OF CONTENTS Chapter 7 P2P Service PEE iic imU Ree Me TT T 7 1 K ein iere RR 7 1 Tet er parameter Setting chpud sth nai repa oS Cu pae Coss aE nada Cra UE CU ue Cis pR Et Haa Cp RUE 7 3 Te e OM ee E 7 5 1 2 1 Type of P2P INSU e ein EEN 7 5 E EE 7 5 TD FON TOO EN 7 6 Lo TENSE OO E 7 6 FS e MM RIS RI teehee ees seeps inc dee nae aces secrete ince em 7 7 IO P P BIOG coni UEM EMI EPI eee EE 7 8 7 4 E mail service using P2P eene 7 12 TAN s UE
12. B Up to 83P2P parameters can be setup B Respective P2P parameter is composed of P2P channel P2P block user frame definition and e mail 2 P2P edit window B Upto 32 P2P blocks can be registered and edited B Separate frame registration is available for respective drivers 7 2 LSis Chapter 7 P2P Service 7 1 2 P2P parameter setting 1 Communication module setting For P2P service you should set the communication module at Project gt Network Configuration Project ax NewPLC P2PO X Select co a 3 Us f a Network Configuration Index Eeg Ch Oni a a ER Urapecified Noten MP A Meeapt Add Rem D Bee d NePLC s Coe Bac L ns Wet sa Mod Newark n uie 5mmunication 0 n LHS Ce Leien del Neteco 2 0 1 LH FEnet Urapecihed Netra Rem nope K Lunam enema 4 E mail cA TIER LUeets Ze Howe Urapecihed Reie tet mock Figure 7 4 Communication module settings a At the Fig 7 4 Network Configuration in project window select Add Item Communication Module b Slot 0 is fixed as built in Cnet c Click Add Module d Set Type Base and Slot and click OK e Slot setting modular types 01 07 compact types 01 10 f The communication module added in Select communication module window g Clicking OK then communication module added in Unspecified Network as Fig 7 5 2 P2P parameter configuration After adding commu
13. The letters at the back of are for the domain name of specific company school institute connected with the Internet and the letters in front of are for the user ID registered in the machine The last letters of the domain name are for the highest level USA 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 organizations au Australia uk the United Kingdom ca Canada kr Korea jp Japan fr France tw Taiwan etc Chapter 11 Appendix E 3 3o Z 9 Ethernet A representative LAN connection system IEEE 802 3 developed by Xerox Intel and DEC of America which can send about 10Mbps and use the packet of 1 5kB Since Ethernet can allow various types of computers to be connected as one via the network it has been called a pronoun of LAN as a universal standard with various products available not limited to some specific companies 10 FTP File Transfer Protocol An application program used to transfer files between computers among application programs providing TCP IP protocol If an account is allowed to the computer to log in
14. 101 are used for TX frame configuration and the 0x34353637 is saved on MW100 101 the applicable segment of the TX frame will be filled with 4567 And when some of the received frames are converted to Hex and saved if the value of applicable area is 4567 0x3435 3637 will be saved on PLC memory b SWAP B 2 Bytes 2 Bytes swap of applicable part among TRX frames B 4Bytes 4 Bytes swap of applicable part among TRX frames B 8 Bytes 8 Bytes swap of applicable part among TRX frames If 0x1234567811223344 is converted by respective methods above its results are as follows 2 Bytes swap 0x3412785622114433 4 Bytes swap 7856341244332211 8 Bytes swap 4433221178563412 LS 7 29 Chapter 7 P2P Service 7 7 4 TCP UDP user frame definition server Client Server Transmission port n 21024 Destination port user s assignment auct Transmission port n 21024 D Destination port usr s SYN assignment Connection SYN ACK prs Connection 3 User frame mee d definition Client EE c 4 PUSH ACK User frame definition Server PUSH ACK ACK O eee i Mn Disconnection Disconnection Time Time Figure 7 47 TCP user frame definition server 1 TCP user frame definition server provides a function receiving the registered frame as the receiving block to the user s assigned port 2 In case of SYN gt SYN ACK gt
15. 2 P2P block B Separately operated 32 P2P blocks setting 3 User frame definition B Registration of user defined frames 4 E mail B Frame registration to transmit and receive e mail frames 7 4 LSis Chapter 7 P2P Service 7 2 Type of P2P Service 7 2 1 Type of P2P Instructions 1 P2P instructions 6 instructions are available for programming P2P communication service and each instruction will be used with different purpose according to respective service methods as described in the table below for reference Classification Reads the area specified by destination station XGT Client l l l Transmits native station s area data to destination station User defined Transmits native station s area data to destination station frame ion Saves the data received from destination station Modbus TCP Reads the area specified by destination station Client Transmits native station s area data to destination station E mail ESend Transmits a message if an event occurs Table 7 1 Type of P2P instructions 7 2 2 Type of P2P Service 1 XGT Client XGT Client service is used to communicate between XGT FEnet I F modules Through its own protocol built in without additionally defined frame the user can specify communication settings simply with basic settings of channel data type BIT BYTE WORD etc and memory area It uses port No 2004 for TCP and port No 2005 for UDP protocol 2 User defined frame For th
16. Chapter 1 General 1 1 Before Reading This Manual cccccssssecessssseceesseeeessseeeeesseneeeessenseeessueeeessceeeeseseeeeesessnseeeesseeeeess 1 1 1 2 Before Using This DEVICE EEN 1 1 1 2 1 II dic aac cT 1 1 eZ lucis Ta leie e DEEG 1 1 1 3 Eet e 1 1 1 3 1 XGB Fast Ethernet I F module characteristics eee 1 1 143 2 Rea e DE 1 2 1 3 3 Max modules can be installed eeesssseeeseeeeeeeeeennn nnnm 1 2 1 3 4 Relevant SO VV ER 1 2 Chapter 2 Specifications ZNEC I wee litis fs eee ne en ee en TERT 2 1 2 2 Transmission Specifications ccccececessecesssecssseessseecsseeessseecsesecssssessasecsueessseesseeessaeesssseesseeessneeeesaeas 2 2 2 3 Cable te TE 2 2 ZONE le Lee e NN EO RETE 2 2 2 3 2 Frequency classification NT T TE 2 9 2 3 3 Category 5 twisted pair cable UTP examples CTPRIANG 2 4 24 Petoitiarnce e ee 2 5 2 4 1 General performance specifications cccccccssseessssecessseeesseeeessseeeeseseeesseeesssseeessseeessseeeessaees 2 5 2 4 2 Performance specifications by communication Service sess 2 5 2 4 3 Diagnosis function specifications EE 2 6 SEENEN 2 7 2 NATC e Ee 2 7 2 5 2 Designation of parts Chapter 3 Installation Sw EG Idus guo MAS MAU ON EO AE E E A E 3 1 3A 1 aire we ei e Ti EE 3 1 Sm E22 In EE ele Eet SERERE ET TT 3 1 3 13 Handing CaAUONS M ee Ne aren eer eee ee ee ee 3 1 3 2 Install
17. Fig 9 3 XG5000 remote connection option selecting 1 Connection type Select local connection type Fig 9 3 shows a local connection by using RS 232C Select the communication port from user PC port Following section explains the case of Enet user Refer to the user manual of each communication module 2 Connection depth It decides local or remote 1 or remote 2 for connecting PLC Select remote 1 Connection settings Type R 2 36 v Depth General Timeout interval RS 232C Remote 1 RS 232C Remote 1 FIS 232C settings Network type FEnet Port number COM Local communication module Baud rate 115200 X GT x Base number 0 Slot number 1 Cnet channel Channel Retrial times Remote 1 communication module Read Write data size in PLC run mode Station number 10 Normal Maximum Send maximum data size in stop mode Gomes Lacu omn 182 168 0 Auto Detect IP address Fig 9 4 XG5000 remote 1 3 Connecting Select Rnet Fdnet Cnet FEnet FDEnet by the remote 1 network type Fig 9 4 shows remote 1 through FEnet Select FEnet Chapter 9 Remote Communication Control 4 Base No Assign Base No that is installed with FEnet I F module for remote connection 5 IP address FEnet I F module IP that installed in destination station PLC for remote 1 in network 1 Assign address 6 Slot It shows the position of communication module which
18. O Coniral Redundancy VID PP 01 8055 hiore Gre Me FD 02 8051 Internal tel o 520 03 ma PP 04 gp System Variable IM a A Firameter a EZ MewPLCIXGE XECU Run Communion madue seng CD Sauer T NW bask Paraeneter T Global Direct Variables Rerewa H Hour mee Poit M TU a A Parameter Diagnesis i I Basic Parameter EN Tag Manager x 7 Foofag Upland nel Bret Skip HO Functen Nane Fault Mask FES System Diagnosis Modul Cnanging Winar Bare Cinge viazarg Ef Stat Online Eding EIB Uh vire Modified Program Chis Ww Bf End Online Editeng Chi U pam eau Coen Fig 8 11 HS link enable a Connecting it through XG5000 click link enable on On line menu b Select HS link 01 or HS link 02 LES Oe LU Zaang na TT Za REKT xm Gen ppo LA UE E E KOO au gs nog HERR TA Ami AR Oxon ngu c 422 gh speed Link ege PI E gu deg rr agerd Lut 02 D062 Xi EMTA ei a E Network Configuration il ME a E Network Configuration i T i E Bad sel E r gn 4 GD Uripectied retort ersat asp miena Coeli 2 unspecified Network TEMP PP OL BON POP ONE MewPL 050 US CM Ce Par 02 POS L Interna Ere o A NewPLe 8050 Watt Cni VID PP 02 8051 kel FEneli b dr NewPLC ROEI DRE FE Pe area dy NewPLe 8051 ee f me PP OD FOE P3 a a Ep eat ROSI KBL PN SW Highesperd Link 02 is System Variable 2 EI NewPLCOIGB XECU Run is GinbalrDirect va
19. Partner device Table 7 3 Type of P2P driver clients Partner Port 1 Partner IP address In case XGT is client set the IP address of server device If server uses DHCP for dynamic IP address IP address may change Therefore check the IP address before using If XGT client or Modbus TCP client is selected as P2P driver type user defined frame can not be used 2 How to use Modbus driver Table 7 4 displays instructions and addresses of Modbus devices Modicon PLC cate exeo 7 pe data address Output Point Status Read Read Coil Status OXXXX bit output Bit Read Input Point Status Read Read Input Status 1XXXX bit input Bit Read Output Register Read Read Holding Registers Word Read 04 Input Registers Read Read Input Registers 3XXXX word inout Word Read Output Point 1 Bit Write Force Single Coil OXXXX bit output Bit Write 06 Output Register 1 Word Write Preset Single Register AXXXX word output Word Write Output Point Continuous Write Force Multiple Coils OXXX bit outout Bit Write Output Register Continuous Write Preset Multiple Register 4XXXX word output Table 7 4 Modbus TCP address MAP Chapter 7 P2P Service U 7 3 3 P2P Block If user select P2P block of relevant parameter P2P parameter setting window will be displayed Praject a lix 4B II 4 3 Network Configuration a E Unspecified Network Ei NewPLC BOSO L Cnet ais NewPLC BOS1 LHZ FEnet a Ah NewPLC BOS2 XBL EMT
20. by means of correspondent IP address on the Ethernet LAN 3 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 4 Client A user of the network service or a computer or program mainly the one requesting services using other computer s resource 5 CSMA CD Carrier Sense Multiple Access with Collision Detection Each client checks if there is any sign prior to transmission of data to the network Carrier Sense and then sends its data when the network is empty At this time all the clients have the equal right to send Multiple Access If two or more clients send data collision may occur The client who detects the collision tries to send again in a specific time 6 DNS Domain Name System A method used to convert alphabetic Domain Name on the Internet to its identical Internet number namely IP address 7 Dot Address Shows IP address of 100 100 100 100 where each figure is displayed in decimal with 1 byte occupied respectively for 4 bytes in total 8 E mail Address The address of the user with login account for the specific machine connected via the Internet Usually users ID domain name machine name is assigned In other words it will be like hjjee microsoft com where is called as at displayed with shift 2 pressed on the keyboard
21. definition a Sg send Transmission TX 4 i E mail E Address i System Variable a EI NewPLC XGB XECU Run a Global Direct Variables a 3 Parameter Le Basic Parameter 9 LO Parameter Figure 7 21 P2P project window Message setting m The following figure is message edit window E mail Message Index a 0 i d 3 4 2 6 F 8 o KA ce Figure 7 22 E mail message registration window Click Add to activate the following screen Set the Form and Size and write the message data Form is classified into String and Byte data receiving from CPU Form MB is used to send as many message data of P2P ESend parameter s message data as byte set in Size Change is used to change the line when outputting the data at the received screen Chapter 7 P2P Service E mail Message Tite PLC E MAIL DATA E mail Edit Data IP ADDRESS 192 168 3 1 Change line Figure 7 23 E mail message edit window E mail Edit E mail Message Index PLC EVENT DATA Mo 0 1 d 3 4 5 6 T d 9 10 7 18 L Chapter 7 P2P Service i 7 4 3 Setting P2P block Sets the parameter of P2P block to send message set in the previous steps If you sett the E mail button after clicking the P2P block you can select the P2P instruction Project a lix a SS Network Configuration a ad aided Network A
22. fast log in the computer is available wherever the computer is so to copy files 11 Gateway ooftware Hardware used to translate for two different protocols to work together which is equivalent to the gateway necessary to exchange information with the different system 12 Header Part of the packet including self station number correspondent station number and error checking area 13 HTML Hypertext Markup Language standard language of WWW In other words it is a language system to prepare Hypertext documents The document made of HTML can be viewed through the web browser 14 HTTP Hypertext Transfer Protocol standard protocol of WWW It is a protocol supporting the hypermedia system 15 ICMP Internet Control Message Protocol An extended protocol of IP address used to create error messages and test packets to control the Internet 16 IP Internet Protocol Protocol of network layers for the Internet 17 IP Address Address of respective computers on the Internet made of figures binary of 32 bits 4 bytes to distinguish the applicable machine on the Internet Classified into 2 sections network distinguishing address and host distinguishing address The network address and the host address is respectively divided into class A B and C based on the bits allotted IP address since it shall be unique all over the world shall be decided not optionally but as assigned by NIC Network Information Center of the applicable district when jo
23. malfunction Repairs should be followed powered on 1 Check communication speed Auto 10 100M TX Communication speed should be same as that of destination device When the setting communication speed is as same or Auto on network communication is available TX RX LED No Flicker or Off after network connection 2 Check IP address setting Valid IP address on network should be set When IP address overlapped on network or invalid IP communication is unavailable Data Read Write unavailable during dedicated service 3 Check driver Dedicated Modbus TCP IP setting Same protocol with destination device should be used 4 Check if IP of destination device is registered on host table When host table is enable IP address of destination is not registered communication is not available LS 10 1 Chapter 10 Troubleshooting E Error Details tions 00 00 000000 0 1 Check communication speed Auto 10 100M T X Communication speed should be same as that of destination device When the setting communication speed is as same or Auto on network communication is available 2 Check IP address setting Valid IP address on network should be set z When IP address overlapped on network or invalid IP communication is unavailable Send Receive unavailable during HS link service 3 Check HS link parameter setting When parameter S not set station no is overlapped wr
24. mme P2P parameter No 1 N0035 9oNWA2 Word block No 00 Save area Saves P2P parameter No 1 block No 00 Save area size 3 size 3 P2P parameter No 1 N0036 NW43 P1BOOWD Device j N0039 9 NW47 4 Se block No 00 Save area Saves P2P parameter No 1 block No 00 Save area device 4 device 4 P1BOOWS P2P parameter No 1 N0040 YNW48 4 Word block No 00 Save area Saves P2P parameter No 1 block No 00 Save area size 4 size 4 Chapter 11 Appendix Eoy P2P parameter No 1 NO0041 NW49 PIBO1SN Word Block NEE Saves P2P parameter No 1 block No 01 destination station number station No N00042 P2P parameter No 1 S Aen ave Ee block No 01 Read area Saves P2P parameter No 1 block No 01 Read area device 1 NW54 1 structure N00045 device 1 P1BOiRS P2P parameter No 1 N00046 NW55 T j Word block No 01 Read area Saves P2P parameter No 1 block No 01 Read area size 1 size 1 NO0047 P2P parameter No 1 n nia af OU colos block No 01 Read area Saves P2P parameter No 1 block No 01 Read area device 1 9oNWO60 2 structure NOO050 device 2 P4BO1RS P2P parameter No 1 N00051 NW61 2 Word block No 01 Read area Saves P2P parameter No 1 block No 01 Read area size 2 Size 2 NOO052 P2P parameter No 1 e STEEN ee block No 01 Read area Saves P2P parameter No 1 block No 01 Read area device 3 9oNWO66 3 structure l N00055 device 3 P1BOIRS P2P parameter No 1 NOOO56 NW67 3 Word block No 01 Read area Saves P2P param
25. remote1 PLC B and remote 2 PLC E in a system which composed of 2 networks 9 2 LS Chapter 9 Remote Communication Control 9 2 1 Remote 1 RS 232C Cable For remote 1 XG5000 shall be in off line status In this status select Option from the project menu It shows option dialogue box Then select Option tap XG5000 Project Edit Find Replace View Doc S Poa 0 CO HS EE POR 4b a b PF ANE Esc F3 F4 sFi sF2 F5 F Online Monitor Debug Tools Window Help D ce IR GA Connection Settings Ei T l a 1 Sp D pn cT OG fed lai e E So Safety Lock Lies Areal 6 sF8 sF9 A Safety Signature 238 Change Mode gt a S Network Configuration Read 4 Unspecified Network write j gt R amp NewPLC BOSO LEZ agp gt n NewPLC BOS1 LZ A Compare with PLC Set Flash Memory Ae System Variable Control Redundancy a EI NewPLC XGB XECU Offline Li e Global Direct Variables Communication module setting gt 4 3 Parameter Reset Clear d RH Basic Parameter Diagnosis d Ru Parameter p BR Internal Parameter E Force Vo 4 DI Scan Program Skip UO pf NewProgram Fault Mask Project WYG Aa HESS BE TE Module Changing Wizard Base Changing Wizard Function FB Most Recently Used of Start Online Editing Ctrl Q Write Modified Program Ctrl W GP End Online Editing Ctrl U
26. 200Km distance for entire network Max 2Km between Nodes Max 500 nodes Generally this used as Backbone Network 35 Reset This is function used when you want to initialize the communication module to clear the error Select Online gt Reset clear gt PLC reset in the XG5000 If you execute this function PLC will restart A 4 Flag List Chapter 11 Appendix 1 Communication relay L HS link number 1 2 IEC type Looo00 LX000 HS1 RLINK After HS1RLINK is ON L00001 LX001 HS1 LTRBL gi Arr S ON displays abnormal status L00020 L00060 L00100 L00140 L00180 el X032 9eL X095 el X096 9eL X159 LX160 LX223 LX224 LX287 LX288 oLX 67 HS link parameter No 1 s all stations normally operates Bi Displays HS link _HS1_STATE k parameter No 1 Block Array l No k s general status Bi HS link parameter No 1 H81 MODIk n Block No k station s Run d operation mode Displays normal Bi communication with HS i _HS1_TRX k link parameter Array No 1 Block No k station Bit HS link parameter No 1 i _HS1_ERRIk Block No k station s Run Array error mode Displays HS link _HS1_SETBLOC Bit did parameter No 1 Block K K Array No k setting Table A 1 List of communication flags based on HS link number Displays all stations normally operated as specified in HS link parameter which will be On if 1 There is no error with all station
27. A a RB P2P 03 P2P Channel HR P2P Block User frame definition 4 E mail ER Address H Figure 7 11 selection of P2P block Up to 32 independent blocks are available If user selects some block at XG5000 user can set the function of block Conditional Command No of Destin Destination Index E mail Ch Driver Setting Header P2P function type Data type tur Data size bua taton cut Frame Setting Variable setting contents o r o0 XGT client LSIS XGT READ ms Single 1BYTE 1 EM C oom d Number 1 j 1 Li 1 Modbus TCP client READ _T15 Single BIT 1 Iv 0 Setting READ1 Dx10000 SAVET1 22M c3300 A Number 1 2 IT 2 User frame definition SEND nS send TX Setting READ1 ZMBD SIZET 10 Figure 7 12 P2P instruction Each item is as follows 1 E mail Used for E mail service 2 Channel Select a communication port which will be used by the relevant block The communication port for each block is decided when P2P Channel is setup which can not be changed during Run Maximum number of channel is 4 minus number of dedicated connections in standard setting 3 Driver Setting Indicates communication driver set in P2P setting When setting channel driver is loaded automatically according to channel If it is deleted at P2P channel setting driver will be deleted automatically For more detail refer to CH7 3 2 P2P channel 4 P2P function You can select P2P function depending on the channel drive
28. ACK Connection gt the registered frame in reception block s received from client TCP user define frame treats the block 3 TCP user define frame does not receive if the port or frame type is different 4 In case of receiving registered frame in reception block to the block UDP user frame server does receive 7 30 LS Chapter 7 P2P Service 7 7 5 TCP user frame definition client Client Server Transmission port n 21024 Destination port user s assignment Transmission port n 21024 D Destination port user s SYN assigment Connection 8 SYN ACK Connection User frame E definition Client TT 4 PUSH ACK User frame definition 8 Server PUSH ACK o e S peel b FIN ACK Disconnection Disconnection ACK RST v Time Time Figure 7 48 TCP user frame definition client 1 TCP user define frame client provides a function sending the registered frame as the sending block to the user s assigned port 2 In case of operation condition ON in block TCP user define frame client does SYN and send the registered frame in sending block to the port 3 In case of UDP user defined frame client does not do SYN it sends the frame to the port when the operation condition is ON is 7 31 Chapter 7 P2P Service 7 8 P2P Service Operation After P2P parameters are specified dow
29. Chapter 10 Troubleshooting This chapter describes defects and errors that may occur in system operation their causes and actions to take against If any error occurs on XGB Fast Enet I F module its related details can be checked through the procedures below Any discretionary or disassembly is not allowed Error Details tions 1 Check if CPU unit s correctly connected with FEnet module 2 Check the upper and lower fixing lever position Position close after connecting module Connecting with CPU unit is not correct the power can be supplied and module can t operate 3 Check voltage DC 24V and capacity of power zs When the consumption current of expansion module on CPU unit is over the rated capacity module can t operate 4 Check if communication module is correctly recognized through XG5000 Check it by using system diagnosis RUN LED Off after module powered on 1 Check if CPU unit s correctly connected with FEnet module I F LED No Flicker or Off after Connecting with CPU unit is not correct data can t be exchanged normally HIOSHIODONOISGROR 2 Check if communication module is correctly recognized through XG5000 m Check it by using system diagnosis 1 Check communication cable and network status 2 Check if RJ45 connector connected correctly 3 Check if LINK LED flicker Connection of communication cable and RJ45 connector are not correct Send Receive is not available At EEDS On alter module Module
30. Chapter 5 Protocols of Various Services 5 2 6 Frame examples 1 Request frame for individual reading of variables Company ID PLC Info PU Info ource of Frame nvoked ID ength osition heck Sum Command ata Type eserved lock No ariable Length o IsSiggisssisigo e d o D 62 o Table 5 6 Request frame for individual reading of variables 2 Response frame for individual reading of variables Classicication e PLC Info PU Info ource of Frame nvoked ID ength osition heck Sum HEX ata Type eserved Eror State ariable Length Data Count ata Table 5 7 Response frame for individual reading of variables TTT q 4 O DOTS SI S16 21819 O 2 D 9 a O 5 6 LS Chapter 5 Protocols of Various Services 3 Request frame for continuous reading of variables HEX Table 5 8 Request frame for continuous reading of variables 4 Response frame for continuous reading of variables Ox 14 X Table 5 9 Response frame for continuous reading of variables Chapter 5 Protocols of Various Services EN 5 3 Modbus TCP IP Protocol 5 3 1 General Modbus TCP IP protocol function is to data Read Write by using function codes Modbus TCP IP frame is composed of MAC IP Header TCP Header Modbus ADU for Ethernet communication 1 ADU Application Data Unit 2 MBAP MODBUS Application Protocol 3 PDU Protocol Data Unit 5 3 2
31. IO SFT cj Project DCH 4 SS Network Configuration 4 EI Unspecified Network gt 2 NewPLC BOSO LEZ Cnet d is NewPLC BOS1 LHZ FEnet ii D NewPLC B0S2 XBL EMTA ffl High speed Link 02 Lf E System Variable A NewPLC XGB XECU Offline zl Global Direct Variables a d Parameter EH Basic Parameter Project BITS e High Seen Link View P2P i Function FB Monitor 1 RH Offline Monitor 2 Monitor3 Monitor A DEAS AAAMOOO NRL BAX eK R ew EE OAA AA E E TT EENG SS a E EEE amp ERZSAETE SEHR AFE CON OP MZY nr ANE Cp So DB S 8 aA 9 A RB I 9 m gg auop 50 eje3 uajs s m UoIrjeu10ul v l x Findl HE Progam Variable Device x REESE ERR Result mW uu Find2 Comm Cross Used D Duplic Ea 10 Eum e Fig 8 10 Finishing HS link receiving block data size setting LSis 8 5 Chapter 8 High Speed Link Service 4 misc d dis link D Propet fo Y OSANG 4A EA OOO BT ers satety Lock Safety Signabure a IM a V Network Configuration a p unigecihed Network NewPLC ROSS LEZ C an NewPLC DOSI LEZ Fi a gy NewPLC 8052 NEL R High speed Link 02 dp System variatie 2 EI NewPLCUOXGB XECU Run T Gebel Direct Variables Change Maie F a Network Configuration G Rem a 9 Unspecified Network A vote NewPLC im Ua cam Compere with PIC S Ex NewPLe 19052 XBL E KR High speed Link
32. LCXGE XEC agatem gt Network Communication Module Communication period settings Period type 200 msec Y Output data settings in case of emergency Latch Copy Ctrl C Paste Ctrl V Delete Delete P2P Communication High speed Link Communication User Frame Properties Add a Group Communication module setting gt Add Slave Fig 8 2 Setting communication module in HS link parameter a Right click FEnet module in project tree and select Add Item High speed Link Communication as Fig 8 2 b Double clicking shows communication module information setting window as the right screen of Fig 8 2 Communication module settings Communication module settings Module type XBL EMTA Base No eed Eat earpiece Ve geine Mestre Debug Jesi yiadew bip Dac Ed o so UD C thas te 2 mM NH a us Slot No iu SOOO c dcr apa CETA E CEET ECKE EG d SI AE EE EE e DOD eo E e RS Lus pareen om j a dE Network Configurer a ER Urepecitied between Communication period settings A tieweLE 00S Lig cnet da Meet 8051 Lig Srel a E keep 8052 XES EMTA a ER NewPLCOXGIL XICU Ofee T Global Direct variable a A Parameter Output data settings in case of 4 Banie Patate Poi EE ux s qu vum ETE CPU error LLL CPU stop e E SERE Fig 8 3 Finishing HS link communication module setting c Select the
33. NOO09 NW 11 structure device 2 P2P parameter No 1 N0010 NW12 P1BOORS2 Word block No 00 Read area Saves P2P parameter No 1 block No 00 Read area size 2 size 2 S P2P parameter No 1 SA dolus zd Pie ass block No 00 Read area Saves P2P parameter No 1 block No 00 Read area device 3 N0014 NW 17 structure device 3 P2P parameter No 1 N0015 9oNW18 P1BOORS3 Word block No 00 Read area Saves P2P parameter No 1 block No 00 Read area size 3 size 3 S P2P parameter No 1 oe ee SE SEH iios block No 00 Read area Saves P2P parameter No 1 block No 00 Read area device N0019 9oNW23 structure l device 4 P2P parameter No 1 Noo20 NW24 P1BOORS4 Word block No 00 Read area n ja a a Sd Sce dO oO size 4 S 8 P2P parameter No 1 Sc cat a pial Deco block No 00 Save area Saves P2P parameter No 1 block No 00 Save area device 1 N0024 NW29 structure l device 1 P Bows P2P parameter No 1 N0025 NW30 Word block No 00 Save area Saves P2P parameter No 1 block No 00 Save area size 1 size 1 P2P parameter No 1 N0026 NW31 P1BOOWD Device j N0029 o NW35 D e block No 00 Save area Saves P2P parameter No 1 block No 00 Save area device 2 device 2 P1 Bows P2P parameter No 1 N0030 9oNW36 Word block No 00 Save area Saves P2P parameter No 1 block No 00 Save area size 2 Size 2 o P2P parameter No 1 Gees ee ES Sai e block No 00 Save area Saves P2P parameter No 1 block No 00 Save area device 3 N0034 9oNWA41 structure device 3 Pl
34. NTA Tl High speed Link 02 Systm Variable 4 es sl agp henaa Oft T b Globe arit n a F aram miia ita f Prisc ZEN erilisi Whew FIF testa LIE D r m r e ue e e tiran rine i i et Fig 8 7 Setting HS link receiving block station tyoe and mode a Set station type MASTER as the left screen of Fig 8 7 b Select mode Receive as the right screen of Fig 8 7 Brei Dip presepe Sen frt Mese Da ben edem Dy oe eran NUN UE OS EES OC EXESEXSODCERImex E TOY mA RR TUI emo D eduea mS Dncxeex bLYIMARRA ed Q9O OT ac GEG BSS OG seu bas PAPC EEE EF GER GOgolwsaxmmnaduixacGgESssbimsEMRIODCODOHHOWNAEZES Lx SE Sa A iB tt iB SURUY SE EE ER AM POS e aaa eo L EE vwyimaamnili B3 A S EIE a Ripsa Conin a EN pii Prai a hate Conigaratum a MB uripecihed Kieteek gt Ji eat SCD uz cnet Ai Mremi Rl uw FED Meet BS La Cow a aA Heni RS LSA Perv DSL AS Freel a dh Nacu DEOS KL TAI M Hgh ipeed Link o2 M Grenn Varuble EEE LIE vp 30 4 4 a ER Heraf ORDE SEC Llc fires 3 a l ri dp Gb Dereci varables f T 1n a 3bal Chnect Viaruatzbes 1 tren TSH i 1 SC E Input block no RW LU Pr ry 3 ED DT Parata ESI 8 x d i LEER Ld SE EES 9 Fig 8 8 Setting H HS link receiving block station no and mode c Input station no as the left screen of Fig 8 8 This station n
35. NewPLC B0SO Lj t Cnet gt a NewPLC BOS1 LH2 FEnet 4 n NewPLC B0S2 XBL EMTA a RB P2P 03 T P2P Channel d P2P Block a qa User frame definition a4 te send Transmission Ge TX W Line 3 Mal Message Mumberl Mail Address Number M all data MET ESEND MAU j Sein Mail information XN 00 Mail message AM W200 Humber ETE Mail Address Number Address Humber Figure 7 28 Setting screen in case of E mail TX Chapter 7 P2P Service Variable Setting Save area Local Address NewPLC Mal information Mal message Figure 7 29 Setting screen in case of E mail RX ESEND EFEO Condtonalfeg 17 device to use as start condition Conditional Condtondfeg Memory area and flag are available Inputs index number of message list among the E mail setting in P2P Mail message number Determines title and data of mail oets registration number set in Address Lock Determines who to send Mail address number When you want to send to many people use Group But before using Group the address of partner should be inputted The number of Group member is limited to maximum 10 Mail data Indicates the start address of data to send It sends as many data as the number of a ee 10 byte starting the first of array applying to MB 10 Game Mail information Area where mailinformationissaved 1 where mail information is saved Mailmessage message Mailmessage Save
36. PC can receive the reply about E mail PLC sent Chapter 7 P2P Service POPS server Server addresses receiving the E mail from other device Any mail address server supporting POP3 can be used SE E E Server addresses sending the E mail to other device Any mail server supporting SMTP can be used li Account name in the POP3 Password to access POP3 account Message confirmation Time of confirmation whether E mail arrived or not note3 intervals Currently XGB FEnet supports only TX function and RX function is not supported Note1 POPS service is related with mail server setting for RX This is not used in the XGB Note2 Account name password is related with authorization in case of TRX This is not used in the XGB Notes This is related with process of RX message and not used in the XGB Event information monitors the CPU status periodically If PLC becomes Stop mode or error status communication parameter can t operate so this function is provided to prepare the Stop mode or error status Details Message surveillance Set to be larger than 10s Time for checking whether PLC mode is period changed RUN gt STOP Communication module sends message when mode of PLC is Event changed from Run to Stop information STOP gt RUN Communication module sends message when mode of PLC is changed from Stop to Run Communication module sends message when error occurs ERROR l regardless its status 7 4 2 Writing addr
37. Structure of Modbus TCP IP frame 5 8 1 Structure of Modbus TCP IP frame through Enet Ethernet Request Response Frame E A MAC IP Header TCP Header MODBUS TCP IP ADU bh i MODBUS TCP IP ADU Figure 5 3 Structure of Modbus TCP IP frame through Enet MBAP Header Transadion Identifier Protocol Identifier Unit Identifier Figure 5 4 Structure of Modbus TCP IP ADU MODBUS TCP IP ADU MBAP Header Function Code Figure 5 5 Structure of Modbus ADU Chapter 5 Protocols of Various Services 5 3 3 MBAP Header structure Classification Size Description Gent Server Transaction MODBUS Request Response repeatedly if server M 2 bytes Initializing Identifier Response treatment responses 2bytes 0 MODBUS protocol Initializing APO OMe eet lee if server responses Protocol Identifier Frame size except fes MBAP P EE SEON MAKES I responses Classification of unit Unit Identifier which connected to Initializing serial line Table 5 10 MBAP Header structure Reproducing it from request frame if server responses 5 3 4 Available function code EN Le Laf AN Table 5 11 Available function code 5 3 5 Frame structure by function code 1 Function code 0x01 Read Coils a Request Classification Size Range 0x0001 0x07D0 2000 bits Table 5 12 Function code 0x01 request frame b Response Classifica
38. The following describes check points before start up communication module 1 Communication module Check points Installation and operation of XG5000 Connection condition of communication cable only the condition of connecting cable Module installation condition Table 3 3 Check points before start up 2 Start up processing It shows start up from finishing installation of module on PLC Power ON 1 Check power source 2 Check the connection of communication cable 3 Power ON 4 Check LED ON of power supply 5 Check LED status on CPU module gt If abnormal refer to the troubleshooting contents of each PLC manual 6 Check LED status normal abnormal of communication module gt If abnormal refer to chapter 10 Troubleshooting of this manual 7 Download after setting system parameter correctly v Programming Program at XG5000 Write on CPU module v Sequence check Check module operation by program v Program correction Do correct if sequence program has problem v Saving program 1 Save program in floppy disc or hard disc 2 Print out circuit diagram and list by printer Chapter 4 System Configuration a Chapter 4 System Configuration 4 1 General 4 1 1 General XGB Fast Enet I F module supports open Enet It provides network configuration that is to connect LSIS and other company PLC PC on network 4 2 Examples of System Configuration 4 2 1 Combination network c
39. ability of TRX data with understanding the High speed link information such as Run Link Link Trouble etc Table 8 13 shows HS link information function and definition 8 3 1 HS link flag classification C Send Receive Operation Classification Run Link Link Trouble status Mode Information type Individual Individual Individual Individual Keyword name HSxTRX n HSxMOD n HSxERR n HSxSTATE n l HSxRLINK HSxLTRBL x HS Link No n 0 64 n 0 64 n 0 64 n 0 64 Monitor availabilty Program usability Fig 8 13 HS link flag 8 3 2 HS link flag introduction 1 Run Link Flag Overall information it shows if HS link operates in good condition by the user s assigned parameter It keeps On by the time of permitting Off when it is On once and it is On under following conditions 1 The permitting link is On All parameter registration item setting is normal Every data which is included in parameter registration item Send Receive as the setting period otatus of every setting destination station in parameter is RUN and at the moment there s no error M 2 3 4 MN Trouble Link Flag It shows if HS link operates in good condition by the user s assigned parameter In the status of On of Run Link if Run Link is out of On condition it becomes On and it does Off when it recovers Chapter 8 High Speed Link Service EM w 3 S
40. access Chapter 6 Dedicated Service 6 3 XGT Server 6 3 1 TCP XGT server TCP XGT server operates as below Fig 6 6 TCP XGT server operation flow Client Server Transmission port n 21024 Destination port 2004 c Transmission port n 21024 DSYN Destination port 2004 Connection SYN ACK Connection SACK XGT dedicated Deed protocol Client NN Ee PUSH ACK XGT dedicated protocol Server PUSH ACK BACK AMEN FIN ACK Disconnection Disconnection AC RS Request disconnection A E Time Time Figure 6 6 TCP XGT server operation flow 1 Connection a Client does transmit 1 SYN to serve Server does SYN ACK b Connection port no is XGT dedicated protocol port no 2004 c Client does connection check response 3 ACK d Finishing OG makes client server connection 2 TCP XGT server a After connection client does transmit 4 PUSH ACK according to XGT dedicated protocol b Server does transmit 6 PUSH ACK for PUSH ACK Frame c Client does transmit ACK 3 Disconnection a Client does transmit D FIN ACK Request disconnection D Server does transmit 8 RST and disconnect 6 4 Modbus TCP IP Server Modbus TCP IP server operates as below Fig 6 7 Modbus TCP IP Server operation flow e 6 6 LS Chapter 6 Dedicated Service Client Server Transmission port n 21024 Destina
41. agnosis using XG5000 E Lm RN Feta mx En Mene E et groe D Au xG5000 SE i pos kee tenen a Weer DO OPANI c samo D nc Er chy AAR A Se oe anac ke Ik Disconnest ew MAW HE BI 188 200 BC afedi BG NEEN NERE inni pasia ayz CEECEE I TET ITE aa DON COBEEEE ut Ae K i See GR X Sept Stress vw X JE au mo Connedion Settings ee ER P Lk St g I 82970571 d AA Taf ety Lock m o Carte Rap hri a W rin ar Wiper s v Safety Signature i j Lac E FIF Channel A Read T P2P Boeck Bert i Ls n deer a Kri eem be B pae irane HR Compan with PLC B in a a SEND Tris B WW reen Set Th Memoedy D aiia Bj HEAD Seet e TAN Cenhred Bebuapn gnen Wi Dyrem Vui d BODWYI a EB Meet COCH SICHT bn WW ebe vie a DR RECE Roce Communication module setting 9 Enable Link H5 Link POR a V arw El bau Dauer l a BODv2 Resetear Uplaad Downlcadi del o re a amp 3 iial Diagnosis k iu Mer men EH Address ij perm r i Message e Parte UO cilia Upata Direkt Pret us ATi liie e system Variable Sip VO EI faun Mati Meir Changing VWirard a a NewPLC XGB XECH Run lace Changing iced Gf Sat Online Editing Ctrl iy Werte Modified Program Ciel a End Gr ng Editing Figure 7 51 System diagnosis 1 After connecting through XG5000 click System Diagnosis as the left screen
42. ance J Ethernet z 0 0 0 0 P P 0 Ethemet 412m Half Duplex 2km Full Duplex i UP mm Gigabit 1000 3km I 1 1 1 1 1 100 100 100 100 FDDI Mult Mode 100 UT UT UT UT UT UT Warranty 1 Warranty Period The product you purchased will be guaranteed for 18 months from the date of manufacturing 2 Scope of Warranty Any trouble or defect occurring for the above mentioned period will be partially replaced or repaired However please note the following cases will be excluded from the scope of warranty 1 CO NY n n a Mc O A a Aa N NN NN es O Co Warranty and Environmental Policy oo WW Any trouble attributable to unreasonable condition environment or handling otherwise specified in the manual Any trouble attributable to others products If the product is modified or repaired in any other place not designated by the company Due to unintended purposes Owing to the reasons unexpected at the level of the contemporary science and technology when delivered Not attributable to the company for instance natural disasters or fire applications oince the above warranty is limited to PLC unit only make sure to use the product considering the safety for system configuration or Environmental Policy L SIS Co Ltd supports and observes the environmental policy as below Environmental Management LSIS considers the environmental preservation as the prefer
43. at least 100mm away from a high voltage cable or power line Fail to follow this Safety Instructions on installation process gt Use PLC only in the environment specified in PLC manual or general standard of data sheet If not electric shock fire abnormal operation of the product may be caused Before install or remove the module be sure PLC power is off If not electric shock or damage on the product may be caused 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 gt Be sure that screws get tighten securely under vibrating environments Fail to do so will put the product under direct vibrations which will cause electric shock fire and abnormal operation Contents EN A Safety Instructions for wiring process Prior to wiring works make sure that every power is turned off If not electric shock or damage on the product may be caused After wiring process is done make sure that terminal covers are gt Check rated voltages and terminal arrangements in each product prior to its wiring process Applying incorrect voltages other than rated voltages and disarrangement among terminals may cause fire or malfunctions gt Secure termi
44. ation and WINNg DE 3 2 32 1 NEIWOIK COMO 619 E 3 2 e AP COIS WAIN WEE 3 2 3 2 3 Cautions for system and network Coppechon 3 9 3 2 4 Check points before CH De BEE 3 4 Le TABLE OF CONTENTS Chapter 4 System Configuration EE MENT 4 1 A NECI I TE Em 4 1 4 2 Examples of System Configuration esses nennen nennen nnns 4 1 4 2 1 Combination network configuration esee enne nennen nnne nnns 4 1 4 2 2 Network configuration using SCH 4 1 4 2 3 Network configuration using XGB and MMI essen 4 2 4 2 4 Network configuration between LSIS modules ccescceesssecessseeesseeessseeeesseeeeeseeesssseeeesaeees 4 2 4 2 5 Network configuration using XGB and other LSIS PIC 4 2 Chapter 5 Protocols of Various Services SHEE E i en en 5 1 5 1 1 XGB Fast Enet I F module protocol introduction cceccceececeeeeeeeeeeeeeseeeseeeeseeeeeeeseaeeseneesees 5 1 Oe E rell ele Set WICC eo aes decors torccrtiens TC 5 1 52 AOT Dedi aed POCO NENNEN ETT 5 2 spe ECRIRE 5 2 52 2 Fame NL Die ERR 5 2 5 2 3 XGT dedicated protocol header siruchure 5 3 5 2 4 Instruction of XGT dedicated protocol cccccscccssssecessseeessseeeesseeeesseeeesseeeeeseaeeessseeessseeeeseees 5 4 5 2 5 Header and data structure of XGT dedicated DroiocO 5 5 92C Fame ox S e 5 6
45. available 4 HS link information HS link operation condition can be check through Flag Comfortable system diagnosis using XG5000 8 2 Setting HS link service 8 2 1 Basic parameter A vosme i Projet Log Ferme View Celine Mannar Debug foot Window Hele OSES OFS BOC oer hax ek AY AMARA RB AOEDD OB D BO DS M Us uu E C3 immo cis UCM M ARAVA RSL YYY mE es o d TR a TRU a Ek etwa Confiqueation a ER uncpecified Netaork PRC BOSO LEE LC me fh ewei BISI LEAF Peres fe PL BOS XSL EMITA Wb system Variable a ER HewPLC XGB XECU DHline ap Global Direct variables rM Lem p s Dene iamm athe Urtwer ET server k Fig 8 1 Setting basic parameter station no Chapter 8 High Speed Link Service 8 2 2 HS link parameter 1 Setting communication module e r qos rya ee dus Project Edit Find Replace View Online Monitor Debug Tools Window Help Project Edit Find Replace View Online Monitor Debug Tools Window Help Oe GES O BA MO Oise BAX ek A dL A DO O Hu cmecaten noaa nn w 0oo gv cecamBa naacgsgiulu Ne Sc F3 Fa SFI ot FS F6 d AHAS aa ZSUASRSRSSYY UY a mama a Project 4b JJ E ITE a BE Network Configuratia a SE Network Configuration j 4 bei Unspecified Network p E NewPLC BOS i gt 44 NewPLC BOSO LHZ Cnet F f NewPLC BOS4 D aa NewPLC BOS1 LHZ FEnet a System Variable j dn NewPLC E Ng System Variable 4 NewP
46. ax Insulation resistance Min 2 500 Withstand voltage AC 500 Characteristic impedance O 1 100MHz 100 15 10MHz 6 5 2 dB 100m Below po Decrement 16MHz 20MHz 9 3 10MHz Below Near end crosstalk decrement 16MHz dB 100m 20MHz Table 2 5 UTP cable specification 2 4 Chapter 2 Specifications 2 4 Performance Specifications 2 4 1 General performance specifications Table 2 6 shows general performance specifications of XGB Fast Enet I F module E GE Specifications Remark O Max modules can be installed EH l XGI server or modbus 4 channels Max numbers of server connection channels 6 channels Remote 1 1 channel Remote 2 1 channel Weight tg Table 2 6 General performance specifications 2 4 2 Performance specifications by communication Service Table 2 7 shows performance specifications by communication service of XGB Fast Enet I F module we mee e method EE Dedicated 2005 Mex ore HS link UDP IP 2006 e Max 64 blocks 200 words per block TCP IP User s Max 32 blocks assignment e Max 512 bytes User define frame pem assignment TCP IP 2002 Max 1 channel Hemote TCP IP 2002 Max 1 channel Table 2 7 Performance specifications by communication service ver cued TCP IP 2004 clien Function UDP IP 2005 classification Mod bus TCP client TCP IP Max 3 channels P2P 2 5 Chapter 2 Specifications 2 4 3 Diagnosis function specification
47. cation Diagnostics Block number Channel number Block status Connection status Service status Service count Error count IDLE IDLE IDLE IDLE IDLE IDLE IDLE IDLE IDLE IDLE IDLE IDLE as CH CO CD cn E ON Pi COOC GG GC CG GC C CH GGG GPP PPG GGG a COOC OG GGG CG CC CH Figure 7 53 Status by service b It shows Status by service window as the upper screen of Fig 7 53 6 Select P2P service tap it shows P2P service condition as the lower screen of Fig 7 53 LSis 7 35 Chapter 8 High Speed Link Service Chapter 8 High Speed Link Service 8 1 General 8 1 1 General HS link service is a communication method between XGB Series and XGT Series PLC communication modules This service provides that function does send receive data periodically by setting parameters HS link service does send frame to Subnet Broadcast by using UDP protocol Devices installed in same Subnet receives this Broadcast frame at the same time it provides data treatment when one frame is registered in reception list Followings are HS link functions 1 Setting HS link block Max 64 blocks can be set in case of lots Send Receive area Max 200 words can be set per 1 block 2 Setting Period type User can set period of type by parameter User can set period of Send Receive 20ms 10sec 3 Setting area of Send Receive User can set area of Send Receive by data block Max 32 blocks of each Send Receive are
48. d Jebel Aali Free Zone Dubai United Arab Emirates Address 1st Floor Tupoleviaan 48 1119NZ Schiphol Rijk The Netherlands Tel 971 4 886 5360 Fax 971 4 886 5361 e mail jungyongl lsis com Tel 31 0 20 654 1420 Fax 31 0 20 654 1429 e mail junshickp Qlsis com m LS Industrial Systems Shanghai Office _ Shanghai China m Wuxi LS Industrial Systems Co Ltd _ Wuxi China Address Room E G 12FL Hiamin Empire Plaza No 726 West Address 102 A National High amp New Tech Industrial Development Area Yan an Road Shanghai 200050 P R China e mail livong Isis com cn Wuxi Jiangsu 214028 P R China Tel 86 510 8534 6666 Fax 86 510 8534 4078 e mail caidx lsis com cn m Dalian LS Industrial Systems Co Ltd _ Dalian China Address No 15 Liaohexi 3 Road Economic and Technical Development zone Dalian 116600 China Tel 86 411 273 7777 Fax 86 411 8730 7560 e mail cuibx Isis com cn East BeisanHuan Road DongCheng District Beijing 100013 P R China m LS Industrial Systems Guangzhou Office _ Guangzhou China Address Room 1403 14FL New Poly Tower Tel 86 20 8328 6754 Fax 86 20 8326 6287 e mail chenxs Isis com cn Tel 86 21 5237 9977 609 Fax 89 21 5237 7189 m LS Industrial Systems Beijing Office Beijing China Address B Tower 17FL Beijing Global Trade Center B D No 36 Tel 86 10 5825 6027 666 Fax 86 10 5825 6028 e mail xunmj Isis com cn m Homepage 2 Zhongshan Liu Road Guangzhou P R China xX LSIS co
49. desired period of communication as the left screen of Fig 8 3 d Clicking enter key shows block setting screen as the right screen of Fig 8 3 Chapter 8 High Speed Link Service 2 Setting HS link sending block Pme bee eren gue nine Soe Gegen ge he ae oo amp moocincremx te LYIAARY A iin 4ooo 0mTmsaxcamo noasmcssul amp elaimmornimgg SS GE SE ERR REECH SE Dura ld ER BSNS OC DO kMEK CF AAR WE fre Oo Goa ee Go BORA De PL whee tia ooo ares CHE eee z BN i RTT A YUYAO a DB SS a TE a E Network Configuration a VR uripiifid reta KE prio LD Coen Meat nich La Flat EM 2 e ahy HEWELC B05 X3L EMTA B High tpeed Link 02 We Geim Varisble a Ep HewfiCOcGE XECUS OPER E lota Direct Variibid a A eee a rE a E hent Corfigaratian a 8 Uripaeifed Mari i yaoi peo uy c Leeft ret pia eon F a ahy MEWELC BUS X3L EMTA B Highapeec Link 02 We Uem wansde EE HewhCOGE XICUS Offre i Global Direct varubln a A irar M Bade amam BE pop i amp Fig 8 4 Setting HS link k Sending Block station type and mode a Set station type MASTER as the left screen of Fig 8 4 b Select Send in the mode as the right screen of Fig 8 4 Au wem m E CUES 3 e i Pres Er Prize e Quien E TNT 7 SG be Fritten iem Gor Meter GZ de Ween o Dg aH OAS Be Cisse a ak Y WAR Wa I OF OES n RAMET DEX iRIVER pe
50. detection and data compression it demonstrates more excellent performance than SLIP 25 Protocol Contains regulations related with mutual information transmission method between computers connected with each other through the network The protocol may specify detailed interface between machines in Low level for example which bit byte should go out through the line or high level of message exchange regulations as files are transferred through the Internet 26 Router A device used to transfer the data packet between the networks It sends the data packet to its final destination waits if the network is congested or decides which LAN is good to connect to at the LAN junction Namely it is a special computer software used to control the two or more networks connected 2 Server The side which passively responds to the client s request and shares its resources 28 TCP Transmission Control Protocol A transport layer protocol for the Internet Data Tx Rx through connection Multiplexing Transmission reliable Emergent data transmission supported 29 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 and MAC and medium or large sized different types of computer It is also used as a general term for information transmission protocol between computer networks includin
51. does not execute user program normally It means the operation of destination station is normal When it s Off it does the operation of destination station is abnormal 9 8 8 Chapter 9 Remote Communication Control U Chapter 9 Remote Communication Control 9 1 General The remote communication function is a feature to program download debug and monitor at a distance on Ethernet based network system without a physical connection to XG5000 software It is convenient for easy access to each device from a place without repositioning when network connected devices are separated far Communication service function creates the following logical path to attain its purpose EE PLC 1 PLC 2 PLC n IP 182 168 81 188 ID 182 168 601 186 IP 182 168 891 180 1 E EI Localcornecdion Logical connectionvia Ethemet remate connection Fig 9 1 General of remote communication A network is supposed where RS 232C cable is connected to PLC 1 and PLC 1 PLC 2 PLC N are connected with each other via Ethernet In order to access the contents of PLC 1 in Fig 9 1 do local connection on XG5000 online menu then access the contents of PLC 1 After finishing access to access the contents of PLC N disconnect the access with PLC 1 Then select PLC N Station No N FEnet slot of PLC 1 2 accessing it connects logical connection between RS 232C and Ethernet This status as processed identically to conn
52. e communication with other company s device this is used for user to define the other company s protocol in the XGT FEnet Communication protocols are different depending on the maker and user can edit the frame depending on the characteristic of each communication module by using user defined frame User defined frame basically consists of HEAD BODY TAIL 3 Modbus TCP Client XGT FEnet supports Modbus protocol industrial standard Port number is fixed as 502 Chapter 7 P2P Service E X 3J 7 3 How to Set P2P Service 7 3 1 Ethernet driver 1 Driver setting Ethernet driver stands for the XGT FEnet built in server protocol 2 kinds of server protocol XGT server and MODBUS TCP IP are built in XGT FEnet I F module Ethernet server driver can be used to communicate between Ethernet devices with XGT or MODBUS TCP IP protocol The destination station in Ethernet communication system is generally HMI where communication is available with the correspondent device only through parameters setting without additional communication programming by user Fig 7 6 shows the typical example of communication with HMI with Ethernet driver used where FEnet responds if HMI requests data XGT PLC Data Read Write Request XGT Modbus Ethernet Data Read Write Response XGT Modbus Figure 7 7 Example of Ethernet Server driver application 2 Type of Ethernet Server drivers Driver types available are as specifi
53. ection with RS 232C as moved to PLC N station is available to execute all functions of programming downloading debugging and monitoring as in PLC 1 Furthermore when a PC with operating XG5000 is installed with Enet module is installed and it s connected to same network with the PLC it can directly do remote 1 connection with PLC without local connection through RS 232C With this remote communication service easy access to PLC position in the distance is available without moving thereto which is useful for maintenance of PLC system Chapter 9 Remote Communication Control E 9 2 XG5000 Setting and Connection All PLCs connected with XGT network are available to connect each PLCs by XG5000 communication service XG5000 remote connection is composed of remote 1 connection Hereafter referred to as remote 1 and remote 2 Connection Hereafter referred to as remote 2 Following shows remote1 and remote 2 PLC 1 PLC 2 PLC n IP 192 168 91 188 IP 192 168 91 189 IP 192 168 91 190 z Remote 1 ip Li eee gt e ES Ethernet network 1 Local connection 1 logical connection viqiEthernet remote 1 connection LI 3 i i 2logical connection fempte 2 connection CO M gy Dedicated Ethernet network 2 RH D H Remote 2 ER r Za Seeeaneaa ie Ze I PLC A IP 192 168 91 191 PLC B IP 192 168 91 192 Fig 9 2 XG5000 remote connection Fig 9 2 shows examples of
54. ed below XGT FEnet dedicated protocol by LSIS Modbus TCP IP server Open type of protocol by Modicon Table 7 2 Types of Ethernet Server drivers 1 The number of drivers is changeable according to specified Ethernet channel Be careful If Ethernet channel is specified the number of drivers available will be decreased as many as specified 2 Ethernet Server driver supports 1 N communication Accordingly several master devices can take data through a specified port Chapter 7 P2P Service 7 3 2 P2P channel Ethernet P2P channel is used when XGT FEnet I F module executes the master function of communication with built in XGT protocol or user defined protocol AGT PLC Connection Request L only for TCP IP p onem Data Read Write Request Im Ethernet 4 Connection Request Accepted Only for TCP IP Response to Data Read Write Figure 7 8 example using P2P channel information 1 Setting of P2P channel FEnet I F module can send and receive data using up to 4 channels which consists of IP address and port number fThe number of channels available for P2P service is the maximum number of channels 4 minus the number of dedicated connections in the basic parameters The number of P2P channels 4 the number of dedicated connections P2P communication is available with simple parameters setting to communicate with the device using XGT or Modbus TCP protocol for users convenience And for
55. emote F TRemote 1 RS 232C Remote 1 Remote 2 Network type FEnet Network type FEnet Local communication module Remote 1 communication module Base number 0 Base number 0 Slot number 1 Slot number 0 Cnet channel Channel Cnet channel Channel Remote 1 communication module Remote 2 communication module Station number 10 Station number IP address 132 158 i 0 g IP address Scan IP i Scan IP Fig 9 5 XG5000 remote 2 Other parts are same as the step of remote 1 Only the step of remote 2 explains 1 Network type setting Select XGT FEnet by network remote 2 Network type of remote 1 and remote 2 have no relevance 2 Slot No setting In Network 2 the position of module which installed in remote 2 station PLC PLC B The position shall be inputted as Slot No 3 The status of finishing remote 1 is same as the logical connection status with local connection by moving RS 232C User can use all function of online menu Chapter 9 Remote Communication Control E 3 9 2 3 Direct remote 1 Connection on Ethernet connecting PC When a PC with operating XG5000 connects to PLC on network remote 1 by Ethernet is available without connecting RS 232C to PLC CPU PCor PLC 1 PLC 2 PLC n Laptop IP 192 168 91 188 IP 192 168 91 189 IP 192 168 91 190 1 logical connection via Ethernet remote 1 connection Fig 9 6 Remo
56. enagaeeciseseectasaacengecaenseeoneseteoesispsnee A 1 A2 Biggs gie BEE A 2 ATE Une OY A A E E A E A A du apueatanadendcunaatetentsaatienta s A 3 PARIO O ee a tens gad cena acne tand auneuesa suse vans suuetiecsasneteat suse uesaaver tans sueduesduven teal sueesaayeetene suneuessey A 7 PPS GCOS table uei ce emitida EE A 11 A 6 Comparison Table of Ethernet Technology A 12 LS Chapter 1 General o Chapter 1 General 1 1 Before Reading This Manual This manual includes specifications installations and various services for Fast Ethernet Interface Module of XGB Ethernet PLC Hereafter referred to as XGB Fast Enet I F module 100Mbps Ethernet is one of technical standards of IEEE It provides HS data communication on the base of CSMA CD network XGB Fast Enet I F module is an interface module for data communication between PC devices by using the electrical media 10 1 00BASE TX 1 2 Before Using This Device 1 2 1 Relevant user manuals Refer to below user manuals for writing program 1 XGT PLC Instruction and Programming manual 2 XG5000 manual 3 XGB series manual 1 2 2 Version Information XGB Fast Enet I F module XBL EMTA is suitable to following versions 1 XG5000 programming tool above Ver 2 0 2 XGB CPU Moduler type above Ver 1 4 Compact type abobe Ver 1 0 1 3 Characteristics XGB Fast Enet I F module provides its services for ARP ICMP TCP IP and UDP IP protocol and includes following characteristics
57. ential management subject and every staff of LSIS use the reasonable endeavors for the pleasurably environmental preservation of the earth About Disposal LSIS PLC unit is designed to protect the environment For the disposal separate aluminum iron and synthetic resin cover from the product as they are reusable LSIS values every single customers Quality and service come first at LSIS Always at your service standing for our customers http www lsis com 10310000873 m LS Industrial Systems Chengdu Office _ Chengdu China Address 12FL Guodong Buiding No 52 Jindun Tel 86 28 8612 9151 9226 Fax 86 28 8612 9236 e mail comysb lsis com m HEAD OFFICE LS Tower 127 LS ro Dongan gu Anyang si Gyeonggi do 431 848 Korea Tel 82 2 2034 4870 Fax 82 2 2034 4648 e mail cshwang lsis com Road Chengdu 610041 P R China m LS Industrial Systems Tokyo Office Tokyo Japan Address 16FL Higashi Kan Akasaka Twin Tower 17 22 m LS Industrial Systems Qingdao Office _ Qingdao China Akasaka Monato ku Tokyo 107 8470 Japan Address YinHe Bldg 402 Room No 2P Shandong Road Tel 81 3 3582 9128 Fax 81 3 3582 2667 e mail jschuna lsis com Qingdao City Shandong province 266071 P R China m LS Industrial Systems ME FZE _ Dubai U A E Tel 86 532 8501 6068 Fax 86 532 8501 6057 e mail wangzy lsis com cn Address Jafza View Tower Lob 19 Room 205 Along Sheikh Zayed m LS Industrial Systems Europe B V Netherlands Roa
58. er FEnet I F module on the network accessible by FEnet I F module Select a medium to be used gt AUTO electricity The medium of the current module is automatically selected gt 10M HALF 10Mbps Half Duplex electricity gt 10M FULL 10Mbps Full Duplex electricity gt 100M HALF 100Mbps Half Duplex electricity gt 100M FULL 10Mbps Full Duplex electricity Gateway module address router address to send and or receive data Gateway through the station and public line that uses a different network with self station For dedicated communication if no demand has been made for a certain amount of time while connecting to the upper PC or MMI it assumes that Reception Waiting Time the upper system has some problems and then ends the connection Sec with the dedicated service regardless of its normal shut down This waiting time is used to reset the channel when any error may take place in the counterpart station or the cable is disconnected Number of dedicated Available to set up to 4 TCP dedicated services that can be accessed connections simultaneously P2P channel s number of dedicated accessed 2 Driver Server Setting Category Set when it is operated as a dedicated communication server Modbus TCP IP Server Set when it is operated as a Modbus Server driver 3 Host Table Setting Category When enabled only the clients who have the registered IP address with Enable host table host table are allowed to
59. esponse frame c Error Classification Size Range 0x83 Function code 0x80 0x01 0x02 0x03 0x04 Table 5 22 Function code 0x03 error frame d Examples Word status 108 Word status 109 Word status 110 Word status 110 Table 5 23 Function code 0x03 frame examples 4 Function code 0x04 Read Input Registers a Request Classification Sie Range 0x0001 0x007D 125 words Table 5 24 Function code 0x04 request frame b Response Classification Size Rane Number of byte Input status N x 2 bytes LEE Table 5 25 Function code 0x04 response frame Chapter 5 Protocols of Various Services E c Error Classification Size Range 0x84 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 26 Function code 0x04 error frame d Examples Number of words Lower byte 0x01 SS Table 5 27 Function code 0x04 frame examples 5 Function code 0x05 Write Single Coil a Request Classification ges Range Table 5 28 Function code 0x05 request frame b Response Classification ges Senge Table 5 29 Function code 0x05 response frame c Error Classification ges Some 0x85 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 30 Function code 0x05 error frame d Examples Request frame Classification Class
60. ess and message 1 Writing address Double click Address to activate the following screen Project nada AR P2P 03 Se P2P Channel fg P2P Block a I User frame definition a S send Transmission ius TX a amp E mail A Address n p System Variable a EI NewPLC XGB XECU Run gy Global Direct Variables a 3 Parameter Figure 7 15 E mail setting address setting 7 14 LS Chapter 7 P2P Service Register the address to send E mail on the following screen Address Book Figure 7 16 Setting screen of Address Lock Select the No and press Edit or double click the No to active the following screen Address Edit Mame David Address beckham igmail com Figure 7 18 complete screen of Address Lock SE Chapter 7 P2P Service When sending E mail to group press Group David Tony Peter Address beckham amail com ironman amp starkindustr y com spiderman 123 amp yahoo com Avengers Figure 7 20 complete screen of Address Lock including Group If you select Group already registered individual address is indicated at left side Select the individual address to be member of group and press OK to create Group address In the above screen if you send to Friend Tony and Peter will get message simultaneously 7 16 L Chapter 7 P2P Service m 2 Writing message Press Message to edit message Project EE RB P2P Block a a User frame
61. et s B A CAREERS 4 o D SP vtt vr oe iau n u ana tee i EES Se e gr m e Network Configuration a Cp Urapecified Meter gt NeweLC BOSO Lay Cnet hy NeweLC 8051 ug Fiet a dh NenPLC 052 XBL EMTAI Frame Edit c gro cS E re pech e QB User frame defintion e Dy SEND Traeumasion TAIL TAIL Figure 7 37 Adding user frame definition TAIL c Adding user frame definition BODY i 43 DEVE ET elg EN uaZznAAZAAOMAT sapangu Wwrinesoags NewPic P2P 0 Frame SEMD DOOYI x Sie Data 3 rome D P Network Configuration 0 Unspecified Netecrt Al NeweLC BOSD Lay Cree fy NeweLC 5051 ug Trei a dh NenPLC 052 XBL IMTAI D PIP 03 Frame Edit ot op m E re Block e QB User frame defintion e Dy SEND Traeumasion Figure 7 38 Adding user frame definition BODY LSis 7 25 Chapter 7 P2P Service 7 7 3 Segment 1 Type of segment Header Body and Tail of the frame consists of several segments and you can add them in the frame edit window JJJ XG5000 Project Edit Find Replace View Online Monitor Debug Tools Window Help dirr ee 2t LSE MEER T QW priate Ee a 4b 4 b 4PF INE p 4 4 4S AR P AND HER CIE V P v V i mm F3 F4 sF1 sF2 F5 ES sF8 sF9 F9 F11 sF3 sF4 sF5 sF6 F10 sF7 c3 NewPLC P2P 03 Frame SEND HEAD X 4 38 J E 4 i Network Configuration 4 E Unspecified Network i
62. et types and minute packet reception rate to LSIS communication module it predicts network load Diagnosis function for communication module by network 1 3 2 Designation XGB Fast Enet I F module designates as below XBL EMTA 10 100BASE TX Over category 5 UTP cable Table 1 1 XBL EMTA Designation 1 3 3 Max modules can be installed XGB series can be installed max 2 communication modules Series Max modules can be installed Table 1 2 Max modules can be installed 1 3 4 Relevant software Essential programming tools and other configuration software for using XGB Fast Enet I F module is as followings Refer to followings and apply this suggestion for the right program and communication Programming Tool Communication Setting Tool XBL EMTA XG5000 above Ver 2 0 XG PD above Ver 2 0 Table 1 3 Relevant software Remark 1 Download and usage of upper program is available at http www lsis com or this program installation CD s can be provided by LSIS distributors 2 Programming for XG5000 is available by using Basic unit loader port and refer to cables from the wiring diagram of relevant Basic unit Chapter 2 Specifications Chapter 2 Specifications 2 1 General Specifications Table 2 1 shows general specification of XGB series wl ss TI meses Reiner Ambient 1 0 55 C temperature Storage 2 25 70 C temperature 5 REECH SE BCEE om acte omg
63. eter No 1 block No 01 Read area size 3 size 3 NO0057 P2P parameter No 1 S adios SECH idit block No 01 Read area Saves P2P parameter No 1 block No 01 Read area device 4 9oNW72 4 structure l NOO060 device 4 P4BO1RS P2P parameter No 1 N00061 NW73 4 Word block No 01 Read area Saves P2P parameter No 1 block No 01 Read area size 4 size 4 NOO062 P2P parameter No 1 S eh SC E e block No 01 Save area Saves P2P parameter No 1 block No 01 Save area device 1 9oNW78 1 structure l NOO065 device 1 P2P parameter No 1 l Nooogs NW79 Pi SR Word TEE GENEE SS P2P parameter No 1 block No 01 Save area size 1 size 1 SSES 9eNW80 P1BOTIWD Device ce parangler ANo Saves P2P parameter No 1 block No 01 Save area device 2 NW84 2 structure pe e saved NO0070 device 2 P2P parameter No 1 Nooo71 NW85 P4BO1WS Word block No 01 Save area Saves P2P parameter No 1 block No 01 Save area size 2 2 l saved size 2 N00072 gt P2P parameter No 1 S Ee SES e block No 01 Save area Saves P2P parameter No 1 block No 01 Save area device 3 NW90 3 structure N00075 device 3 P1BO1WS P2P parameter No 1 N00076 NW91 3 Word block No 01 Save area Saves P2P parameter No 1 block No 01 Save area size 3 size 3 N00077 P2P parameter No 1 e dde SE ee block No 01 Save area Saves P2P parameter No 1 block No 01 Save area device A 9oNWO96 4 structure NOO080 device 4 P2P parameter No 1 Nooos1 sNWw97 bi P block No 01 Save a
64. f No data reception flicker e LINK LED Yellow a Packet reception time No packet reception flicker Data transmission time Se On RJ45 connector RJ45 connector part 100Mbps operating time PEED LED Fixing lever s module fixing part the lower Fixing lever DIN rail fixing part Table 2 9 Designation of Parts 2 Chapter 3 Installation a Chapter 3 Installation 3 1 Cautions for Installation This device is highly reliable regardless of its installation environment However the followings should be noted for securing reliability and stability 3 1 1 Environmental conditions Install on a water proof and dust control panel Place free of continuous impact or vibration Place out of direct sunrays Place without dewing by sudden temperature change Place where ambient temperature stays between 0 55 C 3 1 2 Installation cautions 1 2 3 If producing screw holes or wiring it should be noted that any impurities from wiring work are not to be inserted into PLC Install on an accessible place Do not install on same panel with high voltage device 4 9 Maintain at least more than 50mm from duct or surrounding modules Ground on a place where little noise is detected 3 1 3 Handling cautions Donot drop or do not apply any excessive impact on it Donot separate PCB from case shield which may cause breakage Make sure that while wiring any impurities should not be inserted
65. formation on the 64 blocks 00 63 will be displayed through 4 words 16 per each word For example mode information _HS1MOD of block 0 15 16 31 32 47 48 63 will be displayed in the L0006 L0007 L 0008 L0009 So the mode information of the block 55 is displayed in the L00097 P2P parameter 1 3 P2P block 0 31 15120 ou X8192 P2P1 NDROO Bit P2P parameter No 1 block No 00 P2P parameter No 1 block No 0 service is service is completed normally completed normally P2P No 1 block No P2P No 1 block No ice i L5121 eil X8193 pop ERROO Bi pase 0 1 block No 00 parameter No 1 block No 0 service is service is completed abnormally completed abnormally Error code if P2P parameter No 1 Displays E de if P2P parameter No 1 L513 LW513 P2P1 STATUSO0 Word block No 00 service is completed PHI code Ir er pa block No 0 service is completed abnormally abnormally P2P No 1 block No 00 Displays P2P ter No 1 block No 0 L514 LD257 P2P1 SVCCNTOO DWord aiia br AR tig er qe service normal execution times service normal execution times P2P No 1 block No Displays P2P ter No 1 block No 0 L516 LD258 P2P1 ERRCNTOO DWord iege ee ee service abnormal execution times service abnormal execution times P2P No 1 block No 01 P2P ter No 1 block No 1 ice is 15180 ou X8288 P2P1 NDROI Bit parameter 0 1 block No parameter No 1 block No 1 service i service is completed normally completed normally P2P No 1 block No 01 P2P te
66. g FTP Telnet SMTP etc TCP divides data into packets to send through IP and the packets sent will be united back together through TCP 30 Telnet It means remote login via Internet To login to remote host via TELNET account of that host is necessary But for some hosts providing public service you can connect without account Chapter 11 Appendix 31 Token Ring As short distance network using Token to connect to network having physical ring structure one of the Node connection methods at network If node sending data gets Token then node gets right to send message packet Realistically structured examples are IEEE 802 5 ProNet 1080 and FDDI Terms called Token is used as IEEE 802 5 Token passing Dual Token passing 32 UDP User Datagram Protocol A transport layer protocol for the Internet High speed communication because of communication without connection Multiplexing Lower reliability than TCP in transmission Tough data doesnt arrive it doesn t send data again 33 Auto Negotiation This is process making the Ethernet devices exchange the information on the performance such as operating speed and duplex mode 1 Detects reason why connection is refused 2 Determines the performance of network device 3 Changes the connection speed 34 FDDI Fiber Distributed Data Interface Based on optical cable provides 100Mbps Shared Media Network as Dual Ring method Token Passing is done in two way Max
67. h the User s Manual The User s Manual describes the product If necessary you may refer to the following description and order accordingly In addition you may connect our website http www lsis com and download the information as a PDF file Helevant User s Manuals XG5000 software user manual describing online function such as programming print monitoring debugging by 10310000512 XG5000 software user manual describing online function such as programming print monitoring debugging by 10310000834 using XGI XGR CPU User s manual for programming to explain how to use instructions that are used PLC system with XGK XGB 10310000510 CPU XG5000 User s Manual XG5000 User s Manual for XGI XGR XGK XGB Instructions amp Programming User s Manual XGI XGR Instructions amp Programming User s Manual XGB Hardware XGB Hardware IEC User s manual for programming to explain how to use instructions that are used PLC system with XGI XGR 10310000833 CPU XGB basic unit users manual describing about power module IO module specification of extension cable and l 10310000694 system configuration internal high speed counter standard of XGB basic unit XGB basic unit user s manual describing about power module IO module specification of extension cable and 10310000983 system configuration internal high speed counter standard of XGB basic unit TABLE OF CONTENTS E LL TABLEOFCONTENTS
68. iaat Configuration a E ipi Pretec D A Mev SCD ANS cnet Aa Mearic ECH Ug FEneR I agh Henig DSS 9L2MSAl H ipd Link T omen Varacir a P Hewhi COOGB ECU Oriire TE Sobel Direct Verba a E Pree Wa nik hrir EE LT Puwrate Input Read area Her 4 eo im mA d mo 8 6 Finishing HS link Senda block data size setting LSis 8 3 Chapter 8 High Speed Link Service e Input READ area as the left screen of Fig 8 6 READ area is each area of XGB CPU module f Inputting word size of READ area as the right screen of Fig 8 6 finishes setting sending block 3 Setting HS link receiving block c f ill MEE g LE e o T Dent pme fr iere e aine Mendes Det fena yandim De Bed Eee Bestoe ex Shine Maree Debug Jon yandan phim OF RRS Pa Be Cink Lea ak Ti MAREA Dara t mA Be Cite phe x AW MAH ialoo0sa jiamouuadsqissuli egi mpggo 7 ES E WT GOO OT FEF GRO ADORE Bubb esting ojo ome CEA KR on E Aum M AZAMSISEIAUS uwvTIDBHBGGE D 3083 C G3 ae ULIS e RAA NEE Ee LEES oe CSS mese gema ee ULIS Si ieee A M aras e gu T hent Configuration a 8 uripaifed Nitar 1 gt bte RES OR Cre Keep fer Lan fiat gi m a e Ptak Corfiguration a E Urop cifnd network rias arbo Lg Cra b n Hee C CH L faert EMI 2 a dh MEWELC B05 KLENTA RR High tpeed Link 02 We custom wansde a Ep Newtons sci OPES e dh MpepC ROG WALE
69. ification Table 5 31 Function code 0x05 frame examples Chapter 5 Protocols of Various Services a 6 Function code OxOF Write Multiple Registers a Request Classification ges Range Start address 0x0000 OxFFFF Number of ieee 2 bytes 0x0001 0x07BD output Number of bytes 1 byte Nx 1 byte NN Table 5 32 Function code OxOF request frame b Response Classification ges Senge Table 5 33 Function code OxOF response frame c Error Classification ges Range Ox8F Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 34 Function code OxOF request frame d Examples Number of outout Upper byte 0x00 Number of output Upper byte Number of output Lower byte Number of output Lower byte Number of bytes Output value Upper byte Output value Lower byte Table 5 35 Function code OxOF request frame examples Chapter 5 Protocols of Various Services 7 Function code 0x06 Write Single Register a Request Classification Size Range Start address 0x0000 OxFFFF Output value 0x0000 orOxFFFF Table 5 36 Function code 0x06 request frame b Response Classification ge Senge Table 5 37 Function code 0x06 response frame c Error Classification ge Range 0x86 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 38 Function code 0x06 error frame
70. ing Do remove only the length of wiring do not damage the insulator for removing covering Sheath Keep suitable distance between EMI source and UTP cable during the period of installing UTP cable D Min separation distance Condition 2 0KVA or less 2 5 KVA 5 0KVA or more Power line unshielded or electric facility open or near to nonmetallic pipe a a VE b c d N 127mm 305mm 610mm Power line unshielded or electric facility near to metallic sen ven 1 pen 64mm 152mm 305mm pipe buried Power line inside metallic pipe buried or equivalently n 76mm 152mm shielded near to metallic pipe buried Transformer Electric motor light 1 016mm 305mm Table 3 2 Cautions for UTP installation 3 2 3 Cautions for system and network connection 1 2 IP address should be different including this module If not normal communication is not available Set each exchange number differently for using HS link service Use specified communication cable Other cables may occur communication trouble Check disconnection or short circuit of communication cable before installation CO C1 Do tighten communication cable connector If cable connection is not stable it may occur some severe trouble of communication Wire communication cable separately from power supply line or inductive noise NNN M MM c O A 7 Chapter 3 Installation E wX330O 3 2 4 Check points before start up
71. ing instructions of XGT dedicated protocol are 4 each instruction does Read Write Request Response In case of Individual usable data types of each instruction are Bit Byte Word DWord L Word But for the Continuous only Byte is usable Instruction Instruction code Data type 00100 Individual 0x0200 WORD Reads data by each data type Request 0x5400 0x0200 WORD y typ 0x0300 DWORD 0x0400 LWORD 0x1400 Reads byte type variables in block unit 0x0000 00100 Individual 0x0200 WORD Responses to the request of Read data Response 0x5500 0x0200 WORD Resp q 0x0300 DWORD 0x0400 LWORD 0x1400 Response to the request of Read in block unit 0x0100 Individual 0x0200 WORD Writes by each data type Request 0x5800 0x0200 WORD y yp 0x0300 DWORD 0x0400 LWORD 0x1400 Read byte type variables in block unit 0x0000 00100 Individual 0x0200 WORD Responses to the request of Write data Response 0x5900 00200 WORD Resp q 0x0300 DWORD 0x0400 LWORD 0x1400 Responses to the request of Write in block unit Table 5 3 Instruction of XGT dedicated protocol 1 For timer counter bit allocation means a contact point and byte word allocation means current value 2 Data register D is allocated with only byte and word 3 In case of byte type instruction address is double that of word address For example in case of D1234 if it is allocated with word address is DW1234 But if it
72. ining the Internet In Korea KRNIC Korea Network Information Center is in charge of this work Ex 165 244 149 190 18 ISO International Organization for Standardization A subsidiary organization of UN establishing and managing the international standards 19 LAN Local Area Network Called also as local area communication network or district information communication network which allows lots of computers to exchange data with each other as connected though communication cable within a limited area such as in an office or a building 20 MAC Medium Access Control A method used to decide which device should use the network during given time on the broadcast network Chapter 11 Appendix 0 3 21 Node Each computer connected with the network is called Node 22 Packet A 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 information are added 23 PORT number Used to classify the applications on TCP UDP Ex 21 tcp Telet 24 PPP Point to Point Protocol Phone communication protocol which allows packet transmission in connecting with the Internet In other words normal phone cable and modem can be used for the computer to connect through TCP IP with this most general Internet protocol Similar to SLIP however with modern communication protocol factors such as error
73. into the upper part of this module Do not attach or detach the module once power is on Cable should be selected considering the approved specification install this device within the permitted max distance 6 Communication cable shall be arranged so that it won t be influenced by any surge or induced noise generated from AC 7 If wiring is too close to any hot devices or materials or contacts with oils for a long time it may cause short circuit malfunction or breakdown 8 If wire by using pipes it needs grounding pipes Chapter 3 Installation 3 2 Installation and Wiring 3 2 1 Network connection XBL EMTA Network 10 100BASE TX 4 yE HA f F KZ XBL EMTA 8 pin RJ 45 plug Fig 3 1 Network connection 3 2 2 UTP cable wiring Max distance between nodes of 10 100BASE TX is 100m The distance from the module to hub In general the hub uses straight cable with TD and RD stranded inside If only 2 of these communication modules are connected 1 to 1 cross cable form should be used Pino Sga Straight cable Module Hub 1 to 1 Cross cable Table 3 1 Cable wiring 1 Hub power should be separated from PLC power 2 Contact professional manufacturers for cable terminal Chapter 3 Installation oo 1 Cautions for UTP installation UTP cable should be satisfied the characteristics of category 5 Do not access Max tension strength of the cable during a period of wiring process
74. ir User Frame A d Parameter GC Properties Add a Group RH Basic Parameter 4 VO Parameter Add Slave KR Internal Parameter 4 DI Scan Program Figure 6 3 Selecting basic parameter and setting communication module Click OK key Then no 2 slot is changed into FEnet as figure below 6 2 LSis Chapter 6 Dedicated Service Project a SP s a SP Network Configuration a Unspecified Network Ei NewPLC BOSO IS Cnet b A NewPLC BOS1 LHZ FEnet Lay NewPLC B0S2 XBL EMTA e System Variable a EI NewPLC XGB XECU Run a Global Direct Variables a 34 Parameter LIB Basic Parameter RO Parameter f Internal Parameter 4 S Scan Program ad NewProgram 3 Local Variables dE Project BITS MIT RETO TT TERT ITA d Figure 6 4 Standard parameter setting LSis 6 3 Chapter 6 Dedicated Service 6 2 2 Basic setting If you double click the FEnet basic setting window appears as follows Standard Settings 6 4 LSis Subnet mask Gateway DNS server DHCP Reception 15 Mo of Dedicated 3 Modbus Settings Figure 6 5 Basic setting Chapter 6 Dedicated Service Each item in Figure 6 5 is described as follows 1 TCP IP Setting High Speed Link station Set the station number for high speed link communication between XGT Number PLC FEnet I F modules It is necessary to pay attention that FEnet I F module doesn t have any duplicate station number with oth
75. is allocated with byte address will be DB2468 5 4 eS Chapter 5 Protocols of Various Services pn 5 2 5 Header and data structure of XGT dedicated protocol 1 Header and data structure Table 5 5 shows Company Header Command Data Type Data which included in LSIS frame of XGT dedicated protocol Client Request frame Server Response frame Classification Content Size Classification Content Size um ln EH LSIS ID2 PLC information PLC information h00 oh 0 FF hO hFF 2 PiCinfomaton PLC information information hO hFF hO hFF h FF ES RER SE Header Frameorderno hOOOO hFFFF 13 ELLEN E E Position Position l l h 00 h FF h 00 h FF information ao Check sum h 00 h FF 1 Checksum sum woch 00 h FF Command Instruction Instruction h 0000 h 0000 m h 0100 oe h 0100 Cem h0200 Word h 0200 Data Type Data type Data type n h0300 DWord n h 0300 h0400 LWord h a h 1400 Continuous nm 1400 Continuous Reserved area Reservedarea area Pt variables N Data address IN Table 5 4 Header and data structure of XGT dedicated protocol 2 Company ID LSIS network uses 2 LSIS LS Industrial Systems IDs LSIS ID 1 is for operation of XGT XCB series as a client In case of operating as a server LSIS ID requested by a client the client should use LSIS ID 1 or LSIS ID 2 Classification LSIS ID 1 LSIS ID2 Table 5 5 LSIS ID
76. is connected to network 1 from local PLC by RS 232C In Fig 9 4 FEnet I F module is installed in PLC A Select the slot no 0 Select enter on b then select connection online menu The status of finishing remote 1 is same as the logical connection status with local connection by moving RS 232C cable User can use all function of online menu But user can t do when the type of PLC and present open project CPU are not matched 1 Caution for remote connection 1 Do remote connection after programming which is for the destination CPU type If the CPU type is not a right match it only do limited functions it can not do program upload download and monitoring 2 If you want to write revised parameter on XG5000 by using remote connection you have to disconnect remote After then revised parameter will be applied Chapter 9 Remote Communication Control 9 2 2 Remote 2 RS 232C Cable Remote 2 sets connection stage remote2 from project option connection option Fig 9 5 shows remote 2 it s an example of connection to Fnet I F module of PLC through FEnet I F module of PLC B To do remote 2 at the connection stage of project option connection option select remote 2 then it shows the following box RS 23 C settings Port number Baud rate Timeout interval Retrial times Read Write data size in PLC run mode Normal 9 Maximum Send maximum data size in stop mode Auto Detect RS 232C R
77. l fg P2P Block Gei User frame definition EH d P 4 E mail Add Item d Network E Addres D Communication Module MEER pe Messac P2P Communication ES D system variable Ao High speed Link Communication a EI NewPLC XGB XECU RI d Delete Delete i Ka Global Direct Variabl Properties a Jak Parameter Add a Group b Basic Parameter L Add Slave iik Vororriore Prniert View DAD i Figure 7 32 Adding user frame definition group 2 User frame definition group and selecting frame type At the group edit input group name and set the frame type Group Edit Group name SEND Figure 7 33 user frame definition group and selecting frame type L5 s 7 23 Chapter 7 P2P Service Fig 7 34 shows the result displayed at the project window when setting group name as SEND and frame type as Transmission Project a E II 4 92 Network Configuration a 4 Unspecified Network gt AE NewPLC B050 LYS Cnet ga MewPLC B051 LHZ FEnet a En NewPLC B0S2 XBL EMTA a BR P2P 03 e P2P Channel fg P2P Block a E E User frame definition 2 Ca SEND Transmission geck Gen iu E System Variable d DU MewPLC XGB XECU Run i Global Direct Variables a 3 Parameter Project MUSEI ELEC IL e Figure 7 34 completion of adding the user frame definition group 7 1 2 Frame B Consists of Head Body Tail Defines TRX frame You can add fixed variable size variab
78. le E 7 12 7 4 2 Writing address and message 7 14 703 OMIM T2 Aale 7 19 re P CEE E g m 7 21 25 1 ER el T lee el ee ME 7 21 7 6 Modbus TOP 0 1 Mn 7 22 710A ModDus eneen deed ee 7 22 FELU rA Tu DEMU aise RT T E 7 23 EW a SC 0 o r 7 23 fS TEE 1 24 TATE ELE Eege 7 26 7 7 4 TCP UDP user frame definition eener 7 30 7 7 5 TCP user frame definition ent 7 31 KE DONIC 00 AOI se cs E TT 7 32 FE Ge Diagnosis FUNCION TETTE T Tm 7 34 7 9 1 Service status diagnosis using XG5000 esses enne nnns 7 34 Chapter 8 High Speed Link Service NECI mu 8 1 EE 8 1 8 2 Setting HS liNK ST e 8 1 8 2 1 ele TTT EE 8 1 E x het diez Ez B ee ETE 8 2 oo md GNK iro REN E EO 8 7 83 1 HS link E ele e NN E 8 7 9 3 2 HS link ilag IM OCUCTION E 8 7 Chapter 9 Remote Communication Control Leederen 9 1 9 2 XG5000 Setting and Conpechon eene nnne nnne nnne nnn nennen nns 9 2 9 2 1 Remote 1 RS 232C Cahen 9 3 9 2 2 Remote 2 RS 232C Cable sseeeeeeee eene nnn nenne nnn nnns nnns ener senno nnns 9 5 9 2 3 Direct remote 1 Connection on Ethernet connecting PC 9 6 9 2 4 Direct remote 2 connection on Ethernet connecting H 9 7 TABLE OF CONTENTS Chapter 10 Troubleshooting Chapter 11 Appendix le XOB CPU Memory Device I EN TD TM A 1 A 1 1 XBM DXXXS and TER ME A 1 A Vi AECID H E t
79. le to the Body A frame consists of several segments and for one Body you can register up to 4 variable segments 1 Adding a frame in the group If you click the right button of the module at the added group as Fig 7 35 popup menu appears After selecting Add Frame select frame type Fig 7 36 38 shows the frame added screen in the group when selecting HEAD TAIL and BODY respectively Project A DCH a ER Network Configuration a4 P Unspecified Network SL NewPLC BOSO LHZ Cnet NewPLC BOS1 LUZ FEnet a n NewPLC B0S2 XBL EMTA a H P2P 03 E P2P Channel n E P2P Block a B User frame definition m Ca SEND Dron ges H ee m E System Variable Figure 7 26 Adding user frame definition HEAD Chapter 7 P2P Service a Adding user frame definition HEAD Bd Kot Pedmepuc yew Quime Mente D Sen lees Weer neip M ccn Ree LU VE TeV AA EES ne e x7 x Data mo e d Network Configuration a Cp Urapecified Netacri b NeweLC B0SO LAN Cnet NeweLC B051 LED Trei E a dh NewPLC 052 XBL EMTA i J D P2 03 Frame Edit Ma cen E 9 9 Block e Ng User frame defintion a y SEND Traeamasieo e nouo e Siten DI Accress Nu Fom Figure 7 36 Geen user me de HEAD b Adding user frame definition TAIL Ce mg e osi EN i Par ot Dedepuc ve ew Qe Monter Bu Je Window Help em Doha o a Maid a et
80. lient Network aux 0 B E e NS S Z 2 ire ES GG KI DER Wei gu E al a a D IER E K IER RE E s3 i e He 3 i ote i ey Figure 6 2 Client Server system configuration 6 1 3 Dedicated service classification Protocol Min Max connection Classification ES XGT TCP XGT server server UDP XGT server Modbus TCP IP server Table 6 1 Dedicated service classification Chapter 6 Dedicated Service 6 2 Setting Dedicated Service 6 2 1 Basic parameter 1 Setting basic parameter in XG5000 Open XG5000 Then click right button of mouse while cursor is on the Unspecified Network in the Project window Select Add Item Communication Module and click Add Module Set the type as XBL EMTA and slot that slot number of XBL EMTA mounted Select communication modu E fa 1 XG5000 se geg ep ees zm em em Project Edit Find Replace View Online Monitor Debug Tools Window Help De GES O BS MO PINs sk BAX PEK ee 528935 9g g t w 4b 47H 4PF INE se 4 HUE AS R P AN F CO 4 P v pu v 3 F3 Fa SFI P2 FS FG sFB sfo FO F11 SP3 SFA SES sho FI SFT c3 E Ge Project wx NewPLC x a Ub II E 35 Network Configuration a be e ef kk Od E A4 Variat Bs Paste Ctrl V P2P Communication 4 e NewPLC XGE x Delete Delete High speed Link Communication a Global D
81. nal 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 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 abnormal operation or electric shock may be caused gt Don t let any foreign materials such as wiring waste inside the module while wiring which may cause fire damage on the product or abnormal operation Contents ooo Safety Instructions for test operation and maintenance gt Don t touch the terminal when powered Electric shock or abnormal operation may occur Prior to cleaning or tightening the terminal screws let all the external power off including PLC power If not electric shock or abnormal operation may occur Do not make modifications or disassemble each module Fire electric shock or abnormal operation may occur Prior to installing or disassembling the module let all the external power off including PLC power If not electric shock or abnormal operation may Occur Keep any wireless equipment such as walkie talkie or cell phones at least 30cm away from PLC If not abnormal operation may be caused When making a modification on programs or using run to modify functions under PLC operations read and comp
82. nication module in project window add the P2P communication as Fig 7 5 If add the P2P communication the item will be added as Fig 7 6 Project e H 4 SB II 4 SS Network Configuration 4 j Unspecified Network gt 4 NewPLC BOSO LHZ Cnet gt gi NewPLC BOS1 LHZ FEnet ig NewPLC B0S2 XBL EMTA d p System Variable Open 4 i NewPLC XGB XECU Run ilg Global Direct Variables Dee ipa 4 8 Parameter Bia TN Chisc Communication Module aM RH Basic Parameter E Paste Chi P2P Communication E IO Parameter High speed Link Communication p E Internal Parameter X Delete Dent TOT a el Scan Program 9 Properties Kate View High speed Link View P2P Communication module setting Add Slave TA Function FB md Figure 7 5 Adding P2P Communication Chapter 7 P2P Service Praject x DCH a S Network Configuration oa Ki Lomp Network 4 NewPLC BOSO LEZ Cnet F NewPLC BOS1 LHZ FEnet 4 n NewPLC B0S2 XBL EMTA a JS P2P 03 i e P2P Channel E P2P Block gm User frame definition m a nm Project WA gi docui Link View v P2P Figure 7 6 P2P parameter setting registration screen 1 P2P channel B Logical channel of P2P Service IP PORT dedicated driver can be setup m User frame definition XGT client and MODBUS TCP client setting available B Communication device setting available which uses other protocol than XGT MODBUS TCP
83. nload the parameters onto PLC CPU and start the P2P service It is supposed that P2P parameters to download are already prepared and connection is available with the applicable PLC CPU 1 Downloading P2P parameters In order to download the prepared P2P parameters select Online gt Write on XG5000 menu window to display the parameters downloading window Select the item to be downloaded and press OK uH it NewPLC NR PLC Configuration WLS Stop Parameter HIS Stop Program d B Metwork Parameter a Standard settings Bl Cnet base0 slot P FEnet A sloti Figure 7 49 downloading P2P parameters 7 32 L Chapter 7 P2P Service 2 Starting P2P service After P2P parameters are downloaded enable the P2P to start the P2P service Select Online gt Communication module setting gt Enable Link HS link P2P on the menu Enable Link HS Link P2P D o E REP EE NewPLC CIR High speed Link ef High speed Link O1 Internal GR PEP 2 DE PI 01 B050 Internal Cnet P2P 02 B051 Internal FEnet Figure 7 50 Enabling P2P service Select P2P parameters to start on the Enable Link HS link P2P window The already checked P2P parameters are under a run mode whose P2P service will stop if cancelled After downloading you can check whether P2P service is operating or not by selecting System diagnosis menu Chapter 7 P2P Service 7 9 P2P Diagnosis Function 7 9 1 Service status di
84. nstantly endeavors to improve its product so that information in this manual is subject to change without notice LSIS Co Ltd 2013 All Rights Reserved
85. o is the number of destination device sending the block d Input block no as the right screen of Fig 8 8 It receives when the received frame is same as the block no 8 4 LSis SE l Gaaua c aame o acre a gt A9 MAREA CES Gogola vv axjasoauaascESSLEaERRIUDISOHUONAEERE muxyqsscichukmsunanguuveimmaamncao5 dss a E hwat Configuration a E sipped etree gt t Boso uy One NewieLC 8051 dio FE a ay Keeftit Diosa OO Hf NM gne Link A3 We System Varus a EE Mesi DOGB XECUD rte dp ciL Tinei eiia Chapter 8 High Speed Link Service e mmm e ren Mea ehe Ted Men o GE SMO CIDCRMOAX HRY MAR WA poe GOD G0 ek MEER Te BRE and UOS IF GE LE ra eis eee IER max fe MS imnmnaagm aen nmanaaat Bear P T o a MR hwat Configorimen i a EN hipnote etre gt y nns BUS ur cnet Pramit 3051 dim Fret E a i Meaftt DIET LiT H gend Link A We System vis a EP Hern Con SECH Crit lp dibti verii a E Easreie ET Input data size CH Fig 8 9 Setting HS link receiving block station no and mode e Input save area as the left screen of Fig 8 9 Save area is the data saving area when each area of XGB CPU module receives the frame of block no f Inputting word size of Read area as the right screen of Fig 8 9 finishes setting receiving block Za 1 XG5000 t Project Edit Find Replace View Online Monitor Debug Tools Window Help EE Ex 3 F4 SFI st FS FG SFB sro FO F11 sF3 SFA SFS SFG F
86. of Figure 7 51 2 It shows present system picture as the right screen of Figure 7 51 3 mood leri m vate Pis at Dd bogus ms Era D SC fent medee mee fed igi zue Mene eme Taak wede mee osana cna moo ZcimRXtkLYMANWAJD oeauac sa Boi acs hex ah Y AAW Wa JE nec ac exitii GA RAAB Me wae IO Mojega EEan A RE PES Pa ST eT a a SLI Bs RETRO Wohi SES iraz iz Ai ae Bs TIE HERE vyvonssmsnEGSI sa a SU Lee ee i vipara siwuwvimiEt EE A 81a Lal mri Ee RI pu wn aM emo p UP Care E ap mci a GP MewPLCOCIB ATCUT En WW Geel rect visite D eege by fatur PR k vi Figure L 52 eem diagnosis menu 3 Keep positioning on the module as the left screen of Figure 7 52 and click the right button of mouse 4 Select Status By Service as the right screen of Figure 7 52 click it 7 34 L Chapter 7 P2P Service Status by service Dedicated Service standard information Communication Diagnostics Base Mn IP Address no of packets received no of packets sent Ma of packet errors no of packets re slot Ma Dedicated Service information Mao of connected at river type DT server Status by service Dedicated Service Standard information Service information Base Mo Parameter existence Exist Mn of blacks in service Slot Mo Parameter task status DOWNLOAD Communi
87. oi eae r e e E a E E S A sies Goplana GBG AARON GHLAE NITTO NARRER RF EE EE AEEA EE EE EEN SESCH A Ru a S heat Configaratun a MB urapecihed Fuetwecrk pf Meet ES Ll gy Cet MeeptC OGL Lid Fi E a dh keeft RS MT a TB nghe unk od T Sythe Varuble ap HewPUCDOGE XECUA Offline lp lcbeLDueci varables a E Prarie M Gate Sarre EB Lob iu a P Hitwsik Cersfigaration a RE ueipecihed Neroni 5 ki PLE BOSD AA Cet beet 30351 AN rte E a d Matig Eii Tal l BR High tpeed unk c2 B en varuckr a Nea tt op RECU Orire dp Sobel Diet Varun s Frau B fate Garage EE DU begr is Fig 8 5 Setting tt HS link See block station no and block no c When an user selects send as the left screen of Fig 8 5 it sets station no as that in basic parameter automatically d Input block no as the right screen of Fig 8 i i e WU m dem aem Merten Deleg lee Sat Dm pesce emen SY AMA ERG osana ROL APE CR te Ai CES GOocjavycaxjaeounaacmmsskah amp csiugOmcugwszezfzgn ae OO OF e GBA SABO DS se wh as DT DOSS KS EE E ee ee ECH Eet Ce EECH RIO IUE SSES EEN XE i EE immngamnadcaeocBen3 zm d a e Au a 5 Bitak Cer eggee ke a RB uripeched revert keep C E257 Li y Cet MNewPLC SOS A3 FEnvet E a hy aet ipsa TATA B nigri Lire OF de System Variable a CR Nee G KEON tine Mp Gott Dusci Variable E Pirate M aae tance B LO Earpmeter qum a ER h
88. on is not supported set the mail server not to do authorization process for TX 1 E mail setting of P2P service Double click E mail to activate the E mail setting window Project 2 x 4 El P2P 03 8 Ls P2P Channel E P2P Block a a User frame definition a Sg send Transmission TX a E mail E Address n gp System Variable a NewPLC XGB XECU Run a Global Direct Variables a Ja Parameter Figure 7 13 P2P project window E mail 1 Currently XGB FEnet supports only TX function and RX function is not supported In the XG5000 E mail RX block is needed to set E mail TX function with P2P block Though E mail RX block is registered E mail RX function doesn t work Chapter 7 P2P Service E Mail Settings Use E Mail User information Username William Mail address mbchoib lsis com Server information POPS server address 165 244 149 100 SMTP server address 165 244 149 67 Account name mhchoib Password cees Message confirmation 10 intervals Event information Message surveillance period 10 Sec 10 Address Message 4 1 Figure 7 14 E mail setting window Determines whether to use E mail service In order to use E mail Use E Mail function check this box U User name seen when partner receives the mail If it is set as PLC ser name User PLC will be name of E mail sender 2 Zeteer i E mail address for reply Mail address Though PLC sends E mail other
89. onfiguration JB E m m l o oo0000 00 o 000000 00 K a S ET ET EI ED w w Figure 4 1 Combination network configuration XGB Fast Enet I F module provides system configuration by using main communication Modbus TCP IP user define frame HS link communication connecting LSIS PLC with other LSIS PLC PC on network 4 2 2 Network configuration using XGB Figure 4 2 Network configuration using XGB Communication between XGB Fast Enet I F modules is available to perform 1 1 communication by using cross cable or 1 N communication by connecting network It provides data sending receiving by using the dedicated service Modbus TCP IP user define frame and HS link communication Chapter 4 System Configuration E 3 4 2 3 Network configuration using XGB and MMI m 0 000000 o0 Figure 4 3 Network configuration using XGB and MMI Communication between XGB Fast Enet I F module and PC is available to perform 1 1 communication by using cross cable or 1 N communication by connecting network It provides connecting and data sending receiving by using XG5000 XG PD or MMI on PC XG5000 XG PD do download upload parameter and program and furthermore these provide data sending receiving by using the dedicated service Modbus TCP IP use
90. ong block setting wrong block no communication is not available 4 Check link enable setting With link enable setting frame can be sent 1 Check communication speed Auto 10 100M TX z When the setting communication speed is as same or Auto on network communication is available 2 Check IP address setting When IP address overlapped on network or invalid IP communication is unavailable 3 Check if P2P parameter setting Setting P2P parameter channel block makes communication available 4 Check destination IP address in P2P channel setting Send Receive unavailable during When IP address of destination device is invalid communication is not available P2P service 5 Check driver setting When communication protocol is same as destination device on the right channel communication is available 6 Check link enable setting With link enable setting frame can be sent 7 Check if operation of operation condition Setting operation condition should be On 8 Check operation mode of CPU Operation condition of CPU should be RUN 10 2 LS Chapter 11 Appendix Chapter 11 Appendix A 1 XGB CPU Memory Device List For up to date device list of each CPU refer to relevant CPU user manual The following contents are based on when this user manual is written A 1 1 XBM DXXXS and XBC DXXXH S type Read R Area Size Size Write W Heference P Popta7 128 Po pt
91. ozs 1024 RWMavibie VO M Mo mass 256 Wm 1024 RWMavigbe D Dose sm enen we use O z oza ws ozr m sen A 1 2 XEC DXXXH Local device type Size Range Whie W Reference Monitor M Output variable Q 2KB QWO 0 0 QW15 15 3 RWM available o MWo MWeigi RWM avaiable fe Direct vane R 08 Rwo Rw10239 RWMavalable 10KB sawwo sawWioeso RWM avaiable o FW0 FW1023 R M available System flag Memory EE Chapter 11 Appendix A 2 Dimension YOLOANNOD NOISNV dX3 10 100BASE TX Sioa A zn X Li Dc o x z Lu a lt F f A G ZZ XBL EMTA Unit mm LSS A 2 Chapter 11 Appendix pn A 3 Terminology This chapter describes about the general terminology of FEnet I F module For more detail refer to professional book on the Ethernet 1 IEEE 802 3 IEEE 802 3 specifies standards for CSMA CD based Ethernet Exactly it is a LAN based on CSMA CD Carrier Sense Multiple Access with Collision Detection Ethernet designed by IEEE 802 3 group which is classified into detailed projects as specified below A IEEE P802 3 10G Base T study Group B IEEE P802 3ah Ethernet in the First Mile Task Force C IEEE P802 3ak 10G Base CX4 Task Force x Ethernet and IEEE 802 3 are standardized at RFC894 and RFC1042 so each should process another frame 2 ARP Address Resolution Protocol Protocol to search for MAC address
92. pA NewPLC BOSO LHZ Cnet gt A NewPLC BOS1 LHZ FEnet 4 s NewPLC B0S2 XBL EMTA i u P2P 03 le fg P2P Channel em a B P2P Block 4 W User frame definition a SEND Transmission 2 1 HEAD Nu Form Size Data Memory Add BCC Cal Paste segment Ctrl V uoneunuoju Sq3 euon6o ejea uais s a BODY1 A E mail Monitor 1 v H X Findi PLC Prgam Variat a H EE Monitor 1 Aa M nnne ag Ones Figure 7 40 Segment registered screen example There are 4 types of segment Numerical constant string constant fix sized variable variable sized variable Add segment Figure 7 41 screen adding segment 7 26 L Chapter 7 P2P Service a Numerical constant Defines the fixed part with constant among the frame and the data is specified with hexadecimal number Add segment Figure 42 registration of numerical constant b String constant Defines string constant among the frame and data is specified with ASCII Add segment Figure 43 registration of string constant LSis 7 27 Chapter 7 P2P Service E 3 c Fix sized variable Fix sized variable can be used in the only Body area of the frame This is used when processing the size fixed data size is Byte unit If you check Assign memory you can save it at the PLC memory At this time the conversion and swap of data are available Add segment d PS sized variabl
93. r You can let the driver execute READ or WRITE For XGT client select READ WRITE For Modbus TCP client select READ WRITE For User frame definition select SEND RECEIVE Chapter 7 P2P Service E 3X333 3e 1 READ It is used when reading some area of partner device and save them It is applied to XGT Client and Modbus TCP client driver 2 WRITE It is used when writing the data at some area of partner area It is applied to XGT Client and Modbus TCP client driver Single and Continuous Write are supported Writing at up to 4 independent areas is available 3 Send It is used when sending User defined protocol to external device One frame is available per one Send function lt is applied to user frame definition Memory setting about Variable sized Fixed sized variable of relevant frame should be set Before using this function defining the frame to send is necessary 4 Receive It is used when receiving frame from external device User can t select same frame about each P2P Frame Receive function block One RX frame can be selected per one RX block 5 Condition flag Define the condition to operate P2P block A bit device is available for condition flag and the P2P block will be operated at the rising edge of the condition flag 6 Command type Decide details of Read operation Single and Continuous are available for Instruction Type Up to 4 memory areas are available for Single Read function and Continuous Read
94. r No 1 block No 1 ce is L5181 oJ X8289 P2P1 ERRO pararneler 0 1 block No parameter No 1 block No 1 service i service is completed abnormally completed abnormally Error code if P2P parameter No 1 l Displays error code if P2P parameter No 1 L519 LW519 _P2P1_STATUSO1 Word block No 01 service is completed T 0 p block No 1 service is completed abnormally abnormally P2P ter No 1 block No 01 Displays P2P parameter No 1 block No 1 L520 94LD260 P2P1 SVCCNTO DWord E e service normal execution times service normal execution times P2P No 1 block No 01 Displays P2P ter No 1 block No 1 L522 LD264 _P2P1_ERRCNTO1 DWord E e service abnormal execution times service abnormal execution times Table 2 List of communication flags based on P2P service setting A 8 LS Chapter 11 Appendix 2 Network device N list P2P parameter 1 3 P2P block 0 31 P2P parameter No 1 NO000 9 NWOO EISE Word block No 00 destination Saves P2P parameter No 1 block No 00 destination station number station No l P2P parameter No 1 NO001 NWO01 P1BOORD Device i N0004 9 NWOS block No 00 Read area Saves P2P parameter No 1 block No 00 Read area device 1 device 1 P2P parameter No 1 NO005 NWO6 P1BOORS1 Word block No 00 Read area Saves P2P parameter No 1 block No 00 Read area size 1 size 1 P2P parameter No 1 Md sni ar Pm sind block No 00 Read area Saves P2P parameter No 1 block No 00 Read area device 2
95. r define frame 4 2 4 Network configuration between LSIS modules Figure 4 4 Network configuration between LSIS modules XGB Fast Enet I F module and Enet I F of XGT series provide system configuration 1 1 communication is available using cross cable or 1 N communication is available by connecting network It provides data sending receiving by using main service Modbus TCP IP user define frame 4 2 5 Network configuration using XGB and other LSIS PLC Pa o 000000 00 Ed o 000000 00 Figure 4 5 Network configuration using XGB and other LSIS PLC XGB Fast Enet I F module provides communication with other LSIS PLC HMI MMI 1 1 communication is available using cross cable or 1 N communication is available by connecting network To communicate protocols between PLCs should be same Chapter 5 Protocols of Various Services a Chapter 5 Protocols of Various Services 5 1 1 XGB Fast Enet I F module protocol introduction XGB Fast Enet I F module supports open Ethernet It provides network configuration that is to connect LSIS and other company PLC PC on network IP each PLC parameters and protocol need to be set in order to communicate after finishing network configuration Supported protocols by XGB Fast Enet I F module are XGT dedicated Modbus TCP IP user define frame Each protocol supports server client operation Dedicated server and P2P function comm
96. rea o P2P parameter No 1 block No 01 Save area size 4 size 4 Table A 4 3 Communication device list based on the P2P number 1 N area is set automatically if you set the P2P parameter by XG5000 2 N area is flash area and you can use it as the internal device Chapter 11 Appendix a A 5 ASCII code table American National Standard Code for Information Interchange ASCII code ASCII code ASCII code TN code Hex Dec Value UE Dec Value UE Value T Value 002 42 003 ET 004 005 space Kam 8 os s o a GNBGEZXEGNEMENXE INN c 28 os 3 9 e a oe s s e 10 a EXK AN WEIN ENS po amp eler ZEINONE GE RN s m n eee ae ee t eA toe EM LEE LE C NO esch m I O E TI O A E e CH O 45 O RB O gt 070 lt sch i co O nimjuojoj u TI M Co Q N UJ m IT N 008 48 Oo gt o esch Ix W gt ojojo JININ O 1 012 013 014 gt m LT W Z Q O CH J o FF 076 O JJ 4D 4E N N CD N O1 O6 Ilo o O N ev CH N c e Fa CD e N co 027 ESC 5B e co esch ST sl s 3 el oT sl pep T sl Lais LA O O N N o po e S x e o or om Chapter 11 Appendix A 6 Comparison Table of Ethernet Technology Technol SE AE Transmission Media Max Dist
97. reads as many bytes as defined on the Data Size item 7 Data type Define the format of the data the block will process Bit Byte 2bytes Word 4bytes Double Word and 8bytes Long Word data are available 8 Number of variables It is activated when Single is selected in the Command type field Decide the number of areas to read Up to 4 is available 9 Data size It is activated when Continuous is selected in the Command field Meaning of data size is different depending on the Data type Chapter 7 P2P Service 10 Frame Selects the relevant frame Group to execute communication in case of User frame definition 11 Setting When setting XGT client or user definition frame it defines the memory area to send receive In case of TX it sets the self stations area where there is data to be sent and the partner stations area where received data will be saved Variable Setting Read area Remote Address Save area Local Address NewPLC Readaea Save area Address zw Mi Chapter 7 P2P Service 7 4 E mail service using P2P service 7 4 1 E mail service When there s problem E mail service can be used to notify the problem to manager When status of CPU changes or specific event occurs it notifies the status to manager by using E mail service But there is some restriction to use E mail service H supports ASCII and Decoding for security is not supported Since authorization functi
98. rehend all contents in the manual fully Mismanagement will cause damages to products and accidents Contents Safety Instructions for waste disposal N Caution Product or battery waste shall be processed as industrial waste The waste may discharge toxic materials or explode itself Revision History o Hevision History Version Date Hemark Page V1 0 2007 8 First Edition 1 Adding XGB compact type 1 Changing front cover Front cover 2 Modifying general specification 2 1 E SES 3 Modifying screen of basic setting 6 2 8 1 4 Modifying slot setting information 7 2 5 Modifying example of frame 5 5 6 1 Adding XEC compact type 2 Adding E mail service Ch 7 Vise eue 3 Adding DHCP setting 6 3 4 Adding appendix A 1 A3 A6 V1 3 2011 1 1 Modifying remote communication control 9 3 6 V14 2013 11 1 Modifying Modbus communication error 5 9 5 15 Function code of request response frame V1 5 2015 3 XG5000 V4 0 UI Update X The number of User s manual is indicated right part of the back cover Copyright O 2014 LSIS Co Ltd All Rights Reserved About User s Manual Congratulations on purchasing PLC of LSIS Co Ltd Before use make sure to carefully read and understand the User s Manual about the functions performances installation and programming of the product you purchased in order for correct use and importantly let the end user and maintenance administrator to be provided wit
99. rent protocols D Request 2 Indication Jt 3 Client Server 4 Confirmation 8 Response Fig 7 1 Client Server model Server executes 1 Request and 4 Confirmation Server Server Server Network El Xgw pN325 a mmnnnnmmtnnnnmnmas Fig 7 2 Client Server system configuration Chapter 7 P2P Service Figure 7 3 indicates an example of P2P parameter setting on the XG5000 KURS Project Edit Find Replace View Online Monitor Debug Tools Window Help I eee Ts SEI Bw In m nea ore ERR RNB TY EE E Eech A c9 iiki F3 F4 sFi sF2 F5 Fs F Fo F9 EI sF3 sF4 sF5 sF6 F10 sF7 c3 4 6 Unspecified Network gt RB NewPLC BOSO Lj Zt Cnet gt a a NewPLC BOS1 Ly FEnet 4 n NewPLC B0S2 XBL EMTA D H P2P 03 ff P2P Channel B P2P Block be E User frame definition a e E mail auonBo ejea uajs s UONBUUOJUI S3 PS EN System Variable a EI NewPLC XGB XECU Run Mam Monitor 1 v H X Findi DC Progam Variable Device em x ee oL a Monitor2 Monitor3 Monitor4 Result TM Find 1 Find2 Com Cross Used Dupli Baas E EM T y 3 XG5000 s P2P parameter setting window 1 P2P parameters registration window
100. ress 192 Host name Timeout interval El User custom port Retrial times u Port Setting cUUe Read Write data size in PLC run mode Suns Change the port number only in Normal Maximum case of port forwarding using the router Send maximum data size in stop mode Scan IP Ethernet Remote 2 Network type FEnet Remote 1 communication module Base number 2 Slot number 4 Cnet channel Channel Remote 2 communication module Station number IP address 192 166 H Fig 9 8 Direct remote 2 from on PC Remark 1 Cautions for Remote 1 connection and Remote 2 connection 1 Following menu item cant be available when XG5000 present open project and remote 1 and 2 connected CPU type are not well matched a Program and Write each parameter b Program and Read each parameter c Monitor d Enable Link setting e f Force I O 2 In case of programming by connecting XG5000 as remote 1 and 2 open the right project of connecting station and then execute connection 3 Remote connection provides only by remote 2 Over remote 2 is not available 2 Incase of remote connection by XGR redundant system 1 Incase of remote connection by redundant system that performs the same service But in case of connect to master or stanby connection path is same as master CPU and data transmission is established l O information Chapter 10 Troubleshooting o
101. riables a A Firameter 4 db NeweLC 8052 xBi f Li High speed Link 62 I Syste Variable 4 3 NewPLC XGR XECU Run p Glonal Direct Variables a 8 Parameter NM Basic Parameter Mont Recenty used A Finished Lnabling Dinading Funston Norse Fig 8 12 Finishing HS link enable c Click check box then click write button d When the message appears clicking enter key starts HS link communication 8 6 LSis Chapter 8 High Speed Link Service 8 3 HS Link Flag HS link service exchanges between over 2 stations of communication modules To verify the reliability of the data from destination station through HS link HS link service provides HS link information to user Communication module provides HS link information synthesizing the receiving data every some general interval And it verifies if the HS link operates in good condition followed by the user s assigned parameter HS link service consists of Run Link HSxRLINK It shows communication network overall information Overall information of Link Trouble _HSxLTRBL and HSxSTATE HSxTRX HSxMOD HSxERR Individual information It shows each communication status by 64 registered item in parameter User can use upper information in Key word type for programming And by using HS information monitor function user can monitor the status of HS link Operating many PLCs by using HS link user should do the operation after verifying the reli
102. s Table 2 8 shows diagnosis function specifications of XGB Fast Enet I F module Lo o Nem o Specifications e HS link station no e P Subnet mask IP Gateway IP DNS Server IP Communication module information e Main service HS link P2P enable Setting media e Hardware software version Send packet number Receive packet number Error packet Dedicated service number State Setting drive Diagnosis Service condition HS link Send Receive packet number Function e HS link flag Run Link Mode State TRX Error Connection state Service state P2P service l Service count Error count Total Send Receive acket number Media Information E Broad Multi Uni UDP ARP EARP Throw out Packet Rate per sec Ping test e IP Address Setting times Time out Table 2 8 Diagnosis function specification 2 6 Chapter 2 Specifications 2 5 Names of Parts 2 5 1 Names of parts CD Fixing lever XBL EMTA RUN TX I F RX one ee ED pail 10 100BASE TX 3 LINK LED 4 RJ45 connector 5 SPEED LED XBL EMTA SKS 6 Fixing lever 7 Fixing lever Fig 2 1 Dimensions and names of parts 2 5 2 Designation of parts Item tem 0 o Desopion Ca Fixing lever Extension module fixing part the upper On Normal operating RUN e Off Stop operating UE flicker Interface with CPU Off Stop interface with CPU TX Off Stop data transmitting RX flicker Data receiving time Of
103. s specified in parameter in RUN mode 2 All data block is in normal communication as specified in parameter 3 The parameter specified in each station itself is in normal communication Run link will be kept On if once On until stopped by disabling link This flag will be On if the station specified in parameter and the data blocks communication status are as described below with HSmRLINK flag On 1 when the station specified in parameter is not in RUN mode 2 when the station specified in parameter is in error 3 when data blocks communication status specified in parameter is unstable The link trouble will be On if one of those conditions 1 2 and 3 above occurs And if sucha condition is back to normal it will be Off Displays the general status of the communication information for the specified parameter s respective data blocks HS1STATE k HS1MOD k amp HS1TRX kJ amp HSmbERRIk Displays the operation mode of the station specified in parameter s data block k Displays the communication status of parameter s data block k to check if normal as specified Displays the communication status of parameter s data block k to check for any error Displays the setting status of parameter s data block k Chapter 11 Appendix HS link L area L0260 LX416 In order to use HS link flag for program and monitoring use the flag map LO47F JoL X767 registered in XG5000 for convenient application K as a block number in
104. s the received mail message at memory of PLC Currently XGB FEnet supports only TX function and RX function is not supported Note1 ERECEIVE block is related with e mail RX setting This is not used in the XGB But one RX block should be set for e mail TX function Note2 This is related with e mail RX setting not used in the XGB Chapter 7 P2P Service 7 5 XGT Client 7 5 1 XGT client introduction XGT Client provides a data read write function sending request frame to server by using XGT dedicated protocol It sends a frame when the operation condition of each block is ON With 2 communication methods TCP and UDP XBL EMTA can use XGT client function Client Server Transmission port n 21024 Destination port 2004 J Transmission port n gt 1024 SYN Destination port 2004 Connection V SYN ACK Connection 3 XGT dedicated AC protocol ge A Client PUSH ACK XGT dedicated protocol e Server PUSH ACK 6 o 6 m o ee D FIN ACK Disconnection Disconnection REGE lt Time Time Figure 7 30 Setting TCP XGT client channel 7 21 Chapter 7 P2P Service 7 6 Modbus TCP Client 7 6 1 Modbus TCP Client Modbus TCP client provides a data Read Write function sending request frame to server using function code by Modbus TCP IP protocol It sends a frame when the operation condition of each block is ON Client Server
105. te 1 system through PC Fig 9 6 shows the status that PC and PLC are connected by Ethernet In this case XG5000 can connect all PCs on network without using RS 232C Local connection is not needed remote 1 can be executed for all PLCs To execute direct remote 1 through Ethernet select connection option and change the settings as following boxes Ethernet Set IP address o IP address General 2 Hast name Timeout interval llser custom port Retrial times Sal Port Setting 202 Read Write data size in PLC run mode Warning Change the part number anly in d i case ot part forwarding using the router Normal Maximum Send maximum data size in stop mode See Fig 9 7 Direct remote 1 on PC 1 Connecting type Select connecting type Fig 9 7 shows the Ethernet connection without using RS 232C Select Ethernet 2 Connection depth Decide remote 1 or remote 2 for the connection with PLC In this case select remote 1 3 IP address Record IP address of FEnet I F module for connection 4 After 3 all steps are same as the steps of the case using RS 232C Select enter at this status select connection on online menu 9 6 L Chapter 9 Remote Communication Control 9 2 4 Direct remote 2 connection on Ethernet connecting PC Remote 2 is available by using Enet the step is same as that of remote 1 Example of setting connection option is as following Set IP address IP add
106. the communication with other devices than described above user can directly define frames as necessary In addition messages and e mail addresses can be registered to transmit and receive e mail frames ASCII supports However it is not necessary to set the channel for e mail communication If P2P channel is selected on the P2P setting window the P2P channel setting window will appear as follows Channel Setting Figure 7 9 P2P channel settings window Chapter 7 P2P Service Select P2P Driver of the channel you want to set and set the P2P driver type Channel Setting o P2P Driver AT server D User frame definition ee MERE ne Figure 7 10 P2P driver client setting Drivers and details available in XGT FEnet I F are as follows Items Details User frame definition Used to send receive data with user defined frame XGT dedicated Built in protocol ici XGT client The user doesn t need to define the frame Driver ModBus TOP MODBUS TCP protocol of MDICON TCP UDP Selects TCP or UDP If user select Modbus TCP this item is fixed as TCP Client Server Select Client Server If user select the protocol as XGT Modbus TCP this item is fixed as Client Inputs port number of partner When defining protocol as User frame definition user can define port number H400 H1024 For XGT client this item is fixed as 2004 and for Modbus TCP client this is fixed as 502 Partner IP address Inout IP address of
107. tion Size Range Number of bytes 2 bytes Coil status Table 5 13 Function code 0x01 response frame Chapter 5 Protocols of Various Services E 3JD Tgd c Error Classification Size Rane 0x81 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 14 Function code 0x01 error frame d Examples Table 5 15 Function code 0x01 frame examples 2 Function code 0x02 Read input bit Read Discrete Inputs a Request Classification Size Range 0x0001 0x07D0 2000 bits Table 5 16 Function code 0x02 request frame b Response Classification Sie Senge Inputstatus Nxibyes J ooo Table 5 17 Function code 0x02 response frame c Error Classification ge Range 0x82 Function code 0x80 Exception code 0x01 0x02 0x03 0x04 Table 5 18 Function code 0x02 response frame d Examples Request frame Classification Classification Table 5 19 Function code 0x02 request frame examples Chapter 5 Protocols of Various Services EM 3 Function code 0x03 Read Holding Registers a Request Classification Size Range _ Start address 0x0000 OxFFFF Number of input 0x0001 0x007D 125 words Table 5 20 Function code 0x03 request frame b Response Classification ges Range Inputstatus Nx2byes o Table 5 21 Function code 0x03 r
108. tion port 502 lnc Transmission port n 21024 SYN Destination port 502 Connection SYN ACK Connection ACK Modbus TCP IP protocol m Client PUSH ACK Modbus TCP IP protocol Server PUSH ACK ACK e e e FIN ACK Request disconnection Disconnection BAC RS Disconnection A Time Time Figure 6 7 Modbus TCP IP Server operation flow 1 Connection a Client does transmit GKSYN to serve Server does SYN A b Connection port no is XGT dedicated protocol port no 502 c Client does connection check response 3 ACK d Finishing D O makes client amp erver connection 2 TCP XGT client a After connection client does transmit GDIPUSH ACK according to XGT dedicated p b Server does transmit 5 PUSH ACK for PUSH ACK Frame C a b c Client does transmit BACK 3 Disconnection Client does transmit AN ACK Request disconnection Server does transmit RST and disconnect Chapter 7 P2P Service Chapter 7 P2P Service 7 1 P2P Service Function 7 1 1 Client model P2P service provides a client function as below Fig 7 1 Client Server model It requests data Read Write to server When each block operation status is ON it provides the function of connecting request frame to the right channel and receiving response XGB Fast Enet I F module communicates through Max 3 channels each channel communicates by using diffe
109. unicate according to the designated protocols 5 1 2 Protocol by service Each protocol s classified as server client by its function Table 5 1 shows protocol by service Specification Communication Driver method XGT TCP IP 2004 server Dedicated UDP IP 2005 ax 4 channels Modbus TCP sewer Topi ap MexSt2byes Communication TCP IP 2004 functi XGT client Pop EDI awe e Max 3 channels 502 Modbus TOP aient TCP IP e onu TCP IP User define frame l UDP IP Table 5 1 Protocols of various services Chapter 5 Protocols of Various Services EM h 5 2 XGT Dedicated Protocol 5 2 1 General XGT main protocol does communicate between LSIS Enet I F modules Read write is available by instructions and communication is available on PC HMI by using XGT dedicated protocol XGT dedicated communication is available in 2 ways communication method of TCP and UDP Communication Protocol method TCP IP 2004 XGT dedicated UDP IP 2005 Table 5 2 XGT main protocol 5 2 2 Frame structure 1 XGT dedicated packet structure through Ethernet During the period of communicating by using XGT dedicated protocol it includes LSIS frame which includes MAC IP header TCP header and data for Ethernet communication Fig 5 1 shows XGT dedicated packet structure through Enet Ethernet Request Response Frame sss i MAC IP Header TCP Header LS IS Frame Format
110. ynthesized status indication Flag of Block It s individual information showing operation status by HS link parameter registration item It indicates Max 64 of HS link status by registration item and Max registration numbers It shows the synthesized information of registration item by synthesizing individual information When the status of Send Receive of the list is normal and operation mode is Run no error it becomes On and when it s out of upper condition it does Off 4 Run Operation Mode Flag of Block Station It s individual information showing operation status by HS link parameter registration item It indicates Max 64 of operation mode information by registration item and Max registration numbers When the setting station in registration item is Run mode the Bit becomes On When it s Stop Pause Debug mode it does Off 5 Normal communication indication Flag between block station It s individual information showing operation status by HS link parameter registration item It indicates Max 64 of Send Receive information by registration item When Send Receive operates in good condition as the setting period the Bit becomes On if not it does Off Operation Error mode Flag of block station It s individual information showing operation status by HS link parameter registration item It indicates Max 64 of error information by registration item and Max registration numbers Error defines that PLC

Download Pdf Manuals

image

Related Search

Related Contents

Freno per funi VG (VGBR2) - Atwell International Ltd.  Fischer Panda Handbuch Marine Generator    - Peugeot Scooters  Troubleshooting in der Zellkultur Migration von Zellen unter in  Summit WEBER 56575 User's Manual  Samsung P64FP Benutzerhandbuch  Service Manual  Sony HVL-F32M Operating Instructions  3M G5 Headphones User Manual  

Copyright © All rights reserved.
Failed to retrieve file