background image

 
 
 
 

Chapter 7 P2P Service 

 

 

56 

(10)   Setting user define frame block and selecting frame 

 

 

[Fig. 7-32] Setting user define frame block and selecting frame

 

 

(a)  Registered group frame can be selected when the setting driver is user define frame. 
(b)  Selecting frame finishes setting block as [Fig.7-32]. 

 

 

[Fig. 7-33]

 

Finishing user define frame block setting

 

 

 

Содержание XBL-EMTA

Страница 1: ...n LS Industrial Systems co Ltd China Address No 15 Liaohexi 3 Road economic and technical development zone Dalian China e mail lixk lgis com cn Tel 86 411 8273 7777 Fax 86 411 8730 7560 LS Industrial Systems Shanghai Co Ltd China Address Room E G 12th Floor Huamin Empire Plaza No 726 West Yan an Road Shanghai China Tel 86 21 5237 9977 LS Industrial Systems Wuxi Co Ltd China Address 102 A National ...

Страница 2: ... History 1 Revision History Version Date History Remark V 1 0 July 2007 First edition The number of user manual is indicated right part of the back cover ⓒ LS Industrial Systems Co Ltd 2007 All Rights Reserved ...

Страница 3: ...ions 11 2 4 2 Performance Specifications by Communication Service 11 2 4 3 Diagnosis function specifications 12 2 5 Dimensions and Names of Parts 13 2 5 1 Dimensions and names of parts 13 2 5 2 Designation of Parts 13 Chapter 3 Installation 14 3 1 Cautions for Installation 14 3 1 1 Environmental conditions 14 3 1 2 Installation cautions 14 3 1 3 Handling cautions 14 3 2 Installation and wiring 15 ...

Страница 4: ...de 27 Chapter 6 Dedicated Service 34 6 1 Dedicated Service Function Introduction 34 6 1 1 Server model 34 6 1 2 System configuration 34 6 1 3 Dedicated service classification 34 6 2 Setting Dedicated Service 35 6 2 1 Basic parameter 35 6 3 XGT Server 37 6 3 1 TCP XGT server 37 6 4 Modbus TCP IP Server 38 Chapter 7 P2P Service 39 7 1 P2P Service Function Introduction 39 7 1 1 Client model 39 7 2 Se...

Страница 5: ...ag classification 67 8 3 2 HS link flag introduction 67 8 3 3 HS link flag memory address 68 Chapter 9 Remote Communication Control 70 9 1 General 70 9 2 1 Remote 1 RS 232C Cable 72 9 2 2 Remote 2 RS 232C Cable 74 9 2 3 Direct remote 1 on Enet connecting PC 76 9 2 4 Direct remote 2 on Enet connecting PC 78 Chapter 10 Troubleshooting 80 Warranty 82 ...

Страница 6: ...Enet I F module XBL EMTA is suitable to following versions 1 XG5000 programming tool above Ver 2 0 2 XG PD above Ver 2 0 3 XGB CPU above Ver 1 4 1 3 Characteristics XGB Fast Enet I F module provides its services forARP ICMP TCP IP and UDP IP protocol and includes following characteristics 1 3 1 XGB Fast Ethernet I F module characteristics 1 Ethernet II IEEE 802 3 standard functions 2 HS link funct...

Страница 7: ...nosis function for communication module by network 1 3 2 Designation XGB Fast Enet I F module designates as bellows Designation Description Remark 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 XGB 2 Table 1 2 Max modules can be installed 1...

Страница 8: ...standard Electronic discharge Voltage 4 Discharge by contact IEC61131 2 IEC610004 2 Radiated electromagnetic field noise 27 500MHz 10V m IEC61131 2 IEC61000 4 3 Item Power supply DigitalI O AnalogI O CommunicationInterface 7 Noise Immunity Fast transient Burst noise Voltage 2kV 1kV IEC61131 2 IEC61000 4 4 8 Atmosphere Free of corrosive gases and excessive dust 9 Cooling method Natural air cooling ...

Страница 9: ...GB Fast Enet I F module takes UTP cable which is over Cat 5 Table 2 3 shows cable specifications Classification Details Purpose UTP or U UTP So called unshielded cable used for HS signal ㆍ Max 200MHz ㆍ Phonetic Data low grade of video signal FTP or S UTP Cable with cable core only shielded solely ㆍ Max 100MHz ㆍ Electronic impediment EMI and electric stability considered ㆍ Phonetic Data low grade o...

Страница 10: ...nealed copper cable 2 3 2 Frequency classification Classification Frequency MHz Transmission speed Mbps Purpose Category 1 Phonetic frequency 1 ㆍ Phone network 2 Pair Category 2 4 4 ㆍ Multi Pair communication cable Category 3 16 16 ㆍ Phone network computer network Category 4 20 20 ㆍ Computer network transmission speed up ㆍ Low loss communication cable Category 5 Enhanced Category5 100 100 ㆍ Digita...

Страница 11: ... Conductor resistance Max Ω km 93 5 Insulation resistance Min MΩ km 2 500 Withstand voltage V min AC 500 Characteristic impedance Ω 1 100MHz 100 15 10MHz 6 5 16MHz 8 2 Decrement Below dB 100m 20MHz 9 3 10MHz 47 16MHz 44 Near end crosstalk decrement Below dB 100m 20MHz 42 Table 2 5 UTP cable specification ...

Страница 12: ... Performance Specifications by Communication Service Table 2 7 shows performance specifications by communication service of XGB Fast Enet I F module Specifications Item Driver Communication method Port Number Remark TCP IP 2004 XGT server UDP IP 2005 Dedicated Mod bus TCP server TCP IP 502 Max 4 channels Max 512 bytes HS link UDP IP 2006 Max 64 blocks 200 words per block TCP IP 2006 XGT client UDP...

Страница 13: ...n Dedicated service Transmission packet number Reception packet number Error packet number State Setting drive HS link Transmission Reception packet number HS link flag Run Link Mode State TRX Error Service condition P2P service Connection state Service state Service count Error count Total transmission Reception packet number Media Information Packet Rate per sec Broad Multi Uni UDP ARP EARP Thro...

Страница 14: ...licker Data transmission time TX Off Stop data transmitting flicker Data receiving time RX Off No data reception On H W error LED ERR flicker S W error flicker Packet reception time LINK LED Yellow Off No packet reception RJ45 connector RJ45 connector part On 100Mbps operating time SPEED LED Green Off 10Mbps operating time Fixing lever Expansion module fixing part the lower Fixing lever DIN rail f...

Страница 15: ...l on high voltage device or same panel 4 Continuous it 50mm and wider out of duct or surrounding modules 5 Ground on a place where little noise is detected 3 1 3 Handling cautions 1 Do not drop or do not apply any excessive impact on it 2 Do not separate PCB from case shield which may cause breakage 3 Make sure that while wiring any impurities should not be inserted into the upper part of this mod...

Страница 16: ...ed inside If only 2 of these communication modules are connected 1 to 1 cross cable form may be used Pin no Signal Straight cable module Hub 1 to 1 cross cable 1 2 3 6 4 5 7 8 TD TD RD RD N A 1 1 2 2 3 3 6 6 1 3 2 6 3 1 6 2 Table 3 1 Cable wiring Remark 1 Hub power should be separated from PLC power 2 Contact professional manufacturers for processing cable terminal manufacture and installation 8pi...

Страница 17: ...llic pipe buried 64mm 152mm 305mm Power line inside metallic pipe buried or equivalently shielded near to metallic pipe buried 76mm 152mm Transformer Electric motor light 1 016mm 305mm Table 3 2 Cautions for UTP installation 3 2 3 Cautions for system and network connection 1 IP address should be different including this module If not normal communication is not available 2 Set each exchange number...

Страница 18: ...n PLC Start 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 If abnormal refer to the troubleshooting contents of each PLC manual 6 Check LED status normal abnormal of communication module If abnormal refer to chapter 10 Troubleshooting of this manual 7 Download after setting system parameter corr...

Страница 19: ...n 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 communic...

Страница 20: ...ne 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...

Страница 21: ...Modbus TCP IP user define frame Each protocol supports server client operation Dedicated server and P2P function communicate according to the designated protocols 5 1 2 Protocol by service Each protocol s classified server client by its function Table 5 1 shows protocol by service Specification Item Driver Communication method Port No Remark TCP IP 2004 XGT server UDP IP 2005 Dedicated Modbus TCP ...

Страница 22: ... 1 XGT dedicated packet structure through Enet During the period of communicating by using XGT dedicated protocol it includes LSIS frame which includes MAC IP header TCP header and data for Enet communication Fig 5 1 shows XGT dedicated packet structure through Enet IP Header MAC TCP Header LS IS Frame Format TCP IP Data Frame Ethernet Request Response Frame Figure 5 1 XGT dedicated packet structu...

Страница 23: ...e Word DWord LWord But for the Continuous only Byte is usable Instruction Instruction code Data type Treatment 0x0000 0x0100 0x0200 0x0300 Individual 0x0400 Reads data by each data type Request 0x5400 Continuous 0x1400 Reads byte type variables in block unit 0x0000 0x0100 0x0200 0x0300 Individual 0x0400 Responses to the request of Read data Read Response 0x5500 Continuous 0x1400 Response to the re...

Страница 24: ...ad 0x5500 Read Command Instruction 0x5800 Write 2 Instruction 0x5900 Write 2 0x0000 Bit 0x0000 Bit 0x0100 Byte 0x0100 Byte 0x0200 Word 0x0200 Word 0x0300 DWord 0x0300 DWord 0x0400 LWord 0x0400 LWord Data Type Data type 0x1400 Continuous 2 Data type 0x1400 Continuous 2 Reserved area 2 Reserved area 2 Number of blocks 0x0100 0x1000 2 Error status 0x0000 0xFFFF 2 Length of variables N 0x0400 0x1000 2...

Страница 25: ... 2 6 Frame examples 1 Request frame for individual reading of variables Table 5 7 Request frame for individual reading of variables 2 Response frame for individual reading of variables Table 5 8 Response frame for individual reading of variables ...

Страница 26: ...vices 25 3 Request frame for continuous reading of variables Table 5 9 Request frame for continuous reading of variables 4 Response frame for continuous reading of variables Table 5 10 Response frame for continuous reading of variables ...

Страница 27: ...DBUSApplication Protocol 3 PDU Protocol Data Unit 5 3 2 Structure of Modbus TCP IP frame 1 Structure of Modbus TCP IP frame through Enet IP Header MAC TCP Header MODBUS TCP IP ADU MODBUS TCP IP ADU Ethernet Request Response Frame Figure 5 3 Structure of Modbus TCP IP frame through Enet MABP Header Transaction Identifier Protocol Identifier Length Unit Identifier Figure 5 4 Structure of Modbus TCP ...

Страница 28: ...ode 01 0x01 Read output bit Read Coils Function Code 02 0x02 Read input bit Read Discrete Inputs Function Code 03 0x03 Read output word Read Holding Registers Function Code 04 0x04 Read input word Write Input Register Function Code 05 0x05 Write output bit Write single Coil Function Code 15 0x0F Continuously write output bit Write Multiple Coils Function Code 16 0x10 Continuously write output word...

Страница 29: ...e Range Function code 1 byte 0x02 Start address 2 bytes 0x0000 0xFFFF Number of input 2 bytes 0x0001 0x07D0 2000 bits Table 5 17 Function code 0x02 request frame b Response Classification Size Range Function code 1 byte 0x01 Number of bytes 2 bytes N Input status N x 1 bytes Table 5 18 Function code 0x02 response frame c Error Classification Size Range Function code 1 byte 0x82 Function code 0x80 ...

Страница 30: ... Request frame Response frame Classification HEX Classification HEX Function code 0x03 Function code 0x03 Start address Upper byte 0x00 Number of bytes 0x06 Start address Lower byte 0x6B Word status 108 0x02 Number of words Upper byte 0x00 Word status 108 0x2B Number of words Lower byte 0x03 Word status 109 0x00 Word status 109 0x00 Word status 110 0x00 Word status 110 0x64 Table 5 24 Function cod...

Страница 31: ... byte 0x05 Start address 2 bytes 0x0000 0xFFFF Input value 2 bytes 0x0000 or 0xFF0D Table 5 29 Function code 0x05 request frame b Response Classification Size Range Function code 1 byte 0x05 Number of bytes 2 bytes 0x0000 0xFFFF Input status 2 bytes 0x0000 or 0xFF00 Table 5 30 Function code 0x05 response frame c Error Classification Size Range Function code 1 byte 0x85 Function code 0x80 Exception...

Страница 32: ... 1 byte 0x01 0x02 0x03 0x04 Table 5 35 Function code 0x0F request frame d Examples Request frame Response frame Classification HEX Classification HEX Function code 0x0F Function code 0x0F Start address Upper byte 0x00 Start address Upper byte 0x00 Start address Lower byte 0x13 Start address Lower byte 0x13 Number of output Upper byte 0x00 Number of output Upper byte 0x00 Number of output Lower byt...

Страница 33: ...7 20 0x01 Input status Upper byte 0x00 Coil status 36 28 0x00 Number of coils Lower byte 0x03 Coil status 38 36 0x03 Table 5 40 Function code 0x06 frame examples 8 Function code 0x10 Write Multiple Registers a Request Classification Size Range Function code 1 byte 0x10 Start address 2 bytes 0x0000 0xFFFF Number of output 2 bytes 0x0001 or 0x07D8 Number of bytes 1 byte 2 x N Output value N x 2 byte...

Страница 34: ...address Upper byte 0x00 Start address Lower byte 0x01 Start address Lower byte 0x01 Number of output Upper byte 0x00 Number of output Upper byte 0x00 Number of output Lower byte 0x02 Number of output Lower byte 0x02 Number of bytes 0x04 Output value Upper byte 0x00 Output value Lower byte 0x0A Output value Upper byte 0x01 Output value Lower byte 0x02 Table 5 44 Function code 0x10 frame examples ...

Страница 35: ...connects and sets 1 Client Server model Server does perform the function of Indication and Response Figure 6 1 Client Server model 6 1 2 System configuration Figure 6 2 Client Server system configuration 6 1 3 Dedicated service classification Classification Port no Protocol classification Min Max connection numbers TCP XGT server 2004 TCP 1 4 XGT server UDP XGT server 2005 UDP 1 4 Modbus TCP IP se...

Страница 36: ... the slot Figure 6 3 Selecting basic parameter and setting communication module Double clicking shows communication module setting window Select FEnet from communication modules then click enter key Finally it shows the window as below Fig 6 4 Setting FEnet Figure 6 4 Setting basic parameter Double clicking FEnet shows the basic setting window as below Fig 6 5 Double click Select FEnet Double clic...

Страница 37: ...nection is the number of connecting clients Up to 4 is available c Number of channels of P2P is 4 dedicated connection numbers d Setting driver server can be done by XGT server or Modbus TCP IP e Server operates by the setting driver protocol f Setting host table assign client IP g Setting check box of enable host table makes connection only to registered IP ...

Страница 38: ...Transmission port n 1024 Destination port 2004 Figure 6 5 TCP XGT server operation flow 1 Connection a Client does transmit SYN to serve Server does SYNACK b Connection port no is XGT dedicated protocol port no 2004 c Client does connection check response ACK d Finishing makes client server connection 2 TCP XGT server a After connection client does transmit PUSHACK according to XGT dedicated proto...

Страница 39: ...nsmission port n 1024 Destination port 502 Figure 6 6 Modbus TCP IP Server operation flow 4 Connection a Client does transmit SYN to serve Server does SYNACK b Connection port no is XGT dedicated protocol port no 502 c Client does connection check response ACK d Finishing makes client server connection 5 TCP XGT client a After connection client does transmit PUSHACK ac cording to XGT dedicated pro...

Страница 40: ...hen 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 different protocols Fig 7 1 Client Server model Server executes Request and Confirmation Fig 7 2 Client Server system configuration XBL EMTA is available to connect Max ...

Страница 41: ... P2P01 is a setting value of XGB CPU internal communication It s fixed as Cnet c Double clicking shows communication setting screen as the right part of Fig 7 3 d Set FEnet in types e Base is fixed as 00 f Slot is 01 07 Set it by the installation sequence of XBL EMTA g After finishing setting communication module click enter key h Clicking enter key shows detailed item of P2P as Fig 7 4 Fig 7 4 Fi...

Страница 42: ...nt a In case of assigning XGT client TCP UDP should be selected b Selecting TCP assigns port no 2004 Selecting UDP assigns port no 2005 c Write the destination IP address 4 Modbus TCP client a Selecting Modbus client fixes port no 502 b Write the destination IP address 5 User define frame a In case of assigning user define frame communication type should be selected as TCP UDP b Select Client Serv...

Страница 43: ...en of Fig 7 7 double click it b Double clicking shows block setting screen as the right screen of Fig 7 7 7 Setting P2P block channel Fig 7 8 Setting P2P block channel a Assign each block channel as the left screen of Fig 7 8 Select one from registered channels 0 3 b Assigning the desired channel as the right screen of Fig 7 8 saves assigned driver on setting channel ...

Страница 44: ...VE e Write operation condition as the right screen of Fig 7 9 Operation condition is an internal device of XGB CPU 9 Setting P2P block type Fig 7 10 Setting P2P block type and data type a Select the type as the left screen of Fig 7 10 Function can be selected by the assigned channel driver b XGT client selects SINGLE CONTINOUS c Modbus TCP client selects SINGLE CONTINOUS d User define frame can no...

Страница 45: ...LE CONTINUOUS c Modbus TCP client is fixed as 1 d User define frame can not select types 11 Setting P2P block variables Fig 7 12 Setting P2P block variables a Select the variable as the left screen of Fig 7 12 Double click it b Double clicking shows the screen of setting variables as the right screen of Fig 7 12 c Write can be 1 4 variables by the setting numbers of variables ...

Страница 46: ... 13 e Clicking enter key finishes setting block as Fig 8 11 7 2 2 Enable link 1 P2P enable setting screen Fig 7 14 P2P enable setting screen a After setting P2P function P2P enable should be set to start P2P service b Connect XG PD as the left screen of Fig 7 14 Select enable link on Online menu c It shows enable link screen as the right screen of Fig 7 14 ...

Страница 47: ...P Service 46 2 P2P enable Fig 7 15 P2P enable a Select the desired P2P check box as the left screen of Fig 7 15 click enter key b Clicking enter key shows finishing screen of setting as the right screen of Fig 8 13 ...

Страница 48: ...tion of each block is ON By 2 ways communication type of TCP and UDP XBL EMTAuses XGT client function Client Time SYN Time SYN ACK ACK PUSH ACK PUSH ACK ACK FIN ACK ACK RST Server Transmission port n 1024 Destination port 2004 Connection Disconnection Connection Disconnection XGT dedicated protocol Client XGT dedicated protocol Server Transmission port n 1024 Destination port 2004 Fig 7 16 Setting...

Страница 49: ...us TCP IP protocol It sends a frame when the operation condition of each block is ON Client Time SYN Time SYN ACK ACK PUSH ACK PUSH ACK ACK FIN ACK ACK RST Server Transmission port n 1024 Destination port 502 Connection Disconnection Connection Disconnection Modnus TCP IP Client Modbus TCP IP Serer Transmission port n 1024 Destination port 502 Fig 7 17 Setting TCP XGT client channel ...

Страница 50: ...nel driver to user define frame as the left screen of Fig 7 18 b Select TCP UCP as the right screen of Fig 7 18 2 Setting user fine frame port no Fig 7 19 Setting user fine frame port no a Set operation mode Client Server to Client as the left screen of Fig 7 19 b Select TCP UDP as the right screen of Fig 7 19 input the desired port no and the desired destination IP address ...

Страница 51: ...fine frame group addition as the left screen of Fig 7 20 click right button of mouse It shows pop up menu Add Group Then click it again 4 Select user define frame group name and frame type Fig 7 21 Select user define frame group name and frame type a Select user define frame group name and frame type of Fig 7 21 b Select frame type Transmission on Group Edit as the left screen of Fig 7 21 ...

Страница 52: ...of Fig 7 22 5 Adding user define frame HEAD Fig 7 23 Adding user define frame HEAD a Add user define frame HEAD as Fig 7 23 b Click right button of mouse on the added group as the left screen of Fig 7 23 It shows pop up menu Edit Group Delete Group Add Frame c SelectAdd Frame then click mouse It shows frame edit window as the right screen of Fig 7 23 d Select type HEAD click enter key e Clicking e...

Страница 53: ...ick SEND HEAD area as the left screen of Fig 7 24 It shows segment adding window b Select type Numerical constant onAdd segment Fig 7 25 Finishing user define frame HEAD segment input c Input data as the left screen of Fig 7 25 then click enter key d Clicking enter key finishes segment adding as the left screen of Fig 7 25 ...

Страница 54: ... b SelectAdd Frame click mouse It shows frame edit window as the right screen of Fig 7 26 c Select type TAIL click enter key d Clicking enter key adds TAILon the project window as the left screen of Fig 7 26 8 Adding user define frame TAILsegment Fig 7 27 Adding user define frame TAIL segment a Double click SEND TAIL area as the left screen of Fig 7 27 It shows segment adding window b Select type ...

Страница 55: ...een of Fig 7 28 9 Adding user define frame BODY Fig 7 29 Adding user define frame BODY a Click right button of mouse on added group as the left screen of Fig 7 29 It shows pop up menu Edit Group Delete Group Add Frame b SelectAdd Frame click mouse It shows Frame Edit window as the right screen of Fig 7 29 c Select type BODY click enter key d Clicking enter key adds BODY as the left screen of Fig 7...

Страница 56: ...rea as Fig 7 30 It shows segment adding window f Select type Numerical constant onAdd segment Fig 7 31 Finishing setting user define frame segment addition g Input data as the left screen of Fig 7 31 click enter key h Clicking enter key finishes segment adding as the left screen of Fig 7 31 ...

Страница 57: ...selecting frame Fig 7 32 Setting user define frame block and selecting frame a Registered group frame can be selected when the setting driver is user define frame b Selecting frame finishes setting block as Fig 7 32 Fig 7 33 Finishing user define frame block setting ...

Страница 58: ...stination port usr s assignment Fig 7 34 TCP user define frame server 1 TCP user define frame server provides a function receiving the registered frame as the receiving block to the user s assigned port 2 In case of SYN SYNACK ACK Connection 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 ...

Страница 59: ...ver Transmission port n 1024 Destination port user s assigment Fig 7 35 TCP user define frame 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 define...

Страница 60: ...ting it through XG PD click System Diagnosis as the left screen of Fig 7 36 2 It shows present system picture as the right screen of Fig 7 36 Fig 7 37 System diagnosis menu 3 Keep positioning on the module as the left screen of Fig 7 37 and click the right button of mouse 4 Select Status By Service as the right screen of Fig 7 37 click it ...

Страница 61: ...apter 7 P2P Service 60 Fig 7 38 Status by service 5 It shows Status by service window as the left screen of Fig 7 38 6 Select P2P service tap it shows P2P service condition as the right screen of Fig 7 38 ...

Страница 62: ...me is registered in reception list Followings are HS link functions 1 Setting HS link block a Max 128 blocks can be set in case of lots send reception area b Max 200 words can be set per 1 block 2 Setting Period type a User can set period of type by parameter b User can set period of sending receiving 20ms 10sec 3 Setting area of sending receiving a User can set area of sending receiving by data b...

Страница 63: ...he left screen of Fig 8 2 double click it b Double clicking shows communication module information setting window as the right screen of Fig 8 2 Fig 8 3 Finishing HS link communication module setting c Select the 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 Double click Select period Select slot HS link...

Страница 64: ...Send as the right screen of Fig 8 3 Fig 8 5 Setting HS link sending block station no and block no c When an user selects sending as the left screen of Fig 8 5 it sets setting station no in basic parameter d Input block no as the right screen of Fig 8 5 Fig 8 6 Finishing HS link sending block data size setting Select station type Select Send Station no Input block no Input Read area Input data size...

Страница 65: ...ving block station type 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 Fig 8 8 Setting HS link receiving block station no and mode c Input station no as the left of Fig 8 8 This station no 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...

Страница 66: ...s 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 Fig 8 10 Finishing HS link receiving block data size setting Input save area Input data size ...

Страница 67: ...S link enable a Connecting it through XG PD click link enable on On line menu b Select HS link 01 or HS link 02 Fig 8 12 Finishing HS link enable c Click check box then click write button d When the message s outputted clicking enter key starts HS link communication ...

Страница 68: ...shows HS link information function and definition 8 3 1 HS link flag classification Classification Run Link Link Trouble Send Receive status Operation Mode Error HS link status Information type Overall Overall Individual Individual Individual Individual Keyword name x HS Link No _HSxRLINK _HSxLTRBL _HSxTRX n n 0 64 _HSxMOD n n 0 64 _HSxERR n n 0 64 _HSxSTATE n n 0 64 Data type Bit Bit Bit Array Bi...

Страница 69: ...ation status by HS link parameter registration item b It indicates Max 128 of error information by registration item and Max registration numbers c Error defines that PLC 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 8 3 3 HS link flag memory address HS link flag is assigned in m...

Страница 70: ...00 Normal communication with HS link block No 2 No 063 _HS1_ERR000 _HS1_ERR063 BIT BIT L00140 L0017F Operation error mode of HS link block No 1 No 000 Operation error mode of HS link block No 1 No 063 Error _HS2_ERR000 _HS2_ERR063 BIT BIT L00400 L0043F Operation error mode of HS link block No 2 No 000 Operation error mode of HS link block No 2 No 063 Fig 8 14 HS link flag address ...

Страница 71: ...C cable is connected to PLC 1 and PLC 1 PLC 2 PLC N are connected with each other via Enet In order to access the contents of PLC 1 in Fig 9 1 do local connection on XG PD 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 ...

Страница 72: ...y XG PD communication service XG PD 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 Fig 9 2 XG PD remote connection Fig 9 2 shows examples of remote1 PLC B and remote 2 PLC E in a system which composed of 2 networks ...

Страница 73: ...g 9 3 XG PD remote connection option selecting 1 Connection type a Select local connection type Fig 9 3 shows a local connection by using RS 232C b Select the communication port from user PC port c Following section explains the case of Enet user d Refer to the user manual of each communication module 2 Connection stage a It decides local or remote 1 or remote 2 for connecting PLC b Select remote ...

Страница 74: ...on of communication module which is connected to network 1 from local PLC by RS 232C b In Fig 9 4 FEnet I F module is installed in PLCA Select the slot no 0 c Select enter on b then select connection online menu d The status of finishing remote 1 is same as the logical connection status with local connection by moving RS 232C cable e User can use all function of online menu But user can t do when ...

Страница 75: ...ion 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 E 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 ...

Страница 76: ...net by network remote 2 b Network type of remote 1 and remote 2 have no relevance 2 Slot No setting a In Network 2 the position of module which installed in remote 2 station PLC PLC B 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 ...

Страница 77: ... 91 190 PC 또는 노트북 XG PD 또는 XG5000 이더넷 통신을 사용한 1단 논리 접속 리모트 1단 접속 PLC 1 IP 192 168 91 188 PLC 2 IP 192 168 91 189 PLC n IP 192 168 91 190 PC 또는 노트북 XG PD 또는 XG5000 이더넷 통신을 사용한 1단 논리 접속 리모트 1단 접속 Fig 9 6 Remote 1 system through PC Fig 9 6 shows the status that PC and PLC are connected by Enet In this case XG PD can connect all PCs on network without using RS 232C Local connection is not needed remot...

Страница 78: ...ection without using RS 232C Select Enet 2 Connection stage a Decide remote 1 or remote 2 for the connection with PLC In this case select remote 1 3 IP address a 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 ...

Страница 79: ...nication Control 78 9 2 4 Direct remote 2 on Enet 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 Fig 9 8 Direct remote 2 from on PC ...

Страница 80: ...ted CPU type are not well matched a Program and Write each parameter b Program and Read each parameter c Monitor d Set Flash memory e Enable Link setting f I O information g Force I O h Skip I O 2 In case of programming by connecting XG PD 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 av...

Страница 81: ...or Off after network connection 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 All LEDs On after module powered on Module malfunction Repairs should be followed 1 Check communication speed Auto 10 100M TX Communication speed sh...

Страница 82: ...rk 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 When IP address of destination device is invalid communication is not available 5 Check driver setting When communication protocol is same as destination device on the right channel communication is av...

Страница 83: ...is caused by a reason unexpected under the scientific and technical standard when released from LS 6 If the defect is caused by a natural calamity or fire which LS is not responsible for 3 Since the warranty details above are to guarantee the PLC unit only the customers are strongly recommended to use the product after due consideration of safety for system configuration or product application Env...

Отзывы: