Home
BL20 - User manual for EtherNet/IP™ (EN)
Contents
1. Setting outputs e i atmoduleno 7 529 i t BL20_1 1 252 quss BL20 1 0 eee ana H BL20 1 0 Data fiscal Decimal BL20_1 0 Data 0 Decimal F BL20 1 0 Data 1 m 3 Decimal lu BL20 1 0 Data 2 7 6 5 al 3 2 1 o Decimal I amp BL20 1 0 Data 3 7 0 o of of 0 of of a 1 Decimal BL20_1 0 Data 4 15 8 o o 0 ol olo 0 o Decimal i tH BL20 1 0 Data 5 UT Decimal H BL20 1 0 Data 5 Decimal BL20_1 0 Data 0 Decimal BL20 1 0 Data f o Decimal I H BL20 1 0 Data S Decimal BL20_1 0 Data 10 0 Decimal 3 BL20 1 0 Data 11 0 Decimal I H BL20 1 0 Data 12 0 Decimal D301034 1211 BL20 EtherNet IP 6 23 Application example BL20 gateway with an Allen Bradley PLC 6 24 D301034 1211 BL20 EtherNet IP Industri A 7 Guidelines for station planning 7 1 Random module arrangement ee eruere eee esee eese eoo so osos ss ssP sss ss sss s sss PPP e eee eee ee eee ee eee ee eee esee esee e eee 2 7 1 1 roinifelit do unteeE H 2 7 42 Maximum SYSTEM SXTCM SION e 2 7 2 Power supply 7 2 1 Module bus refreshing 7 2 2 Creating potential groups 7 2 3
2. Modules Power supply Nominal current consumption BL20 2DO 120 230VAC 0 5A P 35 mA BL20 1AO I 0 4 20MA lt 39mA BL20 2AO I 0 4 20MA lt 40 mA BL20 2AO U 10 0 10VDC lt 43 mA BL20 2DO R NC lt 28 mA BL20 2DO R NO lt 28 mA BL20 2DO R CO lt 28 mA BL20 1CNT 24VDC lt 40 mA BL20 2RFID A 30mA BL20 E 1SWIRE 60 mA D301034 1211 BL20 EtherNet IP 10 25 Appendix 10 3 Power loss of the modules Table 10 11 Modules Power loss typical Power loss ofthe BL20 modules Gateway BL20 BR 24VDC D BL20 PF 24VDC D BL20 PF 120 230VAC D BL20 2DI 24VDC P 0 7 W BL20 2DI 24VDC N 0 7 W BL20 2DI 120 230VAC 1W BL20 4DI 24VDC P 1W BL20 4DI 24VDC N 1W BL20 16DI 24VDC P 25W BL20 32DI 24VDC P 42W BL20 1AI I 0 4 20MA 1W BL20 2AI I 0 4 20MA 1W BL20 1AI U 10 0 10VDC lt 1W BL20 2AI U 10 0 10VDC lt 1W BL20 2AI PT NI 2 3 1W BL20 2AI THERMO PI 1W BL20 2DO 24VDC 0 5A P 1W BL20 2DO 24VDC 0 5A N 1W BL20 2DO 24VDC 2A P 1W BL20 4DO 24VDC 0 5A P lt 1W BL20 16DO 24VDC 0 5A P 4W BL20 2DO 120 230VAC 0 5A 1W BL20 1AO 1 0 4 20MA 1W BL20 2AO 1 0 4 20MA 1W BL20 2AO U 10 0 10VDC 1W BL20 2DO R NC 1W BL20 2DO R NO 1W BL20 2DO R CO 1W BL20 1CNT 24VDC 1 3W 10 26 D301034 1211 BL20 EtherNet IP Industri A 10 Glossary Acknowledge Acknowledgment of a signa
3. Table 10 6 Designation Value Meaning Meaning of the data bits RXBUF FLUSH 0 1 This bit is used to flush the receive buffer process output If STATRES 1 The command RXBUF FLUSH 1 is ignored If STATRES 0 RXBUF FLUSH 1 causes the flushing of the receive buffer TXBUF FLUSH 0 1 This bit is used to flush the transmit buffer If STATRES 1 The command TXBUF FLUSH 1 is ignored If STATRES 0 TXBUF FLUSH 1 causes the flushing of the tranceive buffer STATRES 0 1 This bit is set to reset the STAT bit in the process input data With the change from 1 to 0 the STAT bit is reset from 0 to 1 If this bit is 0 all changes in TX BYTE CNT TX CNT and RX CNT ACK are ignored Flushing the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is possible If this bit is 1 or with the change from 0 to 1 the flushing of the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is not possible RX CNT ACK 0 3 The value RX_CNT_ACK is a copy of the value RX_CNT TX CNT has been transmitted together with the last data segment of the process input data TX CNT ACK is an acknowledge for the successful transmission of the data segment with RX CNT TX CNT 0 3 This value is transferred together with every data segment The TX CNT values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments TX_BYTE_CNT 0 7 Number of
4. see 5 36 Digital Output Module Class eee 5 38 Digital Versatile Module Class sees 5 82 UD M RM 9 1 E earth free operation sss 8 6 electromagnetic compatibility sess 8 6 electronics modules sse 2 3 electrostatic discharge sse 8 9 EMG aote uxore oboxad eo oo opm Dion 8 6 end bracket eid tidie tere eaa HR I en 2 7 end plate usce eee ae dei 2 6 ESD electrostatic discharge sss 8 9 Ethernet cic mee OR RH ERROR RICE 6 3 4 SIP address scs eer reiecit a E dts 3 4 SMACSID ipt ERE OR BU bees 3 4 manufacturer identifier sss 3 4 snetmas aot i e eas 3 4 D301034 1211 BL20 EtherNet IP Industri A network classes sse 3 4 esu E 3 4 explicit messages sss 5 3 F firmware download sss 7 13 flexibility rior oro dene daniels 2 2 G gateway addressing i2eideiacie pr pope pA gs 4 8 BOOTP mode sse 4 10 SDHCP mode ir ero nd terns 4 11 PGM mode aiia aniani nennen nennen 4 12 rotary mode ssssseseeeeeeeennnns 4 9 6 10 aig EUER 4 4 technical data sss 4 4 gateways hridi tieni ee erba aiaa 2 3 I l O messages irrito ier sd prr 5 3 inductive loads protective circuit eese 8 9 input assembly instance ssme 5 14 Instanc
5. 5 2 2 Identity Object 0x01 ess 5 2 3 Message Router Object OXO2 sssscssssccseccsseccssecsssecsssecsssccsssccssecessecsssccessecsscecsssceessecsusecssseessseesssecssscessscesuscesuscesasecessecsseeeeaseesssees Message Router Request Response Formats sssssssssecssecssecseecssscseccnsceseccnsccssccnsecssecssecssecssecssecssecsnee sessecansesnscessecsscenseesseeee 9 524 Assembly Oj OC ass sns emiten ewe IMS E E E Ene M Instance 102 Instance 103 Instance 104 Mapping of Process Data sse Data mapping for gateways with rev lt 1 6 0 sssssscsssesccssesccssssecssssecsnssseessssesssssesssseseesusscessssessnsssessssseeesseceesnseeeesnneeesnesees 15 Data mapping for gateways with rev 2 1 6 0 1 essent eennntennnn tentent tetto tton tentat ttten is teeto tenente 16 5 2 5 Connection Manager Object OX06 scsssccseccssecsssecsssecsssccssescsscsesseecsscessuccessccsssecsssecsssecsnscesssecsssccesscessseessuecesneeeseeessneeesneeess 17 5 2 6 Port Object SUP o MM 5 2 7 TCP IP Interface Object OxF5 5 2 8 Ethernet Link Object 0XF6 MM 5 3 VSC Vendor Specific Classes ccccccccccccccccsrcccscccccccccccccccccccccccceccccccccesccccccccsccsccccccsscccscccesccecs 25 5 3 1 Classilinstance OF the VSG 5 3 2 Gateway Class VSC IU zxels aulia e z
6. Industrial Automation BL2O USER MANUAL 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 Warning Before commencing 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 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 equal ization The system installer is responsible for implementing this connection Connecting cables and signal lines should be installed so that inductive or capacitive interfer ence do not impair the automation fu
7. 130 82h Sensor input filter A G S ENUM USINT Defines the value of the input filter A Sensor input filter A 0 2 5 ms 200 kHz 1 25 ms 20k Hz 2 to 255 reserved 5 58 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 49 Attr No Attribute name Get Type Description Object instance dec Set hex 131 Sensor inputfilter G S ENUM Defines the value of the input filter B 83h B USINT Sensor input filter B 0 2 5 ms 200 kHz 1 25 ms 20 kHz 2 to 255 reserved 132 Sensor inputfilter G S ENUM Defines the value of the input filter DI 84h DI USINT Sensor input filter DI 0 2 5 ms 200 kHz 1 25 ms 20 kHz 2 to 255 reserved 133 Sensor A G S ENUM Defines the sensor mode 85h USINT ENUM USINT sensor A 0 normal 1 inverted 2to 255 reserved 134 Direction input B G S BOOL States if the direction input B will be inverted 86h Direction input B FALSE normal TRUE inverted 135 Group diagnostics G S BOOL Defines if the group diagnostic will be 87h transmitted to the gateway or not Group diagnostic FALSE release TRUE block 136 Onl Oconnection G S ENUM Defines the behavior of the module in the cased 88h fault USINT of an I O Connection Fault of the gateway Behavior by I O Connection Fault parameter name of the counter CPU master STOP 0 turn off DO1 1 proceed w
8. 1 0 Counting is stopped The starting and stopping of the counting operation with a data bit is implemented with a so called SW gate The HW gate is also provided in addition for stopping and starting the counting operation via the DI hardware input If this function is configured a positive signal must be present at this input in order to activate the SW gate AND logic operation LOAD DO PARAM Parameter definition of the DO1 physical output and the virtualA DO2 output 0 1 DO1 and DO2 can indicate the status of data bit SET DO1 and SET DO2 or comparison results The latest telegram MODE DO1 and MODE D0OJ2 indicates the function required for DO1 and DO2 LOAD CMP VAL2 Parameter definition of reference value 2 0 1 The value in bytes 0 to 3 is accepted as a reference value 2 LOAD CMP VAL1 Parameter definition of reference value 1 0 1 The value in bytes 0 to 3 is accepted as a reference value 1 LOAD PREPARE Parameter definition of Load counter in preparation Q 1 The value in bytes 0 to 3 is accepted as the new load value LOAD VAL Parameter definition of Load counter direct 0 1 The value in bytes 0 to 3 is accepted directly as the new count value D301034 1211 BL20 EtherNet IP 10 9 Appendix Process output data measurement mode The data is transferred in 8 byte format E Two control bytes contain
9. E All BL20 modules gateway Power Feeding and l 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 O module power feeding Block diagram ofaBL20station fieldbus module bus D301034 1211 BL20 EtherNet IP 8 5 Guidelines for electrical installation 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 EMC The EMC of BL20 modules is guaranteed when the following basic rules are adhered to Correct and large surface grounding of inactive metal components Correct shielding of 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 top hat rails etc must be connected to one another over a large surface area and with a low impedance grounding This gua
10. ssecsssscssscsssscsssessscccsscessseecssccesnccesuecessecessecensecessesuceessecesusessuccesuecessecessecenseetes 5 40 Analog Output Voltage Module Class VSC107 ccsssssssssssssessssecsscccssccsstesssccesssecsueecsuecessecessecssseesssesuscesusecssceesseesneessnecesneeesies 5 42 Analog Input Current Module Class VSC108 Analog Output Current Module Class VSC109 Analog Input PT100 NI Module Class VSC110 Analog Input THERMO Module Class VSC111 Counter Module Class VSCT42 i5 eee tite ee ertet tese a totus despues e tete bre don uen e eee e tette RS232 Module Class VSCT14 ere ttr Secdescsstubecettctelbuseevendcssbsecesatis cu sticoseredisscabadedentic vel gtdeetbesceubssreeshctesebeucecossecont RS485 422 Module Glass VSC 1115 oir retro eec E b e E Ene Eee ge RESUME Rees UNES AEE iE ao SSI Module Class VSC1 16 eene Digital Versatile Module Class VSC1 17 Analog Versatile Module Class VSC118 D301034 1211 BL20 EtherNet IP Industr A 53 20 SWIRE module class VSC121 coccsssccccssscesescccoscteseccavecossseccescacsotescevececsosesadsosaxaisuastecubeese at ee E REEL Ee sat scsecvevedossuvadatastesasasessatsedoras 5 89 5 3 21 RFID S module class VSC124 vuccscsscsssssssscssssssssesscssssssssssesssssssssssssessessesscsessssssssessssssssessesussssessesesssssssssssessessessesessesssssssesssssessesssseses 5 94 6 Application example BL20 gateway with an Allen Bra
11. 66h process input data WORD 103 Process databyte G USINT The number of bytes that are exchanged with this 67h count Instance Note The following object instances of VSC 102 Object instance 2 to Object instance 8 are only valid for gateways with Maj Rev gt 1 6 0 Object Instance 2 standard output process data compressed Table 5 37 Attr No Attribute name Get Type Description Object instance dec Set 2 standard hex output process data 100 Max object G USINT Contains the number of the last object attribute compressed 64h attribute to be implemented 101 Attribute list G ARRAYOF List of all attributes that are supported by this 65h USINT Instance 102 Standard packed G S ARRAYOF Output process data 16 bit aligned compressed 66h process output WORD data 103 Process databyte G USINT The number of bytes that are exchanged with this 67h count Instance 5 32 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Object Instance 3 diagnostic instance Industri A Table 5 38 Attr No Attributename Get Type Description Object Instance Set dec 3 diagnostic i hex instance 104 GW G S BOOL 0 disabled 68h summarized 1 enabled 1 bit of diagnosis per slot mapped at diagnostics the end of the input data image page 4 21 The actual data is loaded to the non volatile memory of the gateway Changes become valid after a start up 105 GW G S BOOL 0 disabled 69h
12. Industri A Figure 7 1 Gateway 2DI 2DO 2DI 2DO 2D1 1A0 BR Al 2D NO Power supply of E the station m Gee A TT 10 100 MBit Ue 40 ETE o E TS Field SBBC B supply gt Field supply System Sypp y 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 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 PS416 ZBX 405 This is to be placed immediately next to the connection terminals From there 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 Ensure that the correct base modules are planned for when using Bus Refreshing modules D30
13. LOAD INTTIME Parameter setting of the Integration time 0 1 Bytes 0 to 1 of this process output represent a factor for forming the Integration time for frequency measurement and for determining the rotational speed The integration time can be adjusted between 10 ms and 10 s in 10 ms increments and is produced by multiplying the factor x 10 ms With period duration measurement this factor determines the number of periods measured in order to calculate a mean value A factor 1 to 1000 1hex to 3E8hex is permissible LOAD UPLIMIT Parameter setting of the upper measuring limit 0 gt 1 The value in bytes 0 to 3 is accepted directly as the new upper measuring limit LOAD UPLIMT 1 to 200 000 000 x 10 Hz 1 to 25 000 000 x 10 rpm 1 to 100 000 000 ms LOAD LOPLIMIT Parameter setting of the lower measuring limit 0A 1 The value in bytes 0 to 3 is accepted directly as the new lower measuring limit LOAD LOLIMIT 0 to 199 999 999 x10 Hz 0 to 24 999 999 x 10 rpm 0 to 99 999 999 ms MODE DO1 MODE DO I is only valid if LOAD DO PARAM 0 gt 1 The physical output DO1 can show the status of the data bit SET DO1 or comparison results if CTRL DO1 1 MODE DO defines which function DO1 is to accept 00 The output DO1 indicates the status of the control bit SET DOT 01 The output DO1 indicates a measurement outside of the limits i e above the upper measuring limit or below the lower measuring limit ST
14. 1000 V DC 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 D301034 1211 BL20 EtherNet IP 4 5 Technical features 4 4 Connection possibilities 4 4 1 Field bus connection Ethernet connection The connection to Ethernet is realized via female RJ45 connector Figure 4 3 female RJ45 connector EIE 87654321 ONOORWNM Won Won noH og a 22322 65X55 I 4 4 2 Power Supply via terminal block with screw connection The power supply is realized via terminal block with screw connection technology Table 4 2 Pin assignment the terminal blocks Signal Description Usys System supply Gateway module bus Usys Ut Field supply max 10 A U 4 4 3 Service interface connection female PS 2 connector 4 6 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 PS 2 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 D301034 121
15. 4 14 D301034 1211 BL20 EtherNet IP Address setting Figure 4 14 Busaddress management File Edit View Project Device Extras Window Help ines a mma Ba 8 Bas xxx PW3 PACTware Connect i Disconnect ge Load from device n Store to device Boje3e a3i ag d Parameter Measured value Simulation Diagnostics Display channels Channels Up Download Manager Print Additional Functions Compare offline 4 Add device Compare online Delete device set va Properties lt TCP IP gt BL Service Ethernet Identification TM are Browser HIMA Export Accessory Preset DTM TAG address tag DTM maintenance Administrat LE Write device data to File Figure 4 15 Search for Network nodes ASearchfunction E e c iJ s rt A Busaddress management in the Online available devices A bu saddres S IndustrialNet 192 168 1 15 255 255 255 0 v management Devicetype OninelD IPaddress Netmask_ Gateway Ethernet address Mode Planned devices Device type Online ID_ Busaddress Designation Tag D301034 1211 BL20 EtherNet IP 4 15 Technical features 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 FH The access of the IO ASSISTANT to the gate
16. 70h Contains the diagnostic data of the counter module Bits 0 to 7 apply to the counter mode CNT bits 8 to 15 the counter mode MSRM CNT BitO 0 ok 1 short circuit open circuit Bit1 0 ok 1 short circuit in sensor power supply 24 VDC Bit2 0 ok 1 upper limit wrong Bit3 0 ok 1 lower limit wrong Bit4 0 ok 1 itis not permitted to invert the level of the digital input when using the latch retrigger function 112 Counter diag G WORD 70h CNT Bit5 0 ok 1 main count direction wrong Bit6 0 ok 1 counter operating mode wrong Bit7 0 CNT Mode NOT active 12 CNT Mode active MSRM Bit 8 0 ok 1 short circuit open circuit Bit9 0 ok 1 short circuit in sensor power supply 24 VDC Bit10 0 ok 1 sensor pulse wrong Bit11 0 ok 1 integration time wrong D301034 1211 BL20 EtherNet IP 5 55 Implementation of EtherNet IP Table 5 49 Object instance ADependon the selected operating mode CNT MSRM and are not supported in the other operating mode Please refer to Attribute No 113 BASIC MODE 5 56 Attr No Attribute name Get Type dec Set hex Description 112 Counter diag G WORD 70h MSRM Bit12 0 ok 1 upper limit wrong Bit13 0 ok 1 power limit wrong Bit14 0 ok 1 measurement operating mode wrong Bit15 0 measurement Mode NOT active 1 measurement Mode active 113 Basic mode G S ENUM 71h USINT Defi
17. Process input data measurement mode E 4bytes contain the measurement value 1byte contains diagnosis information E 2 bytes contain status messages Figure 10 2 F PZDE counter Data image measurement mode Process input data Measurement mode CNT gt SPS Status information sts_ sTs_ few u x x J v 89 Sic x Sts_ srs x STIS x x x cM P1 i reserved 10 4 D301034 1211 BL20 EtherNet IP Data image of the technology modules Industri A Table 10 2 Meaning of the data bits process input Bits Explanations ERR_24Vdc Short circuit sensor supply This diagnostics information must be acknowledged with the EXTF_ACK process output control bit ERR_DO Short open circuit excess temperature at the output DO1 ERR_PARA 1 There is a parameter error ERR PARA is a group diagnostics bit With the separate diagnostics message bits 3 to 6 describe the parameter errors in more detail 0 The parameter definition is correct as per specification RES_STS_A 1 Resetting of status bits running The last process output telegram contained RES_STS 1 0 The last process output telegram contained RES_STS 0 ERR_LOAD 1 Error with load function The control bits LOAD_UPLIMIT and LOAD_LOLIMIT must not be set simultaneously during the transfer The value of LOAD_UPLIMT and LOAD_LOLIMIT was selected outside of the permissible range P
18. ENUM USINT Number of the stop bits 0 1 bit 1 2 bits D301034 1211 BL20 EtherNet IP 5 65 Implementation of EtherNet IP Table 5 50 Attr No Attribute name Get Type Description Object instance di Set hex 135 XON G S USINT XON character 87h character This sign is used to start the data transfer to the data terminal equipment DTE with the activation of the software handshake 0 255 default 17 11h 136 XOFF G S USINT XOFF character 88h character This sign is used to stop the data transfer to the data terminal equipment DTE with the activation of the software handshake 0 255 default 19 13h 5 66 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes 5 3 16 RS485 422 Module Class VSC115 This Class contains all information and parameters for RS485 422 modules Industri A Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 51 Attr No Attribute name Get Type Description Object instance ru Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 2 module missing base module without 65h electronic module 1 2 module is plugged 102 Terminal slot G USINT The slot number of the base module belonging to 66h number the module b
19. TURCK 00 07 46 xx xx Xx Table 5 29 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 Duplex 0 half duplex Depends on 1 full duplex application If the Link Status flag is 0 the value of the Half Full Duplex flag is indeterminate D301034 1211 BL20 EtherNet IP 5 23 Implementation of EtherNet IP Table 5 29 Bits Name Definition Default Value Interface flags 2to4 Negotiation Status Indicates the status of link Depends on 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 negotiation not attempted Forced speed and duplex 5 Manual Setting 0 interface can activate changes to link 0 Requires Reset parameters auto negotiate duplex mode interface speed automatically 1 2 device requires a Reset service to be issued to its Identity Object in order to adapt the changes 6 Local Hardware Fault 0 interface detects no local hardware fault 0 1 a local hardware fault is detected Common Services Table 5 30 Service Code Class Instance Service Name Comm
20. aesartoareaticasaissentci iesahia dancin 4 3 1 4 Checking the communication via ping signals sscssesecssesecesesecssececssssccesssccessscecsnscersnseecessscessscessnscersnseccessscessnessceseeeeeeee 5 3 1 5 ARP Address Resolution Protocol cicscssssssssssssssssscsscssssssssssssssessessssessssssssesssssssssssssesssssssssecsessessesssssssssssssessesssssesessesssessssessessess 5 D301034 1211 BL20 EtherNet IP 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 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 D301034 1211 BL20 EtherNet IP System description Industri A IP Internet Protocol The Internet Protocol is a connection free transport
21. 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 ping signal cx C WINDOWS system32 cmd exe i n x Microsoft Windows XP Version 5 1 26061 lt C gt Copyright 1985 2661 Microsoft Corp is not recognized as an internal or external command operable program or batch file C gt ping 192 168 1 106 Pinging 192 168 1 108 0 TM Rye te ae Reply from 192 168 1 108 bytes 32 time ims TTL 68 2 time lt ims TTL 68 2 time lt ims TTL 66 Reply from 192 ETIN 1 1106 Bete 2 time ims TTL 68 Ping statistics for 192 168 1 106 Packets Sent 4 Received 4 Lost x loss Approximate round trip times in milli seconds Minimum ms Maximum ims Average ms ERST 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 identified via its MAC ID E Write a ping command for the respective station IP address example xN ping 192 168 1 100 Viathe 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 Determination ofthe MAC ID of a
22. network interface card E Inthe Exceptions tab add the I O ASSISTANT to Programs and Services E Pressing the button Add Program opens the dialog Add a Program Select the I O ASSISTANT from the list of installed programs E f necessary use the button Browse to choose the file IOassistant exe from the installation directory of the software n ae es M Windows Firewall xceptions tab General Exceptions Advanced Windows Firewall is blocking it programs and services selectd Add to work better but might increa a Program 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 Nene Programs BOOTP DHCP Server fe OfficeScan Client O File and Printer Sharing f y OfficeScan Client deinstallieren DlLaunch amp nywhere GUI SRIOPC Configurator 1 00 LeechFTP B OPC Test Client Remote Assistance QF OFC TestClient 1 61 O Remote Desktop 3 Dutlook Express O UPnP Framework BPC Worx 5 10 22 Q Pinball E Reset Activation 32 Bit RobcHELP Classic Add Program Path C Programme PACTware Consortium PACT Display a notification wher What are the risks of allowing Despite an active firewall the I O ASSISTANT is now able to browse the network for hosts and the address changing via the software is possible for the connected nodes
23. 07 46 00 04 05 PGM BL Service Ethernet Busaddress masagementedgies SSS Planned devices Q Wie TP settings pto davies __ Device type t Lowe OK Cancel e E A E E S Note F For further information about the I O ASSISTANT it s functions and it s handling please read the online help of the software D301034 1211 BL20 EtherNet IP 6 7 Application example BL20 gateway with an Allen Bradley PLC Deactivating adapting the firewall in Windows XP If you use Windows XP as operating system problems may occur when changing the IP addresses via the I O ASSISTANT In this case you can deactivate the system integrated Windows XP firewall completely or adapt it to your application Deactivating the firewall Open the Windows Firewall dialog in the control panel of your PC and deactivate it as follows Figure 6 7 3 Windows Firewall Deactivating TaT eneral E ji Ad d the Windo ws xceptions vance firewall Windows Firewall helps protect your computer by preventing unauthorized users from gaining access to your computer through the Internet or a network On recommended This setting blocks all outside sources from connecting to this computer with the exception of those selected on the Exceptions tab Don t allow exception 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 Selec
24. 0A 14 0A 13 0A 12 04 11 0114 0113 0112 0111 0130 0129 0128 0127 0K 14 0K 13 0K 12 0K 11 0K 30 0K 29 0K 28 0K 27 0K 46 0K 45 0K 44 0K 43 0K 62 0K 61 0K 60 0K 59 10 9A 10 0110 01 26 0K 10 0K 26 0K 42 0K 58 9 04 9 O19 01 25 0K 9 0K 25 0K 41 0K 57 On ie 6 0A 8 OA7 04 6 os OL 0LG 01 24 0123 0122 0K 8 OK 7 0K 6 0K 24 0K 23 0K 22 0K 40 0K 39 0K 38 0K 56 0K 55 0K 54 3 04 3 0B 3 0B 19 0E 3 0E 19 or 3 0H 3 9J 3 0K 3 0K 19 0K 35 0K 51 Byte n e E 0A 5 0A 4 0 5 0L4 0121 0120 0K 5 0K 4 0K 21 0K 20 0K 37 0K 36 0K 53 0K 52 3 90A 3 0 3 01 19 0K 3 0K 19 0K 35 0K 51 2 1 0 0A 2 0A 1 04 0 0B 2 0B 1 0B 0 0B 18 0B 17 0B 16 C4 0C 0 0E 2 0E 1 0E 0 0E 18 0E 17 0E 16 OF 2 OF 1 OF O 0H 2 0H 1 0H 0 0 2 0J1 05 0 0K 2 0K 1 0K 0 0K 18 0K 17 0K 16 0K 34 0K 33 0K 32 0K 50 0K 49 0K 48 2 1 0 0A 2 0A 1 04 0 ODA ODO O12 0 1 0L0 0118 0117 0116 0K 2 0K 1 0K 0 0K 18 0K 17 0K 16 0K 34 0K 33 0K 32 0K 50 0K 49 0K 48 D301034 1211 BL20 EtherNet IP Example for process data access 6 8 Example for process data access 6 8 1 Setting outputs at BL20 2DO 0 5A P Example To set the outputs 0 and 1 at module no 2 in the example station BL20 2DO 24VDC 0 5A P bit O bit 1 in output data word 1 BL20 O Data 1 have to be set see above Table 6 3 Data mapping for the example station Figure 6 32 Scope e201 _ Show ShowAl
25. 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 4DO 0 5A P 106 Module G USINT Contains the revision number of the module 6Ah revision firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module registered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 53 Attr No Attribute name Get Type Description Object instance dec Set hex 111 Module output G USINT Contains the number of input channels 6Fh channel count supported by the module 112 Module input G USINT Contains the number of output channels 70h channel count supported by the module Input data 113 Module input_1 G DWORD Input data of the module according to channels 71h 114 Module input_2 G DWORD Input data of the module according to channels 72h Output data 115 Module output 1 G DWORD Output data of the module according to 73h channels 116 Module output_2 G DWORD Output data of the module according to 74h ch
26. 106 6Ah Analog Input Voltage Module Class VSC106 page 5 40 Describes the modules of the type BL20 AI U 107 6Bh Analog Output Voltage Module Class VSC107 page 5 42 Describes the modules of the type BL20 AO U 108 6Ch Analog Input Current Module Class VSC108 page 5 44 Describes the modules of the type BL20 Al I 109 6Dh Analog Output Current Module Class VSC109 page 5 46 Describes the modules of the type BL20 AO I 110 6Eh Analog Input PT100 NI Module Class VSC110 page 5 48 Describes the modules of the type BL20 AI PT NI 111 6Fh Analog Input THERMO Module Class VSC111 page 5 51 Describes the modules of the type BL20 AI THERMO PI 112 70h Counter Module Class VSC112 page 5 54 Describes the modules of the type BL20 CNT 114 72h RS485 422 Module Class VSC115 page 5 67 Describes the modules of the type BL20 1RS232 115 73h RS485 422 Module Class VSC115 page 5 67 Describes the modules of the type BL20 1RS485 422 116 74h SSI Module Class VSC1 16 page 5 74 Describes the modules of the type BL20 1SSI D301034 1211 BL20 EtherNet IP 5 25 Implementation of EtherNet IP Table 5 31 Class Code Name Description VSC Vendor Specific Classes ces hex 117 75h Digital Versatile Module Class VSC117 Describes for example modules ofthe type page 5 82 BL
27. 5 26 for the description of the class instances for VSC Object Instance Table 5 43 Attr No Attribute name Get Type Description Object instance ce Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 2AI V 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Moduleregistered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supporte
28. 6 2 Configuration of a BL20 station 5 6 6 3 Downloading the VO configuration ssccsssssccssssecsssscsssssecssssecssseecsssssesssssessuscecssssseesseccessseessnscecsssseecsnseecesseccesnseessnssecesnseesees 6 7 Examples for I O data mapping 6 7 1 Mapping report via I O ASSISTANT 6 8 Example for process data access sssscsssssssssssssssscnsssccsscscsssscssssssccssssscssssssssssssssasssssassssssssssssssssssscssssssasees 6 23 6 8 1 Setting outputs at BL20 2DO 0 5 A P wn esccsesssessessssessssssesssesssesssesssesssssssesssesssesssesssesssssssesssssssssassessssessseessessseessessseessesssessssesse 6 23 7 Guidelines for station planning 7 1 Random module arrangement Leere eee eerte eene eene eene tns eno sets etta senos eene tta sepas etes esa seno esos es eene senes etae 7 2 7 41 Complete plinih sansin M 7 2 VA BEEN Iv TUI El arsetileln e 7 2 7 2 Power supply 7 2 1 Module bus refreshing 7 2 2 Creating potential groups i 7 2 3 Protecting the service interface on the GatewAy csssscccsssecsseeecsnesecessseccssseecessescesseseessseesssseesseeeesnnsessnssseesseceesneecenneeeesneeees 7 8 7 24 Rail cross connectlOTn eicere er Etre eed ec cete A eaa ebbe verae eek to RKA se eve Kaa alaia 7 8 7 2 5 Direct wiring of relay modules eerie eeent tenente nete netto ttts notte tts ttt n
29. ARRAY OF Defines the receive data 0 7 75h BYTE 118 RX data and G ARRAY OF Defines the data received via RS232 0 7 76h release BYTE acknowledge for reception 119 TX BYTE count G S USINT Number of the valid user data bytes in this data 77h segment I 120 TX count G S USINT This value is transferred together with every data 78h segment The TX count values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments 121 RX count G S USINT This value is a copy of RX count 79h acknowledge RX count has been transmitted together with the last data segment of the process input data RX count acknowledge is an acknowledge for the successful transmission of the data segment with RX count 5 62 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 50 Attr No Attributename Get Type Description Object instance dec Set hex 122 Status reset G S BOOL STATRES 7Ah control This bit is set to reset the STAT bit in the process input data With the change from 1 to 0 the status bit is reset from O to 1 If this bit is 0 all changes in TRANSMIT BYTE count TRANSMIT count and RECEIVE count acknowledge are ignored Flushing the transmit receive buffer with Process control data Attr 123 is possible If this bit is 1 or with the change from 0 to 1 the flush
30. 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 plugged or pulled when the station is being commissioned or for maintenance purposes without having to disconnect the field wiring from the base modules D301034 1211 BL20 EtherNet IP 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 GW EN 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 nece
31. BL20 module via ARP cx C WINDOWS system32 cmd exe a x lt C gt Copyright 1985 2661 Microsoft Corp B is not recognized as an internal or external command operable program or batch file C gt ping 192 168 1 108 Pinging 192 168 1 168 with 32 bytes of data Reply from 192 168 1 10 bytes 32 tim A T 192 1168 1 1188 bytes 32 tine lt ins cs for 192 168 1 100 Sent 4 Received 4 Lost Approximate round trip times in milli secon Minimum ms Maximum ims Average C gt arp a Interface 192 168 1 12 0x3 Internet Address Physical Address Type 192 168 1 166 6 7 46 f f 60 13 dynamic hay D301034 1211 BL20 EtherNet IP 3 5 EtherNet IP 3 6 D301034 1211 BL20 EtherNet IP System description Industri A D301034 1211 BL20 EtherNet IP 3 7 EtherNet IP 3 8 D301034 1211 BL20 EtherNet IP Industri A 4 Technical features 4 1 UO 2 4 2 a e D 3 4 3 Technical e 4 4 3 1 ru rye lm 4 4 4 Connection possibilities cc eee eee eee eee eee eee e sees sees esee esee esee eese esses esses so seso sees osse osse ss sesse 6 44 1 Field DU COMMS CLIO Ms sse erede uem REEL RM LT ELE 6 Ethernet connectior uiri etiain EE iru R ir ud fe ist Et M eti tM rt 6 4 4 2 Power Sup
32. CAE E CE RA EE E EE 17 Process IMPUL CAte case cuscesane aeisids oo ania aa aa a antes epee eda 17 Process output data PDout sen rec iet iti ned ec e E Ru EE HE uS 20 10 2 Nominal current consumption and power loss esee e eee e eren en eo ee etate e eee esee sette esaet een 22 10 3 Power loss of the modules ccce eee e eee ee eee eee ee eee ettet eese se Poo eee eese ese PO eee e eese esso P esee e esee se e esee 26 D301034 1211 BL20 EtherNet IP 10 1 Appendix 10 1 Data image of the technology modules 10 1 1 Counter module Process input data counter mode Process input data is data from the connected field device that is transmitted via the BL20 1CNT 24VDC module to the PLC This is transferred in an 8 byte format as follows E 4bytesare used to represent the counter value E 1 byte contains the diagnostics data E 2bytes contain status information Figure 10 1 PZDE counter counter mode ES reserved 10 2 D301034 1211 BL20 EtherNet IP Data image of the technology modules Industri A Table 10 1 Meaning of the data bits process input Bits Explanations ERR 24Vdc Short circuit sensor supply This diagnostics information must be acknowledged with the EXTF_ACK process output control bit ERR DO Short open circuit excess temperature at the output DO1 This diagnostics information must be
33. EtherNet IP 5 3 17 SSI Module Class VSC116 This Class contains all information and parameters for SSI modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 52 Object instance 5 74 Attr No Attribute name Get Type Description dec Sei hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 1SSI 106 Module revision G USINT Contains the revision number of the module 6Ah number firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL2
34. G S ENUM Sets the value representation for the channels B5h representation 0 default to channel 1 1 16 bit integer 196 to 2 12 bit left justified diagnostics C4h Value representation channel 16 5 88 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes 5 3 20 SWIRE module class VSC121 This class contains all the parameters and information for the BL20 E SWIRE module Industri A Note The SWIRE module class VSC121 is only implemented in gateways with Maj Rev 2 1 6 0 gt Attention In this class chosen parameter options can only be deactivated by activating another option of this parameter Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 55 Attr No Attribute name Get Type Description Object instance Ate Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 2 module missing base module without 65h electronic module 1 2 module is plugged 102 Terminal slot G USINT The slot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT
35. IP Standard Classes eco bed th ee SE EL LE Roco de e ee eR ea PU lade Identity Object 0x01 Message Router Object 0x02 Assembly Object 5 ertet tte ioter pere treten tede enne eee lebe ee aO athan ge Connection Manager Object 0X06 sssscsssecsssscseccsssccsssccsseccssecenscessscessuccesuccessecessecessecssseesseesueecuscesssecesueceseeceseesnseesnseesnseess Port Object 0xF4 5 s d Re eere tere eni d a dere eet eese be het cine o el edge eee selbe cpbentons TCP IP Interface Object OXE5 2 a etel a tete Reed reete c ep obedece de denas Ethernet Link Object OXE6 3 eiie ettet blender ote a eee bte deceret edge dead S LSeS EDDIE ISuMed trilqe e E Glass Instance of the VSG usse la cese eee deca eee D e epi C E un DA ect edle ete buy ud Gateway Class VSG 100 s ett rete eee te eee esie ie tle eg ettet testes tee Lehr AAN Terminal Slot Class VSC 101 n Process Data Class VSC102 sees Power Supply Module Class VSC103 Digital Input Module Class VSC104 sesssssssccsssccssccseecsssecsnccsssccsnscessscesscsssccsssscssnscssuccesuecesecssccesseesaseessuessuccesuecessecesseeesaceetsees Digital Output Module Class VSC105 ccsssssssssscssssccsescsssecsnscesssccssscessscessecsusecssccessccessecsusccsscsuscessscessccesseccesscesucssnscesneesaceessees 5 38 Analog Input Voltage Module Class VSC106
36. Protecting the service interface on the gateway eese eene teen ttts ntes nott nonnisi tte nonet nin tte nont 8 7 24 C Rail CrOSS CONNECTION BARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRMMMMMMMMMMEMMMKNF7NKNMMMMMM 8 7 2 5 Direct wiring of relay modules terrere getan reise cet bie eee ee eee ee de 10 7 3 Plugging and pulling electronics modules eee cree eee Lees ee eee eee e eee ette nnne esee ee esee sonos sese sees senno 11 7 4 Extending an existing station eee ecce ee eene eee ee eene e ee eee een soos ease e eet osos senes e eee seen s onse esos esee e eee enne 12 7 5 Firmware download S 13 D301034 1211 BL20 EtherNet IP 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 Note The mixed usage of base modules with screw connections and base modules with tension 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 emp
37. REG_SSI_POS REG_CMP2 1 CMP2 register value matches POS A comparison of the register contents has produced the following result REG_ SSI_POS REG_CMP29 5 76 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 52 Attr No Attribute name Object instance j dec hex Get Type Description Set 112 Diagnostics and status G WORD Bit 12 0 Default status i e the register contents have not yet matched REG_SSI_POS REG_CMP2 since the last reset 1 CMP2 flag set The contents of the registers match REG_SSI_POS REG_CMP2 This marker must be reset with bit 12 of the Control attribute Bit 13 0 A comparison of the register contents has produced the following result REG_SSI_POS lt REG_CMP2 1 POS gt CMP2 register value A comparison of the register contents has produced the following result REG_SSI_POS gt REG_CMP2 Bit 14 0 The SSI encoder values are incremented or the values are constant 1 counting downwards The SSI encoder values are decremented 112 Diagnostics and status G WORD Bit 15 0 The SSI encoder values are decremented or the values are constant 1 counting upwards The SSI encoder values are incremented 113 Result write 71h operation G Bit 0 to 5 reserved Bit 6 0 No modification of the data in the register bank by process output i e WRITE OPERAT
38. Set attributes 1 0x01 ATTRIBUTE PORT G UINT 4 for TCP_IP_PORT TYPE 2 0x02 ATTRIBUTE PORT G UINT 2 NUMBER 3 0x03 ATTRIBUTE PORT G UINT 2 OBJECT EPATH 0x12 0x02 Logical 0x00 0x00 path Common Services Table 5 20 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 OxOE yes yes Get Attribute Single 5 2 7 TCP IP Interface Object OxF5 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 21 Attr No Attribute Name Get Type Value Class attributes Set 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT INSTANCE G UINT 1 3 0x03 NUMBER OF INSTANCES G UINT 1 6 0x06 MAX CLASS IDENTIFIER G UINT 7 7 0x07 MAX INSTANCE ATTRIBUTE G UINT 6 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Industri A Instance Attributes Table 5 22 Attr No Attribute Name Get Type Description Instance Set attributes 1 0x01 STATUS G DWORD Interface status see page 5 20 2 0x02 CONFIGURATION G DWORD Interface Capability Flag CAPABILITY see page 5 20 3 0x03 CONFIGURATION G S DWORD Interface Control Flag CONTROL see page 5 20 4 0x04 PHYSICAL LINK G STRUCT OBJECT Path size UINT Number of 16bit words 0x02 Path Padded 0x20 OxF6 0x24 0x01 EPATH 5 INTERFACE G
39. 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 DHCP server then updates the DNS records on behalf of the 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 itis configured is used for the value of the FODN 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 D301034 1211 BL20 EtherNet IP 5 21 Implementation of EtherNet IP Figure 5 1 state diagram acc to CIP Powerup Reset
40. communication between the BL20 gateway and a PLC PC ora network interface card both devices have to be hosts in the same network To achieve this you have whether E toadjustthe gateway s IP address via BootP DHCP etc for integrating it into your own network for detailed information about the different possibilities for address setting please read chapter 4 Address setting page 4 8 or E tochange the IP address of the used PC or network interface card for detailed information please read the following section Changing the IP address of a PC network interface card page 6 4 D301034 1211 BL20 EtherNet IP 6 3 Application example BL20 gateway with an Allen Bradley PLC 6 3 Changing the IP address of a PC network interface card 6 3 1 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 2 Mark Internet Protocol TCP IP and press the Properties button to open the dialog Internet Protocol TCP IP Properties PIUUIE OS 2x Local Area eneral Connection Connect using Properties BI Intel 21140 Based PCI Fast Ethemet Adapter Configure Components checked are used by this connection ivi E Client for Microsoft Networks ivi 8 File and
41. count values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments 114 72h TX count acknowledge USINT This value is a copy of the value TX count TX count has been transmitted together with the last data segment of the process output data TX count acknowledge is an acknowledge for the successful transmission of the data segment with TRANSMIT count 115 73h Status BOOL 0 The communication with the data terminal equipment DTE is disturbed A diagnostic message is generated if the parameter Diagnostics is set to 0 release The diagnostic data show the cause of the communication disturbance The user has to set back this bit in the process output data by using STATRES 1 The communication with the data terminal equipment DTE is error free 116 74h Process diagnostics data BYTE Contains the diagnostic information The diagnostic data are part of the process input data if ACTIVE MODE 1 or 2bytes ctrl status header is set Diagnostics messages Bit 0 to Bit 2 reserved Bit 3 0 ok 1 parameter error The set parameter values are not supported Bit 4 0 ok 1 hardware failure The module has to be replaced e g EEPROM or UART may be defect 5 68 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 51 Attr No At
42. edes ire deter P bere Rex 10 15 SSI tesi veas nud A ve eda ER CES 10 20 Produced Data 5 15 protection class IP20 sss 2 2 R RFID S module class eemn 5 94 RS232 Module Class ees 5 60 RS485 422 Module Class ee 5 67 RSLEITDC osi avec fr atr D CR D fU D i TA 6 13 S service interface sssseeneeennnneennnnnns 4 6 shield connection analog modules sse 2 9 shieldifigi 3 iere aah ape e 8 8 SSI Module Class eeeenm enn 5 74 statusinformatio Hennion a a 5 14 Status word 4 23 5 15 5 16 Symbols 445 ettet acte ta efr 1 4 T TCP Transmission Control Protocol 3 3 TCP IP HOSE 5 ss as iti teen eco etur C it rrr ean erus 3 4 Terminal Slot Class ees 5 28 transport appropriate sse me 1 3 U UGMM mri po teni d ia merde deni Rd 5 4 V VSC Vendor Specific Classes sess 5 25 w WIN 2000 oi eraa tenti fared Aue e a 6 4 WINNE ttp eta pep RAPA Gh wae 6 5 WINXP AAE e etit eer beer prede dr ve er e NS ERE Puer e 6 4 Z TA 1 W p PE 9 1 11 2 D301034 1211 BL20 EtherNet IP 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 D301034 1211
43. for channel 1 attribute 135 for channel 8 BYTE mode Bit 0 Current mode 0 0to20mA 1 4to20mA Bit 1 Value representation 0 Integer 15Bit sign 1 12Bit left justified Bit 2 to 7 reserved 5 46 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Attr No Attribute name Get Type Description dec Set hex 136 Fault value G S INT Contains the Fault Value Definition of the 143 parameter data channels 1 to 8 of the analog output modules 88h Only those channels are supported that are 8Fh defined in attribute 111 Number of supported channels Attribute 136 contains the data for channel 1 attribute 143 for channel 8 D301034 1211 BL20 EtherNet IP 5 47 Implementation of EtherNet IP 5 3 12 Analog Input PT100 NI Module Class VSC110 This Class contains all information and parameters for analog input modules for PT100 NI sensors current Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 47 Object instance 5 48 Attr No Attribute name Get Type Description dec Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G
44. for channel 8 BYTE mode BitO Voltage mode 0 0 10V 1 10V 4 10V Bit1 Value representation 0 Integer 15Bit sign 1 12Bit left justified Bit2 to 7 reserved 136 Fault value G S INT Contains the Fault Value Definition of the 143 parameter data channels 1 to 8 of the analog output modules 88h Only those channels are supported that are 8Fh defined in attribute 111 Number of supported channels Attribute 136 contains the data for channel 1 attribute 143 for channel 8 D301034 1211 BL20 EtherNet IP 5 43 Implementation of EtherNet IP 5 3 10 Analog Input Current Module Class VSC108 This Class contains all information and parameters for analog input modules current Note i Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance The Object Instances attributes of the analog input modules current correspond to those of the analog input modules voltage Differences are only to be found in the attributes no 112 to 135 that concern the measurement ranges of the modules current or voltage measurements Table 5 45 Object Instance 5 44 Attr No Attribute name Get Type dec Set hex Description 112 Produced data G INT 119 70h 77h Contains the data transmitted by the analog input module of channels No 1 to No 8 Only those channels are supported that are contained in attri
45. input Process output GW BL20 GW EN IP 1 status 1 control word word 0 BL20 2AI 1 0 4 20M A 2 words 1 BL20 2DI 24VDC P 2 bits 2 BL20 2DO 24VDC 0 5A P 2 bits 3 BL20 2AI THERMO PI 2 words 4 BL20 4DI 24VDC P 4 bits 5 empty slot 6 BL20 1AI U 10 0 10VDC 1 word 7 BL20 2AO I 0 4 20MA 2 words 8 BL20 4DI 24VDC P 4 bits 9 BL20 1SSI 4 words 4 words 6 20 D301034 1211 BL20 EtherNet IP Examples for I O data mapping Industri A According to the I O data widths of the modules in the example station see Table 6 2 Example station the I O data mapping for the example station is the following Table 6 3 Data mapping for the example station Al Data 0 Byte 0 of mapped input data Module 1 O data word in RSLogix GW BL20 GW EN IP Input data A BL20 1 Data 0 Status Word Output data BL20 0 Data 0 Command Word BL20 2AI I 0 4 20MA Input data BL20 I Data 1 ch 0 BL20 I Data 2 ch 1 BL20 2DI 24VDC P Input data BL20 1 Data 3 Bits O and 1 for ch O0 and 1 BL20 2DO 24VDC 0 5A P BL20 2AI THERMO PI Output data BL20 O Data 1 Bits O and 1 for ch O and 1 Input data BL20 I Data 4 ch 0 BL20 I Data 5 ch 1 BL20 4DI 24VDC P Input data BL20 1 Data 6 Bits 2 to 5 for ch 0 to 3 empty slot BL20 1AI U 10 0 10VDC Output data BL20 I Data 7 ch 0 BL20 2A0 I 0 4 20MA Out
46. is plugged 102 Terminal slot G USINT The slot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 2AI TC 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module registered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels D301034 1211 BL20 EtherNet IP 5 51 Implementation of EtherNet IP Table 5 48 Object instance 5 52 Attr No Attribute name Get Type Description dec Sei hex 112 Produced data G INT Contains the data received by the analog input 119 module of channels No 1 to No 8 70h Only those c
47. network in the path from the destination The routing device was forced to abort the service 1C Missing attribute list entry data Theservice did not supply an attribute in a list of attributes that was needed by the service to perform the requested behavior 1D Invalidattribute value list The service is returning the list of attributes supplied with status information for those attributes that were invalid 1E Embedded service error An embedded service resulted in an error 1F Vendor specific error Avendor specific error has been encountered The Additional Code 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 parameter A parameter associated with the request was invalid This code is 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 value or medium already written An attempt was made to write to a write once medium e g WORM drive PROM that has already been written or to modify a value that cannot be changed once established 22 Invalid Reply Received An invalid reply is received e g reply service code does not match the request service code or reply
48. occur in the BL20 station This can lead to undefined statuses of individual inputs and outputs of different modules D301034 1211 BL20 EtherNet IP Guidelines for station planning 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 12 D301034 1211 BL20 EtherNet IP Firmware download Industri A 7 5 Firmware download Firmware can be downloaded via the service interface on the gateway using the software tool 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 D301034 1211 BL20 EtherNet IP 7 13 Guidelines for station planning 7 14 D301034 1211 BL20 EtherNet IP Industri A 8 Guidelines for electrical installation 8 1 GOO Al NOLES sovcsscccciccesecsccsccssccccccssssccesccesonsscccossocsescscssescscccoonsoeccessscdescsdoocsssecessecsecccensesescsessoedsccesoesss 2 8 1 1 EIE 2 8 1 2 CAE TOUNO ec S 8 1 3 Cable routing inside and outside of cabinets Cable routing outside buildings 8 1 4 Lightning protection eee 8 1 5 DEESOMECSe SEIS AREE ER 8 2 Potential rel
49. present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 1RS232 106 Module revision G USINT Contains the revision number of the module 6Ah number firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Moduleregistered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 49 Attr No Attribute name Get Type Object instance J dec Set hex Description 111 Number of G USINT 6Fh supported channels States the number of analog input channels supported by this module Instance 112 Counter diag G WORD
50. 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 mod Devices Valve Drives Controllers Profiles User el Layer Application Object Library Application Application Layer Layer Explicit 1 0 Routing Transport DeviceNet ControlNet Encapsulation 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 a
51. response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Moduleregistered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels 5 42 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 44 Object instance Attr No Attributename Get Type Description dec Set hex 112 Consumed data G INT Contains the data received by the analog output 119 module of channels No 1 to No 8 70h Only those channels are supported that are 77h contained in attribute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G BYTE Contains the diagnostic data of the channels 1 to 127 8 of the analog output module 78h Only those channels are supported that are 7Fh defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag Bit 0 to 7 reserved 128 Mode para meter G S BYTE Contains the diagnostic data of the channels 1 to 135 data 8 of the analog output module Only those 80h channels are supported that are defined in 87h attribute 111 Number of supported channels Attribute 128 contains the data for channel 1 attribute 135
52. 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 protect 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 D301034 1211 BL20 EtherNet IP Industri A Potential free Galvanic isolation of the reference potenti
53. scheduled 1 enabled time sliced module related data diagnostics block using a round robin mechanism page 4 22 The actual data is loaded to the non volatile memory of the gateway Changes become valid after a start up 106 reserved 6Ah 107 I MAP G USINT Contains the number of summarized diagnostic 6Bh summarized diags bytes Changes become valid after a start up 108 I MAP G USINT Contains the number of scheduled diagnostics 6Ch scheduled diags bytes Changes become valid after a start up Object Instance 4 COS CYCLIC instance Table 5 39 Attr No Attributename Get Type Description Object Instance dec Set 4 COS CYCLIC hex instance 104 COS data G S ENUM Currently not supported 68h mapping USINT D301034 1211 BL20 EtherNet IP 5 33 Implementation of EtherNet IP 5 3 5 Power Supply Module Class VSC103 This class contains all the relevant information and parameters for the power distribution modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 40 Attr No Attribute name Get Type Description Object instance doc Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot n
54. the control functions for transferring the parameter values for starting stopping the measurement for acknowledging errors and for resetting the status bit E Four bytes represent the parameter values for Lower limit or Upper limit Function of DO1 or Integration time Structure of the data bytes with Function of DO1 set Figure 10 5 Structure of the data bytes with Function of DO1 set Byte Bit 7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit 1 BitO 0 reserved MODE DO1 2 3 qe era Tae LOAD 5 Peat Dd NEUE CT 8 00 050 mw 0 D reserved Structure of the data bytes with Lower limit or Upper limit set Figure 10 6 Structure of the data bytes with Lower limit or Upper limit set Byte Bit Bit6 Bit5 Bit4 Bit3 Bit2 Bit 1 BitO ail FFE EEEEEIS 10 10 D301034 1211 BL20 EtherNet IP Data image of the technology modules Industri A Structure of the data bytes with Integration time set Figure 10 7 3 Structure of the Data image data bytes with Integration time set Process output data PZDA SPS gt Counter measurement value with Integration time Byte Bit 7 Bit6 Bit5 Bit4 Bit3 Bit 2 Bit 1 Bito 0 Integration tim 1 2 reserved gl reserved 5 reserved 7 reserved Table 10 4 Control bit Explanations Meaning of the data bit
55. 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 alow 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 it is 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 the 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 D301034 1211 BL20 EtherNet IP Potential compensation Industri A 8 5 Potential compensation Potential differences can occur between installation components that are in separate areas an
56. 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 D301034 1211 BL20 EtherNet IP 10 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 are 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 dyn
57. 0 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Moduleregistered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 52 Attr No Attributename Get Type Description Object instance dec Set hex 112 Diagnostics and G WORD Bit 0 70h status 0 No enabled status signal is active SSI_STSx 0 1 group diagnostics At least one enabled status signal is active SSI_STSx 1 Bit 1 0 SSI encoder signal present 1 SSI error open circuit SSI encoder signal faulty e g due to a cable break Bit 2 0 A comparison of the register contents has produced the following result REG_SSI_POS lt REG_UPPER_LIMIT 1 error POS gt UPPER LIMIT A comparison of the register contents has produced the following result REG_SSI_POS gt REG_UPPER_LIMIT 112 Diagnostics and G WORD Bit 3 70h status 0 A comparison of the register contents has produced the following result REG SSI POS 2 REG LOWER LIMIT 1 error POS lt LOWER LIMIT A comparison of the register contents has produced the following result REG SSI POS REG LOWER LIMIT Bit 4 0 The parameter set of the module has been accepted 1
58. 01034 1211 BL20 EtherNet IP 5 69 Implementation of EtherNet IP Table 5 51 Object instance 5 70 Attr No Attribute name Get Type Description dec Sei hex 122 Status reset G S BOOL STATRES 7Ah control This bit is set to reset the STAT bit in the process input data With the change from 1 to 0 the status bit is reset from O to 1 If this bit is 0 all changesin TRANSMIT BYTE count TRANSMIT count and RECEIVE count acknowledge are ignored Flushing the transmit receive buffer with Process control data Attr 123 is possible If this bit is 1 or with the change from 0 to 1 the flushing of the transmit receive buffer with Process control data Attr 123 is not possible 123 Process control G S BYTE Bit 0 transmit buffer flush 7Bh data Bit 1 2 receive buffer flush 124 TX data G S ARRAYOF Defines the transmit data 0 7 7Ch BYTE 125 TX data and S ARRAY OF Defines the data to be transmitted via R 485 422 7Dh release BYTE 0 7 transmission is released charged immediately 126 reserved 7Eh D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 51 Attr No Attribute name Get Type Description Object instance dec Set hex 127 Diagnostics G WORD Contains the diagnostic messages low byte 7Fh Diagnostics messages Bit O to Bit 2 reserved Bit 3 0 ok 1 parameter error The set parameter values are not supp
59. 1 BL20 EtherNet IP Connection possibilities Connection with I O ASSISTANT connection cable Figure 4 4 BL20 gateway connected to PC via special cable 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 con nector on the connection ca pe ble to the gate CD 2 way top view RU Figure 4 6 5 4321 9 pole SUB D female connec A tor on the cable for connecting to PC top view D301034 1211 BL20 EtherNet IP 4 7 Technical features 4 5 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 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 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 IP20 can only be guaranteed when the cover is closed correctly Attention 4 5 1 LED behavior During it s start up the module waits for the address setting via the BootP server Th
60. 1 A comparison ofthe register contents has produced the following result REG_ SSI POS REG CMP2 REL CMP1 0 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP1 1 Acomparison of the register contents has produced the following result REG SSI_POS gt REG_CMP1 FLAG_CMP1 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP1 since the last reset 1 The contents of the registers match REG SSI POS REG CMP1 This marker must be reset when CLR CMP1 1 in the process output data STS CMP1 0 A comparison of the register contents has produced the following result REG SSI POS z REG CMP1 1 A comparison ofthe register contents has produced the following result REG_ SSI POS REG CMP1 STS STOP 0 The SSI encoder is read cyclically 1 Communication with the SSI encoder is stopped as STOP 1 process output or ERR PARA 1 ERR PARA 0 The parameter set of the module has been accepted 1 Operation of the module is not possible with the present parameter set STS UFLW 0 A comparison of the register contents has produced the following result REG SSI POS gt REG LOWER LIMIT 1 A comparison ofthe register contents has produced the following result REG SSI POS lt REG LOWER LIMIT D301034 1211 BL20 EtherNet IP 10 19 Appendix Designation Value Mean
61. 1034 1211 BL20 EtherNet IP 7 7 Guidelines for station planning Figure 7 2 2D NO Al 2DO 2D PF 2DO Al 2DI NO Example for E E creating poten um FEN EXE NNNM tial groups EE SUM NS ox ale Hed i a supply E Potential group 1 i Potential group 2 System supply Note 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 i Attention 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 7 2 4 7 8 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 C Rail cross connection The C rail 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 D301034 12
62. 11 BL20 EtherNet IP 5 37 Implementation of EtherNet IP 5 3 7 Digital Output Module Class VSC105 This Class contains all information and parameters for digital output modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 42 Attr No Attribute name Get Type Description Object instance doc Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 4DO 0 5A P 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Mod
63. 11 BL20 EtherNet IP Power supply 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 i Attention 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 m For information about introducing a BL20 station into a ground reference system please read Chapter 7 D301034 1211 BL20 EtherNet IP 7 9 Guidelines for station planning Figure 7 5 2D0 2DI 2DO 2DI PF 2DO 2DI 200 2DI Using the C rail E OM E M as a protective earth PE terminal mj 30 100 MBit il c TS I C rail PE SBB SBBS SBB SBB BC SBC SBBC SBC 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 us
64. 1211 BL20 EtherNet IP 11 Index A addressing ueste attende eas eps n ER 4 8 Analog Input Current Module Class oo teenie 5 44 Analog Input PT100 NI Module Class 5 48 Analog Input THERMO Module Class 5 51 Analog Input Voltage Module Class 5 40 Analog Output Current Module Class 5 46 Analog Output Voltage Module Class 5 42 APR Address Resolution Protocol 3 5 B base modules urinimin 2 5 b sic CONCEPL i e a URN RAM RMITERAEUSR 2 2 C classes Assembly Object sse 5 13 Connection Manager Object s sees 5 17 Ethernet Link Object sm 5 23 Ethernet IP standard sss 5 5 dentity Object sssseeeeeeeenen 5 6 Message Router Object sss 5 8 Port Object Jae ipie eta e ede des 5 17 process datd ctore re HER 5 32 s REID modules 5 rd ana 5 94 TCP IP Interface Object ssse 5 18 VSC Vendor Specific Classes sess 5 25 communications Profile eect eee eee teeta 5 3 Consumed Data sss eene 5 15 Control word ees 4 23 5 15 5 16 COS 1 0 connection seee enn 5 3 C rail cross connection eene 7 8 Cyclic l O connection sme 5 4 D Data mapping tinte tti ri rok RR 5 15 Digital Input Module Class
65. 2 General information Attention 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 TURCK BL20 gateways for Ethernet It has been specially conceived for personnel with the necessary qualifications 1 2 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 2 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 D301034 1211 BL20 EtherNet IP 1 3 About this manual 1 3 1 4 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 Attention This sign can be found next to all notes that indicate a potential hazard This can refer to possible dan
66. 20 4DI NAMUR 118 76h Analog Versatile Module Class VSC1 18 Describes modules of the type BL20 4AI U page 5 86 121 79h SWIRE module class VSC121 page 5 89 Describes modules of the type BL20 E SWIRE 124 7Ch RFID S module class VSC124 page 5 94 Describes for example modules of the type BL20 2RFID S 5 3 1 Class Instance of the VSC Note The Class Instance attributes are the same for each Vendor Specific Class The class specific Object Instances and the corresponding attributes are explained in the paragraphs for the different VSC The general VSC Class Instance attributes are defined as follows Table 5 32 Attr No Attribute name Get Type Description Class instance desc Set hex 100 Class revision G UINT States the revision number of the class 64h Maj Rel 1000 Min Rel 101 Max instance G USINT Contains the number ofthe highest instance of an 65h object created on this level in the class hierarchy 102 it of instances G USINT Contains the number of Object Instances created 66h in this class 103 Max class G USINT Contains the number ofthe last Class Attribute to 67h attribute be implemented 5 26 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes 5 3 2 Gateway Class VSC 100 Industri A The Gateway Class contains all the parameters that concern the BL20 system and the gateway i Please refer to paragraph Class Instance of the VS
67. 4 9 Technical features The following example shows the setting of the address 173 Figure 4 8 Adr x 100 Address setting EE 8 2 7 3 65 4 Set 9 0 9 0 1 8 2 2 7 3 3 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 A 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 A Attention After changing the position of the rotary coding switches a voltage reset must be carried out to store the new address 4 5 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 9 0 4 8 2 7 3 67g 4 Adr x 10 4 10 Adr x 100 9 0 8 2 654 Set 9 0 7 2 3 6g 4 Adr x 1 000 192 168 1 254 1 254 Static rotary 300 400 500 600 BootP DHCP PGM PGM DHCP D301034 1211 BL20 EtherNet IP 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 ca
68. 4 bytes of the process output 74h DWORD data 117 Diag G WORD One bit per SWIRE slave shows if diagnostics 75h common error messages are present or not Slave 1 belongs to bit 0 slave 2 to bit 1 etc 0 o k 1 One several diagnostics messages present 118 Diag config error G WORD One bit per SWIRE slave shows the configuration 76h state of the slave Slave 1 belongs to bit 0 slave 2 to bit 1 etc 0 The bus is in data exchange mode 1 The configuration was not accepted the bus does not switch to data exchange mode LED SW flashing 5 90 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 55 Attr No Attribute name Get Type Object instance j dec hex Set Description 119 77h Diag G WORD communication error One bit per SWIRE slave shows possible communication errors Slave 1 belongs to bit 0 slave 2 to bit 1 etc 0 o k 1 A communication error is present such as a slave is no longer reached its internal timeout has elapsed or communication is faulty The master cannot carry out data exchange with at least one slave 120 78h Diag PKZ error G WORD One bit per SWIRE slave shows if the PKZ has tripped or not Slave 1 belongs to bit 0 slave 2 to bit 1 etc 0 No PKZ has tripped or diagnostics function has been deactivated via the parameter setting 1 At least one PKZ has tripped 121 79h Param common G S Byt
69. 7Eh Diagnostic DO1 G S BOOL Defines if the diagnostic data of the DO1 are transmitted to the gateway Diagnostic DO1 FALSE on Diagnostic data of the DO1 are being transmitted TRUE off Diagnostic data of the DO1 are not being transmitted ADependon the 127 selected 7Fh operating mode CNT MSRM and are not supported in the other operating mode Please refer to Attribute No 113 BASIC MODE Function DO1 A G S ENUM USINT Defines the function of the output DO1 Function DO1 0 output 1 CNT on when count value 2 reference value 2 CNT on when count value lt reference value 3 CNT pulse when count value reference value 4 MSRM outside of limit 5 MSRM below lower limit 6 MSRM above upper limit 7 to 255 reserved 128 80h CNT function DO2 A G S ENUM USINT Definesthe function ofthe output DO2 This is not a physical output meaning the value from this output is read in the process input image only Function DO2 0 output 1 CNT on when count value reference value 2 CNT on when count value lt reference value 3 CNT pulse when count value reference value 4 to 255 reserved 129 81h Signal evaluation A G S ENUM USINT Defines the kind of signal evaluation Signal evaluation 0 pulse and direction 1 rotary sensor single 2 CNT rotary sensor double 3 CNT rotary sensor fourfold 4 to 255 reserved
70. A USINT Synchronization operating mode 0 CNT CNT MSRM single action and are not 1 CNT supported in the AREA other operating penes qe mode Pledse 2 to 255 reserved refer to Attribute No 113 BASIC MODE 118 CNT main count G S ENUM Defines the main count direction 76h direction A USINT 0 CNT none 1 CNT up 2 CNT down 3 to 255 reserved 119 Lower limit G S DINT Defines the lower limit of the module The 77h module reacts according to its parameterization on reaching or undershooting the lower limit 120 Upper limit G S DINT Defines the upper limit of the module The 78h module reacts according to its parameterization on reaching or overshooting the upper limit 121 MSRM integration G S USINT Defines the integration time 79h A Integration 10ms 122 CNT G S USINT Defines the hysteresis meaning the differential 7Ah hysteresis A threshold value Hysteresis 123 CNT pulse G S USINT Defines the pulse duration 7Bh duration A Pulse duration 2ms 124 MSRM pulses per G S UINT Defines the number of pulses per revolution 7Ch revolution A Pulses per revolution 125 Fault value DO1 G S BOOL Defines the substitute value of the digital output 7Dh DO1 Fault value DOT FALSE 0 off OV TRUE 1 on 24V D301034 1211 BL20 EtherNet IP 5 57 Implementation of EtherNet IP Table 5 49 Attr No Attribute name Object instance J dec hex Get Type Set Description 126
71. Allen Bradley PLC 6 6 2 Configuration of a BL20 station Add the BL20 to the I O configuration by using a right click on the EtherNet IP bridge module 1756 ENBT A and select New Module Figure 6 21 3 Controller BL20_1 Adding the BL20 Controller Tags 7 Controller Fault Handler station to the Power Up Handler O configuration 5 Tasks 51 8 MainTask C MainProgram G Unscheduled Programs 3 Motion Groups Ungrouped Axes Trends 3 Data Types Cj User Defined 2 Ep Strings H E Predefined E Module Defined E1 53 1 0 Configuration 1756 Backplane 1756 A4 fa 0 1756 155 BL20 1 g NBT A Ethernet BLO P New Module d Cut Ctrl x Bay Copy Ctrl C e Paste Ctrl V Delete Del Cross Reference Ctrl E Properties Open Communications and select the entry Generic Ethernet Module to configure a BL20 gateway Figure 6 22 Wii Select Module Add generic Module Description Vendor E th ern et m od 1757 FFLD A 1757 Foundation Fieldbus Linking Device Allen Bradley u le 1768 ENBT A 1768 10 100 Mbps Ethernet Bridge Twisted Pair Media Allen Bradley 1769 L32E Etherne 10 100 Mbps Ethernet Port on CompactLogix5332E Allen Bradley 1769 L35E Etherne 10 100 Mbps Ethernet Port on CompactLogix5335E Allen Bradley 1788 EN2DN A 1788 Ethernet to DeviceNet Linking Device Allen Bradley 1788 ENBT A 1788 10 100 Mbps Ethernet Brid
72. BL20 E 16DI 24VDC P 15mA BL20 32DI 24VDC P 30 mA BL20 1AlI I 0 4 20MA 41 mA BL20 2AI I 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 I 50 mA BL20 2DO 24VDC 0 5A P 32 mA BL20 2DO 24VDC 0 5A N 32 mA D301034 1211 BL20 EtherNet IP 7 5 Guidelines for station planning Module Supply Nominal current consumption BL20 2DO 24VDC 2A P 33mA BL20 4DO 24VDC 0 5A P 30 mA BL20 E 8DO 24VDC P 15 mA BL20 16DO 24VDC 0 5A P 120 mA BL20 E 16DO 24VDC P 25 mA BL20 32DO 24VDC 0 5A P 30 mA BL20 1AO I 4 20MA 39 mA BL20 2AO I 4 20MA 40 mA BL20 2AO U 10 0 10VDC 43 mA BL20 2DO R NC 28 mA BL20 2DO R NO 28mA BL20 2DO R CO 28mA BL20 1CNT 24VDC 40 mA BL20 1RS232 140 mA BL20 1RS485 422 60 mA BL20 1SSI 50 mA BL20 2RFID 30 mA BL20 E 1SWIRE 60 mA 7 6 If the power supply from the module bus is not guaranteed thereby making a further Bus Refreshing module necessary the software l O ASSISTANT generates an error message when the user activates the command Station Verify 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 PAT SBBC B tension clamp connection base module or with the base modules BL20 P3S SBB B or BL20 P4S SBBC B screw connection D301034 1211 BL20 EtherNet IP Power supply
73. BL20 base modules D301034 1211 BL20 EtherNet IP 2 7 BL20 philosophy Dekafix connector markers for numbering the mounting slots on BL20 base modules Figure 2 12 Misi a bad Pd S V y 2 8 D301034 1211 BL20 EtherNet IP BL20 components Industri A 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 connec tion D301034 1211 BL20 EtherNet IP 2 9 BL20 philosophy 2 10 D301034 1211 BL20 EtherNet IP Industri A 3 EtherNet IP 3 1 System description 2 P INTEFMEE Protocol aieo ete ieu o Cobxt ence pete e etai v cb ere EFFERRE et Eee A ENa 3 TCP Transmission Control Protocol ucacsssssssscssssscsssssessessssssssssssesscsecsessssscsssssssssssssessssscssssssssssssssssssssessssssssesssssssessssessssess 3 3 1 1 Network topology eese tentent Transmission media 3 12 Addressing on EtherNet IP ANE E D e P addr e Siiani NAA ARNAN AE NA n iaa 4 3 1 3 NG EWOKK ClASSES isis ssssdssescassossasveanoussedacsanadaisas sisasastassassscbind ene davsehandasasdavessasseaicdssaaibaioasdsdsaiaadendeasadasdsassd
74. C page 9 6 for the description of the class instance for the VSC Object Instance 1 Table 5 33 Attr No Attribute name Get Type Description Object instance Set dec 1 Boot instance hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Hardware G STRUCT Contains the hardware revision number of the 65h revision gateway USINT Maj USINT Min 102 Firmware revision G STRUCT Contains the revision number of the Boot 66h Firmware for DeviceNet Maj Min 103 Service toolident G UDINT Contains the BOOT ID number that serves as an 67h number identification number for the software O ASSISTANT 104 Hardware G STRUCT Contains gateway hardware information UINT 68h info count number of the following entries CLOCK FREQUENCY kHz MAIN FLASH in kB MAIN FLASH SPEED ns SECOND FLASH kB RAM kB RAM SPEED ns RAM data WIDTH bit SERIAL EEPRPOM kbit RTC SUPPORT in AUTO SERVICE BSL SUPPORT BOOL HDW SYSTEM D301034 1211 BL20 EtherNet IP 5 27 Implementation of EtherNet IP Object Instance 2 Table 5 34 Attr No Attribute name Get Type Description Object Instance Hec Set 2 Gateway hex Instance 109 Status register 2 G STRUCT Gateway Status contains general gateway status 6Dh information Gateway Bit 15 I O Controller Error The communication
75. 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 D301034 1211 BL20 EtherNet IP 4 17 Technical features 4 7 Status indicators diagnostic messages gateway The gateway sends the following diagnostic messages undervoltage monitoring for system and field supply monitoring of the station status 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 7 1 Diagnostic messages via LEDs Every BL20 gateway displays the following statuses via LEDs E 2LEDsfor module bus communication module bus LEDs GW and IO E 2LEDsforthe Ethernet communication fieldbus LEDs LNK ACT and MS Table 4 3 LED displays LED Status Remedy GW Off CPU not supplied Check the voltage supply at the gateway Green Firmware active gateway ready to operate and transmit Green flashing 1Hz Firmware not active If LED IO red Firmware download necessary Green flashing 4Hz Firmware active gateway hardware defect Replace the gateway Red Controller is not ready VCC level is not within the required range gt
76. Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 E 1SWIRE 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type 6Bh USINT see attribute 107 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the module 6Ch interface ARRAY OF BYTE Control byte sequence D301034 1211 BL20 EtherNet IP 5 89 Implementation of EtherNet IP Table 5 55 Attr No Attribute name Get Type Description Object instance deg Set hex 109 Module response G ARRAY Response interface of the module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module G ENUM Contains the index numbers specified in all the 6Eh registered Index USINT module lists 111 Number of G USINT Shows the number of input channels supported 6Fh supported input by this channels module instance 112 Number of G USINT Shows the number of output channels supported 70h supported output by this channels module instance SWIRE data 113 Input1_ G DWORD Contains the first 4 bytes of the process input 71h DWORD data 114 Input2_ G DWORD Contains the last 4 bytes of the process input data 72h DWORD 115 Output1_ G DWORD Contains the first 4 bytes of the process output 73h DWORD data 116 Output2_ G DWORD Contains the last
77. D301034 1211 BL20 EtherNet IP 6 9 Application example BL20 gateway with an Allen Bradley PLC 6 4 Address setting at the gateway 6 4 1 Address setting via DHCP mode In this application example the IP address is set via DHCP using the software tool BootP DHCP Server version 2 3 2 0 from Rockwell Automation Figure 6 10 BootP Server from Rockwell Automation 6 10 gj BOOTP DHCP Server 2 3 5 x File Tools Help r Request History Clear History Add to Relation List Type Ethernet Address MAC IP Address x BOOTP DHCP Server Version 2 3 2 0 Copyright 2003 Rockwell Automation Inc r Relation List New Delete Eni r Status Entries 0 of 256 Addresses in the range from 1 to 254 can be allocated The addresses 0 and 255 are reserved for broadcast messages in the subnet Note i The rotary coding switches on the gateway must be set to 400 in order to enable the DHCP Mode D301034 1211 BL20 EtherNet IP Address setting at the gateway After having been connected to the network the BL20 sends DHCP requests to the server using its MAC ID Figure 6 11 PE nix DHCP request Be Joos Heb r Request History of BL20 gateway Add to Relation List D d IP Address DHCP 00 07 46 FF 60 15 m Relation List New Delete Enable BOOTE Enable HCE Disable BOOTR OHGR r Status Entries Unable to s
78. ION cccccscccccsscccscccccscccessccccsccseescccesscssesccsesscecesscsscscccessccsesecceescccessccessscceseccceececessccesesscesesecssescsesscseesees 4 3 Technical data err VEI c 4 4 Connection rbi rfkse n Field b s CONNEcti M si m Power Supply via terminal block with screw connection Service interface connection female PS 2 connector LGPRICICERTIDI Mee 4 8 IFED bebidVIOE aesti dtm E MEM atic eaten sane nse 4 8 Default setting of the gateway eterne entente nnns ntn ttt notti ntt ttts etti notte notti nott notet nott ttts ns tte nott 4 9 4 5 3 4 5 4 4 5 5 4 5 6 4 5 7 4 5 8 4 6 4 7 4 7 1 4 7 2 4 8 4 8 1 4 8 2 4 9 5 1 5 1 1 5 1 2 5 1 3 5 2 5 2 1 5 2 2 5 2 3 5 2 4 5 2 5 5 2 6 5 2 7 5 2 8 5 3 5 3 1 5 3 2 5 3 3 5 3 4 5 3 5 5 3 6 5 3 7 5 3 8 5 3 9 5 3 10 5 3 11 5 3 12 5 3 13 5 3 14 5 3 15 5 3 16 5 3 17 5 3 18 5 3 19 Address setting via the rotary mode ssscsssssccsssessssseesesnseeesssescessseesssseessssnecesusecesussessssnecesuseasuusessnssesessusescnssesennsseesuneceesunsesssssecs Address setting BUE Mie To Too CR Address setting via DHCP moOde ssssssccssssssssssesesssessssseesesssesonsssesonssescrssecerssecesssnecersnecenssseceneeersseesersneccerseccessueressneessnanersranecseranes Addre
79. ION 0 A write job would be accepted with the next telegram of process output data handshake for data transmission to the register 1 control register write acknowledged A modification of the register contents by a process output was initiated i e WRITE OPERATION 1 A write job would not be accepted with the next telegram of process output data D301034 1211 BL20 EtherNet IP 5 77 Implementation of EtherNet IP Table 5 52 Object instance 5 78 Attr No Attribute name Get Type Description dec TES hex 113 Result write G Bit 7 71h operation 0 The writing of user data for process output to the register addressed with Address write register in the process output data could not be executed 1 control register write accepted The writing of user data for process output to the register addressed with Address write register in the process output data could be executed successfully 114 Result read G BYTE Bit O to 6 reserved 72h operation mm 0 The reading of the register stated in Address read register was accepted and executed The content of the register is located in Value read register 1 register read operation aborted The reading ofthe register stated in Address read register was notaccepted Value read register is zero 115 Address read G UINT Address ofthe input register with contents stated 73h register in Value read register when
80. Instances 103 and 104 see Instance 103 Instance 104 page 5 14 are used the Connection Parameters have to be set according to the actual station configuration which means the in and output sizes have to match the sizes definitely required by the station This required in and output size 2 to max 496 Byte can be read out using Assembly Class 0x04 Instance 0x67 Attr 0x04 and Assembly Class 0x04 Instance 0x68 Attr 0x04 In the Connection tab set the Requested Packet Interval RPI to 10 ms which normally should be the default setting For BL20 the successfully tested RPI range is 5 and higher Figure 6 24 Set connection options for BL20 Wil Module Properties Ethernet BL20 ETHERNET MODULE 1 1 General Connection Module Info Requested Packet Interval RPI ms 1 0 3200 0 ms Inhibit Module Major Fault On Controller If Connection Fails While in Run Mode Module Fault Status Offline Cancel D301034 1211 BL20 EtherNet IP 6 17 Application example BL20 gateway with an Allen Bradley PLC 6 6 3 Downloading the I O configuration If the configuration of the network is completed it can be downloaded to the controller by using for example the Communication Download command Figure 6 25 xi Down l oadi n g File Redundancy Nonvolatile Memory the con fi g ura Options General l Date Time Major Faults l Minor Faults tion Condition The open project doesn t mat
81. OAD LOAD LOAD DO cwp_ CMP_ pre Loi PARAM VAL2 VALT PARE Structure of the data bytes with Function and behavior of DO1 DO2 Figure 10 4 Structure of the data bytes with Function and behavior of DO1 DO2 SET CTRL_ SET RES_ CTRL_ Sw DO2 Dot Dot STS SYN GATE LOAD LOAD LOAD LOAD_ LOAD Do CMP_ CMP_ PRE VAL PARAM VAL2 VALT PARE reserved D301034 1211 BL20 EtherNet IP 10 7 Appendix Table 10 3 Control bit Explanations Meaning of the data bits process output AUnlike the MODE_DO2 Only valid if LOAD DO PARAM 0 1 physical digital The virtual A output DO2 can show the status of the data bit SET DO2 or output DOT comparison results if CTRL_DO2 1 output DO2 is MODE DO2 defines which function DO2 is to accept onlya data 00 The output DO2 shows the status of the control bit SET DO2 Kalye tharis This must be released with CTRL_DO2 1 indicated with SR thedata bit 01 Output DO2 indicates STS DO2 of the Counter status 2 reference value 2 process 10 Output DO2 indicates input Counter status x reference value 2 11 Output DO2 indicates Counter status reference value 2 A pulse is generated for indicating equal values The pulse duration is defined by byte 2 of this process output s MODE DO1 Only valid if LOAD DO PARAM 0 1 The physical output DO1 can show the status of the data bit SET DO1 or compar
82. OL 80h 0 1byte ctrl status header The diagnostic data are not part of the process input data 7 bytes of user data are available 1 2byte ctrl status header The diagnostic data are part of the process input data 6 bytes of user data are available 5 64 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 50 Attr No Attribute name Object instance J dec hex Get Type Set Description 129 Bit rate 81h G S ENUM USINT Used to set the baudrate for the gateway 0 reserved 1 300 bps 2 600 bps 3 1200 bps 4 2400 bps 5 4800 bps 6 9600 bps 7 14400 bps 8 19200 bps 9 28800 bps 10 38400 bps 11 57600 bps 12 115200 bps 15 reserved 130 Disable 82h diagnostics G S BOOL 0 released The diagnostic function is activated 1 blocked The diagnostic function is deactivated 131 Flow control 83h G S ENUM USINT 0 off data flow control is deactivated 1 XON XOFF Software handshake is activated 2 RTS CTS Hardware handshake is activated 3 reserved 132 Data width 84h G S ENUM USINT 0 7 bits 1 8 bits 133 Parity 85h G S ENUM USINT 0 none 1 odd The number of the bits set to 1 is odd incl data and parity bit 2 even The number of the bits set to 1 is even incl data and parity bit 134 Stop 86h G S
83. Opes redi rri epE E entaleseds D301034 1211 BL20 EtherNet IP 5 1 Implementation of EtherNet IP 5 3 11 5 3 12 5 3 13 5 3 14 5 3 15 5 3 16 5 3 17 5 3 18 5 3 19 5 3 20 5 3 21 5 2 Analog Output Current Module Class VSC109 ccsssscsssscssecssecsssscsstscsseccssccessecesuecessecessecsssecssscesscesssecssccesseeesneessneeesneesasees Object Mstan toe teen tede desi dae dtede pian tide iden AA bios vetuit der dt Analog Input PT100 NI Module Class VSC110 eese eeetteee teen tte natio ttt os ttis ttost ttes ttt ttt nott socis Object Instance eterne Analog Input THERMO Module Class VSC11 1 Object Instance eerte Counter Module Class MSC1 12 este creto ere teer a ererdel ope tup ocn stel coelo cpu avene a eee diaii Object Iristarice ettet tenebunt dtp tele aeterne en ales ated pant aec pnr e fede ones RS232 Module Class VSCTTA 2 5 ertet ciet eiue OS ETE beet eee ueniet e brea etre tetto feet rede Object Instance de deret ondes inei tenete cede e er iere a aas dee ree re aede eet neared ainean RS485 422 Module Class VSC115 Object Instance sss SSI Module Class VSC116 ObjectInistance eiae ena enri iis e revient niceai denne tgo ape tra a Srba aiao derit Digital Versatile Module Class VSC117 essssssssssscsssecseccssecsssecessecsssecsssccenscesssecssccessccessecssuecesccssscesuscesucesusecsusccesceceseecsneeesnsee
84. Printer Sharing for Microsoft Networks ivi Y Internet Protocol TCP IP Install 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 Ok Cancel 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 6 2 internet Protocol TCP IP ixi Changing the General PC s IP address 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 Obtain an IP address automatically 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 C Use the following DNS server addresses Preferred DNS server JE EXC Alternate DNS server J Advanced 6 4 D301034 1211 BL20 EtherNet IP Changing the IP address of a PC network interface card Industri A 6 3 2 Changing the IP address in Windows NT 1 Open the folder Network in the Control Panel 2 Activate TCP IP connection in the tab Protocols and click the Properties button Figure 6 3 Network config ura
85. Result read operation 0 116 Value read G DWORD Content of the register to be read if Result read 74h register operation 0 If Result read operation 1 Value read register 0 117 Control G S WORD Bit 0 to 6 reserved 75h Bit 7 0 Request to read the SSI encoder cyclically 1 suspend communication requested Request to interrupt communication with the encoder Bit 8 0 Default status i e the data bits 8 to 10 of the Diagnostics and status attribute always have the value 0 irrespective of the actual SSI encoder value 1 compare flag CMP1 active Comparison active i e the data bits 8 to 10 of the Diagnostics and status attribute always havea value based on the result of the comparison with the actual SSI encoder value D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 52 Attr No Attribute name Object instance j dec hex Get Type Set Description 117 75h Control G S WORD Bit 9 0 Default status i e reset of Bit 9 of the Diagnostics and status attribute not active 1 clear CMP1 flag Reset of bit 9 of the Diagnostics and status attribute active Bit 10 reserved Bit 11 0 Default status i e the data bits 11 to 13 of the Diagnostics and status attribute always have the value 0 irrespective of the actual SSI encoder value 1 compare flag CMP2 active Comparison active i e the
86. S_OFLW 1 or STS UFLW 1 process input 10 Output DO1 indicates a value below the lower measuring limit STS_UFLW 1 process input 11 Output DO1 indicates a value above the upper measuring limit STS_OFLW 1 process input 10 12 D301034 1211 BL20 EtherNet IP Data image of the technology modules 10 1 2 RSxxx module Process input data The incoming data are stored in the receive buffer of the BL20 1RSxxx module segmented and transferred to the PLC via the module bus and the gateway The transmission is realized in a 8 byte format structured as follows E 1 status byte used to guarantee error free data transmission E 1 byte diagnostic data E 6 byte user data Figure 10 8 Data image PLC input data D301034 1211 BL20 EtherNet IP 10 13 Appendix Table 10 5 Meaning of the data bits process input Designation Value Meaning BufOvfl FrameErr HndShErr HwFailure PrmErr 0 255 Diagnostic information correspond to the diagnostic information in the diagnosis telegram These diagnostics are always displayed and independent to the setting of the parameter Diagnostics STAT 1 The communication with the data terminal equipment DTE is error free 0 The communication with the data terminal equipment DTE is disturbed A diagnosis message is generated if the parameter Diagnostics is set to 0 release The diagnostic data show the cause of the communi
87. Spec Vol 2 Rev Status p 1 1 0x00000000 l Obtaining initial configuration BOOTP DHCP BOOTP DHCP disabled and disabled and l BOOTP OR stored config stored config valid DHCP enabled valid Waiting for configuration request received Set_Attributes response received l BOOTP DHCP Applying Status configuration 0x00000000 l Configuration applied TCP IP network Change interface h interface configured configuration Status 0x00000001 5 22 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway 5 2 8 Ethernet Link Object OxF6 Industri A 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 27 Attr No Attribute Name Get Type Value Class attributes Set 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT INSTANCE G UINT 1 3 0x03 NUMBER OF INSTANCES G UINT 1 6 0x06 MAX CLASS G UINT 7 IDENTIFIER 7 0x07 MAX INSTANCE ATTRIBUTE G UINT 6 Instance Attributes Table 5 28 Attr No Attribute Name Get Type Description Instance Set attributes 1 0x01 INTERFACESPEED G UDINT Speed in megabits per second e g 10 100 1000 etc 2 0x02 INTERFACE FLAGS G DWORD see Table 5 29 Interface flags 3 0x03 PHYSICAL G ARRAY OF Contains the interface s MAC address ADDRESS USINT
88. Structure TCP IP Network Interface Configuration 0x05 CONFIGURATION of see page 5 20 IP ADDRESS G UDINT Current IP address NETWORK MASK G UDINT Current network mask GATEWAY G UDINT Current default gateway ADDRESS NAME SERVER G UDINT 0 no name server address configured NAME SERVER 2 UDINT 0 no secondary name server address configured 5 DOMAIN NAME G UDINT 0 no Domain Name 0x05 configured 6 0x06 HOST NAME G STRING 0 no Host Name configured see page 5 21 Common Services Table 5 23 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 D301034 1211 BL20 EtherNet IP Implementation of EtherNet IP E Interface Status The Status attribute indicates the status of the TCP IP network interface Refer to the state diagram 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 24 Bit s Name Definition Interface Status 0 3 Interface Configuration Indicates the status of the Interface Configuration attribute Status 0 The Interface Configuration attribute has not been configured 1 The Interface Configuration attribute contains valid configuration 2 to 15 Reserved 4to 31 reserved Configuration Capability The Configuration Capability indicates
89. T the channels 1 to 8 of the analog input module 88h Only those channels are supported that are 8Fh defined in attribute 111 Number of supported channels Attribute 136 contains the data for channel 1 attribute 143 for channel 8 ENUM USINT Element 0 Type K 270 1370 C 1 Type B 100 1820 C 2 Type E 270 1000 C 3 Type J 210 1200 C 4 Type N 270 1300 C 5 Type R 50 1760 C 6 Type S 50 1540 C 7 Type T 270 400 C 8 50 mV 9 100 mV 10 500 mV 11 4 1000 mV 12 to 255 reserved D301034 1211 BL20 EtherNet IP 5 53 Implementation of EtherNet IP 5 3 14 Counter Module Class VSC112 This Class contains all information and parameters concerning the counter module Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Two different operating modes can be selected for the counter module counter mode and measurement mode Different attributes are supported depending on the operating mode selected meaning with certain attributes the operating mode has to be defined The operating mode is determined in attribute 113 Table 5 49 Object instance 5 54 Attr No Attribute name Get Type Description dec Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module
90. UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 2RFID S 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type 6Bh USINT see attribute 107 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the module 6Ch interface ARRAY OF BYTE Control byte sequence 5 94 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 56 Attr Attribute name Get Type Description Object instance no Set dec hex 109 Module response G ARRAY Response interface of the module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Diag size G UINT Indicates the number of diagnostic bits of the 6Eh module 111 Diag G WORD Contains the diagnostic information of the 6Fh module WORD Bit for bit assignment according to module specification 112 Module registered G ENUM Contains the index numbers specified in all the 70h index USINT module lists 113 Module output G ARRY OF Process data output information 71h data BYTE 114 Moduleinput data G ARRY OF Process data input information 72h BYTE 115 Bypass time G S WORD Bypass time in ms 73h channel 1 116 Bypass time G S WORD Bypass time in ms 74h channel 2 Note For further information concerning the RFID communicati
91. USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 2AI PT 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Moduleregistered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 47 Attr No Attribute name Get Type Description Object instance dec Set hex 112 Produced data G Contains the data received by the analog input 119 module of channels No 1 to No 8 70h Only those channels are supported that are 77h cont
92. Word 12 15 9A 15 0B 15 0B 31 0E 15 0E 31 0H 15 0K 15 0K 31 0K 47 0K 63 Byte n 1 14 13 102 11 0A 14 0A 13 0A 12 04 11 0B 14 0B 13 0B 12 0B 11 0B 30 0B 29 0B 28 0B 27 0E 14 0E 13 0E 12 0E 11 0E 30 0E 29 0E 28 0E 27 0H 14 0H 13 0H 12 0H 11 0K 14 0K 13 0K 12 0K 11 0K 30 0K 29 0K 28 0K 27 0K 46 0K 45 0K 44 0K 43 0K 62 0K 61 0K 60 0K 59 10 9A 10 90B 10 0B 26 0E 10 0E 26 0H 10 0K 10 0K 26 0K 42 0K 58 9 0A 9 0B 9 0B 25 0E 9 0E 25 0H 9 0K 9 0K 25 0K 41 0K 57 oe zi 6 0A 8 OA7 04 6 0B 8 0B 7 0B 6 0B 24 0B 23 0B 22 0E 8 0E 7 0E 6 0E 24 0E 23 0E 22 0H 8 OH 0H 6 0K 8 OK 7 OK 6 0K 24 0K 23 0K 22 0K 40 0K 39 0K 38 Data Sizeln Data Size Out 16 hits status 16 bits control 32 bits Obits 2 bits Obits Obits 2 bits 32 bits 0 bits 4 bits O bits Obits Obits 16 bits Obits Obits 32 bits 4 bits O bits 64 bits 64 bits 26 Byte 16 Byte Byte n Sms 04 5 0A 4 0B 5 0B 4 0B 21 0B 20 0E 5 0E 4 0E 21 0E 20 0H 5 0H 4 0K 5 0K 4 0K 21 0K 20 0K 37 0K 36 0K 56 0K 55 0K 54 0K 53 0K 52 For detailed information on Status word see online Help choose your gateway click right for technical data 3 1 0 map allocates 16 bytes for output data Bit Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 Word 6 Word 7 For detailed information on Control word see online Help choose your gateway click right for technical data 15 90A 15 01 15 01 31 0K 15 0K 31 0K 47 0K 63 Byte n 1 144 13 12 11
93. 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 section Message Router Request Response Formats page 5 9 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 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 5 1 3 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 Cyclic Connection Unconnected UCMM Explicit Messaging E 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 COS I O connection COS Change Of State I O Connections establish event controlled connections Thi
94. acknowledged with the EXTF_ACK process output control bit ERR PARA 1 There is a parameter error ERR PARA is a group diagnostics bit With the separate diagnostics message bits 3 to 6 describe the parameter errors in more detail 0 The parameter definition is correct as per specification RES STS A 1 Resetting of status bits running The last process output telegram contained RES STS 1 0 The last process output telegram contained RES STS 0 ERR LOAD 1 Error with load function Control bits LOAD DO PARAM LOAD CMP VAL2 LOAD CMP VAL1 LOAD PREPARE and LOAD VAL must not be set at the same time during the transfer An incorrect value was transferred with the control bits Example Values above the upper count limit or below the lower count limit were selected for Load value direct or Load value in preparation STS LOAD Status of load function Set if the Load function is running STS DN 1 Status direction down STS UP 1 Status direction up STS DO2 The DO2 status bit indicates the status of digital output DO2 STS DO1 The DO1 status bit indicates the status of digital output DO1 STS DI The DI status bit indicates the status of digital input DI STS GATE 1 Counting operation running STS ND Status zero crossing Set on crossing zero in counter range when counting without main direction This bit must be reset by the RES STS control bit STS UFLW Status lower count limit Set if the count value goes below
95. ad current 0 BL20 4DO 24VDC 0 5A P lt 25 mA when load current 0 BL20 16DO 24VDC 0 5A P 30mA BL20 2DO 120 230VAC 0 5A lt 20 mA when load current 0 BL20 1AO I 0 4 20MA lt 50 mA BL20 2AO 1 0 4 20MA lt 50 mA BL20 2AO U 10 0 10VDC 50mA BL20 2DO R NC lt 20 mA BL20 2DO R NO lt 20 mA BL20 2DO R CO 20 mA BL20 1CNT 24VDC lt 50 mA when load current 0 BL20 2RFID A lt 100 mA when load current 0 D301034 1211 BL20 EtherNet IP 10 23 Appendix Table 10 10 Modules Powersupply Nominal current Nominalcurrent consumption of the BL20 modules onthe Gateway lt 250 mA module bus BL20 BR 24VDC D 1500 mA BL20 PF 24VDC D lt 28 mA BL20 PF 120 230VAC D lt 25 mA BL20 2DI 24VDC P lt 28 mA BL20 2DI 24VDC N lt 28 mA BL20 2DI 120 230VAC lt 28 mA BL20 4DI 24VDC P lt 29 mA BL20 4DI 24VDC N lt 28 mA BL20 16DI 24VDC P lt 45 mA BL20 32DI 24VDC P lt 30mA BL20 1AI I 0 4 20MA lt 41 mA BL20 2AI 1 0 4 20MA lt 35 mA BL20 1AI U 10 0 10VDC lt 41 mA BL20 2AI U 10 0 10VDC lt 35 mA BL20 2AI PT NI 2 3 lt 45 mA BL20 2AI THERMO PI lt 45 mA BL20 2DO 24VDC 0 5A P lt 32 mA BL20 2DO 24VDC 0 5A N lt 32 mA BL20 2DO 24VDC 2A P lt 33 mA BL20 4DO 24VDC 0 5A P lt 30mA BL20 16DO 24VDC 0 5A P lt 45 mA 10 24 D301034 1211 BL20 EtherNet IP Nominal current consumption and power loss Industri A
96. ained in attribute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G Contains the diagnostic data of the channels 1 to 127 8 of the analog input module 78h Only those channels are supported that are 7Fh defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag Bit 0 0 ok 1 measurement value range error Bit 1 0 ok 1 open circuit Bit 2 0 ok 1 short circuit 128 Mode parameter G S Contains the diagnostic data of the channels 1 to 135 data 8 of the analog input module 80h Only those channels are supported that are 87h defined in attribute 111 Number of supported channels Attribute 128 contains the data for channel 1 attribute 135 for channel 8 BYTE mode Bit 0 Mains suppression 0 50 Hz mains suppression 1 60 Hz mains suppression Bit 1 value representation 0 Integer 15 Bit sign 1 12 Bit left justified Bit 2 Diagnose 0 release 1 block Bit 3 Channel 0 activate channel 1 deactivate channel Bit 4 Measurement mode 0 2 wire 1 2 3 wire Bit 5 to 7 reserved D301034 1211 BL20 EtherNet IP 5 49 Implementation of EtherNet IP Table 5 47 Object instance Attr No Attribute name Get Type dec Set hex Description ENUM USINT 136 Sensorpara meter G S 143 data 88h 8Fh Co
97. als 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 Voltages 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 indivi
98. amic 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 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 10 2 D301034 1211 BL20 EtherNet IP 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 th
99. annels Diagnosis data 117 Open circuit G DWORD This attribute contains diagnosis information 75h error 1 about open circuit errors according to channels 118 Open circuit G DWORD This attribute contains diagnosis information 76h error 2 about open circuit errors according to channels 119 Short circuit G DWORD This attribute contains diagnosis information 77h output error 1 about output short circuits according to channels 120 Short circuit G DWORD This attribute contains diagnosis information 78h output error 2 about output short circuits according to channels 121 Short circuit G DWORD This attribute contains diagnosis information 79h sensor error 1 about sensor short circuits according to channels 122 Short circuit G DWORD This attribute contains diagnosis information 7Ah sensor error 2 about sensor short circuits according to channels 123 Cable error 1 G DWORD This attribute contains diagnosis information 7Bh about a wire break channel 1 to 32 124 Cable error 2 G DWORD This attribute contains diagnosis information 7Ch about a wire break channel 33 to 64 D301034 1211 BL20 EtherNet IP 5 83 Implementation of EtherNet IP Table 5 53 Object instance 5 84 Attr No Attribute name Get Type Description dec Sei hex Parameter data 125 Open circuit G S DWORD Enables the wire break detection mode channel 7Dh monit
100. ase module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 1RS485 422 106 Module revision G USINT Contains the revision number of the module 6Ah number firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module registered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels D301034 1211 BL20 EtherNet IP 5 67 Implementation of EtherNet IP Table 5 51 Attr No Attribute name Object instance j dec hex Get Set Type Description 112 70h RX byte count USINT Number of the valid bytes 0 to 7 in this data segment 113 71h RX count USINT This value is transferred together with every data segment of the process input data The RX
101. ata counter mode The process output data is the data that is output from the PLC via the gateway to the BL20 1CNT 24VDC module The BL20 module allows some parameters to be modified during operation The other parameters must be changed prior to commissioning Note The current count operation is stopped if parameters are changed during operation Note i The parameters modified via the process output data are not retentive The commissioning after a power failure is based on the parameter data of the configuration tool or default configuration The data is transferred in 8 byte format E Two control bytes contain the control functions for transferring the parameter values for starting stopping the measurement for acknowledging errors and for resetting the status bit E Four bytes provide the parameter values for Load direct Load in preparation Reference value 1 Reference value 2 or Behavior of the digital outputs D301034 1211 BL20 EtherNet IP Data image of the technology modules Structure of the data bytes with Load value direct Load value in preparation Reference value 1 or Reference value 2 Figure 10 3 Structure of the data bytes with Load value direct Load value in prepara tion Reference value or Refer fs ara ers ena ar oxo ence value 2 0 2 3 4 ext erR set era ser_ CTRL_ sw ack DO2 Doz Do1 bot SYN GATE LOAD L
102. ates the number of diagnostic bits of the 6Eh module 111 Diag G WORD Contains the diagnostic information of the 6Fh module WORD Bit for bit assignment according to module specification 112 Module registered G ENUM Contains the index numbers specified in all the 70h index USINT module lists D301034 1211 BL20 EtherNet IP 5 35 Implementation of EtherNet IP 5 3 6 Digital Input Module Class VSC104 This Class contains all information and parameters for digital input modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 41 Attr No Attribute name Get Type Description Object instance doc Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 4DI P 106 Modul
103. ateway bit assignement see Status register 2 page 5 28 Mapping can be disabled using attribute 139 GW Status Register in Gateway Class VSC 100 Object Instance 2 page 5 29 1ton Input data of modules Mapping similar to mapping of gateways with older firmware see above Data mapping for gateways with rev 1 6 0 page 5 15 n y Summarized diagnostic data page 4 21 of individual length Can be enabled disabled using VSC102 Object instance 3 attr 104 page 5 33 ff y the no of following bytes depending on the no of slices within the station n z Scheduled diagnostic data page 4 22 Can be enabled disabled using VSC102 Object instance 3 attr 105 page 5 33 ff z data length for the scheduled diagnostics set according to the properties of the modules attached to the gateway Consumed Data word no 0 Output data Control word of the gateway mapped but not defined Mapping can be disabled using attribute 139 GW Control Register in Gateway Class VSC 100 Object Instance 2 page 5 29 Output data of the modules Mapping similar to mapping of gateways with older firmware see above Data mapping for gateways with rev 1 6 0 page 5 15 Note i The data mapping can be structured individually All parts except for the in and output data of the station can be enabled disabled independently from each other D301034 1211 BL20 EtherNet IP Classes and insta
104. atiomships pg 5 8 2 1 MESRINE 5 8 3 Electromagnetic Compatibility EMC esee eese ee eene eee eee ette e tenete eee e eee etae eee e ee eee e e eese eee e eese eee 6 8 3 1 Ensuring diu ec 8 3 2 Grounding of inactive metal components 8 3 3 PE connection eene to ttntnnns 8 34 Earth free operation ssescssssssssscssesessscssssecscessseecssecsssecessecsssecessccssscessecesseecsuceesccessccessueceaseceasessasecssseesucessesesuseessceesscessneessneeesneesies 8 3 5 Mounting Rz lE T E 7 8 4 Shielding of cables Y 8 8 5 Potential compensation 9 8 5 1 Switching inductive Mor sesteseessesstestortessessssstestetenesessstetteeeesssssesstet 9 8 5 2 Protection against Electrostatic Discharge ESD sssssssssecsssecsssecsssessssesssecenscesssccsssccesecesssecsusesseecssecessccesscessaceesueessneecsneessees 9 D301034 1211 BL20 EtherNet IP 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 cl
105. bute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G 127 78h 7Fh BYTE Contains the diagnostic data of the channels 1 to 8 of the analog input module Only those channels are supported that are defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag Bit 0 0 ok 1 measurement value range error Bit 1 0 ok 1 open circuit only measurement range 4 to 20 mA Bit 2 to 7 reserved D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 45 Object Instance Attr No Attribute name Get Type Description dec Set hex 128 Mode para meter G S BYTE Contains the diagnostic data of the channels 1 to 135 data 8 of the analog input module Only those 80h channels are supported that are defined in 87h attribute 111 Number of supported channels Attribute 128 contains the data for channel 1 attribute 135 for channel 8 BYTE mode Bit 0 Current mode 0 0 to 20 mA 1 4to 20 mA Bit 1 Value representation 0 Integer 15 Bit sign 1 12 Bit left justified Bit 2 Diagnostic 0 enable 1 2 disable Bit 3 to 7 reserved D301034 1211 BL20 EtherNet IP 5 45 Implementation of EtherNet IP 5 3 11 Analog Output Current Module Class VSC109 This Class contains all inf
106. cation disturbance The user has to set back this bit in the process output data by using STATRES TX CNT ACK 0 3 The value TX CNT ACK is a copy of the value TX CNT TX CNT has been transmitted together with the last data segment of the process output data TX CNT ACK is an acknowledge for the successful transmission of the data segment with TX CNT RX CNT 0 3 This value is transferred together with every data segment The RX_CNT values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments RX_BYTE_CNT 0 7 Number of the valid bytes in this data segment 10 14 D301034 1211 BL20 EtherNet IP Data image of the technology modules Process output data Process output data are data which are sent from the PLC via the gateway and the BL20 1RSxxx module to a connected field device The data received from the PLC are loaded into the transmit buffer in the BL20 1RSxxx module The transmission is realized in a 8 byte format which is structured as follows E 1 control byte used to guarantee error free data transmission E 1 byte containing signals to flush the transmit and receive buffer E 6byte user data Figure 10 9 Process output data Byte Bit 7 Bit 6 Bit 5 Controll byte RX_CNT_ACK DCCNT 1 Bit3 Bit2 Bit1 Bito D301034 1211 BL20 EtherNet IP 10 15 Appendix
107. ce 2 Gateway Instance attribute 109 0x6D STATUS REGISTER 2 for detailed information see STATUS REGISTER 2 page 5 26 4 8 2 Control word The control word is mapped into the station s process data At present it is not used but reserved for further use see also Mapping of process data page 5 13 D301034 1211 BL20 EtherNet IP 4 23 Technical features 4 9 Module specific diagnostic messages Detailed module specific diagnostic messages can be read out from Gateway Class VSC 100 Object Instance 2 Gateway Instance attribute 116 0x74 MODULE DIAG SUMMARY for detailed information see also page 5 28 4 24 D301034 1211 BL20 EtherNet IP Industri A 5 Implementation of EtherNet IP 5 1 The EtherNet IP Communications Profile e eee ee eee e eee e eene oet e eoe ee eese eese sesso sees esee eesosee 3 5 1 1 AER S T le PEE E EE 3 5 1 2 E ALE e e E E E EEE A E E T I T A 3 5 1 3 Communications profile of the BL20 EtherNet IP gateway Point to point Multicast za 4 Connected Explicit MESSAGING rssessccseseccssseecsssecssssecssssscessteecssseecsssseccssseceesnscesssssecssssscesus snsseeessseessssesessnseesesseeeesneeeesnseesseee 4 5 2 Classes and instances of the EtherNet IP gateway 5 2 1 EtherNet IP Standard Classes
108. ch the project in the controller Connected Controller Controller Name Testi Controller Type 1756 L55 A 1756 M12 4 ControlLogix5555 Controller Comm Path AB_ETHIP 14192 168 1 100 Backplane 0 Serial Number O01DF941 Security No Protection Offline Project Controller Name BL20 1 Controller Type 1756 L55 ControlLogix5555 Controller File are_Test XION_BL20 BL20_G W_EN_IP SPS BL20_1 4CD SerialNumber lt none gt Security No Protection Select File Cancel Help In the Download dialog box start the download by pressing the Download button Figure 6 26 xi Downloadin s p g Download offline project BL20_1 to the controller the configura ib gu a Connected Controller tion Name Test Type 1756 L55 4 1756 M12 4 ControlLogix5595 Controller Path AB_ETHIP 1 192 168 1 100 Backplane 0 Serial Number 001DF941 Security No Protection A The controller is in Remote Run mode The mode will be changed to Remote Program prior to download Cancel Help 6 18 D301034 1211 BL20 EtherNet IP Configuration of the network in RSLogiX 5000 If an error message is generated warning that the communication path can not be found please open the Path menu see Figure 6 28 select your controller and press Set Project Path see Figure 6 29 Figure 6 27 RSLogix 5000 Error message i Failed to go online with the controller Communications path needed Error 701 80042800 a 6 28 Pah So
109. ck interface as Bit4 126 reserved 7Eh 127 7Fh 128 Param SWIRE G S BYTE Bit 0 to bit 3 7Eh type ident slave 1 Variant ID 143 FFhex No slave 8Fh Param SWIRE 20hex SWIRE DIL MTD type ident slave 16 D301034 1211 BL20 EtherNet IP 5 93 Implementation of EtherNet IP 5 3 21 RFID S module class VSC124 This class contains all information and parameters for the modules BL20 2RFID S Attention In this class chosen parameter options can only be deactivated by activating another option of this parameter Note Please refer to paragraph section Class Instance ofthe VSC page 5 26 for the description of the class instances for VSC Object Instance Note The object instances of VSC 124 represent the individual RFID S channels not the complete modules Table 5 56 Attr Attributename Get Type Description Object instance no Set dec hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 electronics module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G
110. controller for the l 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 is now incompatible Bit 10 I O Communication Lost Error No communication on the I O module bus Voltage errors Bit 09 U too low System supply voltage too low 18 VDC Bit 08 U s too high System supply voltage too high 30 VDC Bit 07 U too low Load voltage too low lt 18 VDC Bit 06 U too high Load voltage too high 30 VDC Bit 05 lys 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 l O module sends active diagnostics 116 Module diag G ARRAY OF Contains the diagnostic information of all 74h 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 1 module missing Bit 6 1 wrong module plugged DWORD Diag Contains the module diagnostic information Module diagnostic bits that are not used are indicated by a 0 5 28 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 34 Attr No Attribute name Get Type Description Object Ins
111. d supported by this module Instance channels 5 40 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 43 Object instance Attr No Attribute name Get Type Description dec Set hex 112 Produced data G INT Contains the data transmitted by the analog 119 input module of channels No 1 to No 8 70h Only those channels are supported that are 77h contained in attribute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G BYTE Contains the diagnostic data of the channels 1 to 127 8 of the analog input module 78h Only those channels are supported that are 7Fh defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag BitO 0 ok 1 measurement value range error Bit1 to 7 reserved 128 Mode para meter G S BYTE Contains the diagnostic data of the channels 1 to 135 data 8 of the analog input module Only those 80h channels are supported that are defined in 87h attribute 111 Number of supported channels Attribute 128 contains the data for channel 1 attribute 135 for channel 8 BYTE mode BitO Voltage mode 0 20 10V 1 2 10V 10V Bit 1 Value representation 0 Integer 15Bit sign 1 12Bit left justified Bit 2 Diagnostic 0 enable 1 disable Bit 3 to 7 reserved D301034 1211 BL20 Et
112. d these E 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 E 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 96 of shield connection impedance E 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 must 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 8 5 1 Switching inductive loads In the case of inductive loads a protective circuit on the load is recommended 8 5 2 Protection against Electrostatic Discharge ESD Attention Electronic modules and base modules are at risk from electrostatic discharge when disassembled Avoid touch
113. data bits 11 to 13 of the Diagnostics and status attribute always have a value based on the result of the comparison with the actual SSI encoder value Bit 12 0 Default status i e no reset of Bit 12 of the Diagnostics and status attribute active 1 clear CMP2 flag Reset of bit 12 of the Diagnostics and status attribute active Bit 13 to 15 reserved 118 76h Address read register G S UINT Address of the register with contents stated in Value read register when Result read operation 7 0 119 77h Address write register G S UINT Address of the register to be written with Value write register 120 78h Value write register G S DWORD Value to be written to the register with the address stated at Address write register 121 79h Write operation G S BOOL 0 Default status i e there is no request to overwrite the content of the register address stated at Address write register with Value write register Bit 6 of the Result write operation attribute is reset 0 if necessary 1 Request to overwrite the content of the register at the address Address write register with Value write register 122 7Ah Write register and execute STRUCTOF UINT DWORD The structure contains both parts Address of the register to be written Value to be written The write operation is executed without checking whether a write j
114. dley PLC 6 1 1j M 6 2 6 1 1 Prerequisites for this example ssssssssssccsssccssssssesccssecsssecsssccsssccssscesscessccsssccssecesscecssseessesuscesucessscessscessceesscessuscssnccesneeesneeesseeesaeees 6 2 6 2 ASA bSenitbg m 6 3 6 3 Changing the IP address of a PC network interface card eerie eee esee tenete ee en ttn atentos stes a tos 6 4 6 3 1 Changing the IP address in Windows 2000 Windows XP eese tte ttennntte netten to ntt tenentis nntitnnnis 6 4 6 3 2 Changing the IP address in Windows NT ssssssscssssscessssccsnseeccuseccesssccssnseecsusscessnscessusescssscessuecuusecesssecesunseessuseccessecensnsesenssecessees 6 5 6 3 3 Changing the IP address via l O ASSISTANT V3 ssssssssssscssssscesssccssssecsnseerssssscessseecsnseecsnssecsssseessusecsnseecesssecssnseecsnsssessnseessnsseseese 6 6 6 4 Address setting at the gateway eere eese eerte eene eene tents sns to stesso stessa toss ts tss enses assa sss s tss en sena snae 6 10 6 4 1 Address setting via DHCP moOde essence retener ets tetto tts ns ttt tn tono ttts ntt tttt sette nott otto 6 10 6 5 Setting up communications with the software tool RSLinx 4 eere eese cessent esten etna ense tns tn aano 6 13 6 6 Configuration of the network in RSLogiX 5000 6 6 1 Configuration of the controller 6
115. dual 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 installation due to a short circuit D301034 1211 BL20 EtherNet IP 10 5 Glossary 10 6 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 D301034
116. e 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 U 4 8 2 6754 Set 9 0 9 0 1 2 8 2 3 7 3 654 654 Adr x 10 Adr x 1 O00 192 168 1 254 1 254 Static rotary 300 BootP 400 DHCP 500 PGM 600 PGM DHCP Note 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 12 D301034 1211 BL20 EtherNet IP Address setting Industri A 4 5 7 Address setting via PGM DHCP This mode operates exactly like the PGM mode except that when the gateway is initially powered in this mode it will broadcast its MAC ID similar to DHCP mode But in contrast to the regular DHCP mode the DHCP transmission on startup can be enabled disabled via TCP Object attributes in EtherNet IP In order to activate the PGM DHCP mode the rotary coding switches must be set to 600 Figure 4 12 9 0 4 PGM DHCPmo 8 2 de 3 x 100 65 4 9 0 8 2 3 x 10 675g 4 9 0 4 8 2 3 x1 675g 4 The I O ASSISTANT can also be used to set the IP Address in this mode This mode is the Out of the Box mode fo the gateway and provides powerful and convenient Start up features 1 DHCP start up if network contains DHCP server and or automated c
117. e operation modes Bit 0 reserved Bit 1 Automatic SWIRE configuration 0 The physically present configuration of the SWIRE bus is only accepted as the ACTUAL configuration by pressing the CFG button The comparison with the SET configuration is then carried out 1 The physically present configuration is automatically accepted as the ACTUAL configuration and then compared with the SET configuration Bit 2 PLC configuration check 0 Configuration check based on device ID Only SWIRE slaves with a device ID completely matching the set configuration are accepted on the bus 1 All slaves are mapped in 4Bit INPUT 4Bit OUTPUT without checking the device ID D301034 1211 BL20 EtherNet IP 5 91 Implementation of EtherNet IP Table 5 55 Attr No Attribute name Get Type Object instance Ent s dec Set hex Description 121 Param common G S Byte 79h operation modes Bit 3 Configuration check 0 No data exchange with a slave with an incomplete incorrect configuration 1 The bus also goes into operation with the correctly configured slaves even if the configuration is incomplete This means in position oriented addressing All slaves detected by the daisy chain configuration with a position that matches the set configuration are started up Slaves that do not match the set configuration are inactive Bit 4 to bit 6 reserved 122 Param error G S BYTE 7Ah report control B
118. e 101 iuit tarot nr rre 5 14 Instance 102 ici b e ERR DER RUD Rp RR Sas 5 14 Instance 103 iuis nien inne ni nh ek d as 5 14 Instance 104 dni irr p en RR RR dan 5 14 IP Internet Protocol eene 3 3 JP address isis it od e RR RE RON HAM a 3 4 dm EET 6 4 J PUM PON ee T 2 7 L ELI M creer 2 7 M IE TIKNTTER TETTE 2 7 mounting tall sarsana 8 7 N network configuration ssmm 6 1 nominal current consumption eene 10 22 o output assembly instance sss 5 14 P PECOMNCCON p 8 6 pin assignment power supply seseeee eene 4 6 plarining nr c ERE OE HR FU tt 7 2 potential groups sssseeeeeen nennen 7 7 potential relationships een 8 5 11 1 Index potential compensation cable ssssss 8 9 power distribution sees 2 3 powerlOSS nociones titled Mele aeos 10 22 power supply seems 7 4 Power Supply Module Class sees 5 34 prescribed use sssssssseee eene 1 3 process data ssssssssssssseeene eene 5 14 Process input counter counter mode eee 10 2 counter measurement mode e 10 4 RSXXX p m 10 13 ESSI aive ned eA Var NON Lee ME 10 17 Process output counter counter mode seen 10 6 counter measurement mode enne 10 10 ZRSXXXc c er deter
119. e A Module B Module C Module D Module E Module F Module G Module H Industri A I O modules Gateway BL20 4DI 24VDC P BL20 2Al 10 0 10V BL20 E 8DI 24VDC P BL20 4DI 24VDC P BL20 E 8DI 24VDC P BL20 E 8DO 24VDC 0 5A P BL20 2A0 1 4 20MA Module I BL20 4DO 24VDC 0 5A P Module Module K BL20 E 8DI 24VDC P BL20 E 8DO 24VDC 0 5A P Data mapping for gateways with rev lt 1 6 0 Table 5 15 Produced data Input data WORD format Bit 15 0 Process image word no of example station Status word A15 AO of the gateway see also Status register 2 page 5 28 1 B3 BO 2 C15 CO 3 C31 C16 4 E3 EO D7 DO 5 J7 JO F7 FO Consumed data Output data WORD format Bit 15 0 word no 0 Control word of the gateway mapped but not defined 1 G7 GO 2 H15 HO 3 H31 H16 4 K7 KO 13 10 The example station transmits 6 word input data and 5 word output data accordingly Note i For more information about data mapping please read also chapter 6 Examples for I O data mapping page 6 20 and Mapping report via O ASSISTANT page 6 22 D301034 1211 BL20 EtherNet IP Implementation of EtherNet IP Data mapping for gateways with rev gt 1 6 0 Table 5 16 Data mapping for gateways with rev 1 3 0 16 Produced Data word no Input data 0 Status word of the g
120. e connection of a BL20 station for EtherNet IP to an Allen Bradley PLC 6 1 1 Prerequisites for this example In order to configure BL20 devices and to build up communications with the Allen Bradley ControlLogix PLC over EtherNet IP the following software tools and hardware devices are necessary Software RSLinX used to establish communication over EtherNet IP RSLogix 5000 used to configure the controller and the other network hosts Hardware used in this example Allen Bradley PLC 1756 L55 A 1756 M12 A LOGIX5555 E Ethernet Bridge 1756 ENBT A BL20station with a gateway BL20 GW EN IP with EtherNet IP protocol Example station The following station is used in this application example Table 6 1 Module Data width Example station Process Process Alignment in out GW BL20 GW EN IP 0 BL20 2AI I 0 4 20MA 2 words word by word 1 BL20 2DI 24VDC P 2 bits bit by bit 2 BL20 2DO 24VDC 0 5 A P 2 bits bit by bit 3 BL20 2AI THERMO PI 2 words word by word 4 BL20 4DI 24VDC P 4 bits bit by bit 5 empty slot 6 BL20 1AI U 10 0 10VDC 1 word word by word 7 BL20 2AO 1 0 4 20MA 2 words word by word 8 BL20 4DI 24VDC P 4 bits bit by bit 9 BL20 1SSI 4 words 4 words word by word 6 2 D301034 1211 BL20 EtherNet IP Network configuration Industri A 6 2 Network configuration The BL20 gateways are delivered with the IP address 192 168 1 1 Note F In order to build up the
121. e devices and browse the connected network by pressing the search button Figure 6 5 Busaddress Management in the I O ASSISTANT 6 6 ig TCP IP Busaddress management Planned devices Device type Online ID Busaddress Designation T ag BL20 GW EN IP 1108010 192 168 124 1 BL20 GWw EN IP Device short name OK Cancel Apply Kp Disconnected QDatast Attention If Windows XP is used as operating system problems with the system internal firewall may occur It may eventually inhibit the access of the I 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 6 8 D301034 1211 BL20 EtherNet IP Changing the IP address of a PC network interface card The network is browsed for connected nodes which are then listed in the Busaddress Management It is now possible to change the address settings for all nodes in the list or only for the selected one Mark the selected node enter a new IP address and apply this address by confirming the changes using the Apply button Figure 6 6 Address chang ing for selected nodes rn Busaddress management Emo So iPL irt sQ A B Busaddress management Online available devices 132 168 120 50 Device type OninelD LIP Netmask Gateway Ethernet address BL20 Gw EN IP 1108010 19 255 255 0 0 192 168 1 1 00
122. e earthed Attention Observe all valid guidelines concerning internal and external lightning protection and grounding specifications when routing cables outside of buildings 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 D301034 1211 BL20 EtherNet IP 8 3 Guidelines for electrical installation 8 1 5 Transmission media For a communication via Ethernet different transmission media can be used coaxial cable 10Base2 thin koax 10Base5 thick koax yellow cable optical fibre TOBaseF twisted two wire cable 10BaseT with shielding STP or without shielding UTP Note i TURCK offers a variety of cable types for fieldbus lines as premoulded or bulk cables with different connectors The ordering information for the available cable types can be found under www turck com 8 4 D301034 1211 BL20 EtherNet IP Potential relationships Industri A 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
123. e is not carried out Bit 6 to 15 reserved 5 80 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 52 Attr No Attribute name Object instance j dec hex Set Get Type Description AINVALID_BITS 125 INVALID BITS 7Dh MSB INVALID BITS LSB Invalid bits LSB A G S USINT Number of invalid bits on the LSB side of the position value supplied by the SSI encoder The meaningful word width of the position value transferred to the module bus master is as follows FRAME LENGTH INVALID BITS MSB INVALID BITS LSB The invalid bits on the LSB side are removed by shifting the position value to the right starting with the LSB Default 0 Bit Ohex INVALID BITS MSB INVALID BITS LSB must always be less than FRAME LENGTH 126 7Eh Bit rate ENUM USINT 0 1 Mbps 1 500 kbps 2 250 kbps 3 100 kbps 4 125 kbps 5 83 kbps 6 71 kbps 7 62 5 kbps 8 to 15 reserved 128 80h Frame length G S USINT Number of bits of the SSI data frame FRAME LENGTH must always be greater than INVALID_BITS A Default 25 19hex 129 81h Kind of coding SSI G S BOOL 0 Binary code 1 GRAY code 130 82h Invalid G S bits MSB USINT Number of invalid bits on the MSB side of the position value supplied by the SSI encoder The meaningful word width of the position value transferred to the module bus ma
124. e module has to be flashing 4 plugged and has to be able to Hz communicate with the gateway Red green Adaptable modification of the Check the physical station for flashing 1 physically connected station pulled or new but not planned Hz data transfer possible modules LNK ACT Off No Ethernet link Check the Ethernet connection Green Link 100 Mbit Green Ethernet Traffic 100 Mbit flashing Yellow Link 10 Mbit Yellow Ethernet Traffic 10 Mbit flashing D301034 1211 BL20 EtherNet IP Technical features Table 4 3 LED displays LED Status Meaning Remedy MS Green Displays an active CIP Class 1 I O connection Green Gateway is ready for operation flashing Red Gateway indicates error Red DHCP BootP search of settings flashing 4 20 D301034 1211 BL20 EtherNet IP Status indicators diagnostic messages gateway Industri A 4 7 2 Diagnostic messages via the process data Besides the evaluation of diagnostic data via Explicit Messages BL20 for EtherNet IP offers the possibility of mapping diagnostic data into the gateways process data 2 different forms of diagnostic data handling are provided E Summarized Diagnostics E Scheduled Diagnostics Summarized diagnostics Note i The Summarized Diagnostics possibility is only implemented in gateways with Maj Rev gt 1 6 0 The summarized diagnostic data mode will send back 1 bit for each slice within the station This bit
125. e 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 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 D301034 1211 BL20 EtherNet IP 10 3 Glossary 10 4 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
126. e revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type 6Bh USINT see attribute 107 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Produced data G UINT Contains information concerning the range of 6Eh size data produced by the module 111 Produced data G DWORD Contains the input data of the module 6Fh DWORD Bit for bit assignment according to module specification 5 36 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 41 Attr No Attribute name Get Type Description Object instance dec Set hex 112 Diag size G UINT Contains information concerning the range ofthe 70h diagnostic data of the module 113 Diag G S DWORD Contains the diagnostic information of the 71h module DWORD Bit for bit assignment according to module specification 114 Param size G UINT Contains information concerning the range of 72h parameters of the module 115 Params G S DWORD Contains the parameters of the module 73h DWORD Bit for bit assignment according to module specification 116 Module registered G ENUM Contains the index numbers specified in all the 74h index USINT module lists D301034 12
127. e the value 0 irrespective of the actual SSI encoder value Comparison active i e the data bits REL CMP1 STS_CMP1 and FLAG CMP1 have a value based on the result of the comparison with the SSI encoder value STOP Request to read the SSI encoder cyclically Request to interrupt communication with the encoder D301034 1211 BL20 EtherNet IP 10 21 Appendix 10 2 Nominal current consumption and power loss Table 10 9 Nominalcurrent consumption of the BL20 modules from supply terminal lg 10 22 Modules Power Nominal current consumption supply Gateway BL20 BR 24VDC D 10A BL20 PF 24VDC D 10A BL20 PF 120 230VAC D 10A BL20 2DI 24VDC P lt 20 mA BL20 2DI 24VDC N lt 20 mA BL20 2DI 120 230VAC lt 20 mA BL20 4DI 24VDC P lt 40 mA BL20 4DI 24VDC N lt 40 mA BL20 16DI 24VDC P lt 40 mA BL20 32DI 24VDC P lt 30 mA BL20 1AI I 0 4 20MA lt 50 mA BL20 2Al I 0 4 20MA lt 12mA BL20 1AI U 10 0 10VDC lt 50 mA BL20 2Al U 10 0 10VDC lt 12 mA BL20 2AI PT NI 2 3 30 mA BL20 2AI THERMO PI 30 mA BL20 2DO 24VDC 0 5A P 20 mA when load current 0 BL20 2DO 24VDC 0 5A N 20 mA when load current 0 D301034 1211 BL20 EtherNet IP Nominal current consumption and power loss Industri A Modules Power Nominal current consumption supply BL20 2DO 24VDC 2A P lt 50 mA when lo
128. ecenssscenrssecnsanessnsecnsanscensusecssssecensnscensssecensnseessatees 6 5 Setting up communications with the software tool RSLinx ccce ecce ee eee eee eee eese eese sese sese enu 13 6 6 Configuration of the network in RSLogiX 5000 ccccccscccscccscccccccsccescccscccccccceccccsccscccsccesscsses 14 6 6 1 Configuration of the controller ee etes eene ttttsn tte tetto ttt tos ttt EEN AEA 14 6 6 2 Configuration of a BL20 station estere tenente etse i RSE EE ARA EERE R 16 6 6 3 Downloading the 1 0 configuration eee etes ttes ttes netto nnotts tonto nont tts A 18 6 7 Examples for I O data mapping crece eene ee eee eene eene e esses esee osse esses s sssssssss sss es sess sse es e eee eee see eoen 20 6 7 1 Mapping report via l O ASSISTANT essssssssssssscssecssscseecssccssccnsceseccsscenscesseesecasecssecsseessecssecuseseesueecseesseesssecuscensesssecuseesecaeeseeete 22 6 8 Example for process data access sesesssssscosssosssseoessosossocesscosesossssssoseosssosossesosssseseosossssssesssssssosessss 23 6 8 1 Setting outputs at BL20 2DQ 0 5 A P ssccsccecscniscsassesccassstaiessesrsassborssaccssessucesoassuatessdsessusaasastvecsuesadssuarteasteastacobasttaiescineaestiestasesuanta 23 D301034 1211 BL20 EtherNet IP 6 1 Application example BL20 gateway with an Allen Bradley PLC 6 1 General The following example shows detailed information about th
129. ed 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 Ei E E as protective BH earth and for the power sup Me ply with relay E modules T E A 2111 2 21 Crail PE rail 24V DC 1 Q4 2 24 1 24 1 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 2 5 Direct wiring of relay modules As well as the options mentioned above relay modules can be wired directly In this case base modules without C rail connections should be chosen to guarantee the potential isolation to the adjoining modules 7 10 D301034 1211 BL20 EtherNet IP Plugging and pulling electronics modules Industri A 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
130. erNet IP Data image of the technology modules Industri A Table 10 8 Designation Value Meaning Meaning of the data bits process REG WR DATA output 0 23 1 Value to be written to the register with the address stated at REG_WR_ADR REG_RD_ADR 0 63 Address of the register to be read If the read operation is successful REG_RD_ABORT 0 the user data is located in REG_RD_DATA of the process input data bytes 4 7 REG WR Default status i e there is no request to overwrite the content of the register with the address stated at REG WR ADR with REG WR DATA Bit REG WR AKN is reset 0 if necessary Request to overwrite the content of the register with the address stated at REG WR ADR with REG WR DATA REG WR ADR 63 Address of the register to be written with REG WR DATA CLR CMP2 Default status i e no reset of FLAG CMP2 active Reset of FLAG CMP2 active EN CMP2 Default status i e the data bits REL CMP2 STS_CMP2 and FLAG CMP2 always have the value 0 irrespective of the actual SSI encoder value Comparison active i e the data bits REL CMP2 STS CMP2 and FLAG CMP2 have a value based on the result of the comparison with the SSI encoder value CLR CMP1 Default status i e reset of FLAG CMP1 not active Reset of FLAG CMP1 active EN CMP1 Default status i e the data bits REL CMP1 STS_CMP1 and FLAG CMP1 always hav
131. ermissible values for LOAD_LOLIMIT 0 to 199 999 999 x10 Hz 0 to 24 999 999 x 10 rpm 0 to 99 999 999 ms Permissible values for LOAD UPLIMIT 1 to 200 000 000 x 10 Hz 1 to 25 000 000 x 10 rpm 1 to 100 000 000 ms STS LOAD Status of load function Set if the Load function is running STS DN Direction status down The direction is determined by a signal at the physical input B The Signal evaluation parameter A B must be set to pulse and direction STS UP Direction status up The direction is determined by a signal at the physical input B The Signal evaluation parameter A B must be set to pulse and direction STS_DO1 The DO1 status bit indicates the status of digital output DO1 STS_DI The DI status bit indicates the status of digital input DI STS_GATE 1 Measuring operation running STS_UFLW 1 The lower measuring limit was undershot The bit must be reset with RES_STS 0 1 STS OFLW 1 The upper measuring limit was exceeded The bit must be reset with RES STS 0 1 D301034 1211 BL20 EtherNet IP 10 5 Appendix Table 10 2 Meaning of the data bits process input 10 6 Bits Explanations STS_CMP1 1 Measuring terminated The measured value is updated with every elapsed time interval The end of a measurement expiry of the time interval is indicated with the status bit STS_CMP1 The bit must be reset with RES_STS 02 1 Process output d
132. erty 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 2 1 1 2 2 1 3 1 4 2 1 2 1 1 2 12 22 22 1 222 22 3 224 22 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 3 1 3 1 1 3 1 2 3 1 3 3 1 4 3 1 5 4 1 4 2 4 3 4 3 1 4 4 44 1 4 4 2 4 4 3 4 5 4 5 1 4 5 2 D301034 1211 BL20 EtherNet IP About this manual DOCUMENTATION DIT 1 2 General informatioh 6 eerie ete ev ee io Sua te esp sebo o eoe ao CY SUPE NEP S oe PY n VUE CURT Uo UNE IE EUR e Ue Y UP SOEUR PUN ed Vea e Le TNR SSON S EErEE 1 3 Prescribediuls e aorta tian Un sucess RR Rand aeter eset tieu REN ER REIR UN EE TERES RICE TRENT 1 3 Notes concerning planning installation of this product ettet nnt nnt ntt notti tttnonttts noctis 1 3 Description of symbols used eee eee eren esee eene enses etna snas tn
133. ervice DHCP request from 00 07 46 FF 60 15 o of 256 A double click on the request entry opens the New Entry dialog box in which an IP address can be assigned to the module s MAC ID Figure 6 12 Sq BOOTP DHCP Server 2 3 Eifel Es Setting the IP 2 Gs mus r Request History address via Clear History Add to Relation List D H CP Type Ethemet Address MAC 15 13 54 DHCP 00 07 46FF 50 15 15 13 22 DHCP __ANN7 4RFF AN15 151306 DHCP Ethernet Address MAC 00 07 46 FF 60 1 5 IP Address 192 168 1 50 Hostname Description IP Address r Relation List New Delete Enat Ethemet Address MAC r Status Entries Unable to service DHCP request from 00 07 46 FF 60 15 0 of 256 D301034 1211 BL20 EtherNet IP 6 11 Application example BL20 gateway with an Allen Bradley PLC The BootP DHCP Server sends the IP Address via BootP DHCP to the BL20 gateway and after a few seconds the gateway answers with its new IP address when having stored it Figure 6 13 nox Setting the IP De Took Heip r Request History address via Clear History Add to Relation List D H CP Type Ethernet Address MAC 5 15 05 00 07 46 FF 60 15 15 15 05 DHCP 00 0 60 15 15 13 54 DHCP 00 07 46 FF 60 15 15 13 22 DHCP 00 07 46 FF 60 15 15 13 06 DHCP 00 07 46 FF 60 15 Hostname IP Address m Relation List New Delete Enable BOOTP Enab
134. est 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 Arrayofocted 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 Additional Array of USINT Additional status Status Response Data Arrayofoctet Response data from request or additional error data if an error was indicated in General Status Table 5 11 Status Status Name Description General Status Code Codes hex according to CIP spec 00 Success Service successfully performed by the object specified 01 Connection failure A connection related service failed along the connection path 02 Resource unavailable Resources needed for the object to perform the requested service were unavailable 03 Invalid See Status Code 0x20 which is the preferred value to use for this parameter value condition 04 Path segment error The path segment identifier or the segment syntax was not D301034 1211 BL20 EtherNet IP understood by the processing node Path processing shall stop when a path segment err
135. ets elatis Analog Versatile Module Class VSC118 ssssssssscsseccssecsssecsssecsssecesscessseesssscsssecssceesueccsuscessscesscssseesaseesuseessscessscceseeesseeesnseesssees Object Instance eret teens SWIRE module class VSC121 Object Instance REID S module class VSG 124 eco e Ste cect csitcs fete oboe ee eren e vetere a a a a aaa a zuoler adlsrirlis me E D301034 1211 BL20 EtherNet IP The EtherNet IP Communications Profile Industri A 5 1 The EtherNet IP 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 5 1 1 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 5 1 2 Explicit Messages Explicit Messages are used to transmit low priority configuration data general management data or diagnostic data between two specific devices This is
136. eway eee e eene eee eee een n nnns esas eese s sense sees sees enons 18 4 7 1 Diagnostic Sto CAT MR aD 18 4 7 2 Diagnostic messages via the process data tese teent teens nnns notis nin ttt tots nono tts notis no ttts notis nonis 21 Summarized diagnostics Scheduled diagnostics 4 8 Status and Control word of the gateway eee ee eee eere eese eee eee eese ee eee tnso nosse sees esee senno sss s osse eese esos 23 4 8 1 Status WOM e 23 4 8 2 GONE WON T X X H M 23 4 9 Module specific diagnostic messages eee eee Lees eee eee eee eee eee ettet eee eee eese eese eee eese esee sese nee 24 D301034 1211 BL20 EtherNet IP 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 D301034 1211 BL20 EtherNet IP Function Industri A 4 2 Function The gateway is the connection between the BL20 I O modules and the Ethernet network It handles the entire process data traffic between the I O level and the fieldbus and generates diagnostic in
137. formation for higher level nodes and the software tool I O ASSISTANT D301034 1211 BL20 EtherNet IP 4 3 Technical features 4 3 Technical data Figure 4 1 BL20 GW EN IP TE A Aservice interface Bmodule bus LEDs CSET button Drotary coding switches EEthernet FEthernet LEDs Gpower supply 10 100 MBit E e ae OC ew E LIN IJ B Uss U F l 4l BEES ml 4 3 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 WDG c _ imi gt 4 4 D301034 1211 BL20 EtherNet IP Technical data Industri A Table 4 1 Supply voltage Technical data Ethernet gateway field supply U nominal value permissible 24 VDC 18 to 30 VDC range I max field current 10A System 24 VDC Uys nominal value permissible 24 VDC 18 to 30 VDC range loys max 500 mA lug max 1 5 A Supply of the module bus nodes Physical interfaces field bus transmission rate 10 100 MBit s 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 Urs Ethernet service interface 500 V AC Ven Ethernet module bus 500 V DC U sys U to Uy
138. ge Twisted Pair Media Allen Bradley 1788 EWEB A 1788 10 100 Mbps Ethernet Bridge w Enhanced Web Serv Allen Bradley 1794 AENT A 1794 10 100 Mbps Ethernet Adapter Twisted Pair Media Allen Bradley Drivelogix5730 Eth 10 100 Mbps Ethernet Port on DriveLogix5730 Allen Bradley ETHERNET BRIDGE Generic EtherNet IP CIP Bridge Allen Bradley ETHERNET MODULE Generic Ethernet Module Allen Bradley EtherNet IP SoftLogix5800 EtherNet IP Allen Bradley PH PSSCENA A Ethernet Adapter Twisted Pair Media Parker si Mi Eind Add Favorite By Category By Vendor J Favorites J oes de Enter the necessary device information like Module name and Communication format and define the gateway s IP Address and the connection parameters 6 16 D301034 1211 BL20 EtherNet IP Configuration of the network in RSLogiX 5000 For the Assembly Instances 101 and 102 the Connection Parameters input and output size 256 Byte each are static and have to be set as follows Figure 6 23 Configuration Type ETHERNET MODULE Generic Ethemet Module 0 fB L2 0 g a te way Vendor Allen Bradley Parent Ethemet_BL20 Name BL20_Turck New Module Connection Parameters Assembly nstance Description BL20 Gw ENHP Input Output Comm Format zi Address Host Name PAddress 192 168 001 50 C HostName v Open Module Properties Cancel Help Configuration Note i If the variable Assembly
139. ger 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 D301034 1211 BL20 EtherNet IP 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 new changed List of revisions Description updated 4 Address setting via I O ASSISTANT 3 FDT DTM X 9 BL20 Approvals for Zone 2 Division 2 X separate manual D301255 10 Appendix X Note The publication of this manual renders all previous editions invalid D301034 1211 BL20 EtherNet IP 1 5 About this manual 1 6 D301034 1211 BL20 EtherNet IP Industri A 2 BL20 philosophy 2 1 The EHIIESDLDLIIS H 2 2 1 1 xj 2 2 1 2 Convenient handling t AN ENR EREE 2 2 2 BL20 n 2 2 1 Gateways secsssssessseersessseesseesseese 2 2 2 Power distribution modules 2 2 3 Electronics MOGUIES scsssscccstisscesccncsnssccetssccesnsavssssescesaseceecsengasssuagentuecesteeciasiessesdsucdhSbsccasdencustansdenasccasscdssctasd
140. hannels are supported that are 77h contained in attribute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G BYTE Contains the diagnostic data of the channels 1 to 127 8 of the analog input module 78h Only those channels are supported that are 7Fh defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag Bit 0 0 ok 1 measurement value range error Bit 1 0 ok 1 open circuit Bit 2 to 7 reserved 128 Mode parameter G S BYTE Contains the diagnostic data of the channels 1 to 135 data 8 of the analog input module 80h Only those channels are supported that are 87h defined in attribute 111 Number of supported channels Attribute 128 contains the data for channel 1 attribute 135 for channel 8 BYTE mode Bit 0 Mains suppression 0 50Hz mains suppression 1 60Hz mains suppression Bit 1 value representation 0 Integer 15Bit sign 1 12 Bit left justified Bit 2 Diagnose 0 release 1 block Bit 3 Channel 0 activate channel 1 2 deactivate channel Bit 4 to 7 reserved D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 48 Attr No Attribute name Get Type Description Object instance dec Set hex 136 Sensor parameter G S ENUM Contains the sensor specific parameter data of 143 data USIN
141. he parameter Diagnostics is set to 0 release The diagnostic data show the cause of the communication disturbance The user has to set back this bit in the process output data by using STATRES 1 The communication with the data terminal equipment DTE is error free 116 Process G BYTE Contains the diagnostic information The 74h diagnostics data diagnostic data are part of the process input data if ACTIVE MODE 1 or 2bytes ctrl status header is set Diagnostics messages Bit 0 to Bit 2 reserved Bit 3 0 ok 1 parameter error The set parameter values are not supported Bit 4 0 ok 1 hardware failure The module has to be replaced e g EEPROM or UART may be defect D301034 1211 BL20 EtherNet IP 5 61 Implementation of EtherNet IP Table 5 50 Attr No Attribute name Get Type Description Object instance dec Set hex 116 Process G BYTE Bit 5 74h diagnostics data 0 ok 1 handshake error The DTE connected to the module does not answer a XOFF or RTS handshake This may cause a overflow in the internal receive buffer Bit 6 0 ok 1 frame error The module has to be parameterized to be adapted to the data structure of the connected DTE A frame error occurs if the parameterization number of data bits stop bits parity is not correct Bit 7 0 ok 1 buffer overflow Overflow in the RX buffer Bit 8 to Bit 15 reserved 117 RX data G
142. herNet IP 5 41 Implementation of EtherNet IP 5 3 9 Analog Output Voltage Module Class VSC107 This Class contains all information and parameters for analog output modules voltage Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 44 Attr No Attribute name Get Type Description Object instance ce Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 2AO V 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module
143. ication Table 5 1 Class Object Name Description EtherNet IP Code Standard Classes 01 0x01 Identity The Identity Object is required on all devices and provides general Object 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 0x02 Message The Message Router Object provides a messaging connection Router Object point through which a Client may address a service to any object 0x02 class or instance residing in the physical device 04 0x04 Assembly The Assembly Object binds attributes of multiple objects which Object 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 0x06 Connection The Connection Manager Class allocates and manages the internal Manager resources associated with both I O and Explicit Messaging Object 0x06 Connections The specific instance generated by the Connection Manager Class is referred to as a Connection Instance or a Connection Object 15 OxOF Parameter currently not supported Object 244 OxF4 Port Object Provides a standard way of describing a device
144. ielezadhtasp e 5 3 3 Terminal Slot Class VSC 101 54 odit ihrer eni ereae nr ertet petes reet eec eer eee re EYE Ed xs es tee ee Eb ERE Bee ves melee 5 3 4 Process Data Class VSC102 Object Instance 1 standard input process data compressed Object Instance 2 standard output process data compressed Object Instance 3 diagnostic instance eese teen tenente tentent tnnt totos tten is tteto tette ttetottteen nte Object Instance 4 COS CYCLIC instance sescsssscsssscsssecssccsscssssccssccessccesscccsusessuccssnscessecesseeesseeseecuscessuccesucceseeceseeesseessaes 5 3 5 Power Supply Module Class VSC103 sssscsssssssssessescssssccsssccssscessecsssecenscccsscesuscessseesssccsssecesseessscesscessscessccesscessneessnceesneeesneesnsees IJ CE IIMS Ee NG Cia e RR 5 3 6 Digital Input Module Class VSC104 Object Instance eere ttes 5 3 7 Digital Output Module Class VSC105 Object Instance sososmiaestendomiud mad Made n Mt A E 5 3 8 Analog Input Voltage Module Class VWSC106 ssssssesssssscsssccssecesscesscesssccsssccesscesssecsusecsuscessseesuscescessscessuccesuccesecesseeessecstass Object ISTIC E E A E E N T E 5 3 9 Analog Output Voltage Module Class VSC107 Object Instance eerte 5 3 10 Analog Input Current Module Class VSC108 S Object InStariCe oerte rtt R reri yt ie pi se taper a gute Te
145. iguration of th e contro I er Vendor Allen Bradley Type 1756 L55 ControlLogix5555 Controller Revision 15 Y Redundancy Enabled Name BL20 1 Description Chassis Type 1756 410 10 Slot ControlLogix Chassis Slot o H Create In C ARSLogix 5 DOProjects 6 14 D301034 1211 BL20 EtherNet IP Configuration of the network in RSLogiX 5000 Your project will be opened offline In order to configure the network please right click I O Configuration and select new Module to add the first host the EtherNet IP bridge to the network Open Communications and select the bridge In this example this would be 1756 ENBT A Figure 6 18 Wii Select Module Selection of the Description Vendor E th eri N et l P 1756 CNBR E 1756 ControlNet Bridge Redundant Media Allen Bradley b F i d g e 1756 DHRIO B 1756 DH Bridge RIO Scanner Allen Bradley 1756 DHRIO C 1756 DH Bridge RIO Scanner Allen Bradley 1756 DHRIO D 1756 DH Bridge RIO Scanner Allen Bradley 1756 DNB 1756 DeviceNet Scanner Allen Bradley 1756 EN2T A 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media Allen Bradley 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media Allen Bradley 1756 ENET A 1756 Ethernet Communication Interface Allen Bradley 1756 ENET B 1756 Ethernet Communication Interface Allen Bradley 1756 EWEB A 1756 10 100 Mbps Ethernet Bridge w Enhanced Web Serv Allen Bradley 1756 SYNCH A SynchLink In
146. ing STS OFLW 0 A comparison of the register contents has produced the following result REG SSI POS lt REG UPPER LIMIT 1 A comparison ofthe register contents has produced the following result REG SSI POS gt REG UPPER LIMIT ERR SSI 0 SSI encoder signal present 1 SSI encoder signal faulty e g due to a cable break SSI DIAG 0 No enabled status signal is active SSI_STSx 0 1 At least one enabled status signal is active SSI STSx 1 Process output data PDout The field output data is transferred from the BL20 1SSI module to the connected field device The process output data is the data that is output from the PLC to the BL20 1SSI module via a gateway This is transferred in an 8 byte format as follows E 4bytes are used for representing the data that is to be written to the register with the address specified at REG WR DATA 1 byte contains the register address for the data that is to be read with the next response telegram 1 byte contains the register address of the data to be written to bytes 0 to 3 of this telegram and a write request 1 byte is used for controlling the comparison operations 1 byte contains a Stop bit for interrupting communication with the encoder Figure 10 11 Process output Data image data Process output data SPS gt SSI Byte Bit Bit6 Bit5 Bit4 Bit3 Bit2 Bit 1 BitO 10 20 Control data REG WR ADR De emen D301034 1211 BL20 Eth
147. ing of the transmit receive buffer with Process control data Attr 123 is not possible 123 Process control G S BYTE Bit 0 transmit buffer flush 7Bh data Bit 1 receive buffer flush 124 TX data G S ARRAYOF Defines the transmit data 0 7 7Ch BYTE 125 TX data and S ARRAY OF Definesthe data to be transmitted via RS232 7Dh release BYTE 0 7 transmission is released charged immediately 126 reserved 7Eh D301034 1211 BL20 EtherNet IP 5 63 Implementation of EtherNet IP Table 5 50 Attr No Attribute name Get Type Object instance IE s dec Set hex Description 127 Diagnostics G WORD 7Fh Contains the diagnostic messages low byte Diagnostics messages Bit 0 to Bit 2 reserved Bit 3 0 ok 1 parameter error The set parameter values are not supported Bit 4 0 ok 1 hardware failure The module has to be replaced e g EEPROM or UART may be defect Bit 5 0 ok 1 handshake error The DTE connected to the module does not answer a XOFF or RTS handshake This may cause a overflow in the internal receive buffer Bit 6 0 ok 1 2 frame error The module has to be parameterized to be adapted to the data structure of the connected DTE A frame error occurs if the parameterization number of data bits stop bits parity is not correct Bit 7 0 ok 1 buffer overflow Overflow in the RX buffer High byte reserved 128 Active mode G S BO
148. ing the bus connections with bare fingers as this can lead to ESD damage D301034 1211 BL20 EtherNet IP 8 9 Guidelines for electrical installation 8 10 D301034 1211 BL20 EtherNet IP 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 D301034 1211 BL20 EtherNet IP 9 1 BL20 Approvals for Zone 2 Division 2 9 2 D301034 1211 BL20 EtherNet IP Industri A 10 Appendix 10 1 Data image of the technology modules cccccccccccccccccscccsccccccccccccccsccccccccecccccccsccccsccssccescecees 2 101 1 Gounter module ia deceret indian CURATI nde ERRAT Dd eR ena dU ER RE ck 2 Process input data counter mode eene nennen nennen nnn nnn nennen 2 Process input data measurement mode sssssseeee eene nnne nnn nnns 4 Process output data counter mode sssssssssee enne nennen nnn nennen nnn nnne nnns 6 Process output data measurement mode ssssssseeeeee eene nnne enne nns 10 101 2 RSocmodule iiuu ciens cette eri bir et eia etd ro nt d ea ctu dee HE n Er dre p Re nde E ER ed eR eL ERR 13 Process input data 2 ee dt e a d ended hace i i ia e d EC RD kd REL uS 13 Process output data ee dee nacer nent tb e ELE e qn ea e ER La ERE R XR tu kde ka etna Re dena de adn 15 10 1 3 SS module cic ten itn t e HEEL CE RR ELO CREE CY CA EHE REED
149. is 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 4 8 D301034 1211 BL20 EtherNet IP Address setting Industri A 4 5 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 1 Note 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 Adr x 100 Decimal rotary 03 coding switch 8 2 es for the ad 7 dress setting 754 Q Set 9 9 4 9 0 4 8 2 8 2 7 8 7 3 6754 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 After every change of the address mode a voltage reset must be carried out 4 5 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 D301034 1211 BL20 EtherNet IP
150. ison results if CTRL_DO1 1 MODE DO defines which function DO1 is to accept 00 The output DO1 shows the status of the control bit SET DO1 This must be released with CTRL_DO1 1 01 Output DO1 indicates Counter status gt reference value 1 10 Output DO1 indicates Counter status lt reference value 1 11 Output DO1 indicates Counter status reference value 1 A pulse is generated for indicating equal values The pulse duration is defined by byte 2 of this process output Hysteresis value 0 to 255 The reference value 1 2 can be assigned a hysteresis value in order to generate a response at DO1 DO2 with hysteresis This will prevent the excessive on and off switching of DO1 DO2 if the count value fluctuates too quickly around the reference value Pulse 0 to 255 unit ms duration If the DO1 DO2 outputs are set to indicate counter status reference value 1 2 a longer pulse is sometimes required to indicate equal values EXTF ACK Error acknowledgement The error bits must be acknowledged with the control bit EXTF_ACK after the cause of the fault has been rectified This control bit must then be reset again Any new error messages are not set while the EXTF_ACK control bit is set CTRL DO2 0 The virtualA output DO2 is blocked 1 The virtualA output DO2 is released 10 8 D301034 1211 BL20 EtherNet IP Data image of the technology modules Industri A Table 10 3 Meaning of the da
151. it 0 Slave error field 0 Single diagnostics is activated 1 Single diagnostics is not activated Bit 1 2 Group error Slave error 0 Group diagnostics is activated 1 Group diagnostics is not activated Bit 2 PKZ error field 0 Single diagnostics is activated 1 Single diagnostics is not activated Bit 3 Group error PKZ error 0 Group diagnostics is activated 1 Group diagnostics is not activated Bit 4 Configuration error field 0 Single diagnostics is activated 1 Single diagnostics is not activated Bit 5 Group error Configuration error 0 Group diagnostics is activated 1 Group diagnostics is not activated Bit 6 Error message UAUX 0 Error message UAUXERR activated 1 Error message UAUXERR not activated Bit 7 reserved 124 Lifeguarding time G S USINT 7Ch O2 sch ne Default 64 ex Disconnect FF Setting of lifeguarding time timeout time up to automatic reset of the slaves in the event of communication failure n x 10ms Default 1s 5 92 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 55 Attr No Attribute name Get Type Description Object instance dec Set hex 125 Process data slave G S WORD Input bit communication error slave x 7Dh diag 0 Slave diagnostics message from Byte 1 Bit 7 is accepted in the feedback interface as Bit4 1 Slave diagnostics message from Byte 1 Bit 7 is accepted in the feedba
152. ith operating mode 2 DO1 switch to Fault Value 3 DO1 hold last value 4 to 255 reserved D301034 1211 BL20 EtherNet IP 5 59 Implementation of EtherNet IP 5 3 15 RS232 Module Class VSC114 This Class contains all information and parameters for RS232 modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 50 Object instance 5 60 Attr No Attribute name Get Type Description dec Sei hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 1RS232 106 Module revision G USINT Contains the revision number of the module 6Ah number firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecom
153. l CR User Defined EH BL20 1 I Data 5 Decimal Ge Strings is E BL20 1 I Data 6 0 Decimal Cj Predefined mBU20 tiData7 0 Decimal H E Module Defined G 1 0 configuration c BL20 1 1 Datafg 0 Decimal E 1756 Backplane 1756 44 8120 1 1 Datara o Decimal f 0 1756 L55 BL20 1 o t BL20_1 1 Datalt 0 0 Decimal S fh 1 1756 ENBT A Ethernet BL20 m BL20_1 l Data 11 0 Decimal S a Ethernet 8120 11 Datel12 o Decimal fj ETHERNET MODULE BL20_1 BL20_1 1 Data 13 0 Decimal Pl 1756 ENBT A Ethernet BL20 i I BL20 11 Data 14 0 Decimal t BL20 1 l Data 15 Decimal F BL20 1 I Data 15 Decimal c BL20 1 1 Data 17 0 Decimal EH BL20 1 l Data 18 Decimal a amp BL20 1 1 Data 18 0 Decimal BL20_1 1 Data 20 0 Decimal gt Monitor Tags Edit Tags 4 Ready The controller tags for BL20 are divided into E BL20_Turck C the station s mapped configuration data BL20 Turck I the station s mapped input data BL20 Turck O the station s mapped output data D301034 1211 BL20 EtherNet IP 6 19 Application example BL20 gateway with an Allen Bradley PLC 6 7 Examples for I O data mapping Each module is now accessible via the controller tags for viewing input data and or forcing outputs The data mapping depends on the data width of each module connected to the gateway Table 6 2 Module Data width Example station Process
154. l 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 addresses 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 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
155. lasses Industri A Table 5 53 Attr No Attributename Get Type Description Object instance dec Set hex 142 Enable low side G S DWORD Enables the low side output driver of channels 8Dh output driver_2 channel 33 to 64 143 Filter 2500us G S DWORD Enables the input filter of the channel channel 1 8Eh channel 1 to 32 144 Filter 2500us G S DWORD Enables the input filter of the channel channel 33 8Fh channel 2 to 64 145 Fault value G S DWORD Activates the fault value for the channel channel 90h 1 to 32 146 Fault value G S DWORD Activates the fault value for the channel channel 91h 33 to 64 147 Block Diagnostics G S DWORD Channel specific diagnostic information is 92h blocked channel 1 to 32 148 Block G S DWORD Channel specific diagnostic information is 93h Diagnostics blocked channel 33 to 64 D301034 1211 BL20 EtherNet IP 5 85 Implementation of EtherNet IP 5 3 19 Analog Versatile Module Class VSC118 This class contains all information and parameters for analog versatile modules A Attention In this class chosen parameter options can only be deactivated by activating another option of this parameter Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 54 Object instance 5 86 Attr No Attribute name Ge
156. le DHCP Disable BOOTP DHCP Ethemet Address MAC Type IP Address Hostname Description 00 07 46 FF 60 15 DHCP 192 168 1 50 Status Entries E of 256 Sent 192 168 1 50 to Ethernet address 00 07 46 FF 50 15 The Relation list can be stored for further applications It can serve for permanent assignment of defined IP addresses to MAC IDs modules i Attention If the BootP DHCP server is shut down the BL20 gateway loses the IP address after a power reset D301034 1211 BL20 EtherNet IP Setting up communications with the software tool RSLinx 6 5 Setting up communications with the software tool RSLinx Before the EtherNet IP network can be configured access to EtherNet IP must be established using the software RSLinx version 2 43 01 from Rockwell Automation The following example explains the creation of a connection via the Allen Bradley EtherNet IP interface The selection of the EtherNet IP Driver module is done using the Communications Configure Drivers command Select the driver type category EtherNet IP Driver Once the driver type has been selected click the Add new button and choose a name for the new EtherNet IP Driver Figure 6 14 7 Configure Drivers Selecting the SE Available Driver Types EtherNet IP Ethemet IP Driver Driver module Configured Drivers Name and Descriptio Add New RSLinx Driver Choose a name for the new dri
157. m 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 Note i If the system limits are exceeded the software I O ASSISTANT generates an error message when the user activates the Station Verify command D301034 1211 BL20 EtherNet IP 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 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 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 statio
158. mand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module registered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists 111 Number of G USINT States the number of analog input channels 6Fh supported supported by this module Instance channels D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 50 Attr No Attribute name Get Type Description Object instance dec Set hex 112 RX byte count G USINT Number of the valid bytes 0 to 7 in this data 70h segment 113 RX count G USINT This value is transferred together with every data 71h segment of the process input data The RX count values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments 114 TX count G USINT This value is a copy of the value TX count TX 72h acknowledge count has been transmitted together with the last data segment of the process output data TX count acknowledge is an acknowledge for the successful transmission of the data segment with TRANSMIT count 115 Status G BOOL 0 The communication with the data terminal 73h equipment DTE is disturbed A diagnostic message is generated if t
159. mask 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 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 5 Changing the IP address of a PC network interface card Page 5 5 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 Bytesfornet Bytesforhost No of possible address address networks hosts A 1 XXX XXX XXX 1 3 126 274 126 XXX XXX XXX B 128 0000XXX 2 2 24 26 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 are nodes on a Class C network D301034 1211 BL20 EtherNet IP 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
160. message is shorter than the minimum expected reply size This status code can serve for other causes of invalid replies 23 to 24 Reserved by CIP for future extensions 25 Key Failure in path The Key Segment that was included as the first segment in the path does not match the destination module The object specific status shall indicate which part of the key check failed 26 Path Size Invalid The size of the 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 D301034 1211 BL20 EtherNet IP Implementation of EtherNet IP Table 5 11 Status Status Name Description General Status Code Codes hex according to CIP spec 27 Unexpected attribute An attempt was made to set an attribute that is not able to be set in list at this time 28 Invalid Member ID The Member ID specified in the request does not exist in the specified Class Instance Attribute 29 Member not settable A request to modify a non modifiable member was received 2A Group20nlyserver This error code may only be reported by Group 2 Only servers with general failure 4K or less code space and only in place of Service not supported Attribute not supported and Attribute not settable 2BtoCF Reserved by CIP for future extensions DOtoFF Reserved for Object This range of error codes is to be used to indicate Object Class Class and se
161. n 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 D301034 1211 BL20 EtherNet IP 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 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 GW EN IP gateway is predefined as follows IP address 192 168 1 xxx net
162. n comprises 15 BL20 1AI U 10 0 10VDC modules 10 BL20 2AO 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 4 10VDC 15x41 mA 615 mA 10 BL20 2AO U 10 10x43 mA 430 mA 0 10VDC 10 BL20 2DI 24VDC P 10x28 mA 280 mA 5 BL20 2DO 24VDC 0 5A P 5x32mA 160 mA Total 1915 mA Maximum permissible current via module bus 1500 mA D301034 1211 BL20 EtherNet IP 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 Module Supply Nominal current Nominalcurrent consumption consumption of the BL20 Gateway 1500 mA 430 mA modules on the module bus 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 E 8DI 24VDC P 15mA BL20 16DI 24VDC P 45 mA
163. nces of the EtherNet IP gateway Industri A 5 2 5 Connection Manager Object 0x06 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 17 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 5 2 6 Port Object OxF4 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 18 Attr No Attribute Name Get Type Value Class attributes Set 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 UNT 1 9 0x09 ALLPORTS G ARRAY _ 0 0 for class of 4 2 for TCP_IP_PORT STRUCT UINT UINT D301034 1211 BL20 EtherNet IP 5 17 Implementation of EtherNet IP Instance Attributes Table 5 19 Attr No Attribute Name Get Type Description Instance
164. nction is activated 1 blocked The diagnostic function is deactivated 131 Flow control 83h G S ENUM USINT 0 off data flow control is deactivated 1 XON XOFF Software handshake is activated 2 RTS CTS Hardware handshake is activated 3 reserved 132 Data width 84h G S ENUM USINT 0 7 bits 1 8 bits 133 Parity 85h G S ENUM USINT 0 none 1 odd The number of the bits set to 1 is odd incl data and parity bit 2 even The number of the bits set to 1 is even incl data and parity bit 134 Stop 86h G S ENUM USINT Number of the stop bits 0 1 bit 1 2 bits 5 72 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 51 Attr No Attribute name Get Type Description Object instance dec Set hex 135 XON G S USINT XON character 87h character This sign is used to start the data transfer to the data terminal equipment DTE with the activation of the software handshake 0 255 default 17 11h 136 XOFF G S USINT XOFF character 88h character This sign is used to stop the data transfer to the data terminal equipment DTE with the activation of the software handshake 0 255 default 19 13h 137 RSxxx G S ENUM 0 RS422 89h mode USINT Parameterization as 422 1 RS485 Parameterization as 485 D301034 1211 BL20 EtherNet IP 5 73 Implementation of
165. nctions 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 persons or prop
166. nes the operating mode of the counter module hence it must be written first The definition of the operating mode in this attribute is the prerequisite for all further Instances and attributes in this class Operating mode basic mode 0 CNT continuous count 1 CNT single action count 2 CNT periodical count 3 MSRM frequency measurement 4 MSRM revolutions measurement 5 MSRM period duration measurement 6 to 255 reserved 114 CNT gate G S ENUM 72h function A USINT The gate function defines the counter s reaction to the resetting of the internal release Gate function 0 CNT abort count procedure 1 CNT interrupt count procedure 2 to 255 reserved 115 Digital input DI G S ENUM 73h USINT Defines if the digital input of the module will be inverted or not USINT digital input DI 0 normal 1 inverted 2 to 255 reserved D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 49 Attr No Attribute name Get Type Description Object instance dec Set hex 116 Function DI A G S ENUM Defines the function of the digital input 74h USINT Function DI 0 input 1 HW gate 2 CNT latch retrigger when edge positive 3 CNT synchronization when edge positive 4 to 255 reserved AADependonthe 117 CNT G S ENUM Defines the kind of synchronization selected 75h synchronization
167. ng 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 Name Get Type Description Instance Set attributes 1 0x01 OBJECT LIST G STRUCT Structure with an array of object class codes OF supported by the device NUMBER G UINT Depending CLASSES G ARRAY Number of the classes supported by the gateway of UINT 2 0x02 MAX NUMBER OF G UINT Count of the maximum number of connections CONNECTIONS supported Common Services Table 5 8 Service Class Instance Service Name Common Code services 01 0x01 yes yes Get Attribute All 14 OxOE yes yes Get Attribute Single 5 8 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Industri A 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 Requ
168. nsmitted in the response buffer is larger than the allocated response buffer 12 Fragmentation of a The service specified an operation that will fragment a primitive primitive value data value i e half a REAL data type 13 Not enough data The service did not supply enough data to perform the specified operation 14 Attribute not The attribute specified in the request is not supported supported 15 Too much data The service supplied more data than expected 16 Object does not exist The object specified does not exist in the device 17 Service The fragmentation sequence for this service is not currently active fragmentation for this data sequence not in progress 5 10 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Industri A Table 5 11 General Status Codes according to CIP spec Status Code hex Status Name Description 18 No stored attribute data The attribute data of this object was not saved prior to the requested service 19 Store operation failure The attribute data of this object was not saved due to a failure during the attempt 1A Routing failure request packet too large The service request packet was too large for transmission on a network in the path to the destination The routing device was forced to abort the service 1B Routing failure response packet too large The service response packet was too large for transmission on a
169. ntains the sensor specific parameter data of the channels 1 to 8 of the analog input module Only those channels are supported that are defined in attribute 111 Number of supported channels Attribute 136 contains the data for channel 1 attribute 143 for channel 8 ENUM USINT Element 0 Pt100 200 850 C 1 Pt100 200 150 C 2 Ni100 60 250 C 3 Ni100 60 150 C 4 Pt200 200 850 C 5 Pt200 200 150 C 6 Pt500 200 850 C 7 Pt500 200 150 C 8 Pt1000 200 850 C 9 Pt1000 200 150 C 10 Ni1000 60 250 C 11 Ni1000 60 150 C 12 resistance 0 100 Q 13 resistance 0 200 Q 14 resistance 0 400 Q 15 resistance 0 1000 Q 16 to 255 reserved 5 50 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes 5 3 13 Analog Input THERMO Module Class VSC111 Industri A This Class contains all information and parameters for analog input modules for thermocouples Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 48 Attr No Attribute name Get Type Description Object instance ru Set hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 2 module missing base module without 65h electronic module 1 2 module
170. ob is already present D301034 1211 BL20 EtherNet IP 5 79 Implementation of EtherNet IP Table 5 52 Attr No Attribute name Get Type Description Object instance dae Set hex 123 Diagnostics G WORD Bit 0 7Bh 0 Noenabled status signal is active SSI_STSx 0 1 group diagnostics At least one enabled status signal is active SSI_STSx 1 Bit 1 0 SSI encoder signal present 1 SSI error open circuit SSI encoder signal faulty e g due to a cable break Bit 2 0 A comparison of the register contents has produced the following result REG SSl POS lt REG UPPER LIMIT 1 error POS gt UPPER LIMIT A comparison of the register contents has produced the following result REG_SSI_POS gt REG_UPPER_LIMIT Bit 3 0 A comparison of the register contents has produced the following result REG SSl POS gt REG LOWER LIMIT 1z error POS lt LOWER LIMIT A comparison of the register contents has produced the following result REG SSI POS lt REG LOWER LIMIT 123 Diagnostics G WORD Bit 4 7Bh 0 The parameter set of the module has been accepted 1 parameterization error Operation of the module is not possible with the present parameter set Bit 5 to 15 reserved 124 Check mode G S WORD Bit 0 to 4 reserved 7Ch Bit 5 0 ZERO test of data cable 1 disable SSI error detection After the last valid bit a ZERO test of the data cabl
171. ommunica Select Recent Communications Path y 4 ld tion Path SEXES EIBIVETTP Ys mcer cay quisa eun Figure 6 29 Communica Go Online tion Path JL20 B ETHIP 1 192 168 1 100 Backplane 0 AB_ETHIP 1 192 168 1 100 Upload AB_ETHIP 1 192 168 0 100 Backplane 0 Download Close Help Show Only Paths Matching Serial Number in Project Set Project Path Serial Number in Project 001DF941 Path in Project none Wii Select Recent Communications Path If the correct communication path is set it is possible to download the configuration Once the I O configuration is downloaded and the controller is in Run or Remote Run mode the I O data mapping of the BL20 station is shown in the Controller Tags Figure 6 30 E Controller BL20 1 Controller Tags B Controller Tags Scope f BL20_1 X Shw Show All Name e Style Controller Fault Handler BL20 4 6 73 Power Up Handler LI L D 8 Tasks zB 2011 TE n A MainTask n BL20_1 1 Data Decimal H G MainProgram m E BL20_1 1 Data 0 0 Decimal E Unscheduled Programs m BL20_1 3 Data 1 0 Decimal ea a eed me 1 1 Datala Decimal xir mec ripas 0 Decimal G E Data Types E BL20 TL Data 4 0 Decima
172. on services 01 0x01 yes yes Get Attribute All 14 OxOE yes yes Get Attribute Single 76 0x4C no yes Enetlink Get and Clear 5 24 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes 5 3 VSC Vendor Specific Classes Industri A In addition to supporting the above named CIP Standard Classes the BL20 gateway for EtherNet IP supports the below vendor specific classes The VSC describing the possible DeviceNet master function VSC 122 and VSC 123 of an EtherNet IP gateway can be found in a separate manual D301118 It is possible to gain read G Get and or write S Set access to the attributes of classes described in the following VSC Vendor Specific Classes Table 5 31 VSC Vendor Specific Classes Gets hex Class Code Name Description 100 64h Gateway Class VSC 100 page 5 27 Contains data and settings concerning the gateway and the BL20 system as a whole 101 65h Terminal Slot Class VSC 101 page 5 30 Contains data concerning the base modules 102 66h Process Data Class V C102 page 5 32 Contains process data 103 67h Power Supply Module Class VSC103 page 5 34 Describes the power distribution modules 104 68h 105 69h Digital Input Module Class VSC104 page 5 36 Digital Output Module Class VSC105 page 5 38 Describes the modules of the type BL20 3 Describes the modules of the type BL20 DO
173. on interfaces see the special RFID documentation which can be downloaded from www turck com D301034 1211 BL20 EtherNet IP 5 95 Implementation of EtherNet IP 5 96 D301034 1211 BL20 EtherNet IP Industri A 6 Application example BL20 gateway with an Allen Bradley PLC 6 1 Geer I A 2 6 1 1 Prerequisites for this example ssscsssccsssccsssccsscecstsecssscsssccssceesseccsuccessecsssecsssecssscessccsusccssscesuscesuscessseceaseceasecssseesusecsusecsnseesnseessees 2 Example Stati n ERE tmm 2 6 2 Network configuration X 3 6 3 Changing the IP address of a PC network interface card eee ee ee eee eese eee eene eee eee etos osea eaae 4 6 3 1 Changing the IP address in Windows 2000 Windows XP eerte tenente tenente entis nnotttnnnttsnnottsnnns 4 6 3 2 Changing the IP address in Windows NT sssssccssscrssssecesssserssscerssssseesssceessssceessssessnsseeessscessnsecsnseessnssecessscecsnseesessseessnseeeessseeese 5 6 3 3 Changing the IP address via l O ASSISTANT V3 ssssssssscssssscessseecssssecsssseeessssecsnsseeesssecessscessnsseeesnecsnsnscessssessnssseessnsessnseesesseeeees 6 Deactivating adapting the firewall in Windows XP uu ssessscssssccsseeccssseecesssccesnsecsnssccessscecssssccessscessssecsssccesnseecesseccennseessaee 8 6 4 Address setting at the gateway 6 4 1 Address setting via DHCP mode sscsssssccssssscsssssccrsssecssssecersssscssssecssssscesssscesnss
174. onfiguration setup 2 Easy Rockwell BOOTP DHCP Server manipulation allowing TCP object access D301034 1211 BL20 EtherNet IP 4 13 Technical features 4 5 8 Address setting via l O ASSISTANT 3 FDT DTM The software I O ASSISTANT enables direct access to the Ethernet network via an Ethernet cable Naturally the access to the single station via 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 service interface is not possible Figure 4 13 BL Service L Ware Ethernet Ele Edit View project Device Extras Window Help lali t bo e3e azmaq d P Device for All Devices Protocol Group Device Version I BL Service Ethernet BL Service Ethernet DTM specific 1 0 0 2007 06 12 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 gt BL Service Ethernet Com DTM C Cae
175. or is encountered 5 9 Implementation of EtherNet IP Table 5 11 Status Status Name Description General Status Code Codes hex according to CIP spec 05 Path destination The path is referencing an object class instance or structure unknown element that is not known or is not contained in the processing node Path processing shall stop when a path destination unknown error is encountered 06 Partial transfer Only part of the expected data was transferred 07 Connection lost The messaging connection was lost 08 Service not The requested service was not implemented or was not defined for supported this Object Class Instance 09 Invalid attribute value Invalid attribute data detected OA Attribute list error An attribute in the Get Attribute List orSet Attribute List response has a non zero status OB Already in requested The object is already in the mode state being requested by the mode state service oc Object state conflict The object cannot perform the requested service in its current mode state oD Object already exists The requested instance of object to be created already exists OE Attribute not settable A request to modify a non modifiable attribute was received OF Privilege violation A permission privilege check failed 10 Device state conflict The device s current mode state prohibits the execution of the requested service 11 Reply data too large The data to be tra
176. oring 1 to 32 mode_2 126 Open circuit G S DWORD Enables the wire break detection channel 33 to 7Eh monitoring 64 mode_1 127 Invert input G S DWORD The input signal is inverted channel 1 to 32 7Fh data_1 128 Invert input G S DWORD The input signal is inverted channel 33 to 64 80h data_2 129 Invert output G S DWORD The output signal is inverted channel 1 to 32 81h data_1 130 Invert output G S DWORD The output signal is inverted channel 33 to 64 81h data_2 131 reserved 82h 132 reserved 83h 133 Auto recovery G S DWORD The outputs switch on automatically after an 84h output 1 overload 134 Auto recovery G S DWORD The outputs switch on automatically after an 85h output 1 overload 135 reserved 86h 136 reserved 87h 137 Retriggered G S DWORD The outputs channel 1 to 32 have to be 88h recovery retriggered in case of an overload output_1 138 Retriggered G S DWORD The outputs channel 33 to 64 have to be 89h recovery retriggered in case of an overload output_2 139 Enable high side G S DWORD Enables the high side output driver of channels 8Ah output driver_1 channel 1 to 32 140 Enable high side G S DWORD Enables the high side output driver of channels 8Bh output driver_2 channel 33 to 64 141 Enable low side G S DWORD Enables the low side output driver of channels 8Ch output driver_1 channel 1 to 32 D301034 1211 BL20 EtherNet IP VSC Vendor Specific C
177. ormation and parameters for analog output modules current Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance The Object Instances attributes of the analog output modules current correspond to those of the analog output modules voltage Differences are only to be found in the attributes no 112 to 143 that concern the measurement ranges of the modules current or voltage measurements Table 5 46 Attr No Attribute name Get Type Description Object Instance dec Set hex 112 Consumed data G INT Contains the data received by the analog output 119 module of channels No 1 to No 8 70h Only those channels are supported that are 77h contained in attribute 111 Number of supported channels Attribute 112 contains the data for channel 1 attribute 119 for channel 8 120 Diag data G BYTE Contains the diagnostic data of the channels 1 to 127 8 of the analog output module 78h Only those channels are supported that are 7Fh defined in attribute 111 Number of supported channels Attribute 120 contains the data for channel 1 attribute 127 for channel 8 BYTE diag Bit 0 to 7 reserved 128 Mode para meter G S BYTE Contains the diagnostic data of the channels 1 to 135 data 8 of the analog output module Only those 80h channels are supported that are defined in 87h attribute 111 Number of supported channels Attribute 128 contains the data
178. orted Bit 4 0 ok 1 hardware failure The module has to be replaced e g EEPROM or UART may be defect Bit 5 0 ok 1 handshake error The DTE connected to the module does not answer a XOFF or RTS handshake This may cause a overflow in the internal receive buffer Bit 6 0 ok 1 frame error The module has to be parameterized to be adapted to the data structure of the connected DTE A frame error occurs if the parameterization number of data bits stop bits parity is not correct Bit 7 0 ok 1 buffer overflow Overflow in the RX buffer High byte reserved 128 Active mode G S BOOL 0 1byte ctrl status header The diagnostic data 80h are not part of the process input data 7 bytes of user data are available 1 2byte ctrl status header The diagnostic data are part of the process input data 6 bytes of user data are available D301034 1211 BL20 EtherNet IP 5 71 Implementation of EtherNet IP Table 5 51 Attr No Attribute name Object instance j dec hex Get Type Set Description 129 Bit rate 81h G S ENUM USINT Used to set the baudrate for the gateway 0 reserved 1 2 300 bps 2 600 bps 3 1200 bps 4 2400 bps 5 4800 bps 6 9600 bps 7 14400 bps 8 19200 bps 9 28800 bps 10 38400 bps 11 57600 bps 12 115200 bps 15 reserved 130 Disable 82h diagnostics G S BOOL 0 released The diagnostic fu
179. ose 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 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 D301034 1211 BL20 EtherNet IP General notes Industri A The following group combination can be routed only in separate bundles or separate cable ducts no minimum distance apart 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 b
180. otti tto notti ntis notis nouis 7 10 7 3 Plugging and pulling electronics modules 4 eee crece eese tenete seen senes ne senes tuse en estne sese stone tnose 7 11 7 4 Extending an existing station esee eee esee eese eese eene en esee sena sets stone tenes tns seen e tens snas stesse essa tenete s sten e enses 7 12 7 5 Firmware download H 7 13 8 Guidelines for electrical installation 8 1 Gereral e E A STi Generals renne ERE BAD Cable rutin e 4 8 1 3 Cable routing inside and outside of cabinets 8 1 4 Lightning protection 8 15 wiansmissioh mediae eemper PNE E eMe IM SE ME D301034 1211 BL20 EtherNet IP iii 8 2 8 2 1 8 3 8 3 1 8 3 2 8 3 3 8 3 4 8 3 5 8 4 8 5 8 5 1 8 5 2 10 10 1 10 1 1 10 1 2 10 1 3 10 2 10 3 11 12 Potential relationships isses sciccsccuscesesiecsinsssevtsecustensaneseasessassuvcsaustececessuacsiveseucsossusessstecseccaseetseedesescousueess 8 5 GONE TE A A A EATA EE EEI AAA Maa ida een leet Ca G 8 5 Electromagnetic Compatibility EMC sessesosssososssossosssososssossosesososesossosesososesossosesososssossosesososssossosesssosssossss 8 6 Ensuring auae cdeeh aa eaa E a E A EE AE aE iara iaa 8 6 Grounding of inactive metal components seeccsseccssecssseessscesstsessescsscessseccsuccesnecsssccssseess
181. parameterization error Operation of the module is not possible with the present parameter set Bit 5 to 6 reserved Bit 7 0 The SSI encoder is read cyclically 1 SSI communication suspended Communication with the SSI encoder is stopped as STOP 1 process output or ERR_PARA 1 D301034 1211 BL20 EtherNet IP 5 75 Implementation of EtherNet IP Table 5 52 Object instance Attr No Attribute name Get Type dec Set hex Description 112 Diagnostics and G WORD status Bit 8 0 A comparison of the register contents has produced the following result REG SSl POS REG CMP1 1 CMP1 register value matches POS A comparison of the register contents has produced the following result REG_ SSI POS REG CMP1 Bit 9 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP1 since the last reset 1 CMP1 flag set The contents of the registers match REG SSI POS REG CMP1 This marker must be reset with bit 9 of the Control attribute 112 Diagnostics and G WORD status Bit 10 0 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP1 1 POS gt CMP1 register value A comparison of the register contents has produced the following result REG_ SSI_POS gt REG_CMP1 Bit 11 0 A comparison of the register contents has produced the following result
182. ply via terminal block with screw CONNECTION sssccssssssssesssescnscecssecssscceseecessecsssecsssecsssceseessscessucecsueessnecsnessees 6 4 4 3 Service interface connection female PS 2 connector Connection with I O ASSISTANT connection cable 00 sessccssescessssecsssssccsnscecssssecessscecssscecsssseecsnseceesssecssnseecsnsssessnseessnssseesse 4 5 Address 8 4 5 1 BEP orario gc O ERN eaa 8 4 5 2 Default setting of the Gateway sssccssssscsssssccssssscssssscssssssesssscessssccssssesssssecssssscessseecssseecessseecesseseessssecesseseesseesssneseessneesssseesesaeeees 9 4 5 3 Address setting via the rotary mode sssscsssssscssssccssesecssssscesssscesnsesssnsescenuseecsnseecesssscesnseecssecenssescsnssscensseecsnseecesssscesnseeceunseessnee 9 4 5 4 Address setting via BOOtP mOde ssssssscsssccssssscsssscessssccssssesssssecessseesssseecesssecessssesssseesessesssssecssssscesssnscesuseesssesecessseesesaeseessesees 10 4 5 5 Address setting via DHCP mode 4 5 6 Address setting via PGM mode 4 5 7 Address setting via PGM DHCP ess 4 5 8 Address setting via l O ASSISTANT 3 FDT DTM c ssssccsssssssscssssessscssseessccssesccsscesscecsnccessecessecssscessesasecessceesneessnecesneessneesaes 14 4 6 SET 17 4 7 Status indicators diagnostic messages gat
183. possible reasons too many modules connected to the gateway short circuit in connected module hardware error in gateway Check wiring at the gateway and the voltage supply Dismount modules Replace the gateway D301034 1211 BL20 EtherNet IP Status indicators diagnostic messages gateway Industri A Table 4 3 LED Status Meaning Remedy LED displays 10 Off CPU not supplied Check 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 l O ASSISTANT Force Mode l O ASSISTANT Force Mode 1Hz Green Maximum number of modules at Check the number of modules flashing the gateway is exceeded connected to the gateway 4Hz dismount modules Red Controller is not ready Vec levelis 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 Red Non adaptable modification of the Compare the planned BL20 station flashing physically connected station with the physical station 1Hz Check the physical station for defective or incorrectly fitted electronics modules Red no module bus communication At least on
184. put data BL20 O Data 2 ch 0 BL20 O Data 3 ch 1 BL20 4DI 24VDC P Input data BL20 1 Data 8 Bits O to 3 for ch O to 3 BL20 1SSI Input data BL20 I Data 9 12 Output data BL20 O Data 4 7 D301034 1211 BL20 EtherNet IP 6 21 Application example BL20 gateway with an Allen Bradley PLC 6 7 1 Mapping report via l O ASSISTANT An EtherNet IP I O mapping report can be generated for each individual station by means of the software tool I O ASSISTANT Figure 6 31 I O mapping re port in software tool I O ASSISTANT 6 22 1 Station Adr 192 168 1 1 description and I O sizes in out Module Pos Position 0 Position 1 Position 2 Position 3 Position 4 Position 5 Position 6 Position 7 Position 8 Position 9 Position 10 Module Part Number BL20 GW EN IP BL20 2AI 0 4 20MA BL20 2DI 24VDC P BL20 2DO 24VDC 0 5A P BL20 2AI THERMO PI BL20 4DI 24VDC P Empty Place BL20 1 AI U 10 0 440VDC BL20 2A0 I 0 4 20M4 BL20 4DI 24VDC P BL20 1SSI Desc Term 0A Term 0B Term 0C Term 0D Term OE Term OF Term 0G Term OH Term Ol Term OJ Term OK Total Data In Out size in Bytes rounded on full words For detailed information on Status Control word see online Help choose your gateway click right for techrical data 2 10 map allocates 26 bytes for input data Bit Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 Word 6 Word 7 Word 8 Word 9 Word 10 Word 11
185. r A modification of the register contents by a process output was initiated i e REG_WR 1 A write job would not be accepted with the next telegram of process output data SSI_STS3 SSI_STS2 SSI_STS1 SSI_STSO These four bits transfer the status bits of the SSI encoder with the status messages of the SSI module With some SSI encoders the status bits are transferred together with the position value STS_UP LED UP The SSI encoder values are decremented or the values are constant The SSI encoder values are incremented STS_DN LED DN The SSI encoder values are incremented or the values are constant The SSI encoder values are decremented 10 18 D301034 1211 BL20 EtherNet IP Data image of the technology modules Industri A Designation Value Meaning REL CMP2 0 A comparison of the register contents has produced the following result REG SSI POS REG CMP2 1 Acomparison of the register contents has produced the following result REG_SSI_POS REG CMP2 FLAG CMP2 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP2 since the last reset 1 The contents of the registers match REG SSI POS REG CMP2 This marker must be reset with CLR CMP2 1 in the process output data STS CMP2 0 A comparison of the register contents has produced the following result REG SSI POS REG CMP2
186. r event The bit concerned retains the value until it is reset Figure 10 10 Processinputdata Data Image Process input data SSI gt SPS u7 oce en eras exa en oxo D301034 1211 BL20 EtherNet IP 10 17 Appendix Table 10 7 Designation Value Meaning Meaning of the data bits process REG RD DATA input 0 232 1 Content of the register to be read if REG_RD_ABORT 0 If REG_RD_ABORT 1 then REG RD DATA 0 REG_RD_ABORT The reading of the register stated at REG_RD_ADR was accepted and executed The content of the register is located in the user data range REG_RD_DATA Bytes 0 3 The reading of the register stated at REG_RD_ADR was not accepted The user data range REG_RD_DATA Bytes 0 3 is zero REG_RD_ADR 0 63 The reading of the register stated at REG_RD_ADR was not accepted The user data range REG_RD_DATA Bytes 0 3 is zero REG_WR_ACEPT The writing of user data for process output to the register with the address stated at REG_WR_ADR in the process output data could not be executed The writing of user process output data to the register with the address stated at REG_WR_ADR in the process output data was successfully completed REG_WR_AKN No modification of the data in the register bank by process output i e REG_WR 0 A write job would be accepted with the next telegram of process output data handshake for data transmission to the registe
187. rantees a standardized reference potential area for all control elements and reduces the influence of coupled disturbances In the 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 Connect all free moving groundable components cabinet doors separate mounting plates etc by using short bonding straps to large surface areas 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 earth free system D301034 1211 BL20 EtherNet IP Electromagnetic Compatibility EMC Industri A 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 f Mounting op 7 9 9 9 Oo tions x x ATS 35 C BMounting rail amp CMounting plate x 2 x bi A D N v N N N N Mount the mounting rails over a large surface area and with a low impedance to
188. re set to 0 WRONG MODULE 3 The wrong module has been plugged in the slot meaning it supports process data lengths that were not previously defined or it is a different type of module This false module will not be made known to the fieldbus and will not take part in process data traffic The process data for this slot are set to O 103 Module ID G DWORD Contains the ID of the BL20 module 67h 104 Module diag bit G UINT States the number of diagnostic bits of the 68h count module 105 Module param bit G UINT States the number of parameter bits of the 69h count module 106 Module diag bit G UINT States the number of input bits produced bits of 6Ah count the module D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 35 Attr No Attribute name Get Type Description Object Instances dac Set hex 107 Moduleoutputbit G UINT States the number of output bits consumed bits 6Bh count of the module 108 Module G USINT Contains the Submode ID of the BL20 module 6Ch SUBMODE 109 Module group G USINT States the number of internal groups of the 6Dh count module 110 Diag G ARRAYOF Contains the diagnostic information of the 6Eh BYTE module 111 Param G S ARRAYOF Contains the parameters of the module 6Fh BYTE 112 Input G ARRAYOF Contains the input data produced data of the 70h BYTE module 113 Output G S ARRAYOF Contains
189. re 2 6 Base module with screw con nection Figure 2 7 Base module in block design D301034 1211 BL20 EtherNet IP 2 5 BL20 philosophy 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 LN 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 the BL20 station remains secure on the mounting rail even when subjected to vibration Figure 2 9 End plate 2 6 D301034 1211 BL20 EtherNet IP 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 2 2 9 Marking material E Labels for labeling BL20 electronics modules Markers for colored identification of connection levels of
190. ription dec Set hex 111 Module input G USINT Contains the number of input channels 6Fh channel count supported by the module 112 Module output G USINT Contains the number of output channels 70h channel count supported by the module Input data 113 Module input 1 G UINT Input data of the module according to channels 71h to to Module input 16 128 80h Output data 129 Module output_1 G DWORD Output data of the module according to 81h to channels to Module 144 output_16 8Fh Diagnosis data 145 Range error G WORD Indicates an over or undercurrent of 1 of the 90h set current voltage range whereby undercurrents can only be recognized with those modules that have a set current range of 4 to 20 mA 146 Open circuit error G WORD Indicates an open circuit in the signal line for the 91h operating mode 147 Short circuit error G WORD 92h 148 reserved 93h Parameter data 149 Channel 1 G S UINT Activates or deactivates the corresponding 94h to channel to Channel 16 164 A4h 165 Operating mode G S ENUM Sets the operating mode for the channel A5h channel 1 0 deactivate channel to to 12 10V 10V 180 Operating mode 2 0V 10V B4h channel 16 3 0 mA 20 mA 4 4 mA 2 0mA D301034 1211 BL20 EtherNet IP 5 87 Implementation of EtherNet IP Table 5 54 Attr No Attribute name Get Type Description Object instance di Set hex 181 Value
191. rmation see page 5 28 process data Instance 102 Contains the station s output data static length 256 bytes 2 Bytes Control data mapped but not defined process data Instance 103 Instance 104 In and output assembly instances with variable assembly sizes The assembly size is precalculated to support the stations I O configuration RFID Command interface configuration enabled diagnostics etc E input assembly instance 103 E output assembly instance 104 The size of each assembly instance can be retrieved through the assembly object instance 0x67 attribute 0x04 and can vary between 2 and 496 bytes Mapping of Process Data The process image of the BL20 gateway is depicted in WORD format 16 bit The process data of successive modules of the same type with process data of less than 1 word are grouped together until 16 bits of process data is reached The process data is written in a new word when 16 bit input data is reached and further input modules follow 16 bit output data is reached and further output modules follow E An input module whose process data length cannot be completely incorporated in the preceding word follows on from another input module E An output module whose process data length cannot be completely incorporated in the preceding word follows on from another output module D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Example station Modul
192. rried out via BootP IP address subnet mask etc will be taken from the module s EEPROM 4 5 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 9 1 2 7 6754 Set 9 0 9 0 4 8 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 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 In dynamicallocation 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 In 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 D301034 1211 BL20 EtherNet IP Technical features 4 5 6 Address setting via PGM mod
193. rvice specific errors Use of this range should only be performed when errors none of the Error Codes presented in this table accurately reflect the error that was encountered 5 12 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway 5 2 4 Assembly Object Industri A 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 specification Vol 1 Rev 2 1 by ODVA amp ControlNet International Ltd and adapted to BL20 Class attributes Table 5 12 Attr No Attribute Name Get Type Value Class attributes Set 1 0x01 REVISION G UINT 2 2 0x02 MAX OBJECT INSTANCE G UINT 2 Instance attributes Table 5 13 Attr No Attribute Name Get Type Description Instance Set attributes 1 0x01 NUMBER OF MEMBERS G UINT 0 no dynamic IN LIST 2 0x02 MEMBER LIST G ARRAY of STRUCT Depends on Instance UINT UINT Packed EPATH 3 0x03 DATA S ARRAY OF BYTE 4 0x04 SIZE G UlNTNumberofbytes 256 in Attr 3 Common Services Table 5 14 Service Code Class Instance Service Name Common services 01 0x01 yes yes Get Attribute All 14 OxOE no yes Get Attribute Single D301034 1211 BL20 EtherNet IP Implementation of EtherNet IP Instance 101 Contains the station s input data static length 256 bytes 2 Bytes status info
194. s process output EXTF_ ACK Error acknowledgement The ERR_DO or ERR_24Vdc error bits must be acknowledged with the control bit EXTF_ACK after the cause of the fault has been rectified This control bit must then be reset again Any new error messages are not set while the EXTF_ACK control bit is set CTRL_DO1 0 The output DO1 is blocked 1 The output DO1 is released SET DOI If CTRL_DO1 1 and the physical output DO1 is configured for indicating the value SET DO1 DO1 can be set and reset directly with SET DO1 DO1 can be set for this function via the process output MODE DO1 00 and LOAD DO PARAM 0 gt 1 The output DO1 can also be set before commissioning via the separate parameter data The default setting for DO1 is to display the value of SET_DO1 RES STS 0 1 Initiate resetting of status bits The STS_UFLW STS_OFLW and STS_CMP1 process input status bits are reset Bit RES_STS_A 1 process input acknowledges that the reset command has been received RES_STS can now be reset to 0 SW_GATE 0 gt 1 Measuring is started software release 1 0 Measuring is stopped LOAD DO Parameter setting of the physical output DO1 PARAM 0 1 DO1 can indicate the status of different data bits as a signal The current telegram byte 0 determines the data bits to which DO1 is to refer D301034 1211 BL20 EtherNet IP 10 11 Appendix Table 10 4 Meaning of the data bits process output Control bit Explanations
195. s means that the EtherNet IP devices generate messages as soon as a change of status occurs D301034 1211 BL20 EtherNet IP 5 3 Implementation of EtherNet IP 5 4 Cyclic I 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 non periodic requests It is not recommended for frequent messaging because the UCMM input queue in a product is typically limited to justa few messages Once this limit is reached subsequent requests are ignored and must be retried Connected Explicit 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 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Industri A 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 specif
196. s ports OxF4 245 OxF5 TCP IP Contains the device TCP IP related configuration information Interface Object 0xF5 246 OxF6 Ethernet Link Contains link specific counters and status information for an Object OXF6 Ethernet 802 3 communications interface D301034 1211 BL20 EtherNet IP 5 5 Implementation of EtherNet IP 5 2 2 Identity Object 0x01 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 adapted to BL20 Class Attributes Table 5 2 Attr No Attribute Name Get Type Value Class attributes Set 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 ATTRIBUTE G UINT 7 Instance Attributes Table 5 3 Attr No Attribute Name Get Type Description Instance Set attributes 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 TYPE G UINT Indicates the general type of product Communications Adapter 124 0x0C 3 0x03 PRODUCT CODE G UINT Identifies a particular product within a device type Default 27247 4 0x04 REVISION G STRUCT Revision of the item the Identity Object is OF representing Major Minor USINT 0x01 USINT 0x06 5 0x05 DEVICE STATUS G WORD See Table 5 4 Device Stat
197. scesseecsssccsssecenscesuscesseccsseecsnecesecesseeesees 8 6 P CONNECTION Mc T 8 6 Farth free operation eret recette testet uei ia de aei re aeu eoe ue coe eo iare ba Bo eade eb ec einn 8 6 Mounting rails L 8 7 Shielding of Cables siscisssiccccscesscsescsnccecesassessiccsecestsaestesseousecussonessanseotsscute seus EO o SE SE eE EN i osso EEs Eoss ri es 8 8 Potential COMPENSATION iciscssccecasaccsevensesueasesescvevesdassnsecusscuscosdevsesncuseeusdosssunssecasceuscouacueaseacsscdsevsneeaaseecssuecceeneens 8 9 Switching inductive loads eee terere ere teet ee e puce Drop cede erected eee repe teer debere ou cerea 8 9 Protection against Electrostatic Discharge ESD etes tteenttenttnnttennnttnnnnttenttte ttt nn ttt no tt no its 8 9 BL20 Approvals for Zone 2 Division 2 Appendix Data image of the technology modules Counter module RSxxx module SSI module eee te a tee Um a ee De ae IS Ae ee Ar A ace nal ed Nominal current consumption and power loss ccsssccssrscssesccssssccsssscsssssssssssssssssssssssssssssssssssessesessess 10 22 Power loss of the modul s oreet oie ete tote errore o Fes ee euo ela sepes Per Pe e e eoa o esee essi else a Pe eee ee Veo eU oe ities ERROR EUN 10 26 Glossary Index D301034 1211 BL20 EtherNet IP Industri A 1 About this manual 1 1 Documentation cConcept s ssssssssssssesosssssscosossssesessososs
198. sens etas to setas tas en setas eene eas to sean etas e ene os 1 4 EAA Pf RR 1 5 BL20 philosophy MING DaSIC CONCEP eee 2 2 Missile 2 2 aro sei der nel no P 2 2 BLZO COMPONENUS e v Iva a s 2 3 ELA CUL 2 3 Power dfe udlo vri o Wei oro 0 C 2 3 Electronics modules acto ciere er ere R EORR EAR VERE RT ER WEE RE 2 3 Base modules e E tiendas aite E E bL NATA EN M EE 2 5 BEZO ECONOMY e 2 6 End plate End bracket Jumpers EHE 2 7 Shield connection 2 pole for analog modules eee etie stesse ttes tennis tto ttt tte sa ttt sotto tt nota csi 2 9 EtherNet IP SYSTEMICESCHIPUION MES Sem D ET 3 2 Network topology sists 3 3 Addressing ori EtherNet IP nter rene eti reta rentrer ebore verb een eb ee echas te verba 3 4 Network CLASSES cavete metit mrt e RANG m SIRE RORIS NH E E ETIN WR Te ven RUE ERR anaes 3 4 Checking the communication via ping signals eerte nnne nnt tetto netto ttts ttt notte nnus 3 5 ARP Address Resolution Protocol ccccceccsssssssssssssssssssscsssssssssssesesssssesscssssssssssssessssssssesssssssssessssssssssussessesssssessssesssscssessessessessssesss 3 5 Technical features GON E E E E E E EC 4 2 FUNCT
199. sm The scheduled diagnostic data is placed at the end of the input data and after the summarized diagnostic data see page 4 21 4 22 D301034 1211 BL20 EtherNet IP Status and Control word of the gateway Industri A 4 8 Status and Control word of the gateway 4 8 1 Status word The gateways status word is mapped into the process data see also Mapping of process data page 5 13 and contains common diagnostic messages such as gateway errors module bus errors E voltage errors configuration diagnostic warnings Table 4 4 Bit No Status Word Meaning 15 I O Controller Error The communication controller for the l O system is faulty 14 Force Mode Active Error The Force Mode is activated 13 12 reserved 11 I O CfgModified Error The I O configuration has been changed and is now incompatible 10 I O Communication Lost Error No communication on the I O module bus Usys too low System supply voltage too low 18 VDC Usys too high System supply voltage too high 30 VDC UL too low Load voltage too low 18 VDC UL too high Load voltage too high 30 VDC Isys too high Overload of the system voltage supply reserved I O CfgModified Warning reserved I O DiagActive Warning At least one I O module sends active diagnostics It can also be accessed via the Gateway Class VSC 100 Object Instan
200. ss setting via PGM mode Address setting via PGM DHCP Address setting via l O ASSISTANT 3 FDT DTM NAT Im TE R er 4 17 Status indicators diagnostic messages gateway Diagnostic messages via LEDS sse Diagnostic messages via the process data nn essssssccssssecssssscessssecssscecesssscesnscersssssessnscecsnseecsssessuseecsnseesessscessnseecenssseesnseessneeseese Status and Control word of the gateway 4 eere eee eese entes eese enses ense toan setas ense tosta sets etos etn etos tos ens sensus 4 23 Status WOLQ scd trae trova duret cineri reete rosse oret qud pere baee io ere o EEEE E RESTE E en ve bene Control word Module specific diagnostic messages 4 eese eee ee eee eee en nnne n eaae eee etes osos eaae ee eese sonos esee esee eeno 4 24 Implementation of EtherNet IP The EtherNet IP Communications Profile eee eere eene nenne ee eee tetto nnns ones eese e eee esee eee e aee e eee eeoe 5 3 WOEMOSS o E E E O EET E EE ETETE 5 3 Explicit Messages acs cake a a A a a E E aa e A aa ee eR a a 5 3 Communications profile of the BL20 EtherNet IP gateway ssssssscssssscsssssccssssecsssesccssececssscccesseeesunsessuseecuneeseessceecuneesenssess 5 3 Classes and instances of the EtherNet IP gateway eere eren eene eene en teens tn aetas en stas s stessa senses ses souao 5 5 EtherNet
201. ssary to supply each individual module with a separate voltage Figure 2 2 Power distribu tion module 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 D301034 1211 BL20 EtherNet IP 2 3 BL20 philosophy combinations of electronics and base modules They can be plugged or pulled when the station is being 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 2 4 D301034 1211 BL20 EtherNet IP BL20 components 2 2 4 Base modules The field 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 4 x 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 connec tion Figu
202. ssecososscososososseseososossesesssssssososssssssseossssssesessssss 2 1 2 General information p 3 1 2 1 Prescribed rcm 1 2 2 Notes concerning planning installation of this product 1 3 Description of symbols used sesscseccecccccecccccccccccccccccocccccccccocccccccccccccoccoccecceccscoccccccccccccccccccecccecsssseoe 4 1 4 List Of revisions 89 5 D301034 1211 BL20 EtherNet IP 1 1 About this manual 1 1 1 2 Documentation concept This manual contains information about the BL20 Ethernet gateway with EtherNet 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 all 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 E 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 D301034 1211 BL20 EtherNet IP General information Industri A 1
203. ster is as follows FRAME LENGTH INVALID BITS MSB INVALID BITS LSB The invalid bits on the MSB side are zeroed by masking the position value I NVALID BITS MSB INVALID BITS LSB must always be less than FRAME LENGTH Default 0 Ohex D301034 1211 BL20 EtherNet IP 5 81 Implementation of EtherNet IP 5 3 18 Digital Versatile Module Class VSC117 This class contains all information and parameters for digital versatile modules A Attention In this class chosen parameter options can only be deactivated by activating another option of this parameter Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 53 Object instance 5 82 Attr No Attribute name Get Type Description dec Sei hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number
204. t Type Description dec Sei hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Terminal slot G USINT Theslot number of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 4DO 0 5A P 106 Module revision G USINT Contains the revision number of the module 6Ah firmware 107 Module type ID G ENUM Describes the module type see attribute 107 6Bh USINT 6Bh on page 5 34 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Module registered G ENUM Contains the index numbers specified in all the 6Eh index USINT module lists D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 54 Object instance Attr No Attributename Get Type Desc
205. ta bits process output Control bit Explanations SET DO2 If CTRL_DO2 1 and the virtualA output DO2 is set to indicate the value SET DO2 DO2 can be set and reset directly with SET DO2 DO2 can be set for this function via the process output MODE DO2 00 and LOAD DO PARAM 0 gt 1 The output DO2 can also be set before commissioning via the separate parameter data The default setting for DO2 is to indicate the status of SET DO2 CTRL DO1 0 The output DO1 is blocked 1 The output DO1 is released SET DOI1 If CTRL_DO1 1 and the physical output DO1 is set to indicate the value SET DO1 DO1 can be set and reset directly with SET DOT DO1 can be set for this function via the process output MODE DO1 00 and LOAD DO PARAM 0 1 The output DO2 can also be set before commissioning via the separate parameter data The default setting for DO1 is to display the value of SET DO1 RES STS 0 gt 1 Initiate resetting of status bits Status bits STS ND STS_UFLW STS_OFLW STS CMP2 STS_CMP1 STS SYN process input are reset Bit RES STS A 1 process input acknowledges that the reset command has been received RES STS can now be reset to 0 CTRL SYN Release synchronization 1 0 gt 1 rising edge at the physical DI input enables the counter value to be set synchronized once periodically to the load value SW GATE 0 gt 1 Counting is started release
206. tance dec Set 2 Gateway hex Instance 138 GW Status Get UINT Allows to enable disable the GW status register 0x8A Register Set which is part of the input data 139 GW Control Get UINT Allows to enable disable the GW control register 0x8B Register Set which is part of the output data D301034 1211 BL20 EtherNet IP 5 29 Implementation of EtherNet IP 5 3 3 Terminal Slot Class VSC 101 This class contains parameters and data for the base modules Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance Table 5 35 Object Instances 5 30 Attr No Attribute name Get Type Description dec Sei hex 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Module present G BOOL 0 module missing base module without 65h electronic module 1 module is plugged 102 Slot state G ENUM NOT USED 0 66h USINT A non occupied slot is not taking part in process data traffic It is not responding to data transmitted or received via I O Connection Messages PROCESSING 1 A BL20 module recognized by the fieldbus is occupying a slot Data transfer is taking place with the other fieldbus devices via I O Connection Messages ALLOCATED 2 The slot is not occupied but has been reserved for a certain electronic module The process data a
207. terFace Allen Bradley Controllers Digital gt Eind Add Favorite By Category By Vendor Favorites OK Cancel Help Enter the Major Revision of your EtherNet IP bridge and click OK Figure 6 19 Select Major Revision Major Revision Select major revision for new 1756 ENBT A of th e Eth eri N et module being created IP Bridge Major Revision X Cancel Help In the following dialog box New Module enter a name for the bridge and define its IP Address in this example 192 168 1 100 Figure 6 20 New Module Configuring the Type 1756 ENBT 4 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media E the ri N e t l 1 P Vendor Allen Bradley Parent Local Bridge Address Host Name Name Ethernet_BL20 Description PAddress 192 168 1 100 C Host Name Slot Revision Electronic Keying Compatible Keying A v Open Module Properties Cancel Help In the following dialog box Module Properties Local press OK You may also browse offline through the module properties when you click Next At this point there is no need for further entry action If Next is selected the Module Properties window displays information that will be available when the module is online The configuration of the interface is completed Press Finish to close the dialog box D301034 1211 BL20 EtherNet IP 6 15 Application example BL20 gateway with an
208. the device s support for optional network configuration capability Table 5 25 Bit s Name Definition Value Configuration Capability 0 BOOTP Client The device is capable of obtaining its 1 network configuration via BOOTP 1 DNS Client The device is capable of resolving host 0 names by querying a DNS server 2 DHCP Client The device is capable of obtaining its 1 network configuration via DHCP Configuration Control The Configuration Control attribute is used to control network configuration options Table 5 26 Bit s Name Definition Configuration Control 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 hardware switches etc 1 to 3 reserved 4 DNS Enable Always 0 5 31 Reserved Set to 0 5 20 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Industri A E 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
209. the lower count limit This bit must be reset by the RES STS control bit STS OFLW Status upper count limit Set if the counter goes above the upper count limit This bit must be reset by the RES STS control bit D301034 1211 BL20 EtherNet IP 10 3 Appendix Table 10 1 Bits Meaning of the data bits process input Explanations STS_CMP2 Status comparator 2 This status bit indicates a comparison result for comparator 2 if The output DO2 is released with CTRL_DO2 1 and a comparison is run via MODE DO2 01 100r 11 Otherwise STS_CMP2 simply indicates that the output is or was set STS_CMP2 is also set if DO2 SET DO2 1 when the output is not released This bit must be reset by the RES STS control bit STS_CMP1 Status comparator 1 This status bit indicates a comparison result for comparator 1 if The output DO1 is released with CTRL_DO1 1 and a comparison is run via MODE_DO1 01 10 or 11 Otherwise STS_CMP1 simply indicates that the output is or was set It must be acknowledged with RES STS process output The bit is reset immediately if acknowledgement takes place when the output is still set STS_CMP1 is also set if DO1 SET DO1 1 when the output is not released This bit must be reset by the RES STS control bit STS SYN Status synchronization After synchronization is successfully completed the STS SYN status bit is set This bit must be reset by the RES STS control bit
210. the output data consumed data of the 71h BYTE module 114 Referenced G USINT The VSC that represents this BL20 module If this 72h VSC module is contained in the internal gateway library then it is listed in a specific VSC that describes the typical attributes of the module 115 Referenced VSC G USINT The VSC Instance that represents this BL20 73h instance module If this module is contained in the internal gateway library then it is listed in a specific VSC that describes the typical attributes of the module 116 Moduleregistered G S ENUM Contains the index numbers specified in all the 74h index USINT module lists D301034 1211 BL20 EtherNet IP 5 31 Implementation of EtherNet IP 5 3 4 Process Data Class VSC102 This class contains the process relevant information Note Please refer to paragraph Class Instance of the VSC page 5 26 for the description of the class instances for VSC Object Instance 1 standard input process data compressed Table 5 36 Attr No Attribute name Get Type Description Object instance doc Set 1 standard hex input process data compressed 100 Max object G USINT Contains the number of the last object attribute 64h attribute to be implemented 101 Attribute list G ARRAY OF List of all attributes that are supported by this 65h USINT Instance 102 Standard packed G ARRAY OF Input process data 16 bit aligned compressed
211. 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 D301034 1211 BL20 EtherNet IP 8 7 Guidelines for electrical installation 8 4 8 8 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 fields Attention 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 Ifthe data cable is connected via a SUB D connector the shielding should never be connected
212. the valid user data in this data segment In PROFIBUS DP the data segments contain a maximum number of 6 bytes of user data 10 16 D301034 1211 BL20 EtherNet IP Data image of the technology modules 10 1 3 SSI module Process input data The field input data is transferred from the connected field device to the BL20 1SSI module The process input data is the data that is transferred to the PLC from the BL20 1SSI via a gateway This is transferred in an 8 byte format as follows E 4bytes are used for representing the data that was read from the register with the address stated at REG RD ADR When necessary 1 byte represents the register address of the read data and an acknowledgement that the read operation was successful 1 byte can be used to transfer status messages of the SSI encoder This byte also contains an acknowledgement that the write operation to the register was successful and indication of an active write operation 1 byte contains the results of comparison operations with the SSI encoder value 1 byte contains messages concerning the communication status between the BL20 1SSI module and the SSI encoder as well as other results of comparison operations The following table describes the structure of the 8 x 8 bits of the process input data STS or ERR contains non retentive status information i e the bit concerned indicates the actual status FLAG describes a retentive flag that is set in the event of a particula
213. tion WIN NT Network 21 x Identification Services Protocols Adapters Bindings Network Protocols Add Remove _Broperes Update Description Transport Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Close Cancel 3 Activate Specify IP address and set the address as follows Figure 6 4 Microsoft TCP IP Properties i2 1x Specify IP Address DNS WINS Address Routing IP address An 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 1 Intel 82557 based 10 100 Ethernet PCI Adapter hi Obtain an IP address from a DHCP server amp Specify an IP address IP Address 192 168 1 5 SubnetMask 255 255 255 0 Default Gateway 192 168 1 1 Advanced Cancel Apply D301034 1211 BL20 EtherNet IP 6 5 Application example BL20 gateway with an Allen Bradley PLC 6 3 3 Changing the IP address via I O ASSISTANT V3 The Busaddress Management DTM in the software 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 Select the used network card under Online availabl
214. tions on the Exceptions tab will be ignored 9 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 Adapting the firewall The firewall remains active the option Don t allow exceptions it deactivated Figure 6 8 Windows Firewall Activating the Windows fire General Exceptions Advanced wall j ws 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 Q9 On recommended This setting blocks all outside sources from connecting to this computer with the exception of those selected on the Exceptions tab 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 8 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 6 8 D301034 1211 BL20 EtherNet IP Changing the IP address of a PC
215. tribute name Get Type Description Object instance dec Set hex 116 Process G BYTE Bit 5 74h diagnostics data 0 ok 1 handshake error The DTE connected to the module does not answer a XOFF or RTS handshake This may cause a overflow in the internal receive buffer Bit 6 0 ok 1 frame error The module has to be parameterized to be adapted to the data structure of the connected DTE A frame error occurs if the parameterization number of data bits stop bits parity is not correct Bit 7 0 ok 1 buffer overflow Overflow in the RX buffer Bit 8 to Bit 15 reserved 117 RX data G ARRAY OF Defines the receive data 0 7 75h BYTE 118 RX data and G ARRAY OF Defines the data received via R 485 422 0 7 76h release BYTE acknowledge for reception 119 TX byte count G S USINT Number of the valid user data bytes in this data 77h segment 120 TX count G S USINT This value is transferred together with every data 78h segment The TX count values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments 121 RX count G S USINT This value is a copy of RX count 79h acknowledge RX count has been transmitted together with the last data segment of the process input data RX count acknowledge is an acknowledge for the successful transmission of the data segment with RX count D3
216. ty 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 D301034 1211 BL20 EtherNet IP 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 Type Max no Type Max no process data dependent Aplus 1 Digital inputs 288 BL20 4DI 24VDC P 72B Bus Refreshing module Digital outputs 288 BL20 4DO 24VDC 0 5A P 72B Bplus2 bus Refreshing Analog inputs current 126 BL20 2A I 0 4 20MA 63 E Analog inputs voltage 126 BL20 2AI U 10 0 10VDC 63C Bus Refreshing nalog inputs PT NI 126 BL20 2Al PT NI 2 3 63C modules Analog inputs Thermocouple 126 BL20 2AI THERMO PI 63C Analog outputs current 126 BL20 2A0O 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 maximu
217. ule response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Consumed data G UINT Contains information concerning the range of 6Eh size data consumed by the module 111 Consumed data G DWORD Contains the output data of the module 6Fh DWORD Bit for bit assignment according to module specification 5 38 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 42 Attr No Attribute name Get Type Description Object instance dec Set hex 112 Diag size G UINT Contains information concerning the range ofthe 70h diagnostic data of the module 113 Diag G S DWORD Contains the diagnostic information of the 71h module DWORD Bit for bit assignment according to module specification 114 Param size G UINT Contains information concerning the range of 72h parameters of the module 115 Params G S DWORD Contains the parameters of the module 73h DWORD Bit for bit assignment according to module specification 116 Module registered G ENUM Contains the index numbers specified in all the 74h index USINT module lists D301034 1211 BL20 EtherNet IP 5 39 Implementation of EtherNet IP 5 3 8 Analog Input Voltage Module Class VSC106 This Class contains all information and parameters for analog input modules voltage Note Please refer to paragraph Class Instance of the VSC page
218. umber of the base module belonging to 66h number the module base module to the right of the gateway No 1 Corresponds to the respective Instance Number within the TERMINAL SLOT CLASS 103 Module ID G DWORD Contains the module ID 67h 104 Module order G UDINT Contains the ident number of the module 68h number 105 Module order G SHORT Contains the name of the module for example 69h name STRING BL20 PF 24VDC 106 Module G USINT Contains the revision number of the module 6Ah revision firmware 107 Module type ID G ENUM Describes the module type 6Bh USINT 0x00 type of module unknown default 0x01 digital module 0x11 analog voltage mod 0x12 analog current mod 0x13 analog RTD mod 0x14 analog THERMO mod OxTF analog volt curr mod 0x22 counter incr encoder 32bit 0x28 SSI interface 0x31 starter mechanical 0x32 starter electronical 0x41 RS232 mod 0x42 RS485 RS422 mod 0x51 CVI mod etc 5 34 D301034 1211 BL20 EtherNet IP VSC Vendor Specific Classes Industri A Table 5 40 Attr No Attribute name Get Type Description Object instance dec Set hex 108 Modulecommand G S ARRAY The control interface of the BL20 module 6Ch interface ARRAY OF BYTE Control byte sequence 109 Module response G ARRAY Response interface of the BL20 module 6Dh interface ARRAY OF BYTE Response byte sequence 110 Diag size G UINT Indic
219. unsvuchcbansessichcandabezsnauecnaattees 2 2 4 SE FTN anlel DU EE OL T 5 22 5 biz M 6 2 2 6 afe el ERE L m 6 224 End bracket 2 2 8 Jumpers 2 2 9 Marking material 2 2 10 Shield connection 2 pole for analog modules ssssscsssccsssecsscesseccsseccnsccessccessccesucecsuccesuecesseeeseesusecsuscesssceesseceseeceseeeeaeeesssees 9 D301034 1211 BL20 EtherNet IP 2 1 BL20 philosophy 2 1 2 1 1 2 1 2 2 2 The basic concept BL20 is a modular IP20 I O system for use in industrial automation It connects the sensors 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 i The gateway is the only fieldbus dependent module on a BL20 station
220. us 6 0x06 SERIAL NUMBER G UDINT Contains the ident no of the product 3 last bytes of the MAC ID 7 0x07 PRODUCT NAME G STRUCT BL20 GW EN IP OF LENGTH NAME USINT STRING 13 5 6 D301034 1211 BL20 EtherNet IP Classes and instances of the EtherNet IP gateway Device Status Industri A Table 5 4 Bit Name Definition Device Status 0to1 reserved Default 0 2 Configured TRUE The application of the device has been configured default settings 3 reserved Default 0 4to 7 Extended Device 0011 No I O connections established Status 0110 At least one I O connection in run mode 0111 At least one I O connection established all in idle mode All other settings reserved 8to 15 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 Ox0E yes yes Get Attribute Single Returns the contents of a specified attribute 16 0x10 no no Set Attribute Single Modifies a single attribute D301034 1211 BL20 EtherNet IP 5 7 Implementation of EtherNet IP 5 2 3 Message Router Object 0x02 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 followi
221. ver 15 characters maximum AB EN IP 1 The connection to EtherNet IP is established following successful configuration driver In RSLinx the Autobrowse function can be used to scan the network All hosts in the network which is defined by the settings of your network card will be found Figure 6 15 ipixi Scann ing the File View Communications Station DDE OPC Security Window Help l xl EtherNet IP 3 s networ k via IV Autobrowse He Browsing node 192 168 1 100 found RS Who rkstation SCHOELSXP Linx Gateways Ethernet E 192 168 1 100 1756 ENBT A AB ETHIP 1 Ethernet 4 192 168 1 100 1756 ENBT A 1756 ENBT A 192 168 1 50 BL20 GW EN IP BL20 GW EN IP For Help press F1 NUM 02 22PM 7 D301034 1211 BL20 EtherNet IP 6 13 Application example BL20 gateway with an Allen Bradley PLC 6 6 Configuration of the network in RSLogiX 5000 The EtherNet IP hosts PLC EtherNet IP interface I O modules have to be configured using the software RSLogix 5000 in this example version 15 from Rockwell Automation Start RSLogix and open a new project using the File menu Figure 6 16 f RSLogix 5000 Creatin ganew AGA Edit View Search Logic Communications Tool project in E New CtrleN RSLogix Ep Open Ctri o 6 6 1 Configuration of the controller Enter the information related to the controller depending on your configuration as well as a name for the project Figure ov New Controller Conf
222. way 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 firewall in Windows XP page 6 6 Figure 4 16 Changing the IP address 4 16 Bue fp xw iPLiPt 4 Online available devices IndustrialNet 192 168 1 15 255 255 255 0 Device type Online ID IP address Netmask Gateway Ethernet address 2 Unknown 0 192 168 119 169 255 255 0 0 192168 1 252 00 07 46 00 04 4B BL20 GW EN P 1118110 192 168 1 99 2552552550 192 168 1 1 00 07 46 00 0F C 7 Unknown 0 192 168 250 31 255 255 0 0 192 168 1 252 0 136 129 1254 25 136 801F 192 168 EF 192 1 0 182168250254 255000 192 168 119 252 O00 Planned devices ies Device type Online ID Busaddress Designation Tag Device short name D Disconnected 0 Data set Se Sei Administrator Note i Please observe that changing the IP address is only possible via the Ethernet interface at the gateway not via the service interface D301034 1211 BL20 EtherNet IP SET button Industri A 4 6 SET button The Current Configuration of the station is saved as the Actual
223. will be 0 if there are no diagnostic flags set on the slice If there are any diagnostic events on the slice the bit will be set to 1 Values 0 ok 1 module sends diagnostics wrong module or module pulled acc to VSC 100 Gateway Class Attr 116 page 5 27 The diagnostic bits are placed at the end of the input data The diagnostic data start WORD aligned see Data mapping for gateways with rev lt 1 6 0 page 5 15 D301034 1211 BL20 EtherNet IP 4 21 Technical features Scheduled diagnostics Note Fr The Scheduled Diagnostics possibility is only implemented in gateways with Maj Rev 2 1 6 0 The scheduled diagnostic data map is a time sliced module related data block which holds diagnostic data of all modules with active diagnostics using a round robin mechanism This diagnostic window visualizes a specific module diagnostic data for approx 125 ms and changes over to the next active diagnostics afterwards This is done automatically by the gateway The data length for the scheduled diagnostics is set according to properties of the modules attached to the gateway Word Byte Data 0 0 Slot number of the module which sends the diagnostic data 1 State of the diagnostic message bit 5 1 diagnostic active bit 6 1 wrong module bit 7 1 module pulled acc to VSC 100 Gateway Class Attr 116 page 5 28 n Module diagnostics from the module actually referenced by the round robin mechani
Download Pdf Manuals
Related Search
Related Contents
USV SLC CUBE3 Manual de usuario de iAH – apéndice – envío de Radio Shack PLCD58MP3 User's Manual Conception hygiénique Curtis PLEDV2213A LED TV Les (re)sources de la rivière - Communauté urbaine du Grand Nancy DIP065 RS232 to CAN Network Adapter Instruction Manual 取扱説明書 USER MANUAL - Soundstream UTS User Manual - Newport Corporation Copyright © All rights reserved.
Failed to retrieve file