Home
BL20 - User manual for PROFINET
Contents
1. NY Logik Logik Logik Feld V V Uy U 230V UL U bus WA WA i Output Output Intput D301151 BL20 PROFINET 1108 7 5 Guidelines for electrical installation 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 electro mechanical sources of interference should be considered such as galvanic inductive and capacitive couplings as well as radiation couplings Ensuring electromagnetic compatibility The EMC of BL20 modules is guaranteed when the following basic rules are adhered to E Correct and large surface grounding of inactive metal components E Correct shielding of cables and devices Proper cable routing correct wiring E Creation of a standard reference potential and grounding of all electrically operated devices E Special EMC measures for special applications Grounding of inactive metal components All inactive metal components for example switchgear cabinets switchgear cabinet doors supporting bars mounting plates tophat rails etc must be connected to one another over a large surface area and with a low impedance grounding This guarantees a standardized reference potential area for all control elements and reduces the influence of coupled distur bances E Inthe areas of
2. TN 7 4 Potential Relationships Leer reir KEEN KEE KEREN KEREN KEE KE EE EE KEE E KEE E KEE e 7 5 EE E 7 5 Electromagnetic Compatibility EMC eee Leere eee rer KEE KEREN EE KEE E KEE E KEE e 7 6 Ensuring Electromagnetic Compatibilty AAA 7 6 Grounding of Inactive Metal CGomponente AA 7 6 PE COMMOCUOM tre Eege ice etur editum f Mo ea tse Li s ED Es eU 7 6 Mounting Bn c 7 7 Shielding of cables KEREN EREERERKERKEREEREERERKERREREEREE nnna 7 8 Potential Compensatton enee KEREN KEE KE EEN EE KEREN KEEN E KEE KEE KEREN KEE RE KE ee 7 9 SWILCHING INGUCTIVE LOGOS rU 7 9 Protection against Electrostatic Discharge EG 7 9 8 Glossary 9 Index D301151 BL20 PROFINET 1108 3 D301151 BL20 PROFINET 1108 About this manual Documentation concept Overview eneen enen en ek ek KK ek Prescribed use Notes concerning planning installation of this product 3 Description of symbols used D301151 BL20 PROFINET 1108 0 1 About this manual Documentation concept 0 2 This manual contains all information about the PROFINET gateway of the BL20 product series BL20 BL20 GW EN PN The following chapters contain a short BL20 system description a description of the fieldbus system PROFINET exact information about function and structure of the BL20 gateway for PROFINET as well as a
3. Industrial Automation BL2O USER MANUAL FOR PROFINET All brand and product names are trademarks or registered trade marks of the owner concerned Edition 11 2008 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 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 equalization The system installer is responsible for implementing this connection Connecting cables and signal lines should be installed so that inductive or capacitive inter ference do not impair the automation functions Install au
4. Table 39 Designa Status Comment Data bits tion SIx Switch status relay x SIx supplies the switch status of the contactor coil of the SWIRE bus slave as a feedback signal SIx makes it possible to check whether the set switch status was executed by a mechanical connection This must take into account the time delay between the setting of an output a mechanical execution and the subsequent feedback signal 0 Off Off Contactor coil is switched off 1 On On Contactor coil is switched on PKZSTx Switch status PKZ x 0 Off Off The motor protective circuit breaker is off or has tripped 1 On On The motor protective circuit breaker is switched on SDx Communication error slave x Setting the NDDIAG parameter copies the slave diagnostics message input byte 1 bit 3 to the feedback interface The information is provided as status information in the PLC for the user 0 ON ON Status of slave x Everything o k LINE LINE 1 OFF OFF Status of slave x Slave diagnostics message present LINE LINE Process output Field output data is output from an BL20 E 1SWIRE module to a field device The process output data is the data that is transferred by the PLC via a gateway to the BL20 E 1SWIRE module The transfer is carried out in 8 byte format 4 bits are reserved for each SWIRE slave The following information is transferred Switch status of contactor coil on off Table 40 Byte Bit 7 Bit 6 Bit 5 Bit 4 it 3 Bit 2 Bit 1 Bit O Data structure SWIRE Slave
5. Table 4 Byte Value Meaning Gateway parameter parameters name A default Byte 3 settings bit O and 1 outputs module sequence deviation 00 output 0 A The gateway switches the outputs of modules to 0 No error information is transmitted 01 output substitute value The gateway switches the outputs of all modules to 0 with the exception of analog output modules Error information is transmitted to the analog output modules Depending on their configuration these modules set their outputs either to 0 or to a default value or to maintain the original values The non configured analog output modules set their outputs to 0 10 hold current value The gateway maintains the actual output settings of all modules with the exception of analog output modules Error information is transmitted to the analog output modules Depending on their configu ration these modules set their outputs either to 0 or to a default value or maintain the original values The non configured analog output modules maintain their current output settings 11 exchange process data The gateway carries on exchanging process data with the other module bus stations No error informa tion is transmitted bit 2 and 3 outputs module sequence error 00 output 0 A The gateway switches the outputs of modules to 0 No error information is transmitted 01 output substitute value The gateway switches the outputs o
6. RES STS 0 1 Initiate resetting of status bits Status bits GIG 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 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 1 Counting is started release 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 config ured 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 tele gram MODE DO1 and MODE DO2 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 refer
7. D301151 BL20 PROFINET 1108 5 1 Integration of technology modules Integration of the Counter Module BL20 1CNT 24VDC Count mode data image Process output data 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 The parameters modified via the process output data are not retentive The com missioning after a power failure is based on the parameter data of the configuration tool or default configuration D Der The data is transferred in 8 byte format E The first 2 bytes are not yet assigned 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 Refer ence value 1 Reference value 2 or Behaviour of the digital outputs Structure of the data bytes in PROFIBUS DP with Load value direct in preparation Refer ence value 1 or Reference value 2 Table 16 PDOut with Load value direct in preparation Reference value 1 or Reference value 2 X reserved Bit 7 6 5 4 3 2 1 0 Byte 0
8. Note that the Measurement mode diagnostics is only set in conjunction with another diagnos tics bit Table 22 Name of error Position Explanations Meaning and type position of the data bits diagnostics short open 0 circuit ERR_DO Short open circuit excess temperature at output DO1 This diagnostics information must be acknowledged with the EXTF_ACK process output control bit short circuit Short circuit of sensor supply sensor pwr This diagnostics information must be acknowledged with the supply EXTF_ACK control bit end of counter range wrong The following parameter errors are indicated Upper count limit lower count limit Upper count limit dower count limit Upper count limit lt 0 The numerical values are displayed as two s complement values The permissible range for the upper count limit is there fore Du 7FFF FFFD ex 7FFF FFFE 7FFF FFFF ex The decimal value range for this SINT value is 0 2147483645 2147483646 2147483647 start of counter range wrong The following parameter errors are indicated Lower count limit upper count limit Lower count limit lt upper count limit Lower count limit gt 0 The numerical values are displayed as two s complement values The permissible range for the lower count limit is there fore 8000 0000 F FFF FFFE FFFF FFFF 3 Onex The decimal value range for this SINT value is 2147483648 2 1 0 invert Dl latch ret
9. Byte 4 Lifeguarding Lifeguarding time of the SWIRE slaves Setting of lifeguarding time timeout time up to automatic reset of the slaves in the event of communication failure n x 10ms Default 1s OxFF Lifeguarding off Byte 5 6 SDpjagSX Input bit communication error slave x Slave diagnostics message from Byte 1 Bit 7 is accepted in the feedback interface as Bit4 Active SDpiagSX is accepted Inactive SDpiacSX Is not accepted Byte 7 8 reserved Byte 9 24 Device ID TYPE setting for the LIN slave at position x on the SWIRE bus slave x SWIRE DIL MTB OxFF Basic setting no slave D301151 BL20 PROFINET 1108 5 55 Integration of technology modules 5 56 D301151 BL20 PROFINET 1108 6 Guidelines for station planning Random module arrangement 1 EEREEREREER KREE RER ER EER EE REEREREER KENE Rua SR RR uua aua ERKENNEN 2 Renee En Lu Un Le DEE 2 Maximum system extenslQn ueiieii cire tena dieeme teri mre EES a EX e EE ENA NENEN Ca E ERRANEN ASN Era 2 Power supply 1 rura cu unuas ege EENS eENS EEN Eege Egu EE Reeg E REFERRE Reeg ge EEEADNERFRRUNERN EE EE dee NE deeg 4 Module bus remreSMiinG Pret 4 Creating potential groups iieri ie eere geboren ese a E ERR uds 7 Protecting the service interface on the gateway nere 8 Grail Gross Connection entere einat k aa SERERE ENER ddEEE Ee SEKR ER EERN ese AEN aa 8 Direct wiring of relay ue DE 10 Plu
10. Table 31 Designation Value Meaning Meaning of the data bits process input RX ONT 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_CN 0 7 Number of the valid bytes in this data segment T Process output data PDout Process output data are data which are sent from the PLC via the gateway and the BL20 1RS232 module to a connected field device The data received from the PLC are loaded into the transmit buffer in the BL20 1RS232 module The fieldbus specific transmission for PROFIBUS DP is realized in a 8 byte format which is structured as follows E 6 byte user data E 1 byte containing signals to flush the transmit and receive buffer E 1control byte used to guarantee error free data transmission Figure 44 Process output data Proces output data PLC RSxxx Byte EL oe CE Bit 4 Bit3 Bit2 Bit1 Bito TX_DB_5 TX_DB_ 4 TX DB 3 TX DB 2 TX DB 1 TX DB 0 Reset of RX and TX buffer 6 S RXBUF TXBUF doa FLUSH FLUSH Control byte 7 PE RX_CNT_ACK TX CNT TX BYTE CNT D301151 BL20 PROFINET 1108 5 35 Integration of technology modules Table 32 Designation Value Meaning of the data bits process output Meaning RXBUF FLUSH 0 1 This bit is u
11. U S lt AN Field supply SBBC B Field supply n System sypply It must be ensured that the same ground potential and ground connections are used If different ground potentials or ground connections are used compensating currents flow via the module bus which can lead to the destruction of the Bus Refreshing module All Bus Refreshing modules are connected to one another via the same ground potential The power to the module bus is supplied via the connections 11 and 21 on the base module Attention 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 im mediately next to the connection terminals From there on it is not permitted to make connections to further devices 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 6 7 Guidelines for station planning Figure 50 Example for creating poten tial groups 6 8 2D NO Al 2DO 2DI PF 2DO AI 2DI NO e B B ei a 10 100 MBit es i MU EN E
12. 1DCO Both these values must be converted from hexadecimal to decimal values as many controllers only accept decimal values for setting parameters Due to the fact that many tools and PCs can only process hexadecimal values in unsigned format during the conversion from hexadecimal to decimal values i e bit 15 is not inter preted as a sign bit but as a value negative values bit 15 1 must be converted manu ally E The following applies to the Low word If bit 15 is not set the Low word is converted to the corresponding positive decimal value E n the example Low word hexadecimal 1DCO D301151 BL20 PROFINET 1108 5 25 Integration of technology modules 5 26 Low word binary 0001 111 1100 0000 BitO 29 1 x0 0 Bit1 21 2 x0 0 Bit2 22 24 x0 0 Bit3 2 8 x0 0 Bit4 24 16 x 0 0 Bit5 25 32 x0 0 Bit6 2 64 x 1 64 Bit7 27 128 x1 128 Bit8 28 256 x1 256 Bit9 22 2512 x0 0 Bit10 2 1024 x 1 1024 Bit11 21 2048 x 1 2048 Bit12 21 4096 x 1 4096 Bit13 21 8192 x 0 0 Bit14 2 16388 x 0 0 Bit15 2 3276 x 020 Low word decimal 7 616 If bit 15 is set the reciprocal value is formed This procedure is described in the following for the High word The same principle applies to the High word If bit 15 is not set the High word is converted to the correponding positive decimal value If bit 15 is set the reciprocal value of the hexadecimal value is formed The
13. 49 0 208 4952 0 Fax 49 0 208 4952 264 E Mail more turck com Internet www turck com D301151 1108
14. A B input B filter DI filter B filter A Byte14 X X behavior CPU X X X group 1 2 master stop diagnos tics Byte15 X X X X X X X X 0 1 The list parameters are set by means of a fieldbus configuration tool or the l Oassistant soft ware package Some parameters cannot be modified online These parameters must be defined before commissioning Some parameters can also be modified via the process output after commissioning Process output data Note ER The current count operation is stopped if parameters are changed during operation Table 21 Designation Description Parameters for count modes Value A default value Group diagnostics OA Release A Separate diagnostics is released 1 Block Separate diagnostics is blocked Behavior CPU master stop 00 A turn off DO1 A A failure of the higher level PLC causes output DO1 to be switched off or held 01 Proceed with A failure of the higher level PLC causes the module to operating mode continue operating without restriction 10 DO1 switch A failure of the higher level PLC causes output DO1 to substitute value assume the value specified at Substitute value DO1 11 DO hold last value A failure of the higher level PLC causes output DO1 to retain the status in the event of a failure Signal evaluation A B 00 A Pulse and In this mode input B can control up and down counting direction A D301151 BL20 PROFINET 1
15. The following table shows the meaning of the diagnostics bits Table 43 Designa ValueMeaning Meaning of tion diagnostics data bits Byte 1 SW SWIRE MASTER The configuration was accepted according to the parameter setting and the SWIRE bus is in data exchange mode 0 Data The bus is in data exchange mode exchange 1 Offline The configuration was not accepted the bus does not switch to data exchange mode SW LED flashing Donn PLC SLAVE Parameter setting is faulty The ACTUAL configuration was accepted according to the SET configuration and the data exchange with the higher level is o k 0 Data The bus is in data exchange mode exchange 1 Offline The configuration was not accepted the bus does not switch to data exchange mode Rdy LED flashing Byte 1 COMerr Communication SWIRE 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 0 OK Error 1 faulty No error D301151 BL20 PROFINET 1108 5 49 Integration of technology modules ValueMeaning Voltage Usw Voltage fault in Ugy voltage U 17 VDC for supplying the SWIRE slaves 0 OK No error present 1 Undervoltage An error is present Error message The creation of a function block shows that systems function blocks for the general che
16. device related diagnostics E 64 bits of ID specific diagnostics E nx 3 bytes channel specific diagnostics n number of channels with active diagnostics The channel specific diagnostics indication enables the name of the error type to be displayed in plain text e g Parameter error through the use of an error number When Device related Diagnostics is selected an abbreviated diagnostics message is generated that simply shows the gateway diagnostics device related diagnostics The diag nostics bytes of all station modules are attached that support diagnostics Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit O Byte1 GENER Uswerr free COMerg free Hop free SWenn ALerr Byte 2 free UnuxerR Ten free Dh Zeep free SDerr free TYP rr field Byte 3 TYPepaS Tei TYPgagS TYPerrS TYPerrS TYPerrRS TYPerrS TYPerrsS 8 7 6 5 4 3 2 1 Byte 4 TYPepaS Tei TYPernrS TYPerrS TYPeprS TYPerrRS TYPerrS TYPerrS 1 15 1 13 12 11 10 9 D301151 BL20 PROFINET 1108 Integration of the SWIRE module BL20 E 1SWIRE Industri A Slave diagnostics bit field Byte 5 Geif SDerrRS7 SDeppS6 SDgQ4S5 SDga 4S4 SDepeS3 SDepRS2 SDergSi Byte6 SDg 4S1 Dob i SDeppS1 SDepeS1 SDga4S1 SDerrS1 Deen SDergS9 6 5 4 3 2 1 0 PKZ field Byte 7 PKZ 4S PKZ amp 4S PKZeg4S PKZeanS PKZegrS PKZepaS PKZearS PKZeneS 8 7 6 5 4 3 2 1 Byte 8 PKZERR PKZeaaS PKZepeS PKZeanS PKZegnS PKZepaS PKZearS PKZeneS S16 15 14 13 12 11 10 9
17. 100 Sensors SIMATIC 300 SIMATIC 400 elle SIMATIC PC Based Control 300 400 J lal i f SIMATIC PC Station Di TURCK BL20 Slot Module Order Number lAddress Q address Diagnostic address Com a TURCKCRUM ART E l 1 2 3 4 5 6 7 8 3 10 T 12 6827300 zd 13 Hans Turck GmbH Co KG Modular Fieldbus ID System in IP67 14 V BSDMLN2 0 Turck BL20 20080518 ml Press F1 to get Help Cha A double click on the gateway symbol opens the dialog Properties TURCK Enter the gateway s device name in this dialog Note i When being operated for the first time the default device name of the TURCK BL20 gateways for PROFINET is TURCK BL20 default The IP Address is 0 0 0 0 4 10 D301151 BL20 PROFINET 1108 Application example Figure 36 Properties TURCK BL20 Dialog box Gua and Pn operties Short description TURCK BL20 TURCK Modular Fieldbus 0 System in IP67 Order no 6827300 Family TURCK Device name TURCK BL20 defaull GSD file GSDML V2 0 Turck BL20 2008051 6 xml Node PN IO system Device number 1 EN PROFINET40 System 100 IP address 192 168 0 4 Ethemet m Comment Cancel Help Attention In PROFINET IO the connected device is not identified by it s IP address but rec ognized and addressed by it s device name The selection of
18. 315 2 PN DP version 6ES7 315 2EG10 0ABO V 2 3 2 is used Figure 29 Bb HW Config SIMATIC 300 1 Configuration BL20_PROFINET mmx Selecting the HN Station Edt Insert PLC View Options Window Help CPU Do oS BS pr wn a pg 4 6 Find Profile Standard E SIMATIC 300 t E CP 300 CPu 300 fe CPU 312 Cg CPU 312 1FM Ethemet 1 PROFINET IO System 100 GQ CPU 312C CPU 313 CPU 313c CPU 313C 2 DP CPU 3130 2 PtP CPU 314 CPU 314 IFM CPU 314C 2 DP CPU 314C 2 PIP CPU 315 CPU 315 2 DP CPU 315 2 PN DP 6ES7 315 2EG10 0480 SCH 9 un Modue Firmware MPI address laddress Qaddress C Z Ed E N23 amp BES7 31525H13 08B0 CPU 3I5F 2 DP CH CPU 315F 2 PN DP CPU 316 Q CPU 316 2 DP Cg CPU 317 2 CPU 317 2 PN DP CPU 317F 2 Cg CPU 317F 2 PN DP g CPU 318 2 CPU 319 3 PN DP 2 3 3 8x olx nt il zi m BES 315 2EG10 04B0 PROFINET connection 7 Communication 128 KB work memory 0 1 ms 1000 instructions loadable FBs FCs PROFINET IO Controller Fe S Insertion possible Che 7 D301151 BL20 PROFINET 1108 Application example Indus A In the dialog Properties Ethernet Interface the IP address and
19. 4DI 24VDC P 5827012 6 H 8 Address BL20 1AM 0 4 20m 16827018 6827020 BL20 2AI THERMO PI CA J BL20 1AL 0 4 20m J BL20 1ALUC10 0 10VD J 81 20 2414 0 4 20m4 J BL202ALPT NI2 3 D BL2U2AE THERMO PI J BL202A U 10 0 10vD d 8L20 441 U1 AD DI DO EMPTY SLOT PM TM EN XSG16 0005 PN E Gateway amp gg vo Network Components E Sensors E SIMATIC 300 si 6827020 Ee 2 analog input module temp a sl GSDML V2 0 Turck BL20 20080516 xml Press F1 to get Help Chg Save your hardware configuration via Station Save and Compile and download it to the PLC via PLC Download The hardware configuration is completed 4 12 D301151 BL20 PROFINET 1108 Diagnostic with Step 7 Diagnostic with Step 7 Diagnostic messages in the hardware configuration The BL20 gateways for PROFINET show gateway diagnostics and channel specific module diagnostics in the hardware configuration of the Step 7 software Furthermore a special help text which clearly specifies the error is given for each diagnostic message Figure 38 Diagnosis of the E Jos 9 Path BL20PN SIMATIC 300 1 CPU 315F 2 PN Operating mode of the CPU lt gt RUN PROFINET Status 74 Error gate Ways In the General 10 Device Diagnostics hardware config 10 controller device number D Manufacturer s ID 158 013D A gateway
20. A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1A1 U 10 0 10VDC setting 0 0 0 Voltage mode 0 0 10VA 1 10 10 V 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 2 Diagnostic 0 release A 1 block BL20 2AI U 10 0 10VDC 0 1 01 0 Voltage mode 0 0 10VA 1 10 10 V 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 2 Diagnostic 0 release A 1 block 3 Channel K1 0 activate A 1 deactivate D301151 BL20 PROFINET 1108 Technical features Table 5 Module para meters Assigment Parameter Value Meaning Ch Byte Bit BL20 2AI PT NI 2 3 0 0 0 Mains 0 50 Hz A suppression K1 1 60 Hz 1 Value 0 Integer 15 bit sign A representation K1 1 12 bit left justified 2 Diagnostic K1 0 release A 1 block 3 Channel K1 0 activate A 1 deactivate 4 7 Element K1 0000 Pt100 200 850 C A 0001 Pt100 200 150 C 0010 Ni100 60 250 C 0011 Ni100 60 150 C 0100 Pt200 200 850 C 0101 Pt200 200 150 C 0110 Pt500 200 850 C 0111 Pt500 200 150 C 1000 Pt1000 200 850 C 1001 Pt1000 200 150 C 1010 Ni1000 60 250 C 1001 Ni1000 60 150 C 1100 Resistance 0 100 Q 1101 Resistance 0 200 Q 1110 Resistance 0 400 Q 1111 Resistance 0 1000 Q 1 0
21. Device ID 16 0010 7 j Hex Format diag NOSIS Standard diagnostics __Hex Format B channel spe cific module diagnosis C manufacturer spec ific he lp GE A Slot Channel Error Z texts D D module diagnostics available B B D cold junction compensation error 6 1 Wire break A 23 0 High limit excee 23 0 Wire break iv Help on selected diagnostic row Display 6827 Diagnostic row 69270 Wire break E8270 Help Cause Break on wire to sensor actuator or other causes Remedy Check wiring and eliminate problem or eliminate other causes c Close Diagnostic evaluation in the application program In PROFINET IO a vendor independent structure for data records with diagnostic information has been defined Diagnostic information is generated only for disturbed channels The following pages show two possibilities for diagnosis evaluation within an application program Note i Please refer to the Step 7 online help or the respective Simatic documentation PROFINET IO From PROFIBUS DP to PROFINET IO Programming manual document number A5E00298268 02 for all complete and actual information about the diagnosis evaluation D301151 BL20 PROFINET 1108 4 13 Connection of the PROFINET IO gateway to a Siemens PLC S7 Diagnose with SFB 52 in OB1 Using the SFB52 the diagnosis evaluation is done with every cycle of the application program In principle SFB 52 can b
22. Off CPU not supplied Green Firmware active gateway ready to operate and transmit Green Firmware not active If LED IOs red Firmware down flashing 1 Hz load necessary Green Firmware active gateway Replace the gateway flashing 4 Hz hardware defect lOs 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 1 Hz O ASSISTANT Force l O ASSISTANT Force Mode Mode Green Maximum number of Check the number of modules flashing A Hz modules at the gateway is connected to the gateway exceeded dismount modules Red Controller is not ready Vg Check wiring at the gateway and level is not within the required range gt possible reasons too many modules connected to the gateway short circuit in connected module hardware error in gateway the voltage supply Dismount modules Replace the gateway 3 32 D301151 BL20 PROFINET 1108 Status ilndicators diagnostic messages gateway Industri A Table 6 LED Status Meaning Remedy LED displays lOs Red flashing no module bus communi At least one module has to be 4 Hz cation plugged and has to be able to communicate with the gateway Red green Adaptable modification of Check the physical station for fla
23. POS REG CMP1 STS STOP The SSI encoder is read cyclically Communication with the SSI encoder is stopped as STOP 1 process output or ERR PARA 1 ERR PARA The parameter set of the module has been accepted Operation of the module is not possible with the present parameter set 5 42 D301151 BL20 PROFINET 1108 Integration of the SSI module BL20 1SSI Industri A Table 35 Designation Value Meaning Meaning of the data bits process input STS UFLW 0 A comparison of the register contents has produced the following result REG_SSI_POS REG LOWER LIMIT 1 A comparison of the register contents has produced the following result REG SSI POS REG LOWER LIMIT STS OFLW 0 A comparison of the register contents has produced the following result REG SSI POS lt REG UPPER LIMIT 1 A comparison of the register contents has produced the following result REG SSI POS 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 D301151 BL20 PROFINET 1108 5 43 Integration of technology modules 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
24. Process input The field input data is transferred from the connected SWIRE BUS to the BL20 E 1SWIRE module The process input data is the data that is transferred by the BL20 E 1SWIRE module via a gateway to the PLC The transfer is carried out in 8 byte format 4 bits are reserved for each SWIRE slave The following information can be transferred E Contactor coil on off Motor protective circuit breaker off or tripped on Status of the slave o k diagnostics message present Table 37 Data structure Byte Bit 7 Bit 6 Bit 5 Bit 4 it 3 Bit 2 Bit 1 Bit O SWIRE Slave 2 SWIRE Slave 1 2 SWIRE Slave 4 SWIRE Slave 3 3 SWIRE Slave 6 SWIRE Slave 5 4 SWIRE Slave 8 SWIRE Slave 7 5 SWIRE Slave 10 SWIRE Slave 9 6 SWIRE Slave 12 SWIRE Slave 11 7 SWIRE Slave 14 SWIRE Slave 13 8 SWIRE Slave 16 SWIRE Slave 15 The data of SWIRE slave 1 is the data of the first physical slave on the SWIRE bus The remaining slaves are assigned in consecutive order accordingly The meaning of the data of an SWIRE slave depends on the product concerned Meaning of the 4 bit process input data on an SWIRE DIL device Table 38 Bit 7 Bit 6 Bit 5 Bit 4 Process input for i SWIRE DIL SDx free free PKZSTx SIx 5 46 D301151 BL20 PROFINET 1108 Integration of the SWIRE module BL20 E 1SWIRE The following table shows the meaning of the data bits Industri A
25. adopt voltage in the event of a fault Inductive coupling Magnetic inductive couplings occur between two cables through which an electrical current is flowing The magnetic effect caused by the electrical currents induces an interference voltage Typical sources of interference are for example transformers motors parallel routed network and HF signal cables Intelligent modules Intelligent modules are modules with an internal memory able to transmit certain commands e g substitute values and others L Load value Predefined value for the counter module with which the count process begins 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 D301151 BL20 PROFINET 1108 8 3 Glossary 8 4 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 Master slave mode Mode of operation in which a station acting as a master controls the communication between other stations in a bus system Module bus The module bus is the internal bus in a BL20 station The BL20 modules communicate with the gateway via the module bus which is independent of the fieldbus MSB Most Significant Bit Multi master mode Operating
26. been set to output substitute value 1 3 0 Voltage mode 0 0 10 VA 1 10 10 V 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 4 to Substitute value The substitute value will be trans 5 A2 mitted if the respective parameters of the gateway have been set to output substitute value BL20 1CNT 24VDC Z hlbetriebsart 0 0 0 5 Counter mode 100000 continuous count A 100001 single action count 100010 periodical count 1 0 Gate 0 abort count procedure A function 1 interrupt count procedure 1 Digital input DI 0 normal A 1 inverted 2 3 Function DI 00 input A 01 HW gate 10 Latch Retrigger when edge pos 11 synchronisation when edge pos 4 Synchronisation 0 single action A 1 periodical 5 6 Main count direc 00 none A tion 01 up 10 down 3 22 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit BL20 1CNT 24VDC counter mode A Default 0 2 to Lower count limit 2 147 483 648 2 to 0 setting 5 Lower count limit 32768 A to 0 Signed16 HWORD Lower count limit 32 768 to 32 767 LWORD Signed16 0 A 6 to Upper count limit 0 to 2147483647 2 1 9 Upper count limit 0 to 32767 A Unsigned16 HWORD Upper count limit O to 65535 A Unsigned16 LWORD 10 Hysteresis O A
27. by it s IP address but re cognized and addressed by it s device name The selection of a device name for a special IO device can thus be compared to the setting of the PROFIBUS address for a DP slave The device name can be freely chosen Note It is not necessary to address the station s internal module bus D301151 BL20 PROFINET 1108 PROFINET operation mode PROFINET operation mode The gateway BL20 GW EN PN is set to the PROFINET operation mode switch position 700 when delivered This mode assures a PROFINET compliant operation of the gateway ER Figure 21 Adr x 100 Decimal rotary 9 0 4 coding switches 8 2 for address set 7 3 654 ting Set 9 H 9 0 1 8 2 8 2 3 673 4 65 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 700 PROFINET Note i To be able to communicate via the I O ASSITANT with a gateway in PROFINET mode the rotary coding switches are set to 700 it is first of all necessary to as sign a valid IP address to the gateway This can be done for example by using the HW Config or the Primary Setup Tool from Siemens Additionally the O ASSISTANT can only access the gateway via ForceMode if the connection between gateway and PROFINET is cut off Rotary coding switch setting 000 With the setting 000 of the rotary coding switches the gateway is set to address 192 168 1 254 for IP base
28. by the manufacturer for each device and contain a definite serial number D301151 BL20 PROFINET 1108 2 3 PROFINET IO The MAC address can be read out using the software tool I O ASSISTANT Note L The antecedent description contains a short overview about the properties and the functions of the PROFINET field bus system It has been taken from the brochure of the PROFIBUS user organization e V ver sion 2006 A detailed system description can be found in the standards IEC 61158 and IEC 61784 and in the PROFIBUS guidelines and profiles www profibus com 2 4 D301151 BL20 PROFINET 1108 3 Technical features FUN CUION EE 2 Technical data es eREERKRKERKEREERER KE KEN EREERERKERKEREERER KE KE KE season KE KEREREERER EE EE season ER KER E REERE KE KE Ken 3 Gateway le El 3 General technical data of a station sssssssssssssssssssssseeeseee eene n nennen nrtrnns nennen nnne 4 sApprovals and CEET 6 Connection POSsibilities cccsccseseseesessseeseeeseneeeesenseeesenseenensnseeensuseeseensenenseseessensesseensenssenss 7 Field DUS Kee EAD 7 Ethernet connection 7 Power Supply via terminal block with screw Connection s ssssssssssssssssrrnrnrnntnssttttirnnnnnnnnnnsenennnnnnnnn 7 Service interface connection female PS 2 connector sssssssssssssseseeeeeenennennrrnnnn 7 Connection with I O AS
29. 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 particular event The bit concerned retains the value until it is reset Figure 47 Process input data 5 40 Process input data SSI PLC Byte LE Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 BO STS x x ERR SIS SIS ERR SSI STOP PARA UFLW OFLW SSI DIAG D301151 BL20 PROFINET 1108 Integration of the SSI module BL20 1SSI Industri A Table 35 Designation Value Meaning Meaning of the data bits process input REG RD DATA 0 23 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 0 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 1 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 ac
30. for an input address 1 for an output address LEN Length of the received interrupt information in bytes TINFO Task information Destination area for OB start information and house keeping information AINFO Alarm information Destination area for header information and supple mentary interrupt information D301151 BL20 PROFINET 1108 4 15 Connection of the PROFINET IO gateway to a Siemens PLC S7 Note i Please refer to the Step 7 online help or the respective Simatic documentation PROFINET IO From PROFIBUS DP to PROFINET IO Programming manual document number A5E00298268 02 for all complete and actual information about the AINFO and TINFO 4 16 D301151 BL20 PROFINET 1108 5 Integration of technology modules Integration of the Counter Module BL20 1CNT 24VDC e ERRERREREERKEREEREEREREER KREE RER ERKENNEN 2 Count mode data Wine TTT 2 Process output data sssrds ENEE ENEE Eta da EE rA Pak Eee ei E cun e Xue Ortu vade de RAE TuS 2 PROCESS IMPUt GALE MEL 6 Parameters for count mode ENEE 8 Diagnostics fof COUNT MOOS DI 13 Measurement mode data Image 14 Process output for measurement mode sss nennen nennen nis 14 Process input for measurement mode 18 Parameters for measurement mode sse nnenntr nnne nnn nennen nentnn nis 20 Diagnostics for measurement mode sse eene rennen nennen nennen 24 Guide to setting t
31. 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 D301151 BL20 PROFINET 1108 6 3 Guidelines for station planning 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 Note GH 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 1A1 1 0 4 20MA 20 x 41 mA 820 mA Total 1250 mA Maximum permissible current via module bus 1 500 mA The calculation shows that no further Bus Refreshing module is required Example 2 The BL20 station comprises 15 BL20 1AI U 10 0 10VDC modules 10 BL20 2AO U 10 0 10VDC modules 10 BL20 2DI 24VDC P modules and 5 BL20 2DO 24VDC 0 5A P modules The required numb
32. is output from the PLC to the BL20 1SSI module via a gateway This is transferred in an 8 byte format as follows E 4 bytes 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 E 1bytecontains 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 E 1 byte contains a Stop bit for interrupting communication with the encoder Figure 48 Process output Process output data PLC gt SSI data Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DB 3 DB 2 DB 1 DB D Table 36 Meaning of the data bits process output 5 44 Designation REG WR DATA 0 232 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 0 63 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 1 Request to overwrite the content of the register ith the address state
33. nennen nnne enhn nrtenrn nsns nennen nennt 5 46 6 Guidelines for Station Planning Random Module Arrangement 1 EERERREREEREKER RER ER EER ER RERREREERER KEE RER Saa a ER Rua aaa uua 6 2 Complete Planning iisii cette Sinsctecti 6 2 Maximum System Extension be 6 2 WACHT UN G A Module B s Hefreshilig s eiii o re rete OE een ERR dte e reae e ieee 6 4 Creating Potential e ET 6 7 Protecting the Service Interface on the Gateway ssessssssessseeeeeeeeneeeenn nennen 6 8 bal Cross ConnectiOn sse ii et entrain tanadenbepted EXP RAM An gege Ee bea ARR eR R RR RR apai Eaa SEANN 6 8 Direct Wiring of Relay Modulos AA 6 10 Plugging and Pulling Electronic Modules ER KERKEREEREE KE KEN EREER EE KE a uana aaa 6 11 Extending an Existing Station 1 EREER ER EERKEREEREER ER KER KREE KEE KE KEREN ana KEE RER KER EE En 6 12 Firmware Download KREE ERRERREREEREEREEREEREREERERRERRER IRR EER EE REERER EE KREE RER ER EER RER aa KEREN 6 13 7 Guidelines for Electrical Installation General Notes Le eee iulielirieniesauuauaau aaa IaR KEE KEREN EE ER KEE KEE EE RER RER RASA ARR ARR EER KREE 7 2 General e MEM 7 2 e Ee Le TEE 7 2 Cable Routing Inside and Outside of Cabinets AAA 7 2 LIGHTING POTS elio ET 7 3 TWAMSMISSION Medja Tc
34. nnne nnne en nnns 4 5 PEG GConfiGUratiOri 5 ioco cer ipe vet e e P A EL re Pega o Da adi ere er rer eds 4 6 Scanning the network for PROFINET IO Nodes AAA 4 8 Contiguration of the BL20 Statlon eere yet in epulis Ga a iind 4 10 Diagnosis with Step rr ERRERRERKERKEREREEREREERKEREERER KE KEE nnmnnn KE KEN EREER IRR RR RRE RR RR aua ER EE KE KEE 4 13 Diagnostic Messages in the Hardware Configuration sssessssessssriessrrinrusrrinrtnrrinnnnnrnnnnnnrnnnnnnennn 4 13 Diagnosis Evaluation in the Application Program 4 13 Integration of Technology Modules Integration of the Counter Module BL20 1CNT 24VDC eee eeeeee nennen ann 5 2 ount mods data image itio da iere be a e e t eege 5 2 Measurement mode data Image AA 5 14 Guide to setting the High and Low words AAA 5 25 Setting the lower and upper measuring limits E 5 29 Integration of the RS232 module BL20 1RS232 e EEREERER KEREN EREEREE RER RER KEREER KEREN nau nna 5 34 Data Image vec S 5 34 Integration of the RS485 422 module BL20 1RS485 422 ec KEREN ER KER KE RER 5 37 RE Blut Le EE 5 37 Integration of the SSI module BL20 18SSIl nece eere E REERER EE KENE RER KE KEN 5 40 Data itn ge EE 5 40 D301151 BL20 PROFINET 1108 Integration of the SWIRE Module BL20 E 1SWIRE5 46 Data mapping under PROFIBUS DP eeeeee eee eee eeeeee eee ease eee
35. 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 elec tronic 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 D301151 BL20 PROFINET 1108 BL20 components BL20 components 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 soft ware tool I O ASSISTANT ECO gateways The BL20 ECO gateways enlarge the product portfolio of BL20 They offer an excellent cost performance ratio Further advantages of the BL20 ECO gateways Low required space width 34 mm 1 34 inch E Integrated power supply E Can be combined with all existing standard modules with tension clamp connection tech nology and ECO modules E Simple wiring with Push in tension clamp terminals E Setting of fieldbus address and bus terminating resistor via DIP switches E Service interface for commissioning with I O ASSI
36. protective B a S SS earth and for the power supply ge with relay mod _ terminal ules TS Ls 10 100 MBit ES ETE 2111 o 1 Wit Su sat 2 12 221 212 2212 22 7 22 27 Z 22 An 2313 23 1 Tahad T3 7 3 I C rail PE Grail 24V DC eg bz 14 24 12 4 2414 4 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 D30071 7 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 isola tion to the adjoining modules 6 10 D301151 BL20 PROFINET 1108 Plugging and pulling electronic modules Plugging and pulling electronic modules BL20 enables the pulling and plugging of electronic modules without having to disconnect the field wiring The BL20 station remains in operation if an electronic 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 electronic modules are plugged or pulled short interruptions to the module bus communications can occur in the BL20 station This can lead to undefined statuses of individual inputs and out puts of different mod
37. 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 E Avoid the use of aluminum components as its quick oxidizing properties make it unsuit able for grounding Warning 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 PE Connection A central connection must be established between ground and PE connection protective earth 7 6 D301151 BL20 PROFINET 1108 Electromagnetic compatibility EMC 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 56 x 200 mm 7 87 inch Mounting B options p N N A TS 35 S B Mounting rail C Mounting plate w A D N N N N N N Mount the mounting rails over a large surface area and with a low impedance to the support system using screws or rivets Remove the isolating layer from all painted anodized or isolated metal components at the connection point Protect the connection point against corrosion for example with grease caution use only suitable grease D301151 BL20 PROFINET 1108 7 7 G
38. synchronization After synchronization is successfully completed the GIG SYN status bit is set This bit must be reset by the RES STS control bit Parameters for count mode Parameters consist of data that has to be sent to the module so that it can operate correctly in the application concerned Some parameters refer to the physical inputs outputs A B DI DO The parameters are stored in a non volatile memory before being checked The parameters that are not mode dependent are evaluated and processed first of all If some of the mode dependent parameters have an error the appropriate diagnostics message is initiated and the bits in the check back interface process input are set X reserved Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit O Byte 0 X X 15 16 counter mode Byte 1 X 14 15 main count direction synchro function DI digital gate nization input DI function Byte 2 13 14 to Byte 5 10 11 lower count limit Byte 6 9 10 to upper count limit Byte 9 6 7 Byte 10 5 6 hysteresis Byte 11 4 5 pulse duration 5 8 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit O Byte 12 function DO2 function DO1 diag substi 3 4 nostic tute DO1 value D O1 Byte 13 direc sensor A sensor sensor sensor signal evaluation 2 3 tion input input input
39. the old module into the new module This parameter extension is always necessaray even if the module is pa rameterized via an IO supervisor D301151 BL20 PROFINET 1108 3 15 Technical features Module parameters Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A default BL20 4DI NAMUR setting Oto3 Oto O Input filter x 0 deactivated input filter 0 25 ms A 3 1 activated input filter 2 5 ms 1 Digital input x 0 normal A 1 inverted 2 Short circuit 0 deactivate A monitoring x 1 activate 3 Short circuit diag 0 deactivate A nosis x 1 activate 4 Open circuit deactivate A monitoring x activate 5 Open circuit diag deactivate A nosis x activate 6 Input on diag output substitute value A nostic x hold current value 7 Substitute value off A on diag x on BL20 1Al I 0 4 20MA 0 0 0 Current mode 0 0 20 mA A 1 4 20 mA 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 2 Diagnostic 0 release A 1 block BL20 24A1 1 0 4 20MA 0 1 041 0 Current mode 0 0 20 mA A 1 4 20 mA 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 2 Diagnostic 0 release A 1 block 3 Channel K1 0 activate A 1 deactivate 3 16 D301151 BL20 PROFINET 1108 Parameterization Industri
40. the subnet mask for the S7 CPU are defined Figure 30 Properties Ethernet interface PN IO R0 S2 2 Properties Properties Ethernet interface PNO RO S2 2 W Ethernet inter General Parameters face If a subnet is selected the next available addresses are suggested 1 Gateway IP address 192 168 0 3 Pipers Subnet mask 255 255 255 0 r S Use router Address OK Cancel Help The subnet is added using the New button Figur e 31 Properties New subnet Industrial Ethernet SG Properties New subnet Industrial Ethernet Add new Ether L net subnet General Name Ethemet 1 57 subnet ID 0032 0011 Project path Storage location of the project C Programme Siemens Step7 s7proj BL20_PRO Author Date created 06 10 2008 01 29 19 PM Last modified 06 10 2008 01 29 19 PM Comment Cancel Help D301151 BL20 PROFINET 1108 4 7 Connection of the PROFINET IO gateway to a Siemens PLC S7 Scanning the network for PROFINET IO nodes The Simatic hardware configuration offers the possibility to browse the PROFINET IO network using a broadcast command in order to find active PROFINET IO nodes The active nodes are identified via their MAC address Open the respective dialog box by using PLC Ethernet Edit Ethernet Node Figure 32 Configure HW Config SIMATIC 300 1 Configuration BL20 PROFINET 9 Ei Sta
41. their outputs either to 0 or to a default value or maintain the original values The non config ured analog output modules set their outputs to O 11 Hold current value The gateway maintains the actual output settings of all modules with the exception of analog output modules Error information is transmitted to the analog output modules Depending on their configu ration these modules set their outputs either to 0 or to a default value or maintain the original values The non configured analog output modules maintain their current output settings Byte 4 bit 1 Diagnostic from modules 0 activate A Diagnostic messages and alarms are generated 1 deactivate Diagnostic messages and alarms are disabled Bit 2 V diagnostics 0 activate A The monitoring function for the field supply Vo from gateway and power feeding modules is activated If this parameter is set but the parameter Diagnostics from modules see bit 1 deactivated then only the voltage supply at the gateway is moni tored A monitoring of the voltage supply at the power feeding module is not realized 1 deactivate Bit 3 to 5 reserved D301151 BL20 PROFINET 1108 Parameterization Table 4 Byte Value Meaning Gateway parameter parameters name A default Bit 6 Static configuration settings 0 activate A Changes in the station configuration are stored in the gateway followin
42. 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 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 1 The output DO2 can also be set before commissioning via the separate parameter data The default setting for DO2 is to indi cate the status of SET DO2 CTRL DO1 0 The output DO1 is blocked 1 The output DO1 is released 5 4 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Table 18 Meaning of the data bits process output Control bit Explanations SET DO1 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 DO 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
43. value transmitted to the module bus master is thus SSI FRAME LEN INVALID BITS MSB INVALID BITS LSB The invalid bits at the MSB end are set to zero by masking the position value Basically INVALID BITS MSB INVALID BITS LSB must be smaller than SSI FRAME LEN Default 0 Onex 1000000 bit s 500000 bit s 250000 bit s 125000 bit s 100000 bit s 83000 bit s 71000 bit s 62500 bit s 8 to 15 reserved 2 Oto Bit transmission 3 rate NOOR ob A OH 3 Oto Number of data 1to 32 Number of bits in the SSI data frame 5 frame bits Basically SSI FRAME LEN must be larger than INVALID BITS Default 25 19hex 7 Data format 0 Binary coded A The SSl encoder transmits data in binary code 1 GRAY coded The SSl encoder transmits data in Gray code Parameters BL20 E 1SWIRE see Chapter 5 Integration of technology modules page 5 52 D301151 BL20 PROFINET 1108 3 31 Technical features Status ilndicators diagnostic messages gateway Diagnostic messages are displayed in two different ways E via the LEDs via the respective configuration software Diagnostic messages via LEDs Every BL20 gateway displays the following statuses via LEDs E 2 LEDs for module bus communication module bus LEDs GW and IOs E 2 LEDs for the Ethernet communication fieldbus LEDs LINK ACT and MS LED displays Table 6 LED Status Meaning Remedy LED displays GW
44. 01 on 2 function DO1 output amp function DO2 output ha Cancel Help The upper count limit is divided as follows range 0 to 2 147 483 647 231 1 in a High and a Low word Convert your decimal count limit to hexadecimal format The upper count limit is always a positive value Example The upper count limit is to be 12 345 678 This decimal value is represented in hexadecimal format double word as OOBC 614E The hexadecimal value double word is divided into a High word OOBC and a Low word 614E E The Low value is converted to a decimal value n the example Low word hexadecimal 614E D301151 BL20 PROFINET 1108 5 27 Integration of technology modules 5 28 Low word binary 0110 0001 0100 1110 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15 20 21 2 23 24 25 26 27 28 29 210 211 912 213 214 215 16 32 64 128 256 512 1024 2048 4096 8192 1638 3276 O o A N o 8192 16384 Low word decimal 24 910 The same principle applies to the High word Inthe example High word hexadecimal OOBC High word binary 0000 0000 1011 1100 High word decimal 188 The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module count mode D301151 BL20 PROFINET 1108 Integration of the Co
45. 1 2 X X X LOAD LOAD LOAD LOAD LOAD DO CMP_ CMP_ PREPAR VAL PARAM VAL2 VAL 1 E 3 EXTF CTRL SET CTRL SET RES CTRL SW ACK DO2 DO2 DO1 DO1 STS SYN GATE Load value direct Load value in preparation Reference value 1 or Reference value 2 NiO oO A 5 2 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Industri A Structure of the data bytes in PROFIBUS DP with Function and behaviour of DO1 DO2 Table 17 Bit 7 6 5 4 3 2 1 o PDOut with Function and Byte behaviour of DO1 DO2 X reserved 1 2 X X X LOAD LOAD C LOAD C LOAD LOAD DO MP MP PREPAR VAL PARAM VAL2 VAL1 E 3 EXTF_ CTRL SET CTRL SET RES CTRL SW ACK DO2 DO2 DO1 DO1 STS SYN GATE 4 X 5 Pulse duration 6 Hysteresis value 7 X MODE DO2 MODE DO Table 18 Control bit Explanations Meaning of the data bits process output A Unlike the MODE DO2 Only valid if LOAD DO PARAM 0 1 physical digital The virtualA output DO2 can show the status of the data bit output DOT SET DO or comparison results if CTRL_DO2 1 output DO2 is MODE DO 2 defines which function DO2 is to accept only a Jata Var 00 The output DO2 shows the status of the control bit ue that is indi SET DO2 cated with the am i data bit This must be released with CTRL_DO2 1 STS DO of 01 Output DO2 indicates the process Counter status gt reference value 2 input 10 Output DO2 indicate
46. 1 on amp function DO1 output 2 signal evaluation A B pulse and direction E sensor input filter A 2 5us 200kHz 8 sensor input filter B 2 5us 200kHz 2 sensor input filter DI 2 5us 200kHz Iv Cancel Help The upper measuring limit is divided as follows into a High and a Low word Convert your decimal measuring limit to hexadecimal format Example The upper measuring limit is to be 782 955 This decimal value is represented in hexadec imal format double word as 000B F26B E The hexadecimal value double word is divided into a High word 000B and a Low word F26B E The Low value is converted to a decimal value In the example Low word hexadecimal F26B D301151 BL20 PROFINET 1108 5 31 Integration of technology modules 5 32 Low word binary 1111 0010 0110 1011 BitO 29 1 x121 Bit1 21 2 2 x1 2 Bit2 22 24 x0 0 Bit3 2 8 x1 8 Bit4 24 16 x 0 0 Bits 25 32 x 1 32 Bit6 2 64 x 1 64 Bit7 2 2128 x0 0 Bit8 20 256 x0 20 Bit9 29 512 x1 512 Bit10 21 1024 x 0 0 Bit11 27 2048 x 0 0 Bit12 21 4096 x 1 4096 Bit13 2 3 8192 x 1 8192 Bit14 21 1638 x 1 1638 Bit15 24 3276 x 1 3276 Low word decimal 62 059 The same principle applies to the High word n the example High word hexadecimal 000B High word binary 0000 0000 0000 101 1 High word decimal 11 D301151 BL20 P
47. 10 3 Hz 1 to 25 000 000 x 10 3 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 GIG DO1 The DO 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 GIG 0 21 STS OFLW 1 The upper measuring limit was exceeded The bit must be reset with RES GIG 0 51 GIG 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 GIG 0 51 D301151 BL20 PROFINET 1108 5 19 Integration of technology modules Parameters for measurement mode Parameters consist of data that has to be sent to the module so that it can operate correctly in the application concerned Some parameters refer to the physical inputs outputs A B DI DO The parameters are stored in a non volatile memory
48. 108 5 9 Integration of technology modules Table 21 Parameters for count modes A Default value Designation Description Value 01 rotary sensor single 10 rotary sensor double 11 rotary sensor four fold Sensor Input filter A UA 2 9 NS ZUO KHAA of the counting 1 25 us 20 kHz Sensor Input filter B 20 kHz or 200 kHz OA 2 5 us 200 kHz A 1 25 us 20 kHz Sensor Input filter DI An input filter at inputs A B and DI can suppress high frequency interference and thus increase the accuracy The limit frequency can be adapted to the application OA 2 5 us 200 kHz A 1 25 us 20 kHz sensor A 00A Normal 01 Inverted direction input B OA Normal 1 Inverted function DO1 00 A Output 01 On when cnt value 2 ref value 10 On when cnt value lt ref value 11 Pulse when cnt value ref value function DO2 00A Output 01 On when cnt value 2 ref value 10 On when cnt value lt ref value 11 Pulse when cnt value ref value D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Industri A Table 21 Designation Description Parameters for count modes Value substitute value DO1 A Default value OA 0 This value determines the state of output DO1 in the 1 1 event of a failure if behavior CPU master stop 10 diagnostic DO1 OA On The Sho
49. 2 SWIRE Slave 1 2 SWIRE Slave 4 SWIRE Slave 3 3 SWIRE Slave 6 SWIRE Slave 5 4 SWIRE Slave 8 SWIRE Slave 7 5 SWIRE Slave 10 SWIRE Slave 9 6 SWIRE Slave 12 SWIRE Slave 11 7 SWIRE Slave 14 SWIRE Slave 13 8 SWIRE Slave 16 SWIRE Slave 15 D301151 BL20 PROFINET 1108 5 47 Integration of technology modules The data of SWIRE slave 1 is the data of the first physical slave on the SWIRE bus The remaining slaves are assigned in the same way The meaning of the data of an SWIRE slave depends on the product concerned Meaning of the 4 bit process output data on an SWIRE DIL device Table 41 Process output for SWIRE DIL Bit 7 Bit 6 Bit 5 Bit 4 free free free SOx The following table shows the meaning of the data bits Table 42 Data bits 5 48 Designa Status Comment tion SOx Relay x relay x SOx is transferred as the switch status of the contactor coil from the SWIRE bus master to the appropriate SWIRE bus slave 0 Off Off Contactor not switched on 1 On On Contactor is switched on Diagnostics Diagnostics data contains the error messages for the higher level system that are related to operation and application The diagnostics indication mode for the PROFIBUS DP gateway can be set in two ways with the Gateway diagnostics parameter Devices ID Channel diagnostics selects a more detailed diagnostics indication The diagnostics message then consists of 2 bytes of gateway diagnostics
50. 20 frequency sweeps per axis of coordinate Shock resistant according to IEC 68 2 27 18 shocks sinusoidal half wave 15 g peak value 11 ms in each case in direction per space coordinate Resistance to repetitive shock according 1 000 shocks half sinus 25 g peak value 6 ms to IEC 68 2 29 in each case in direction per space coordi nate Topple and fall according to IEC 68 2 31 and free fall according to IEC 68 2 32 Weight 10 kg Height of fall 1 0 m 39 37 inch Weight 10 to 40 kg Height of fall 0 5 m 19 69 inch Test runs 7 Device with packaging electrically tested printed circuit board Electromagnetic compatibility EMC according to EN 50 082 2 Industry Static electricity according to EN 61 000 4 2 Discharge through air direct 8 kV Relay discharge indirect 4 kV Electromagnetic HF fields according to 10 V m EN 61 000 4 3 and ENV 50 204 Conducted interferences induced by HF 10V fields according to EN 61 000 4 6 Fast transients Burst according to EN 61 000 4 4 Emitted interference according to EN 50 according to EN 55 011 Class A Group 1 081 2 Industry Warning 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 D301151 BL20 PROFINET 1108 3 5 T
51. 5 eeng Hl Eed DEEP I LII MESE 6 ENER je m 7 eoi Ht 7 sinelol lei e aE 8 Noire Em 8 Marking material rer tn e UE ee ite peeled etude aie dp eie 9 Shield connection 2 pole for analog modules 9 D301151 BL20 PROFINET 1108 1 1 BL20 philosophy The Basic concept 1 2 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 E 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 El The gateway is the only fieldbus dependent module on a BL20 station All other BL20 modules are not dependent on the fieldbus used Flexibility A BL20 station can contain modules in any combination which means it is
52. 6 of the process output data contains 2 bits with which the receive or transmit buffer can be cleared Byte 7 contains the status or control byte User data are represented in Bytes 0 5 7 Diagnostics 0 Enable A 1 Inhibit Diagnosis activated diagnosis deac tivated This affects the separate fieldbus specific diagnostic message not the diagnosis embedded in the process input data 3 28 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1RS485 422 settingen 1 0 Stop bits 0 1 stop bit 1 2 stop bits A 1 2 Parity 0 None 1 Odd A The parity bit is set so that the total number of bits data bits plus parity bit set to 1 is odd 2 Even The parity bit is set so that the total number of bits data bits plus parity bit set to 1 is even 3 Data bits 0 The number of data bits is 7 A 1 The number of data bits is 8 4to Flow control 0 None A 5 Data flow control is switched off 1 XON XOFF Software handshake KON XOFF is switched on 2 RTS CTS Hardware handshake RTS CTS is switched on 3 reserved 2 Oto XON character 0 255 17 XON character for RS422 operation A This character is used to start the transmission of data from the data terminal device if the software hand shake is active 3 0 7 XOFF character 0 255 XOFF
53. A 1 25 us 20 kHz Sensor Input filter B OA 2 5 us 200 kHz A 1 25 us 20 kHz Sensor Input filter DI OA 2 5 us 200 kHz A 1 25 us 20 kHz sensor A 00A Normal 01 Inverted direction input B OA Normal 1 Inverted Group diagnostics OA Release A Separate diagnostics is released 1 Block Separate diagnostics is blocked Behavior CPU master stop 00A turn off DO1 A A failure of the higher level PLC causes output DO1 to be switched off or held 01 Proceed with A failure of the higher level PLC causes the module to operating mode continue operating without restriction 10 DOT switch A failure of the higher level PLC causes output DO1 to substitute value assume the value specified at Substitute value DO1 11 DO hold last value A failure of the higher level PLC causes output DO1 to retain the status in the event of a failure D301151 BL20 PROFINET 1108 5 23 Integration of technology modules Diagnostics for measurement mode The parameter setting for the PROFIBUS DP gateway provides the Gateway Diagnostics parameter for selecting between two different diagnostics displays Choose Devices ID Channel Diagnostics to select more detailed diagnostics indication The diagnostics message will then consist of the following elements Two bytes of gateway diagnostics device related diagnostics E 64 bits of ID specific diagnostics E nx3bytes of c
54. 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 10 End plate D301151 BL20 PROFINET 1108 1 7 BL20 philosophy 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 11 End bracket 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 12 Jumpers x 1 8 D301151 BL20 PROFINET 1108 BL20 components Marking material Labels for labeling BL20 electronic modules Markers for colored identification of connection levels of BL20 base modules Dekafix connector markers for numbering the mounting slots on BL20 base modules Figure 13 am PP y 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 14 Shield connec tion D301151 BL20 PROFINET 1108 1 9 BL20 philosophy 1 10 D301151 BL20 PROFINET 1108 2 PROFINET IO PROHINET ses KERKRKERRER
55. C 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 D301151 BL20 PROFINET 1108 6 5 Guidelines for station planning Module Supply Nominal current consumption BL20 2DO 24VDC 2A P 33 mA BL20 4DO 24VDC 0 5A P 30 mA BL20 E 8DO 24VDC P 30 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 1A0 I 0 4 20MA 39 mA BL20 2AO I 0 4 20MA 40 mA BL20 2AO U 10 0 10VDC 43 mA BL20 2DO R NC 28 mA BL20 2DO R NO 28 mA BL20 2DO R CO 28 mA BL20 1CNT 24VDC 40 mA BL20 1RS232 140 mA BL20 1RS485 422 60 mA BL20 1SSI 50 mA BL20 2RFID 30 mA BL20 E 1SWIRE 60 mA 6 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 Note L Bus Refreshing modules which do not supply the gateway with power are to be combined with either a BL20 P3T SBB B or a BL20 P4T SBBC B tension clamp connection base module or with the base modules BL20 P3S SBB B or BL20 P4S SBBC B screw connection D301151 BL20 PROFINET 1108 Power supply Figure 49 Power supply of the station D301151 BL20 PROFINET 1108 Gateway 2DI 2DO 2DI 2DO 2DI 1AO BR Al JD NO 30 100 MBit HA
56. Description of user data for acyclic services The acyclic data exchange is done via Record Data CRs CR Communication Relation Via these Record Data CRs the reading and writing of the following services is realized Writing of AR data Writing of configuration data Reading and writing of device data Reading of diagnostic data Reading of I O data Reading of Identification Data Objects I amp M functions Reading of differences between the expected and the actually plugged modules Description of the acyclic gateway user data Table 9 Index Name Data type r w Remark Gateway User Data dec 1 Gateway DWORD r Parameter data the gateway Parameter 2 Gateway STRING r Productname of the gateway designation 3 Gateway revision STRING r Firmware revision of the gateway 4 Vendor ID WORD r Ident number for TURCK 5 Gateway name STRING r Name assigned to the gateway 6 Gateway type STRING r Device type of the gateway 7 Device ID WORD r Ident number of the gateway 8 to reserved 23 24 Gateway diagnosis WORD r Diagnosis data of the gateway 250 31 reserved 32 Module input list Array of r List of all input channels in the BYTE station 33 Module output list Array of r List of all output channels in BYTE the station 34 Modul diag list Array of r List of all module diagnosis BYTE messages 35 Module Array of r List of all module parameters parameter list BYTE 36 to reserved 45039 D301151 BL20
57. ET RES X SW ACK DO1 DO1 STS GATE 4 5 Lower limit or upper limit 6 7 D301151 BL20 PROFINET 1108 5 15 Integration of technology modules Structure of the data bytes in PROFIBUS DP with Integration time set Table 25 Bit 7 6 5 4 3 2 1 o Structure of the data bytes with Byte Integration time set 1 X reseved p X X X LOAD X LOAD LOAD LOAD DO INTTIME UPLIMIT LOLIMIT PARAM 3 EXTF X X CTRL SET RES X SW ACK DO1 DO1 STS GATE 4 X 5 X 6 Integration time 7 Table 26 Control bit Explanations Meaning of the data bits process output EXTF_ ACK Error acknowledgement The ERR DO or ERR 24VqCc 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 DO1 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 DO 00 and LOAD DO PARAM 0 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 DOT RES STS 0 1 Initiate resetting of status bits The STS UFLW GIG OFLW a
58. FIBUS DP address with which it can be queried by the master PROFIBUS DP master The PROFIBUS DP master is the central station on the bus and controls access of all stations to PROFIBUS PROFIBUS DP slave PROFIBUS DP slaves are queried by the PROFIBUS DP master and exchange data with the master on request Protective earth Electrical conductor for protection against dangerous shock currents Generally represented by PE protective earth LE 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 The phase and the amplitude of the electric data signals are regenerated during the transmission process by the repeater Further it is possible to change the topology of the PROFIBUS network It can be extended consider ably by means of the repeater Root connecting Creating a new potential grou
59. FINET offers a model for integration of existing field buses like PROFIBUS AS Interface and INTERBUS This allows the construction of arbitrarily mixed systems consisting of fieldbus and Ethernet based segments Thus a smooth technology transition is possible from fieldbus based systems to PROFINET The large number of existing fieldbus systems makes it necessary to support their simple integration into PROFINET for reasons of investment protection The integration is done with so called proxies A proxy is a device which connects an under lying fieldbus with PROFINET The proxy concept allows the device manufacturer the plant and machine builder as well as the end user a high degree of investment protection Communications in PROFINET contain different levels of performance E The non time critical transmission of parameters configuration data and switching infor mation occurs in PROFINET in the standard channel based on UDP and IP This estab lishes the basis for the connection of the automation level with other networks MES ERP E For the transmission of time critical process data within the production facility there is a Real Time channel RT available For particularly challenging tasks the hardware based communication channel Isochronous Real Time IRT can be used for example in case of Motion Control Applications and high performance applications in factory automation UDP IP communication For non time critical process
60. GMA PPUu u E 5 Electromagnetic compatibility EMC seess KEREN KEREN KEREN KEREN KEREN KEREN KREE RE KEE 6 Ensuring electromagnetic compatibility AAA 6 Grounding of inactive metal components sssssssssseeeneneenneee nennen nnne nnne nennen 6 PE GOrInectionD EE 6 MOUNTING le UE 7 Shielding of Gabes kERRERKERKEREEKEERER ER EEREEREERER EE EE RER RER ER EEREEREERER KE KEE EREERE KE KEE RAS ARR ARR Rau KE 8 Potential compensation KEREN riesen KEE EE KEE KEEN KEREN KEREN KE EE ER KEREN E KEE E KEREN KEN 9 Stelle INGUCTIVE doro 9 Protection against electrostatic discharge ESD A 9 D301151 BL20 PROFINET 1108 7 1 Guidelines for electrical installation General notes 7 2 General Cables should be grouped together for example signal cables data cables heavy current cables power supply cables Heavy current cables and signal or data cables should always be routed in separate cable ducts or bundles Signal and data cables must always be routed as close as possible to ground potential surfaces for example support bars cabinet sides etc Cable routing Correct cable routing prevents or suppresses the reciprocal influencing of parallel routed cables Cable routing inside and outside of cabinets To ensure EMC compatible cable routing the cables should be grouped as follows Various types of cables within the groups can b
61. I A Default 0 0 4 7 Element K1 0000 type K 270 1370 C A settingen 0001 type B 100 1820 C 0010 type E 270 1000 C 0011 type J 210 1200 C 0100 type N 270 1300 C 0101 type R 50 1760 C 0110 type S 50 1540 C 0111 type T 270 400 C 1000 x50 mV 1001 100 mV 1010 x500 mV 1011 1000 mV 1 1 0 Mains 0 50 Hz A suppression K2 1 60 Hz 1 Value 0 Integer 15 bit sign A representation K2 1 12 bit left justified 2 Diagnostic K2 0 release A 1 block 3 Channel K2 0 activate A 1 deactivate 1 4 7 Element K2 0000 type K 270 1370 C A 0001 type B 100 1820 C 0010 type E 270 1000 C 0011 type J 210 1200 C 0100 type N 270 1300 C 0101 type R 50 1760 C 0110 type S 50 1540 C 0111 type T 270 400 C 1000 50 mV 1001 100 mV 1010 500 mV 1011 1000 mV BL20 4AI U I Oto3 Oto O0 range x 0 0 10V 0 20 mA A 3 1 10 10V 4 20 mA 1 value representa O0 Integer 15 bit sign A tion x 1 12 bit left justified 2 Diagnostic x 0 release A 1 block 3 Channel x 0 activate A 1 deactivate 4 Operation mode x 0 voltage A 1 current 3 20 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1A0 1 0 4 20MA
62. ICH l 1 TS e Field E 2 2l supply Potential group 1 Potential group 2 e System supply Note i The system can be supplied with power independent of the potential group forma tion described above When using a digital input module for 120 230 V AC it should be ensured that a potential group is created in conjunction with the Power Feeding module BL20 PF 120 230VAC D Attention A It is not permitted to use the modules with 24 V DC and 120 230 V AC field supply in a joint potential group 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 distribu tion 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 distri D301151 BL20 PROFINET 1108 Power supply Indus bution modules the black line is only above the connection 24 This makes clear that the C rail is separated from the adjoining potential group to its left Figure 51 C rail f
63. KREE EEREEREREERERRERRER ER RAS REENEN KEE RER RER ER EER EE REER ER EER KREE RER ER EER EE REERERKER KE een 2 Distributed I O with PROFINET IO 2 x IUe 2 Field b s integratlOri EE 2 UDP IP coramtunicatioD 5 5 a aa e EES 2 Real time communication DT 3 The services of PROFINET IO enn 3 Address assigriffierit TER 3 Ethernet MAG address I Sege AE EES AEN 3 D301151 BL20 PROFINET 1108 2 1 PROFINET IO PROFINET 2 2 PROFINET is the innovative open standard for the implementation of end to end integrated automation solutions based on Industrial Ethernet With PROFINET simple distributed I O and time critical applications can be integrated into Ethernet communication just as well as distributed automation system on an automation component basis Distributed I O with PROFINET IO Distributed I O is connected into communication through PROFINET IO Here the familiar I O view of PROFIBUS is retained in which the peripheral data from the field devices are peri odically transmitted into the process model of the control system Device Model PROFINET IO describes a device model oriented to the PROFIBUS framework consisting of places of insertion slots and groups of I O channels subslots The technical characteristics of the field devices are described by the so called GSD General Station Description on an XML basis Field bus integration PRO
64. Measurement 0 2 wire A Mode K1 1 3 wire D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 2AI PT NI 2 3 settingen 1 0 Mains 0 50 Hz A suppression K2 1 60 Hz 1 Value 0 Integer 15 bit sign A representation K2 1 12 bit left justified 2 Diagnostic K2 0 release A 1 block 3 Channel K2 0 activate A 1 deactivate 4 7 Element K2 0000 Pt100 200 850 C A 0001 Pt100 200 150 C 0010 Ni100 60 250 C 0011 Ni100 60 150 C 0100 Pt200 200 850 C 0101 Pt200 200 150 C 0110 Pt500 200 850 C 0111 Pt500 200 150 C 1000 Pt1000 200 850 C 1001 Pt1000 200 150 C 1010 Ni1000 60 250 C 1001 Ni1000 60 150 C 1100 Resistance 0 100 Q 1101 Resistance 0 200 Q 1110 Resistance 0 400 Q 1111 Resistance 0 1000 Q 3 0 Measurement 0 2 wire A Mode K2 1 9 wire BL20 2AI THERMO PI 0 0 0 Mains 0 50 HZ A suppression K1 1 60 Hz 1 Value 0 Integer 15 bit sign A representation K1 1 12 bit left justified 2 Diagnostic K1 0 release A 1 block 3 Channel K1 0 activate A 1 deactivate D301151 BL20 PROFINET 1108 3 19 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit BL20 2AI THERMO P
65. PC Inter face E anager m C Programme Siemens Step La SIMATIC M BL20 PROFINET Cp Wi AS Bp File Edit Insert PLC View Options Window Help Das A Customize Ctri Alt E B B Access Protection Change Log D Text Libraries L Language for Display Devices Manage Multilingual Texts gt Reference Data D Configure Network Configure Process Diagnostics CAx Data Set PG PC Interface D301151 BL20 PROFINET 1108 4 3 Connection of the PROFINET IO gateway to a Siemens PLC S7 Figure 24 CP Control Panel JEU ES Set PG PC in m E CG File Edit View Favorites Tools Hel terface in the Em Em I INS E Control Panel Dk O D Osea fries PS Address J Control Panel vj Go Name Comments A H Control Panel O Gn Keyboard Customize your keyboard setti Te Bllvenory Card Parameter Assignmt Assigning Parameters to the M g Switch to Category View o Mouse Customize your mouse settings Network Connections Connects to other computers A s Phone and Modem Options Configure your telephone dialin See Also Power Options Configure energy saving settin z D Windows Update C Printers and Faxes Shows installed printers and fa Regional and Language Options Customize settings for the displ 9 Lee aa eo Sy Scanners and Cameras Add remove and configure sc Scheduled Tasks Sche
66. PROFINET 1108 3 37 Technical features Table 9 Index Name Data type r w Remark Gateway User Data dec 45040 I amp M functions rw Identification amp Maintaining Services 45041to I amp M1 to IM15 Actually not supported 45055 functions Description of the acyclic module user data Table 10 Index Name Data type r w Remark Module User Data dec 1 Modul parameters DWORD r Parameter rof the module 2 Modul type ENUM r Module type UINT8 3 Modul version UINT8 r Firmware Revision of the module 4 Module ID DWORD r Ident number of the module 5to 18 reserved tp 19 Input data specific r Input data of the respective module 20 to 22 reserved 23 Output data specific r w Output data of the respective module 24 to 31 reserved 32 to 255 Profile specific These indices are reserved for the data of several module profiles e g RFID The definitions of the profile indices can be found in the respective module descriptions 3 38 D301151 BL20 PROFINET 1108 Indust A 4 Connection of the PROFINET IO gateway to a Siemens PLC S7 Application example 2 KREE KEE neun KEE EE EE KEE EE REA EE EE EE EE KEREN EE EK KE KEREN EE KE en 2 New project in Simatic Manager ceeeeeeeeeeeeeeeee eee eee e teeta aaeaaeeeeeeeeeeeeetegaaaaaaaaeeeeeeeeeeeeeeeeeeeeeeaeees 3 Setting the PG PC interface sese cene seeectes eve EASAN EATEN a EN ae 3 Installation of t
67. ROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Indus A E The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module measurement mode Figure 42 Sen theupper Properties DP slave a measuring limit as Address 71D Parameter Assignment a High and Low word Parameters Value y Station parameters y Device specific parameters HE measurement mode frequency measurement H digital input DI normal HE function DI input HE lower limit HWORD 8 lower limit LORD HEJ upper limit WORD H integration time n 1 Oms sensor pulses per revolution H substitute value DO1 HE diagnostic D01 HE function DOT SI signal evaluation A B pulse and direction HE sensor input filter 4 2 5us 200kHz E sensor input filter B 2 Bus 200kHz HEJ sensor input filter DI 2 Bus 200kHz Cancel Help D301151 BL20 PROFINET 1108 5 33 Integration of technology modules Integration of the RS232 module BL20 1RS232 Data image Process input data PDin The incoming data are stored in the receive buffer of the BL20 1RS232 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 6 byte user data E 1 byte diagnostic d
68. SISTANT connection cable ccceeeeeeeeeeeeeeeceeeaeeeeeeeeeeeeeeeeeeeeneaaeees 8 Usage of the software I O ASSISTANT 2ccscesceseeeeneeeeeseeesaeenseeeeesesesenseesegsesensenseesessesenseneees 9 Address setting EE REREERER KE KEN EREER ER KER KEREN ER KER RER nnmnnn nnmnnn nnana KE RER ER EER ER REERER EE EE KEE RER ER KER Sen 10 PROFINET operation mode KEE EE KEREN KEREN EE EEN EE EE KEE EE EE Rau ana EE aua Rau EEN ee 11 Rotary coding switch setting 000 11 GSDML flle Lec RER RER ER EE KREE RER EER KEE RERREREEREE KEE RER ER EEREE KEREN EE EE KEE RER R KREE E RER KEREN Saura 12 SET button 12 Barametertzation ee EERKER KREE ER EER KREE RER ER EEREREERER KEE REE RER ER KER E REERER KEE RERRER ER KER RER KER KREE 13 Gateway paame CTT 13 Description of the Oatewav Da ramelers sess 13 Parameter module parameterization AA 15 Module ll CEET 16 Parameters BL20 E 1SWIRE 31 Status ilndicators diagnostic messages gateway eese eee see eese eene nana nna KE KEEN 32 Diagnostic messages via LEDS REENEN 32 LED displays sicctivivi 32 Diagnostic messages via SoftWare nennen nennen enne nennen nnns 34 Gateway diagnostic messages seeseessssissesseesseeeesee enne nnne tnnt neret nnne nnns n nnnt anaana 34 Channel specific diagnostic messages o
69. STANT without PLC Figure 1 Gateway BL20 E GW DP D301151 BL20 PROFINET 1108 1 3 BL20 philosophy Gateways with integrated power supply All standard gateways BL20 GWBR xxx as well as the BL20 gateways for DPV1 and Ethernet BL20 GW DPV1 BL20 GW EN BL20 GW EN IP BL20 PG EN and BL20 PG EN IP offer an integrated power supply unit for feeding the gateway and the connected I O modules It is not necessary to supply each individual module with a separate voltage Figure 2 BL20 gateway for PROFINET Gateways without power supply Note eu The gateways without integrated power supply unit need an additional power sup ply module bus refreshing module which feeds the gateway an the connected I O modules Power distribution modules The power supply for gateways and I O modules is fed to the power distribution modules therefore it is not necessary to supply each individual module with a separate voltage Figure 3 Power distribu tion module 1 4 D301151 BL20 PROFINET 1108 BL20 components Electronic modules Electronic modules contain the functions of the BL20 modules power distribution modules digital and analog input output modules and technology modules Electronic modules are plugged onto the base modules and are not directly connected to the wiring The assignment table in the Section Ordering Information of the Appendix shows the possible combinations of electronic and base module
70. STS_ X X LW LW CMP1 5 STS_ STS_ X X STS_ X STS STS_ Status DN UP DO1 DI GATE 4 ERR ERR ERR X X RES ERR STS_ Diagn 24Vdc DO PARA STS_A LOAD LOAD 3 measured value 2 1 0 Table 28 Bits Explanations Meaning of the data bits process input 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 diagnos tics 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 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Table 28 Bits Explanations Meaning of the data bits process input 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 Permissible values for LOAD LOLIMIT 0 to 199 999 999 x10 3 Hz 0 to 24 999 999 x 10 3 rpm 0 to 99 999 999 ms Permissible values for LOAD UPLIMIT 1 to 200 000 000 x
71. The reading and writing of information read write services can be performed acyclically by the user The following services run acyclically in PROFINET IO parameterization of individual submodules during system boot reading of diagnostic information reading of identification information according to the Identification and Maintenance I amp M functions reading of I O data Address assignment In IP based communications all field devices are addressed by an IP address PROFINET uses the Discovery and Configuration Protocol DCP for IP assignment In the factory configuration each field device has among other things a MAC address and a symbolic name stored These information are enough to assign each field device a unique name appropriate to the installation Address assignment is performed in two steps 1 Assignment of a unique plant specific name to the field device 2 Assignment of the IP address by the IO Controller before system boot based on the plant specific unique name Both steps occur through the integrated standard DCP protocol Ethernet MAC address The Ethernet MAC address is a 6 byte value which serves to definitely identify an Ethernet device The MAC address is determined for each device by the IEEE Institute of Electrical and Electronics Engineers New York The first 3 bytes of the MAC address contain a manufacturer identifier Turck 00 07 46 xx xx xx The last 3 bytes can be chosen freely
72. a device name for a special I O device can thus be compared to the setting of the PROFIBUS address for a DP slave The device name can be freely chosen When storing the device name or the IP address or when resetting the gateway to the default values the GW LED switches to orange During this time the gateway s voltage supply must not be interrupted In case of a power failure faulty data will be stored in the gateway AN Attention D301151 BL20 PROFINET 1108 4 11 Connection of the PROFINET IO gateway to a Siemens PLC S7 After the assignment of the device name the I O modules which are connected to the BL20 gateway are added to the station configuration They have to be selected from the Hardware Catalog in the same order as they appear physically in the station Figi ure 37 Ah HW Config SIMATIC 300 1 Configuration BL20_PROFINET Hog Addl O mod i saen ix met mc wen Options window Heb 0 ax ules to the sta D a 8 9 Wi amp Rs e d i MER p tion m MM nlx Find tat aay Sam us 3 ajai Profile Standard E PROFIBUS PA E PROFINET IO Ethernet 1 PROFINET IO System 100 Z CH Additional Field Devices 2 vo EI TURCK a 3 TURCK qu Gm BL20 GW EN PN m TuRCK BL20 Slot Module Order Number e TURK ELAO BER 1 BL20 1AM 0 4 20m 6827018 2 BL20 4DI 24VDC P 5827012 3 BL2O E BDI 24VDC P 6827227 4 BL20 1R5232 5827168 5 BL20
73. alue 11 DO1 hold last value D301151 BL20 PROFINET 1108 3 25 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1RS232 settingen 0 0 4 Bit transfer rate reserved 300 bit s 600 bit s 1200 bit s 2400 bit s 4800 bit s 9600 bit s 14400 bit s 19200 bit s 28800 bit s 10 38400 bit s 11 57600 bit s 12 115200 bit s 13 reserved 14 reserved 15 reserved OOAONDOARWBNHO 6 Disable 1 Constant setting ReducedCtrl The diagnostic messages are shown in Byte 6 of the process input data inde pendently from Diagnosis Byte 6 of the process output data contains 2 bits with which the receive or transmit buffer can be cleared Byte 7 contains the status or control byte User data are represented in Bytes 0 5 7 Diagnostics 0 Enable A 1 Inhibit Diagnosis activated diagnosis deac tivated This affects the separate fieldbus specific diagnostic message not the diagnosis embedded in the process input data 3 26 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1RS232 settingen 1 0 Stop bits 0 1 stop bit 1 2 stop bits A 1to Parity 0 None 2 1 Odd A The parity bit is set so that the total number of bits data bit
74. ata E 1 status byte used to guarantee error free data transmission Figure 43 Process input Process input data RSxxx PLC data Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 RX DB 5 1 RX DB 4 2 RX DB 3 3 RX DB 2 4 RX DB 1 5 RX DB 0 Diagnostic messages Len oet Peer FAE reserved Status byte Table 31 Designation Value Meaning Meaning of the data bits process input BufOvfl 0 255 Diagnostic information correspond to the diagnostic informa FrameErr tion in the diagnosis telegram HndShErr These diagnostics are always displayed and independent to HwFailure the setting of the parameter Diagnostics PrmErr STAT 0 1 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 param eter 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 TX CNT ACK 0 3 The value TX CNT ACK is a copy of the value TX CONT 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 transmis sion of the data segment with TX CNT 5 34 D301151 BL20 PROFINET 1108 Integration of the RS232 module BL20 1RS232
75. ata show the cause of the communication disturbance The user has to set back this bit in the process output data by using STATRES D301151 BL20 PROFINET 1108 5 37 Integration of technology modules Table 33 Meaning of the data bits process input Designation Value Meaning 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 transmis sion of the data segment with TX CNT RX ONT 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_ 0 7 Number of the valid bytes in this data segment CNT Process output data PDout Process output data are data which are sent from the PLC via the gateway and the BL20 1RS485 422 module to a connected field device The data received from the PLC are loaded into the transmit buffer in the BL20 1RS485 422 module The fieldbus specific transmission for PROFIBUS DP is realized in a 8 byte format which is structured as follows E 6 byte user data E 1 byte containing signals to flush the transmit and receive buffer E 1 control byte used to guarantee error free data transmission Abbildung 46 Process output data 5 38 Proce
76. been deactivated via the parameter setting 1 Offline A diagnostics message is present D301151 BL20 PROFINET 1108 5 51 Integration of technology modules Table 43 Designa ValueMeaning Meaning of tion diagnostics data bits Byte 7 8 PKZ paSx Overcurrent protective circuit breaker slave x Info field for the individual indication of the tripping of a motor protective circuit breaker PKZ as error message If the PKZ nFoA is set for single diagnostics this bit field indicates the error as soon as the PKZ of the slave Sx has tripped 0 OK The PKZ of the slave has not tripped or diagnostics func tion has been deactivated via the parameter setting 1 Tripped The PKZ of the slave has tripped Note The error messages UAUXERR TYPEERR TYPEERRSx PKZERR PKZERRSx SDERR and SDERRSx can be deactivated via the parameter setting Parameter Parameters must be assigned to the module for correct operation of the application and in order to make it functional Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit O Byte 1 reserved free free free MNA Configu Disable free ration Cfg Byte2 free UnuxerR TYPer TYPigeo PKZer PKZnro SDer SDineo Byte 3 reserved Byte A Lifeguarding time Byte 5 SDpiacS Dua SDpiacS SDpiacS SDpiacS SDpiacS SDpacS SDpiacS 8 7 6 5 4 3 2 1 Byte 6 SDpacS SDpacS SDpacS SDpacS SDpacS Sos Dose SDpacS 16 15 14 13 12 11 10 9 Byte 7 reserved Byte 8 reserved Byte 9 Typ
77. before being checked The parameters that are not mode dependent are evaluated and processed first of all If some of the mode dependent parameters have an error the appropriate diagnostic message is initiated and the bits in the check back interface process input are set X reserved B7 B6 B5 B4 B3 B2 B1 BO Byte 0 15 16 X X measurement mode Byte 1 14 15 X X X X function DI digital X input DI Byte 2 13 14 Byte 5 12 13 lower limit WORD Byte 4 11 12 lower limit HWORD Byte 5 10 11 Byte 6 9 10 upper limit WORD Byte 7 8 9 upper limit HWORD Byte 8 7 8 integration time n 10ms Byte 9 6 7 Byte 10 5 6 sensor pulses per revolution Byte 11 4 5 Byte 12 3 4 X X X function DO1 diag substi nostic tute DO1 value DO1 Byte 13 2 3 direc sensor A sensor sensor sensor signal evaluation tion input input input A B input B filter DI filter B filter A Byte 14 1 2 X X behavior CPU X X X Group master STOP diag nostics Byte 15 0 1 X X X X X X X X 5 20 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Industri A Table 29 Designation Description Parameters for measurement Value mode A Default value measurement mode 100000A frequency measure ment The module counts the pulses received within a speci fied integration time 100001 revolutions measure ment In this opera
78. cable must have the following characteristics Low impedance In the case of compensation cables that are routed on both sides the compensation line impedance must be considerably smaller than that of the shield connection max 10 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 E The compensation cable must be made of copper or zinc coated steel E The compensation cable must be connected to the protective conductor over a large surface area and must be protected against corrosion E Compensation cables and data cables should be routed as close together as possible meaning the enclosed area should be kept as small as possible Switching inductive loads In the case of inductive loads a protective circuit on the load is recommended Protection against electrostatic discharge ESD Attention Electronic modules and base modules are at risk from electrostatic discharge when disassembled Avoid touching the bus connections with bare fingers as this can lead to ESD damage D301151 BL20 PROFINET 1108 7 9 Guidelines for electrical installation 7 10 D301151 BL20 PROFINET 1108 Glossary Acknowledge Acknowledgment of a signal received Active metal component Conductor or conducti
79. cepted The user data range REG_RD_DATA Bytes 0 3 is zero REG_WR_ACEPT 0 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 1 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 0 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 transmis sion to the register 1 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 tele gram of process output data SSI_STS3 0 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 SSI STS2 0 together with the position value 1 SSI STS1 0 1 SSI STSO 0 1 STS UP LED UP 0 The SSI encoder values are decremented or the values are constant 1 The SSI encoder values are incremented D301151 BL20 PROFINET 1108 5 41 Integration of technology modules Table 35 Designation Meaning of the data bits process input Meaning STS DN LED DN The SSI encoder values are incremented or the values are constant The SSI encod
80. character for RS422 operation 19 A This character is used to stop the transmission of data from the data terminal device if the software hand shake is active D301151 BL20 PROFINET 1108 3 29 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1SSI settingen 0 5 1 0 to Sensor data 0 cable test Number of invalid O to 15 bits LSB Activate A Data cable is checked for ZERO Deactivate After the last valid bit there will be no check that the data cable is at ZERO The number of invalid bits in the posi tion value delivered by the SSI encoder at the LSB end The signifi cant word length of the position value transmitted to the module bus master is thus SSI FRAME LEN INVALID_BITS_MSB INVALID_BITS_LSB The invalid bits at the LSB end are removed by shifting the position value to the right starting with the LSB Default O Bit O x 0 Basically INVALID BITS MSB INVALID BITS LSB must be smaller than SSI FRAME LEN 3 30 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1SSI settingen 1 4to Number of invalid O to 7 The number of invalid bits in the posi 6 bits MSB tion value delivered by the SSI encoder at the MSB end The signifi cant word length of the position
81. cking of a slave for any diagnostics messages present only check the first byte 0 None No diagnostics message present 1 Present One several diagnostics messages present Communication SWIRE slave If the parameter GD is set for group diagnostics this bit indicates an error as soon as only one slave on the bus sets its SD error bit 0 OK No error is present or diagnostics function has been deactivated via the parameter setting 1 faulty Error Overcurrent protective circuit breaker If the parameter Dh Zon is set for group diagnostics this bit indicates an error as soon as only one PKZ of a slave has tripped 0 OK No PKZ has tripped or diagnostics function has been deactivated via the parameter setting 1 Tripping At least one PKZ has tripped Configuration If the TYPE ppA parameter is set for group diagnostics this bit indicates an error as soon as the ACTUAL configuration of a slave does not match the SET config uration for this position 0 OK The ACTUAL configuration fully matches the SET config uration or diagnostics function has been deactivated via the parameter 1 faulty The actual configuration does not fully match set config uration Table 43 Designa Meaning of tion diagnostics data bits Uswerr GENE DALL Byte 2 Don Dh Zon Byte 2 TYPEecrr 5 50 D301151 BL20 PROFINET 1108 Integration of the SWIRE module BL20 E 1SWIRE Table 43 Desi
82. d at REG WR ADR with REG WR DATA REG WR ADR 0 63 Address of the register to be written with REG_WR_DATA D301151 BL20 PROFINET 1108 Integration of the SSI module BL20 1SSI Industri A Table 36 Designation Value Meaning Meaning of the data bits process output CLR CMP2 0 Default status i e no reset of FLAG CMP2 active 1 Reset of FLAG CMP2 active EN CMP2 0 Default status i e the data bits REL CMP2 GIG CMP2 and FLAG CMP2 always have the value 0 irrespective of the actual SSI encoder value 1 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 0 Default status i e reset of FLAG CMP1 not active 1 Reset of FLAG CMP1 active EN CMP1 0 Default status i e the data bits REL CMP1 STS_CMP1 and FLAG CMP1 always have the value 0 irrespective of the actual SSI encoder value 1 Comparison active i e the data bits REL_CMP1 GIG CMP1 and FLAG CMP 1 have a value based on the result of the comparison with the SSI encoder value STOP 0 Request to read the SSI encoder cyclically 1 Request to interrupt communication with the encoder D301151 BL20 PROFINET 1108 5 45 Integration of technology modules Integration of the SWIRE module BL20 E 1SWIRE The module can be integrated if the gateway firmware is at least Version 1 51 Data mapping under PROFIBUS DP
83. d duration sensor pulses per revolution 1A 1 to 65 535 SINT This parameter is used to determine the rotational speed substitute value DO1 OA 0 This value determines the state of output DO1 in the 1 1 event of a failure if behavior CPU Master STOP 10 diagnostic DO1 OA On The Short open circuit DO diagnostics message is not blocked 1 Off The Short open circuit DO diagnostics message is blocked function DO1 00A Output Behaviour of the digital outputs DO1 DO2 01 outside of limits 10 below lower limit 11 above upper limit signal evaluation A B 00A Pulse and direction In this mode input B can receive a signal for the rota tional direction The process entry check back interface returns the status rotation direction via STS DN and STS UP 01 rotary sensor single The evaluation options can be set in the BL20 counter module configuration The following settings are possible Single Double Fourfold 10to11 reserved D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Industri A Table 29 Designation Description Parameters for measurement Value mode Sensor Input filter A An input filter at inputs A B and DI can suppress high frequency interference and thus increase the accuracy of the counting The limit frequency can be adapted to the application 20 kHz or 200 kHz OA 2 5 us 200 kHz
84. d services In this mode for example the I O ASSISTANT can communicate with the gateway A PROFINET communication is not possible in this mode D301151 BL20 PROFINET 1108 3 11 Technical features GSDML flle SET button You can download the actual GSDML file for the gateway BL20 GW EN PN GSDML Vxx Turck BL20 xxx xml from our Home page www turck com Pressing the SET button under the cover on the gateway for about 10 seconds is used to store the factory default values to the gateway This function is only available in the PROFINET operation mode Default values IP address 0 0 0 0 Subnet mask 0 0 0 0 Device name TURCK BL20 default Attention When storing the device name or the IP address or when resetting the gateway to the default values the GW LED switches to orange During this time the gateway s voltage supply must not be interrupted In case of a power failure faulty data will be stored in the gateway Note ce Resetting the gateway is only possible when the station is not connected to the fieldbus no AR active D301151 BL20 PROFINET 1108 Parameterization Parameterization Gateway parameters The BL20 gateways for PROFINET use 5 bytes of parameters of which byte 3 and 4 contain the user specific parameter data Description of the gateway parameters The texts in the columns parameter name and value correspond to those defined in the general station description files GSDML files
85. dule computer tasks to run L Security Center View your current security stat Bill setting the PG PC Interface Configuring Your Siemens Com el Select your interface for the connection between S7 PLC and Ethernet network and confirm the settings Figure 25 Set FOE erter E 9 Set PG PC Interface E3 Select PG PC interface Access Path Access Point of the Application S7ONLINE STEP 7 gt TCP IP Auto gt Intel R PRO 10 v Standard for STEP 7 Interface Parameter Assignment Used TEPA P Auto gt VMware Accelerated AMC Properties HA PC Adapter PROFIBUS Diagnostics II TCP IP gt Intel R PRO 1000 MT D TCP IP gt NdisWanlp Copy TCP IP Auto gt Intel R PRO 1000 7 Delete 4 b Assigning Parameters fcr the IE PG access to your NDIS CPs with TCP IP Protocol RFC 1006 Interfaces Add Remove Select 4 4 D301151 BL20 PROFINET 1108 Application example Installation of the GSDML files In the hardware configuration HW config open the Options Install GSD file command in order to install new GSD files Figure 26 Install GSD files H HW Config SIMATIC 300 1 Configuration BL20_PROFINET Kit Station Edit Insert PLC View Options Window Help DG 99 En e gi Customize Ctri Alt E Configure Network Edit Catalog Profile Update Catalog Install HW Updates Find in Service amp Support Define the directory for the TURCK GSDML file
86. e called in any organization block Note i Please refer to the complete and actual description of SFB 52 in the software s on line help Table 12 Parameter Meaning input data name SFB 52 REQ REQ 1 starts data transfer ID Logical address HW config of the BL20 l O module to be addressed When addressing the gateway the Diagnostic address given in HW config has to be entered Note If the module is an output module bit 15 has to be set example for address 5 ID DW 16 8005 In combi modules the smaller of the two addresses should be specified INDEX Data record number in PROFINET specify the number of the PROFINET diagnosis data record for the reading of channel diagnosis diagnosis data records W 16 800A to W 16 E00A according to PROFINET specification MLEN Maximum length of the data to be read Table 13 Parameter Meaning output data name SFB 52 VALID New data record has been received and is valid BUSY BUSY 1 The read operation is not yet complete ERROR ERROR 1 An error occurred during the read operation STATUS Error code of the function block See Siemens online help for SFB54 RALRAM LEN Length of loaded data RECORD Destination area for the read data record 4 14 D301151 BL20 PROFINET 1108 Diagnostic with Step 7 Diagnostic with SFB 54 in case of error alarm in the alarm OB Signal and function modules with diagnosis function d
87. e designation slave 1 16 24 5 52 D301151 BL20 PROFINET 1108 Integration of the SWIRE module BL20 E 1SWIRE The following table shows the meaning of the parameter bits Table 44 Meaning of the parameter bits Designation Status Byte 1 Disable Cfg Automatic SWIRE configuration Disabling of the acceptance of the physically present configuration as ACTUAL configuration on manual pushbutton actuation O InactiveA 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 Active The physically present configuration is automatically accepted as the ACTUAL configuration and then compared with the SET configuration Configuration PLC configuration check The configuration check parameter enables a comparison of the set and actual configuration based on the device ID 0 ActiveA Configuration check based on device ID Only SWIRE slaves with a device ID completely matching the set config uration are accepted on the bus 1 Inactive All slaves are mapped in 4Bit INPUT 4Bit OUTPUT without checking the device ID Byte 1 MNA Configuration check If the ACTUAL configuration of the SWIRE bus does not match the SET configuration the master only exchanges data with the correctly configured and functional slaves 0 Bus based No data exchange
88. e routed together in bundles or in cable ducts Group 1 shielded bus and data cables E shielded analog cables unshielded cables for DC voltage x 60 V unshielded cables for AC voltage lt 25 V Group 2 unshielded cables for DC voltage 60 V and x 400 V unshielded cables for AC voltage 25 V and x 400 V Group 3 unshielded cables for DC and AC voltages 400 V D301151 BL20 PROFINET 1108 General notes Indust 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 be earthed Attention Observe all valid guidelines concerning internal and external lightning protection and grounding specifications when routing cables outside of buildings 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 over vo
89. echnical features Approvals and tests Table 2 Approvals and tests Description Approvals UL CSA in preparation Tests EN 61131 2 Cold DIN IEC 68 2 1 temperature 25 C 13 F duration 96 h not in use Dry heat DIN IEC 68 2 2 Temperature 85 C 185 F dura tion 96 h device not in use Damp heat cyclic DIN IEC 68 2 30 temperature 55 C 131 F dura tion 2 cycles every 12 h device in use Operational life MTBF 120 000 h Pollution severity according to 2 IEC 664 EN 61 131 2 Protection class according to IP20 IEC 529 3 6 D301151 BL20 PROFINET 1108 Connection possibilities Connection possibilities Field bus connection Ethernet connection The connection to Ethernet is realized via female RJ45 connector Figure 17 X female RJ45 connector i fmm EENEG 5 N c 87654321 add 8 n c Power Supply via terminal block with screw connection The power supply is realized via terminal block with screw connection technology Table 3 Signal Description Pin assignment the terminal Usvs System supply Gateway module bus blocks Usys U Field supply max 10 A UL Service interface connection female PS 2 connector The service interface is used to connect the gateway to the project planning and diagnostic software I O ASSISTANT Note D All BLxx Ethernet gateways offer the possibility to directly acces
90. eden 1 9 D301151 BL20 PROFINET 1108 measurement mode data image P 14 MOUNTING e UE 7 7 P parameters gateWay i cssisaccssssaccdvecuendiedsccssahandeisaatantardecntans M SERARHA 3 13 PE COMMECUION norte ars id etes 7 6 pin assignment power supply sse 3 7 plannirig E 6 2 potential groups isspiss aniidae 6 7 potential relationships 7 5 potential compensation cable 7 9 power distribution sess 1 4 power supply tcr rm PP n 6 4 PROFINET address assignment sss 2 3 PROFINET JO aiite RR ERR Nt ien 2 2 protection class IP20 ssssssssssssssss 1 2 R RS232 process input data ENEE 5 34 process output data sss 5 35 RS485 422 process input data seen 5 37 process output data sss 5 38 S service interface sss 3 7 SFB 52 is pest E 4 14 Slds n EE 4 15 shield connection analog modules seen 1 9 shielding E 7 8 SSI process input data sss 5 40 process output data sss 5 44 es 0 4 U use prescribed 3 cre penes 0 3 user data E 3 37 9 1 Index 9 2 D301151 BL20 PROFINET 1108 D301151 BL20 PROFINET 1108 9 3 Industrial Automation www turck com Hans Turck GmbH amp Co KG 45472 M lheim an der Ruhr Germany WitzlebenstraBe 7 Tel
91. eeeeceeeeeseeeeeeeegseesegeeseesegseeeeseeseesenseeeeees 3 9 D301151 BL20 PROFINET 1108 1 Address Setting liec KEREN KREE EE KER RRE ER KER KEN IRR IRR ER KER KEN IRR RR ER KER KREE ER KE KEN a 3 10 PROFINET Operation Mode oerie seien eene ER KEREN KEREN E KEREN KREE RE KEREN KEE RE Kee 3 11 Rotary coding switch setting 000 3 11 GSDML Fllle 3 12 SET Button 3 12 Barametertzation ee EERKER KREE ER KERKEREERER ER KEREREERER KEE REERER KE KEREREEREE KEE REERER KE KEN EREER KEREN 3 13 EE EC 3 13 Parameter module parameterization AA 3 15 lee UE 3 16 Status Indicators Diagnostic Messages Gateway e eeeeee eene eee nennen nana nnns 3 32 Diagnostic Messages via LEDS 3 ria err tete are patte ten deen 3 32 Diagnostic Messages via Goftware nne 3 34 Description of User Data for Acyclic Services KEE KEE EK KEE KE EE EK nnns 3 37 Description of the Acyclic Gateway User Data 3 37 Description of the Acyclic Module User Data 3 38 Connection of the PROFINET IO gateway to a Siemens PLC S7 Application Example eene ee kuke KR REENEN KEREN KEREN EE EE RE KER EE KEE EE KEE EE KEREN 4 2 New Project in Simatic Manager AAA 4 3 Setting the PG PG Interface ete Pe eme pp Ern eid ea 4 3 Installation of the GSDML files eeeeeeseseeeeeseeeseenee eene enne nenne nnne nn nnn
92. efully and without exception D301151 BL20 PROFINET 1108 0 3 About this manual Description of symbols used 0 4 Warning 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 danger to personnel and damages to the system hard ware 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 D301151 BL20 PROFINET 1108 1 BL20 philosophy The Basic concept irur iier o urunu ms uP a nun ua RRRnERERN RES UR RZRRUNRRERRURRRUAURSRRARRUERRRERVERERESESRERUSRERERE NERA 2 FIDI T PEE 2 Convenient NANGIING PE 2 BL20 components ssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnna 3 CE M 3 mI VL EE 3 Gateways with integrated power SUpply nnne nennen 4 Gateways without power supply ceceeeeeeeee cece eee e eee eeeeeaeaaaaaee eee nenne enne nnn nrtnennl sss n nnns nanan nnn nnns nis 4 Bee Erde deele EE A EleCtromicS ele ET
93. egration of technology modules 5 30 Low word binary 1111 1011 1111 0001 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15 20 21 2 23 24 25 26 27 28 215 16 32 64 128 256 512 1024 2048 4096 8192 1638 3276 O o o 16 32 64 128 256 512 2048 4096 8192 16384 32768 Low word decimal 64 497 The same principle applies to the High word E n the example High word hexadecimal 0009 High word binary 0000 0000 0000 1001 High word decimal 9 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Indust A E The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module measurement mode Figure 41 Gil Entering the lower measuring limit as Address D Parameter Assignment a High and Low m ep pm arameters alue A word dez Station parameters p V Device specific parameters 2 measurement mode frequency measurement 8 digital input DI normal amp function DI input j E E E lower limit I i 64497 upper limit HWORD 0 amp upper limit LWORD o amp integration time n 1 0ms 10 amp sensor pulses per revolution 1 E substitute value DO1 0 2 diagnostic D0
94. el lation of the module bus station that is set in the configuration software CheckConfig Cmd of the corresponding controller serves as a reference Master configuration error Display Configuration error Parameterizing error at channel 1 The actual list of modules has been altered in such a manner that no process data can be exchanged with the module bus stations which are at present connected to the module bus Station configuration error Display Configuration error Parameterizing error at channel 0 The gateway could not prepare the station s configuration to be read out 22 Communication error Module bus error Communication with the module bus station on the module bus is not possible 3 34 D301151 BL20 PROFINET 1108 Status ilndicators diagnostic messages gateway Channel specific diagnostic messages of the modules The channel specific diagnostic messages are defined as follows Table 8 Value channel spec dec diagnostics Diagnostics Error Codes 1 to 9 according to DP spec 1 short circuit 2 Undervoltage at channel Exception for BL20 BR 24VDC Undervoltage channel 0 Undervoltage at Usys Undervoltage channel 1 Undervoltage at U Exception for BL20 PF 24VDC Undervoltage channel 1 Undervoltage at U 4 overload 5 overtemperature 6 wire break 7 upper limit value exceeded 8 lower limit value exceeded 9 error Error Codes 16 to 28 manufac
95. ence value 1 LOAD PREPARE Parameter definition of Load counter in preparation 0 2 1 The value in bytes 0 to 3 is accepted as the new load value LOAD VAL Parameter definition of Load counter direct 0 gt 1 The value in bytes 0 to 3 is accepted directly as the new count value D301151 BL20 PROFINET 1108 5 5 Integration of technology modules Process input data 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 2 bytes contain status information E 1 byte contains the diagnostics data E 4 bytes are used to represent the counter value Structure of the data bytes in PROFIBUS DP Table 19 Bit 7 6 5 4 3 2 1 0 Pin X reserved Byte 0 X 1 STS ND STS UF STS OF STS_ STS_ x STS_ LW LW CMP2 CMP1 SYN 2 STS_ STS_ X STS_ STS_ X STS_ STS_ Status DN UP DO2 DO1 DI GATE 3 ERR ERR ERR X X RES ERR STS_ Diagn 24Vdc DO PARA STS_A LOAD LOAD 4 Count value 5 6 7 Table 20 Bits Explanations Meaning of the data bits process input 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 acknowledged with the EXTF_ACK process output control bit ERR_PARA 1 Th
96. enclose the shielding braid and in so doing create a large surface contact area The shield rail must have a low impedance for example fixing points of 10 to 20 cm apart and be connected to a reference potential area The cable shield should not be severed but routed further within the system for example to the switchgear cabinet right up to the interface connection Note i Should it not be possible to ground the shield on both sides due to switching ar rangements 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 distanc es If necessary a varistor can be connected parallel to the capacitor to prevent disruptive discharges of the capacitor 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 D301151 BL20 PROFINET 1108 Potential compensation Potential compensation Potential differences can occur between installation components that are in separate areas and these E are fed by different supplies have double sided conductor shields which are grounded on different installation compo nents A potential Compensation cable must be routed to the potential compensation Warning Never use the shield as a potential compensation A potential compensation
97. er of Bus Refreshing modules is calculated as follows Gateway 430 mA 15 BL20 1AI U 10 0 10VDC 15 x41 mA 615 mA 10 BL20 2AO U 10 0 10VDC 10 x 43 mA 430 mA 10 BL20 2DI 24VDC P 10 x 28 mA 280 mA 5 BL20 2DO 24VDC 0 5A P 5 x 32 mA 160 mA Total 1915 mA Maximum permissible current via module bus 1 500 mA 6 4 D301151 BL20 PROFINET 1108 Power supply Industri A The calculation shows that an additional further Bus Refreshing module is required at the latest following the last BL20 2AO U 10 0 10VDC module This Bus Refreshing module is sufficient to supply the remaining modules Note L 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 46 Module Supply Nominal current Nominal current consumption consumption of cam iho Gateway 1500mA 430 mA 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 15 mA BL20 16DI 24VDC P 45 mA BL20 E 16DI 24VDC P 15 mA BL20 32DI 24VDC P 30 mA BL20 1AI 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 10VD
98. er values are decremented REL CMP2 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP2 A comparison of the register contents has produced the following result REG SSI POS REG CMP2 FLAG CMP2 Default status i e the register contents have not yet matched REG SSI POS REG CMP2 since the last reset 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 REL CMP1 A comparison of the register contents has produced the following result REG SSI POS z REG CMP2 A comparison of the register contents has produced the following result REG SSI POS REG CMP2 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP1 A comparison of the register contents has produced the following result DEG SSI POS REG CMP1 FLAG CMP1 Default status i e the register contents have not yet matched REG SSI POS REG CMP1 since the last reset The contents of the registers match REG SSI POS z REG CMP1 This marker must be reset when CLR CMP 1 1 in the process output data STS CMP1 A comparison of the register contents has produced the following result REG SSI POS REG CMP1 A comparison of the register contents has produced the following result REG SSI
99. ere is a parameter error ERR PARA is a group diagnos tics 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 5 6 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Table 20 Bits Explanations Meaning of the data bits process input 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 DO 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 directi
100. eriod duration measurement 1 1 Digital input DI 0 normal A 1 inverted 2 Function DI 0 input A 1 HW gate 2 to Lower limit 0 to 16 777 214 x 10 4 Lower limit OAto 255 Unsigned8 HWORD Lower limit 0 A to 65535 LWORD 3 24 D301151 BL20 PROFINET 1108 Parameterization Industri A Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1CNT 24VDC measurement mode settingen 5 to Upper limit 1to 16 777 215 x 10 7 Upper limit OAto 255 Unsigned8 HWORD Upper limit OAto 65535 LWORD 8 to Integration time 1 to 1 000 9 n 10ms 10A 0 10to Sensor pulse per 1A to 65535 11 revolution 12 0 Substitute value 0 OA DO1 1 1 1 Diagnostic DO1 0 onA 1 off 2 4 Function DO1 00 output A 01 outside of limit 10 below lower limit 11 above upper limit 13 0 1 Signal evaluation 00 pulse and direction A A B 01 rotary sensor single 2 Sensor input filter 0 2 5 us 200 kHz A A 1 25 us 20 kHz 3 Sensor input filter 0 2 5 us 200 kHz A B 1 25 us 20 kHz 4 Sensor inputfilter O 1 2 5 us 200 kHz A DI 25 us 20 kHz 5 Sensor A 0 normal A 1 inverted 7 Direction input B 0 normal A 1 inverted 14 0 Group 0 release A diagnostics 1 block 4 5 Behaviour CPU 00 turn off DO1 A master STOP 01 proceed with operating mode 10 DOT switch to substitute v
101. es PROFINET uses communications with the standard Ethernet mechanisms over UDP IP which follow the international standard IEEE 802 3 Similar to standard Ethernet PROFINET field devices are addressed using a MAC and an IP address In UDP IP communications different networks are recognized based on the IP address Within a network the MAC address is a unique criterion for the addressing of the target device PROFINET field devices can be connected to the IT world without limitations A prerequisite for this is that the corresponding services for instance file transfer must be implemented in the field device involved This can differ from manufacturer to manufacturer D301151 BL20 PROFINET 1108 PROFINET Real time communication RT A data communication over the UDP IP channel is provided with a certain amount of admin istrative and control information for addressing and flow control all of which slows data traffic To enable Real Time capability for cyclical data exchange PROFINET abandons partially IP addressing and flow control over UDP for RT communications The communication mecha nisms of the Ethernet Layer 2 of the ISO OSI model are very suitable for this RT communi cations can always run in parallel with NRT communications The services of PROFINET IO Cyclic data exchange For the cyclic exchange of process signals and high priority alarms PROFINET IO uses the RT channel E Acyclic data exchange record data
102. etect interrupts and generate a diag nosis alarm A response to this alarm is done via alarm Organization Blocks Based on the OB number and start information for the interrupt event you already have some first information about its cause and location Detailed information about the interrupt event in this error OB can be read using SFB 54 Read supplementary interrupt information The interrupt evaluation is done as follows Diagnostic event Alarm OB is called SFB 54 is called Diagnostic data is stored in the AINFO header information and supplementary interrupt information and TINFO OB start information and housekeeping information destination areas Note ER Please refer to the Step 7 online help or the respective Simatic documentation PROFINET IO From PROFIBUS DP to PROFINET IO Programming manual document number A5E00298268 02 for all complete and actual information about the diagnosis evaluation Table 14 Parameter name Meaning input data SFB 54 MODE Operation mode F ID Logical start address of the module from which interrupt information should be received MLEN Maximum length of diagnosis information to be received in bytes Table 15 Parameter name Meaning output data SFB 54 NEW A new interrupt has been received STATUS Error code of SFB or IO controller ID Start address of component module from which an interrupt was received Bit 15 contains the I O identifier 0
103. f all modules with the exception of analog output modules to 0 Error information is transmitted to the analog output modules Depending on their configuration these modules set their outputs either to 0 or to a default value or to maintain the original values The non configured analog output modules set their outputs to 0 D301151 BL20 PROFINET 1108 Technical features Table 4 Byte Value Meaning Gateway parameter parameters name A default 10 hold current value The gateway maintains the actual output settings of settings all modules with the exception of analog output modules Error information is transmitted to the analog output modules Depending on their configu ration these modules set their outputs either to 0 or to a default value or maintain the original values The non configured analog output modules maintain their current output settings 11 exchange process data The gateway carries on exchanging process data with the other module bus stations No error informa tion is transmitted bit 4 and 5 outputs fieldbus error 00 output 0 A The gateway switches the outputs of the modules to 0 No error information is transmitted 01 output substitute value The gateway switches the outputs of all modules with the exception of analog output modules to O Error information is transmitted to the analog output modules Depending on their configuration these modules set
104. f the modules AAA 35 Description of user data for acyclic services ee KEREN KEREN KEREN EE uaa ana 37 Description of the acyclic gateway user data 37 Description of the acyclic module user data 38 D301151 BL20 PROFINET 1108 3 1 Technical features Function BL20 gateways for PROFINET are used tio connect BL20 IO modules with the field bus system PROFINET The gateway handles the entire process data traffic between the l O level and the fieldbus and generates diagnostic information for higher level nodes and the software tool I O ASSIS TANT 3 2 D301151 BL20 PROFINET 1108 Technical data Technical data Figure 15 BL20 GW EN BW EN PN A PN ELI Be A service e B interface B module bus LEDs C SET button D rotary coding switches E Ethernet F Ethernet LEDs 10 100 MBit WC uid ES E ENNLS D F Uss l S 1 Gateway structure Figure 16 Structure of a field bus service controller BL20 GW EN external interface P PN internal RAM WDG D301151 BL20 PROFINET 1108 external RAM module bus internal external ROM flash 3 3 Technical features General technical data of a station Attention The auxiliary power supply must comply with the stipulations of SELV Safety Extra Low Voltage according to IEC 364 4 41 Table 1 Supply voltage Technical data field supply U nomi
105. g a power on reset 1 deactivate If the static configuration is deactivated a dynamic configuration take over is realized directly following station configuration changes important for acyclic parameterization Bit 7 reserved Parameter module parameterization Each parameterizable module gets the additional parameter module parameterization via the GSDML file of the gateway Note i This parameter is not part of the module parameters but is only important for the communication between gateway and the modules This parameter extension is always necessaray even if the module is parameterized via an lO supervisor module parameterization activated The module receives its parameter settings from the controller IO supervisor l O ASSIS TANT or similar In this case parameter changes which were done in the meantime for example by a configuration tool or similar will be overwritten with the valid parameter data set module parameterization deactivated Changes in the parameter settings are ignored for the respective module The stored parameter data will be used Note ER If the module parameterization is activated and a module is replaced by a new one the gateway has to be operated with active VI in order to keep the module s parameter settings for the new module Vo has to be switched off and the station has to be separated from the field bus Now the gateway sends the parameters defined for
106. g of the lower measuring limit OA 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 3 Hz O to 24 999 999 x 10 3 rpm 0 to 99 999 999 ms MODE DO 1 MODE DO is only valid if LOAD DO PARAM 0 1 The physical output DO1 can show the status of the data bit SET DO1 or comparison results if CTRL_DO1 1 MODE DO 1 defines which function DO1 is to accept 00 The output DO1 indicates the status of the control bit SET DO 01 The output DO1 indicates a measurement outside of the limits i e above the upper measuring limit or below the lower measuring limit STS_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 D301151 BL20 PROFINET 1108 5 17 Integration of technology modules Process input for measurement 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 2 bytes contain status information E 1 byte contains the diagnostics data Four bytes are used to contain the measured values Structure of the data bytes in PROFIBUS DP Table 27 Bit 7 6 5 4 3 2 1 0 PDIn X reserved Byte 7 6 X STS UF STS OF X
107. gging and pulling electronics modules eee eee see neues ena RRE RER EER KKK RER KREE 11 Extending an existing station 1 eerie ii ER EEREEKEE RER ER KER E REERER ER KER RER KER Ra Rana RR au KEN 12 Firmware download e KER KREE ER EEREEREERER ER uua IRR RR RARRAR RR ARRA ER EER E REERER KE KER ARS R RECKEN 13 D301151 BL20 PROFINET 1108 6 1 Guidelines for station planning Random module arrangement 6 2 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 i 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 connec tion technology screw or tension clamp as the power supply module Complete planning The planning of a BL20 station should be thorough to avoid faults and increase operating reli ability Attention If there are more than two empty slots next to one another the communication is interrupted to all following BL20 modules Maximum system extension A BL20 station can consist of a gateway and a maximum of 74 modules in slice design equiv alent to 1 m in length of mounting rail including the end bracket and end plate The maximum numbe
108. gna ValueMeaning Meaning of tion diagnostics data bits UauxeRR Voltage Unyx If the UA egg A parameter is activated Uayyerr will generate an error message as soon as the power supply goes below the level at which the function of the relays is not guaranteed 0 OK Contactor supply voltage is o k gt 20 VDC or diagnos tics function has been deactivated via this parameter 1 Undervoltage Contactor supply voltage is not o k lt 18 VDC Byte 3 4 TYPEgpRSx Device configuration slave x Info field for the individual indication of a configuration error as error message If the TYPE NFoA parameter has been set for single diagnostics this bit field indi cates the error as soon as the ACTUAL configuration of the slave was not accepted and is therefore not enabled for data exchange The diagnostics LED of the slave flashes 0 OK No configuration error is present and the slave is in data exchange mode or diagnostics function has been deac tivated via the parameter setting 1 Incorrect No configuration error present and the slave is NOT in data exchange mode Byte 5 6 Dein Communication slave x Info field for the individual indication of the release of the slave diagnostics as error message If the SDinFoA is set for single diagnostics this bit field indicates the error as soon as the slave diagnostic message of the slave Sx is triggered 0 OK No error is present or diagnostics function has
109. hannel specific diagnostics n number of channels with active diagnostics With channel specific diagnostics the use of an error number enables the type of error to be indicated in plain text e g Parameter error When Device related Diagnostics is selected an abbreviated diagnostics message is gener ated that simply shows the gateway diagnostics device related diagnostics The diagnostics bytes of all station modules are attached that support diagnostics The Measurement mode diagnostic should only be set together with another diagnostics bit Table 30 Meaning and position of the data bits diag nostics 5 24 Name of error Position Explanation type short open Short open circuit excess temperature at the output DO1 circuit This diagnostics information must be acknowledged with the ERR DO EXTF ACK control bit short circuit Short circuit of sensor supply sensor pwr This diagnostics information must be acknowledged with the supply EXTF_ACK control bit sensor pulse wrong This error signal refers to the parameter value Sensor pulses per revolution The latest configuration tools prevent an incor rect value from being entered integration The value for the integration time is incorrect time wrong The permissible value range is 1 to 1000 This enables permissible integration times frequency measurement revolutions measurement from 10 ms to 10 000 ms in 10 ms increments and for period duratio
110. he GSDML files AE 5 PLC COMPQUIFATION E es 6 Scanning the network for PROFINET IO nodes AAA 8 Configuration of the BL 20 etatlon nennen nnne ERAEN NENEA 10 Diagnostic with Step 7 e eerie ee eielieierie ei EER KKK KEEN KEE RER RER IRR EER RER R RR ARR RR a 13 Diagnostic messages in the hardware Gonfouration nnn 13 Diagnostic evaluation in the application program sssssssessseeeeseseeeeeeeneennne enne nnn nnn 13 Diagnose With SFB 52 in OBT E 14 Diagnostic with SFB 54 in case of error alarm in the alarm OB AAA 15 D301151 BL20 PROFINET 1108 4 1 Connection of the PROFINET IO gateway to a Siemens PLC S7 Application example In order to configure the connection of a BL20 gateway with a Siemens PLC S7 the software package SIMATIC Manager version 5 4 with Service Pack 3 from Siemens is used Note i A correct representation of BLxx parameter texts can only be guaranteed using Step7 version V 5 4 SP3 HF1 or higher Hardware E Siemens PLC S7 CPU 315 2 PN DP 6ES7 315 2EG10 0ABO firmware V2 3 2 BL20 station with a gateway BL20 GW EN PN for the connection to PROFINET IO with the following BL20 example station Table 11 Module Data width Example station Process Process Alignment input output GW BL20 GW EN PN 0 BL20 2AI 1 0 4 20MA 2 word word by word 1 BL20 4DI 24VDC P 4 bit bit by bit 2 BL20 E 8DI 24VDC P 8 bit b
111. he high and low wors 25 Setting the lower and upper limit uussssssssssssssssessessseeeene enne nnne nnn nnne nennen 25 Setting the lower and upper measuring limits A 29 Integration of the RS232 module BL20 1RS232 RRE RER EREER ER KER RRE EE RER nana KKK RER KREE EEN 34 RE Wine GE 34 Process inp t data RTR In E 34 Process output data PDout rne Ra EORR Fee AeA aa sara XE EAR RR a aaa aa Nean ENEE 35 Integration of the RS485 422 module BL20 1RS485 422 cce eene ee nere RER KEREN E 37 RE Mine E 37 Process input data PDIN ccccceceee eee eeeeeeeeeee EE 37 Process output data PDOT EE 38 Integration of the SSI module BL20 1SSIl EREERER RER RER KREE RERR KREE EE uana uana ana 40 BEN MAGS icc m RmME 40 Process Input data PDIN wsiescadestecadecenesssheddaeeneczecisiaenadesvesantadeshsnesciszyy aaa aaa E Aaa aiaia 40 Process output data PDout EEN 44 Integration of the SWIRE module BL 320O E ISWIRE RER ERKER RER EREER ER KER KREE KE KEN EREERER KEE 46 Data mapping under PROFIBUS DP 22 ccc eceecee cece eee eeeeeeeeeeaeeeee eee enhn nnn nnn hn nnn nrtenhr sl nnn enn nnn nnn 46 mires 46 S Process OUTPUT mm 47 ipio Areaan or EENE NEEN ETENEE ERES NEENA EEUN ESAERA EEN ESS 48 us niai TER EHE ES 52
112. high word hex is subtracted from the hexadecimal value FFFF 1 is added to the result Example FFFF FFFE 0001 0001 1 0002 This value is converted to the corresponding decimal value In the example 0002 is converted to 2 The result will be negative as bit 15 is set in the High word hex FFFE in signed format E You receive as a decimal value for FFFE 2 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC In the example High word hexadecimal FFFE High word binary 1111 1111 1111 1110 High word decimal 2 The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module count mode Figure 39 Entering the lower count limit as a High and Low word dez P roperties DP slave B Address ID Parameter Assignment Parameters Value Ead y Station parameters H Device specific parameters H counter mode continuous count amp gate function abort count procedure amp digital input DI nma E function DI input amp synchronization single action E main count direction none 2 flower count limit HWP NN E amp lower irni D 7616 amp upper count limit HWORD fo amp upper count limit LORD fo 2 hysteresis fo 2 pulse duration DO DZ n 2ms 0 2 substitute value DO1 0 2 diagnostic D
113. ingle diagnostics is not activated Group PKZ error field Activate slave diagnostics PKZ _ 2Sx As soon as only one slave on the bus clears its PKZ bit this is indicated as an error depending on the parameter setting 0 ActiveA Group diagnostics is activated 1 Inactive Group diagnostics is not activated TYPEqwro Configuration error field As soon as a slave on the bus does not match the set configuration and therefore cannot be started this is indicated as an individual error depending on the parameter set Active Single diagnostics is activated Inactive Single diagnostics is not activated TYPEerr Group configuration error field Activate slave diagnostics TYPE fix As soon as only one slave on the bus is incorrectly configured this is indicated as an error depending on the parameter setting Active Group diagnostics is activated Inactive Group diagnostics is not activated 5 54 D301151 BL20 PROFINET 1108 Integration of the SWIRE module BL20 E 1SWIRE Industri A Table 44 Meaning of the parameter bits Designation Status UAUXERR Error message le Activate system diagnostics U egg Uauxerr Will generate an error message as soon as the power supply goes below a level at which the function of the relays is not guaranteed Active Error message Unuyyerr activated Inactive Error message U yyerr not activated Byte 3 reserved Reserved
114. is stopped if parameters are changed during the mea suring operation Note i The parameters modified via the process output data are not retentive The com missioning after a power failure is based on the parameter data of the configuration tool or default configuration 5 14 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Industri A The data is transferred in 8 byte format The first 2 bytes are not yet assigned 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 represent the parameter values for Lower limit or Upper limit Function of DO1 or Integration time Structure of the data bytes in PROFIBUS DP with Function of DO1 set Table 23 Bit 7 6 5 4 3 2 1 0 Structure of the data bytes with Byte Function of DO1 set 0 X reserved 1 2 X X X LOAD X LOAD LOAD LOAD DO INTTIME UPLIMIT LOLIMIT PARAM 3 EXTF X X CTRL SET RES X SW ACK DO1 DO1 STS GATE 4 X 5 X 6 X 7 X MODE DO1 Structure of the data bytes in PROFIBUS DP with Lower limit or Upper limit set Table 24 Bit 7 6 5 4 3 2 1 o Structure of the data bytes with Byte Lower limit or Upper limit set 0 X 1 X reseved p x X X LOAD X LOAD LOAD LOAD DO INTTIME UPLIMIT LOLIMIT PARAM 3 EXTF X X CTRL_ S
115. it by bit 3 BL20 1RS232 4 word 4 word word by word 5 BL20 4DI 24VDC P 4 bit bit by bit 6 BL20 2AI 1 0 4 20MA 2 word word by word 7 BL20 2AI THERMO PI 2 word word by word 4 2 D301151 BL20 PROFINET 1108 Application example New project in Simatic Manager Create a new project in the Simatic Manager using the File new command Add a Simatic Station to the project with Insert Station In this example a Simatic 300 Station is used Figure 22 Adding a Simatic Station to the project e SIMATIC Manager BL20 PROFINET C Programme Sie Bp File Edit Insert PLC View Options Window Help ge SS Station gt LSIMATIC 400 Station 7 Subnet gt 2 SIMATIC 300 Station f iBL20 e e Program b 3 SIMATIC H Station 4 SIMATIC PC Station 5 Other Station 6 SIMATIC 55 7 PG PC ee The configuration of the PROFINET IO network is done subsequently in the hardware confi guration HW config of the software Setting the PG PC interface In order to be able to build up the communication between the PLC an your PG PC via Ethernet the respective interface network interface of the PG PC has to be activated The configuration of the interface is done via the dialog Set PG PC Interface command Open this dialog in the Simatic software for example via the Options Set PG PC Inter face command or directly in the Windows Control Panel for your PG PC Figure 23 Command Set PG
116. ll 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 chap ters like mounting labelling etc are described in a separate manual E BL20 l O modules TURCK Documentation No English D300717 Furthermore the manual mentioned above contains a short description of the project plan ning and diagnostics software for TURCK l O systems the engineering software O ASSIS TANT D301151 BL20 PROFINET 1108 Overview Overview Attention Please read this section carefully Safety aspects cannot be left to chance when dealing with electrical equipment This manual includes all information necessary for the prescribed use of BL20 GW EN PN It has been specially conceived for personnel with the necessary qualifications Prescribed use Warning 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 Notes concerning planning installation of this product Warning All respective safety measures and accident protection guidelines must be consid ered car
117. ltage arrestors Varistors and overvoltage arrestors must be installed at the point where the cables enter the building D301151 BL20 PROFINET 1108 7 3 Guidelines for electrical installation Transmission media For a communication via Ethernet different transmission media can be used coaxial cable 10Base2 thin koax 10Base5 thick koax yellow cable E optical fibre 10BaseF 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 ca bles with different connectors The ordering information for the available cable types can be found under www turck com 7 4 D301151 BL20 PROFINET 1108 Potential relationships Potential relationships General The potential relationship of a Ethernet system realized with BL20 modules is characterized by the following E The system supply of gateway and l O modules as well as the field supply are realized via one power feed at the gateway 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 55 Gateway BL20 GW EN 1 0 Modul l O Modul Power Feeding 1 O Modul Bus Refreshing Block diagram of a BL20 sta sv IS fr SI tion DC E I DC DC DC
118. 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 inter locks 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 regu lations All shrouds and doors must be kept closed during operation Table of contents About this Manual Documentation Concept eere RE EK KEE EE KEE KEREN KEREN KEE KEE EE KEE E KEE E KEE e 0 2 er 0 3 Prescribed USE sostenute Le e tb LM Li ee 0 3 Notes Concerning Planning Installation of this Product A 0 3 Description of Symbols Used 1e e KEE ER KEREN KEEN EE KEE KEE KEREN KEE RE KE ee 0 4 1 BL20 Philosophy The Basic Concept eeseereeeRKRK KEE REN EE EK KEE E EEEE E EEEE KEE EE EE EE EE EE EE KEE KEEN KEE KEEN 1 2 dis4 m M PB 1 2 rear i aaraeUem ER 1 2 BL20 Compornients ue eeh ORK EEGEN EEEEEN EEER Ra EE EUR SNE SEEEN SEENEN SEENEN ENEE ANEN EE EVEN 1 3 CHUTE eden 1 3 Power Distribution Modules ccccccsssseeeeeceeesseceeeceenseceesecenenseseceeeeeaaeeceeseeaae
119. mode in which all stations in a system communicate with equal rights via the bus NAMUR German acronym for an association concerned with standardizing measurement and control engi neering NAMUR initiators are special versions of the two wire initiators NAMUR initiators are charac terized by their high immunity to interference and operating reliability due to their special construction low internal resistance few components and compact design Overhead System administration time required by the system for each transmission cycle PLC Programmable Logic Controller Potential compensation The alignment of electrical levels of electrical components and external conductive components by means of an electrical connection Potential free Galvanic isolation of the reference potentials in I O modules of the control and load circuits Potential linked Electrical connection of the reference potentials in I O modules of the control and load circuits PROFIBUS DP PROFIBUS bus system with DP protocol DP stands for decentralized periphery PROFIBUS DP is based on DIN 19245 Parts 1 3 and has been integrated into the European fieldbus standard EN 50170 It ensures a fast cyclic data exchange between the central DP master and the decentralized periphery devices slaves Its universal use is realized by the multi master concept D301151 BL20 PROFINET 1108 PROFIBUS DP address Each PROFIBUS DP module is assigned an explicit PRO
120. n measurement averaging over 1 to 1000 periods upper limit The value for the upper limit is incorrect wrong Permissible value range 1 to 16777215 lower limit The value for the lower limit is incorrect wrong Permissible value range 0 to 16777214 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Table 30 Name of error Position Explanation Meaning and type position of the data bits diag nostics operating 6 The value XXXX1 1 for selecting the operating mode is incor mode wrong rect Permissible values for count mode 000000 Continuous count 000001 Single action count 000010 Periodical count Permissible values for measurement mode 100000 Frequency measurement 100001 Revolutions measurement 100010 Period duration measurement measurement 7 This message is always shown in conjunction with other diag mode nostics messages and indicates that messages refer to an active measurement mode Guide to setting the high and low words Setting the lower and upper limit The lower count limit is divided as follows range 2 147 483 648 231 to 0 in a High and a Low word Convert your decimal count limit to hexadecimal format Example E The lower count limit is to be 123 456 This decimal value is represented in hexadecimal format double word as FFFE 1DCO E The hexadecimal value double word is divided into a High word FFFE and a Low word
121. nal value permissible range 24 VDC 18 to 30 VDC I max field current 10A System 24 VDC U nominal value permissible range 24 VDC 18 to 30 VDC los max 500 mA lug supply of the module bus nodes max 1 5 A 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 Address setting 3 decimal rotary coding switches Service interface PS 2 female connector Isolation voltages Ups Ethernet service interface 500 V AC Ug Ethernet module bus 500 V DC U ys UL to Usys 1000 V DC Sys Ambient conditions Ambient temperature E tambient 0 to 55 C 32 to 131 F CH tstore 25 to 85 C 18 to 185 F Relative humidity according to IEC 61 131 2 EN 50 178 Noxious gas SO 10 ppm rel humidity lt 75 96 non condensing H58 1 0 ppm rel humidity lt 75 96 non condensing 3 4 D301151 BL20 PROFINET 1108 Technical data Industri A Resistance to vibration according to IEC 61131 2 10 to 57 Hz Constant Yes amplitude 0 075 mm 0 003 inch 1g 57 to 150 Hz Constant Yes acceleration 1 g Mode of vibration Frequency sweeps with a change in speed of 1 Octave min Period of oscillation
122. nd STS_CMP1 process input status bits are reset Bit RES GIG A 1 process input acknowledges that the reset command has been received RES STS can now be reset to O SW GATE 0 1 Measuring is started software release 1 0 Measuring is stopped D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Table 26 Control bit Explanations Meaning of the data bits process output LOAD DO PARAM Parameter setting of the physical output DO1 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 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 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 3 Hz 1 to 25 000 000 x 10 3 rpm 1 to 100 000 000 ms LOAD LOPLIMIT Parameter settin
123. ng 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 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 Bus Bus system for data exchange e g between CPU memory and I O levels A bus can consist of several parallel cables for data transmission addressing control and power supply Bus cycle time Time required for a master to serve all slaves or stations in a bus system i e reading inputs and writing outputs Bus line Smallest unit connected to a bus consisting of a PLC a coupling element for modules on the bus and a module Bus system All units which communicate with one another via a bus Capacitive coupling Electrical capacitive couplings occur between cables with different potentials Typical sources of inter ference are for e
124. on This bit must be reset by the RES STS control bit STS UFLW Status lower count limit Set if the count value goes below 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 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 DO 01 10 or 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 D301151 BL20 PROFINET 1108 5 7 Integration of technology modules Table 20 Bits Meaning of the data bits process input Explanations GIS 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 DO 1 01 10 or 11 Otherwise STS_CMP1 simply indicates that the output is or was set It must be acknowledged with RES GIG 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
125. p 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 La Serial Type of information transmission by which data is transmitted bit by bit via a cable Setting parameters Setting parameters of individual stations on the bus and their modules in the configuration software of the master D301151 BL20 PROFINET 1108 8 5 Glossary 8 6 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 Station A functional unit or HO components consisting of a number of elements SUB D connector 9 pin connector for connecting the fieldbus to the l O stations Terminating resistor 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 UART Unive
126. r not perm Inverting the digital input signal with the Latch Retrigger func tion is not permissible D301151 BL20 PROFINET 1108 Integration of technology modules Table 22 Name of error Position Explanations Meaning and type position of the data bits diagnostics main count direc 5 The value 11 for selecting the main count direction is incor tion wrong rect Permissible values 00 None 01 5Up 10 5 Down operating mode 6 The value XXXX1 1 for selecting the operating mode is incor wrong rect Permissible values for count mode 000000 Continuous count 000001 Single action count 000010 Periodical count Permissible values for measurement mode 100000 Frequency measurement 100001 Revolutions measurement 100010 Period duration measurement measurement 7 This message is always shown in conjunction with other diag mode nostics messages and indicates that measurement mode is active This message never occurs in count mode Note L Counting should not be started if there is a parameter error diagnostics bits 2 to 6 Measurement mode data image Process output for measurement 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 1CNT 24VDC module allows some parameters to be modified during operation The other parameters must be changed prior to commissioning Note i The current count operation
127. r of modules is less when using block modules 1 block module is equivalent to 8 modules in slice design 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 D301151 BL20 PROFINET 1108 Random module arrangement Industri A Table 45 Maximum system exten sion process data dependent A plus 1 Bus Refreshing module B plus 2 Bus Refreshing module C plus 3 Bus Refreshing module D plus 7 Bus Refreshing module Channels Modules Type Max Type Max No no Digital inputs 288 BL20 4DI 24VDC P 72B Digital outputs 288 BL20 4DO 24VDC 0 5A P 72B Analog inputs current 144 BL20 2AI 1 0 4 20MA 72B Analog inputs voltage 144 BL20 2AI U 10 0 10VDC 72B Analog inputs 144 BL20 2AI PT NI 2 3 72B PT Ni Analog inputs 144 BL20 2AI THERMO PI 72B Thermocouple Analog inputs 288 BL20 4AI U I 72B voltage current Analog outputs current 144 BL20 2A0 1 0 4 20MA 72B Analog inputs voltage 144 BL20 2AO U 10 0 10VDC 72 B Counter 72 BL20 1CNT 24VDC 72B RS232 67 BL20 1RS232 67 D RS485 422 71 BL20 1RS485 422 71 SSI 72 BL20 1SSI 72B SWIRE 71 BL20 E 1SWIRE 71C Further limitations can be placed on the maximum possible number of BL20 modules by the use of the Power Feeding modules BL20 PF 24VDC D or BL20 PF 120 230VAC D these being used either for creating potential
128. ression used in electrical engineering to describe an area whose electrical potential is equal to zero at any given point In neutral grounding devices the potential is not necessarily zero and one speaks of the ground reference Ground connection One or more components that have a good and direct contact to earth D301151 BL20 PROFINET 1108 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 GSD Acronym for Electronic Device Data Sheet which contains standardized PROFIBUS DP station descrip tions They simplify the planning of the DP master and slaves Default language is English 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 fluctu ating range then the relevant output would be turned on and off in rhythm with the fluctuating signal i 1 0 Input output Impedance Total effective resistance that a component or circuit has for an alternating current at a specific frequency Inactive metal components Conductive components that cannot be touched and are electrically isolated from active metal compo nents by insulation but can
129. ront view Figure 52 C rail side view Warning AN 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 ER For information about introducing a BL20 station into a ground reference system please read Chapter 7 D301151 BL20 PROFINET 1108 6 9 Guidelines for station planning Figure 53 2DO 2DI 2DO 2DI PF 2DO 2DI 2DO 2DI Using the C rail ig E mI as a protective earth PE terminal 10 100 MBit a a H E TS Elen i 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 sup ply a further power distribution module must be used for the potential isolation to the following modules The C rail can only again be used as a PE following potential isolation Figure 54 PF 2DO 2DI 2DO 2DI PF NO NC NO NC Using the C rail as
130. rsal Asynchronous Receiver Transmitter UART is a logic circuit which is used to convert an asyn chronous serial data sequence to a parallel bit sequence or vice versa Unidirectional Working in one direction D301151 BL20 PROFINET 1108 9 Index A acyclic services sssssseeeeeeeeenn 3 37 addressing eee etienne eret ees 3 10 B base ue UC 1 6 basic concept EE 1 2 C count mode data image sss 5 2 C rail cross connection sss 6 8 D diagnosis QgateWay eter enint rne ai 3 34 documentation Concept 0 2 E electromagnetic compatibility 7 6 electronic modules sssseseeeeee 1 5 electrostatic discharge AA 7 9 EMG 7 6 end Bracket EE 1 8 end platem ensi 1 7 ESD electrostatic discharge ssss 7 9 Ethernet sens dei eds 2 3 2 4 MAC address sse 2 3 2 4 F firmware download eese 6 13 flexibility 1 2 G gateway ACCESSING eem DL 3 10 CITOF COES nonien E E 3 34 Structure NN 3 3 technical data sese 3 3 PLI c 1 3 l inductive loads protective circuit 9 J PUNTA BOP T 1 8 L Eet EE 1 9 M manufacturer identifier seesessesessess 2 3 ITial Kel S ti epit t nite eam d
131. rt open circuit DO diagnostic message is not blocked 1 Off The Short open circuit DO diagnostic message is blocked hysteresis 0 Ato 255 0 to 255 UINT Pulse duration DO1 DO2 n 2ms 0 Ato 255 0 to 255 UINT count mode 000000A continuous count 000001 single action count 000010 periodical count 000011 Reserve to 011111 gate function OA abort count proce If the counting operation is aborted counting begins dure from the load value on restart 1 interrupt count If the counting operation is interrupted the counter procedure continues on restart from the actual counter value digital input DI OA Normal 1 Inverted function DI 00 A Input 01 HW gate Hardware release 10 latch retrigger func tion when edge pos D301151 BL20 PROFINET 1108 5 11 Integration of technology modules Table 21 Designation Description Parameters for count modes Value A Default value 11 synchronization when edge pos Synchronization OA single action 1 periodical main count direction 00A None 01 Up 10 Down A In some PLCs lower count limit HWORD B the count limits one double word 8000 327681 to O SUINT If the upper or lower count limit is reached the count each consistofa 0000 A value jumps to the load value the lower count limit or Ge Low TO O hex the upper count limit depending on the coun
132. s 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 D301151 BL20 PROFINET 1108 5 3 Integration of technology modules Table 18 Control bit Meaning of the data bits process output Explanations MODE DO1 Only valid if LOAD DO PARAM 0 1 The physical output DO1 can show the status of the data bit SET DO or comparison results if CTRL_DO1 1 MODE DO 1 defines which function DO1 is to accept 00 The output DO1 shows the status of the control bit SET DO 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 Pulse duration 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 0 to 255 unit ms If the DO1 DO2 outputs are set to indicate counter status reference value 1 2 a longer pulse is sometimes required
133. s 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 4 Electronic module in slice design Figure 5 Electronic module in block design D301151 BL20 PROFINET 1108 1 5 BL20 philosophy 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 electronic and base modules Figure 6 Base module with tension clamp connec tion Figure 7 Base module with screw con nection Figure 8 Base module in block design 1 6 D301151 BL20 PROFINET 1108 BL20 components BL20 economy With the BL20 Economy modules the electronic 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 electronic connection technology provided that the base modules feature tension spring connections Figure 9 BL20 Economy Ls S End plate An end plate on the right hand side physically completes the
134. s by browsing the directories and add the BL20 PROFINET IO gateway to the hardware catalog pisi Itan co men x Install GSDML Install GSD Files Irom the directory hd file C Dokumente und Einstellungen scheuech Desktop BL67 GW EN_Profinet Browse GSDML V1 0 Turck BL67 20060108 ml 01 03 2006 V1 0 English German Install GSD file 13 4986 3 X A The installation was completed successfully Install Show Log Select All Deselect All Close D301151 BL20 PROFINET 1108 4 5 Connection of the PROFINET IO gateway to a Siemens PLC S7 The BL20 gateway can now be found under PROFINET IO Additional Field Devices gt 1 0 gt TURCK Fi gure 28 Hardware Catalog ix BL20 gateway Eind fF wat in the hardware catalo g Profile Standard Se 48 PROFIBUS DP HE PROFIBUS PA S82 PROFINET I0 Additional Field Devices 1 0 TURCK gg BL20 GW EN PN FXEN XSG16 0005 PN 1 0 CC Network Components LI Sensors SIMATIC 300 SIMATIC 400 SIMATIC PC Based Control 300 400 BR SIMATIC PC Station 6827300 Hans Turck GmbH Co KG Modular Fieldbus 10 System in IP20 GSDML V2 0 Turck BL20 2008051 6 xml PLC configuration Chose the profile rack RACK 300 for the Siemens CPU from the catalog and add it to the network window After this select the Siemens CPU from the hardware catalog In this example a CPU
135. s output data PLC RSxxx Byte mi oe E Bit 4 Bit3 Bit2 Bit1 Bto TX DB 5 TX DB 4 TX DB 3 TX DB 2 TX DB 1 TX DB 0 Reset of RX and TX buffer 6 A RXBUF TXBUF Jg FLUSH FLUSH Control byte 7 ae RX_CNT_ACK TX_CNT TX_BYTE_CNT D301151 BL20 PROFINET 1108 Integration of the RS485 422 module BL20 1RS485 422 Table 34 Designation Value Meaning Meaning of the data bits process output RXBUF FLUSH 0 1 This bit is used to flush the receive buffer 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 z 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 O 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 CONT TX CNT has been transmitted together with the last data segment of the process inp
136. s plus parity bit set to 1 is odd 2 Even The parity bit is set so that the total number of bits data bits plus parity bit set to 1 is even 3 Data bits 0 The number of data bits is 7 A The number of data bits is 8 1 4to Flow control 0 None A Data flow control is switched 5 off 1 XON XOFF Software handshake XON XOFF is switched on 2 RTS CTS Hardware handshake RTS CTS is switched on 3 reserved 2 Oto XON character 0 255 XON character This character is 7 17 A used to start the transmission of data from the data terminal device if the software handshake is active 3 0 7 XOFF character 0 255 XOFF character This character is 19 A used to stop the transmission of data from the data terminal device if the software handshake is active D301151 BL20 PROFINET 1108 3 27 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit A Default BL20 1RS485 422 setting 0 0 Oto Bittransferrate 0 reserved 4 1 300 bit s 2 600 bit s 3 1200 bit s 4 2400 bit s 5 4800 bit s 6 9600 bit s 7 14400 bit s 8 19200 bit s 9 28800 bit s 10 38400 bit s 11 57600 bit s 12 115200 bit s 13 reserved 14 reserved 15 reserved 6 Disable 1 Constant setting ReducedCtrl The diagnostic messages are shown in Byte 6 of the process input data inde pendently from Diagnosis Byte
137. s the I O AS SISTANT via Ethernet 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 IOASSISTANT ADAPTERKABEL BL20 BL67 Ident no 6827133 Commercially available PS 2 cable with adapter cable SUB D PS 2 D301151 BL20 PROFINET 1108 3 7 Technical features Connection with l O ASSISTANT connection cable Figure 18 BL20 gateway connected to PC via special cable The l 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 19 PS 2 male con nector on the connection ca ble to the gate way top view or CEN Ki Figure 20 9 pole SUB D female connec tor on the cable for connecting to PC top view 3 8 5 43 2 1 9876 D301151 BL20 PROFINET 1108 Usage of the software l O ASSISTANT Usage of the software l O ASSISTANT The software tool I O ASSISTANT should only be connected in Force Mode during the initial operation Note i A permanent connection between I O ASSISTANT and PROFINET gateway during the active process data trafic may lead to disturbances in the PROFINET communi cation D301151 BL20 PROFINET 1108 3 9 Technical features Address setting Achtung In PROFINET IO the connected device is not identified
138. sed to flush the receive buffer 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 O 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 CONT 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 transmis sion 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 CN 0 7 T Number of the valid user data in this data segment In PROFIBUS DP the data segments contain a ma
139. seeeeeeeageeeesetseeaseeeesets 1 4 Electronic MOQUl6es eroe veio roe rU a den cada EE REN e LEN Ee Ru RE CR GO RE RE EN EUR EE 1 5 Base Modules csssseccecccssssecececeeesseeeeeeeeaesececeseaeaseceeeeeeneeeeeeseneussceesetseauseseseeseaageeeeseseeaeeteseeees 1 6 BL20 ECONOMY E uv 1 7 info Plate RCRUM 1 7 EMA Bracket ranen E RENE E 1 8 JU Del EE 1 8 Marking REV CIE 1 9 Shield Connection 2 Pole for Analog Modules E 1 9 2 PROFINET IO hid e UUUUU 2 2 Distributed I O with PROFINET IO 2 2 Field Bus Integration E 2 2 Address ASSIQNIMGN EE 2 3 Ethernet MAC Addreee H 2 3 3 Technical Features FUN CUION 3 2 Technical Data seseRER KEREN EREERER KE KEN EREERERKERKEREERER KE KEN EREER KKK KEN EREER KKK EE REERER KE KEN EREEREE KE KEN 3 3 Gateway SEH EEUEEEMM 3 3 General Technical Data of a Station EE 3 4 Connection possibilities RENE REN EE EE EE neun EE EE KEE EE KEE KEE KEE KEE KEEN 3 7 Field BUS Connetti tee PEE 3 7 Power Supply via terminal block with screw Connection ssssssssssssssessssrsrrrrnsnnnsnsetrrtnnnnnnnnnenennt 3 7 Service Interface Connection female PS 2 connector 3 7 Usage of the Software l O ASSISTANT csccsceeeeee
140. settingen 0 0 Current mode 0 0 20 MAA 1 4 20 mA 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 1 to Substitute value The substitute value will be trans 2 A1 mitted if the respective parameters of the gateway have been set to output substitute value BL20 2A0 1 0 4 20MA 0 0 0 Current mode 0 0 20 mAA 1 4 20 mA 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 3 Channel K1 0 activate A 1 deactivate 1 to Substitute value The substitute value will be trans 2 A1 mitted if the respective parameters of the gateway have been set to output substitute value 1 3 0 Current mode 0 0 20 mAA 1 4 20 mA 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 3 Channel K2 0 activate A 1 deactivate 4 to Substitute value The substitute value will be trans 5 A2 mitted if the respective parameters of the gateway have been set to output substitute value D301151 BL20 PROFINET 1108 3 21 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit BL20 2A0 U 10 0 10VDC 0 0 0 Voltage mode 0 0 10 VA 1 10 410 V 1 Value 0 Integer 15 bit sign A representation 1 12 bit left justified 1 to Substitute value The substitute value will be trans 2 A1 mitted if the respective parameters of the gateway have
141. shing 1 Hz the physically connected pulled or new but not planned station modules data transfer possible LINK Off No Ethernet link Check the Ethernet connection ACT Green Link 100 Mbit s Green flashing Ethernet Traffic 100 Mbit s Yellow Link 10 Mbit s Yellow Ethernet Traffic 10 Mbit s flashing MS Green Displays the logical connection PROFINET IO controller Green flashing The gateway has received a identifica tion command from configurator Red No connection to a PROFINETIO controller established D301151 BL20 PROFINET 1108 3 33 Technical features Diagnostic messages via software The diagnostic messages are displayed in the corresponding software of the PROFINET PLC as diagnostic error codes For the meaning of the individual error codes error codes please refer to the following section Gateway diagnostic messages Table 7 Value dec Diagnostics meaning for the gateway Gateway Diagnostics Error codes 1 to 9 acc the standards 2 Undervoltage Undervoltage Channel 0 Undervoltage at Usys Undervoltage Channel 1 Undervoltage at U Error codes 16 to 31 manufacturer specific 16 Parametrization error configuration error Station configuration changed The configuration is currently deviating from the reference list of modules Process data can still be exchanged with the module bus stations which are at present connected to the module bus The const
142. t mask C Use router m C Obtain IP address from a DHCP server Identified by ol oi c DT EM Assign device name Device name TURCK BL20 default Assign Name Reset to factory settings Reset Attention Here you can also assign an application specific device name to the devices which were found Please observe that the device name assigned here has to be similar to the device name assigned to the node in the properties dialog box see Figure 28 Dialog box Properties TURCK If this is not guaranteed the PLC will not be able to clearly identify the node D301151 BL20 PROFINET 1108 4 9 Connection of the PROFINET IO gateway to a Siemens PLC S7 Configuration of the BL20 station Now the BL20 gateway is chosen from the hardware catalog and added to the configuration Select the gateway under PROFINET IO Additional Field Devices I O gt TURCK and add it to the Ethernet network Figure 35 Dh HW Config SIMATIC 300 1 Configuration BL20_PROFINET lt Select BL20 Bt Station Edit Insert PLC View Options Window Help B8x gateway Depp o T ED C3 9 le EE Eind ataj DOUR Profile Standard xi x 4E PROFIBUS DP Ei PROFIBUS PA 482 PROFINET ID TURCK Additional Field Devices vo qu T cam gg BL20 GW EN PN G FXEN XSG16 0005 PN E Gateway a vo g Network Components Ethemet 1 PROFINET IO System
143. t mode Word LWORD and the main count direction The relevant ranges are stated lower count limit LWORD B 8000 32768 to 32767 see above lower count limit 0000 A SINT 0 to 0 hex upper count limit HWORD B 0 to 0 to 32767 SINT see above lower count limit 7FFF FFFF A hh ex upper count limit LWORD B 0 to 0 to 655351 SINT see above lower count limit TFFF FFFF A hex 5 12 D301151 BL20 PROFINET 1108 Integration of the Counter Module BL20 1CNT 24VDC Diagnostics for count mode The parameter setting for the PROFIBUS DP gateway provides the Gateway Diagnostics parameter for selecting between two different diagnostics displays Choose Devices ID Channel Diagnostics to select more detailed diagnostics indication The diagnostics message will then consist of the following elements 2 bytes of gateway diagnostics device related diagnostics E 64 bits of ID specific diagnostics E nx3 bytes of channel specific diagnostics n number of channels with active diagnostics With channel specific diagnostics the use of an error number enables the type of error to be indicated in plain text e g Parameter error When Device related Diagnostics is selected an abbreviated diagnostics message is gener ated that simply shows the gateway diagnostics device related diagnostics The diagnostics bytes of all station modules are attached that support diagnostics
144. ting mode the counter module counts the pulses received from a rotary sensor within a predefined integration time 100010 period duration measurement In this operating mode the counter module measures the precise time between two rising edges of the counter signal in ms by counting the pulses of an exact internal quartz crystal reference frequency 1 MHz 100011 reserved to 111111 digital input DI OA Normal 1 Inverted function DI 00 A Input 01 HW gate Hardware release 10 to reserved 11 Designation Description Value lower limit HWORD B Lower limit for OA 0 to 255 SINT 0 to Leen 0tonj 1 0 to Kass max lower limit LWORD B OA 0 to 65 535 SINT upper limit HWORD B Upper limit for 255A 0 to 255 1 tof 1ton 1 to thax upper limit LWORD B 65535A Oto 65535 integration time n 10 ms or number of periods D301151 BL20 PROFINET 1108 5 21 Integration of technology modules Table 29 Parameters for measurement mode A Default value B n some PLCs the count limits one double word each con sist of a High Word HWORD and Low Word LWORD The relevant ranges are stated 5 22 Designation Description Value 10A 1 to 1000 Factor for forming an integration time frequency measurement and number of measured periods for determining an average perio
145. tion Edit Insert PLC View Options Window Help Ethernet node D za Eu Download Chat be Upload gil Ethernet gt Edit Ethernet Node REJE simatic 3000 pRorteus gt Slot Designation Browse the network for active network nodes identified by means of their MAC address by using the button Browse in the field Ethernet node Figure 33 EE A Browse the Mii leie Ka network r Ethernet node Nodes accessible online MAC address Browse Network 7 Nodes IP address MAC address Device type Start B 168 122 D0 D 46 0005 FC TURCI to 192 168 122 00 07 46 FF 01 00 TURCK IV Fast search Pa Ie 2 MAC address Cancel Help Reset to factory settings Close Help 4 8 D301151 BL20 PROFINET 1108 Application example Indust A All PROFINET IO nodes found in the network answer the command sending their MAC address and their device name Select a node and close the dialog with OK The features of the selected node are now shown in the in the dialog Edit Ethernet Node In this dialog the node s IP configuration or device name can be adapted if necessary for the application Figure 34 Adaptation of the Ethernet node configura tion Edit Ethernet Node Ethernet node Nodes accessible online MAC address 00 07 46 FF 01 00 Browse Set IP configuration Use P parameters Gateway IP address f Do not use router Subne
146. to 255 Unsigned8 11 0 7 Pulse duration O A to 255 Unsigned8 DO1 DO2 n 2ms 12 0 Substitute value 0 OA DO 1 1 1 Diagnostic DO1 0 onA 1 off 2 3 Function DO1 00 output A 01 on when cnt value gt ref value 10 on when cnt value lt ref value 11 pulse when cnt val ref value 5 6 Function DO2 00 output A 01 on when cnt value gt ref value 10 on when cnt value lt ref value 11 pulse when cnt val ref value D301151 BL20 PROFINET 1108 3 23 Technical features Table 5 Assigment Parameter Value Meaning Module para meters Ch Byte Bit BL20 1CNT 24VDC counter mode A Default 0 13 0 1 Signal evaluation 00 pulse and direction A settingen A B 01 rotary sensor single 10 rotary sensor double 11 rotary sensor fourfold 2 Sensor input filter 0 2 5 us 200 kHz A A 1 25 us 20 kHz 3 Sensor input filter 0 2 5 us 200 kHz A B 1 25 us 20 kHz 4 Sensor input filter 0 2 5 us 200 kHz A DI 1 25 us 20 kHz 5 Sensor A 0 normal A 1 inverted 7 Direction input B 0 normal A 1 inverted 14 0 Group 0 release A diagnostics 1 block 4 5 Behaviour CPU 00 turn off DO1 A master STOP 01 proceed with operating mode 10 DOT switch to substitute value 11 DO1 hold last value BL20 1CNT 24VDC measurement mode 0 0 0 5 Measurement 100000 frequency mode measurement A 100001 revolutions measurement 100010 p
147. tomation 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 inter face so that a line or wire breakage on the signal side does not result in undefined states in the automation 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 opera tion Emergency stop devices complying with IEC EN 60 204 1 must be effective in all oper ating 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 oper ated 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 necessary emergency stop devices should be implemented Wherever faults in the automation system may cause damage to persons or property external
148. turer specific 16 Parameterization error After a validity check the parameter data are partially rejected by the module Check the context of parameters 21 Hardware failure The module detected a hardware failure Exchange the module 22 Communication failure The module detected a communication problem at its ports e g RS232 485 422 SSI or other interface Check the connection or the function of the attached devices 23 Direction error The direction is detected to be wrong Check the parameterization or the control interface versus use case 24 User software error The module detected an user application software error Check the interop erability of the user application software revisions Reinitialize user the appli cation software of the module 25 Cold junction compensation error The module detected a defect or missing cold junction compensation 26 Sensor supply load dump The module detected a load dump at the sensor supply D301151 BL20 PROFINET 1108 3 35 Technical features Table 8 Value channel spec dec diagnostics Diagnostics 28 Common Error The module detected an error Refer to the l O module manuals for a more detailed description of possible errors Error types can depend on the operation mode and the parameterization 3 36 D301151 BL20 PROFINET 1108 Description of user data for acyclic services Industri A
149. uidelines for electrical installation Shielding of cables 7 8 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 96 The cable shield should always be connected to both sides of the respective reference poten tial 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 If the data cable is connected via a SUB D connector the shielding should never be connected via pin 1 but to the mass collar of the plug in connector The insulation of the shielded data cable should be stripped and connected to the shield rail when the system is not in operation The connection and securing of the shield should be made using metal shield clamps The shield clamps must
150. ules D301151 BL20 PROFINET 1108 6 11 Guidelines for station planning Extending an existing station Attention Please note that extensions to the station mounting further modules should be car ried out only when the station is in a voltage free state 6 12 D301151 BL20 PROFINET 1108 Firmware download Firmware download Firmware can be downloaded via the service interface on the gateway using the software tool l O ASSISTANT More information is available in the program s online help Attention A The station should be disconnected from the fieldbus when downloading Firmware must be downloaded by authorized personnel only The field level must be isolated D301151 BL20 PROFINET 1108 6 13 Guidelines for station planning 6 14 D301151 BL20 PROFINET 1108 7 Guidelines for electrical installation General notes eERRERREERRERREEREERREEREERRERREERRERREERRERREEREERREERRERREEREERREEREERREEREERRERREERRERREEREERREER ER REER KEEN 2 Cc PTT 2 Cable FOUtING e 2 Cable routing inside and outside of Cabinets AAA 2 Cable routing outside buildings seeeeeseeeeesseseeseseeeeeeeeeee nennen nennt nennen nnn 3 Pighitriing protectIon EE 3 Transmission Medja ve 4 Potential relationships cssecssesssesseneessseneeeeeenenseeenseseeeeenseseeenseeeeenseeaeeusesaeenssseseusaseeenssensenses 5 MOM
151. unter Module BL20 1CNT 24VDC Figure 40 xg Entering the upper Properties DP slave count limit as a Address D Parameter Assignment High and Low ECT Ja p arameters alue word dez Station parameters H Device specific parameters E counter mode continuous count 2 gate function abort count procedure E digital input DI normal E function DI input E 8 synchronization single action 8 main count direction none 2 lower count limit HWORD D 8 lower count limit LWORD 0 E upper count limit HWORD MER 8 upper count limit LORD 28518 SE 2 hysteresis o 2 pulse duration DO1 DO2 n 2ms 0 1 2 substitute value D01 o 2 diagnostic D01 on amp function DO1 output amp function DO2 output EA Cancel Help Setting the lower and upper measuring limits The lower measuring limit is divided as follows into a High and a Low word Convert your decimal measuring limit to hexadecimal format Example The lower measuring limit is to be 654 321 This decimal value is represented in hexadecimal format double word as 0009 FBF1 E The hexadecimal value double word is divided into a High word 0009 and a Low word FBF1 E The Low value is converted to a decimal value n the example Low word hexadecimal FBF1 D301151 BL20 PROFINET 1108 5 29 Int
152. ut data TX CNT ACK is an acknowledge for the successful transmis sion 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 CN 0 7 Number of the valid user data in this data segment In T PROFIBUS DP the data segments contain a maximum number of 6 bytes of user data D301151 BL20 PROFINET 1108 5 39 Integration of technology modules Integration of the SSI module BL20 1SSI Data image Process input data PDin 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 1SS1 viaa gateway This is transferred in an 8 byte format as follows 4 bytes 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 acknowl edgement 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
153. with a slave with an incomplete incor A rect configuration 1 Slave The bus also goes into operation with the correctly config based ured 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 Byte 2 SDmro Slave error field Activate slave diagnostics info field SD gaSx As soon as a slave on the bus sets its error bit this is indicated individually as an error depending on the parameter setting 0 ActiveA Single diagnostics is activated 1 Inactive Single diagnostics is not activated D301151 BL20 PROFINET 1108 5 53 Integration of technology modules Table 44 Designation Status Meaning of the parameter bits Byte 2 SDenn PKZwro Group error slave error Activate slave diagnostics SDegpSx As soon as only one slave on the bus sets its error bit this is indicated as a group error depending on the para meter setting O ActiveA Group diagnostics is activated 1 Inactive Group diagnostics is not activated PKZ error field Activate slave diagnostics info field DR Z As soon as a slave on the bus clears its PKZ bit this is indicated as an individual error depending on the parameter setting O ActiveA Single diagnostics is activated 1 Inactive S
154. xample parallel routed signal cables contactors and electrostatic discharges D301151 BL20 PROFINET 1108 8 1 Glossary 8 2 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 CPU Central Processing Unit Central unit for electronic data processing the processing core of the PC 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 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 German acronym for European Standard ESD Electrostatic Discharge 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 Charac teristics of a fieldbus are a high transmission security and real time behavior GND Abbreviation of ground potential 0 Ground Exp
155. ximum number of 6 bytes of user data 5 36 D301151 BL20 PROFINET 1108 Integration of the RS485 422 module BL20 1RS485 422 Integration of the RS485 422 module BL20 1RS485 422 Data image Process input data PDin The incoming data are stored in the receive buffer of the BL20 1RS485 422 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 6 byte user data E 1 byte diagnostic data E 1 status byte used to guarantee error free data transmission Figure 45 Process input Process input data RSxxx PLC data Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 ET 0 RX DB 5 1 RX DB 4 2 RX DB 3 3 RX DB 2 4 RX DB 1 5 RX DB 0 Diagnostic messages BEES ES reserved Status byte Table 33 Designation Value Meaning Meaning of the data bits process input BufOvfl 0 255 Diagnostic information correspond to the diagnostic informa FrameErr tion in the diagnosis telegram HndShErr These diagnostics are always displayed and independent to HwFailure the setting of the parameter Diagnostics PrmErr STAT 0 1 1 The communication with the data terminal equipment DTE is error free 0 The communication with the data terminal equipment DTE is disturbed A diagnostic message is generated if the param eter Diagnostics is set to 0 release The diagnostic d
Download Pdf Manuals
Related Search
Related Contents
Sima CR-200 IPL, Verts Loisirs, VL13TH92, VL13TH92A, 964770603 Service & Maintenance Manual USER MANUAL Amcor Bluetooth User's Manual REO Vendor Manual - Projec Professionals, Incorporated Tristar Cool box stand 取扱説明書 正誤表 Manuale di installazione, uso e manutenzione dei JVC DR-MV150B User's Manual Copyright © All rights reserved.
Failed to retrieve file