Home
BL20 - User manual programmable Gateway for EtherNet/IP
Contents
1. diia d xi Defining a new r Channels channel localhost via Tcp lp Ex Cancel pa Eee Name localhost via Tcp Ip_ E ateway Device Cancel Update Name eral H eral H driver Tcp lp L 35 Tcp lp level 2 driver evel Hioutel gt Select the preferred interface and set the parameters depending on the interface as follows 1 serial RS232 communication e xl Setting ti e Korm commun aton localhost via Tcp lp Seal RS232 par ameters for ocalhost via Tcp lp RS232 Remove Gateway Update Attention The Parameter Motorola byteorder must be set to YES Otherwise no error free communication with the gateway is possible Please observe that the communication with the PG is only possible with a baudrate of 115200 Baud when using the serial RS32 interface D301051 BL20 PG EN IP 1211 Configuration Programming of the PG in CoDeSys 2 TCP IP Level 2 communication Adapt the gateway s communication parameters IP address Motorola byteorder as shown in the following figure Figure 6 11 Communication Parameters x Setting the mm nicatior r Channels uni 1 r ur Edna E localhost via Tcp lp Topp Level 2 BLE7 pro parameters for localhost ber Tcp lp TCP IP Level 2 IP address or hostname 192 168 1 100 1200 i 128 Must match with runtime Motorol
2. Figure 6 21 CoDeSys BL20 PG EN IP Step2 pro PLC PRG PRG CFC Download of the Fie Edit Project Insert Extras Online Window Help la xl program PLC PRG PRG Online Change xi The program has changed Do you want to load the changes ONLINE CHANGE pods np No Cancel Load all BL20 Input Register 0 is Modbus Output Register 0 a BL20 4DO 24V WORD TO BYTE 8 InputRegister_0 OutputByte_0 QBO ONLINE OV READ Download the program to the gateway and start it with Online gt Run Figure 6 22 CoDeSys BL20 PG EN IP Step2 pro PLC PRG PRG CFC a lO x Starting the O File Edt Project Insert Extras Online Window Help la x program gm ees ru 2e 2 B js m e m 4 s f Bole njali C POUs Maru PLC PRG PRG FS Shift FB b Reset cold Reset original E 0 Toggle Breakpoint F9 ADD pul Breakpoint Dialog Hugo Step over Fig Step in FB Single Cycle Ctr FS BL20 Output Register 0 is Modbus Inpi Write Values Ctrl F7 BYTE_TO_WORD n Force Values F7 OutputRegister 0 Release Force Shift F7 HANI Write Force Dialog Ctrl Shift F7 FE 5 BL20 4D0 24VDC 0 5A P Display Flow Control 4 WORD TO BYTE z Simulation Made OutputByte_0 Communication Parameters QB0 Sourcecode download Create boot project X Write file to PLC of Read file from PLC Loading Tray Currogramim
3. eene teniente tte ttn tone tento rmac eate sek orar rones 4 6 3 6 3 6 1 3 6 2 3 6 3 3 6 4 3 6 5 3 6 6 3 6 7 3 6 8 3 7 3 8 3 8 1 4 1 4 1 1 4 1 2 4 1 3 4 2 4 2 1 4 2 2 4 2 3 4 2 4 4 2 5 4 2 6 4 2 7 4 2 8 4 3 5 1 5 1 1 5 2 5 2 1 5 3 5 4 5 4 1 5 5 5 5 1 5 5 2 5 5 3 5 6 5 6 1 5 6 2 5 7 Address Settings sesaosan oser Eee ee r eE AOO s EOT OSES SOE SE EDO SOO E EC OESO OE OE EEOSE SOE Sst LED DOH AVION eys a Default setting of the gateway Address setting via the rotary mode Address setting via BootP mode d Address setting via DHCP mode eterne nnt conan tento ttt iii titt no RRA RRA RARA nostis notet nonni Address setting Via PGM miode csiscsisssteascassetescatsicacsatenscctscdeissdasaiacvacacoscssitebaneanashsondeonaedsbaleieltasedesudoopidesatssovneshauibadsebbndaetasisvesc Addressing via PGM DHEP c Address setting via l O ASSISTANT 3 FDT DTM sssssssccsssscsssccsssccsseccssccessccensccsucessnecessecssseessseessscstcssuessnecesnecessecesseeensestes 4 13 SNETT a o A e E E E A E E E E 4 16 Status Indicators Diagnostic Messages Gateway mcomommmmsmsmssmssmsssm 4 17 Diagnostic Messages via LEDs uu csssssssesssesssesseesscsssessesssessessessscsssssssssssssessessscsssssssssessseessesssesssesssssssesssssssesssesssessesssessneess 4 17 Implementation of Ethe
4. J 2 6 2 Installation of the BL20 target files eee eene eee eerte eene esee esee eee s sonos esee eese eee eas s sese sese esee ee enono 3 6 2 1 MAMAO m caret wee awed bd evced ride ici ii 3 6 3 BL20 Hardware Configuration essceesccccccccccccececcccccocccccccccccccccoccoecceccccccoccocceccccccccocccececccsscseccccocceeesoe 5 6 4 Configuration Programming of the PG in CoDeSys 4e eese eee eene e eese teen nnns eese stet eaae een oso se eaae 6 6 4 1 Creating a new project cceeeeeccceceecce cece eee ee tena iaaa anaa raaa Ea aa EAr arn Aa iaaa a Ra banaan anhaa annaia ieaie 6 Communication parameters of the target sssssssssssssseseseeeeeneeeeeneenenn nne nnns 7 6 5 Configuration of the BL20 Station eee ee ee eee eee eee eee eese esses esee eese eese eese sees osse esses osse osse osse sssose 10 6 5 1 Parameterization of the VO Modules seseina iaaa RNa NARAKA ANERER 11 6 5 2 Addressing the in and output data iia NR ERE 11 6 5 3 Mapping of the EtherNet IP In and Output WordWS occccccccccccnnnnnnoncoonnnnccnnnnnncnnnnnnnnnnnnncnnnnnnnnnnnnnnnnnns 13 6 6 Programming of the BL20 PG XXX 4444 eee eee e eene eese ee een snas ases esee e eee en nosse sese esee eese esso sess esee eese ee enoo 15 6 6 1 eiu e Sac cok cs cet oe aecasedsetete asl 16 6 6 2 Cr
5. Figure 6 17 EtherNet IP Mapping of in PC or PLC BL20 PG EN IP and output words AE CoDeSys Input data Input data Instance 101 Output data Output data Instance 102 Add the necessary in and output words to the PG configuration under Configuration BL20 PG EN IP Ethernet IP Words SLOT The in and output addresses are automatically assigned to the in and output words Figure 6 18 CoDeSys BL20 PG EN_ IP Step2 pro PLC_PRG PRG CFC E 10 x Configur ation of File Edit Project Insert Extras Online Window Help i81 xl EtherNet IP in aleja ao aaa ele and output words E Configuration BL20 PG EN IP a Resources amp i BL20 IO SLOT Base parameters Input Output User parameters E Global Variables library Standard lib 22 7 Max length of input data 1024 Byte Length of input data 7 Input Word Max length of output data 1024 Byte Length of output data AY Alarm configuration Bl AT 9413 Wo Max length of in output data 2048 Byte Length of in output i Library Manager Input Word Max number of modules 34 Number of modules 3 Output Word E Input Modules Selected Modules E PLC Browser Output Word Input Word Input Word PEE PLC Configuration E Output Modules Input Word Sampling Trace Output Word eo Target Settings Dutput Word 3 Task configuration Watch and Recipe M 22 Workspace ONLINE OV READ Therefore a symbolic address alloca
6. Industr A BL2O USER MANUAL PROGRAMMABLE GATEWAY FOR EtherNet IP All brand and product names are trademarks or registered trade marks of the owner concerned Edition 12 2011 Hans Turck GmbH Muelheim an der Ruhr All rights reserved including those of the translation No part of this manual may be reproduced in any form printed photocopy microfilm or any other process or processed duplicated or distributed by means of electronic systems without written permission of Hans Turck GmbH amp Co KG Muelheim an der Ruhr Subject to alterations without notice Industri A Before starting the installation Disconnect the power supply of the device Ensure that devices cannot be accidentally restarted Verify isolation from the supply Earth and short circuit Cover or enclose neighboring units that are live Follow the engineering instructions AWA of the device concerned Only suitably qualified personnel in accordance with EN 50 110 1 2 VDE 0 105 Part 100 may work on this device system Before installation and before touching the device ensure that you are free of electrostatic charge The functional earth FE must be connected to the protective earth PE or to the potential equa lization The system installer is responsible for implementing this connection Connecting cables and signal lines should be installed so that inductive or capacitive interfe rence do not impair the au
7. u 1 220 12 2212 2212 2212 22 212 22 12 2212 C rail PE 24 14 24 SBB BC SBC SBBC SBC SBB SBB C rails can be used for a common voltage supply when relay modules are planned To accomplish this the load voltage is connected to a Power Feeding module with the BL20 P4x SBBC base module with tension clamp or screw connection All the following relay modules are then supplied with power via the C rail Attention When relay modules are planned and the C rail is used for a common voltage supply a further power distribution module must be used for the potential isolation to the following modules The C rail can only again be used as a PE following potential isolation Figure 7 6 PF 2DO 2DI 2DO 2DI PF NO NC NO NC Using the C rail as protective earth E B E E BN and for the power supply with relay modules odule PE terminal pun iid US C rail PE Grail 24V DC 24 1424 jus 14 2414 2414 2414 24 SBBC SBC SBBC SBC SBB SBBC SBCS SBCS SBCS SBCS Cross connecting relay module roots is achieved by the use of jumpers The corresponding connection diagrams can be found in the manuals for the BL20 I O modules German D300716 English D300717 7 10 D301051 BL20 PG EN IP 1211 Plugging and Pulling Electronics Modules Industri A 7 2 5 Direct Wiring of Relay Modules As well asthe options mentioned above relay modules can be wired direct
8. Disconnected Administrator D301051 BL20 PG EN IP 1211 Deactivating adapting the firewall in Windows XP 10 3 Deactivating adapting the firewall in Windows XP If Windows XP is used as operating system problems with the system integrated firewall may occur in case of an access of outside sources to your computer or in case of tools like the I O ASSISTANT which are used for changing the IP address of the gateways In this case you can deactivate the system integrated Windows XP firewall completely or adapt it to your application E Deactivating the firewall Open the Windows Firewall dialog in the control panel of your PC and deactivate it as follows Figure 10 8 Windows Firewall Deactivating the s General Exceptions Advanced Windows firewall HCODUOCIE eS yence Windows Firewall is helping to protect your PC Windows Firewall helps protect your computer by preventing unauthorized users from gaining access to your computer through the Internet or a network Y O On recommended This setting blocks all outside sources from connecting to this computer with the exception of those selected on the Exceptions tab Select this when you connect to public networks in less secure locations such as airports You will not be notified when Windows Firewall blocks programs Selections on the Exceptions tab will be ignored Y Off not recommended Avoid using this setting Tuming off Windows
9. esee tenente netten ttn tts ntt ttt netto ntt no tttts netto ttt noit tts rotto Changing the IP address via l O ASSISTANT eese netten tenente nentes nont nont tonto tts ttt notti notis rotto tto notis nonni Deactivating adapting the firewall in Windows XP eere eeee eese nete nenne ent netn etn sts etos tosta stus etna tns 10 9 D301051 BL20 PG EN IP 1211 iii 10 11 Glossary Index D301051 BL20 PG EN IP 1211 Industri A 1 About this Manual 1 1 Documentation Concept ecce eese ee ee e eee eee eese eee eese aeos ose e eee eee eso OP o ee eese epo P e ee eee esas e esee eese sse Pe esee 2 1 2 Description of Symbols Used c eee eere eurer eene een een eee e ee eaae eee e eee e eee eee e e eese eese eese eese seu 3 1 3 OIL rip 4 1 3 1 Prescribed WS Mt M 4 1 3 2 Notes Concerning Planning Installation of this Product esee 4 1 4 List of Qn r 5 D301051 BL20 PG EN IP 1211 1 1 About this Manual 1 1 1 2 Documentation Concept This manual contains information about the programmable BL20 EtherNet IP gateway BL20 PG EN IP The following chapters contain a short BL20 system description a description of the field bus system Ethernet exact information about function and structure of the BL20 Ethernet gateways as well as al
10. Bit 9 x AT XQX4 2 BOOL Bit 10 BL20 PG EN IP AT XQX4 3 BOOL Bit 11 and ControlLogix AT XQX4 4 BOOL Bit 12 x AT XQX4 5 BOOL Bit 13 x AT 0X4 6 BOOL Bit 14 x AT OX4 7 BOOL Bit 15 AT XQX5 0 BOOL Bit ONS z BL20 PG EN IP Data 2 0 E PG EN IP 4 5 6 EN IP Dal EN IP 1 HEIBEZEHHHHEHHEH 6 7 1 Configuration of the BL20 PG EN IP in RSLogix Note When configuring the Generic Ethernet Module BL20 PG EN IP as a new module in RSLogix its connection parameters have to be set as follows see Figure 6 27 Figure 6 27 M i New Module Configuration of BL67 PG EN IP Type ETHERNET MODULE Generic Ethemet Module Vendor Allen Bradley Parent Ethemet BL 20 Name BL20 Tuck 20 Connection Parameters Assembly Description BL20 PG ENHIP Instance Input Output Comm Format iP E ES cus Address Host Name P Address 192 168 001 50 C HostName Configuration M Open Module Properties D301051 BL20 PG EN IP 1211 6 19 Configuration of the BL20 PG EN IP with CoDeSys 6 20 D301051 BL20 PG EN IP 1211 Industri A 7 Guidelines for Station Planning 7 1 Random Module Arrangement cccccccccccccscsssccsscccccccscccccscccsscccsssccsccsssssscsssccssccccscccscccescccccccsccececs 2 7 1 1 Complete Pleamnin Ga ccees teeta I 2 7 1 2
11. 3 654 654 Adr x 10 Adr x 1 000 1 254 300 400 500 600 192 168 1 254 Static rotary BootP DHCP PGM PGM DHCP D301051 BL20 PG EN IP 1211 Address Setting Industri A Note The IP address as well as the default subnet mask assigned to the gateway by the BootP server are stored in the gateway s non volatile memory If the gateway is subsequently switched to rotary or PGM mode the settings carried out via BootP IP address subnet mask etc will be taken from the module s EEPROM 4 6 5 Address setting via DHCP mode The address setting is carried out by a DHCP server in the network after the start up of the gateway In order to activate the DHCP mode the rotary coding switches have to be set to 400 Figure 4 10 Adr x 100 DHCP Modus 9 0 4 8 2 6g 4 Set 9 0 9 0 4 2 8 2 654 654 Adr x 10 Adr x 1 000 192 168 1 254 1 254 Static rotary 300 BootP 400 DHCP 500 PGM 600 PGM DHCP Note i The IP address as well as the default subnet mask assigned to the gateway by the DHCP server are stored in the gateway s non volatile memory If the gateway is subsequently switched to rotary or PGM mode the settings carried out via DHCP IP address subnet mask etc will be taken from the module s EEPROM DHCP supports three mechanisms for IP address allocation E n automatic allocation the DHCP server assigns a permanent IP address to a client E In d
12. Advanced Windows Firewall is blocking i programs and services selectd to work better but might increg To allow communications with a program by adding it to the Exceptions list Programs and Services select the program or click Browse to search for one that is not listed Name Programs BOOTP DHCP Server Intemet Reversi O File and Printer Sharing amp Intemet Spades O Launch nywhere GUI Ei Intervideo WinDVD LeechFTP intervideo WinDVD 4 Remote Assistance C Remote Desktop Me lifariview 3 80 L1UPnP Framework di iTunes ava Web Stat 449 Keil uVision2 Keyboard Customizer Utility LeechFTP Add Program Path C Program Files Turck Software IOassistant l Display a notification wher Note Despite an active firewall the l O ASSISTANT for example is now able to browse the network for hosts and the address changing via the software is possible for the connected nodes 10 10 D301051 BL20 PG EN IP 1211 Industri A 11 Glossary A Acknowledge Acknowledgment of a signal received Active metal component Conductor or conducting component that is electrically live during operation Address Identification number of e g a memory position a system or a module within a network Addressing Allocation or setting of an address e g for a module in a network ARP Used to definitely allocate the hardware addresses MAC IDs assigned worldwide to the IP addre
13. dentity Object sse 5 5 Message Router Object sss 5 7 lt Por ODJECE ias tro erento nie ois 5 14 TCP IP Interface Object sse 5 15 VSC Vendor Specific Classes sssssss 5 22 CODESYS 6 2 5 BI 20 target 1er terere terii dies 6 2 boot Project 2 2 2 d tide det d decides date 6 17 communication parameters sese 6 7 Motorola nia eda 6 8 6 9 programming nter tete ein aniraa asai 6 6 RS232 communication sse 6 8 target installation eene 6 3 TCP IP Level nssr 6 8 communications profile sss 5 2 COS I O connection simian raan eaa 5 3 C rail cross connection seen 7 9 Cyclic I O connection eene 5 3 D DUET ET 9 1 E earth free operation essere 8 5 electromagnetic compatibility ss 8 5 electronics modules sse 2 4 electrostatic discharge esee 8 8 d a 8 5 emp Y O 5 dote a 7 2 end Bracket siii ia 2 7 end plate 3 3 tone pe iria deen 2 6 ESD electrostatic discharge sss 8 8 A e db Dart DAT tame ee 3 4 IP addiess 5c exta eee nan 3 4 i A E AE 3 4 manufacturer identifier sss 3 4 netmask sse 3 4 network classes nire 3 4 mdp 3 4 explicit messages ees
14. 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT G UINT 1 INSTANCE 3 0x03 NUMBER OF G UINT 1 INSTANCES 6 0x06 MAX CLASS G UINT 7 IDENTIFIER 7 0x07 MAX G UINT 6 INSTANCE ATTRIBUTE Instance Attributes Table 5 31 Attr No Attribute Get Set Type Description Instance attri Name butes 1 0x01 INTERFACE G UDINT Speed in megabits per second SPEED e g 10 100 1000 etc 2 0x02 INTERFACE G DWORD see Table 5 32 Interface flags FLAGS 3 0x03 PHYSICAL G ARRAYOF Contains the interface s MAC address ADDRESS USINTs TURCK 00 07 46 x xx xx 5 20 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A Table 5 32 Bits Name Definition Default Value Interface flags 0 Link Status Indicates whether or not the Ethernet 802 3 Depends on communications interface is connected toan application active network 0 inactive link 1 active link 1 Half Full 0 half duplex Depends on Duplex 1 full duplex application If the Link Status flag is O the value of the Half Full Duplex flag is indeterminate 2to4 Negotiation Indicates the status of link Depends on Status auto negotiations application 0 Auto negotiation in progress 1 Auto negotiation and speed detection failed Using default values for speed and duplex 10Mbps half duplex 2 Auto negotiation failed but detected speed default half duplex 3 Successfully negotiated speed and duplex 4 Auto negotiati
15. F xxx PW3 PACTware File Edit View Project Device Extras Window Help Des d c m 2 00 Ba Y Ba Q Load from device n Store to device Parameter Measured value simulation Diagnostics Display channels Channels Up Download Manager Print Additional Functions XO Add device E Delete device Properties lt TCP IP gt BL Service Ethernet E EJ w xxx PW3 Administrat Scan list Identification About Busaddress management HIMA Export Accessory Preset DTM TAG address tag DTM maintenance gt Write device data to file Bojeje3 exiaq d D301051 BL20 PG EN IP 1211 Changing the IP address of a PC network interface card The network is browsed by using the search function in the Address Tool Figure 10 6 Search function in the Address Tool amp F 0x PW3 PACTware TCP IP Busaddress management File Edit View Project Device Extras Window Help ines e m 00 Bla 9 23 Boje3e a i aq B P Bw IP IPT 3 n Busaddress management Online available devices IndustrialNet 192 168 1 15 255 255 255 0 E Device type Online ID Ethemet address Planned devices Device type Online ID_ Busaddress Designation Tag Device short name 1G Data set jet it je t DP fx JO xoc PWS Administrator Attention AN If Windows XP is used as operating system problems with the syste
16. IL LD FDB SFC ST Application tasks 1 No of POUs Program Organization Unit 1024 Programming interfaces RS232 interface Ethernet Processor RISC 32 bit Cycle time lt 1 ms for 1000 IL commands without I O cycle 4 4 D301051 BL20 PG EN IP 1211 Technical Data Industri A Memory Program memory 512 KByte Data memory 512 KByte Input data 4 KByte physical input data and network variables Output data 4 KByte physical output data and network variables Non volatile memory 16 KByte Danger A This device can cause radio disturbances in residential areas and in small industrial areas residential business and trading In this case the operator can be required to take appropriate measures to suppress the disturbance at his own cost D301051 BL20 PG EN IP 1211 4 5 Technical Features 4 5 Connection possibilities 4 5 1 Field bus connection Ethernet connection The connection to Ethernet is realized via female RJA5 connector Figure 4 3 female RJ45 connector mm 5 Snc 87654321 7 nc ri 2 TX 3 4 5 2 Power Supply via terminal block with screw connection The power supply is realized via terminal block with screw connection technology Table 4 2 Signal Description Pin assignment the terminal Usys System supply Gateway module blocks AA bus Usys U Field supply max 10 A
17. 1211 5 9 Implementation of EtherNet IP Table 5 11 Status Code Status Name Description General Status hex Codes according to CIP spec Status Code StatusName Description hex 16 Object does not The object specified does not exist in the device exist 17 Service The fragmentation sequence for this service is not currently active fragmentation for this data sequence not in progress 18 No stored The attribute data ofthis object was not saved priorto the requested attribute data service 19 Store operation The attribute data of this object was not saved due to a failure during failure the attempt 1A Routing failure The service request packet was too large for transmission on a request packet network in the path to the destination The routing device was too large forced to abort the service 1B Routing failure The service response packet was too large for transmission on a response packet network in the path from the destination The routing device was too large forced to abort the service 1C Missing The service did not supply an attribute in a list of attributes that was attribute list needed by the service to perform the requested behavior entry data 1D Invalid attribute The service is returning the list of attributes supplied with status value list information for those attributes that were invalid 1E Embedded An embedded service resulted in an error service error 1F V
18. Attribute Get Set Type Value Class attributes Name 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT G UINT 1 INSTANCE 3 0x03 NUMBER OF G UINT 1 INSTANCES 8 0x08 ENTRY PORT G UINT 1 9 0x09 ALL PORTS G ARRAY 0 0 for class of 4 2 for TCP IP PORT STRUCT UINT UINT Instance Attributes Table 5 22 Attr No Attribute Get Type Description Instance attri Name Set butes 1 0x01 ATTRIBUTE G UINT 4 for TCP IP PORT PORT TYPE 2 0x02 ATTRIBUTE G UINT 2 PORT NUMBER 3 0x03 ATTRIBUTE G UINT 2 PORT OBJECT EPATH 0x12 0x02 Logical 0x00 0x00 path Common Services Table 5 23 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 OxOE yes yes Get Attribute Single 5 14 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway 5 2 7 TCP IP Interface Object Industri A The following description of the TCP IP Interface Object is taken from the CIP specification Vol 2 Rev 1 1 and adapted to BL20 Class Attributes Table 5 24 Attr No Attribute Get Set Type Value Class attributes Name 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT G UINT 1 INSTANCE 3 0x03 NUMBER OF G UINT 1 INSTANCES 6 0x06 MAX CLASS G UINT 7 IDENTIFIER 7 0x07 MAX G UINT 6 INSTANCE ATTRIBUTE D301051 BL20 PG EN IP 1211 Implementation of EtherNet IP Instance Attributes Table 5 25 Attr No A
19. Bus Refreshing Analog inputs PT Ni 126 BL20 2AI PT NI 2 3 63C modules Analog inputs Thermocouple 126 BL20 2AI THERMO PI 63C Analog outputs current 126 BL20 2A0 1 0 4 20MA 63C Analog inputs voltage 126 BL20 2A0 U 10 0 10VDC 63C Counter 31 BL20 1CNT 24VDC 31A RS232 31 BL20 1RS232 31A RS485 422 31 BL20 1RS485 422 31A SSI 31 BL20 1SSI 31A Further limitations can be placed on the maximum possible number of BL20 modules by the use of the Power Feeding modules BL20 PF 24VDC D or BL20 PF 120 230VAC D these being used either for creating potential groups or by insufficient field supply Attention Ensure that a sufficient number of Power Feeding or Bus Refreshing modules are used if the system is extended to its maximum A n If the system limits are exceeded the software I O ASSISTANT generates an error message when the user activates the Station gt Verify command D301051 BL20 PG EN IP 1211 7 3 Guidelines for Station Planning 7 2 7 2 1 7 4 Power Supply Module Bus Refreshing The number of BL20 modules that can be supplied by the gateway or a separate Bus Refreshing module via the internal module bus depends on the respective nominal current consumption of the individual modules on the module bus Attention AN The sum total of the nominal current consumption of the connected BL20 modules must not exceed 1 5 A The following examples show the calculation for the required number of
20. DHCP server then updates the DNS records on behalf ofthe client The host name attribute does not need to be set for the device to operate normally The value of the Host Name attribute if it is configured D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway is used for the value of the FQDN option in the DHCP request If the Host Name attribute has not been configured then the device shall not include the FODN option in the DHCP request Figure 5 1 TCP IP object Non existent state diagram acc to CIP Spec Vol 2 Rev 1 1 Biss l Powerup Reset 0x00000000 Obtaining initial configuration BOOTP DHCP disabled and BOOTP OR stored config valid DHCP enabled Waiting for configuration Applying configuration Set_Attributes request received BOOTP DHCP response received Status 0x00000000 l Configuration applied TCP IP network Change interface x d interface configured configuration Status 0x00000001 D301051 BL20 PG EN IP 1211 BOOTP DHCP disabled and stored config valid 5 19 Implementation of EtherNet IP 5 2 8 Ethernet Link Object The following description of the Ethernet Link Object is taken from the CIP specification Vol 2 Rev 1 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Class Attributes Table 5 30 Attr No Attribute Get Set Type Value Class attributes Name 1
21. Eoads 22 tnr derer e retire ae 8 8 5 2 Protection against Electrostatic Discharge ESD sseeneneennnnn 8 D301051 BL20 PG EN IP 1211 8 1 Guidelines for Electrical Installation 8 1 8 1 1 8 1 2 8 1 3 8 2 General Notes General Cables should be grouped together for example signal cables data cables heavy current cables power supply cables Heavy current cables and signal or data cables should always be routed in separate cable ducts or bundles Signal and data cables must always be routed as close as possible to ground potential surfaces for example support bars cabinet sides etc Cable Routing Correct cable routing prevents or suppresses the reciprocal influencing of parallel routed cables Cable Routing Inside and Outside of Cabinets To ensure EMC compatible cable routing the cables should be grouped as follows Various types of cables within the groups can be routed together in bundles or in cable ducts Group 1 shielded bus and data cables shielded analog cables unshielded cables for DC voltage lt 60 V unshielded cables for AC voltage lt 25 V Group 2 unshielded cables for DC voltage 60 V and x 400 V unshielded cables for AC voltage gt 25 V and lt 400 V Group 3 unshielded cables for DC and AC voltages gt 400 V The following group combination can be routed only in separate bundles or separate cable ducts no minimum distance apart
22. Group 1 Group 2 The group combinations Group 1 Group 3 and Group 2 Group 3 must be routed in separate cable ducts with a minimum distance of 10 cm apart This is equally valid for inside buildings as well as for inside and outside of switchgear cabinets Cable Routing Outside Buildings Outside of buildings cables should be routed in closed where possible cage type cable ducts made of metal The cable duct joints must be electrically connected and the cable ducts must be earthed Danger A Observe all valid guidelines concerning internal and external lightning protection and grounding specifications when routing cables outside of buildings D301051 BL20 PG EN IP 1211 General Notes Industri A 8 1 4 Lightning Protection The cables must be routed in double grounded metal piping or in reinforced concrete cable ducts Signal cables must be protected against overvoltage by varistors or inert gas filled overvoltage arrestors Varistors and overvoltage arrestors must be installed at the point where the cables enter the building 8 1 5 Transmission Media For a communication via Ethernet different transmission media can be used E coaxial cable 10Base2 thin koax 10Base5 thick koax yellow cable optical fibre 10BaseF twisted two wire cable 10BaseT with shielding STP or without shielding UTP Note H TURCK offers a variety of cable types for fieldbus lines as premoulded or bulk cables with differen
23. IP 1211 1 5 About this Manual 1 6 D301051 BL20 PG EN IP 1211 Industri A 2 BL20 Philosophy 2 1 The Basic Concept X 2 2 1 1 ile ct 2 2 1 2 Convenient Handing RE 2 2 2 BL20 Components eesseccccccccccccceccccccccccccseccceccccseccsecoceccccscccsecssecoccseccsecscececesccssecesesccoseccsecsceseceseossese 3 2 2 1 GALC WAYS E A A Ann A AAA ia iia 3 2 2 2 Power Distribution Modules cccceceessseceeesenenseceeserseensecenseceeeuseseeeeeesaaeceeseceeeageceesensuseeeesensegaseceseets 3 2 2 3 Electronics Modules nri icon iaa pee VPE Pa seu R E Te sv Qa FORD EAE TR RUE 4 2 2 4 Base Modules sitios aiii dette te uie des Doria da rade Ex oe dada 5 2 2 5 BL20 ECO OM iy series ee oec a Ete tee proin E n e cbe cpa ace oae edades 6 2 2 6 End B nd I A RTT OT Zo o o anarai 6 2 2 7 End Bracket iret tct a era aav E FE s Dra RARE Pas eR EV PESE ERR Tee ce e es EUR E Pas RE Un va RR rena exa PEINE 7 2 2 8 A EDD DLL ILLE LEN 7 2 2 9 Marking Materl al cir EE rU E Pen tete eee an eise ces cm OR LESE ERE EE KU ee vase RR E EHE 8 2 2 10 Shield Connection 2 Pole for Analog Modules oooooconcccccccncccnccccconnnnnancnnncnncnnnnnncnrnnnnnnnn nennen nnne nnn 8 D301051 BL20 PG EN IP 1211 1 2 1 2 1 1 2 1 2 The Basic Concept BL20 is a modular IP20 I O system for use in industrial automation It connects the sens
24. Maximum System EXEenslon iuueni lili EE a d Eee scent bene 2 7 2 Power Supply 4 7 2 1 Module Bus Refreshihg ascii ana ir 4 7 2 2 Creating Potential Groups e M 7 7 2 3 Protecting the Service Interface on the Gateway ocoononccccnnncoccncnnnnonnnonnnnnnrnnonnnnnn nn nn nnnnnn rra nnne nnns 8 7 2 4 C Rail Cross Connection isisisi isinsin anaa aaea aa Di ra aaia aS a aiaiai AEN aa Sanai 9 7 2 5 Direct Wiring of Relay Modules esseseeseeesseseeeseeeeeeenene nennen nnne trennen nennen nnne nennen nnns 11 7 3 Plugging and Pulling Electronics Modules ee eere eee ee e eene ee eee e enn senes esset saos osse sese eee enoo 11 7 4 Extending an Existing Station eee eee Leere Lees eene eee sees ette enn nose eese eese ee nass s esee eese essen osos osse sese eee enoo 11 7 5 ilc jin 11 D301051 BL20 PG EN IP 1211 7 1 Guidelines for Station Planning 7 1 Random Module Arrangement The arrangement of the I O modules within a BL20 station can basically be chosen at will Nevertheless it can be useful with some applications to group certain modules together Attention A Please observe that RFID modules used within a station always have to be mounted directly following the gateway slot 1 to 34 Note The mixed usage of base modules with screw connections and base modules with t
25. See verse T aso Simula Create ojec Write file to PLC Read file from PLC Loa 4 s V2 3 LibraryiStandard lib ONLINE OV READ D301051 BL20 PG EN IP 1211 6 17 Configuration of the BL20 PG EN IP with CoDeSys 6 7 EtherNet IP communication between PG and superordinate PLC Thefollowing pictures show an example for the data image correlation between the BL20 PG EN IP and a superordinate PLC ControlLogix by Allen Bradley with EtherNet IP scanner Figure 6 24 ixl Output word in J File Edit Project Insert Extras Online Window Help 181 xj CoDeSys SALE EJE ajaja a cals jd AOutput word 2 in i AT 4QX3 4 2 Resources AT XQX3 5 i AT 0X3 6 QX3 7 BL20 PG EN IP G3 library Standar i 38 Tools To Vord AY Alarm configur O AT QU2 WORD if Library Manag AT XQX4 0 BOOL EN Loa AT XQX4 1 BOOL Ej PLC Browser AT XQX4 2 BOOL IRE PLC Configura AT 0X4 3 BOOL A Sampling Trac AT XQX4 4 BOOL e Target Setting AT 0X4 5 BOOL BY Task configur AT XQX4 6 BOOL A Watch and Ri AT XQX4 7 BOOL 32 Workspace AT A BOOL ONLINE ov a Figure 6 25 9 ft RSLogix 5000 Test_BL20 PG_EN_1P_Y1_0 loj xj Inputs in the A File Edit View Search Logic Communications Tools Window Help 81 xl Controllogix stg a x espe euros a IS G
26. U 4 5 3 Service Interface Connection female PS 2 connector The service interface is used to connect the gateway to the project planning and diagnostic software l O ASSISTANT The service interface is designed as a 6 pole Mini DIN connection Two types of cables can be used to connect the service interface to a PC E special l O ASSISTANT connection cable from TURCK IDASSISTANT ADAPTERKABEL BL20 BL67 Ident no 6827133 Commercially available PS 2 cable with adapter cable SUB D PS 2 Connection with I O ASSISTANT Connection Cable Figure 4 4 BL20 gateway connected to PC via special cable 4 6 D301051 BL20 PG EN IP 1211 Connection possibilities Industri A The I O ASSISTANT cables have a PS 2 male connector connection for female connector on gateway and a SUB D female connector connection for male connector on PC Figure 4 5 PS 2 male connector on the connection cable 43 to the gateway dT top view N Figure 4 6 54321 9 pole SUB D rn female connector eee e on the cable for Y Eme y connecting to PC 9876 top view D301051 BL20 PG EN IP 1211 4 7 Technical Features 4 6 4 6 1 4 8 Address Setting The addressing of the BL20 EtherNet IP gateway can be realized via different modes E rotary mode manual addressing via rotary coding switches E PGM mode manual addressing via software BootP mode DHCP mode automatic addressing via BootP DHCP server at the
27. cables and devices Proper cable routing correct wiring Creation of a standard reference potential and grounding of all electrically operated devices Special EMC measures for special applications 8 3 2 Grounding of Inactive Metal Components All inactive metal components for example switchgear cabinets switchgear cabinet doors supporting bars mounting plates tophat rails etc must be connected to one another over a large surface area and with a low impedance grounding This guarantees a standardized reference potential area for all control elements and reduces the influence of coupled disturbances E Inthe areas of screw connections the painted anodized or isolated metal components must be freed of the isolating layer Protect the points of contact against rust E Connect all free moving groundable components cabinet doors separate mounting plates etc by using short bonding straps to large surface areas E Avoid the use of aluminum components as its quick oxidizing properties make it unsuitable for grounding Danger A The grounding must never including cases of error take on a dangerous touch potential For this reason always protect the ground potential with a protective cable 8 3 3 PE Connection A central connection must be established between ground and PE connection protective earth 8 3 4 Earth Free Operation Observe all relevant safety regulations when operating an earthfree system
28. data transfer possible modules RUN Off No program loaded into the STP gateway Green Application loaded to gateway program running Green flashing Application loaded to gateway PLC Start the gateway the PLC not yet started or stopped program Red PLC test during gateway start LINK Off No Ethernet link Check the Ethernet connection ACT Green Link 100 Mbit Green flashing Ethernet Traffic 100 Mbit Yellow Link 10 Mbit Yellow Ethernet Traffic 10 Mbit flashing MS Green Displays an active CIP Class 1 1 O connection Green flashing Gateway is ready for operation Red Gateway indicates error Red flashing DHCP BootP search of settings D301051 BL20 PG EN IP 1211 Technical Features 4 20 D301051 BL20 PG EN IP 1211 Industri A 5 Implementation of EtherNet IP 5 1 The EtherNet IP Communications Profile eee e eee eere eee eee eee eese esses sees esee esee sese sosses osse osse sssesoe 2 5 1 1 VO Ctr rcm tits 2 5 1 2 Explicit Messag8S etie eerie i E Leia EE ere esee E Re elec sul s beds te pase io EIE Ra dese 2 5 1 3 Communications Profile of the BL20 EtherNet IP Gateway eeeeeeeeeennenm nnn 2 e POINTE TOs DOMME et RR 2 MUNI CAST Mc HR 2 COSTO GONMECTION EE 3 SCC VO COMME iON svi e dic 3 aeu H MEM 3 Connected Expleit messaging eei t
29. fields Attention AN When installing please pay attention to the following the shield should be connected immediately when entering the system the shield connection to the shield rail should be of low impedance the stripped cable ends are to be kept as short as possible the cable shield is not to be used as a bonding conductor If the data cable is connected via a SUB D connector the shielding should never be connected via pin 1 but to the mass collar of the plug in connector The insulation of the shielded data cable should be stripped and connected to the shield rail when the system is not in operation The connection and securing of the shield should be made using metal shield clamps The shield clamps must enclose the shielding braid and in so doing create a large surface contact area The shield rail must have a low impedance for example fixing points of 10 to 20 cm apart and be connected to a reference potential area The cable shield should not be severed but routed further within the system for example to the switchgear cabinet right up to the interface connection Note i Should it not be possible to ground the shield on both sides due to switching arrangements or device specific reasons then itis possible to route the second cable shield side to the local reference potential via a capacitor short connection distances If necessary a varistor or resistor can be connected parallel to th
30. is now incompatible Bit 10 I O Communication Lost Error No communication on the I O module bus 109 STATUS G STRUCT Voltage errors 0x6D REGISTER 2 Bit 09 U too low System supply voltage too low 18 VDC Bit 08 U too high System supply voltage too high gt 30 VDC Bit 07 U too low Load voltage too low 18 VDC Bit 06 U too high Load voltage too high 30 VDC Bit 05 I too high Overload of the system voltage supply Bit 04 reserved Warnings Bit 03 I O Cfg Modified Warning Bit 02 reserved Bit 01 reserved Bit 00 I O Diags Active Warning At least one I O module sends active diagnosics D301051 BL20 PG EN IP 1211 5 23 Implementation of EtherNet IP Table 5 38 Attr No Attribute Get Type Description Object Instance 2 Name Set Gateway Instance 116 MODULEDIAG G ARRAY OF Contains diagnostic information for all 0x74 SUMMARY STRUCT modules ARRAY OF STRUCT USINT SLOT Indicates the slot number module position with diagnostic messages BYTE SLOT FLAGS Offers slot related information Bit 7 module missing Bit 6 false module plugged DWORD DIAG Contains the module diagnostic information Module diagnostic bits that are not used are indicated by a 0 5 24 D301051 BL20 PG EN IP 1211 Industri A 6 Configuration of the BL20 PG EN IP with CoDeSys 6 1 G n ral MM Un 2 6 1 1 SEITE T
31. least one I O connection in run mode 0111 At least one I O connection established all in idle mode All other settings reserved 8to15 reserved Default 0 Common Services Table 5 5 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All Returns a predefined listing of this objects attributes 05 0x05 no yes Reset Starts the Reset service for the device 14 OxOE yes yes Get Attribute Single Returns the contents of a specified attribute 16 0x10 no no Set Attribute Single Modifies a single attribute 5 6 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A 5 2 3 Message Router Object This object provides a messaging connection point through which a Client may address a service to any object class or instance residing in the physical device The following description of the Message Router Object is taken from the CIP specification Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Class Attributes Table 5 6 Attr No Attribute Name Get Type Value Class attributes Set 1 0x01 REVISION G UINT 1 4 0x04 OPTIONAL ATTRIBUTE NUMBER G UINT 0 5 0x05 OPTIONAL SERVICE NUMBER G UINT 0 6 0x06 MAX CLASS IDENTIFIER G UINT 7 7 0x07 MAX INSTANCE ATTRIBUTE G UINT 2 Instance Attributes Table 5 7 Attr No Attribute Get Type Description Inst
32. nnns 13 4 7 SET M 16 4 8 Status Indicators Diagnostic Messages Gateway eee eee eee eee een ones esae sees ee esas osos esee esee senno 17 4 8 1 Diagnostic Messages via LEDS iii torera tetra aina 17 D301051 BL20 PG EN IP 1211 4 1 Technical Features 4 1 General This chapter contains the general technical description of the BL20 gateway for Ethernet The following technical features are independent of the implemented protocol The chapter describes the technical data the connection possibilities the addressing of the gateway etc 4 2 Function This chapter contains the general technical description of the programmable BL20 gateway for EtherNet IP 4 3 Function The programmable BL20 gateways can be used as an autonomous PLC or as a de central PLC in a network interconnection for fast signal processing Note i The programmable BL20 gateway BL20 PG EN is designed as a Single Task System The gateway handles the entire process data traffic between the l O level and the PLC runtime system 4 3 1 Programming The gateways BL20 PG xxx are programmable according to IEC61131 3 using the software tool CoDeSys V2 3 from 3S Smart Software Solutions GmbH SC AN For programming the gateway the following programming languages according the standards can be used LD Ladder FDB Function Block Diagram IL Instruction List ST Structured
33. object class or instance residing in the physical device 04 Assembly The Assembly Object binds attributes of multiple objects which 0x04 allows data to or from each object to be sent or received over a single connection Assembly objects can be used to bind input data or output data The terms input and output are defined from the network s point of view An input will produce data on the network and an output will consume data from the network 06 Connection The Connection Manager Class allocates and manages the internal 0x06 Manager resources associated with both I O and Explicit Messaging Connections The specific instance generated by the Connection Manager Class is referred to as a Connection Instance or a Connection Object 15 Parameter Provides a known public interface to the device configuration OxOF Object data 244 Port Object Provides a standard way of describing a device s ports OxF4 245 TCP IP Contains the device TCP IP related configuration information OxF5 Interface Object 246 Ethernet Link Contains link specific counters and status information for an OxF6 Object Ethernet 802 3 communications interface 5 4 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A 5 2 2 Identity Object The following description of the Identity Object is taken from the CIP specification Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and a
34. of the default gateway The IP address is a 4 byte value which contains the address of the network to which the node is connected as well as the host address in the network The IP address of the BL20 PG EN IP gateway is predefined as follows IP address 192 168 1 xxx netmask 255 255 255 0 gateway 192 168 1 001 The netmask shows which part of the IP address defines the network as well as the network class and which part of the IP address defines the single node in the network In the example mentioned above the first 3 bytes of the IP address define the network They contain the subnet ID 192 168 1 The last byte of the IP address defines the node s address within the network Note i In order to build communication between a PC and an Ethernet module both have to be nodes on the same network If necessary the nodes network addresses have to be adapted one to another Please read chapter 10 Changing the IP address of a PC network interface card page 10 3 3 1 3 Network Classes The available networks are divided into the different network classes A B and C Table 3 1 Network classes Class Network addresses Bytes for Bytes for No of net host possible address address networks hosts A 1 XXxx XXx xxx 1 3 126 2 126 xxx xxx xxx B 128 0 xxx xxx 2 2 214 216 191 255 xxx xxx C 192 0 0 xxx 3 1 2 256 223 255 255 xxx 3 4 According to their predefined address 192 168 1 xxx BL20 gateways
35. on it is not permitted to make connections to further devices 7 2 2 Creating Potential Groups Bus Refreshing and Power Feeding modules can be used to create potential groups The potential isolation of potential groups to the left of the respective power distribution modules is provided by the base modules Attention AN Ensure that the correct base modules are planned for when using Bus Refreshing modules D301051 BL20 PG EN IP 1211 7 7 Guidelines for Station Planning Figure 7 2 2D NO Al 2DO 2DI PF 2DO Al 2DI NO Example for E Bi n creating potential groups EUM he 10 100 MBit TS U u E keil Field i supply Potential group 1 Potential group 2 et System supply Note E The system can be supplied with power independent of the potential group formation described above When using a digital input module for 120 230 V AC it should be ensured that a potential group is created in conjunction with the Power Feeding module BL20 PF 120 230VAC D Attention AN It is not permitted to use the modules with 24 V DC and 120 230 V AC field supply in a joint potential group 7 2 3 Protecting the Service Interface on the Gateway During operation the cover protecting the service interface and the hexadecimal rotary coding switches must remain closed due to EMC and ESD 7 8 D301051 BL20 PG EN IP 1211 Power Supply 7 2 4 C Rail Cross Connection The C ra
36. 01 te L Alnput word 2 in Rem Run Hd E Run Mode mm LH Path AB_ETHIP 1 192 168 1 100 Backpl E Controller OK RSLogix No Forces b g Words A Wi Battery Fault al H iier ee yx xor Software ee E F 1 0 Not Responding Redundancy m B fof Nravorites ERA mercante Al Controller Test Bi20 PG_ Scope B res B120 PG Ev Show Show All Controller Tags Name e Value Force Mas Controller Fault Handl Power Up Handler E Tasks E fa MainTask H BL20 PG EN IPC BL20 PG EN IP1 BL20_PG_EN_IP Data fount E da MainProgram BL20_PG_EN_IP I Data 0 9 Unscheduled Program BL20 PG EN IP LData T 20 E E Motion Groups BL20 PG EN IP Data 2 Ungrouped Axes G Trends E 3 Data Types CR User Defined El oa Strings Ep Predefined Module Defined E a I O Configuration 1756 Backplane 175 Es DeviceNet B 2 1756 ENET B Ess Ethernet B ErHERNE BJ 1756 ENE LLitti tit ti pal B Lx a 3 z E 6 18 D301051 BL20 PG EN IP 1211 EtherNet IP communication between PG and superordinate PLC Figure 6 26 B Output Word i test2 O AT 4QN2 WORD 22 Data image LL AT 0X4 0 BOOL Bit 8 correlation AT XQX4 1 BOOL
37. 901X0 15 IX1 7 961X1 15 961X2 7 901X2 15 IX3 7 901X3 15 961X4 7 961X4 15 IX5 7 961X5 15 IBO IB1 IB2 IB3 IB4 IB5 IB6 IB7 IB8 IB9 IB10 IB11 IWO IW1 IW2 IW3 IW4 IW5 IDO ID1 ID2 ee lt lt xi Target settings Configuration BL20 PG EN IP Target Platform Memory Layout General Network functionality Visualization Configuration Jv Configurable Download as file No address check Download symbol file Jv VAR_IN_GUT as reference Symbol config from INI file IV Initialize inputs IV PLC Browser Load bootproject automatically I Initialize zero V Trace gt SoftMotior v Online Change Cycle independent forcing F Retain forcing F Save Update unused I Os Default Cancel Pressing the OK button created a new CoDeSys project Attention A CoDeSys offers the possibility to control the processing of a project using the task management If no task configuration is defined the project must contain a program named PLC PRG The block PLC PRG is automatically generated and is cyclically called by the runtime system PLC PRGis always the main program in a Single Task program If PLC PRG is deleted or renamed the project must be controlled using a task configuration 6 6 D301051 BL20 PG EN IP 1211 Configuration Programming of the PG in CoDeSys Figure 6 7 CoDeSys U
38. A Please read this section carefully Safety aspects cannot be left to chance when dealing with electrical equipment This manual contains all necessary information about the prescibed use of the programmable TURCK gateway BL20 PG EN IP It has been specially conceived for personnel with the necessary qualifications 1 3 1 Prescribed Use Danger A The devices described in this manual must be used only in applications prescribed in this manual or in the respective technical descriptions and only with certified components and devices from third party manufacturers Appropriate transport storage deployment and mounting as well as careful operating and thorough maintenance guarantee the trouble free and safe operation of these devices 1 3 2 Notes Concerning Planning Installation of this Product Danger A All respective safety measures and accident protection guidelines must be considered carefully and without exception 1 4 D301051 BL20 PG EN IP 1211 List of Revisions Industri A 1 4 List of Revisions In comparison to the previous manual edition the following changes revisions have been made Table 1 1 Chapter Subject Description new changed List of revisions Chap 4 Address setting via I O ASSISTANT 3 FDT DTM X Chap 9 BL20 Approvals for Zone 2 Division 2 X separate manual D301255 Note The publication of this manual renders all previous editions invalid D301051 BL20 PG EN
39. Additional Array of USINT Additional status Status Response Data Array of octet Response data from request or additional error data if an error was indicated in General Status Table 5 11 Status Code Status Name Description General Status hex Codes according to CIP spec Table 5 12 00 Success Service successfully performed by the object specified Table 5 13 01 Connection A connection related service failed along the connection path failure Table 5 14 02 Resource Resources needed for the object to perform the requested service unavailable were unavailable Table 5 15 03 Invalid See Status Code 0x20 which is the preferred value to use for this parameter condition value Table 5 16 04 Path segment The path segment identifier or the segment syntax was not error understood by the processing node Path processing shall stop when a path segment error is encountered 5 8 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A Table 5 11 Status Code Status Name Description General Status hex Codes according to CIP spec 05 Path The path is referencing an object class instance or structure destination element that is not known or is not contained in the processing unknown node Path processing shall stop when a path destination unknown error is encountered 06 Partial transfer Only part of the expec
40. Bus Refreshing modules Example 1 The BL20 station consists of 20 BL20 1AI I 0 4 20MA modules The number of additional Bus Refreshing modules required is calculated as follows Gateway 430 mA 20 BL20 1AI I 0 4 20MA 20x41 mA 820 mA Total 1250 mA Maximum permissible current via module bus 1500 mA The calculation shows that no further Bus Refreshing module is required Example 2 The BL20 station comprises 15 BL20 1AI U 10 0 10VDC modules 10 BL20 2A0 U 10 0 10VDC modules 10 BL20 2DI 24VDC P modules and 5 BL20 2DO 24VDC 0 5A P modules The required number of Bus Refreshing modules is calculated as follows Gateway 430 mA 15 BL20 1AI U 10 0 10VDC 15x41 mA 615 mA 10 BL20 2AO U 10 10x43 mA 430 mA 0 10VDC 10 BL20 2DI 24VDC P 10x 28 mA 280 mA 5 BL20 2DO 24VDC 0 5A P 5x32mA 160 mA Total 1915 mA Maximum permissible current via module bus 1500 mA D301051 BL20 PG EN IP 1211 Power Supply Industri A The calculation shows that an additional further Bus Refreshing module is required at the latest following the last BL20 2AO module This Bus Refreshing module is sufficient to supply the remaining modules Note i The power requirements of the BL20 gateway is to be considered when calculating the required number of Bus Refreshing modules The following table offers an overview of the nominal current consumption of the individual BL20 modules on the module bus Table 7 2 Mod
41. D301051 BL20 PG EN IP 1211 8 5 Guidelines for Electrical Installation 8 3 5 Mounting Rails All mounting rails must be mounted onto the mounting plate with a low impedance over a large surface area and must be correctly earthed Figure 8 2 200 mm 7 87 inch Mounting options A 1535 i ie x S B Mounting rail CM ti lat ounting plate E A N N N N N N Mount the mounting rails over a large surface area and with a low impedance to the support system using screws or rivets Remove the isolating layer from all painted anodized or isolated metal components at the connection point Protect the connection point against corrosion for example with grease caution use only suitable grease 8 6 D301051 BL20 PG EN IP 1211 Shielding of cables Industri A 8 4 Shielding of cables Shielding is used to prevent interference from voltages and the radiation of interference fields by cables Therefore use only shielded cables with shielding braids made from good conducting materials copper or aluminum with a minimum degree of coverage of 80 The cable shield should always be connected to both sides of the respective reference potential if no exception is made for example such as high resistant symmetrical analog signal cables Only then can the cable shield attain the best results possible against electrical and magnetic fields A one sided shield connection merely achieves an isolation against electrical
42. Firewall may make this computer more vulnerable to viruses and intruders Windows Firewall is using your domain settings What else should know about Windows Firewall D301051 BL20 PG EN IP 1211 10 9 Appendix Adapting the firewall The firewall remains active the option Don t allow exceptions it deactivated Figure 10 9 Activating the Windows firewall General Exceptions Advanced Windows Firewall helping to prc Windows Firewall helps protect your computer by preventing unauthorized users from gaining access to your computer through the Internet or a network Y On recommended This setting blocks all outside sources from connecting to this computer with the exception of those selected on the Exceptions tab C Don t allow exceptions Select this when you connect to public networks in less secure locations such as airports You will not be notified when Windows Firewall blocks programs Selections on the Exceptions tab will be ignored Y Off not recommended Avoid using this setting Turning off Windows Firewall may make this computer more vulnerable to viruses and intruders Windows Firewall is using your domain settings What else should know about Windows Firewall E Inthe Exceptions tab add the programs or services for which you want to allow the access to your computer Figure 10 10 n ORE Windows Firewall Exceptions tab General Exceptions
43. P Communications Profile EtherNet IP is based on a connection oriented communication model This means that it is only possible to exchange data via specified connections assigned to the devices Communication between the nodes in the EtherNet IP network can be carried out either via I O Messages or Explicit Messages I O Messages I O Messages serve to exchange high priority process and application data over the network Communication between the slaves in the EtherNet IP network is carried out according to the Server Client Model which means a producing application transmits data to another or a number of consuming applications It is quite possible that information is passed to a number of Application Objects in a single device Explicit Messages Explicit Messages are used to transmit low priority configuration data general management data or diagnostic data between two specific devices This is a point to point connection in a Server Client System that requires a request from a client always to be confirmed by a response from the server Explicit messages whether connected or unconnected use the Message Router for detailed information read Abschnitt Message Router Request Response Formats page 5 8 Message Router Request Consists of a service code path size value a message router path and service data An EPATH is used in the message router path to indicate the target object Message Router Response Consists of a
44. Text SFC Sequential Function Chart 4 2 D301051 BL20 PG EN IP 1211 Technical Data 4 4 Technical Data Figure 4 1 BL20 PG EN A Aservice B interface c Bmodule bus LEDs CRUN STOP LEDs DSET button D Erotary coding switches FEthernet E GEthernet LEDs Hpower supply F G H 4 4 1 Gateway structure The BL20 gateway has the following structure Figure 4 2 Gateway struc Fieldbus Service Controller External RAM Module bus ture External interface Internal internal External RAM ROM flash WDG M i D301051 BL20 PG EN IP 1211 4 3 Technical Features Table 4 1 Supply voltage Technical data Ethernet gateway field supply U nominal value permissible range 24 VDC 18 to 30 VDC I max field current 10A System 24 VDC Us nominal value permissible range 24 VDC 18 to 30 VDC lys max 500 mA lug max 1 2A Supply of the module bus nodes Physical interfaces field bus transmission rate 10 100 MBit passive LWL can be connected current consumption max 100 mA field bus connection technology RJ45 female connector field bus shielding connection via Ethernet cable Isolation voltages Uns 500 V AC Ethernet service interface Uren 500 V DC Ethernet module bus Uys 1000 V DC U to U PLC data Programming Software CoDeSys V 2 3 Released for V 2 3 5 8 Programming languages IEC 61131 3
45. _Byte1_Bit12 AT IX26 4 BOOL Bit 12 _IN_WordO_Byte1_Bit1 3 AT IX26 5 BOOL Bit 13 N_Word0_Byte1_Bit1 4 AT IX26 6 BOOL Bit 14 IN Word0 Byte1 Bit 5 AT 9626 7 BOOL Bit 15 N_WordO_ByteO_Bitd AT IX27 0 BOOL Bit 0 _IN_Word0_ByteO_Bitt AT IX27 1 BOOL Bit 1 IN Word ByteD Bit2 AT IX27 2 BOOL Bit 2 N_WordO_ByteO_Bit3 AT 9627 3 BOOL Bit 3 D301051 BL20 PG EN IP 1211 Programming of the BL20 PG xxx 6 6 Programming of the BL20 PG xxx Programming is done in the POUs tab Figure 6 20 Di xj CoDeSys BL20 PG EN IP Step2 pro PLC PRG PRG CFC Programming In 3 File Edit Project Insert Extras Online Window Help lal x POUs tab SEC telea oz gt eelt pamja Blolo njal l 001 PROGRAM PLC PRG PLC_PRG PRG BL20 4DI 24VDC P 3 BL20 Output Register 0 is Modbus Inpi BYTE TO WORD InputByte OutputRegister 0 IB0 96 QW1 BL20 Input Register 0 is Modbus Output Register 0 BL20 4DO 24VDC 0 5A P InputRegister 0 OutputByte 0 6 QBO ONLINE OV READ After the completion of the program it is compiled using the Project gt Rebuild all command D301051 BL20 PG EN IP 1211 6 15 Configuration of the BL20 PG EN IP with CoDeSys 6 6 1 Online The connection to the gateway is established with Online gt Login
46. a byteorder Y es Remove Gateway Wr E Update Attention The Parameter Motorola byteorder must be set to YES Otherwise no error free communication with the gateway is possible Note When setting the IP address of the gateway please observe that it has to match the settings of you PC network interface card Otherwise no communication can be built up between PC and PG please read chapter 10 1 Network Configuration m D301051 BL20 PG EN IP 1211 6 9 Configuration of the BL20 PG EN IP with CoDeSys 6 5 Configuration of the BL20 Station Open the PLC Configuration in the Resources tab Figure 6 12 CoDeSys Untitled PLC Configuration EU PLC Configuration File Edit Project Insert Extras Online Window Help 181 xi asa aaa asada ali a Resources Settings Module parameters Global Variables library Standard lib 22 11 02 12 08 30 Automatic calculation of addresses REE PLC Co e Sampling Trace ae Target Settings m3 Task configuration A Watch and Recipe Manager 2 Workspace gt ONLINE Ov READ Mark the BL20 IO SLOT and add the I O modules to the gateway in the Input Output tab Figure 6 13 CoDeSys Untitled PLC Configuration Selecti ng the GEJ File Edit Project Insert Extras Online Window Help 81 x Es aco 1 Base parameters Input Output User parameters CJ Bibliothek Stan 4 Global Variable Max l
47. ad oa dae 1 3 12 1 Index T TCP Transmission Control Protocol 3 3 TCP IP HOSE cioe eese bee i voee cet 3 4 transport appropriate cooococonoccccnoccconancnnnannnnnanncnnannnnnnnos 1 4 U dI ai MM ecce 5 3 w MIN OOO i E ee dci a 10 3 WININE ii cto ate ebrei e ee ded 10 4 WINXP nid sedecim ia 10 3 Z ZONE n 9 1 12 2 D301051 BL20 PG EN IP 1211 Industrial Automation www turck com Hans Turck GmbH amp Co KG 45472 M lheim an der Ruhr Germany WitzlebenstraBe 7 Tel 49 0 208 4952 0 Fax 49 0 208 4952 264 E Mail more turck com Internet www turck com D301051 1211
48. also use CIP Note i For further infomation about CIP and EtherNet IP please contact also the user organization ODVA www odva org 3 2 D301051 BL20 PG EN IP 1211 System Description Industri A IP Internet Protocol The Internet Protocol is a connection free transport protocol Since the protocol does not use acknowledgement messages telegrams can get lost Therefore it is not suitable for safe data transfer The main functions of the internet protocol are the addressing of hosts and the fragmentation of data packages TCP Transmission Control Protocol The Transmission Control Protocol TCP is a connection oriented transport protocol and is based on the Internet Protocol A safe and error free data transport can be guaranteed by means of certain error diagnostic mechanisms For example the acknowledgement and time monitoring of telegrams UDP IP User Datagram Protocol UDP IP provides the fast efficient data transport necessary for real time data exchange To make EtherNet IP successful CIP has been added on top of TCP UDP IP to provide a common application layer Figure 3 1 EtherNet IP in Semi Pneu AC Position Other OSI 7 layer model Devices Valve Drives Controllers Profiles User Layer Application Object Library Application Application Layer Layer Explicit 1 0 Routing E EE 000070 Transport DeviceNet Co
49. ance attri Name Set butes 1 0x01 OBJECT LIST G STRUCTOF Structure with an array of object class codes supported by the device NUMBER G UINT Depending CLASSES G ARRAY of Number of the classes supported by the UINT gateway 2 0x02 MAXNUMBER G UINT Count of the maximum number of OF connections supported CONNECTIONS Common Services Table 5 8 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 0x0E yes yes Get Attribute Single D301051 BL20 PG EN IP 1211 5 7 Implementation of EtherNet IP Message Router Request Response Formats Message Router Request Format Table 5 9 Parameter Data Type Description Message Router Request Service USINT Service code of the request Request Path USINT Number of 16 bit words in the Request Path Size Request Path Padded EPATH Array of bytes containing the information for the path of request class ID Instance ID etc for this transaction Request Data X Array ofocted Additional service specific data to be delivered in the Explicit Messaging Request Message Router Response Format Table 5 10 Parameter Data Type Description Message Router Request Reply Service SINT Reply service code General Status USINT General Status Code according to CIP specification See Table 5 11 General Status Codes according to CIP spec Size of USINT Number of 16 bit words in Additional Status Additional Status
50. and further with the letters A B C D E and F Hysteresis A sensor can get caught up at a certain point and then waver at this position This condition results in the counter content fluctuating around a given value Should a reference value be within this fluctuating range then the relevant output would be turned on and off in rhythm with the fluctuating signal a 1 0 Input output Impedance Total effective resistance that a component or circuit has for an alternating current at a specific frequency D301051 BL20 PG EN IP 1211 11 3 Glossary Inactive metal components Conductive components that cannot be touched and are electrically isolated from active metal components by insulation but can adopt voltage in the event of a fault Inductive coupling Magnetic inductive couplings occur between two cables through which an electrical current is flowing The magnetic effect caused by the electrical currents induces an interference voltage Typical sources of interference are for example transformers motors parallel routed network and HF signal cables Intelligent modules Intelligent modules are modules with an internal memory able to transmit certain commands e g substitute values and others IP Abbreviation for Internet Protocol protocol for the packet oriented and connectionless transport of data packets from a transmitter to a receiver crossing different networks Lightning protection All measures taken to prot
51. ardware switches etc 1 to 3 reserved 4 DNS Enable Always O 5 31 Reserved Set to 0 Interface Configuration This attribute contains the configuration parameters required to operate as a TCP IP node To modify the Interface Configuration attribute get the Interface Configuration attribute first change the desired parameters then set the attribute The TCP IP Interface Object applies the new configuration upon completion of the Set service If the value of the Startup Configuration bits Configuration Control attribute is 0 the new configuration is stored in non volatile memory The device does not reply to the set service until the values are safely stored to non volatile memory An attempt to set any of the components of the Interface Configuration attribute to invalid values results in an error status code 0x09 returned from the Set service If initial configuration is obtained via BOOTP or DHCP the Interface Configuration attribute components are all zeros until the BOOTP or DHCP reply is received Upon receipt of the BOOTP or DHCP reply the Interface Configuration attribute shows the configuration obtained via BOOTP DHCP Host Name The Host Name attribute contains the device s host name The host name attribute is used when the device supports the DHCP DNS Update capability and has been configured to use DHCP upon start up The mechanism allows the DHCP client to transmit its host name to the DHCP server The
52. are nodes on a Class C network D301051 BL20 PG EN IP 1211 System Description Industri A 3 1 4 Checking the communication via ping signals You can check the communication between nodes in a network using ping signals in the DOS prompt of your PC For that purpose enter the command ping and the IP address of the network node to be checked If the node answers the ping signal it is ready for communication and takes part in the data transfer Figure 3 2 IS s C AWINDOWS system32 cmd exe n x ping signa Microsoft Windows XP Version 5 1 26061 c Copyright 1985 2661 Microsoft Corp B is not recognized as an internal or external command operable program or batch file IC gt ping 192 168 1 198 Pinging 192 168 1 180 TM BRUTA ate Reply from 192 168 1 108 byte 2 time ims TTL 60 2 time lt ims TTL 68 2 time lt ims TTL 68 Reply from 192 ETIN 1 1108 Bete 2 time ims TTL 68 Ping statistics for 192 168 1 166 Packets Sent 4 Received 4 Lost M loss Approximate round trip times in milli seconds Minimum ms Maximum ims Average Bms ERST D301051 BL20 PG EN IP 1211 3 5 EtherNet IP 3 1 5 ARP Address Resolution Protocol In each TCP IP capable computer ARP serves to clearly assign the worldwide unique hardware addresses MAC IDs to the single IP addresses of the network nodes via internal tables Using ARP in the DOS prompt every node in a network can be clearly iden
53. ate which part of the key check failed 26 Path Size Invalid The size ofthe path which was sent with the Service Request is either not large enough to allow the Request to be routed to an object or too much routing data was included 27 Unexpected An attempt was made to set an attribute that is not able to be set at attribute inlist this time 28 Invalid Member The Member ID specified in the request does not exist in the ID specified Class Instance Attribute 29 Member not A request to modify a non modifiable member was received settable 2A Group2only This error code may only be reported by DeviceNet Group 2 Only server general servers with 4K or less code space and only in place of Service not failure supported Attribute not supported and Attribute not settable 2B to CF Reserved by CIP for future extensions DO to FF Reserved for This range of error codes is to be used to indicate Object Class ObjectClassand specific errors Use of this range should only be performed when service errors none of the Error Codes presented in this table accurately reflect the error that was encountered D301051 BL20 PG EN IP 1211 5 11 Implementation of EtherNet IP 5 2 4 Assembly Object Assembly Objects bind attributes of multiple objects to allow data to or from each object to be sent or received over a single connection The following description of the Assembly Object is taken from the CIP specificatio
54. ateway sends the following diagnostic messages E undervoltage monitoring for system and field supply monitoring of the station status E monitoring of the communication via the internal module bus monitoring of the communication to Ethernet monitoring of the gateway status Diagnostic messages are displayed in two different ways E via the LEDs via the respective configuration software 4 8 1 Diagnostic Messages via LEDs Every BL20 gateway displays the following statuses via LEDs 2LEDsfor module bus communication module bus LEDs GW and IOs 1 LED for displaying if the gateway the program in the gateway has started RUN STP E 2LEDsforthe Ethernet communication fieldbus LEDs LINK ACT and MS D301051 BL20 PG EN IP 1211 4 17 Technical Features Table 4 3 LED displays LED Status Meaning Remedy GW Off CPU not supplied Green Firmware active gateway readyto operate and transmit Green Firmware not active If LED IOs red gt Firmware flashing 1 Hz download necessary Green Firmware active gateway hardware Replace the gateway flashing 4 Hz defect Red Controller is not ready VCC level is Check wiring at the gateway and not within the required range gt the voltage supply possible reasons Dismount modules too many modules connected to Replace the gateway the gateway short circuit in connected module hardware error in gateway 10s Off CPU not supplied Ch
55. boot up of the gateway The setting of the address modes is done via the 3 rotary coding switches at the gateway Note It is not necessary to address the station s internal module bus Attention A The cover of the decimal rotary coding switches must be closed by tightening the screw after use The seal in the cover must not be damaged or slipped The protection class IP67 can only be guaranteed when the cover is closed correctly LED behavior During it s start up the module waits for the address setting via the BootP server This is indicated by the red flashing MS LED The LED begins to flash green as soon as the address setting via the server is completed The station is ready for communication D301051 BL20 PG EN IP 1211 Address Setting Industri A 4 6 2 Default setting of the gateway The gateway s default settings are the following IP address 192 168 1 254 subnet mask 255 255 255 000 default gateway 192 168 1 001 Note i The gateway can be reset to these default settings by the user at any time To reset the gateway please set the three coding switches at the gateway to 000 followed by a power on reset Figure 4 7 0 9 1 Decimal rotary 2 coding switches x 100 for the address 6 4 3 setting 5 9 01 2 7 3 x10 675 4 901 8 2 3 7 3 675 4 000 192 168 1 254 1 254 static rotary 300 BootP 400 DHCP 500 PGM 600 PGM DHCP Attention After every change of
56. ccess and Defaults z CoDeSys ENI Server CoDeSys HMI N 3 accessories S3 cobesys SP PLCWinNT gt 3 Micro Innovation l a CoDeSys SP RTE CN Documents gt Startup NS 3 Y 1 CoDesys SoftMotion v2 3 amp uS is 2 Internet Explorer A Communication la CoDeSys UserManual V2 3 el es SA Outlook Express 35 Homepage CoDeSys V2 3 G 35 Licensing Manager la CoDeSys Visualization V2 3 a La D301051 BL20 PG EN IP 1211 6 3 Configuration of the BL20 PG EN IP with CoDeSys Search the target information file BL20 xxx tnf using the Open button and add the TURCK gateways to Possible Targets Figure 6 4 Select the target file E 35 Smart Software Solutions GmbH BL20 PG EN IP Cfg BL20 PG EN IP Lib BLxx Common Lib ls BL20 PG EN IP tnf x The BL20 target is installed using the Install button The BL20 PG EN IP can now be found under Installed Targets and can be chosen in CoDeSys as a target now Figure 6 5 EET C Documents and Settings testplatz Desktop BL6 7 PG EN Turck PLESEN JE Installation of the TURCK target BL20 PG ENIP Smart Software Solutions GmbH E InstallTarget C Documents and Settings testplatz Desktop BL67 PG EN Turck PLEsitnh Evene a L20 PG ENIP Smart Software Solutions GmbH 6 4 D301051 BL20 PG EN IP 1211 BL20 Hardware Configuration Industri A 6 3 BL20 Hardware Configuration 1 At first configure
57. ction Bl Client for Microsoft Networks v a File and Printer Sharing for Microsoft Networks V Y Internet Protocol TCP IP Install Uninstall Properties Description Transmission Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Show icon in taskbar when connected D301051 BL20 PG EN IP 1211 10 3 Appendix 3 Activate Use the following IP address and assign an IP address of the network mentioned above to the PC Network interface card see the following figure Figure 10 2 Changing the PC s IP address Internet Protocol TCP IP Prop General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings C Obtain an IP address automatically r Use the following IP address IP Address 192 168 1 5 Subnet Mask 255 255 255 0 Default Gateway 192 168 1 1 Obtain DNS server address automatically r C Use the following DNS server addresses Preferred DNS serve Altemate D 10 2 2 Changing the IP address in Windows NT 1 Open the folder Network in the Control Panel AL xl 2 Activate TCP IP connection in the tab Protocols and click the Properties button Figure 10 3 Network configura tion WIN NT 10 4 N
58. dapted to BL20 Class Attributes Table 5 2 Attr No Attribute Name Get Set Type Value Class attributes 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT INSTANCE G UINT 1 6 0x06 MAX CLASS ATTRIBUTE G UINT 7 7 0x07 MAX INSTANCE G UINT 7 ATTRIBUTE Instance Attributes Table 5 3 Attr No Attribute Get Type Description Instance attri Name Set butes 1 0x01 VENDOR G UINT Contains the vendor ID managed by the Open DeviceNet Vendor Association Inc ODVA and ControlNet International CI TURCK 48 2 0x02 PRODUCT G UINT Indicates the general type of product TYPE Communications Adapter 12 40 OXOC 3 0x03 PRODUCT G UINT Identifies a particular product within a device CODE type Default 27248 4 0x04 REVISION G STRUCT OF Revision of the item the Identity Object is USINTUSINT representing Major Minor 0x01 0x02 5 0x05 DEVICE G WORD See Table 5 4 Device Status STATUS 6 0x06 SERIAL G UDINT Contains the ident no of the product 3 last NUMBER bytes of the MAC ID 7 0x07 PRODUCT G STRUCT OF BL20 PG EN IP NAME USINT LENGTH STRING 13 NAME D301051 BL20 PG EN IP 1211 5 5 Implementation of EtherNet IP Device Status Table 5 4 Bit Name Definition Device Status Otol reserved Default 0 2 Configured TRUE The application of the device has been configured z default settings 3 reserved Default 0 4to7 Extended Device Status 0011 No I O connections established 0110 At
59. dditional Functions Compare offline Q Add device Compare online YX Delete device El Properties lt TCP IP gt BL Service Ethernet aran BE Identification About Busaddress management Browser HIMA Export Accessory Preset DTM TAG address tag DTM maintenance 35 o xoc PWS Administrat J Write device data to file Figure 4 14 Search for Network nodes in the y ASearchfunction E3 e c Lic Pt Online available devices A busaddress management 1 Busaddress management IndustrialNet 192 168 1 15 255 255 255 0 w Devicetype Online ID IPaddress Netmask n Gateway Ethemetaddiess Planned devices _ Device type Online ID_ Busaddress Designation Tag D301051 BL20 PG EN IP 1211 Address Setting The IP address as well as the subnet mask of the TURCK Ethernet gateways can be changed according to the application by using the integrated Busaddress Management function in the IO ASSISTANT 3 FDT DTM Note The access of the IO ASSISTANT to the gateway is only possible if the gateway is operated in PGM mode see also Address setting via PGM mode page 4 12 Attention When using Windows XP as operating system difficulties may occur with system integrated firewall It may inhibit the access of PACTware I O ASSISTANT V3 to the Ethernet network In this case please adapt your firewall respectively or deactivate it see also Deactivating adapting the
60. distribute or utilize electrical power e g conductors cable machines control devices EMC Electromagnetic compatibility the ability of an electrical part to operate in a specific environment without fault and without exerting a negative influence on its environment 11 2 D301051 BL20 PG EN IP 1211 Industri A EN German acronym for European Standard ESD Electrostatic Discharge F Field power supply Voltage supply for devices in the field as well as the signal voltage Fieldbus Data network on sensor actuator level A fieldbus connects the equipment on the field level Characteristics of a fieldbus are a high transmission security and real time behavior Force Mode Software mode which enables the user to set his plant to a required state by forcing certain variables on the input and output modules 6 GND Abbreviation of ground potential 0 Ground Expression used in electrical engineering to describe an area whose electrical potential is equal to zero at any given point In neutral grounding devices the potential is not necessarily zero and one speaks of the ground reference Ground connection One or more components that have a good and direct contact to earth Ground reference Potential of ground in a neutral grounding device Unlike earth whose potential is always zero it may have a potential other than zero H Hexadecimal System of representing numbers in base 16 with the digits 0 9
61. e 4 2A U 10 0 10VDC 0x43 0x41 0x70 0x55 0x23 Length output Byte O Symbolic names Iv channel K1 activate diagnostic release Bit 2 0 value representation integer 15bit sign Bit 1 0 voltage mode D 10V Bit 0 0 channel K2 activate Bit 3 0 diagnostic release Bit 2 0 value representation integer 15bit sign Bit 1 OF voltage mode 0 10 Bit 0 0 6 5 2 Addressing the in and output data In and output addresses as well as diagnostic addresses are automatically assigned to the gateway and the connected modules In addition to that the gateway automatically receives a module ID as a unique identifier of the node within the entire configuration and a node number shows the gateway s position in the configuration structure Note Theassignment ofthe in and output addresses is done automatically and cannot be changed by the user In case of configuration changes this assignment is also adapted automatically which may cause byte adjustments It is therefore recommended to add symbolic addresses to the logical address assignment of in and outputs and to use only these symbolic addresses in the PLC program see Figure 6 15 Hardware configuration with symbolic address allocation D301051 BL20 PG EN IP 1211 6 11 Configuration of the BL20 PG EN IP with CoDeSys Figure 6 15 EI Configuration BL20 PG EN IP Hardware con
62. e for example parallel routed signal cables contactors and electrostatic discharges Check back interface The check back interface is the interface from the counter module to the internal module bus The bits and bytes are converted by the gateway from the respective type of communication applicable to the fieldbus in to the module specific bits and bytes Coding elements Two piece element for the unambiguous assignment of electronic and base modules Configuration Systematic arrangement of the I O modules of a station Control interface The control interface is the interface from the internal module bus to the counter module The commands and signals directed to the counter module are converted by the gateway from the respective type of communication applicable to the fieldbus in to the module specific bits and bytes CPU Central Processing Unit Central unit for electronic data processing the processing core of the PC D DHCP Client Server protocol which reduces the effort of assigning IP addresses or other parameters Serves for dynamic and automatic configuration of devices Digital A value e g a voltage which can adopt only certain statuses within a finite set mostly defined as 0 and 1 DIN German acronym for German Industrial Standard E EIA Electronic Industries Association association of electrical companies in the United States Electrical components All objects that produce convert transmit
63. e 5 2 D301051 BL20 PG EN IP 1211 F firmware download sse 7 11 flexibility itr ERE reet tee tied Gated a 2 2 G gateway Addressing 5 etr tete rra o 4 8 BOOTP mode tt en bt qnn 4 10 DHCP mode sse 4 11 cuve 4 12 rotary mode E E tree 4 9 dai ge TEE 4 3 technical data sse 4 3 PLUS LULA 2 3 I VO messages d iet t tia ER ERR ARES 5 2 inductive loads protective circuit sssss 8 8 IP Internet Protocol eeeeneernnnnne 3 3 lera 3 4 SPC U 10 3 J J hnjedgcm m 2 7 L labels e EE 2 8 M O O lease a ege edge 2 8 MOUNTING rail 5 2 Linee reti e fex re riae 8 6 P PE COMM CHON M 8 5 pin assignment power SUPDIY iecore ia tits 4 6 plarining vecinas iaa 7 2 potential groups ett et ene etna tee dna 7 7 potential relationships sse 8 4 potential compensation cable sssssss 8 8 power distribution essen 2 3 power supply tania id 7 4 prescribed use sse 1 4 protection class IP67 4 eec nentes 2 2 S Safety aspects 1i tacente drehen i adea 1 4 safety mieas res traia 1 4 service interface sss 4 6 SET D ttOn 3 ie toledo 6 5 shield connection analog modules sse 2 8 shielding nitrato nati 8 7 Symbols eat e
64. e capacitor to prevent disruptive discharges when interference pulses occur A further possibility is a double shielded cable galvanically separated whereby the innermost shield is connected on one side and the outermost shield is connected on both sides D301051 BL20 PG EN IP 1211 8 7 Guidelines for Electrical Installation 8 5 8 5 1 8 5 2 Potential Compensation Potential differences can occur between installation components that are in separate areas and these are fed by different supplies have double sided conductor shields which are grounded on different installation components A potential compensation cable must be routed to the potential compensation Danger A Never use the shield as a potential compensation A potential compensation cable must have the following characteristics Low impedance In the case of compensation cables that are routed on both sides the compensation line impedance must be considerably smaller than that of the shield connection max 10 of shield connection impedance Should the length of the compensation cable be less than 200 m then its cross section must be at least 16 mm 0 025 inch If the cable length is greater than 200 m then a cross section of at least 25 mm 0 039 inch is required The compensation cable must be made of copper or zinc coated steel The compensation cable must be connected to the protective conductor over a large surface area and m
65. eating a boot project recae il E Na dese VR VH ps Ee RESP SOR cameleon 17 6 7 EtherNet IP communication between PG and superordinate PLC eee eee eese eee eene ee eee nenne anne 18 6 7 1 Configuration of the BL20 PG EN IP in RSLOQiX ccccoooocccccnnoncccccnnnonnccnonnnnnncnnnnnnnnnnnnnnnnnncnnnnnnnnncnnnnnes 19 D301051 BL20 PG EN IP 1211 6 1 Configuration of the BL20 PG EN IP with CoDeSys 6 1 General This chapter describes the configuration of a BL20 station with the programmable BL20 gateway for Modbus TCP in CoDeSys Controller Development System from 3S Smart Software Solutions GmbH on the basis of an example 6 1 1 System requirements Installation of CoDeSys version 2 3 5 8 Installation of the BL20 target files TSP_Turck_xxx zip can be downloaded from www turck com Figure 6 1 CoDeSys The IEC 61131 3 Programming System Version 2 3 5 8 Build Dec 7 2005 9 Copyright 1994 2005 by 35 Smart Software Solutions GmbH 6 2 D301051 BL20 PG EN IP 1211 Installation of the BL20 target files 6 2 Installation of the BL20 target files Before configuring the BL20 station with CoDeSys and programming the BL20 PG EN IP the BL20 Target Support Package short targets have to be installed Target files contain all information necessary for integrating a system into the programming tool The Target Support Package TSP for the BL20 PG EN IP can be downloaded from the TURCK homepa
66. eck the voltage supply at the gateway Green Module bus is running the configured module bus station corresponds to the physically connected station communication is active Green Station is in the Deactivate the flashing 1 Hz l O ASSISTANT Force Mode 1 O ASSISTANT Force Mode Green Maximum number of modules at Check the number of modules flashing 4Hz the gateway is exceeded connected to the gateway dismount modules Red Controller is not ready Vcclevelis Check wiring at the gateway and not within the required range gt possible reasons too many modules connected to the gateway short circuit in connected module hardware error in gateway the voltage supply Dismount modules Replace the gateway D301051 BL20 PG EN IP 1211 Status Indicators Diagnostic Messages Gateway Industri A Table 4 3 LED Status Meaning Remedy LED displays lOs Red Non adaptable modification of the Compare the planned BL20 station flashing 1 Hz physically connected station with the physical station Check the physical station for defective or incorrectly fitted electronics modules Red no module bus communication At least one module has to be flashing 4 Hz plugged and has to be able to communicate with the gateway Red green Adaptable modification of the Check the physical station for flashing 1 Hz physically connected station pulled or new but not planned
67. ect a system from damage due to overvoltages caused by lightning strike Low impedance connection Connection with a low AC impedance LSB Least Significant bit Mass All interconnected inactive components that do not take on a dangerous touch potential in the case of a fault Master Station in a bus system that controls the communication between the other stations Module bus The module bus is the internal bus in a station The modules communicate with the gateway via the module bus which is independent of the fieldbus MSB Most Significant bit Ping Implementation of an echo protocol used for testing whether a particular host is operating properly and is reachable on the network from the testing host PLC Programmable Logic Controller Potential compensation The alignment of electrical levels of electrical components and external conductive components by means of an electrical connection D301051 BL20 PG EN IP 1211 Industri A Potential free Galvanic isolation of the reference potentials in I O modules of the control and load circuits Potential linked Electrical connection of the reference potentials in I O modules of the control and load circuits Protective earth Electrical conductor for protection against dangerous shock currents Generally represented by PE protective earth R Radiation coupling A radiation coupling appears when an electromagnetic wave hits a conductive structure Voltage
68. ei R s bee IEEE eee RE eene EEP sess 3 5 2 Classes and Instances of the EtherNet IP Gateway eee eere see eene eene ettet eno nose aee s eese esee en osos eaae teen 4 5 2 1 EtherNet IP Standard ClassesS oooccccccncnnonoccnnncccnnnnnnconnnnnnnnncnnnnnnonnnnnrnnnnnnnn nn nn nn nn ran n rn nsn n ninh tnnt enrnesis ann n nns 4 5 2 2 Identity OD OCL idt ret oerte ii temer ee 5 5 2 3 Message Router ODb ect ioi ioi nine t Far eic ER x ERE eee raa e FEX es 7 Message Router Request Response Formats occcococcccccncccnnnncccnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nennen nnn nnne nnn nenne 8 5 2 4 ncr misAe uc UELUT 12 5 2 5 Connection Manager ODJECE ssion p ete eti Eire tei iere E eO d aea E eeu x Eo ree E Red 13 5 2 6 oae e 14 5 2 7 TGP IP Interface Object ec itr aake aran adana Kea a aa isla EARNERS 15 5 2 8 Ethernet ink Object aee rete Een Ere bern X pn ea anaa FERE RARRRERURRRMR KR BKRRRRRRERARRERRRERR CREAR RERRRRR ERN 20 5 3 VSC Vendor Specific Classes c eee e e ee eee eee ee e eerte e nete e sess eee eee e eos aP Pepe ee ee esse eee esee sese e ee eese sese 22 Class Instances of the VSC ooooonccnnonococcconccnnconccnnnnnnnnnncnnnnnnnnn rre ea aaaaaaaaaaeeeeeeeeee ee ninh ntn nternnss san nsn n nnn nnan 22 mEC UAUTVAeELINUeRUUm ED 23 D301051 BL20 PG EN IP 1211 5 1 Implementation of EtherNet IP 5 1 5 1 1 5 1 2 5 1 3 5 2 The EtherNet I
69. endor specific A vendor specific error has been encountered The Additional Code error Field of the Error Response defines the particular error encountered Use of this General Error Code should only be performed when none of the Error Codes presented in this table or within an Object Class definition accurately reflect the error 20 Invalid A parameter associated with the request was invalid This code is parameter used when a parameter does not meet the requirements of this specification and or the requirements defined in an Application Object Specification 21 Write once An attempt was made to write to a write once medium e g WORM value or drive PROM that has already been written or to modify a value that medium already cannot be changed once established written 22 Invalid Reply An invalid reply is received e g reply service code does not match Received the request service code or reply message is shorter than the minimum expected reply size This status code can serve for other causes of invalid replies 5 10 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A Table 5 11 Status Code StatusName Description General Status hex Codes according to CIP spec 23to 24 Reserved by CIP for future extensions 25 Key Failure in The Key Segment that was included as the first segment in the path path does not match the destination module The object specific status shall indic
70. ength of input data 1024 Byte Length of input data Max length of output data 1024 Byte Length of output data Max length of in output data 2048 Byte Length of in output Max number of modules 74 Number of modules il Input Modules Selected Modules Ej PLC Browser 2DI 24VDC P 4DI 24VDC P FE 2DI 24VDC N 18DI 24VDC P EX Sampling Trac 2DI 120 230VAC 2AI U 10 0 10VDC Kn Target Settings 4DI 24 DC P Select gt gt 2DO R NE EA Task configura 4D1 24VDC N 32D0 24VDC 0 54 P Q Watch and Re E 8D1 24VDC P Winrar cr TCNT 24VDC M 16DI 24VDC P 1RS485 2 Workspace E 16D1 2 16DI 24VDC P 32D1 24VDC P 2D1 120 230VAC 141 1 0 4 20M4 PEU 1Al U 10 0 410VDC 2A 0 4 20MA 2AI U 10 0 10VDC 2Al PT NI 2 3 241 Thermo Pl ONLINE Dv READ 6 10 D301051 BL20 PG EN IP 1211 Configuration of the BL20 Station A Attention When configuring the BL20 station in the software please observe that the order of the modules added to the gateway has to match the physical module order of the hardware configuration 6 5 1 Parameterization of the I O modules For the parameterization of an I O module mark the respective module in the Selected Modules field and press the Properties button In the Module Properties dialog box each Parameter can be changed by double clicking the Value bunk xi Parameterization of I O modules Name Config Length input Byt
71. ension clamp connections requires a further power supply module to be mounted Thereby it must be ensured that the base modules are fitted with the same connection technology screw or tension clamp as the power supply module 7 1 1 Complete Planning The planning of a BL20 station should be thorough to avoid faults and increase operating reliability Attention If there are more than two empty slots next to one another the communication is interrupted to all following BL20 modules 7 1 2 Maximum System Extension A BL20 station can consist of a gateway and a maximum of 74 modules in slice design equivalent to 1 m in length of mounting rail including the end bracket and end plate The maximum number of modules is less when using block modules 1 block module is equivalent to 8 modules in slice design 7 2 D301051 BL20 PG EN IP 1211 Random Module Arrangement Industri A The following overview shows the maximum number of channels possible on condition that the entire station is made up of that respective type of channel only Table 7 1 Channels Modules Maximum system extension process datadependent Type Max Type Max no no Aplus 1 Digital inputs 288 BL20 4DI 24VDC P 72B Bus Refreshing module Digital outputs 288 BL20 4DO 24VDC 0 5A P 72B Bplus2 p Refreshing Analog inputs current 126 BL20 2Al 1 0 4 20MA 63C E Analog inputs voltage 126 BL20 2Al U 10 0 10VDC 63
72. esescssscesecsescssoscssccsesesssccsoncsenees 7 2 Complete Planning cei RES eto hee EAR eR RN eR ERR AREE Une Sent Reese ht Reeve ee eR Ree E re NURSE e tare 7 2 Maximum SYSTEM EXTENSION P O siise sassasnsi a e saioa arisna oasia nae sso isian iaar isa Rinis 7 2 Power Supply Module Bus Refreshing Creating Potential Groups Protecting the Service Interface on the Gateway teens ttts tton tts nott notis io tisse ntt 7 8 C Rail Cross ConnectlOn ia 7 9 Direct Wiring of Relay MOCUIeS sssessccssssscssseecssssscessssecsneceesnsssecssscesusscessssecsnsnscesusscesnsusessnsseecsnssseesuesesssssecsnssscesnesessnanecensessees 7 11 Plugging and Pulling Electronics Modules 4 eee eee eese eene enne eene eee etes en esten sees senes ense tense eno ee 7 11 Extending an Existing Station eee cree eerte eene esten etas tn sena sens ense tasto seen etas en oisko sr rhii oire sokini 7 11 Fiimware Download 7 11 Guidelines for Electrical Installation AA canoas ioaao soso aa eesosa sassa s ossaa Voros sasono sosok Ssu oa ene sod kor 0o00 od El 11 16 CPP EP A Cable ROUQUAG p Cable Routing Inside and Outside of Cabinets Lightning Protection eret T Transmission MC ERR EE EE t Potential Relationships eoeo no eo ssdonsesecsesovecsesensonceeveowsesec
73. etso oonwarelloUes andard lib 4 ONLNE OV READ 6 16 D301051 BL20 PG EN IP 1211 Programming of the BL20 PG xxx Note Please observe projects must be downloaded and saved as boot projects for further information see the description in the following section Creating a boot project in order to be stored permanently to the gateway All other projects are deleted in case of a boot up of the gateway 6 6 2 Creating a boot project With Online gt create boot project your program is downloaded and saved as a boot project which is stored to the BL20 PG EN IP and is automatically loaded at every re start of the gateway F igure 6 23 CoDeSys BL20 PG EN_IP Step2 pro PLC_PRG PRG CFC E 0 x Create boot Ele Edt Project Insert Extras Online Window Help 18 xl project alo 80 6 g Login AER Logout Ctr FS Blaa Tj je njajo Download Run FS Stop Shift 8 Reset Reset cold Reset original PLC_PAG PRG Toggle Breakpoint F9 Breakpoint Dialog Step over E Flo tepin F8 ingle Cycle Ctr F5 5 BL20 Output Register 0 is Modbus Inp Write Values Ctrl F BYTE_TO_WORD Force Values F7 OutputRegister_0 Release Force Shift F7 g p Write Force Dialog Ctrl Shift F7 Show Call Stack Display Flow Control PLADO INDO OSAP WORD_TO_BYTE a 5 OutputByte 0
74. etwork Identification Services Protocols Adapters Bindings Network Protocols Add Remove _Eroperies Update m Description Transport Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected networks D301051 BL20 PG EN IP 1211 Changing the IP address of a PC network interface card 3 Activate Specify IP address and set the address as follows Figure 10 4 s E H ft TCP IP P t Specify IP address ct cla ELE IP Address DNS WINS Address Routing n IP address can be automatically assigned to this network card by a DHCP server If your network does not have a DHCP server ask your network administrator for an address and then type it in the space below Adapter m Intel 82557 based 10 100 Ethernet PCI Adapter m Obtain an IP address from a DHCP server m Specify an IP address io 192 168 1 5 Subnet Mask 255 255 255 0 Default Gateway 132 168 1 1 Advanced Cancel Apply D301051 BL20 PG EN IP 1211 10 5 Appendix 10 2 3 Changing the IP address via l O ASSISTANT The Busaddress management tool integrated in the I O ASSISTANT offers the possibility to browse the whole Ethernet network for connected nodes and to change their IP address as well as the subnet mask according to the application Figure 10 5 Busaddress management tool 10 6
75. fig BL20 10 8LOT BL20 Channel uration with Be 2D 24VDC P symbolic address E DAD allocation adds 05 Alogical address TAHIQIA 20MA A i 241 UE10 0 10VDC assignment automatic Be tnput_Word_8 AT IW4 WORD Bsymbolic address _ Taws WORD assignment application specific 1AH 0 4 20MA 2D 24VDC P 4D0 24VDC 0 54 P A double click directly to the left of the entry of automatic addressing AT96 opens the input field for the symbolic addressing Figure 6 16 EI Configuration BL20 PG EN Symbolic E BL20 10 SLOT addressing 2Al Thermo PI Input Word 0 AT 9 IWO WORD A X0 0 BOOL Bit 1 AT IX0 1 BOOL B 0 2 BOOL Bit 2 X0 4 BOOL Bit 4 IX0 5 BOOL Bit 5 IX0 6 BOOL Bit 6 X0 7 BOOL Bit 7 1 0 BOOL Bit 8 IX1 1 BOOL Bit 9 X1 2 BOOL Bit 10 X1 3 BOOL Bit 11 1 4 BOOL Bit 12 1 5 BOOL Bit 13 X1 6 BOOL Bit14 x I1 6 12 D301051 BL20 PG EN IP 1211 Configuration of the BL20 Station 6 5 3 Mapping of the EtherNet IP In and Output Words In order to enable EtherNet IP communication of BL20 PG EN IP with other EtherNet IP nodes the EtherNet IP in and output words have to be added to the PG configuration The output data coming from an external client are mapped as input data in the PG The output data from the PG are input data on the PLC side
76. firewall in Windows XP page 6 6 Figure 4 15 Changing the IP address E 20 ww iPL iP 3 Busaddress management Online available devices r IndustrialNet 192 168 1 15 255 255 255 0 be Device type Online ID IP address Netmask Gateway Ethemet address Mode 2 Unknown 0 192 168 119 169 255 255 0 0 192 168 1 252 00 07 46 00 04 48 DHCP BL20 GW EN IP 1118110 192 168 1 99 255 255 255 0 192 168 1 1 00 07 46 00 0F CA ROTARY 2 Unknown 0 192 168 250 31 255 255 0 0 192 168 1 252 00 07 46 00 04 04 0 136 129 1 254 136 129 1 1 00 07 46 FF 0A FD sF E 5 0 192 168 1 1 0 192 168 250 254 255 0 0 Planned devices Devicetype OnlimelD Busaddress Designation Tag Device short name Data set Tdi Disconnected Administrator Note i Please observe that chaning the IP address is only possible via the Ethernet interface at the gateway not via the RS232 interface D301051 BL20 PG EN IP 1211 4 15 Technical Features 4 7 SET Button The Current Configuration of the station is saved as the Actual Configuration when the SET button on the gateway is pressed for approximately 10 seconds it is also saved to the both the Temp Required Configuration Memory and the Required Configuration Memory The LED GW flashes 4 16 D301051 BL20 PG EN IP 1211 Status Indicators Diagnostic Messages Gateway Industri A 4 8 Status Indicators Diagnostic Messages Gateway The g
77. g commissioned or for maintenance purposes without having to disconnect the field wiring from the base modules Figure 2 3 Electronics module in slice design Figure 2 4 Electronics module in block design 4 D301051 BL20 PG EN IP 1211 BL20 Components 2 2 4 Base Modules Thefield wiring is connected to the base modules These are constructed as terminals in block and slice designs and are available in the following variations with either tension clamp or screw connections 2 3 wire 2 channel 4 wire 2 channel and 4x 2 3 wire 4 channel The assignment table in the Section Ordering Information of the Appendix shows the possible combinations of electronics and base modules Figure 2 5 Base module with tension clamp connection Figure 2 6 Base module with Screw connection Figure 2 7 Base module in block design D301051 BL20 PG EN IP 1211 5 2 2 5 BL20 Economy With the BL20 Economy modules the electronics and connection technology is integrated into a single housing Thus the selection of a base module is unnecessary Within a station the Economy modules can be combined with the modules with separate electronics connection technology provided that the base modules feature tension spring connections Figure 2 8 BL20 Economy 2 2 6 End Plate An end plate on the right hand side physically completes the BL20 station An end bracket mounted into the end plate ensures that t
78. ge as a zipped archive TSP Turck BL20 PG EN xxx zip This archive contains the target file and other manufacturer specific files like libraries etc which are necessary for the operation of the gateway at CoDeSys The files have to be stored on your PC showing following directory structure Figure 6 2 Directory struc ture of the target file Um Y 4E X File Edit View Favorites Tools Help ay Q ea Q 2 J Search i Folders E Adress Ca roe uc mao Ps en IP 1 0 7 0_ ze Type Packed Si Folder Tasks x BL20_PG_EN_IP_Cfg File Fo BL20_PG_EN_IP_Lib File Fo ED BLxx File Fo E Common Lib File Fo ssi BL20 PG EN IP Enf TNF File esi BL20 PG EN IP trg TRG File Extract all Files Other Places 24rooo TSP_Turck_BL20_PG_EN_IP 1 0 7 0 zip 6 Objects Note Please observe that the files have to be stored in this directory structure after having been extracted from the zip file Otherwise problems may occur during the target installation 6 2 1 Installation The target installation in CoDeSys is done using the Start Programs 3S Software gt CoDeSys gt V2 3 gt Install Target command Figure 6 3 Install Target m Microsoft Update gt Search windows Media Player En 3 T d V VersionInfo CoDeSys WebServer First Steps with CoDeSys InstallTarget 51 Set Program A
79. ged or pulled when the station is being commissioned or for maintenance purposes without having to disconnect the field wiring from the base modules D301051 BL20 PG EN IP 1211 BL20 Components 2 2 BL20 Components 2 2 1 Gateways The gateway connects the fieldbus to the I O modules It is responsible for handling the entire process data and generates diagnostic information for the higher level master and the software tool l O ASSISTANT Figure 2 1 BL20 gateway The BL20 gateways BL20 PG EN IP offer an integrated power supply unit for feeding the gateway and the connected I O modules It is not necessary to supply each individual module with a separate voltage 2 2 2 Power Distribution Modules The power supply for gateways and I O modules is fed to the power distribution modules therefore it is not necessary to supply each individual module with a separate voltage Figure 2 2 Power distribu tion module D301051 BL20 PG EN IP 1211 3 2 2 3 Electronics Modules Electronics modules contain the functions of the BL20 modules power distribution modules digital and analog input output modules and technology modules Electronics modules are plugged onto the base modules and are not directly connected to the wiring The assignment table in the Section Ordering Information of the Appendix shows the possible combinations of electronics and base modules They can be plugged or pulled when the station is bein
80. general VSC Class Instance attributes are defined as follows Table 5 37 Attr No Attribute Get Type Description Class instance Name Set 100 0x64 CLASS G UINT States the revision number of the class REVISION Maj Rel 1000 Min Rel 101 0x65 MAX G USINT Contains the number of the highest instance INSTANCE of an object created on this level in the class hierarchy 102 0x66 OF G USINT Contains the number of Object Instances INSTANCES created in this class 103 0x67 MAX CLASS G USINT Contains the number of the last Class ATTRIBUTE Attribute to be implemented 5 22 D301051 BL20 PG EN IP 1211 VSC Vendor Specific Classes Industri A Gateway Class VSC 100 The Gateway Class contains all the parameters of the BL20 system and the gateway Class Instance Note Please refer to paragraph Class Instances of the VSC page 5 22 or the description of the class instances for VSC Object Instances Table 5 38 Attr No Attribute Get Type Description Object Instance 2 Name Set Gateway Instance 109 STATUS G STRUCT Gateway Status contains general gateway 0x6D REGISTER 2 status information Gateway Bit 15 I O Controller Error The communication controller for the O system is faulty Bit 14 Force Mode Active Error The Force Mode is activated Bit 13 reserved Bit 12 reserved Module bus Bit 11 I O Cfg Modified Error The I O configuration has been changed and
81. he BL20 station remains secure on the mounting rail even when subjected to vibration Figure 2 9 End plate D301051 BL20 PG EN IP 1211 BL20 Components 2 2 7 End Bracket A second end bracket to the left of the gateway is necessary as well as the one mounted into the end plate to secure the station Figure 2 10 End bracket 2 2 8 Jumpers Jumpers QVRs are used to bridge a connection level of a 4 wire base module They can be used to connect potentials in relay modules bridging the relay roots thus considerably reducing the amount of wiring Figure 2 11 Jumpers D301051 BL20 PG EN IP 1211 7 2 2 9 Marking Material Labels for labeling BL20 electronics modules Markers for colored identification of connection levels of BL20 base modules Dekafix connector markers for numbering the mounting slots on BL20 base modules Figure 2 12 EAS M Y Yr ey 2 2 10 Shield Connection 2 Pole for Analog Modules The 2 pole shield connection can be used to connect signal cable shielding to the base modules of analog input and output modules A special tension clamp operating tool BL20 ZBW5 2 is required to mount the shield connection onto the base module Figure 2 13 Shield connection 8 D301051 BL20 PG EN IP 1211 Industri A 3 EtherNet IP 3 1 System Description 2 IP Internet Protocol rrr trae k unn a aaaea aea Ea cn At
82. ia the service interface at the gateway is possible as well The IP address as well as the subnet mask of the TURCK Ethernet modules can be changed according to the application by using the Busaddress Management function of the BL Service Ethernet interface in the I O ASSISTANT Note i Please observe the changing the IP Address is only possible by using the gateway s Ethernet interface Select the interface BL Service Ethernet in the DTM and connect the gateway to the PC using the Ethernet port page 4 6 Changing the address using the RS232 interface is not possible Figure 4 12 ag Service Bi PACTware DER boje3e a i4ag d r P Device for All Devices Device 4 Protocol Vendor Group Device Version a BL Service Ethernet BL Service Ethernet Turck DTM specific 1 0 0 2007 06 12 mex BL Service RS232 BL Service Turck DTM specific 1 0 0 2007 06 12 5 HART Communication HART CodeWrights GmbH FDT 1 0 39 2010 04 12 cy BL Service Ethernet Com DTM D301051 BL20 PG EN IP 1211 4 13 Technical Features Figure 4 13 Busaddress E xxx PW3 PACTware management File Edit View Project Device Extras Window Help 04449 02 90 Bla Y Bas 2 a o i a 2S Connect a i i Disconnect Load from device Store to device Parameter Measured value Simulation Diagnostics Display channels Channels Up Download Manager Print A
83. il runs through all base modules The C rail of the base modules for power distribution modules is mechanically separated thus potentially isolating the adjoining supply groups Access to the C rail is possible with the help of base modules with a C in their designation for example BL20 S4T SBCS The corresponding connection level is indicated on these modules by a thick black line The black line is continuous on all I O modules On power distribution modules the black line is only above the connection 24 This makes clear that the C rail is separated from the adjoining potential group to its left Figure 7 3 C rail front view Figure 7 4 C rail side view ua lt A Danger A It is permitted to load the C rail with a maximum of 24 V Not 230 V The C rail can be used as required by the application for example as a protective earth PE In this case the PE connection of each power distribution module must be connected to the mounting rail via an additional PE terminal which is available as an accessory Note For information about introducing a BL20 station into a ground reference system please read chapter 8 D301051 BL20 PG EN IP 1211 7 9 Guidelines for Station Planning Figure 7 5 2DO 2DI 2DO 2DI PF 2DO 2DI 2DO 2DI Using the C rail as a protective earth B E E B e PE terminal puma E 10 100 MBit IT 2111 2111 2111 21M 2111 21011 211 Us ES
84. ilities cc e eee eee eee ee eee eee e eene sete eese esee esee esee eese s eese ss eso se senes esses sone ss sesse 6 4 5 1 Field b s ConhectlOn eie satinado SPERARE Rb AR ERa ETERNA E dun ES 6 Ethe rnet connecti n ideis i eue c FX eada 6 4 5 2 Power Supply via terminal block with screw connection cceeeessssssssssseseeeee eene 6 4 5 3 Service Interface Connection female PS 2 connector 6 Connection with lI O ASSISTANT Connection Cable eeesssesseeeeeeeeenn nnne 6 4 6 Address Settinng ccccccccccccscsccccccsccccccccccccccccccccccceccccccccccccscccscccscccccccescccscccescccecccccccscsscccssccescceses 8 4 6 1 bg s R 8 4 6 2 Default setting of the gateway iii nacida ice tele eii 9 4 6 3 Address setting via the rotary mode oooooccccconncccccononoconcnnnnnncncnnnnnnncn cnn nn 9 4 6 4 Address setting via BootP mode 2 222 cccceeecneeeseseecseeeeseceeneseseccecneseesaeeseneessceeeeseseseeeneseeeseetenseneeees 10 4 6 5 Address setting via DHCP MOd8 cccccccicioinccii ciere tibi een niat brennt kann AEKA Rana N TEASER 11 4 6 6 Address setting via PGM mode coccocconnocccccnnonononccnnnnnnnc nro nncn rre 12 4 6 7 Addressing via PGM DAGP s iier Ere HD ener ER enge RE ext AEEA tnbus olsen 12 4 6 8 Address setting via I O ASSISTANT 3 FDT DTM eeeeeeeeeeeeennnnm enne nmrennn nennen
85. king a further Bus Refreshing module necessary the software l O ASSISTANT generates an error message when the user activates the command Station gt Verify Note i Bus Refreshing modules which do not supply the gateway with power are to be combined with either a BL20 P3T SBB B or a BL20 P4T SBBC B tension clamp connection base module or with the base modules BL20 P3S SBB B or BL20 P4S SBBC B screw connection D301051 BL20 PG EN IP 1211 Power Supply Industri A Figure 7 1 Gateway 2DI 2DO 2DI 2DO 2DI 1AO BR Al 2DI NO Power supply of the station E E LH dag 10 100 MBit E E TS la 1 NL Field supply i O ia Field supply System sypply It must be ensured that the same ground potential and ground connections are used If different ground potentials or ground connections are used compensating currents flow via the module bus which can lead to the destruction of the Bus Refreshing module All Bus Refreshing modules are connected to one another via the same ground potential The power to the module bus is supplied via the connections 11 and 21 on the base module Attention A In order to comply with radiation limit values in accordance with EN 55 011 2 000 the supply lines of the BL20 BR 24VDC D module for supplying the gateway with power are to be fed through a ferrite ring P5416 ZBX 405 This is to be placed immediately next to the connection terminals From there
86. l bus specific information concerning the connection to automation devices the maximum system extension etc The bus independent I O modules for BL20 as well as all further fieldbus independent chapters like mounting labelling etc are described in a separate manual BL20l O modules TURCK Documentation No German D300716 English D300717 Furthermore the manual mentioned above contains a short description of the project planning and diagnostics software for TURCK I O systems the engineering software I O ASSISTANT D301051 BL20 PG EN IP 1211 Description of Symbols Used Industri A 1 2 Description of Symbols Used A Danger This sign can be found next to all notes that indicate a source of hazards This can refer to danger to personnel or damage to the system hardware and software and to the facility This sign means for the operator work with extreme caution A Attention This sign can be found next to all notes that indicate a potential hazard This can refer to possible danger to personnel and damages to the system hardware and software and to the facility Note This sign can be found next to all general notes that supply important information about one or more operating steps These specific notes are intended to make operation easier and avoid unnecessary work due to incorrect operation D301051 BL20 PG EN IP 1211 1 3 About this Manual 1 3 General Information Attention
87. lectrical Installation 8 1 iip ce YOQ P 2 8 1 1 erac 2 8 1 2 er le wufeaeMDRMEL EEUU 2 8 1 3 Cable Routing Inside and Outside of Cabinets sssssseeeeeeeeeen nennen 2 Cable Routing Outside Buildings ooonmccccnnnnnnccccnnnonccccnnnnnncrr cnn rre nc 2 8 1 4 Elightning Protecti n arica 3 8 1 5 Transmission o ERN 3 8 2 Potential Relationships 4 8 2 1 i a c 4 8 3 Electromagnetic Compatibility EMC ecce esee eee eee eee eee en teen eaaet etes teet eese ee eee eee sees e eese eese eese eu 5 8 3 1 Ensuring Electromagnetic Compatibility ooooonncnnnnnnconcccccccnnnncccnnnnnnnnnncnnnnnnnnnnnnnnnnnnnn nn cnc nn nanne ennt 5 8 3 2 Grounding of Inactive Metal Components c ccccononcccccnnoncncnnnnnnnnnnnnnnnnnnnnnnnnnnn cnn enn nnne nennen nennen nnns 5 8 3 3 PE eTo geile 5 8 3 4 Earth Free Operations cas ces sidene aaea lA deedaanns assccntgeadasaocensevdneawnaveeeacazaetecniasee 5 8 3 5 Mounting Ralls e 6 8 4 Shielding of cables 7 8 5 IO CHHERCTUIPTDELEBIDIP 8 8 5 1 SWITCHING Inductive
88. llation due to a short circuit D301051 BL20 PG EN IP 1211 11 5 Glossary Station A functional unit or I O components consisting of a number of elements TCP Abbreviation for Transmission Control Protocol connection oriented transport protocol within the Internet protocol suite Certain error detection mechanisms i e acknowledgements time out monitoring can guarantee a safe and error free data transport Terminating resistance Resistor on both ends of a bus cable used to prevent interfering signal reflections and which provides bus cable matching Terminating resistors must always be the last component at the end of a bus segment To ground Connection of a conductive component with the grounding connection via a grounding installation Topology Geometrical structure of a network or the circuitry arrangement UDP Abbreviation for User Datagram Protocol UDP is an transport protocol for the connectionless data between Ethernet hosts Unidirectional Working in one direction D301051 BL20 PG EN IP 1211 12 Index A addressing iuit itte tap de Pb e ERREUR 4 8 APR Address Resolution Protocol 3 6 B pase modules cnica etr tete ctn t t ERRAT 2 5 basic concept 2 2 c classes Assembly Object ssssseeeeenenenenen 5 12 Connection Manager Object eesse 5 13 Ethernet Link Object neee 5 20 EtherNet IP standard sss 5 4
89. ly In this case base modules without C rail connections should be chosen to guarantee the potential isolation to the adjoining modules 7 3 Plugging and Pulling Electronics Modules BL20 enables the pulling and plugging of electronics modules without having to disconnect the field wiring The BL20 station remains in operation if an electronics module is pulled The voltage and current supplies as well as the protective earth connections are not interrupted Attention If the field and system supplies remain connected when electronics modules are plugged or pulled short interruptions to the module bus communications can occur in the BL20 station This can lead to undefined statuses of individual inputs and outputs of different modules 7 4 Extending an Existing Station Attention Please note that extensions to the station mounting further modules should be carried out only when the station is in a voltage free state 7 5 Firmware Download Firmware can be downloaded via the service interface on the gateway using the software tool 1 O ASSISTANT More information is available in the program s online help Attention The station should be disconnected from the fieldbus when downloading Firmware must be downloaded by authorized personnel only The field level must be isolated D301051 BL20 PG EN IP 1211 7 11 Guidelines for Station Planning 7 12 D301051 BL20 PG EN IP 1211 Industri A 8 Guidelines for E
90. m Figure 5 1 TCP IP object state diagram acc to CIP Spec Vol 2 Rev 1 1 for a description of object states as they relate to the Status attribute Table 5 27 Bit s Name Definition Interface Status 0 3 Interface Indicates the status of the Configuration Interface Configuration Status attribute 0 The Interface Configuration attribute has not been configured 1 The Interface Configuration attribute contains valid configuration 2 to 15 Reserved 4to31 reserved Configuration Capability The Configuration Capability indicates the device s support for optional network configuration capability Table 5 28 Bit s Name Definition Value Configuration Capability 0 BOOTP Client Thedeviceiscapable of 1 obtaining its network configuration via BOOTP 1 DNS Client The deviceiscapableof 0 resolving host names by querying a DNS server 2 DHCP Client The device is capable of 1 obtaining its network configuration via DHCP D301051 BL20 PG EN IP 1211 5 17 Implementation of EtherNet IP Configuration Control The Configuration Control attribute is used to control network configuration options Table 5 29 Configuration Control Bit s Name Definition 0 3 Startup Determines how the device shall obtain its initial Configuration configuration at start up 0 The device shall use the interface configuration values previously stored for example in non volatile memory or via h
91. m internal firewall may occur It may eventually inhibit the access of the l O ASSISTANT to the Ethernet Please adapt your firewall settings accordingly or deactivate it completely see also Deactivating adapting the firewall in Windows XP page 10 9 The network is browsed for connected hosts which are then listed in the Address Tool The address changing is done via Tools gt Changing IP settings 10 7 D301051 BL20 PG EN IP 1211 Appendix It is now possible to change the address settings for all nodes in the list or only for the selected one Figure 10 7 Address changing for selected nodes 10 8 ines 3 a m oo gi P xxx PW3 PACTware TCP IP Busaddress management Ele Edit view Project Window Help 9 Bx Device Extras r TCP IP Bie LX ipl it Ec amp Online available devices E Busaddress management IndustrialNet 192 168 1 15 255 255 255 0 Device type IP address Netmask Gateway Ethernet address Mode Online ID Unknown 0 BL20 GW EN IP Unknown Unknown 192 168 119 163 255 255 0 0 255 255 255 0 255 255 0 0 255 255 255 0 1118110 0 Planned devices 192 168 1 252 192 168 1 1 192 168 1 252 136 129 1 1 1 192 168 119 252 00 07 46 00 04 48 00 07 46 00 0F CA 00 07 46 00 04 04 DHCP ROTARY BOOTP ERR BD PGM 00 07 33 06 61 23 ERR Device type Online ID Designation Tag Device short name OK Cancel Apply
92. n Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Class Attributes Table 5 17 Attr No Attribute Get Type Value Class attributes Name Set 1 0x01 REVISION G UINT 2 2 0x02 MAX OBJECT G UINT 2 INSTANCE Instance Attributes Table 5 18 Attr No Attribute Get Type Description Instance attri Name Set butes 1 0x01 NUMBER OF G UINT 0 no dynamic MEMBERS IN LIST 2 0x02 MEMBERLIST G ARRAY of Depends on Instance STRUCT UINT UINT Packed EPATH 3 0x03 DATA S ARRAY OF BYTE 4 0x04 SIZE G UINT 256 Number of bytes in Attr 3 Instance 101 Contains the station s input data as long as no PLC program has been downloaded to the device 2 Bytes Status information process data Note i If a PLC program is downloaded to the PG this instance contains the station s input data 2 Bytes Status information process data mapped in CoDeSys to the PGs output words for external EtherNet IP communication with superordinate EtherNet IP clients e g ControlLogix gt Abschnitt Mapping of the EtherNet IP In and Output Words page 6 13 D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A Instance 102 Contains the station s output data as long as no PLC program has been downloaded to the device 2 Bytes Control data process data Note i If a PLC program is downloaded to the PG this instance contains the station s output data 2 Bytes Co
93. non periodic requests It is not recommended for frequent messaging because the UCMM input queue in a productis typically limited to justa few messages Once this limit is reached subsequent requests are ignored and must be retried Connected Explcit messaging CIP is a connection based system For most communications between nodes a connection is used A connection is a path or a virtual circuit between two or more end points in a system The purpose is to transfer data in the most efficient manner possible The Connection ID is a number that is associated with a communication relationship Receiving nodes decode this key to know whether they must accept the data or not D301051 BL20 PG EN IP 1211 5 3 Implementation of EtherNet IP 5 2 Classes and Instances of the EtherNet IP Gateway 5 2 1 EtherNet IP Standard Classes The BL20 gateway supports the following EtherNet IP Standard Classes in accordance with the CIP specification Table 5 1 Class Object Name Description EtherNet IP Code Standard Classes 01 Identity The Identity Object is required on all devices and provides general 0x01 information about the device It enables clear and unambiguous identification of modules Contains information such as manufacturer name product type ident number revision number etc 02 Message The Message Router Object provides a messaging connection 0x02 Router point through which a Client may address a service to any
94. ntitled PLC_PRG PRG FBD TES New CoDeSys Q File Edit Project Insert Extras Online Window Help 18 x 0001 PROGRAM PLC PRG ONLINE OV READ Now the communication parameters for the target have to be adapted Communication parameters of the target Figure 6 8 CoDeSys Untitled PLC_PRG PRG FBD lolx Opening the File Edit Project Insert Extras Online Window Help communication parameters lag gi Gja E Login GARS Logout Gtr E8 Download Run FS Stop Shift FFB La a GSE original Toggle Breakpoint F9 Breakpoint Dialog Step over F10 F8 Grs Gr E F7 e Force Shift FE7 Gtr Shift F7 Greate boot project Write File to PLG Read file from PLE Allows setting of the communication parameters ONLINE Dv READ Mark localhost via TCP IP in the Channels field and define a new channel by pressing the New button D301051 BL20 PG EN IP 1211 6 7 Configuration of the BL20 PG EN IP with CoDeSys In the dialog box Communication Parameters New Channel the name for the new channel is edited and the communication interface is selected in the Device field The BL20 gateway offers 2 possible communication interfaces 1 PS 2female connector for a serial RS232 communication 2 Ethernet connector M12 4 pole D coded for a TCP IP Level 2 communication
95. ntrol data process data mapped in CoDeSys to the PGs input words for external EtherNet IP communication with superordinate EtherNet IP clients e g ControlLogix gt Abschnitt Mapping of the EtherNet IP In and Output Words page 6 13 Common Services Table 5 19 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 OxOE no yes Get Attribute Single 5 2 5 Connection Manager Object This object is used for connection and connectionless communications including establishing connections across multiple subnets The following description of the Connection Manager Object is taken from the CIP specification Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Common Services Table 5 20 Service Code Class Instance Service Name Common services 84 0x54 no yes FWD OPEN CMD Opens a connection 78 Ox4E no yes FWD CLOSE CMD Closes a connection 82 0x52 no yes UNCONNECTED SEND CMD Unconnected Send Service Only originating devices and devices that route between links need to implement D301051 BL20 PG EN IP 1211 5 13 Implementation of EtherNet IP 5 2 6 Port Object The following description of the Port Object is taken from the CIP specification Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Class Attributes Table 5 21 Attr No
96. ntrolNet A and Data DLL DLL upp TCP _ thd Link Layer Transport Transport IP Physical DeviceNet ControlNet Ethernet Layer physical physical physical thd layer layer layer ATM Firewire USB Blue Tooth Ethernet IP 3 1 1 Network Topology EtherNet IP network uses an active star topology in which groups of devices are connected point to point to a switch Products with both transmission speeds 10 and 100 Mbit s can be used in the same network and most Ethernet switches will negotiate the speed automatically Transmission Media For communication via Ethernet different transmission media can be used coaxial cable 10Base5 E optical fibre 10BaseF twisted two wire cable 10BaseT with shielding STP or without shielding UTP D301051 BL20 PG EN IP 1211 3 3 EtherNet IP 3 1 2 Addressing on EtherNet IP Ethernet MAC ID The Ethernet MAC ID is a 6 byte value which serves to identify an Ethernet device The MAC ID is determined for each device by the IEEE Institute of Electrical and Electronics Engineers New York The first 3 bytes of the MAC ID contain a manufacturer identifier Turck 00 07 46 xx xx xx The last 3 bytes can be chosen freely by the manufacturer for each device and contain a serial number The MAC ID can be read from the module using the software tool I O ASSISTANT IP address Each Ethernet host receives its own IP address In addition the node knows its netmask and the IP address
97. on not attempted Forced speed and duplex Table 5 33 5 Manual 0 interface can activate changes to link 0 Setting parameters auto negotiate duplex mode Requires Reset interface speed automatically 1 device requires a Reset service to be issued to its Identity Object in order to adapt the changes Table 5 34 6 Local 0 interface detects no local hardware fault 0 Hardware 1 a local hardware fault is detected Fault Common Services Table 5 35 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 OxOE yes yes Get Attribute Single 76 0x4C no yes Enetlink Get and Clear D301051 BL20 PG EN IP 1211 5 21 Implementation of EtherNet IP 5 3 VSC Vendor Specific Classes In addition to supporting the above named CIP Standard Classes the BL20 gateway for EtherNet IP supports the below vendor specific classes It is possible to gain read G Get and or write S Set access to the attributes of classes described in the following Table 5 36 VSC Vendor Specific Classes Class Code Description 100 0x64 Gateway Class page 5 23 Contains data and settings concerning the gateway and the BL20 system as a whole Class Instances of the VSC Note Class Instance attributes are the same for each Vendor Specific Class Class specific Object Instances and the corresponding attributes are explained below for the different VSC The
98. ons or property external measures must be implemented to ensure a safe operating state in the event of a fault or malfunction for example by means of separate limit switches mechanical interlocks etc The electrical installation must be carried out in accordance with the relevant regulations e g with regard to cable cross sections fuses PE All work relating to transport installation commissioning and maintenance must only be carried out by qualified personnel IEC 60 364 and HD 384 and national work safety regulations All shrouds and doors must be kept closed during operation Industr A Table of Contents 1 1 1 1 2 1 3 1 3 1 1 3 2 1 4 1 5 1 5 1 1 5 2 1 6 1 6 1 1 6 2 1 6 3 1 6 4 1 6 5 1 6 6 1 6 7 1 6 8 1 6 9 1 6 10 2 1 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 3 1 3 2 3 3 3 3 1 3 4 3 4 1 3 5 3 5 1 3 5 2 3 5 3 D301051 BL20 PG EN IP 1211 About this Manual DOCUMENTATION CONCEP ge 1 2 Description of Symbols Used csscscsscscssscccscccsccscscssscccsccsessssccssccesscsesccssccsescsescccsccsssccesccssccsesesesccesceseees 1 3 General Information Prescribed Use Notes Concerning Planning Installation of this Product IE Edd AAA REEL T RN E A E 1 5 The Basic Concept Flexibility Convenient Handling BL20 Components m C
99. ors and actuators in the field to the higher level master BL20 offers modules for practically all applications Digital input and output modules Analog input and output modules E Technology modules RS232 interface A complete BL20 station counts as one station on the bus and therefore occupies one fieldbus address in any given fieldbus structure A BL20 station consists of a gateway power distribution modules and I O modules The connection to the relevant fieldbus is made via the bus specific gateway which is responsible for the communication between the BL20 station and the other fieldbus stations The communication within the BL20 station between the gateway and the individual BL20 modules is realized via an internal module bus Note Fr The gateway is the only fieldbus dependent module on a BL20 station All other BL20 modules are not dependent on the fieldbus used Flexibility A BL20 station can contain modules in any combination which means itis possible to adapt the system to practically all applications in automated industries Convenient Handling All BL20 modules with the exception of the gateway consist of a base module and an electronic module The gateway and the base modules are either snapped onto a mounting rail or are directly mounted onto the machine frame The electronic modules are plugged onto the appropriate base modules After disconnection of the load the electronic modules can be plug
100. oussvecetecsedsscosesnceeteonsesvodsesnscevetesscesosevedessvetessees 8 4 e 8 4 Electromagnetic Compatibility EMC Ensuring Electromagnetic Compatibility ssssscsssssccssssecsssescesseeccsnssecsssscsssseecssssscessseecsnsecssseecesssecesnsescessseecensescesnsescesneeeennee 8 5 Grounding of Inactive Metal Components eese reete tenente ttes tts nott noit DAR nott nois ttt ttti ttt rotten nuts 8 5 PES COMME o g E 8 5 Earth Free Operatj miseri 8 5 Mounting Rails etnia nea a idolos 8 6 ERISPIIPREQECIHUO TR M vokas 8 7 Potential COMPENSATION inssicisssccssocscocsscssoscsssoussscoscesossensoussoussecuessensscssousectsesuaspsussousssbesessssonossensdbesssessoessousacess 8 8 Switching Inductive LOAMS c 8 8 Protection against Electrostatic Discharge ESD ssssssssssssccssssecssssecsssescessesccsnseecsssescsnsescessesecsnscessesessusescessesessnsescesseeesunsessessess 8 8 BL20 Approvals for Zone 2 Division 2 Appendix Network Configuration siscscsicssccccicscstassscnsesassoscssossescssedstencosecssseasseestscssecsescasesssestosedsseasseucsesssousesesss eceuscsiouss 10 2 Changing the IP address of a PC network interface card Changing the IP address in Windows 2000 Windows XP eerte ntes ettet nonni notis nonni Changing the IP address in Windows NT
101. rNet IP The EtherNet IP Communications Profile eee eere eene eee een senses tn etna eene tns en seta sense ene to sense tasas 5 2 LN ICCEYG CE 5 2 Explicit TD n 5 2 Communications Profile of the BL20 EtherNet IP Gateway eeee eerte tts ttt nettes ttt nont 5 2 Classes and Instances of the EtherNet IP Gateway EtherNet IP Standard Classes ene ete daa O lace c T Message Router Object ida Assembly Object ope itet reip e bet i n e RO ee idee sitet des din bei tete reete ete tob Connection Manager Object Port Object TCP IP Interface Object e Ethernet Eink Object Jet ete abutere Mi desit itur MAD TRDIES Taderrri lp 5 22 Configuration of the BL20 PG EN IP with CoDeSys A a A A T O A TEE O E E A T A A A ON T 6 2 System A RN 6 2 Installation of the BL20 target files sccsccsscssssssccscccsscsseccecccssecesccsscccssceesesesccesccesscsesesescccsecseseresccesees 6 3 Installation e ed do 6 3 BL20 Hardware Configuration coco P 6 5 Configuration Programming of the PG in CoDeSy5S cccsssessscsscsssesscsecsssssesssesscssssssessesssessecsseesesseees 6 6 Creating a new project Configuration of the BL20 Station eee eese e eee eee seen e eee eene ette eee ne tenes sesta net en estne stesse ense ense tees tense ense en 6 10 Parameterization of the I O modules ce
102. ra yc c Power Distribution Modules Electronics Modules BEEN III E BL20 ECONOMY sriciniianin airada End e o e lo o O miri Jumpers Marking Material Shield Connection 2 Pole for Analog Modules EtherNet IP System Description m 3 2 Network Topology miii aaa Addressing on EtherNet IP Network Classes eese teen ttentttnncen a Checking the communication via PiING Sighals sssccsssseccssssccsseeccsseeecsssseccsseeecssssecesssecesseecsnscsnseecesnssecesseceesnsecenseeeesneeeess 3 5 ARP Address Resolution Protocol cccccscssssssssssscsssssscsscssssssssessssessessesscssssessssssssessssssssessssesssscssssssssssussessesssssesessesssssssessssessesssseses 3 6 Technical Features pln EE PBR 4 2 Id ola e PROTEIN 4 2 Function Programming ICT DIPL E 4 3 rur VEI 4 3 Connection EP rte 4 6 Field b s cds 4 6 Power Supply via terminal block with screw Connection sssscsssscssssessseesseccssccssscceseecessecssseesssecssscsenceeseeceuseesueessneecsusecsseesass 4 6 Service Interface Connection female PS 2 connector
103. rea 3 TCP Transmission Control Protocol cccccccccnnnnnnnnoncnnnccnnnnnnccnnnnnnnnnonnnnnnnnnnnncnnnnnnnnnnnnnnnnnnnnrccnnnnnnes 3 3 1 1 Network Topol0 OY ect 3 Transmission MEAs Sezsecctssecatsnasspageonccas EXER ERES aa EAEra E aAA ATE ria 3 3 1 2 Addressing on EtherNSUIP isis 4 ar naue ERR 4 A 4 3 1 3 Network Classes isa tds Rd ii 4 3 1 4 Checking the communication via ping SigNalS oooonnnccccconnoncccncnnonencnnnnannnccnnnnnnrnnnnnnnnnnncnncnnnn cc nnnnnnnns 5 3 1 5 ARP Address Resolution Protocol ooocoooccccccnccnccccccononnancnnnccnnnnnnnnnnnnnnnnnnnnnnncnnnnnnncnnnnnnnnnnnnnnnnnnnnnnnnnnnnnes 6 D301051 BL20 PG EN IP 1211 3 1 EtherNet IP 3 1 System Description Ethernet Industrial Protocol EtherNet IP is a communication system for industrial applications EtherNet IP It is used to exchange time critical application information between industrial devices such as simple I O devices sensors actuators or even complex control devices robots programmable logic controllers etc EtherNet IP is an open network because it uses E IEEE 802 3 Physical and Data Link standard E Ethernet TCP IP protocol suite Transmission Control Protocol Internet Protocol the Ethernet industry standard E Common Industrial Protocol CIP the protocol that provides real time I O messaging and information peer to peer messaging ControlNet and DeviceNet networks
104. s XP ecce eee eee ente teen nenne neat en nns o ones eaae s eee enoo 9 D301051 BL20 PG EN IP 1211 10 1 Appendix 10 1 Network Configuration Note i In order to build up the communication between the BL20 gateway and a PLC PC or a network interface card both devices have to be hosts in the same network The network is already defined by the default settings in the BL20 gateways The default IP address for the BL20 gateways is 192 168 1 1 see also chapter 3 page 3 4 section IP address If necessary please adjust the IP address of the PLC PC or the network interface card 10 2 D301051 BL20 PG EN IP 1211 Changing the IP address of a PC network interface card 10 2 Changing the IP address of a PC network interface card 10 2 1 Figure 10 1 Local Area Connection Properties Changing the IP address in Windows 2000 Windows XP The IP address is changed in the Control Panel in Network and Dial up Connections 1 Open the folder Local Area Connection and open the dialog Local Area Connection Properties via the button Properties in the dialog Local Area Connection Status Mark Internet Protocol TCP IP and press the Properties button to open the dialog Internet Protocol TCP IP Properties Local Area Connection Properties 4 321 xl General Connect using 8 Intel 21140 Based PCI Fast Ethernet Adapter Configure i Components checked are used by this conne
105. s and currents are induced by the collision Typical sources of interference are for example sparking gaps spark plugs commutators from electric motors and transmitters e g radio that are operated near to conducting structures Reaction time The time required in a bus system between a reading operation being sent and the receipt of an answer It is the time required by an input module to change a signal at its input until the signal is sent to the bus system Reference potential Potential from which all voltages of connected circuits are viewed and or measured Repeater Amplifier for signals transmitted via a bus Root connecting Creating a new potential group using a power distribution module This allows sensors and loads to be supplied individually RS 485 Serial interface in accordance with EIA standards for fast data transmission via multiple transmitters s Serial Type of information transmission by which data is transmitted bit by bit via a cable Setting parameters Setting parameters of individual stations on the bus and their modules in the configuration software of the master Shield Conductive screen of cables enclosures and cabinets Shielding Description of all measures and devices used to join installation components to the shield Short circuit proof Characteristic of electrical components A short circuit proof part withstands thermal and dynamic loads which can occur at its place of insta
106. service field with the most significant bit set This is an echo of the service code in the request message with the most significant bit set A reserved byte follows the service code which is followed by the General Status code Communications Profile of the BL20 EtherNet IP Gateway The EtherNet IP gateway behaves as an EtherNet IP Server in the network the scanner of the higher level controller operates as a EtherNet IP Client The following EtherNet IP communications types are supported Point to Point or Multicast COS Connection Cyclic I O Connection Cyclic and Change of State I O Triggers Unconnected UCMM Explicit Messaging Connected Explicit Messaging Point to point A connection that exists between two nodes only Multicast A packet with a special destination address which multiple nodes on the network may be willing to receive D301051 BL20 PG EN IP 1211 The EtherNet IP Communications Profile Industri A COS I O Connection COS Change Of State I O Connections establish event controlled connections This means that the EtherNet IP devices generate messages as soon as a change of status occurs Cyclic 1 O Connection Messages are triggered time controlled in Cyclic I O connections by means of a time generator UCMM The EtherNet IP gateway offers the option of establishing explicit messaging via the UCMM port Unconnected Message Manager Port UCMM based explicit messaging is normally used for random
107. sses of the network clients via internal tables Analog Infinitely variable value e g voltage The value of an analog signal can take on any value within certain limits Automation device A device connected to a technical process with inputs and outputs for control Programmable logic controllers PLC are a special group of automation devices B Baud Baud is a measure for the transmission speed of data 1 Baud corresponds to the transmission of one bit per second bit s Baud rate Unit of measurement for measuring data transmission speeds in bit s Bidirectional Working in both directions Bonding strap Flexible conductor normally braided that joins inactive components e g the door of a switchgear cabinet to the cabinet main body Bus Bus system for data exchange e g between CPU memory and I O levels A bus can consist of several parallel cables for data transmission addressing control and power supply Bus cycle time Time required for a master to serve all slaves or stations in a bus system i e reading inputs and writing outputs Bus line Smallest unit connected to a bus consisting of a PLC a coupling element for modules on the bus and a module D301051 BL20 PG EN IP 1211 11 1 Glossary Bus system All units which communicate with one another via a bus Ig Capacitive coupling Electrical capacitive couplings occur between cables with different potentials Typical sources of interference ar
108. ssssssssssssssesccseccsseecsnscesnsccsnscessecesseccsuscessecssueccsnecesnscesscssscessscesuscessecessseesuecssnscesnecesseeessees 6 11 Addressing the in and output Gata csssssssssssecsseecsnccssscessssessecessesesseesaseesssccsssecsssecesscessssssecesscessscesusccsuscessceessceesuecesnecesseesies 6 11 Mapping of the EtherNet IP In and Output WIS eesssssscssscssseccstecsssccescccsseccessecsnsccsnscessscessscesssceseecsuecessceesseesnseesncesnecees 6 13 Programming of the BL20 PG xxx ecce e eene e eene eene eee en eaten tenes en set en seen estne etes eene tassa ronononcn rro sets sena esa 6 15 Gr ilo 6 16 Creating NS ee e dp ete petet ie dene te tret pter e eue eed 6 17 EtherNet IP communication between PG and superordinate PLC eeeereee eee eere rennen enne 6 18 D301051 BL20 PG EN IP 1211 5 7 1 6 1 6 1 1 6 1 2 6 2 6 2 1 6 2 2 6 2 3 6 2 4 6 2 5 6 3 6 4 6 5 7 1 74 1 7 1 2 7 1 3 714 7 1 5 72 7 2 1 7 3 7 3 1 7 32 7 3 3 7 34 7 3 5 7 4 7 5 7 5 1 7 5 2 9 1 9 2 92 1 922 9 2 3 9 3 Industr A Configuration of the BL20 PG EN IP in RSLOGIX sssssssssscessssccssssecssssecessscersnssccessssersnsceeessscessnseesuscersnssecessseessnseeceusseersnseeseaee 6 19 Guidelines for Station Planning Random Module Arrangeme nt ccccccscsccscseresssesccscccsescsesccssccsesesescccscsec
109. t connectors The ordering information for the available cable types can be found in the BL20 catalog D301051 BL20 PG EN IP 1211 8 3 Guidelines for Electrical Installation 8 2 Potential Relationships 8 2 1 General The potential relationship of a Ethernet system realized with BL20 modules is characterized by the following The system supply of gateway and I O modules as well as the field supply are realized via one power feed at the gateway E All BL20 modules gateway Power Feeding and I O modules are connected capacitively via base modules to the mounting rails The block diagram shows the arrangement of a typical BL20 station Figure 8 1 gateway I O module l O module power feeding Block diagram of a BL20 station fieldbus gt module bus 20 21 8 4 D301051 BL20 PG EN IP 1211 Electromagnetic Compatibility EMC Industri A 8 3 Electromagnetic Compatibility EMC BL20 products comply in full with the requirements pertaining to EMC regulations Nevertheless an EMC plan should be made before installation Hereby all potential electromechanical sources of interference should be considered such as galvanic inductive and capacitive couplings as well as radiation couplings 8 3 1 Ensuring Electromagnetic Compatibility The EMC of BL20 modules is guaranteed when the following basic rules are adhered to E Correct and large surface grounding of inactive metal components E Correct shielding of
110. ted data was transferred 07 Connection The messaging connection was lost lost 08 Service not The requested service was not implemented or was not defined for supported this Object Class Instance 09 Invalid Invalid attribute data detected attribute value OA Attribute list An attribute in the Get_Attribute_List or Set_Attribute_List error response has a non zero status 0B Already in The object is already in the mode state being requested by the requested service mode state oc Object state The object cannot perform the requested service in its current conflict mode state 0D Object already The requested instance of object to be created already exists exists OE Attribute not A request to modify a non modifiable attribute was received settable OF Privilege A permission privilege check failed violation 10 Device state The device s current mode state prohibits the execution of the conflict requested service 11 Reply datatoo The data to be transmitted in the response buffer is larger than the large allocated response buffer 12 Fragmentation The service specified an operation that will fragment a primitive ofa primitive data value i e half a REAL data type value 13 Not enough The service did not supply enough data to perform the specified data operation 14 Attribute not The attribute specified in the request is not supported supported 15 Toomuchdata The service supplied more data than expected D301051 BL20 PG EN IP
111. the address mode a voltage reset must be carried out 4 6 3 Address setting via the rotary mode When using the rotary mode the last byte of the gateway s IP address can be set via the rotary coding switches at the gateway Note i All other network settings are stored in the module s non volatile EEPROM and can not be changed in the rotary mode Addresses in the range from 0 to 254 can be allocated The addresses 0 and 255 are reserved for broadcast messages in the subnet D301051 BL20 PG EN IP 1211 4 9 Technical Features The following example shows the setting of the address 173 Figure 4 8 Adr x 100 Address setting 333 8 2 7 3 654 Set 901 9 0 1 8 2 2 7 8 8 65 4 67g 4 Adr x 10 Adr x 1 000 192 168 1 254 1 254 Static rotary 300 BootP 400 DHCP 500 PGM 600 PGM DHCP Attention The settings carried out in the rotary mode are not stored in the module s EEPROM Thus they will get lost in case of a subsequent address assignment via a BootP DHCP or PGM Attention After changing the position of the rotary coding switches a voltage reset must be carried out to store the new address 4 6 4 Address setting via BootP mode The address setting is carried out by a BootP server in the network after the start up of the gateway In order to activate the BootP mode the rotary coding switches have to be set to 300 Figure 4 9 BootP mode Adr x 100 9 0 Set 9 0 4 2 8 2
112. tified via its MAC ID Write a ping command for the respective station IP address example x ping 192 168 1 100 Via the command x Warp a the MAC ID 00 07 46 ff 60 13 for this IP address is determined This MAC ID clearly identifies the network node Figure 3 3 WINDOWS system32 cmd exe jol Determination of Copyright 1985 2661 Microsoft Corp the MAC ID ofa is not recognized as an internal or external command j operable program or batch file BL20 module via C gt pi 192 168 1 100 gt ping sie ARP Pinging 192 168 1 16 with 32 bytes of data Reply from 192 168 1 188 byte time 1ms TTL 68 Reply from 192 168 1 188 byt time 1ms TTL 68 Reply from 192 168 1 time 1ms TTL 68 Reply from 192 168 1 32 time lt ims TTL 68 Ping statistics for RESET PRI ESO Packets Sent 4 Received 4 Lost By loss gt Approximate round trip times in nilli seconds Minimum ms Maximum ims Average ms C gt arp a Interface 192 168 1 109 0x3 Internet Address Physical Address Type 192 168 1 1008 dynamic IG gt 3 6 D301051 BL20 PG EN IP 1211 Industri A 4 Technical Features 4 1 G n ral M P 2 4 2 FUNCTION 2 4 3 FUNCTION 2 4 3 1 ProgrammiNO aiii bailado ii 2 4 4 Technical Data 3 4 4 1 CCEPIT 3 4 5 Connection possib
113. tion is also recommended for the in and output words see also Note on page 6 11 Note i Please observe that BL20 EtherNet IP gateways are Big Endian systems Motorola format D301051 BL20 PG EN IP 1211 6 13 Configuration of the BL20 PG EN IP with CoDeSys As shown in the following figure the high byte of the word is listed first IX26 gt bit 8 to bit 15 the low byte follows the high byte IX27 gt bit 0 to bit 7 The comments Bit 0 Bit 1 etc in the example have been changed according to the application Attention A Up to the time of the release of this manual the automatic allocation of the comments by the software was faulty and did not show the correct bit order The CoDeSys comments always start with Bit 0 for the first bit of the in and output words But due to the Big Endian Motorola format of the BL20 PG EN IP this is not correct The correct data mapping starts with the high byte bit 8 to bit 15 of the data word the low byte bit 0 to bit 7 follows the high byte see the following figure Figure 6 19 Symbolic address allocation for EtherNet IP words Configuration BL20 PG EN IP EI BL20 IO SLOT E EthernetilP Words SLOT Input Word DO Bk AT 13 WORD _IN_WordO_Byte1_Bit8 AT IX26 0 BOOL Bit 8 _IN_WordO_Byte1_Bit AT IX26 1 BOOL Bit 9 IN Word0 Byte1 Bit 0 AT 9626 2 BOOL Bit 10 _IN_WordO_Byte1_Bit11 AT 9626 3 BOOL Bit 11 N_WordO
114. tomation functions Install automation devices and related operating elements in such a way that they are well protected against unintentional operation Suitable safety hardware and software measures should be implemented for the I O interface so that a line or wire breakage on the signal side does not result in undefined states in the automa tion devices Ensure a reliable electrical isolation of the low voltage for the 24 volt supply Only use power supply units complying with IEC 60 364 4 41 VDE 0 100 Part 410 or HD 384 4 41 S2 Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications otherwise this may cause malfunction and dangerous operation Emergency stop devices complying with IEC EN 60 204 1 must be effective in all operating modes of the automation devices Unlatching the emergency stop devices must not cause restart Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed Desktop or portable units must only be operated and controlled in enclosed housings Measures should be taken to ensure the proper restart of programs interrupted after a voltage dip or failure This should not cause dangerous operating states even for a short time If neces sary emergency stop devices should be implemented Wherever faults in the automation system may cause damage to pers
115. ttribute Get Set Type Description Instance attri Name butes 1 0x01 STATUS G DWORD Interface status see page 5 17 2 0x02 CONFIGURATI G DWORD Interface Capability Flag ON see page 5 17 CAPABILITY 3 0x03 CONFIGURATI G S DWORD Interface Control Flag ON CONTROL see page 5 18 4 0x04 PHYSICALLINK G Structure of OBJECT Path size UINT Number of 16bit words 0x02 Path Padded 0x20 OxF6 0x24 0x01 EPATH 5 INTERFACE G Structure TCP IP Network Interface Configuration 0x05 CONFIGURATI of see page 5 18 ON IP ADDRESS G UDINT 0 no IP address configured NETWORK G UDINT 0 no network mask address configured MASK GATEWAY G UDINT 0 Default gateway IP address configured ADDRESS NAME SERVER G UDINT 0 no name server address configured NAME SERVER UDINT 0 no secondary name server address 2 configured Attr No Attribute Get Set Type Description Name 5 0x05 DOMAIN G UDINT 0 no Domain Name NAME configured 6 0x06 HOST NAME G STRING 0 no Host Name configured see page 5 18 Common Services Table 5 26 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 02 0x02 no no Set Attribute All 14 OxOE yes yes Get Attribute Single 16 0x10 no yes Set Attribute Single D301051 BL20 PG EN IP 1211 Classes and Instances of the EtherNet IP Gateway Industri A E Interface Status The Status attribute indicates the status of the TCP IP network interface Refer to the state diagra
116. ule Supply Nominal current consumption Nominal current consumption of the BL20 modules enims bus Gateway 1 500 mA 430 mA BL20 PF 24VDC D 28 mA BL20 PF 120 230VAC D 25 mA BL20 2DI 24VDC P 28 mA BL20 2DI 24VDC N 28 mA BL20 2DI 120 230VAC 28 mA BL20 4DI 24VDC P 29 mA BL20 4DI 24VDC N 28 mA BL20 4DI NAMUR 40 mA BL20 E 8DI 24VDC P 15mA BL20 E 16DI 24VDC P 15mA BL20 16DI 24VDC P 45mA BL20 32DI 24VDC P 30 mA BL20 1Al 1 0 4 20MA 41 mA BL20 2AlI 1 0 4 20MA 35 mA BL20 1AI U 10 0 10VDC 41 mA BL20 2AI U 10 0 10VDC 35 mA BL20 2AI PT NI 2 3 45 mA BL20 2AI THERMO PI 45 mA BL20 4AI U l 30 mA BL20 2DO 24VDC 0 5A P 32 mA D301051 BL20 PG EN IP 1211 7 5 Guidelines for Station Planning Module Supply Nominal current consumption BL20 2DO 24VDC 0 5A N 32mA BL20 2DO 24VDC 2A P 33mA BL20 2DO 120 230VAC 0 5A 35 mA BL20 4DO 24VDC 0 5A P 30 mA BL20 E 8DO 24VDC 0 5A P 15 mA BL20 E 16DO 24VDC 0 5A P 25 mA BL20 16DO 24VDC 0 5A P 120 mA BL20 32DO 24VDC 0 5A P 30 mA BL20 1A0 1 0 4 20MA 39 mA BL20 2A0 1 0 4 20MA 40 mA BL20 2A0 U 10 0 10VDC 43 mA BL20 2DO R NC 28 mA BL20 2DO R NO 28 mA BL20 2DO R CO 28 mA BL20 1CNT 24VDC 40 mA BL20 1RS232 140 mA BL20 1RS485 422 60 mA BL20 1SSI 50mA BL20 2RFID 30mA BL20 E 1 SWIRE 60 mA 7 6 If the power supply from the module bus is not guaranteed thereby ma
117. ust be protected against corrosion Compensation cables and data cables should be routed as close together as possible meaning the enclosed area should be kept as small as possible Switching Inductive Loads In the case of inductive loads a protective circuit on the load is recommended Protection against Electrostatic Discharge ESD Attention Electronic modules and base modules are at risk from electrostatic discharge when disassembled Avoid touching the bus connections with bare fingers as this can lead to ESD damage D301051 BL20 PG EN IP 1211 9 BL20 Approvals for Zone 2 Division 2 Note i The Zone 2 approval certificates for BL20 can be found in a separate manual for approvals D301255 on www turck de D301051 BL20 PG EN IP 1211 9 1 BL20 Approvals for Zone 2 Division 2 9 2 D301051 BL20 PG EN IP 1211 Industri A 10 Appendix 10 1 Network qeluruicrunp 2 10 2 Changing the IP address of a PC network interface card sssseccocoeccccccccoccccoccccccccccocccccccccccccocccceceee 3 10 2 1 Changing the IP address in Windows 2000 Windows XP eeeeecceeeeeeneeeeeeeeeneeeeeeenaaeeeeeeesaaeeeeeeeaaees 3 10 2 2 Changing the IP address in Windows NT nennen nnne nnne nennen enne 4 10 2 3 Changing the IP address via l O ASSISTANT sseeseseeeeeneeenn nennen ne nennen nent nnns 6 10 3 Deactivating adapting the firewall in Window
118. ynamicallocation DHCP assigns an IP address to a client for a limited period of time After this time or until the client explicitly relinquishes the address the address can be re assigned E n manual allocation a client s IP address is assigned by the network administrator and DHCP is used simply to convey the assigned address to the client D301051 BL20 PG EN IP 1211 4 11 Technical Features 4 6 6 Address setting via PGM mode The PGM mode enables the access of I O ASSISTANTs to the module s network settings In order to activate the PGM mode the rotary coding switches have to be set to 500 Figure 4 11 Adr x 100 PGM mode 0 9 0 8 2 67g 4 Set 9 0 9 0 8 2 8 2 67g 4 6g 4 Adr x 10 Adr x 1 000 192 168 1 254 1 254 Static rotary 300 BootP 400 DHCP 500 PGM 600 PGM DHCP Note i In the PGM mode all network settings IP address subnet mask etc are read from the module s internal EEPROM The settings carried out in the rotary mode are stored in the module s non volatile EEPROM 4 6 7 Addressing via PGM DHCP The addressing of the BL20 EtherNet IP gateway via PGM DHCP is at the moment comparable to the addressing via DHCP see page 4 11 D301051 BL20 PG EN IP 1211 Address Setting 4 6 8 X Address setting via l O ASSISTANT 3 FDT DTM The software l O ASSISTANT enables direct access to the Ethernet network via the Ethernet cable Naturally the access to the single station v
119. your BL20 station BL20 PG EN IP and I O modules and switch on the power supply 2 The gateway saves the actual station configuration if the SET button under the cover on the gateway is pressed for approx 10 seconds The actual station configuration is now stored in the gateway as a reference module list Note i As soon as an application is loaded to the PG the station configuration stored in the application is stored to the PG as reference module list IF no application is loaded to the PG the SET button has to be pressed after every change in the station configuration 3 The gateway now executes a reset 4 Ifthe IO LED lights up green after the gateway s reset the new station configuration has been successfully stored D301051 BL20 PG EN IP 1211 6 5 Configuration of the BL20 PG EN IP with CoDeSys 6 4 Configuration Programming of the PG in CoDeSys 6 4 1 Creating a new project Start the Software an create a new project using the File gt New command Chose the BL20 PG EN IP as target Normally a further configuration of the gateway in the dialog box target settings is not necessary Note i The BL20 PG EN IP uses the word addressing mode see the following table Please observe therefore that the parameter Byte addressing mode in the General tab is always deactivated 1XO 0 96 X0 8 96IX 1 0 96IX 1 8 961X2 0 961X2 8 961X3 0 961X3 8 IX4 0 Y01X4 8 96IX5 0 96IX5 8 961X0 7
Download Pdf Manuals
Related Search
Related Contents
FC4901 ÖWAMAT® 10 - CAG Purification Liebert ITA 20 KVA Télécharger le catalogue revendeur Failure analysis of Selectronic dynamo regulator 1 Failed regulator SUPER ® - Supermicro Report - Image Group Betriebsanleitung Operating instructions Mode d'emploi RCA VR618HF Cassette Player User Manual Copyright © All rights reserved.
Failed to retrieve file