Home
BL20 – USER MANUAL FOR PROFIBUS-DP
Contents
1. Module Supply Nominal current consumption BL20 E 8DI 24VDC P 15mA BL20 E 16DI 24VDC P 15 mA BL20 16DI 24VDC P 45 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 10VDC 35 mA BL20 2AI PT NI 2 3 45 mA BL20 2AI THERMO PI 45 mA BL20 4AI U I 30 mA BL20 2DO 24VDC 0 5A P 32mA BL20 2DO 24VDC 0 5A N 32mA BL20 2DO 24VDC 2A P 33mA BL20 2DO 120 230VAC 0 5A 35 mA BL20 4DO 24VDC 0 5A P 30 mA BL20 E 8DO 24VDC 0 5A P 15 mA BL20 E 16DO 24VDC 0 5A P 25 mA BL20 16DO 24VDC 0 5A P 120 mA BL20 32DO 24VDC 0 5A P 30 mA BL20 1AO 1 0 4 20MA 39 mA BL20 2AO 1 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 D300458 1211 BL20 PBDP Power supply Industri A Table 6 7 Module Supply Nominal current Nominal current consumption consumption of the BL20 modules onthe module bus BL20 2RFID 30 mA BL20 E 1SWIRE 60 mA BL20 E 2CNT 2PWM 30 mA If the power supply from the module bus is not guaranteed thereby making a further Bus Refreshing module necessary the software I O ASSISTANT generates an error message when the user activates the command Station Verify Note En Bus Refreshing modules which do not supply t
2. 8 upper count limit LWORD 0 E hysteresis 0 8 pulse duration DO1 D02 n 2ms fo E substitute value DO1 fo diagnostic D01 on unction DO1 output amp function DO2 output v 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 The Low value is converted to a decimal value D300458 1211 BL20 PBDP 8 29 Integration of Technology Modules in PROFIBUS DP 8 30 E In the example Low word hexadecimal 614E 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 Low word decimal The same principle applies to the High word 20 2 22 23 2 25 26 27 28 2 210 2 212 213 214 215 Inthe example High word hexadecimal OOBC High word binary 0000 0000 1011 1100 64 128 256 512 1024 2048 4096 8192 16384 32768 24910 High word decimal 188 64 256 8192 16384 The
3. 29 BE20 4AISU sanne stenen cetera gea rho De dean davsntanntelleaate4a ada dada andante aaan enaar Le RENTE T TR AREE 31 BE20 E 8AT U EAP TINTE enenatis d eset eua aa Desi utt Pa a tpe Fn aaa 32 BLE20 1A0 1 0 4 20M Jicin nnne ates uisa han here ases nahen hang RR aacra i ned rara a a 34 BL20 2A0 1 0 4 20M A rn iiie tim a ea ein in e FEY YR RR ad 34 BL20 2A0 U 10 0 F1OVDG iiie anna anna ron ns raa nant cora aan ra dana denna CR ER RR aen aaaeaii 35 B MIU OB p 36 c BIE20 ICINTE24VDE rione rine iiem da E uter muni iden a trees Ris eM eem td IRR SEES 37 UNDE 41 BIL20 TRS 485 422 EE 43 BL2021SS Inu se a barn ea aaa Fan ee er 45 4 6 3 Module description in the electronic device data sheets GSD anneer eener ennnennnen 46 Standard module description sauna Reel 46 Module description according to type sssssssssseee emere 47 D300458 1211 BL20 PBDP 4 1 Gateways for PROFIBUS DP 4 6 4 4 7 4 7 1 4 1 2 4 8 4 8 1 4 8 2 4 8 3 4 2 Options by the descriptions of modules ee er te eee eee 47 Example of a PROFIBUS DP configuration nanne eenneennerenenenne eenen eeenseernne enne nennen ann 47 System description ete ete ie eie e HR RO E Ee RP e e a Rar a ende 48 Parameter configuration data nennen nennen nenne enne nen nennen nennen nns 49 Configuration data ie eb Et e p alas Heben 49 x D
4. Table 8 22 Designation Value Meaning Meaning of the data bits process input REG_RD_DATA 0 232 1 Content of the register to be read if REG_RD_ABORT 0 If REG_RD_ABORT 1 then REG_RD_DATA 0 REG_RD_ABORT 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 accepted 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 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 D300458 1211 BL20 PBDP 8 45 Integration of Technology Modules in PROFIBUS DP Table 8 22 Designation Meaning ofthe data bits process input Value Meaning REG_WR_AKN No modification of the data in the register bank by process output i e REG WR 0 A write job would be accepted with the next telegram of process output data handshake for data transmission to the register A modification of the register contents by a process output was initiated i e REG W
5. Industrial Automation USER MANUAL FOR PROFIBUS DP All brand and product names are trademarks or registered trade marks of the owner concerned Edition 12 2011 Hans Turck GmbH Muelheim an der Ruhr All rights reserved including those of the translation No part of this manual may be reproduced in any form printed photocopy microfilm or any other process or processed duplicated or distributed by means of electronic systems without written permission of Hans Turck GmbH amp Co KG Muelheim an der Ruhr Subject to alterations without notice Industri A Before 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 equa lization The system installer is responsible for implementing this connection Connecting cables and signal lines should be installed so that inductive or capacitive interfe rence do not impair the automation functions Install autom
6. M 6 2 Overview of the process data diagnostic parameter and configuration bytes based on an example 6 9 Power supply e 6 12 Power supply to PEST 6 12 Module bus refreshing amnesie inidan denn eenden 6 12 Creating potential QrOUPS naan coenen eeens oeennseeeenas eeens veennseecenesecenesecennseecenesecennseeenneeeenneesceneeeeennseeceneescenneescenescennene 6 16 Protecting the service interface on the gateway eese veen eeennseeeuuseeeeunseeuaneeeuuseeeuunneeeunneeenunneeennneeeen 6 18 C rail Cross connection uanasesesessennesensessnsennennennenennennennennensnnennennennennansnnennennensanennennensennennsnnsnsennsnsnnssnensennenssnsensnnsnnsnssnsensansnnsensnnennen 6 18 Direct wiring of relay modules etre titre iet eee e E AER ded ied t PE daden 6 20 Plugging and pulling electronics modules 4 eee cesse reset eene ee eene eene senes etus esas n ese sn stone tne ee 6 21 Extending an existing station csssssnsennsssnsssnnssnnssnnsnnnnsnnnssnnssunnsnnnssnnsnnnssnnnsnnnssnnssnnnsnnnssnnssnnnssnnssanssnnnsnnnee 6 22 Firmware download 6 23 Guidelines for electrical installation General notes wisccscicsivscscicascectscsvacscvecssectsssevossetonssecessenccssenccsseensseodesssesscsvoesssoessedesdssusessedncsdesaesesetessoasscostasisedses 7 2 Cabl
7. M 7 13 Two pole shield connection 4 ee eee e eere e eerte ee eene esten aste a sesta ase tans seen s eese eese aae sene eese e eese eese a ee eoaa 7 15 Integration of Technology Modules in PROFIBUS DP Integration of the counter module BL20 1CNT 24WVDGC eere secre eene eene nete nn tease n esten seen a senes eene ensen 8 2 Count modesd talmade e 8 2 Measurement mode data image nn snnusnsonuwaneoenns venus eeennsoeeuusoeeenaseeennseecennsecenns eeen eeens oecennseeeunasecennsoecanseecennseecanseecense 8 15 Guide to setting the high and low words nn anaansscaanss sonus oesenesecennseesenesecennseeenneneeeveeenneeeceneveecnnveeceneeecennveeceneeecenneee 8 27 Setting the lower and upper measuring INES naan voonnanooenanoeenuns eeens eeens eeeenaseeennseenuseeennaseeenaseecanseecensseeennseecense 8 31 Integration of the RS232 module BL20 1RS232 csussssusennssnnssnnnnennssnnssnnunsnnssnnssnnnnsnnsnnssnnunsnnssnnusnnnssnene 8 36 D ta Ma ce 8 36 Integration of the RS485 422 module BL20 1RS485 422 ness ensensennennsennennsennennsennennnensennennsenn sene 8 40 D300458 1211 BL20 PBDP iii 8 3 1 8 4 8 4 1 8 5 8 5 1 10 10 1 10 1 1 10 1 2 10 2 10 2 1 10 2 2 10 3 10 4 11 12 IBN E eR 8 40 Integration of the SSI module BL20 1SSl Leere eese eene e
8. 4 64 D300458 1211 BL20 PBDP Diagnosis BL20 4DO 24VDC 0 5A P Industri A Table 4 52 Diagnostic bit Diagnostic messages BL20 4DO byte 24VDC 0 5A P n 0 overcurrent short circuit 1 ch min BL20 16DO 24VDC 0 5A P Table 4 53 Diagnostic bit Diagnostic messages BL20 16DO byte 24VDC 0 5A P n 0 Overcurrent short circuit channel 1 4 1 Overcurrent short circuit channel 5 8 2 Overcurrent short circuit chnnel 9 12 3 Overcurrent short circuit channel 13 16 BL20 32DO 24VDC 0 5A P Table 4 54 Diagnostic bit Diagnostic messages BL20 32DO byte 24VDC 0 5A P n 0 Overcurrent short circuit channel 1 4 1 Overcurrent short circuit channel 5 8 2 Overcurrent short circuit chnnel 9 12 3 Overcurrent short circuit channel 13 16 4 Overcurrent short circuit channel 17 20 5 Overcurrent short circuit channel 21 24 6 Overcurrent short circuit chnnel 25 28 7 Overcurrent short circuit channel 29 32 BL20 E 4AO U I Table 4 55 Diagnostic bit Diagnostic messages BL20 E AO U byte A Thresholds see n 0 measurement value range error A IO manual D300717 1 2 reserved 3 overflow underflow A 4 bis 6 reserved 7 hardware failure D300458 1211 BL20 PBDP 4 65 Gateways for PROFIBUS DP BL20 1CNT 24VDC Table 4 56 Diagnostic bit Diagnostic messages BL20 1CNT byte 24VDC
9. 0 OK No error is present or diagnostics function has been deactivated via the parameter setting 1 faulty Error PKZerr Overcurrent protective circuit breaker If the parameter PKZerg 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 TYPE Configuration If the TYP pr parameter is set with group diagnostics in the parameter setting this bit indicates an error as soon as a PLC configuration check detects differing slave numbers types or position of an SWIRE slave 0 OK The PLC configuration check was positive the configuration stored in the BL20 E 1SWIRE matches the SET configuration stored in the PLC or the diagnostics function is deactivated via the parameter setting 1 faulty A mismatch was determined in the PLC configuration check U AUXERR Voltage U x If the U Auxerre parameter is activated U uxerr 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 diagnostics function has been deactivated via this parameter 1 Undervoltage Contactor supply voltage is not o k 18 VDC 8 56 D300458 1211 BL20 PBDP Integration of the SWIR
10. 224 Base modules n 2 2 5 BL20 ECONOMY ssnin 2206 ENa platenae el A E E A A eee 227 End bracket amnnansenmenmmmmnnmmtetetnmnndnt neten tenen needed PEA IMUM EEE 2 2 9 Shield connection gateway 2 2 10 Marking material eerte 2 2 11 Shield connection 2 pole for analog modules 3 PROFIBUS DP 3 1 System overview t 3 2 Zbl oMaster slave system ee een 3 2 3 1 2 System configuration and device typ S uns caansn seen seen veennsseeenaseeenen secun secenanecennsoee econ vernwnseenwanecenaneeennseeennanecenasecenen 3 2 xe 3 1 4 Maximum system exparislOT skssr uid eese reae ves greens eerte annoar edda Naaa toes ee eerte eek eer eee EEUU neues Eee ee 3 1 5 Transmission rate cycle times sneenosseonnessennurseonnessennersennensennnnsennnesennnnssennensennnensennersenenensennnnssnnnessennnnsennnessennersennnnssnenersennnerenen 3 16 Transmission cables anim tercie feet tete bee Hacen rero eee eroe ro RR vede een eier VEe Taa Saad ENSA RETTENET iEn 3 1 7 Diagnostic functions 3 1 8 Sync and Freeze mode 3 1 9 System performance En Bee Mie GS Dj CERE 4 Gateways for PROFIBUS DP 4 1 ipie Ta Te Leder RT IRURE AN UM UP MEB iC E 4 13
11. 4 70 D300458 1211 BL20 PBDP Diagnosis BL20 32DO 24VDC 0 5A P Industri A Table 4 76 Value dec Diagnostic messages BL20 32DO 24VDC 0 5A P 16 ovrcurr shrt circ gt 1 of K1 4 17 ovrcurr shrt circ gt 1 of K5 8 18 ovrcurr shrt circ gt 1 of K9 12 19 ovrcurr shrt circ gt 1 of K13 16 20 ovrcurr shrt circ gt 1 of K17 20 21 ovrcurr shrt circ gt 1 of K21 24 22 ovrcurr shrt circ gt 1 of K25 28 23 ovrcurr shrt circ gt 1 of K29 32 BL20 E 4AO U I Table 4 77 Value dec Diagnostic messages BL20 AO U I 16 measurement value range error 19 overflow underflow 23 hardware failure D300458 1211 BL20 PBDP 4 71 Gateways for PROFIBUS DP BL20 1CNT 24VDC Table 4 78 Value dec Diagnostic messages BL20 1CNT 24VDC counter mode 16 short open circuit ERR_DO 17 short circuit sensor pwr supply 18 end of counter range wrong 19 start of counter range wrong 20 invert Dl latch retr not perm 21 main count direction wrong 22 operating mode wrong 23 measurement mode Table 4 79 Value dec Diagnostic messages BL20 1CNT 24VDC measurement 16 short open circuit ERR_DO mode 17 short circuit sensor pwr supply 18 sensor pulse wrong 19 integration time wrong 20 upper limit wrong 21 lower limit wrong 22 operating mode wrong 23 measurement mode BL20 1RS232 Table 4 80 Va
12. 6 byte user data 1 byte diagnostic data 1 status byte used to guarantee error free data transmission Figure 8 5 Data image PLC input data Status byte if EZ Omm 8 36 D300458 1211 BL20 PBDP Integration of the RS232 module BL20 1RS232 Industri A Table 8 18 Designation Value Meaning Meaning of the data bits BufOvfl FrameErr 0 255 Diagnostic information correspond to the diagnostic information process input HndShErr in the diagnosis telegram HwFailure PrmErr These diagnostics are always displayed and independent to the setting of the parameter Diagnostics 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 ifthe parameter Diagnostics is set to O release The diagnostic data show the cause ofthe 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 ofthe value TX_CNT TX_CNT has been transmitted together with the last data segment of the process output data TX_CNT_ACK is an acknowledge for the successful transmission of the data segment with TX_CNT RX_CNT 0 3 This value is transferred together with every data segment The RX_CNT values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0
13. 10 10 WORD WORD gt BOOL j BOOL jp BOOL gt BOOL mij BOOL BOOL BYTE BYTE gt DWORD J 9 gt DWORD gt BYTE gt BOOL BOOL BOOL BOOL BOOL BOOL P BOOL BOOL gt BOOL mj BOOL J BOOL BOOL BOOL P BOOL BOOL gt BOOL gt BOOL BOOL gt BOOL j BOOL BOOL WORD J WORD J WORD D300458 1211 BL20 PBDP Function blocks for S7 Input variables Industri A Table 10 7 Variable Meaning Input variables of FB_SSI SSI_INPUT Start address for the 8 byte input address range of the BL20 1SSI module The SIMATIC STEP 7 software assigns the address ranges to the appropriate modules The address ranges are selected and displayed in the hardware configurator of the software WORD format is used for the addresses and therefore consists of 2 bytes Example The decimal value 258 must be transferred in hexadecimal code as W 16 102 SS OUTPUT Start address for the 8 byte output address range of the BL20 1SSI module The SIMATIC STEP 7 software assigns the address ranges to the appropriate modules The address ranges are selected and displayed in the hardware configurator of the software WORD format is used for the addresses and therefore consists of 2 bytes Example The decimal value 258 must be transferred in hexadecimal code as W 16 102 STOP 0 Request to read the
14. 4 3 2 Fieldbus connection via direct wiring only for 1 5 MBaud gateway The 1 5 MBaud gateway can be connected to the fieldbus by using either a SUB D connection or by direct wiring Two terminal strips are optionally available with tension clamp or screw connections for direct wiring Figure 4 6 Gateway 1 5 MBaud direct wiring to PROFIBUS DP When connecting to PROFIBUS DP via direct wiring the shield can be connected using a shield connection The installation of the shield connection is described in chapter 7 Note i Equipotential bonding impedance lt 1 10 shielding impedance 4 14 D300458 1211 BL20 PBDP Service interface connection 4 4 Service interface connection Industri A Two types of cable can be used to connect the service interface to a PC for the purpose of using I O ASSISTANT project planning and diagnostics software BL20 connection cable BL20 PS2 Cable E Commercially available PS 2 cable with adapter cable The pin assignments differ in these two options 4 4 1 Connection using a BL20 cable BL20 cables have a PS 2 male connector connection for female connector on gateway and a SUB D female connector connection for male connector onPC Figure 4 7 PS 2 male connector on the connection cable to the gateway 4 3 top view ae 5 2 6 1 Figure 4 8 5 4 3 2 1 9 pole SUB D female connector on the cable for eee connecting to PC y to
15. 4096 8192 16384 32768 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module measurement mode Figure 8 4 Entering the upper measuring limit as a High and Low word Address ID Parameter Assignment Properties DP slave t3 Station parameters EH Device specific parameters 2 measurement mode E lower limit WORD E upper limit LORD E integration time n 1Oms E substitute value DO1 E diagnostic DO1 E function DO1 LE signal evaluation A B sensor input filter A sensor input filter B E sensor input filter DI frequency measurement normal input 0 0 a 10 amp sensor pulses per revolution 1 0 on output pulse and direction 2 5us 200kHz 2 5us 200kHz 2 5us 200kHz Cancel Help D300458 1211 BL20 PBDP 8 35 Integration of Technology Modules in PROFIBUS DP 8 2 Integration of the RS232 module BL20 1RS232 8 2 1 Data Image Process input data PDin The incoming data are stored in the receive buffer ofthe 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
16. Danger A The grounding must never including cases of error take on a dangerous touch potential For this reason always protect the ground potential with a protective cable PE connection A central connection must be established between ground and PE connection protective earth Earth free operation Observe all relevant safety regulations when operating an earth free system 7 3 3 Protection against high frequency interference signals Attention AN In order to comply with radiation limit values in accordance with EN 55 011 2 000 the supply lines of the power distribution module BL20 BR 24VDC D for supplying the gateway with power are to be fed through a ferrite ring PS416 ZBX 405 This is to be placed immediately next to the connection terminals From there on it is not permitted to make connections to further devices D300458 1211 BL20 PBDP 7 7 Guidelines for electrical installation 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 7 5 Mounting options ui 200 mm 7 87 inch S N x x x x x x x x x x x x x N S N S N N 1 TS35 mounting rail 2 Mounting rail 3 Mounting plate 4 TS35 mounting rail 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 pain
17. 10 0 10VDC n 0 measurement value range error A channel 1 n 0 measurement value range error A channel 2 BL20 2AI PT NI 2 3 Table 4 44 Diagnostic bit Diagnostic messages BL20 2AI PT NI 2 byte 3 A threshold n 0 Measurement value range error A 1 of the posi channel 1 Underflow diagnostics in temperature measurement ranges only tive measure ment range end 1 Open circuit value B threshold 2 Short circuit B in temperature measurement ranges only 5Q loop resis tance 3to7 reserved BL20 2AI THERMO PI Table 4 45 Diagnostic bit Diagnostic messages BL20 2AI byte THERMO PI A threshold n 0 measurement value range error A 196 ofthe posi m tive measure 1 open circuit ment range end only in temperature measurement ranges value 2to7 reserved 4 62 D300458 1211 BL20 PBDP Diagnosis BL20 2AIH I Industri A Table 4 46 Diagnostic bit Diagnostic messages BL20 2AIH I byte B only in value n 0 overflow range 4 20 mA 1 wire break A wire break in the signal line short circuit short circuit in the signal line underflow HART status error A bit was set into the HART status information by the connected fieldbus device HART communication error The respective channel does not allow communication with a fieldbus device reserved BL20 4AI U I hardware failure Table 4 47 Diagnostic bit BL20 4AI U I byte Diagnost
18. All BL20 stations can be planned to accommodate the exact number of channels to suit your needs because the modules are available in block and slice design A BL20 station can contain modules in any combination which means itis possible to adapt the system to practically all applications in automated industry Compactness The slim design of the BL20 modules gateway 50 4 mm 1 98 inch slice 12 6 mm 0 49 inch and block 100 8 mm 3 97 inch and their low overall height favor the installation of this system in confined spaces Easy to handle All BL20 modules with the exception of the gateway consist of a base module and an electronics module The gateway and the base modules are snapped onto a mounting rail The electronics modules are plugged onto the appropriate base modules The base modules are designed as terminal blocks The wiring is secured by tension clamp or screw connection The electronics 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 D300458 1211 BL20 PBDP BL20 components 2 2 BL20 components For a detailed explanation of the individual BL20 components please refer to chapter 2 and chapter 4 The Appendix to this manual contains amongst others a list of all BL20 components and the assignment of electronics modules to base modules 2 2 1 Gateways The gateway connects the f
19. Fieldbus 24V 24V 24V 24V Z lt 20 20 al 7 2 2 Potential free installation In a potential free installation the reference potentials of control and load circuitry are galvanically isolated from each other A potential free installation is necessary with All AC load circuits for example when using the Power Feeding module BL20 PF 120 230VAC D E Floating DC load circuits The potential free installation does not depend on the method of grounding Figure 7 3 Potential free system and field supply TS FE FE FE FE FE FE Gateway BR module 1 0 module 1 0 module PF module 1 0 module Dc DC C rail external WA WA external external D300458 1211 BL20 PBDP 7 5 Guidelines for electrical installation 7 2 3 Non isolated installation In a non isolated installation the reference potentials of the control and load circuitry are galvanically connected Figure 7 4 Non isolated system and field supply 7 6 9 TS f E FE FE FE FE Gateway external BR module 1 0 module 1 0 module PF module 1 0 module D300458 1211 BL20 PBDP Electromagnetic compatibility EMC Industri A 7 3 Electromagnetic compatibility EMC BL20 products comply in full with the requirements pertaining to EMC regulations Nevertheless an EMC plan should be made b
20. Gateway 1 5 MBaud BL20 GW PBDP 1 5MB sssessseeeene menn nnns 11 Gateway 12 MBaud BL20 GW PBDP 12MB sssseeenn enne nnns 12 4 3 Fieldbus connections M 13 4 3 1 Fieldbus connection via SUB D female connectors ssssseeee eene 13 4 3 2 Fieldbus connection via direct wiring only for 1 5 MBaud gateway sess 14 4 4 Service interface connection ecce eee eee e eee eee eee eese ete e eee eee PPP PO etae eese PP eee ee eese PO esee eee esos PO etes ee 15 4 4 1 Connection using a BL20 cable ia bec isn lan 15 4 4 2 Connection using commercially available cables sssssee eem 16 4 5 Address setting A P 18 4 6 Setting parameters 20 4 6 1 Gateway Parameters 3 3i eee nennen EAA E 20 4 6 2 Module parameters in nn fe eade ade esu de REA ARMAR YR slaand 23 BE20 4DE NAMUR ineo er dans ea aan ERRAT CURRERE AK au Ran FIR KERN UR a aaa 23 NE LIBULeAU Ea 24 BLE20 2A1 0 4 20M A nite teha mers cn Ene ber ta enr doped dra acusa ua leds abu dr saa feces cra eaa RR nne 24 5 BE20 1AI U C10 0 E10VDGC ae a a la 25 BL20 2AI U C10 0 ALOVDC scciscsssccssceseasescdestsesesscaaaaencessateoascachsscdaissadanaedsanaaavenssashaasaadasulbensasaaaaaeis 26 si EL TANE ann ran 27 BL20 2ATHERMOSP Tee lea ee hx tee anna daalt eese sapete E EHE sanne 28 x NE E
21. 1 The command TXBUF FLUSH 1 is ignored If STATRES 0 TXBUF FLUSH 1 causes the flushing of the tranceive buffer STATRES 0 1 This bit is set to reset the STAT bit in the process input data With the change from 1 to 0 the STAT bit is reset from 0 to 1 If this bit is 0 all changes in TX_BYTE_CNT TX_CNT and RX_CNT_ACK are ignored Flushing the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is possible If this bit is 1 or with the change from 0 to 1 the flushing of the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is not possible RX_CNT_ACK 0 3 The value RX_CNT_ACK is a copy of the value RX_CNT TX_CNT has been transmitted together with the last data segment of the process input data TX_CNT_ACK is an acknowledge for the successful transmission of the data segment with RX_CNT TX_CNT 0 3 This value is transferred together with every data segment The TX_CNT values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments TX_BYTE_CNT 0 7 Number of the valid user data in this data segment In PROFIBUS DP the data segments contain a maximum number of 6 bytes of user data D300458 1211 BL20 PBDP 8 43 Integration of Technology Modules in PROFIBUS DP 8 4 Integration of the SSI module BL20 1SSI 8 4 1 Data image Process input data PDin The field input data is transferred from the connected field de
22. BL20 PBDP 4 67 Gateways for PROFIBUS DP Channel specific diagnostic messages E BL20 BR 24VDC D Table 4 60 BL20 BR 24VDC D Value dec Diagnostic messages 16 module bus undervoltage warning 18 undervoltage field supply BL20 PF 24VDC D Table 4 61 BL20 PF 24VDC D Value dec Diagnostic messages 18 undervoltage field supply BL20 PF 120 230VAC D Table 4 62 Value dec Diagnostic messages BL20 PF 120 230VAC D 18 undervoltage field supply BL20 4DI NAMUR Table 4 63 Value dec Diagnostic messages BL20 4DI NAMUR 16 overcurrent short circuit sensor 1 17 open circuit sensor 1 18 overcurrent short circuit sensor 2 19 open circuit sensor 2 20 overcurrent short circuit sensor 3 21 open circuit sensor 3 22 overcurrent short circuit sensor 4 23 open circuit sensor 4 BL20 xAI 1 0 4 20MA Table 4 64 BL2O xAl I 0 4 20MA 4 68 Value dec Diagnostic messages 16 measurement value range error 17 open circuit D300458 1211 BL20 PBDP Diagnosis Industri A BL20 xAI U 10 0 10VDC Table 4 65 Value dec Diagnostic messages BL20 xAI U 10 0 10VDC 16 measurement value range error BL20 2AI PT NI 2 3 Table 4 66 Value dec Diagnostic messages BL20 2AI PT NI 2 3 16 measurement value range error 17 open circuit 18 short circuit in temperature measurement ranges
23. D300458 1211 BL20 PBDP 5 1 Connections to automation devices 5 1 5 2 Introduction This chapter contains detailed information on how to connect a BL20 station to higher level automation devices for example programmable logic controllers PLC on PROFIBUS DP PROFIBUS DP is based on DIN 19 245 Parts 1 and 3 and has been integrated into the European fieldbus standard EN 50 170 Note ES BL20 gateways can only be used as slaves on PROFIBUS DP Gateways have no master function All manufacturers of control systems offer plug in network cards for their PLCs to which BL20 gateways can easily be connected Furthermore it is possible to use a PC as a master if it has an appropriate PC PROFIBUS card Please refer to the respective manuals supplied by manufacturers for detailed information concerning individual control systems and automation devices Connections to the Siemens Simatic S7 PLC are described Attention A The network and PC cards must comply with standards defined in PROFIBUS DP DIN 19 245 Part 3 The designations used in this manual for programmable logic controllers and software programs are registered and protected trademarks belonging to the respective manufacturer D300458 1211 BL20 PBDP Electronic device data sheets GSD Industri A 5 2 Electronic device data sheets GSD BL20 gateways are integrated into PROFIBUS structures using electronic device data sheets GSD Module Descrip
24. Errors in this sequence show the loss of data segments RX_BYTE_CNT 0 7 Number of the valid bytes in this data segment D300458 1211 BL20 PBDP 8 37 Integration of Technology Modules in PROFIBUS DP 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 1 byte containing signals to flush the transmit and receive buffer 1 control byte used to guarantee error free data transmission Figure 8 6 Process output data 7 ore oes os ncs era wes wo A Control byte STATRES RX_CNT_ACK TX_BYTE_CNT 8 38 D300458 1211 BL20 PBDP Integration of the RS232 module BL20 1RS232 Industri A Table 8 19 Designation Value Meaning Meaning of the data bits RXBUF FLUSH 0 1 This bit is used to flush the receive buffer process output If STATRES 1 The command RXBUF FLUSH 1 is ignored If STATRES 0 RXBUF FLUSH 1 causes the flushing of the receive buffer TXBUF FLUSH 0 1 This bit is used to flush the transmit buffer If STATRES 1 The command TXBUF FLUSH 1 is ignored If STATRES 0 TXBUF FLUSH 1 causes the flushing of the tranceive buffer
25. Gateway A Service interface B Type designation C LEDs for BL20 module bus D LEDs for PROFIBUS DP E PROFIBUS DP direct wiring tension clamp connection F PROFIBUS DP SUB D female connectors G Hexadecimal rotary coding switch for field bus addressing Figure 4 3 Gateway 12 MBaud A Service interface B Type designation C LEDs for BL20 module bus D LEDs for PROFIBUS DP E Hexadecimal rotary coding switch for field bus addressing 4 1 3 Connections and switches The gateways have the following connection and setup options through switches PS 2 socket This is the Service interface for the connection of the gateway to the software tool l Oassistant The user can utilize this software to parameterize and configure the BL20 stations and to perform diagnoses D300458 1211 BL20 PBDP 4 5 Gateways for PROFIBUS DP 4 6 The interface is physically implemented as a 6 pole mini DIN connector socket To make the connection to the serial interface on a PC you can use a special Moeller connecting cable or normal commercial keyboard and adapter cables Rotary hex encoding switch decimal encoding switch These are used to set the station address 9 pole SUB D socket Direct plug connection between the gateway and PROFIBUSDP In order to implement the extension through the fieldbus a special SUB D connector must be used for example Turck D9T451 4M Note i Please note that the special SUB D
26. Integration of the counter module BL20 1CNT 24VDC Industri A Table 8 3 Control bit Explanations Meaning of the data bits process output Control bit Explanations LOAD_ Parameter definition of reference value 2 CMP_VAL2 0 1 The value in bytes 0 to 3 is accepted as a reference value 2 LOAD_ Parameter definition of reference value 1 CMP_VAL1 0 1 The value in bytes 0 to 3 is accepted as a reference value 1 LOAD_ Parameter definition of Load counter in preparation PREPARE 0 1 The value in bytes 0 to 3 is accepted as the new load value LOAD_VAL Parameter definition of Load counter direct 0 1 The value in bytes 0 to 3 is accepted directly as the new count value Process input data Process input data is data from the connected field device that is transmitted via the BL20 1 CNT 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 D300458 1211 BL20 PBDP 8 5 Integration of Technology Modules in PROFIBUS DP Structure ofthe data bytes in PROFIBUS DP Table 8 4 Bit 7 5 4 3 2 1 0 PDin X reserved Byte 0 X 1 SIS SIS STIS SIS ND STS UFLWSTS OFLW CMP2 CMP1 x SYN 2 STIS X SIS SIS X SIS SIS Status UP DO2 DO1 DI GATE 3 ERR ERR X X RES ERR SIS Dia
27. PNO The PNO governs the ident nos together with the GSD files D300458 1211 BL20 PBDP 3 7 PROFIBUS DP 3 1 10 GSD files Each PROFIBUS DP module has a so called GSD file German abbr for device data base file that comprises detailed information on the module I O data volume transmission rates revision status etc This GSD file is needed to configure the station within the PROFIBUS DP system The GSD files can be downloaded via the TURCK website under www turck com 3 8 D300458 1211 BL20 PBDP Industri A 4 Gateways for PROFIBUS DP 4 1 Introduction 3 4 1 1 d en 3 4 1 2 VOTON S ete entente 3 4 1 3 Connections AMG Switches ua anni nenn kin en 5 4 2 I SnIcnicm 7 4 2 1 General technical data nnne nennen nennen nnn eene nnns nennen errasse nennen nnn 7 S OION EELEEEEEEEEUEEE RM wAAA AA 7 AD DNOWVAIS ieri beet iere etd itte a ra a a a a es TEM e dE RS 9 BASE modules er eee red EE RE Ere nee ax eei ten E FERE TERRE ekeren 9 4 2 2 Structure diagram for the gateways sssssssssseeeeeeemeemeee menn nens 9 4 2 3 Technical data for BL20 GWBR PBDP sssssssseeeene enne enne een nennen nnn nennen nnn 10 4 2 4 Technical data for BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S BL20 GW PBDP 12MB and BL20 GW PBDP 12MB STD eene nnns 11
28. Process data 1 byte DI for module bus station B 3 Module bus station 2 DI 2 0x43 0x00 0x20 0x00 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format I length follows 3 manufacturer specific bytes to follow Process data 1 byte DI for module bus station C 4 50 D300458 1211 BL20 PBDP Setting parameters Industri A Table 4 33 Module Value Configuration Data Configuration byte Offset address 4 Module bus station 4 DI 3 0x43 0x00 0x30 0x00 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format l length follows 3 manufacturer specific bytes to follow Process data 1 byte DI for module bus station D 5 Module bus station 1 Al 4 0x43 0x40 0x50 0x22 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format l length follows 3 manufacturer specific bytes to follow Process data 2 bytes Al for module bus station E 6 Module bus station 1 AO I 6 0x83 0x40 0x05 0x06 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format l length follo
29. RecData 8301h variable error wrong data type of parameter RecData 8302h variable error wrong length of parameter RecData u RETVALSFC14 see Siemens software manual RETVALSFC15 see Siemens software manual 10 6 D300458 1211 BL20 PBDP Function blocks for S7 Transmit and receive function block FBSRRSxxx The function block FBSRRSxxx is a handling block for simultaneous transmission and receive of data from the BL20 1RS232 module Figure 10 3 Transmit receive function block FBSRRSxxx D300458 1211 BL20 PBDP HH BOOL WORD BOOL WORD WORD WORD WORD 10 7 Apendix Table 10 5 Variable Meaning input variables des FBSRRSxxx EnableRecv 1 The receive of data s released 0 The receive of data s blocked EnableSend 1 The transmission of data is released 0 The transmission of data is blocked Quit 1 The error messages are reset Acknowledge of errors The communication is stopped 0 If error messages have occurred they remain valid CLRBuf Recv 1 Flushing the receive buffer is planned Flushing is always executed successfully if EnableRecv 0 and Quit 1 0 No influence on the module s function CLRBuf Send RxD K1 1 Flushing the transmit buffer is planned Flushing is always executed successfully if EnableSend 0 and Quit 1 0 No influence on the module s function Start address of the module s 8 byte input
30. Sane 3 voltage 10 10 V DC PA NE 43 parameterized 4 voltage 10 10 V DC ext range channel 1 3 5 7 The parame 5 voltage 0 10 V DC ext range terization of the second channel 8 current 0 20 mA standard is ignored 9 current 4 20 mA standard 10 current 0 20 mA PA NE 43 11 current 4 20 mA PA NE 43 12 current O 20 mA ext range 13 current 4 20 mA ext range 16 Pt100 200 C 850 C 2 wire B 17 Pt 100 200 C 150 C 2 wire 18 Pt200 200 C 850 C 2 wire 19 Pt200 200 C 150 C 2 wire 20 Pt500 200 C 850 C 2 wire 21 Pt500 200 C 150 C 2 wire 22 Pt1000 200 C 850 C 2 wire 23 Pt1000 200 C 150 C 2 wire 24 Pt100 200 C 850 C 3 wire 25 Pt100 200 C 150 C 3 wire 26 Pt200 200 C 850 C 3 wire 27 Pt200 200 C 150 C 3 wire 28 Pt500 200 C 850 C 3 wire 29 Pt500 200 C 150 C 3 wire 30 Pt1000 200 C 850 C 3 wire 31 Pt1000 200 C 150 C 3 wire 4 32 D300458 1211 BL20 PBDP Setting parameters Industri A Table 4 21 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 E 8AI U I 4PT NI 0 7 0 5 operation mode Kx 32 Ni100 60 C 250 C 2 wire 33 Ni100 60 C 150 C 2 wire 34 Ni1000 60 C 250 C 2 wire 35 Ni1000 60 C 150 C 2 wire 36 NI1000TK5000 60 C 150 C 2 wire 37 Ni1
31. Those modules that do not transmit diagnostic bytes do not appear in the diagnostic evaluation ofthe PROFIBUS DP master Those modules which are capable of diagnostics appear in the order in which they are plugged within the station Table 5 8 Module Meaning Diag Description and Byte meaning ofthe diagnosticbytes Header according to PROFIBUS DP Status of station Byte 1 standards Status of station Byte 2 Status of station Byte 3 Address of diagnostic master Byte 4 Identity number high byte Byte 5 Identity number low byte Byte 6 GW BL20 GW DP Gateway diagnostic Byte 7 byte 0 Length recognition and type of DP diagnostic GW BL20 GW DP Gateway diagnostic byte 1 gateway Byte 8 warning GW BL20 GW DP Gateway diagnostic byte 2 gateway Byte 9 error A BL20 BR 24VDC D Module diagnostic Byte 10 H BL20 2DO 24VDC 0 5A P Module diagnostic Byte 11 BL20 2DO 24VDC 0 5A P Module diagnostic Byte 12 J BL20 2DO 24VDC 0 5A P Module diagnostic Byte 13 L BL20 1Al U 10 0 10VDC Module diagnostic Byte 14 M BL20 2DO 24VDC 2A P Module diagnostic Byte 15 The diagnostic information can be queried for diagnostic evaluation by using certain configuration tools or via special manufacturer specific function block units The Siemens 57 PLC PROFIBUS DP Master evaluates the diagnostic information from the PROFIBUS DP slaves with a special function block which can be obtained directly from Siemens D300458 12
32. exchanged only with modules of an identical type Figures s Description Eile Edit Search accordingtotype BL28 2D1 22UDC P of the digital input module BL20 2DI 24VDC P Module T BL26 2DI 24UDC P 6x43 6x66 6x26 6x66 6x61 EndHodule 5 2 1 Electronic data sheet file The device data of all BL20 modules and gateways are described in the Electronic Device Data Sheets GSD files These files are available for the BL20 gateway with a 1 5 Mbaud transmission rate and the BL20 gateway with a 12 Mbaud transmission rate Note i Please note that for GSD files extension gsd the default language is English The GSD file TRCKFFOD gsd for the 1 5 Mbaud gateway and the GSD file TRCKFFOE gsd for the 12 Mbaud gateway contain for a multitude of applications sufficient data and options for projecting D300458 1211 BL20 PBDP 5 3 Connections to automation devices configuring setting parameters and diagnostics of your BL20 stations as well as further functions for example the grouping of BL20 modules of the same type to blocks The aim of creating these blocks is to save configuration bytes and at the same time increase the amount of parameters and process data transmitted via the internal module bus ten Heading of the File Edit Search GSD file for the 1 5 MBaud gateway 3 Hans Turck GmbH amp Co KG Devices BL28 GW PBDP 1 5MB BL28 GW PBDP 1 5MB S Version U2 2 Date Jan 24th 2882 Auth
33. gt Wl w w Ww N w To wj w On M a w w m m w w N N u m n m gt O al a o Jg wo a A N o 7 72 NT N gt w hex 40 41 42 43 45 46 47 48 49 4A 4B AC 4D 4E AF 50 51 52 53 54 76 77 78 79 7A 7B 7C 7D 10 23 Apendix 10 4 BL20 accessories 10 24 Labels for labeling electronics modules BL20 LABEL SCHEIBE DIN A5 sheets slice perforated laser printer 5 x 57 labels BL20 LABEL BLOCK DIN A5 sheets block perforated laser printer 5 x 6 labels Markers for labeling base modules Color markers for clear identification of the connection level on the base module strip of 6 BL20 ANBZ BL BL20 ANBZ RT BL20 ANBZ GN BL20 ANBZ SW BL20 ANBZ BR BL20 ANBZ RT BL BED BL20 ANBZ GN GE BED BL20 ANBZ WS Blue Red Green Black Brown Red blue Green yellow White Dekafix Connector markers Jumpers for relays QVR FW5 1 50 FW5 51 100 FW5 101 150 FW5 151 200 labeled 51 100 labeled 51 100 labeled 101 150 labeled 151 200 For bridging the 4th connection level 14 24 of base modules for relays BL20 QV 1 BL20 QV 2 BL20 QV 3 BL20 QV 4 BL20 QV 5 BL20 QV 6 BL20 QV 7 BL20 QV 8 1 grid 2 grid 3 grid 4 grid 5 grid 6 grid 7 grid 8 grid Coding for electronics and base modules BL20 KO 2 BL20 KO 6 BL20 KO 8 BL20 KO 9 BL20 KO 10 BL20 KO 11 BL20 DI 24VDC BL20 DO 24VDC BL20 2DO R NO BL20 2DO R NC BL20 2DO R CO
34. output modules set their outputs to 0 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 configuration 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 D300458 1211 BL20 PBDP 4 21 Gateways for PROFIBUS DP Table 4 10 Parameter name Value Meaning Gateway parameters A default settings Parameter 5 Gateway 0x00 0x00 0x00 0x00 0x00 integer data format LSB first A Data is converted to INTEL format standard format MSB first 16 bit data are transmitted with the high and low bytes reversed This parameter influences the process data diagnostics from modules activate A Diagnostic messages from the module bus stations are made known to the fieldbus master as extended diagnostics deactivate Diagnostic messages from the module bus stations will not be displayed A station diagnostic is not automatically generated along with module diagnostics station configuration do not allow changes When commissioning the BL20 station the actual list of modules must match exactly the module list planned in the configuration software ofthe master allow changes When the BL
35. 10t040kg 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 61000 4 3 and ENV 50 204 Conducted interferences induced by HF fields 10V according to EN 61 000 4 6 Fast transients Burst according to EN 61 000 4 4 Interference criteria A unrestricted operation 1 kV normal operating behavior Interference criteria B temporary interference 2 kV normal operation possible Emitted interference according to EN 50 081 2 Industry according to EN 55 011 Class A Group 1 Reliability Operational life MTBF min 120000 h Electronic modules pull plug cycles 20 Tests according to EN 61 131 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 duration 96 h device not in use Damp heat cyclic DIN IEC 68 2 30 temperature 55 C 131 F duration 2 cycles every 12 h device in use Temperature change DIN IEC 68 2 14 temperature 0 to 55 C 32 to 131 F duration 2 cycles temperature change per minute device in use Pollution severity according to IEC 664 2 EN 61 131 2 Pr
36. 230 V AC field supply in a joint potential group D300458 1211 BL20 PBDP 6 17 Guidelines for station planning 6 2 4 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 Figure 6 6 BL20 Gateway 1 5 MB with tension clamp connection 6 2 5 C rail cross connection The C rail runs through all base modules The C rail of the base modules for power distribution modules is mechanically separated thus potentially isolating the adjoining supply groups Access to the C rail is possible with the help of base modules with a C in their designation for example BL20 S4T SBCS The corresponding connection level is indicated on these modules by a thick black line The black line is continuous on all I O modules On power distribution modules the black line is only above the connection 24 This makes clear that the C rail is separated from the adjoining potential group to its left Figure 6 7 C rail front view 6 18 D300458 1211 BL20 PBDP Power supply Figure 6 8 C rail side view AD rr Danger A It is permitted to load the C rail with a maximum of 24 V Not 230 V The C rail can be used as required by the application for example as a protective earth PE In this case the PE connection of each power distribution module must be connected to the mou
37. 6 wire 1 1 connection Figure 4 12 Connection between PC and BL20 gateway using a commercially available cable A SUB D female connector T B PS 2 female con nector lt gt PS 2 male connector C PS 2 male con nector D300458 1211 BL20 PBDP 4 17 Gateways for PROFIBUS DP 4 5 Address setting The address setting for the BL20 GWBR PBDP is made through the two rotary decimal encoding switches The address setting for the gateways BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S BL20 GW PBDP 12MB BL20 GW PBDP 12MB STD in a PROFIBUS structure is made through the two rotary hex encoding switches The switches can be found beneath a cover below the service interface Figure 4 13 Hexadecimal rotary coding switches for address setting on PROFIBUS DP 4 18 Attention A A maximum of 125 addresses 001 to 125 can be allocated Each address may be allocated only once in the entire bus structure The bus addresses 000 126 and 127 must not be allocated The rotary encoding switches are marked with H for High more significant digit and L f r Low less significant digit BL20 GWBR PBDP The L switch is used to set L x 10 L 0 to 9 The H switch is used to set L x 10 H 0 to 9 Note i The ADDRESS switch on the BL20 GWBR PBDP can be used to assign addresses from 1 to 99 D300458 1211 BL20 PBDP Address setting Industri A BL20 GW xxx Th
38. 61 131 2 Current consumption on the module bus Without service without fieldbus 280 mA Without service with fieldbus 9 6 kBaud 360 mA Without service with fieldbus 1 5 MBaud 380 mA Without service with fieldbus 12 MBaud 410 mA With service without fieldbus 300 mA Maximum 430 mA Dimensions Width length height mm inch 50 6x 114 8 x 74 4 1 99 x 4 52 x 2 93 Diagnostics interface PS 2 female connector Gateway 1 5 MBaud BL20 GW PBDP 1 5MB Table 4 6 Fieldbus connection technology Gateway 1 5 MBaud 2x 9 pole SUB D female connectors 2 x LPZF tension clamp terminal blocks 5 08 5 pole or 2 x screw connections Fieldbus shield connection SCH WINBLOC Transmission speed 9 6 kBit s to 1 5 Mbit s Fieldbus termination SUB D connector Passive LWL adapters can be connected Current consumption max 100 mA 2 hexadecimal rotary coding switches with labeling for addressing D300458 1211 BL20 PBDP Gateways for PROFIBUS DP Gateway 12 MBaud BL20 GW PBDP 12MB Table 4 7 Fieldbus connection technology 1x 9 pole SUB D female connector Gateway 1 5 MBaud Fieldbus shield connection via SUB D male connector Transmission speed 9 6 kBit s to 12 Mbit s Fieldbus termination SUB D connector Passive LWL adapters can be connected Current consumption max 100 mA 2 hexadecimal rotary coding switches with labeling for addressi
39. BL20 AI I 0 4 20MA D300458 1211 BL20 PBDP BL20 accessories Industri A BL20 KO 12 BL20 AI U 10 0 10V BL20 KO 13 BL20 AO I 0 4 20MA BL20 KO 14 BL20 AO U 10 0 10V BL20 KO 16 power distribution modules 24V DC BL20 KO 17 BL20 PF 120 230VAC D Software and accessories SW I OASSISTANT l Oassistant CD ROM l O ASSISTANT KABEL BL20 BL67 l Oassistant package Mechanical accessories BL20 ABPL End plate mechanical termination of the BL20 station on the right hand side BL20 WEW 35 2 SW End bracket black mechanical fixing of the BL20 station Electrical accessories BL20 SCH 1 Shield connection for direct wiring of BL20 gateway BL20 KLBU T Shield connection for analog signals with tension clamp BL20 KLBU S Shield connection for analog signals with screw connection E PS416 ZBX 405 Ferrite ring for damping high frequency interference signals to data and supply lines Tools E BL20 ZBW2 Tension clamp operating tool D300458 1211 BL20 PBDP 10 25 Apendix 10 26 D300458 1211 BL20 PBDP Industr A 11 Glossary A Acknowledge Acknowledgment of a signal received Active metal component Conductor or conducting component that is electrically live during operation Address Identification number of e g a memory position a system or a module within a network Addressing Allocation or setting of an address e g for a module in a network Analog Infinitely varia
40. Bit BL20 1CNT 24VDC counter mode 14 0 group diagnostics 0 release A 1 block 4 5 behaviour CPU master 0 turn off DO1 A STOP 1 proceed with operating mode 2 DO1 switch to substitute value 3 DO1 hold last value The module provides the following parameter bytes in measurement mode Table 4 27 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1CNT 24VDC measurement mode A default 0 0 5 measurement mode 32 frequency measurement A settings 33 revolutions measurement 34 period duration measurement digital input DI 0 normal A 1 inverted function DI 0 input A 1 HW gate 2to4 lower limit 0 to 16 777 214 x 10 lower limit HWORD OAto 255 Unsigned8 lower limit WORD 0 A to 65535 5to7 upper limit 1 to 16 777 215 x 10 upper limit HWORD OAto 255 Unsigned8 upper limit LWORD 0 A to 65535 8to9 integration time 1 to 1 000 10 A n 10ms 10 to 11 sensor pulse per 1A to 65535 revolution D300458 1211 BL20 PBDP 4 39 Gateways for PROFIBUS DP Table 4 27 Assignment Parameter name Meaning Module parame ters Byte Bit BL20 1CNT 24VDC measurement mode 12 0 substitute value DO1 OA 1 1 diagnostic DO1 on A off 2to4 function DO1 output A outside of limit below lower limit above upper limit 13 Oto 1 signal evaluation A B pulse and direction A rotary sensor single 2 sensor input filter A 2 5 us 200kHz A 25 u
41. Connections and Switches seeders tees nanie Rea ESAN CEER aSa aeia dier eneen 4 2 MOCHIMICAl T Lr esee rir cS RT ROT ONU EC SOEIUME ADT Generaltechnical d ta eere rettet tede eet ERREUR eee Ren intr nere reete e dee itg ebe dee vede dt 42 2 Structure diagram for the gateways 4 2 3 Technical data for BL20 GWBR PBDP 4 24 Technical data for BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S BL20 GW PBDP 12MB and D300458 1211 BL20 PBDP BLE20 GW PBDP 12MBESTD 2 2 2222 22 ee Bass dee anne edn deerde 4 11 4 3 4 3 1 4 3 2 4 4 4 4 1 4 4 2 4 5 4 6 4 6 1 4 6 2 4 6 3 4 6 4 4 7 4 7 1 4 7 2 4 8 4 8 1 4 8 2 4 8 3 5 1 5 2 5 2 1 5 2 2 5 2 3 5 2 4 5 2 5 5 2 6 5 3 5 3 1 5 3 2 5 3 3 5 3 4 5 3 5 5 3 6 5 3 7 5 4 5 4 1 5 5 5 5 1 Fieldbus CONNECTIONG cccssssssssccscsscscscccsccssscscccccecsssscsssscsssccccoes Fieldbus connection via SUB D female connectors Fieldbus connection via direct wiring only for 1 5 MBaud gateway Service interface connection g 4 15 Connection using a BLE20 cables nmbs see ee aen 4 15 Connection using commercially available cables suus eaanasseonnasecensseoenaseeenns eeens eeeuuseeeenasecennseeennasecensseeeneen 4 16 Address setting lt scssiessecasscascctoseserundsoesSctestsstiossosaccetesunssesssoussoutecteseadetoustestsctestensvountextsseuetdedsousssciescuaeseaio
42. GATE 4 x 5 X 6 X 7 X MODE DO1 D300458 1211 BL20 PBDP 8 15 Integration of Technology Modules in PROFIBUS DP Structure of the data bytes in PROFIBUS DP with Lower limit or Upper limit set Table 8 10 Structure of the data bytes with BEN Lower limit or Upper limit set 0 x 1 x X reserved 2 X DO LOAD LOAD _ PARAM INTTIME LOLIMIT 3 CTRL _ RES SW_ DO1 STS GATE 4 5 6 Lower limit or upper limit 7 Structure of the data bytes in PROFIBUS DP with Integration time set Table 8 11 Bit 6 4 2 0 Structure ofthe data bytes with Byte Integration time set X reserved 2 LOAD LOAD_ INTTIME LOLIMIT 3 RES_ SW STS GATE 4 Integration time 8 16 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A Table 8 12 Control bit Explanations Meaning of the data bits process output EXTF_ ACK Error acknowledgement The ERR_DO or ERR_24Vdc error bits must be acknowledged with the control bit EXTF_ACK after the cause of the fault has been rectified This control bit must then be reset again Any new error messages are not set while the EXTF_ACK control bit is set CTRL DO1 0 The output DO1 is blocked 1 The output DO1 is released SET DOI1 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
43. Grounding of inactive metal components sese eene eee enne eene nnns 7 PE enisi 7 Eartli free operation 0 inco oe ced pe faa an Henne HR Ru Bx Fig d e a EP IE ER EH Ra ex 7 7 3 3 Protection against high frequency interference signals sssssssseeem mene 7 MOUNtING falls s ci io etr EIER EUR ORE ELEGANTER ERR Oale aaah CORR AGE KI uet RR TR RR RR ed 8 7 3 4 EMC compliant cabinet installation eee eee ennnneenneennen eene nennen 9 7 3 5 Shielding of cables itte Dae cea denten aar ran ben aans 10 7 3 6 Potential GompensatiON znne nennen aiat Be en enge 10 7 3 7 Switching inductive loads soer o tret nee aan Game ren 12 7 3 8 Protection against electrostatic discharge ESD aanne ennen eener ennneer eneen nennensnneensenerennens 12 7 4 Bus connection m 13 Hmm rer ttc 13 7 5 Two pole shield connection 11 eee e e eee eee eee eee eee eee esses esee esee esee esee esee esse sese se sees osse sssss esses Passe 14 D300458 1211 BL20 PBDP 7 1 Guidelines for electrical installation 7 1 7 1 1 7 2 General notes General Cables should be grouped together for example signal cables data cables heavy current cables power supply cables Heavy current cables and signal or data cables should always be routed in separate cable ducts or bun
44. LED DIA of these modules lights up red 6 1 4 Overview of the process data diagnostic parameter and configuration bytes based on an example The following offers an overview of the different bytes of an example station The composition of this station is described in chapter 3 of the BL20 manual Figure 6 1 2DO 2DO 2D0 2 DO Gateway BR 2DI ADI 2DI 2DI 2DI 1A0 0 5A 0 5A 0 5A 2DI 1AIU 2A Example station HE NE NE MEN NE NE NE NE NN ME NN M eoe 00 98 06 98 00 00 06 00 00 00 OG at 291 290 2yat Zur 241 291 290 Zyat 2yat 291 2 0 2 mi ml m sl mil mi ml mi I ml m mI 00 00 00 00 00 00 00 00 00 00 OE 12 22312 2212 2212 2212 2212 2212 2212 2212 2212 2212 2217 22 T Mr rur ur rm ru III uu eoe eo 00 90 00 00 HH EHI hm ee 00 EN 13 2313 2313 2313 2313 2313 2313 2313 2313 2313 2313 2313 23 E mu Gateway A B jeg D E F G lt H J K M 14 24 14 24 mm ag L 15 25 En ea 16 26 e D300458 1211 BL20 PBDP 6 9 Guidelines for station planning Overview ofthe process data and diagnostic bytes of the example station Table 6 5 BL20 Module Process data bytes Diagostic Overview of the bytes process data and UA GA diagnostic bytes of the example station Gateway 2 BL20 BR 24VDC D 0 1 BL20 2DI 24VDC P 1 1 0 BL20 4DI 24VDC P 1 1 0 BL20 2DI 24VDC P 1 1 0 BL20 2DI 24VDC P 1 0 0 BL20 2
45. Not compressed A plus 2 Bus Refreshing modules BL20 BR 24VDC D B plus 1 Bus Refreshing module BL20 BR 24VDC D D300458 1211 BL20 PBDP 6 3 Guidelines for station planning The following overview shows the maximum possible number of channels taking in to consideration the number of module specific diagnostic bytes Maximum system extension process and diagnostic data dependent Table 6 2 Channels Modules Module Maximum system description extension process inthe GSD and diagnostic file data dependent Type Max no Type Max no Type of GSD file Digital inputs 288 BL20 4DI 24VDC P 72A Standard Digital outputs 288 BL20 2DO 24VDC 2A P 72A Standard Analog inputs 78 BL20 2AI I 0 4 20MA 39A Standard current Analog inputs 78 BL20 2AI U 10 0 4 10VDC 39A Standard voltage Analog inputs 46 BL20 2AI PT NI 2 3 23B Standard PT Ni Analog inputs 58 BL20 2AI THERMO PI 29A Standard thermocouple Analog outputs 38 BL20 2AO 1 0 4 20MA 19B According to current type Analog outputs 38 BL20 2AO U 10 0 10VDC 19B Accordingto voltage type Counter 7 7 BL20 1CNT 24VDC 7B Standard RS232 interface 15 BL20 1RS232 15 Standard RS485 422 22 BL20 1RS485 422 22 Standard interface SSI interface 22 BL20 1SSI 22 Standard A plus 2 Bus Refreshing modules BL20 BR 24VDC D B plus 1 Bus Refreshing module BL20 BR 24VDC D 6 4 D300458 1211 BL20 PBDP Module arrangement on the mounting rail Industri
46. address range The software SIMATIC STEP 7 assigns the address ranges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 TxD K1 Start address of the module s 8 byte output address range The software SIMATIC STEP 7 assigns the address ranges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 RecvData Start address for storing the receive data inputs outputs flags data blocks etc MaxRecvBytes Maximum number of bytes that have to be received max 65536 bytes SendData Start address for storing the transmit data inputs outputs flags data blocks etc MaxSendBytes Maximum number of bytes that have to be sent max 65536 bytes 10 8 D300458 1211 BL20 PBDP Function blocks for S7 Industri A Table 10 6 Variable Meaning output variables of FBSRRSxxx BusyRecv 1 Data are received actually 0 No data are received at the moment RecvDataCnt Number of the received data max 65536 BusySend 1 Data are actually transmitted 0 No data tran
47. between DPM1 and the DP slaves can be divided into the phases parameterization configuration and data transfer Prior to including a DP slave in the data transfer phase the DPM1 checks during the parameterization and configuration phase whether the programmed required configuration complies with the actual device configuration This check is used to verify that the device type the format and length information as well as the number of inputs and outputs accord The user thus is securely protected against parameterization errors Additionally to the user data transfer which is automatically effected by the DPM1 it is also possible to send new parameters to the DP slaves upon request of the user Protective mechanisms In the decentralized periphery it is required to provide the system with highly effective protective functions against faulty parameterization or failure of the transmission devices PROFIBUS DP applies certain mechanisms to monitor the DP master and the DP slaves These can be described as time monitoring functions The monitoring interval is determined during system configuration Table 3 3 Protective Description Protective mecha mechanisms nisms Of the The DPM1 controls the user data transfer of the slaves via the DP master Data Control Timer Each assigned slaves has a monitoring timer of its own The timer actuates if no user data are transferred correctly during a certain time interval In this case the user is inf
48. connecting relay module roots is achieved by the use of jumpers The corresponding wiring diagram including the jumpers can be found in chapter 4 6 2 6 Direct wiring of relay modules As well as the options mentioned above relay modules can be wired directly In this case base modules without C rail connections should be chosen to guarantee the potential isolation to the adjoining modules 6 20 D300458 1211 BL20 PBDP Plugging and pulling electronics modules Industri A 63 Plugging and pulling electronics modules BL20 enables the pulling and plugging of electronics modules without having to disconnect the field wiring The BL20 station remains in operation if an electronics module is pulled The voltage and current supplies as well as the protective earth connections are not interrupted Attention If the field and system supplies remain connected when electronics modules are plugged or pulled short interruptions to the module bus communications can occur in the BL20 station This can lead to undefined statuses of individual inputs and outputs of different modules D300458 1211 BL20 PBDP 6 21 Guidelines for station planning 64 Extending an existing station Attention Please note that extensions to the station mounting further modules should be carried out only when the station is in a voltage free state 6 22 D300458 1211 BL20 PBDP Firmware download Industri A 6 5 Firmware download Firm
49. connector should include 4 inductors each 100 nH to 110 nH in the P and N leads recommendation from the PROFIBUS user organization The termination of a fieldbus cable type A or type B is also made only in the connector The BL20 gateway itself has no provision for a fieldbus termination Terminal strips The type of connection to the PROFIBUS DP fieldbus is provided by BL20 GW PBDP 1 5MB as tension spring connections and by BL20 GW PBDP 1 5MB S as screw connections Supply terminals The BL20 GWBR PBDP includes an integrated supply unit and additional terminals for connecting the E Field supply voltage U GND E System supply voltage Usys GND Other gateway variations must be supplied from a neighboring supply module BL20 BR 24VDC D Note i If the BL20 gateway is the last station in the bus structure the bus termination must be connected externally This external connection can be either realized by a separate terminating resistor or by a special SUB D connector with an integrated bus termination The exact function and mode of operation of the possible individual bus connections are explained in detail in chapter 3 D300458 1211 BL20 PBDP Technical data Industri A 4 2 Technical data 4 2 1 General technical data Station Note En The auxiliary power supply must comply with the stipulations of SELV Safety Extra Low Voltage according to IEC 364 4 41 Table 4 1 Supply
50. control the data transfer between the PLC and the BL20 1RSxxx module The transmission is realized in 8 byte format 2 bytes contain control data and 6 bytes contain user data The memory area for the transmit data and the receive data in the Siemens PLC 57 are not fixed and can be chosen by the user Depending on the PLC s performance up to 65536 data bytes can be transmitted during one transmission cycle for the consistent data transfer the system function blocks SFC14 and SFC15 from Siemens are used The transmission of the values is transparent The meaning of the error numbers can be found in the manual for the control software from Siemens Transmit function block FBSENDRSxxx The software block FBSENDRSxxx is a handling block only used to transmit data to the BL20 1RS232 module Figure 10 1 Transmit function block FBSENDRSxxx 10 2 BOOL P gt BOOL BOOL jp gt WORD BOOL mij WORD WORD gt gt WORD WORD gt gt WORD ANY gt WORD D300458 1211 BL20 PBDP Function blocks for S7 Industri A Input variables Table 10 1 Variable Meaning Input variables of FBSENDRSxxx Enable 1 The transmission of data is released 0 The transmission of data is blocked Quit 1 The error messages are reset Acknowledge of errors The communication is stopped 0 If error messages have occurred they remain valid CLRBuf_Send 1 Flushing the transmit buffer is planned Flush
51. data exchange is only started if the configuration stored in the BL20 E 1SWIRE fully matches the SET configuration stored in the PLC Modifying the bus during operation causes the system to be aborted Slave based If the PLC configuration check is activated data exchange is started with all SWIRE slaves that match the SET configuration stored in the PLC The SWIRE slaves that do not match the SET configuration stored in the PLC do not perform any data exchange MC Moeller conformance from version VN 01 04 Behavior of the BL20 E 1SWIRE in accordance with SWIRE Conformance criteria Inactive A Default behavior Active The BL20 E 1SWIRE master responds according to the Moeller SWIRE Conformance criteria Byte 2 SDinro Slave error field Activate slave diagnostics info field SDeppSx 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 Active A Single diagnostics is activated 1 Inactive Single diagnostics is not activated D300458 1211 BL20 PBDP 8 59 Integration of Technology Modules in PROFIBUS DP Table 8 31 Designation Status Meaning ofthe parameter bits A default setting SD err 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 parameter setting 0
52. data for the higher level master Information is made available to the software tool I O ASSISTANT via the service interface Note BL20 gateways can only be used as slaves When the BL20 gateway has the WAIT_PRM status it is not possible to check the parameters in the parameter telegram of the PROFIBUS DP master due to the large number of module combinations and module variants This check is performed after successful configuration by the PROFIBUS DP master in the context of the configuration 4 1 2 Versions The BL20 gateways for the PROFIBUS fieldbus system are available in 5 different versions BL20 GWBR PBDP This gateway has a maximum transmission rate of 12 MBit s The complete functionality of the BL20 GW PBDP gateways is provided The connection to the PROFIBUS DP fieldbus is made through a SUB D connector In addition a supply unit has been integrated into the gateway which means no supplementary power supply module is needed BL20 GW PBDP 1 5MB This gateway hax a maximum transmission rate of 1 5 MBit s As an alternative to the SUB D connection the PROFIBUS DP fieldbus can also be wired up through tension clamp connectors BL20 GW PBDP 1 5MB S This gateway hax a maximum transmission rate of 1 5 MBit s As an alternative to the SUB D connection the PROFIBUS DP fieldbus can also be wired up through screw terminals BL20 GW PBDP 12MB This gateway has a maximum transmission rate of 12 MBit s The connection t
53. follows for the BL20 E 1SWIRE modules Table 8 29 Bit 7 Bit 6 Bit5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SWIRE diagnostics Byte 1 GENERAL Uswerr free COM rr free RDY ggg free SWerr R Byte2 free Unuxerr TYPER free PKZepe free SDepr free TYP err field Byte3 TYP4458 TYPQ4S7 TYPQ456 TYPQ455 TYPeppS4 TYPQ453 TYPerrS2 TYPyppS1 Byte4 TYPepr TYPegg TYPegg TYPegg TYPegg TYPegg TYPegg TYPgg 59 S16 S15 S14 13 12 S11 S10 Slave diagnostics bit field Byte 5 SD ear SDear SD ear SD ear SD ear SD err SD erm SDeRR S8 S7 S6 5 S4 S3 2 S1 Byte 6 SD rr SD err SD er SD er SD ergs SD err SD err SD err S16 15 S14 13 12 11 S10 S9 PKZ field Byte7 PKZ44 58 PKZg4S7 PKZQ456 PKZeppS5 PKZerrS4 PKZennS3 PKZg4S2 PKZupS1 Byte8 PKZ PKZe r BKZ PKZerr PKZ r pez PKZerr BKZE S9 S16 15 S14 13 S12 S11 S10 8 54 D300458 1211 BL20 PBDP Integration of the SWIRE Module BL20 E 1SWIRE Industri A The following table shows the meaning of the diagnostics bits Tabelle 3 DesignationValue Meaning Meaning of diag nostics data bits Byte 1 SWere SWIRE MASTER If the physical structure of the SWIRE bus does not match the configuration stored in the BL20 E 1SWIRE this bit indicates an error 0 Data exchange The physical structure of the SWIRE bus was accepted and the SWIRE bus is in operation 1 Offline The physical structure was not accepted the SWIRE bus does not start operation
54. gateway Plug pull of identical modules v Y Plug pull of module types with identical process data lengths described by means of PROFIBUS DP identification Plug pull of module types with differing process data lengths described by means of PROFIBUS DP identification 4 6 4 Example of a PROFIBUS DP configuration D300458 1211 BL20 PBDP 4 47 Gateways for PROFIBUS DP The module description according to type is used in the following description of the process configuration and parameter setting data Figure 4 16 1Al 1A0 2D0 Example of a Gateway BR 2DI 2DI 2DI 4DI 0 5A station 2313 2303 2313 23 Gateway ee t F G 14 24 9e OC 16 26 D System description Process data are displayed in INTEL format The Motorola representation can be set using the gateway parameters Table 4 32 Module Input byte Output byte Byte Bit 7 Bit 0 Parameter address address configuration data A 0 A1 AO B 1 B1 BO c 2 C1 CO D 3 D3 D2 D1 DO E_1 4 E7 E6 E1 EO E 2 5 E15 E14 E9 E8 F 1 F7 F6 F1 FO F2 F15 F14 F9 F8 G G1 GO 4 48 D300458 1211 BL20 PBDP Setting parameters Parameter configuration data Module bus station A Not configurable Module bus station B Not configurable Module bus station C Not configurable Module bus station D Not configurable Module bus station E Bit 0 0 Current m
55. limit WORD 0 integration time n 1 Oms 10 sensor pulses per revolution E substitute value D01 0 J diagnostic DO1 fon unction DO1 output signal evaluation A B pulse and direction sensor input filter A 2 5us 200kHz sensor input filter B 2 5us 200kHz HE sensor input filter DI 2 5us 200kHz Nl Cancel Help The upper measuring limit is divided as follows into a High and a Low word E Convert your decimal measuring limit to hexadecimal format Example The upper measuring limitis to be 782 955 This decimal value is represented in hexadecimal format double word as 000B F26B E The hexadecimal value double word is divided into a High word 000B and a Low word F26B The Low value is converted to a decimal value In the example Low word hexadecimal F26B D300458 1211 BL20 PBDP 8 33 Integration of Technology Modules in PROFIBUS DP 8 34 Low word binary 1111 0010 0110 1011 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 Low word decimal The same principle applies to the High word 29 2 2 23 24 25 26 2 28 2 210 211 E In the example High word hexadecimal 000B High word binary 0000 0000 0000 1011 64 128 256 512 1024 2048 4096 8192 16384 32768 62 059 High word decimal 11 32 64
56. modules of analog input and output modules A special tension clamp operating tool BL20 ZBW5 2 is required to mount the shield connection onto the base module Figure 2 14 Shield connection 2 10 D300458 1211 BL20 PBDP Industri A 3 PROFIBUS DP 3 1 System overview w Y 2 3 1 1 Master slave System En 2 3 1 2 System configuration and device types uenuernsennnnenneennnnnnnnnnnnnnnnnnnnnennnnennnennnnnnnennnnn nenn nennen nn 2 Single master systems unser E EGER sen 2 Multi master systems sse enne en nnne nen nien niter nnne nennen 3 3 1 3 IDmbpnpe M U M 3 3 1 4 Maximum system expansion eee nnne nennen nenne nnne nen nennen nennen 3 Use Of Drop lines zessen Pete n i Da aee em en uni 3 3 1 5 Transmission rate cycle tiM S 0 0 ee nennen nennen enne enn 4 3 1 6 Transmission cables unciae pa eer oa base 4 Ca DIG EY D E 4 Installation quidelines iret eit a e t entend p e Re e E RS 5 Checking the PROFIBUS cabling sseeemmnmnmemem emen nenas 5 3 1 7 Diagnostic functions eee eaa s e Ls a ed pc BR EE e A PERRA Eee RR 5 3 1 8 Sync and Freeze mode ssssssssssssseseseseeneee nennen enn nennen nne nnne nennen nne nennen nnne nennen nas 6 Sync mode uoce a e P e a i a i a a dic
57. parameter gateway siririna 10 14 potentail groups oe aaneen eenen enen ennen 6 16 potential compensation nennen enen 7 10 power distribution seem 2 4 power supply sse enne 6 12 product overview nnnnnnnnnneneenenenneenee eeens 2 1 PROFIBUS DP decentralized periphery s sss 3 2 R RS232 process input data 8 36 process output data 8 38 RS485 422 process input data neeenenenenennnennnnnnnn 8 40 process output data 8 42 S shield connection analog modules niiair 2 10 mur apr 2 9 SSI process input data ssssssseee 8 44 process output data 8 48 station planning seem 6 1 SWIRE process input data eects ee 8 50 process output data 8 52 Symbols ise ete tate in ee 1 3 system configuration PROFIBUS DP sess 3 2 system expansion PROFIBUS DP enn 3 3 system extension oo einer terse 6 2 system overview PROFIBUS DP nere 3 2 T topology PROFIBUS DP cence 3 3 transmission cables sss 7 3 transmission rate PROFIBUS DP nnn 3 4 U sse prescribed oret tt tet ein et 1 4 Z ZOMG 2 anna nenn nn ann iE sae 9 1 12 1 Index 12 2 D300458 1211 BL20 PBDP Industrial Automation www turck com Hans Turck GmbH amp Co KG 45472 M lheim an der Ruhr Germany Witzlebenstra e 7 Tel 49 0 208 4952 0 Fax 49 0 208 4952 26
58. physical station for flashing physically connected station pulled or new but not planned 1 Hz modules Red No communication via the module Ensure that the guidelines for the flashing bus use of power distribution modules 4Hz have been observed DIA Off Gateway not transmitting diagnostic Red Gateway transmitting extended Check the individual electronics flashing diagnostic modules on the station for 1Hz diagnostic messages Check the diagnostic messages using the PLC software Red Gateway is generating statistical Check the individual electronics diagnostic modules on the station for diagnostic messages Check the diagnostic messages using the PLC software Bus Off Fieldbus not in operation Wait until firmware has been completely downloaded After completion of download hardware error replace the gateway Green Communication between gateway and PROFIBUS DP master is error free D300458 1211 BL20 PBDP Status indicators diagnostic messages gateway Industri A Table 4 34 LED Status Meaning Remedy LED indicators Red Bus error on the gateway If the gateway is the last module in the bus topology check that the PROFIBUS DP has been terminated with a terminating resistor Check if the PROFIBUS DP connector or the direct wiring connections are fitted correctly All connections must be correctly and securely fitted Check the cable to the PROFIBUS DP master for damage
59. realized in a 8 byte format structured as follows 6 byte user data 1 byte diagnostic data 1 status byte used to guarantee error free data transmission Figure 8 7 Data image PLC input data Status byte if EZ Omm 8 40 D300458 1211 BL20 PBDP Integration of the RS485 422 module BL20 1RS485 422 Industri A Table 8 20 Designation Value Meaning Meaning of the data bits BufOvfl FrameErr process input HndShErr HwFailure PrmErr 0 255 Diagnostic information correspond to the diagnostic information in the diagnosis telegram These diagnostics are always displayed and independent to the setting of the parameter Diagnostics STAT 1 The communication with the data terminal equipment DTE is error free 0 The communication with the data terminal equipment DTE is disturbed A diagnosis message is generated ifthe parameter Diagnostics is set to O release The diagnostic data show the cause ofthe 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_CNT TX_CNT has been transmitted together with the last data segment of the process output data TX_CNT_ACK is an acknowledge for the successful transmission of the data segment with TX_CNT RX_CNT 0 3 This value is transferred together with every data segment The RX_CNT values
60. 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 hardware and software and to the facility Note This sign can be found next to all general notes that supply important information about one or more operating steps These specific notes are intended to make operation easier and avoid unnecessary work due to incorrect operation D300458 1211 BL20 PBDP 1 3 About this Manual 1 3 Overview Attention AN 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 products It has been specially conceived for personnel with the necessary qualifications 1 3 1 Prescribed use Danger A The devices described in this manual must be used only in applications prescribed in this manual or in the respective technical descriptions and only with certified components and devices from third party manufacturers Appropriate transport storage deployment and mounting as well as careful operating and thorough maintenance guarantee the trouble free and safe operation of these dev
61. the data bits process output REG_WR_DATA 0 2 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 8 48 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 stated at REG_WR_ADR with REG_WR_DATA REG_WR_ADR 0 63 Address of the register to be written with REG_WR_DATA D300458 1211 BL20 PBDP Integration of the SSI module BL20 1SSI Industri A Table 8 23 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 STS_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 a
62. the product concerned D300458 1211 BL20 PBDP Integration of the SWIRE Module BL20 E 1SWIRE Industri A Process input data of SWIRE DIL slaves The following information can be transferred for SWIRE DIL slaves manufacturer Moeller E Contactor coil on off Motor protective circuit breaker off tripped on E Status of the slave online diagnostics Meaning of the 4 bit process input data on an SWIRE DIL device Tabelle 2 Bit 7 Bit 6 Bit5 Bit 4 Process input for SWIRE DIL SCx free free PKZSTx SIx The following table shows the meaning of the data bits Table 8 25 Designation Status Comment Data bits 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 Contactor coil is switched off 1 On Contactor coil is switched on PKZSTx Switch status PKZ x 0 Off The motor protective circuit breaker is off or has tripped 1 On The motor protective circuit breaker is switched on SCx Communication error slave x Setting the SCDIAGSx parameter sets the SCx bit in the process input data The information is provided as status information in the PLC for the user 0 ONLINE Sta
63. upper count limit Lower count limit f 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 therefore 8000 0000 FFFF FFFE os FFFF FFFF ew Onex The decimal value range for this SINT value is 2147483648 2 1 0 invert Dl latch retr 4 Inverting the digital input signal with the Latch Retrigger function not perm is not permissible D300458 1211 BL20 PBDP 8 13 Integration of Technology Modules in PROFIBUS DP Table 8 8 Name oferrortype Position Explanations Meaning and position ofthe data bits diagnostics main count direction 5 The value 11 for selecting the main count direction is incorrect wrong Permissible values 00 None 01 Up 10 Down operating mode 6 The value XXXX1 1 for selecting the operating mode is incorrect wrong Permissible values for count mode 000000Continuous count 000001Single action count 000010Periodical count Permissible values for measurement mode 100000 Frequency measurement 100001 Revolutions measurement 100010 Period duration measurement measurement mode 7 This message is always shown in conjunction with other diagnostics messages and indicates that measurement mode is active This message never occurs in count mode Note E Counting should not be started if there is a parameter error diagnostics bits 2 to 6 8 14 D300458 1211 BL
64. value fluctuates too quickly around the reference value D300458 1211 BL20 PBDP 8 3 Integration of Technology Modules in PROFIBUS DP Table 8 3 Meaning ofthe data bits process output 8 4 Control bit Explanations Pulse duration 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 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 virtual A output DO2 is blocked 1 The virtual A output DO2 is released SET_DO2 If CTRL_DO2 1 and the virtual A 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 indicate the status of SET DO2 CTRL DO1 0 The output DO1 is blocked 1 The output DO1 is released SET DOI1 If CTRL_DO1 1 and the physical output DO1 is set to indicate the value SET DO1 DO1 can be set and reset directly with SET DOT DO1 can be set for this function v
65. voltage auxiliary voltage General technical data station Nominal value provision for other modules 24V DC Permissible range according to EN 61131 2 18 to 30 V DC Residual ripple according to EN 61131 2 Potential isolation Yes via optocoupler Ambient conditions Ambient temperature Scis 0 to 55 C 32 to 131 F ds 25 to 85 C 13 to 185 F Relative humidity according to IEC 61 131 2 EN 50 178 Climatic tests according to IEC 61131 2 Noxious gas SO 10 ppm rel humidity lt 75 96 non condensing H5S 1 0 ppm rel humidity lt 75 96 non condensing 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 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 to IEC 1 000 shocks half sinus 25 g peak value 6 ms in 68 2 29 each case in direction per space coordinate Topple and fall according to IEC 68 2 31 and free fall according to IEC 68 2 32 D300458 1211 BL20 PBDP 4 7 Gateways for PROFIBUS DP Weight lt 10kg Height of fall 1 0 m 39 37 inch Weight
66. y Reference potential Reference potential A potential compensation cable must have the following characteristics Low impedance In the case of compensation cables that are routed on both sides the compensation line impedance must be considerably smaller than that of the shield connection max 10 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 mm2 0 025 inch2 If the cable length is greater than 200 m then a cross section of at least 25 mm2 0 039 inch2is required 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 Figure 7 8 Potential compensation between g s a switchgear i F Vooo l F Veoh cabinets i Potential compensation D300458 1211 BL20 PBDP 7 11 Guidelines for electrical installation 7 3 7 Switching inductive loads In the case of inductive loads a protective circuit on the load is recommended 7 3 8 Protection against electrostatic discharge ESD Attention Electronics modules and base modules are at risk from electrostatic discharge when disas
67. 00 60 C 250 C 3 wire 38 Ni100 60 C 150 C 3 wire 39 Ni1000 60 C 150 C 3 wire 40 Ni1000 60 C 250 C 3 wire 41 NI1000TK5000 60 C 150 C 3 wire 48 resistance O 250 Q 49 resistance O 400 Q 50 resistance O 800 51 resistance 0 1000 Q 52 resistance O 2000 Q 63 deactivate 6 value representation Kx 0 Integer 15Bit sign A 1 12Bit left justified 7 diagnostics Kx 0 release A 1 block D300458 1211 BL20 PBDP 4 33 Gateways for PROFIBUS DP BL20 1A0 1 0 4 20MA The module provides the following parameter bytes per channel Table 4 22 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1AO I 0 4 20MA A default 0 0 current mode 0 0 20mA A settings 1 4 20mA 1 value representation 0 Integer 15Bit sign A 1 12Bit left justified 1 2 2 substitute value A1 The substitute value will be transmitted if the respective parameters of the gateway have been set to output substitute value BL20 2AO I 0 4 20MA The module provides the following parameter bytes per channel Table 4 23 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 2AO I 0 4 20MA A default 0 3 0 current mode 0 0 20MA A settings 1 4 20mA 1 value representation 0 Integer 15Bit sign A 1 12Bit left justified 3 channel Kx 0 activate A 1 deactivate 1 2 substitute value Ax The
68. 00458 1211 BL20 PBDP 6 11 Guidelines for station planning 6 2 Powersupply 6 2 1 Power supply to the gateway Note i On a BL20 station including a gateway without integrated power supply unit the first module to be mounted after the gateway is a Bus Refreshing module with either a BL20 P3x SBB or a BL20 P4x SBBC base module with tension clamp or screw connection 6 2 2 Module bus refreshing The number of BL20 modules that can be supplied by the gateway or a seperate Bus Refreshing module via the internal module bus depends on the respective nominal current consumption of the individual modules on the module bus Attention AN The sum total of the nominal current consumption of the connected BL20 modules must not exceed 1 5 A The following examples show the calculation for the required number of Bus Refreshing modules Example 1 The BL20 station consists of 20 BL20 1AI 1 0 4 20MA modules The number of additional Bus Refreshing modules required is calculated as follows Gateway 430 mA 20 BL20 1AI I 0 4 20MA 20x41 mA 820 mA Total 1250 mA Maximum permissible current via module bus 1500 mA The calculation shows that no further Bus Refreshing module is required 6 12 D300458 1211 BL20 PBDP Power supply Industri A Example 2 The BL20 station comprises 15 BL20 1Al 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 modul
69. 1 Byte 1 Byte 1 Byte 3 Byte Compressed standard description 2 Bits 12 Bits 2 Bits 1 Byte Compressed description according to 2 Bits 12 Bits 2 Bits 1 Byte type Example 2 Table 5 2 Module Module No Total of process Number of description data bytes process data bytes for 5 BL20 2DI 1 2 3 4 5 24VDC P modules Not compressed 1 Byte for each module 5 Bytes Compressed 2 Bits for each module 2 Bytes standard description Compressed 2 Bits for each module 2 Bytes description according to type Compressed 1 Byte 2 Bits 2 Bytes description according to type multiple module blocks D300458 1211 BL20 PBDP 5 5 Connections to automation devices 5 2 3 Example of compressing module process data When using modules that are grouped together by the software certain conditions have to be met These are explained by the following example Figure 5 4 Example of a BL20 station Gateway BR 2DO 2DO 2DO 2DO 4DI 2DI 2DI 2DI 1A010 5A 0 5A 0 5A 2DI 1AIU 2A Gateway A 23 13 2313 2313 2313 A JL 1 D a D E F G H l J 95 An overview of possible configuration options for the depicted BL20 station are shown in the following tables The entries in the columns Module and Module mean E Module Order of modules non compressed compressed module block E Module Order of modules in the mod
70. 11 BL20 PBDP 4 41 Gateways for PROFIBUS DP Table 4 28 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1RS232 Stop bits 1 stop bit 2 stop bits A 1 to2 Parity None Odd A The parity bit is set so that the total number of bits data bits plus parity bit set to 1 is odd Even The parity bit is set so that the total number of bits data bits plus parity bit set to 1 is even Data bits The number of data bits is 7 A The number of data bits is 8 4to5 Flow control None A Data flow control is switched off XON XOFF Software handshake is switched on RTS CTS Hardware handshake is switched on 2 0to7 XON character XON character This character is used to start the transmission of data from the data terminal device if the software handshake is active 4 42 D300458 1211 BL20 PBDP Setting parameters Industri A BL20 1RS485 422 The module provides the following parameter bytes Table 4 29 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1RS485 422 A default 0 Oto4 bit transfer rate 1 300 Bit s settings 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 6 Disable ReducedCtrl 1 Constant setting The diagnostic m
71. 11 BL20 PBDP 5 17 Connections to automation devices 5 5 Example of diagnostics with a Siemens S7 400 PLC The software STEP 7 version 5 0 2 0 from Siemens is used in our example to describe diagnostic messages in the PLC S7 400 The make up of the station corresponds to the BL20 station described in the Section Connection to a Siemens S7 PLC in this chapter Note The device related diagnostic format is used in this example That means the gateway diagnostic bytes and the diagnostic bytes for all modules of the BL20 station are decripted which are capable for diagnostics The variables table VAT1 is used to display the diagnostic messages Note The function block unit FB99 which is available from Siemens has to be programmed in the PLC program before using the variables table VAT1 DB99 is used here as the instance DB Figure 5 13 Diagnostics Table Edit Insert PLC Variable View Options Window Help description inthe Diele S Es e zl lele x Glee wl ln wl software STEP7 uz table of variables Monitor Value Modify Value VATI DB101 DBU 2 0000_0000_0000_0000 2 0000 o000 0000 0000 DB101 DEW 2 0000 0100 0000 0010 240000 0000 0000 0000 DB9S DEB 2072 B 16 08 DB99 DBB 2073 B 16 0C DB99 DBB 2074 i B 16 00 DB99 DBB 2075 B 16 02 DE99 DBB 2076 B 16 02 DB99 DBB 2077 B 16 B2 DB99 DBE 2078 B H16 0C DB9S DEB 2079 2 0000_0000 DB9S DEB 2080 2 0000_o000 DB9S DEB 2081 2 0000_o000 DB99 DBB 20
72. 1211 BL20 PBDP 10 11 Apendix Output variables Table 10 8 Variable Meaning Output variables FB_SSI REG_RD_DATA Read data at the register with the address stated at REG_RD_ADR if access is successful REG_RD_ABORT 0 REG_RD_ADR_STAT Return the register address for the read data REG_RD_DATA REG_RD_ABORT 1 Reading of register with the address stated at REG_RD_ADR ould not be executed successfully The operation was aborted 0 Reading of register with the address stated at REG_RD_ADR was executed successfully The read data is shown at REG_RD_DATA REG_WR_AKN 1 Writing of the register was requested with REG_WR 1 in the previous cycle Another write request with REG_WR 1 is not accepted This value returns to 0 when REG WR O 0 A write request with REG WR 1 is accepted This value then changes to 1 A further write request is ignored REG WR ACEPT STS CMP1 1 Writing of register with the address stated at REG WR ADR was executed successfully 0 Writing of register with the address stated at REG WR ADR was not executed successfully 0 A comparison of the register contents has produced the following result REG SSI POS REG CMP1 1 A comparison of the register contents has produced the following result REG SSI POS REG CMP1 FLAG CMP1 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP1 since the last reset 1 Th
73. 14 D300458 1211 BL20 PBDP Connection to a Siemens S7 PLC 5 3 5 Configuring the BL20 station To configure your BL20 station place the required module into the list of the corresponding station from the hardware catalog using the drag and drop feature The list is opened by clicking on the appropriate BL20 station Figure 5 12 GHW Config SIMATIC 300 1 Configuration BL20 m x Selecting a BL20 B Station Edit Insert PLC View Options Window Help 81 x module D zm g Su sl Br dll af 8 xj Hardware Catalog Profile Standard m T BL20 2D0 24VDC 0 54 P 2 T BL20 2D0 24VDC 0 54 P 3T BL20 2DO 24VDC 0 5A P PROFIBUS 1 DP Maste me 3 4 T BL20 2DO 24VDC 0 5A P P 5 BL20 2D0 24VDC 24 P T BL20 2DO 24VDC 2A P 2 T BL20 2DO 24VDC 2A P 4 BL20 Gw PBDP 1 5M Slot Module Order Number T BL20 BR 24VDC D 67 T BL20 201 24VDCP T BL20 4DI 24VDCP T BL20 2DI 24VDC P 3 T BL20 2DI 24VDCP 258 257 jo Selecting Hardware MOD 4 5 3 6 Setting parameters for BL20 modules If BL20 modules are entered whose parameters can be set it is possible to open the dialog box with the relevant options by double clicking the corresponding module The parameters of the individual BL20 modules are described in chapter 4 5 3 7 Error diagnostics station diagnostics when connected to a Siemens S7 PLC SIMA
74. 2 3 Creating potential groups nanne vennen nee envenenensneenneerseenereneerennnennneenenenveenveneneensnensneenneennn 16 6 2 4 Protecting the service interface on the gateway unsnssenssennsennsnnsnnennnnennnennnnnnnnennnn nenn nennen 18 6 2 5 C rail Cross connection eee nennen nnne nennen rennen n 18 6 2 6 Direct wiring of relay modules onem nh eee cec i t Hk d 20 6 3 Plugging and pulling electronics modules ecce e eee eee es ee eene eee e eee een nose esses esee tasso osse esee eee enno 21 6 4 Extending an existing station oasssssesssssnnunnnnnnsnnunnnnnsnnunnnnnnnnnnunnnnnssunnnnnnsnnnnnnsnsssunnnnnnnsnnnsnnnsssssenne 22 6 5 Firmware download 23 D300458 1211 BL20 PBDP 6 1 Guidelines for station planning 6 1 6 1 1 6 1 2 6 1 3 6 2 Module arrangement on the mounting rail Random module arrangement The arrangement of the I O modules within a BL20 station can basically be chosen at will Nevertheless it can be useful with some applications to group certain modules together Note The mixed usage of base modules with screw connections and base modules with tension clamp connections requires a futher power supply module to be mounted Thereby it must be ensured that the base modules are fitted with the same connection technology screw or tension clamp as the power supply module Complete planning The planning of a BL20 stati
75. 20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A 8 1 2 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 The current count operation is stopped if parameters are changed during the measuring H operation Note The parameters modified via the process output data are not retentive The commissioning after a power failure is based on the parameter data of the configuration tool or default configuration The data is transferred in 8 byte format E The first 2 bytes are not yet assigned E Two control bytes contain the control functions for transferring the parameter values for starting stopping the measurement for acknowledging errors and for resetting the status bit E Four bytes 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 DOT set Table 8 9 Structure of the data bytes with Function of DO1 set X reserved Bit 7 6 5 4 3 2 1 0 Byte X 1 X 2 LOAD LOAD LOAD LOAD is x z En i INTTIME UPLIMIT LOLIMIT 3 EXTF_ X X CTRL_ SET_ RES_ X SW ACK DO1 DO1 STS
76. 20 station is put into operation by the fieldbus master the actual list of modules can differ slightly from the list of modules planned in the configuration software of the master Free slots existin the actual configuration where modules have been planned These free slots are reserved for the planned modules Modules are mounted in the actual configuration where free slots have been planned These modules will be ignored by the gateway O ASSISTANTForceMode release A l O ASSISTANTcan set the force mode block l O ASSISTANTcannot set the force mode if the station was parameterized by the DP master 4 22 D300458 1211 BL20 PBDP Setting parameters Industri A Table 4 10 Parameter name Value Gateway parameters A default settings Meaning gateway diagnostics device related diagnostics A The device related diagnostic format is used 2 bytes gateway diagnostics diagnostic bytes for all modules of the station which are capable for diagnostic dev identifier channel diagn The device identifier and channel related diagnostic format according to PROFIBUS standard is used 2 bytes gateway diagnostic 1 diagnostic bit for each connected module active diagnostic blocks for the modules of the station which are capable for diagnostic 4 6 2 Module parameters BL20 4DI NAMUR D300458 1211 BL20 PBDP 4 23 Gateways for PROFIBUS DP The module prov
77. 3 1 5 Transmission rate cycle times The transmission rate set by the PROFIBUS DP master determines the system s transmission speed Depending on the gateway the transmission speed can be adjusted in a range of 9 6 kbps up to 12 Mbps 3 1 6 Transmission cables The bus nodes are interconnected via fieldbus cables which accord to RS485 specifications and DIN19 245 The cables must thus have the following characteristics Table 4 Parameters Cable type A DIN 19 245 part 3 Characteristics of PROFIBUS DP Wave resistance 135 to 165 Q 3 to 20 MHz transmission cables Capacitance 30 pF km Loop resistance 110 O km Conductor diameter 0 64 mm Conductor cross section 0 34 mm Terminating resistors 2200 Attention The higher the transmission rate the higher the number of bus nodes and the longer the transmission cables the more important to observe these parameters Figure 3 1 Shield inside Vp Schematic Twisted cable pair PROFIBUS DP cables PP Rt terminating 1 resistor GND 3 4 ante ae esse ee eg Cable types The bus cable ofthe PROFIBUS DP network is a special shielded twisted data cable according to RS485 standards The data transmission rate is 12 Mbps max Note En Premoulded PROFIBUS DP cables simplify network installation shorten set up times and reduce wiring errors TURCK offers an extensive and varied product spectrum for this purpose The ordering
78. 4 E Mail more turck com Internet www turck com D300458 1211
79. 405 This is to be placed immediately next to the connection terminals From there on it is not permitted to make connections to further devices 6 2 3 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 A Ensure that the correct base modules are planned for when using Bus Refreshing modules 6 16 D300458 1211 BL20 PBDP Power supply Figure 6 4 Gateway 2DI NO Al 2DO 2DI PF 2DO Al 2DI NO Example for creating potential groups with BL20 GWBR PBDP EIJ 6 0G 14 2414 24 E Field supply Potential group 1 Potential group 2 System supply Figure 6 5 Gateway BR 2DO 2DI 2DO 2DI PF 2DO 2DI 2DO 2DI Example for creating potential groups with BL20 GW PBDP 1 5MB 13 meen Dabe d D2be 2l Potential group 1 i Potential group 2 Note i The system can be supplied with power independent of the potential group formation described above When using a digital input module for 120 230 V AC it should be ensured that a potential group is created in conjunction with the Power Feeding module BL20 PF 120 230VAC D Attention A It is not permitted to use the modules with 24 V DC and 120
80. 58 1211 BL20 PBDP 8 21 Integration of Technology Modules in PROFIBUS DP Table 8 16 Designation Description Parameters for measurement Value modes A Default value measurement mode 100000A frequency The module counts the pulses received within a specified measurement integration time 100001 revolutions In this operating mode the counter module counts the pulses measurement received from a rotary sensor within a predefined integration time 100010 period duration In this operating mode the counter module measures the precise measurement 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 00A Input 01 HW gate Hardware release 10 to reserved 11 lower limit HWORD B Lower limit for OA 0 to 255 SINT 29 fnac T 2 O to Nacl 0 to tmax l lower limit LWORD B OA 0 to 65 535 SINT upper limit HWORD B Upper limit for 1 to fmax 255A Oto255 e 1 to Nmax 1tot max upper limit LWORD B 65 535 A 0 to 65 535 integration time n 10 ms or number of periods 8 22 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A Table 8 16 Parameters for measurement modes A Default value Designation Descr
81. 8 Output BL20 1RS485 422 8 Input 1 8 Output BL20 1SSI 8 Input 1 8 Output A With compressed module description as follow up module 2 bytes B With compressed module description as follow up module 4 bytes 6 6 D300458 1211 BL20 PBDP Module arrangement on the mounting rail Industri A Overview of the parameter and configuration bytes Table 6 4 BL20 module Module description Overview of the parameter and Standard According to type configuration 3 7 7 7 bytes Parameter Configuration Parameter Configuration bytes bytes bytes bytes Gateway 5 0 5 0 BL20 BR 24VDC D 0 4 BL20 PF 24VDC D 0 4 BL20 PF 120 230VAC D 0 4 BL20 2DI 24VDC P 1 1A 0 5B BL20 2DI 24VDC N 1 1A 0 5B BL20 2DI 120 230VAC 1 1A 0 5B BL20 4DI 24VDC P 1 1A 0 5B BL20 4DI 24VDC N 1 1A 0 5B BL20 16DI 24VDC P 1 1A 0 5B BL20 32DI 24VDC P 1 1A 0 5B BL20 1AI I 0 4 20MA 2 1 1 5 BL20 2AI I 0 4 20MA 3 1 2 5 BL20 1AI U 10 0 10VDC 2 1 1 5 BL20 2AI U 10 0 10VDC 3 1 2 5 BL20 2AI PT NI 2 3 5 1 4 5 BL20 2AI THERMO PI 3 1 2 5 BL20 2DO 24VDC 2A P 1 1A 0 5B BL20 2DO 24VDC 0 5A P 1 1A 0 5B BL20 2DO 24VDC 0 5A N 1 1A 0 5B BL20 4DO 24VDC 0 5A P 1 1A 0 5B BL20 16DO 24VDC 0 5A P 1 1A 0 5B BL20 1AO 1 0 4 20MA 4 1 3 5 BL20 2AO 1 0 4 20MA 7 1 6 5 BL20 2AO U 10 0 10VDC 7 1 6 5 BL20 2DO R NC 1 1A 0 5B BL20 2DO R NO 1 1A 0 5B BL20 2DO R C
82. 8 1211 BL20 PBDP 9 1 BL20 Approvals for Zone 2 Division 2 9 2 D300458 1211 BL20 PBDP Industri A 10 Apendix 10 1 Function blocks for S7 sscesccscsscecscccecsesescesssccccsccsocsscoccsssevsccsccovescccsscsscsccesccossecsesccescccescesescoescccsescscccosess 2 10 1 1 Function blocks for BL20 IRSXXX nan enoenrnerreerrrsrsesenvenenenenensenensnsensennvenenere vererven rrr b e nnn 2 Transmit function block FBSENDRSYXXX eeeeeemeemeenenenenene nennen nene reri e e e nnns 2 Receive function block FBRECVRSXXX eeeeee emere nnne ere t n n ee e nene nn 4 Transmit and receive function block FBSRRSXXX eneen emere ener nennen nennen 7 10 1 2 Function block for BL20 1SSl eneen a a nennen nnn e n nnn 10 Input variables 11 10 2 Parameter gateway assignment in hexadecimal format ssssssssnnnssssssunnnsnssennnnnnssnnnnnssnnnunnee 14 102 Parameter RR ETT eneen E E E aaa 15 10 2 2 Parameter Sandee ene ereen dE 18 10 3 Conversion table decimal to hexadecimal osssessssesssnusseenssnensnnonennnssnonsnnnnsnnnnsnnnsnnonsnsnssensenessennee 23 10 4 LIBIORETLLDID LENITER 24 D300458 1211 BL20 PBDP 10 1 Apendix 10 1 Function blocks for S7 Function blocks are available for the data transfer between the technology modules and the Siemens PLC S7 10 1 1 Function blocks for BL20 1RSxxx The function blocks FBSENDRSxxx FBRECVRSxxx and FBSRRSxxx
83. 82 2 0000_o000 DB99 DBB 2083 280000 0000 DB99 DBB 2084 2 0000_o0000 DB99 DBB 2085 2 0000 0000 DBSS DBB 2086 2 0000 0000 5 18 D300458 1211 BL20 PBDP Example of diagnostics with a Siemens S7 400 PLC Industri A The operands in the left column have the following meaning Table 5 9 Operands legend Operand Status value Meaning DB101 DBW 0 PLC internal information DB101 DBW 2 PLC internal information DB99 DBB 2072 B 16 08 Station status byte DB99 DBB 2073 B 16 0C Station status byte DB99 DBB 2074 B 16 00 Station status byte 3 DB99 DBB 2075 B 16 02 Address of diagnostic master DB99 DBB 2076 B 16 02 Identity number high byte DB99 DBB 2077 B 16 B2 Identity number low byte DB99 DBB 2078 B 16 0C Gateway diagnostic byte 0 Length recognition and type of DP diagnostic DB99 DBB 2079 2 0000_0000 Gateway diagnostic byte 1 gateway warning DB99 DBB 2080 2 0000_0000 Gateway diagnostic byte 2 gateway error DB99 DBB 2081 2 0000_0000 Diagnostic byte module 1 DB99 DBB 2082 2 0000_0000 Diagnostic byte module 2 DB99 DBB 2083 2 0000_0000 Diagnostic byte module 3 DB99 DBB 2084 2 0000_0000 Diagnostic byte module 4 DB99 DBB 2085 2 0000_0000 Diagnostic byte module 5 DB99 DBB 2086 2 0000_0000 Diagnostic byte module 6 The in grey highlighted operands correspond to the standard header of PROFIBUS DP standards The diagno
84. A The following table offers an overview of the process data diagnostic parameter and configuration bytes of the individual BL20 modules Overview of the process data and diagnostic bytes Table 6 3 BL20 Module Process data bytes Diagnostic bytes verview of the process data and Not Compressed as diagnostic bytes compressed follow up Gateway 2 BL20 BR 24VDC D 0 1 BL20 PF 24VDC D 0 1 BL20 PF 120 230VAC D 0 1 BL20 2DI 24VDC P 1 0 0 BL20 2DI 24VDC N 1 0 0 BL20 2DI 120 230VAC 1 0 0 BL20 4DI 24VDC P 1 0 0 BL20 4DI 24VDC N 1 0 0 BL20 16DI 24VDC P 2 0 BL20 32DI 24VDC P 4 0 BL20 1AI I 0 4 20MA 2 1 BL20 2AI I 0 4 20MA 4 2 BL20 1Al U 10 0 10VDC 2 1 BL20 2AI U 10 0 10VDC 4 2 BL20 2AI PT NI 2 3 4 2 BL20 2AI THERMO PI 4 2 BL20 2DO 24VDC 2A P 1 0 1 BL20 2DO 24VDC 0 5A P 1 0 1 BL20 2DO 24VDC 0 5A N 1 0 1 BL20 4DO 24VDC 0 5A P 1 0 1 BL20 16DO 24VDC 0 5A P 2 1 BL20 1AO 1 0 4 20MA 2 0 BL20 2AO 1 0 4 20MA 4 0 BL20 2AO U 10 0 10VDC 4 0 BL20 2DO R NC 1 0 0 BL20 2DO R NO 1 0 0 BL20 2DO R CO 1 0 0 D300458 1211 BL20 PBDP 6 5 Guidelines for station planning Table 6 3 BL20 Module Process data bytes Diagnostic bytes verview ofthe process data and Not Compressed as diagnostic bytes compressed follow up BL20 1CNT 24VDC 8 Input 1 8 Output BL20 1RS232 8 Input 1
85. A LED indicated that the gateway was generating an extended diagnosis The normal status was restored by replugging the pulled electronics module Interruption of the field voltage Figure 5 16 Di agno si s wh en Table Edit Insert PLC Variable View Lene Window Help EON a oela Sl Hel e slee wel amp Jae lef o lol xl to the field is Nodify interrupted DB100 DBW D 280000 0000 0000 0000 D300458 1211 BL20 PBDP DB100 DBW DB99 DBB 2072 DB99 DBB 2073 DB99 DBB 2074 DB99 DBB 2075 DB99 DBB 2076 DB99 DBB 2077 DB99 DBB 2078 DB99 DBB 2079 DB99 DBB 2080 DB99 DBB 2081 DB99 DBB 2082 DB99 DBB 2083 DB99 DBB 2084 DB99 DBB 2085 DB99 DBB 2086 2 280000 0000 0000 0000 Diagnostics DIAG DAT NORM i1 B 16 08 Diagnostics DIAG DAT NORM 2 Diagnostics DIAG DAT NORM 3 Diagnostics DIAG DAT NORM 4 Diagnostics DIAG DAT NORM S Diagnostics DIAG DAT NORM 6 i Diagnostics DIAG DAT NORM 7 Diagnostics DIAG DAT NORM 8 Diagnostics DIAG DAT NORM S9 DIAG DAT NORM 10 B 16 0C B 16 00 B 16 01 B 16 02 B 16 B2 B 16 05 zgoaoo ooo A 2 0000_0000 2 0000 0100 B 2 0000_0000 2 0000_oooo 2 0000_0000 280000 0000 2 0000 0000 Diagnostics Diagnostics Diagnostics DIAG DAT NORM 11 DIAG DAT NORM 12 Diagnostics DIAG DAT NORM 13 Diagnostics DIAG DAT NORM 14 Diagnostics DIAG DAT NORM 15 A Gateway diagnostic byte 1 bit 0 Module diag
86. Active A Group diagnostics is activated 1 Inactive Group diagnostics is not activated PKZineo PKZ error field Activate slave diagnostics info field PKZepgSx As soon as a SWIRE DIL slave on the bus clears its PKZ bit this is indicated as an individual error depending on the parameter setting 0 Active A Single diagnostics is activated 1 Inactive Single diagnostics is not activated PKZerr Group PKZ error field Activate slave diagnostics PKZ p 5x As soon as only one SWIRE DIL slave on the bus clears its PKZ bit this is indicated as an error depending on the parameter setting 0 Active A Group diagnostics is activated 1 Inactive Group diagnostics is not activated TYPE Nro 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 A Single diagnostics is activated Inactive Single diagnostics is not activated TYPEerR Group configuration error field Activate slave diagnostics TYPE p25x As soon as only one slave on the bus is incorrectly configured this is indicated as an error depending on the parameter setting Active A Group diagnostics is activated Inactive Group diagnostics is not activated U AUXERR Error message U ux Activate system diagnostics U yxerr Uauxerr Will generate an error message as soon as the power supply
87. DI 24VDC P 1 0 0 BL20 1A0 I 0 4 20MA 2 2 0 BL20 2DO 24VDC 0 5A P 1 1 1 BL20 2DO 24VDC 0 5A P 1 0 1 BL20 2DO 24VDC 0 5A P 1 0 1 BL20 2DI 24VDC P 1 1 0 BL20 1AI U 10 0 10VDC 2 2 1 BL20 2DO 24VDC 2A P 1 1 1 Total 14 10 8 A Not compressed module description B Compressed module description C Module available in not compressed module description only 6 10 D300458 1211 BL20 PBDP Module arrangement on the mounting rail Industri A Overview of the parameter and configuration bytes of the example station Table 6 6 BL20 Module Standard module Module description Overview of the description according to type parameter and configuration Parameter Configuration Parameter Configuration bytes of the bytes bytes bytes bytes example station UA GB UA GB Gateway 5 0 0 5 0 0 BL20 BR 24VDC D 0 4 4 C 0 4 4 BL20 2DI 24VDC P 1 1 1 0 5 5 BL20 4DI 24VDC P 1 1 1 0 5 4 BL20 2DI 24VDC P 1 1 1 0 5 4 BL20 2DI 24VDC P 1 1 2 0 5 5 BL20 2DI 24VDC P 1 1 2 0 5 4 BL20 1A0 1 0 4 20MA 4 1 1 3 5 5 BL20 2DO 24VDC 0 5A P 1 1 1 0 5 5 BL20 2DO 24VDC 0 5A P 1 1 2 0 5 4 BL20 2DO 24VDC 0 5A P 1 1 2 0 5 4 BL20 2DI 24VDC P 1 1 1 0 5 4 BL20 1AI U 10 0 10VDC 2 1 1 1 5 5 BL20 2DO 24VDC 2A P 1 1 1 0 5 4 Total 21 16 20 9 64 57 A Not compressed module description B Compressed module description C Bus Refreshing module available in module description according to type only D3
88. Description B InsomePLCsthe Value main count direction word each con go None sist of a High 01 Up Word HWORD 10 Down and Low Word LWORD The relevant ranges _ lower count limit HWORD B are stated 8000 327681 to 0 Ifthe upper or lower count limit is reached the count value jumps 0000 A SUINT to the load value the lower count limit or the upper count limit to 0 he depending on the count mode and the main count direction lower count limit LWORD B 8000 32768 to 32767 see above lower count limit 0000 A SINT 0 to0 CN upper count limit HWORD B 0 to 0 to 32767 see above lower count limit 7FFF SINT FFFFA lhe upper count limit LWORD B Oto 0 to 655351 see above lower count limit 7FFF SINT FFFFA hex D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A 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 E 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
89. E Module BL20 E 1SWIRE Industri A Tabelle 3 DesignationValue Meaning Meaning of diag nostics data bits Byte 3 4 TYPE prSx Device configuration slave x Info field for the individual indication of a configuration error as error message If the TYP nro Parameter is set with individual diagnostics the error is indicated in this bit field as soon as a PLC configuration check detects differing slave numbers types or position of an SWIRE slave 0 OK No configuration error is present and the slave is in data exchange mode or diagnostics function has been deactivated via the parameter setting 1 Incorrect No configuration error present and the slave is NOT in data exchange mode Byte 5 6 SDeprSX Communication slave x Info field for the individual indication of slave offline or slave diagnostics as error message The fault is indicated in this bit field if the parameter setting SDINFO is set with individual diagnostics 0 OK No error is present or diagnostics function has been deactivated via the parameter setting 1 Offline The slave has set its diagnostics bit or the slave was in data exchange with the SWIRE master but is not any longer Byte 7 8 PKZ RRSx Only SWIRE DIL 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 nro is set for single diagnostics
90. High and a Low word Convert your decimal count limit to hexadecimal format Example The lower count limit is to be 123 456 This decimal value is represented in hexadecimal format double word as FFFE 1DCO The hexadecimal value double word is divided into a High word FFFE and a Low word 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 interpreted as a sign bit but as a value negative values bit 15 1 must be converted manually The following applies to the Low word If bit 15 is not set the Low word is converted to the corresponding positive decimal value D300458 1211 BL20 PBDP 8 27 Integration of Technology Modules in PROFIBUS DP 8 28 E In the example Low word hexadecimal 1DCO Low word binary 0001 111 1100 0000 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 2 22 23 2 25 26 27 28 2 210 2 212 213 214 215 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 Low word decimal 7 616 O Oo o o o o 128 256 1024 2048 4096 If bit 15 is set the reciprocal value is formed This procedure is des
91. O 1 1A 0 5B D300458 1211 BL20 PBDP 6 7 Guidelines for station planning Table 6 4 BL20 module Module description Overview ofthe parameter and Standard According to type configuration A 7 bytes Parameter Configuration Parameter Configuration bytes bytes bytes bytes BL20 1CNT 24VDC 17 1 16 6 BL20 1RS232 5 1 4 6 BL20 1RS485 422 5 1 4 6 BL20 1SSI 5 1 4 6 A With compressed module description as follow up module 2 bytes B With compressed module description as follow up module 4 bytes The bytes of the modules can be described in a compressed form depending on the description of the modules in the GSD files Examples can be found in chapter 3 Attention Ensure that a sufficient number of Power Feeding or Bus Refreshing modules are used if the system is extended to its maximum A n If the system limits are exceeded the software I O ASSISTANT generates an error message when the user activates the command Station gt Verify 6 8 D300458 1211 BL20 PBDP Module arrangement on the mounting rail Maximum system extension with the standard gateway Danger A If more than 4 modules in block design or more than 15 modules in total are used then the gateway BL20 GW PBDP 12MB STD does not operate any module that follows the maximum allowed from the 5th module in block design or the 16th module onwards There is no communication with the excessive modules via the module bus The
92. R 1 A write job would not be accepted with the next telegram of process output data SS STS3 SS STS2 SS STS1 SS STSO These four bits transfer the status bits of the SSI encoder with the status messages of the SSI module With some SSI encoders the status bits are transferred together with the position value STS UP LED UP The SSI encoder values are decremented or the values are constant The SSI encoder values are incremented STS DN LED DN The SSI encoder values are incremented or the values are constant The SSI encoder values are decremented REL CMP2 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP2 A comparison ofthe 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 inthe process output data STS CMP2 A comparison ofthe 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 8 46 D300458 1211 BL20 PBDP Integration of the SSI module BL20 1SSI Industri A Table 8 22 Designatio
93. S nternet denten 4 9 B base modules aan nina 2 6 BL20 components semen 2 3 bus CONNECTION ioi cm iE nahe 7 13 c CADIS TOUTING ucc tetti tti tete tetti texit tun 7 2 channel specific diagnosis ssseee 4 68 count mode data image Minen ae d e BE EU A RD 8 2 C rail cross connection eee 6 18 D device related diagnosis sse 4 60 diagnostic functions PROFIBUS DP s 3 5 diagnostics merunsry M eater aaia 4 56 Modules 5 2 a ict p Hh ed c il d seated 4 60 DIEI 9 1 documentation concept nennen eenen 1 2 E electronics modules cccccessssceseceeessescseetseeseecseeenes 2 5 EMG ai nnd 7 7 end bracket 2 8 end plate eO OR RH ERR asada 2 7 F firmware download eee 6 23 Force Mode tid itc nd c Re 4 59 function blocks receive function block see 10 4 CLP nea 10 2 transmit function block eene 10 2 transmit receive function block ne 10 7 G gateway ssssseeeeneeneenennnnn enne enne nnn nennen nnns 2 3 I installation norn isolated eene nnn 7 6 J jumper ERE 2 8 L labels i ooi n pc nies 2 9 lightning protection oo eee eee nee 7 3 M Markers susci nm a ec io FE e RR e d E Ra S 2 9 D300458 1211 BL20 PBDP Industr A measurement mode data image tondere iade ide reas 8 15 module arrangement sse 6 2 P
94. SSI encoder cyclically 1 Request to interrupt communication with the encoder 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 STS_CMP1 and FLAG_CMP1 have a value based on the result of the comparison with the SSI encoder value CLR_CMP1 EN_CMP2 0 Default status i e reset of FLAG CMP1 not active 1 Reset of FLAG_CMP1 active 0 Default status i e the data bits REL_CMP2 STS_CMP2 and FLAG_CMP2 always have the value 0 irrespective of the actual SSI encoder value 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_CMP2 0 Default status i e reset of FLAG CMP2 not active 1 Reset of FLAG CMP2 active REG_WR 0 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 output variable is reset from 1 to 0 if necessary 1 Request to overwrite the content of the register with the address stated at REG_WR_ADR with REG_WR_DATA REG_RD_ADR Address of the register to be read REG_WR_ADR Address of the register to be written with REG_WR_DATA REG_WR_DATA Value to be written to the register with the address stated at REG_WR_ADR D300458
95. STATRES 0 1 This bit is set to reset the STAT bit in the process input data With the change from 1 to 0 the STAT bit is reset from 0 to 1 If this bit is 0 all changes in TX_BYTE_CNT TX_CNT and RX_CNT_ACK are ignored Flushing the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is possible If this bit is 1 or with the change from 0 to 1 the flushing of the transmit receive buffer with RXBUF FLUSH TXBUF FLUSH is not possible RX_CNT_ACK 0 3 The value RX_CNT_ACK is a copy of the value RX_CNT TX_CNT has been transmitted together with the last data segment of the process input data TX_CNT_ACK is an acknowledge for the successful transmission of the data segment with RX_CNT TX_CNT 0 3 This value is transferred together with every data segment The TX_CNT values are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments TX_BYTE_CNT 0 7 Number of the valid user data in this data segment In PROFIBUS DP the data segments contain a maximum number of 6 bytes of user data D300458 1211 BL20 PBDP 8 39 Integration of Technology Modules in PROFIBUS DP 8 3 Integration of the RS485 422 module BL20 1RS485 422 8 3 1 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
96. SW LED flashing RDY ear PLC SLAVE This bit indicates an error if the configuration stored in the BL20 E 1SWIRE does not match the SET configuration stored in the PLC 0 OK No error present The SWIRE bus is ready for data exchange 1 Offline The configuration stored in the BL20 E 1SWIRE was not accepted The data exchange is prevented RDY LED flashing COM RR 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 Uswerr Voltage Usy Voltage fault in Uy voltage U 17 VDC for supplying the SWIRE slaves 0 OK No error present 1 Undervoltage An error is present GENE Error message RALerR The creation of a function block shows that systems function blocks for the general checking 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 D300458 1211 BL20 PBDP 8 55 Integration of Technology Modules in PROFIBUS DP Tabelle 3 DesignationValue Meaning Meaning of diag nostics data bits Byte 2 SDenr Communication SWIRE slave If the parameter SD p is set for group diagnostics this bit indicates an error as soon as only one slave on the bus sets its SD gg error bit
97. T 1 to 200 000 000x 10 3 Hz 1 to 25 000 000 x 10 3 rpm 1 to 100 000 000 ms LOAD LOPLIMIT Parameter setting of the lower measuring limit 0A1 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 0 to 24 999 999 x 10 3 rpm 0 to 99 999 999 ms D300458 1211 BL20 PBDP Integration of Technology Modules in PROFIBUS DP Table 8 12 Meaning ofthe data bits process output Control bit Explanations MODE_DO1 MODE_DO1 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_DO1 defines which function DO1 is to accept 00 The output DO1 indicates the status of the control bit SET_DO1 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 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A Process input for measurement mode Process input data is data from the connected field device that is transmitted via the XN 1CNT 24VDC module to the PLC This is transferred in an 8 byte forma
98. TIC Manager s diagnostic functions are described in the manual which is supplied with the software by Siemens Information concerning individual module diagnostics can be found in chapter 4 Diagnostic options for gateways are described in chapter 2 D300458 1211 BL20 PBDP 5 15 Connections to automation devices 5 4 Diagnostics on PROFIBUS DP 5 4 1 Diagnostic messages in the PLC The diagnostic messages are indicated as diagnostic bytes in the software of the corresponding PROFIBUS DP master Please refer to Table 8 and Table 9 in chapter 2 of this manual for the meaning of the gateway s diagnostic bytes and those of the connected modules Based on an example station taken from the section Electronic Device Data Sheets GSD the following will illustrate how the diagnostic bytes of the modules in the controller software are displayed Table 5 7 Module Number of Diagnostic bytes in Diagnostic bytes diagnostic PROFIBUS DP ofthe example bytes station GW BL20 GW PBDP 1 5MB 3 7to9 A BL20 BR 24VDC D 1 10 B BL20 2DI 24VDC P C BL20 4DI 24VDC P D BL20 2DI 24VDC P E BL20 2DI 24VDC P F BL20 2DI 24VDC P G BL20 1AO I 0 4 20MA 1 11 H BL20 2DO 24VDC 0 5A P 1 12 BL20 2DO 24VDC 0 5A P 1 13 J BL20 2DO 24VDC 0 5A P K BL20 2DI 24VDC P 1 14 L BL20 1Al U 10 0 10VDC 1 15 M BL20 2DO 24VDC 2A P 5 16 D300458 1211 BL20 PBDP Diagnostics on PROFIBUS DP Industri A
99. This value determines the state of output DO1 in the event of a 1 1 failure if behavior CPU master stop 10 diagnostic DO1 OA On The Short open circuit DO diagnostic message is not blocked 1 Off The Short open circuit DO diagnostic message is blocked hysteresis OAto 0 to 255 UINT 255 Pulse duration DO1 DO2 n 2ms 8 10 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A Table 8 7 Designation Description Parameters for count modes Value A Default value OAto 0 to 255 UINT 255 count mode 000000A continuous count 000001 single action count 000010 periodical count 000011 Reserve to 011111 gate function OA abort count If the counting operation is aborted counting begins from the procedure load value on restart 1 interrupt count If the counting operation is interrupted the counter continues on procedure restart from the actual counter value digital input DI OA Normal 1 Inverted function DI 00A Input 01 HW gate Hardware release 10 latch retrigger function when edge pos 11 synchronization when edge pos Synchronization OA single action 1 periodical D300458 1211 BL20 PBDP 8 11 Integration of Technology Modules in PROFIBUS DP Table 8 7 Designation Description Parameters for count modes Value A Default value Designation
100. actual list of modules matches the configuration set in the configuration software of the corresponding fieldbus master 1 The actual list of modules has been altered in such a manner that process data can still be exchanged with the module bus stations which are at present connected to the module bus The constellation of the module bus station that is set in the configuration software CheckConfig Cmd of the corresponding fieldbus master serves as a reference 4 undervoltage field supply U A 0 field supply U is within the permissible range 1 field supply U is not within the permissible range 5 reserved 6 undervoltage field supply Us A 0 field supply U is within the permissible range 1 field supply Us is not within the permissible range 7 Overcurrent Short circuit 0 current is within the permissible range 1 current lis not within the permissible range D300458 1211 BL20 PBDP Diagnosis Industri A Table 4 35 Diag data Bit Designation Meaning Gateway record diagnostic bits 2 Gateway errors 0 1 reserved 2 Module bus error 0 Communication with the module bus station on the module bus is possible 1 Communication with the module bus station on the module bus is not possible 3 Master configuration error 0 The actual list of modules matches the configuration set in the configuration software of the corresponding fieldbus master 1 The act
101. and correct fitting Checkifthe correct baud rate has been set in the PLC master Compare the station engineering with the existing list of modules Red Invalid station address set Set the correct station address via flashing the hexadecimal rotary coding 1Hz switches 4 7 2 Diagnostic messages via the software The diagnostic messages are displayed in the corresponding software of the PROFIBUS DP master as diagnostic bytes For the meaning of the individual diagnostic bits please refer to the Section Diagnostics in this chapter You can find an example of diagnostic messages via a PLC in the Section Example of diagnostics with a Siemens S7 400 PLC chapter 5 D300458 1211 BL20 PBDP 4 55 Gateways for PROFIBUS DP 4 8 4 8 1 4 56 Diagnosis BL20 offers 2 possibilities for the representation of diagnostic information device related diagnosis diagnosis header 2 byte gateway diagnosis maximum of 61 byte module diagnosis device identifier channel specific diagnosis diagnosis header device related diagnosis 2 byte gateway diagnosis identifier related diagnosis 1 diagnosis bit for each possible module 64 bit 8 byte channel specific diagnosis active diagnosis blocks 3 byte per error message of the connected modules Note The mode of diagnosis evaluation is determined via the gateway parameter gateway diagnostics parameter byte 4 bit 5 Device relate
102. ands RETVALSFC14 See manual System software for S7 300 400 SFC14 RETVALSFC15 See manual System software for S7 300 400 SFC15 D300458 1211 BL20 PBDP 10 13 Apendix 10 2 Parameter gateway assignment in hexadecimal format 10 14 D300458 1211 BL20 PBDP Parameter gateway assignment in hexadecimal format Industrial Automation Parameter 4 10 2 1 Outputs module exchange Table 10 9 Parameter 4 ejep sso oJd ebueu x3 anjer aanHsqns 1ndino ejep ssa oJd abuey gt xZ x x x x x anjer aanHsqns 1ndino s i s amp Outputs module exchange A Default settings 10 15 D300458 1211 BL20 PBDP Apendix Outputs module exchange error Table 10 10 Parameter 4 eyep sso oJd ebueu x3 anjer eininsqns indino eyep sso oJd ebueu x3 anjer ainysqns indino ae gt 982 Bv wou vu 40 32 SS Sz aS vtt SS 08 Os a D300458 1211 BL20 PBDP 10 16 Parameter gateway assignment in hexadecimal format Industrial Automation Outputs fieldbus error Table 10 11 Parameter 4 anjea e3n3sqns IndIno LL lu E HH EEE Outputs fieldbus settings error A Default 10 17 D300458 1211 BL20 PBDP Apendix 10 2 2 Parameter 5 Table 10 12 Integer Data format Parameter 5 Integer Data format A Default settings 10 18 d co ue z MSB first D300458 1211 BL20 PBDP Parameter gateway assignment in hexadec
103. anges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 TxD K1 Start address of the module s 8 byte output address range The software SIMATIC STEP 7 assigns the address ranges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 RecvData Start address for storing the receive data inputs outputs flags data blocks etc Max_Bytes Maximum number of bytes that have to be received max 65536 bytes D300458 1211 BL20 PBDP 10 5 Apendix Output variables Table 10 4 Variable Meaning Output variables FBRECVRSxxx Busy 1 Data are received actually 0 No data are received at the moment RecDataCnt Number ofthe received data max 65536 RETVAL Return values of the function status or error code 0 gt no error 8010h communication error hardware error 8020h communication error error in data flow 8040h communication error error in telegram frame 8080h communication error buffer overflow of the module 8300h variable error wrong parameter
104. are sequential 00 gt 01 gt 10 gt 11 gt 00 decimal 0 gt 1 gt 2 gt 3 gt 0 Errors in this sequence show the loss of data segments RX_BYTE_CNT 0 7 Number of the valid bytes in this data segment D300458 1211 BL20 PBDP 8 41 Integration of Technology Modules in PROFIBUS DP 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 1 byte containing signals to flush the transmit and receive buffer 1 control byte used to guarantee error free data transmission Figure 8 8 Process output data 7 ore oes os ncs era wes wo A Control byte STATRES RX_CNT_ACK TX_BYTE_CNT 8 42 D300458 1211 BL20 PBDP Integration of the RS485 422 module BL20 1RS485 422 Industri A Table 8 21 Designation Value Meaning Meaning of the data bits RXBUF FLUSH 0 1 This bit is used to flush the receive buffer process output If STATRES 1 The command RXBUF FLUSH 1 is ignored If STATRES 0 RXBUF FLUSH 1 causes the flushing of the receive buffer TXBUF FLUSH 0 1 This bit is used to flush the transmit buffer If STATRES
105. asically INVALID BITS MSB INVALID BITS LSB must be smaller than SSI FRAME LEN Default 0 Ore D300458 1211 BL20 PBDP 4 45 Gateways for PROFIBUS DP Table 4 30 Module parame ters BL20 1SSI Assignment Parameter name Value Meaning Byte Bit 2 0to3 bit transmission rate 0 100 kBit s 1 500 kBit s A 2 250 kBit s 3 125 kBit s 4 100 kBit s 5 83 0 kBit s 6 71 0 kBit s 7 62 5 kBit s 3 Oto5 number of data frame bits 1to32 Number of bits in the SSI data frame Basically SSl 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 4 6 3 Module description in the electronic device data sheets GSD BL20 gateways are integrated into PROFIBUS structures using electronic device data sheets GSD Each individual module is supplied with a means of identification in the standard electronic device data sheet making various forms of identification possible Standard module description The configured module list is displayed with standard identification general identification format exception empty slots and modules without process data are displayed in a special identification format Modules cannot be unmistakably identified using this identification Advantage Replacement modules need not be of an identical type to be accepted
106. ation devices and related operating elements in such a way that they are well protected against unintentional operation Suitable safety hardware and software measures should be implemented for the I O interface so that a line or wire breakage on the signal side does not result in undefined states in the automa tion devices Ensure a reliable electrical isolation of the low voltage for the 24 volt supply Only use power supply units complying with IEC 60 364 4 41 VDE 0 100 Part 410 or HD 384 4 41 52 Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications otherwise this may cause malfunction and dangerous operation Emergency stop devices complying with IEC EN 60 204 1 must be effective in all operating modes of the automation devices Unlatching the emergency stop devices must not cause restart Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed Desktop or portable units must only be operated and controlled in enclosed housings Measures should be taken to ensure the proper restart of programs interrupted after a voltage dip or failure This should not cause dangerous operating states even for a short time If neces sary emergency stop devices should be implemented Wherever faults in the automation system may cause damage to persons or property external measures
107. ble value e g voltage The value of an analog signal can take on any value within certain limits Automation device A device connected to a technical process with inputs and outputs for control Programmable logic controllers PLC are a special group of automation devices B Baud Baud is a measure for the transmission speed of data 1 Baud corresponds to the transmission of one bit per second Bit s Baud rate Unit of measurement for measuring data transmission speeds in Bit s Bidirectional Working in both directions 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 E Capacitive coupling Electrical capacitive couplings occur between cables with different potentials Typical sources of interference are for example parallel routed signal cables contactors and electrostatic discharges D300458 1211 BL20 PBDP 11 1 Glossary Coding elements Two piece element for the unambiguous assignment of electronic and base modules Configuration Systematic arrangemen
108. bserve all valid guidelines concerning internal and external lightning protection and grounding specifications when routing cables outside of buildings D300458 1211 BL20 PBDP General notes Industri A 7 1 2 Lightning protection The cables must be routed in double grounded metal piping or in reinforced concrete cable ducts Signal cables must be protected against overvoltage by varistors or inert gas filled overvoltage arrestors Varistors and overvoltage arrestors must be installed at the point where the cables enter the building 7 1 3 Transmission cables The bus stations are connected to one another via fieldbus cables which comply with the RS 485 specifications and with DIN 19 245 Accordingly the cable must have the following characteristics Table 7 1 Parameter Cable A Cable B Parameter of DIN 19245 part 3 DIN 19245 part 1 cable typeA Characteristic impedance 35 to 165 Q 3 to 20 MHz 100 to 130 Q f gt 100 kHz Capacitance per unit length lt 30 nF km lt 60 nF km Loop resistance lt 110 O km Wire diameter gt 0 64 mm 0 025 inch gt 0 53 mm 0 021 inch Wire cross section gt 0 34 mm 0 0005 inch gt 0 22 mm 0 0003 inch Terminating resistor 220 0 1500 Attention According to information received from the PROFIBUS Users Organization the use of Cable type B is not to be recommended Attention The adherence to these parameters becomes more important the high
109. by the BL20 gateway This means that related modules with identical process data lengths can be used Thus it is possible to exchange a 2 DO 24 V DC module with 0 5A with a 2 DO 24 V DC module with 2A This form of module identification achieves amongst other things a higher measure of flexibility for process parameter and diagnostic data Figure 4 14 Standard description of the digital input module BL20 2DI 24VDC P 4 46 j TRCKFFOD gsd Editor File Edit Search 2 BL20 2DI 24UDC P Module S BL26 2DI 24UDC P 6x16 Ext Hodule Prm Data Len 1 Ext User Prm Data Const 8 6x88 EndHodule D300458 1211 BL20 PBDP Setting parameters Industri A Module description according to type The configured module list is displayed with extended identification special identification format which makes an exact identification of modules possible The BL20 gateway accepts replacement modules only of an identical type names s Description File Edt Search 2 according to type BL20 2p1 24upe p of the digital input module BL20 2DI 24VDC P Module T BL26 2D1 24UDC P 6x43 6x00 6x20 0x08 6x61 EndModule Options by the descriptions of modules Table 4 31 Typified module Standard module Optional module description description description Identification of individual modules by v PROFIBUS DP master and
110. calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module count mode D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Figure 8 2 g Properties DP slave Ea Entering the upper cou nt limit Address ID Parameter Assignment as a Hi gh andLow Parameters Value l word dez Station parameters 1 HJ Device specific parameters j continuous count abort count procedure digital input DI normal function DI input synchronization single action main count direction none lower count limit HWORD 0 lower count limit LWORD 0 upper count limit HWORD 188 i upper count i WORD BE hysteresis 0 2 pulse duration DO1 D02 n 2ms fo substitute value DOT 0 diagnostic DO1 on unction DOT output amp function DO2 output iv Cancel Help 8 1 4 Setting the lower and upper measuring limits The lower measuring limit is divided as follows into a High and a Low word E Convert your decimal measuring limit to hexadecimal format E Example The lower measuring limit is to be 654 321 This decimal value is represented in hexadecimal format double word as 0009 FBF1 The hexadecimal value double word is divided into a High word 0009 and a Low word FBF1 The Low value is conver
111. cenaseeeunseecenasecennseeennas coenen 5 15 Error diagnostics station diagnostics when connected to a Siemens S7 PLC aaan vans eansn eous oennneeenseennseeneeanseennseen 5 15 Diagnostics on PROFIBUS DP 22us200sssennssssnnsnssnssssnnssssnnsnssnnsssnsnussnssnsnnnnnssnunsnnnunsnnnnsnnnunnssnnnssnsnnssssnnsnnunsen 5 16 Diagnostic messages in the PL G nnn dennen dressed ler 5 16 Example of diagnostics with a Siemens S7 400 PLC cuuesonssonssnnsenonssonnsnnnenonssnnnsnnnsnnnssnnnsnnnsnnnennnnsnnnennnnne 5 18 Short circuit in a digital output module csessssecssecssccsssccssscesstecssecsseccsuecssnccesuecessscessccnsecsuscessccesseccsseeesnecesaccesnecessceesnseees 5 20 Guidelines for station planning Module arrangement on the mounting rail essusssosenesennnssnesennssnnssnnnssnnnsnnssnnnsnnnnsnnssnnnsnnnnsnnssnnunsnnnsnnnens 6 2 D300458 1211 BL20 PBDP 6 1 1 6 1 2 6 1 3 6 1 4 6 2 6 2 1 6 2 2 6 2 3 6 2 4 6 2 5 6 2 6 6 3 6 4 6 5 7 1 71 41 71 2 713 714 7 2 7 2 1 7 2 2 7 2 3 73 73 1 7 32 7 3 3 7 34 7 3 5 7 3 6 7 3 7 7 3 8 7 4 7 5 8 1 8 1 1 8 12 8 1 3 8 14 8 2 82 1 8 3 Industri A Random module ArranGeEME Nt sssscssescccssccessesecssscecesseecesssecessseeccussceesnsecesnscecsnssscssnseecsnseecuuuseccessesessnseecessesessnseecunsescesseeesunseseessess 6 2 Complete Planning 6 2 VIERTE GnEstiie
112. 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 generated that simply shows the gateway diagnostics device related diagnostics The diagnostics bytes of all station modules are attached that support diagnostics Note that the Measurement mode diagnostics is only set in conjunction with another diagnostics bit Table 8 8 Name oferrortype Position Explanations Meaning and position ofthe data bits diagnostics short open circuit 0 Short open circuit excess temperature at output DOT ERR DO This diagnostics information must be acknowledged with the EXTF ACK process output control bit short circuit sensor 1 Short circuit of sensor supply pwr supply This diagnostics information must be acknowledged with the EXTF ACK control bit end of counterrange 2 The following parameter errors are indicated wrong Upper count limit 2 lower count limit Upper count limit F lower count limit Upper count limit 0 The numerical values are displayed as two s complement values The permissible range for the upper count limit is therefore Onex 7FFF FFFD 7FFF FFFE 7FFF FFFF ro The decimal value range for this SINT value is 0 2147483645 2147483646 2147483647 start ofcounterrange 3 The following parameter errors are indicated wrong Lower count limit 2
113. cribed 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 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A If bit 15 is set the reciprocal value of the hexadecimal value is formed The 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 You receive as a decimal value for FFFE 2 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 8 1 Entering thelower count limit as a High and Low word dez Properties DP slave Address ID Parameter Assignment Parameters Station parameters Ho Device specific parameters E counter mode continuous count gate function abort count procedure E digital input DI normal amp function DI input 8 synchronization single action main count direction none upper count limit HWORD
114. d 19 A to stop the transmission of data from the data terminal device if the software handshake is active 4 44 D300458 1211 BL20 PBDP Setting parameters BL20 1SSI The module provides the following parameter bytes Industri A Table 4 30 Assignment Parameter name Value Module parame ters Byte Bit BL20 1SSI A default 0 5 settings 1 0t03 sensor data cable test number of invalid bits LSB activate A Data cable is checked for ZERO Oto 15 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 position value delivered by the SSI encoder at the LSB end The significant 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 4t06 number of invalid bits MSB Oto 7 The number of invalid bits in the position value delivered by the SSI encoder at the MSB end The significant 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 MSB end are set to zero by masking the position value B
115. d diagnosis According to PROFIBUS DP standards the diagnosis telegram of the device related diagnosis is structured as follows Byte 1 to PROFIBUS DP Byte 6 diagnosis according to DP standards Device Related diagnosis Byte 7 Header Besides the information that the following diagnosis is a device related diagnosis bit 6 and bit 7 2 00 the header also contains information about the length of the diagnosis telegram maximum length 64 byte The header byte is included in the telegram length 1 byte header 2 byte gateway diagnosis max 61 byte module diagnosis Byte 8 and gateway diagnosis Byte 9 Byte 8 bit 0 shows for example if another module in the station sends diagnosis information bit 0 1 or not bit 0 0 Note i The modules which are capable for diagnosis occupy in all cases the diagnosis bytes assigned to them even if no actual diagnosis message is present In this case the bits in the diagnosis bytes are all 0 D300458 1211 BL20 PBDP Diagnosis Industri A 4 8 2 Device identifier and channel specific diagnosis The diagnosis telegram of this diagnosis evaluation contains all 3 possible diagnosis representations The channel specific diagnosis information is only shown if diagnosis messages are actually present Byte 1 to 6 PROFIBUS DP diagnosis according to DP standards Device Related diagnosis Byte 7 Header Besides the information tha
116. d to a reference potential area The cable shield should not be severed but routed further within the system for example to the switchgear cabinet right up to the interface connection Note i Should it not be possible to ground the shield on both sides due to switching arrangements or device specific reasons then it is possible to route the second cable shield side to the local reference potential via a capacitor short connection distances If necessary a varistor or resistor can be connected parallel to the capacitor to prevent disruptive discharges when interference pulses occur A further possibility is a double shielded cable galvanically separated whereby the innermost shield is connected on one side and the outermost shield is connected on both sides Potential compensation Potential differences can occur between installation components that are in separate areas and these are fed by different supplies have double sided conductor shields which are grounded on different installation components A potential compensation cable must be routed to the potential compensation Danger A Never use the shield as a potential compensation D300458 1211 BL20 PBDP Electromagnetic compatibility EMC Connection A Connection B B 3 0 0 3 B 5 0 05 A 8 0 08 A Figure 7 7 ig teken 1 Potential A Shield i compensation N Potential compensation cable
117. data sssccsssscssescssescsseecsseecsseccsnsccsnscessecesuscessccssccesscecssccesueecsuessecesuecesuecesuscesuscesseeseseeesneecsnecesneeesaes 5 4 Example of compressing module process data uns eese eeeee tentent tient tton tos istos attt stt stt satt sott no sitos 5 6 General Nolen issie elanden eletti eee se ite te iie audiet elei t teste pae pee tie deste dende 5 9 Standard module description ccscsssccsseccsesccseecessecessecsssecsssccsssccssscessseesuecsusccssecesssccessessscessecssseesuscesuecsuscessuecessecessecsneesnscesnseess 5 10 Module description according to type csescssscsescsseccssecsssccsnsccssscesstecsuecsssccessccsssccessecsssecsnseesecsuseesasecsusecssnecessecessecsnscesnsceesseees 5 11 Connection to a Siemens S7 PLC u ssusssnnssonssonsssnnssnssonnsnnnssonssonnsnnnnsnnssnnnnnnnnsnnnsnnnsnnnsnnnnsnnnsannnsnnnsnnnsnnnsannnsne Reading in the GSD file Selecting the BL20 gateway as a slave g Example of a mixed usage configuration uaneeenssennsssennnssennnnssennnssennnsssennnsennnnsssennnsennnnssennnns nnsssnnnnssennnsssennnsennnnssennnnsennnnseenn 5 13 Setting gateway parameters ussersnennosnosnusenosnssenssussnssnersonsnesuossussnoensonnsenssnssnsssussnessersussnersnernssnsenssenssnssnnssassnssnussnssnersessnsensennenneen 5 14 Gonfiguring the Bl20 station a u ir ed eee ee ble O tee idee e eH 5 15 Setting parameters for BL20 modules nnn caansscannusoesensoeoenas eeens oeeuuseecenasecennseceenaneeenusee
118. dles 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 Group 1 shielded bus and data cables shielded analog cables unshielded cables for DC voltage lt 60 V unshielded cables for AC voltage lt 25 V Group 2 unshielded cables for DC voltage gt 60 V and lt 400 V unshielded cables for AC voltage gt 25 V and lt 400 V Group 3 unshielded cables for DC and AC voltages gt 400 V Various types of cables within the groups can be routed together in bundles or in cable ducts 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 E Group 1 Group 3 and Group 2 Group 3 must be routed in separate cable ducts with a minimum distance of 10 cm apart This is equally valid for inside buildings as well as for inside and outside of switchgear cabinets Cable routing outside buildings Outside of buildings cables should be routed in closed where possible cage type cable ducts made of metal The cable duct joints must be electrically connected and the cable ducts must be earthed Danger A O
119. e 19 Byte 19 Header to max Defines the channel related diagnosis with bit 6 and byte 52 bit 7 2 10 In addition to that the header shows for which module the actual diagnosis message is valid Byte 20 Bit 0 to Bit 5 contain the channel number Bit 6 and 7 define whether the channel is an in or an output 01 input 10 output 11 in and output D300458 1211 BL20 PBDP 4 57 Gateways for PROFIBUS DP Byte 21 Bit 0 to 4 contain a value decimal which specifies the diagnosis message please see section Channel specific diagnostic messa ges Bit 5 to bit 7 indicated whether the respective module is bit byte or word oriented module 001 bit oriented 010 2 bit oriented 011 4 bit oriented 110 word oriented 111 double word oriented 4 8 3 Description of the gateway diagnostic bits The texts in the column Diagnostics correspond to those determined in the GSD files Electronic Device Data Sheets which are described in chapter 4 Table 4 35 Gateway diagnostic bits A onlyforgateway 1 BL20 GWBR PBDP with inte grated supply unit 4 58 Diag data Bit record Designation Meaning Gateway warnings 0 Module diagnostics available 0 No module bus station is signaling a diagnostic 1 At least one module bus station with diagnostic function is signaling a diagnostic 1 2 reserved 3 Station configuration changed 0 The
120. e 3 1 PROFIBUS DP diagnosis Type of diagnosis Description station related diagnostics Messages concerning the general operational readiness of a bus node Example Excessive temperature or under voltage Module related diagnostics These messages indicate that there is a diagnostic message within the a certain I O area e g 8 bit output module of a bus node Channel related diagnostics Here the error cause of a single input output bit i e relating to a single channel is indicated Example Short circuit at output 2 The PROFIBUS slaves of the BL20 series support the diagnostic functions of PROFIBUS DP The evaluation of the diagnostic data via the control depends on the support of the master Note Further information on diagnostics can be taken from the device descriptions of the master interfaces of the various manufacturers D300458 1211 BL20 PBDP 3 5 PROFIBUS DP 3 1 8 Syncand Freeze mode In addition to the node specific user data traffic which is automatically controlled by the DPM1 the DP master has the possibility to send control commands to a slave a group of slaves or simultaneously to all DP slaves These control commands are transmitted as multicast messages The Sync and Freeze mode for synchronization of the DP slaves can be determined via the control commands They enable event controlled synchronization of the DP slaves Sync mode The DP slaves initiate the Sync mode upon receipt
121. e 4 4 Gateway Fieldbus Service Controller External RAM Module bus structure External interface Internal internal External WDG gt c gt 4 2 3 Technical data for BL20 GWBR PBDP Table 4 4 Field supply Technical Data BL20 GWBR PBDP U Nominal value range 24 V DC 18 to 30 V DC I max field current 10A Isolation voltage 500 Vor U to U U to fieldbus U to FE Connections 2 pole screw terminal System supply Usys nominal value range 24V DC 18 to 30 V DC loys for Ing 1 2 A Us 18 V DC max 900 mA IMB supply to the module bus participants 1 2A Isolation voltage Usys to U Usys to fieldbus Usys 500 Vor to FE Connections 2 pole screw terminal Physical interfaces Fieldbus Transfer rate 9 6 kbps to 12 Mbps Passive optical fiber adapters can be connected Current drawn max 100 mA Isolation voltage fieldbus to U fieldbus to U fieldbus to FE 500 Ver Fieldbus connections 1x9 pole SUB D socket connector Fieldbus shielding connection via SUB D plug D300458 1211 BL20 PBDP Technical data Industri A 4 2 4 Technical data for BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S BL20 GW PBDP 12MB and BL20 GW PBDP 12MB STD Table 4 5 Supply voltage General Technical Data Nominal value 5 V DC distribution by the Bus Refreshing module Permissible range 4 7 to 5 3 VDC Residual ripple according to EN
122. e L switch is used to set L x 16 L 0 to F TheH switch is used to set L x16 H 0 to F A conversion table for converting station addresses from decimal to hexadecimal can be found in the Appendix Note i The cover of the hexadecimal rotary coding switches must be closed after use It is not necessary to address the internal module bus Attention If the BL20 gateway is used as the first or last station in the bus communication then a special bus connector with a built in or switched in termination resistor is absolutely necessary The maximum bus structure for PROFIBUS DP as well as detailed data for connecting gateways to PROFIBUS DP are described in chapter 3 D300458 1211 BL20 PBDP Gateways for PROFIBUS DP 4 6 4 6 1 Table 4 10 Setting parameters Gateway parameters BL20 gateways for PROFIBUS DP require five parameter bytes These describe exclusively the behavior of the gateway itself The first three parameters are defined by the PROFIBUS DP standard Description and allocation of gateway parameters The texts in the columns Parameter name and Meaning correspond to those determined in the GSD files Electronic Device Data Sheets which are described in chapter 3 Value Parameter name Gateway parameters A default settings 4 20 Meaning Parameter 1 3 reserved 0x00 0x00 0x00 0x00 0x00 Parameter 4 Module bus station output
123. e VOUT g P 7 2 Lighting protection sssrinin a E E e RR E t re RH RE eei 7 3 LrioEuIEelelcee P 7 3 BE a e E 7 4 Potential relationships General enn Potential free installation Non isolated installation Electromagnetic compatibility EMC 00s000s000nesonsenonesnnennnnsnnnennnennnnsnnnennnennnennnnennnennnennonsnnnsnnnrsnnnenensnnne 7 7 Ensuring electromagnetic compatibility aaan ooouns onsen eoenuseeennae eeens eeennanecenaseeennseennseecenaneeennanecenaseecenasecennesecennsecennen 7 7 Grounding of inactive metal components enanssenaanneanannenenneersaneeerenneecenneencaneeeveneeesennvencenneesceneeasenneesceneeasenneesceneeeeennens 7 7 Protection against high frequency interference signals nn ettet teste nnt netto ttes nnns 7 7 EMC compliant cabinet installation esessssssessseecssesessscsssescsssesseeessecsssccescecsueccsneeesscssseecssscessesesssccsseecsaecsaceessecesueessnessueesseesses 7 9 Shielding of Cables urnen 7 10 P tentialcompensati n nen anee ee eters reddende etterende 7 10 Switching inductive loads 7 12 Protection against electrostatic discharge ESD sssscsssssssscsseccscessesesseccsscccsscessueecsneesssecssseesscesssecsascesseeceaeecsueeessessnseessecs 7 12 BUS COMMECUION ee
124. e achieved with non compressed standard module description The reason being the maximum possible number of configuration bytes 5 2 5 Standard module description During the configuration process each process data of the different modules of a block is assigned a specific bit position in the corresponding data byte In the example The following overview illustrates the bit structure of a process data byte for 4 compressed modules BL20 2DI 24VDC P Table 5 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bitstruktur DI 2 DI 1 DI 2 DI 1 DI 2 DI 1 DI 2 DI 1 Module K Module F Module E Module D Due to this assignment electronics modules can only be exchanged with modules with identical process data lengths The first follow up module must have the same process data length as the original module In the example Module B cannot be grouped together with module C because the modules have different process data lengths 2 DI and 4 DI Module D cannot be grouped together with module B because a module of the same type input module but with a different process data length 4 DI has been plugged between the two modules Note m The option of creating blocks of modules can be decisively influenced during configuration of an BL20 station D300458 1211 BL20 PBDP Electronic device data sheets GSD 5 2 6 Module description according to type Industri A If the original module is identified according to type al
125. e contents of the registers match REG SSI POS REG CMP1 This marker must be reset with bit CLR CMP1 1 REL CMP1 0 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP1 1 A comparison of the register contents has produced the following result REG SSI POS gt REG CMP1 STS CMP2 0 A comparison of the register contents has produced the following result REG SSI POS REG CMP2 1 A comparison of the register contents has produced the following result REG SSI POS REG CMP2 FLAG CMP2 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP2 since the last reset 1 The contents of the registers match REG SSI POS REG CMP2 This marker must be reset with bit CLR CMP2 1 REL CMP2 0 A comparison of the register contents has produced the following result REG SSI POS lt REG CMP2 1 A comparison of the register contents has produced the following result REG SSI POS gt REG CMP2 STS DN 0 The SSI encoder values are incremented or the SSI encoder values are constant 1 The SSI encoder values are decremented 10 12 D300458 1211 BL20 PBDP Function blocks for S7 Industri A Variable Meaning STS_UP 0 The SSI encoder values are decremented or the SSI encoder values are constant If STS DN 0 at the same time this means that the SSI enc
126. e d ec cce e lede Da add dr ERE LS 6 iux 6 3 1 9 System performance e aera ee LER ea M ee E ME Eae Ee 6 Data transfer between DPM1 and the DP slaves sssssssess memes 7 Protective mechanisms u eee i ir re i b dE dd dE a C nr 7 2i n5 uIdee U 7 31 10 GSD TICS EE 8 D300458 1211 BL20 PBDP 3 1 PROFIBUS DP 3 1 System overview PROFIBUS is a manufacturer independent and open fieldbus standard for a wide area of applications in factory and process automation Manufacturer independence and openness are guaranteed by the international standards EN 50170 and EN 50254 PROFIBUS enables communication of devices of various manufacturers without requiring particular interface adaptations PROFIBUS DP Decentral Periphery is designed for data transfer between the control and the input output level TURCK BL20 stations support PROFIBUS DP PROFIBUS DP is the speed optimized PROFIBUS version specially designed for communication between automation devices and decentralized peripheral devices PROFIBUS DP is suited to replace cost intensive parallel signal transmission via digital and analogue sensors and actuators PROFIBUS DP is based on DIN 19245 part 1 and part 4 During the course of European fieldbus standardization PROFIBUS DP has been integrated into the European fieldbus standard EN 50170 3 1 1 Master slave system PROFIBUS DP is a master slave system whic
127. e outputs of the DP slaves in the safe state depending on the reaction to fieldbus errors the green I O LED illuminates and the outputs are set Operate The DPM1 is in the data transfer phase During cyclic data exchange the inputs of the DP slaves are read and the output information is transferred to the DP slaves the green I O LED illuminates 3 6 The DPM1 sends its local status within a configurable time interval via a multi master command to all assigned DP slaves The system response to an error in the data transfer phase of the DPM1 e g a failure of a DP slave is determined by the operating parameter Auto Clear If this parameter is set to True then the DPM1 switches all outputs of the assigned DP slaves to the safe status as soon as a DP slave is no longer capable of user data transfer Then the DPM1 changes to the Clear state If this parameter is set to False then the DPM1 will retain its operating condition also in the event of an error and the user can determine the system response D300458 1211 BL20 PBDP System overview Industri A Data transfer between DPM1 and the DP slaves Data exchange between the DPM1 and the assigned DP slaves is automatically controlled by the DPM1 in a determined fixed order During configuration of the bus system the user assigns the DP slaves to the DPM1 It is also defined which DP slaves are to be included in or excluded from cyclic user data transfer Data exchange
128. e te ne ener ene eee emen enne nnne 25 8 1 3 Guide to setting the high and low words nanne eeennerennerenne nn neenenennvenven nnen EEEREN EEEE 27 Setting the lower and upper limit er emen emen 27 8 1 4 Setting the lower and upper measuring limits aaan ee eee meme 31 8 2 Integration of the RS232 module BL20 1RS232 000000osssssssennnnnnsnsunnnnnnsnnnnnnnnnsnssunnnnnsnnnnnnnnsnnnen 36 8 2 1 BE CEDE Mm 36 Process input data PDin rme onverveerd ner i ri i id c EGO in 36 Process output data P Dout ssssssssssssseeee eene en nnne nennen nennen nennen 38 8 3 Integration of the RS485 422 module BL20 1RS485 422 ecce eere eee ee eee eese eee ens osos esses esee enono 40 8 3 1 Data IMAGE fe nn 40 Process input data P Dil etian seti Poet est da eben dd a ern ee 40 Process output data PDout eeeeseessseerssnennsnnnennennensnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsnonennnnnnnsnonennnennnnnanennenn 42 8 4 Integration of the SSI module BL20 1SSI ecce esee eee esee esee eese ess sso os sh Poss sess Pese s ess e eee ee eee eee eese 44 8 4 1 Data iMag Geis I 44 Process input data PDin sssssssssseeeeeeeenee enne nennen nennen nennen nennen nnns 44 Process output data PDOUt ice rer rrr e i e a e LER ER EXER RR binnen 48 8 5 Integration of t
129. ed but not plugged I O module Figure 5 15 s Var VATI Di a gn os is with a Table Edit Insert PLC Variable View Options Window Help not plugged BL20 I O module DB100 DBW 0 2 0000_0000_0000_0000 DB100 DBW Bj 2 0000 0000 0000 0000 DB99 DBB 2072 Diagnostics DIAG DAT NORM 1 B 16 08 DB99 DBB 2073 Diagnostics DIAG DAT NORM 2 HE B 16 0c DB99 DBB 2074 Diagnostics DIAG DAT NORM 3 B 16 00 DB99 DBB 2075 Diagnostics DIAG DAT NORM 4 B 16 01 DB99 DBB 2076 Diagnostics DIAG DAT NORM S B 16 02 DB99 DBB 2077 Diagnostics DIAG DAT NORM 6 B 16 B2 DB99 DBB 2078 Diagnostics DIAG DAT NORM 7 B 16 05 DB99 DBB 2079 Diagnostics DIAG DAT NORM S 2 0000 1000 A DB99 DBB 2080 Diagnostics DIAG DAT NORM S 2 0000 0000 DB99 DBB 2081 Diagnostics DIAG DAT NORM 10 2 0000 0000 DB99 DBB 2082 Diagnostics DIAG DAT NORM 11 2 0000_0000 DB99 DBB 2083 Diagnostics DIAG DAT NORM 12 2 0000_0000 DB99 DBB 2084 Diagnostics DIAG DAT NORM 13 2 0000 0000 DB99 DBB 2085 Diagnostics DIAG DAT NORM 14 2 0000_0000 DB99 DBB 2086 Diagnostics DIAG DAT NORM 15 2 0000 0000 A Gateway diagnostic byte 1 bit 3 Station configuration changed In this example a planned BL20 module was pulled As a result the IOs LED on the gateway indicated an acceptable change to the physical constellation of the module bus station by flashing alternately red green The flashing red DI
130. efore installation Hereby all potential electromechanical sources of interference should be considered such as galvanic inductive and capacitive couplings as well as radiation couplings 7 3 1 Ensuring electromagnetic compatibility The EMC of BL20 modules is guaranteed when the following basic rules are adhered to E Correct and large surface grounding of inactive metal components E Correct shielding of cables and devices Proper cable routing correct wiring Creation of a standard reference potential and grounding of all electrically operated devices Special EMC measures for special applications 7 3 2 Grounding of inactive metal components Allinactive metal components for example switchgear cabinets switchgear cabinet doors supporting bars mounting plates top hat rails etc must be connected to one another over a large surface area and with a low impedance grounding This guarantees a standardized reference potential area for all control elements and reduces the influence of coupled disturbances E Inthe areas of screw connections the painted anodized or isolated metal components must be freed of the isolating layer Protect the points of contact against rust E Connect all free moving groundable components cabinet doors separate mounting plates etc by using short bonding straps to large surface areas E Avoid the use of aluminum components as its quick oxidizing properties make it unsuitable for grounding
131. er the baud rate the more stations there are on the bus and the longer the length of the cable A A Figure 7 1 Shield inside Vp Representation of PA Twisted cable pair a PROFIBUS DP cable PPA Rt terminating M I resistor GND SAONO Sae a E E pee Station 31 D300458 1211 BL20 PBDP 7 3 Guidelines for electrical installation 7 1 4 Cable types Turck offers a variety of cable types for fieldbus lines as premoulded or bulk cables with different connectors The ordering information for the available cable types can be found in the TURCK BL20 catalogs 7 4 D300458 1211 BL20 PBDP Potential relationships Industri A 7 2 Potential relationships 7 2 1 General The potential relationship of a PROFIBUS DP system realized with BL20 modules is characterized by the following E The system s power supply to the gateway I O modules and the field level is distributed via a Bus Refreshing module E All BL20 modules gateway Bus Refreshing Power Feeding and I O modules are connected capacitively via base modules to the mounting rails E Separate power supplies for the system and the field level allow a potential free installation The block diagram shows the arrangement of a typical BL20 station Figure 7 2 Block diagram of a BL20 system Gateway Bus Refreshing I O module l O module Power Feeding I O module Bus Refreshing
132. es The required number of Bus Refreshing modules is calculated as follows Gateway 430mA 15 BL20 1AI U 10 0 10VDC 15x41mA 615 mA 10 BL20 2AO U 10 0 10VDC 10x43 mA 430 mA 10 BL20 2DI 24VDC P 10 x 28 mA 280 mA 5 BL20 2DO 24VDC 0 5A P 5x 32 mA 160 mA Total 1915 mA Maximum permissible current via module bus 1 500 mA The calculation shows that an additional further Bus Refreshing module is required at the latest following the last BL20 2AO module This Bus Refreshing module is sufficient to supply the remaining modules Note i The power requirements of the BL20 gateway is to be considered when calculating the required number of Bus Refreshing modules The following table offers an overview of the nominal current consumption of the individual BL20 modules on the module bus Table 6 7 Module Supply Nominal current Nominal current consumption consumption of the BL20 modules on the module bus Gateway with integrated power supply unit 1500 mA 430 mA Gateway without integrated power supply unit 430 mA BL20 BR 24VDC D A 1 500 mA BL20 PF 24VDC D 28 mA BL20 PF 120 230VAC D 25 mA BL20 2DI 24VDC P 28mA BL20 2DI 24VDC N 28mA BL20 2DI 120 230VAC 28 mA BL20 4DI 24VDC P 29 mA BL20 4DI 24VDC N 28mA BL20 4DI NAMUR 40 mA D300458 1211 BL20 PBDP 6 13 Guidelines for station planning Table 6 7 Nominal current consumption of the BL20 modules on the module bus
133. es modules D to F is followed by group of output modules modules G to J these are followed by a further input module module K The software groups module K with the modules D to F into one block of modules modules on the physical station Attention Note En The order of the modules in the process data blocks does not always match the order of the It is not permitted for the total of the process data lengths of all the modules grouped to a module block to exceed 1 Byte The follow up modules can be used in both the standard module description and in the description according to type Note i Exception Multiple modules 2 T BL20 to 4 T BL20 cannot be used as follow up modules D300458 1211 BL20 PBDP 5 9 Connections to automation devices Relay modules are treated the same as digital output modules when their process data is being compressed When modules are plugged onto planned empty slots the communication of the fieldbus master depends on the gateway parameter Station configuration please refer to the Section Setting Parameters chapter 2 Parameter value Do not allow changes default The station does not go online An error message is generated E Parameter value Allow changes The modules are ignored by the fieldbus master They can only be operated via l Oassistant please refer to chapter 9 The maximum station extension with up to 128 modules can only b
134. ese conditions The entire station is made up of the resective channel type only D300458 1211 BL20 PBDP Module arrangement on the mounting rail Industri A E The transmission to PROFIBUS DP is supported only until the maximum possible 61 diagnostic bytes is reached The diagnistics of the following modules are not taken in to consideration Maximum system extension process data dependent Table 6 1 Channels Modules Module description Maximum system in the GSD file extension process data dependent Type Max Type Max Type of Module no no GSD file description Digital inputs 288 BL20 4DI 24VDC P 72A Standard Not compressed Digital outputs 288 BL20 4DO 24VDC 0 5A P 72A Standard Not compressed Analog inputs 78 BL20 2AI I 0 4 20MA 39A Standard Not current compressed Analog inputs 78 BL20 2Al U 10 0 10VDC 39 A Standard Not voltage compressed Analog inputs 46 BL20 2AI PT NI 2 3 23B Standard Not PT Ni compressed Analog inputs 76 BL20 2AI THERMO PI 38A Standard Not thermocouple compressed Analogoutputs 38 BL20 2AO 1 0 4 20MA 19B According Not current to type compressed Analogoutputs 38 BL20 2AO U 10 0 10VDC 19B According Not voltage to type compressed Counter 7 7 BL20 1CNT 24VDC 7B Standard Not compressed RS232 interface 15 BL20 1RS232 15 Standard Not compressed RS485 422 22 BL20 1RS485 422 22 Standard Not interface compressed SSI interface 22 BL20 1SSI 22 Standard
135. ese eee eene tense etse setas eno eese ta senes esaet ene ena 8 44 Da ta 1MaG8 245 Res ski E E A EE E le stenen 8 44 Integration of the SWIRE Module BL20 E 1SWIRE evans sonvenonenonnsennenenenennsonvenerenonnsenserorenonssensee 8 50 Data mapping under PROFIBUS DP aan ira aa itia aaa E ENA EAER E SN Aai i S ai aeiia ia 8 50 BL20 Approvals for Zone 2 Division 2 Apendix Furiction blocks for S7 5 5 ronse erso sr a e NUR TUR o EN EE VEN VIN ATOMS a TE S adressen 10 2 Function Blocks for BL20 IRSXX nensi dela ene lina dean 10 2 Function block for BL20 1SSI Parameter gateway assignment in hexadecimal format rece eee eese eee eene eene eene enses seen 10 14 Parameter A E Hierin en 10 15 i i 10 18 Conversion table decimal to hexadecimal esusssssssssssnesennssnnssnnnssnunennssnnssnnnssnnnsnnssnnnsnnnssnnssnnssnnusnnnne 10 23 BL20 accessories M 10 24 Glossary Index D300458 1211 BL20 PBDP Industri A 1 About this Manual 1 1 Documentation concept sessssssssssssnsusnsnnsnnnssuuunnsennnsnsssnsnnsnnnnssnsussnnnnnnnsssssnnsnnnsnssnsssnssnnnsnssssssnsssnssnese 2 1 2 Description of symbols used ssusssuonensnnnnnnsnnnnnnnnnnnnunnnnnnnnnnnnnnsnnnnsnnnssnnssnnsssnssssnsssnsnsnsnsnssnsnnnnssnnnee 3 1 3 Overview cssssssnnensnsnsnnsnnnnnnnnssnnnnnnnnnnnnnnnnnnnnnnsnnnsnnnssnnsssnsssnssssnsns
136. eserved BL20 PF 120 230VAC D Table 4 38 Diagnostic bit Diagnostic messages BL20 PF 120 byte 230VAC D n 0 reserved 1 reserved 2 undervoltage field supply 3 reserved 4 60 D300458 1211 BL20 PBDP Diagnosis BL20 4DI NAMUR Industri A Table 4 39 Diagnostic bit Diagnostic messages BL20 4DI NAMUR byte n 0 short circuit sensor 1 1 open circuit sensor 1 2 short circuit sensor 2 3 open circuit sensor 2 4 short circuit sensor 3 5 open circuit sensor 3 6 short circuit sensor 4 7 open circuit sensor 4 BL20 1A1 1 0 4 20MA Table 4 40 BL20 1AHI 0 4 20MA Diagnostic bit byte Diagnostic messages A Only in the n channel 1 0 measurement value range errorA measurement range 4 to 20 1 mA open circuit BL20 2Al I 0 4 20MA Table 4 41 Diagnostic bit Diagnostic messages BL20 2AI I 0 byte 4 20MA A Only in the n channel 1 0 measurement value range errorA measurement range 4to 20 mA 1 open circuit n 1 0 measurement value range errorA channel 2 open circuit BL20 1Al U 10 0 10VDC Table 4 42 Diagnostic bit Diagnostic messages BL20 1AI U byte 10 0 10VDC n 0 measurement value range error A channel 1 D300458 1211 BL20 PBDP 4 61 Gateways for PROFIBUS DP BL20 2Al U 10 0 10VDC Table 4 43 Diagnostic bit Diagnostic messages BL20 2AI U byte
137. essages are shown in Byte 6 of the process input data independently 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 0 7 diagnostics Diagnosis activated diagnosis deactivated This affects the separate fieldbus specific diagnostic message not the diagnosis embedded in the process input data 0 Enable A 1 Inhibit D300458 1211 BL20 PBDP 4 43 Gateways for PROFIBUS DP Table 4 29 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1RS485 422 1 0 stop bits 0 1 stop bit 1 2 stop bits A 1to2 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 5 flow control 0 None A Data flow control is switched off 1 XON XOFF Software handshake is switched on 2 RTS CTS Hardware handshake is switched on 2 0to7 XON character 0 255 XON character This character is used to 17 A start the transmission of data from the data terminal device if the software handshake is active 3 0to7 XOFF character 0 255 XOFF character This character is use
138. ft justified 2 diagnostic Kx 0 release A 1 block 3 channel Kx 0 activate A 1 deactivate 4 7 element Kx 0 PT500 200 150 C 1 PT100 200 850 C A 2 PT100 200 150 C 3 NI100 60 250 C 4 NI100 60 150 C 5 PT200 200 850 C 6 PT200 200 150 C 7 PT500 200 850 C 8 PT1000 200 850 C 9 PT1000 200 150 C 10 NI1000 60 250 C 11 NI1000 60 150 C 12 resistance 0 100 Q 13 resistance 0 200 Q 14 resistance 0 400 Q 15 resistance 0 1000 Q 2 3 0 measurement Mode Kx 0 2 wire A 1 3 wire D300458 1211 BL20 PBDP 4 27 Gateways for PROFIBUS DP BL20 2AI THERMO PI The module provides the following parameter bytes per channel Table 4 17 Assignment Parameter name Value Meaning Module parame ters BL20 2AI Byte Bit THERMO PI A default 0 1 0 mains suppression Kx 0 50HzA settings 1 60Hz 1 value representation Kx 0 integer 15Bit sign A 1 12Bit left justified 2 diagnostic Kx 0 release A 1 block 3 channel Kx 0 activate A 1 deactivate 4 7 element Kx 0 Type K 270 1370 C A 1 Type B 100 1820 C 2 Type E 270 1000 C 3 Type J 210 1200 C 4 Type N 270 1300 C 5 Type R 50 1760 C 6 Type S 50 1540 C 7 Type T 270 400 C 8 50 mV 9 100 mV 10 500 mV 11 1000 mV 4 28 D300458 1211 BL20 PBDP Setting parameters BL20 2AIH I Industri A The module provides the follo
139. g 9 5 2 5 Standard module description 00 ee ee ee eee nennen nnn 10 5 2 6 Module description according to type eene nennen nennen 11 5 3 Connection to a Siemens S7 PLC ussssssssnsssnnsssnnsssnnssnssnsnnnnsnnnsnunnnsnssnnnnnnsnnnnsnnnnsnnnennnnsnnnsnnnnnunnnnne 12 5 3 1 Reading in the GSD file nnn ene tee ee renee eene 12 Reading in the GSD files before starting the software meme 12 Reading in the GSD files after starting the software eme 12 5 3 2 Selecting the BL20 gateway as a slave eene enne nennen 13 5 3 3 Example of a mixed usage configuration ssssssssssseeemememeenee enne 13 5 3 4 Setting gateway parameters serie ne nn E LR En 14 5 3 5 Configuring the BL20 station ssssssssseeeeeemeeeeee mener 15 5 3 6 Setting parameters for BL20 modules 15 5 3 7 Error diagnostics station diagnostics when connected to a Siemens S7 PLC annen 15 5 4 Diagnostics on PROFIBUS DP 2c0ssssssssessnsnosennnnnnsnsnennnnsnnnnnnnnssnnnnnsnsssunnnnnnnnnnnnnnsssunnnnnnsnnnnnnnnssssens 16 5 4 1 Diagnostic messages in the PLC eene nennen nne nnne nen nnne nennen aan 16 5 5 Example of diagnostics with a Siemens S7 400 PLC eee e eee e ee eee eee eee ee eene eee eee e esee eese eese eee ee e 18 5 5 1 Short circuit in a digital output module 0 eee eerie enne 20 Planned but not plugged I O module ooo eene eene 21 Interruption of the field voltage nennen nnne ener ennemis 21
140. gn DO PARA STS A LOAD LOAD 4 5 Count value 6 7 Table 8 5 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 There is a parameter error ERR PARA is a group diagnostics bit With the separate diagnostics message bits 3 to 6 describe the parameter errors in more detail 0 The parameter definition is correct as per specification RES STS A 1 Resetting of status bits running The last process output telegram contained RES STS 1 0 The last process output telegram contained RES STS 0 ERR LOAD 1 Error with load function Control bits LOAD DO PARAM LOAD CMP VAL2 LOAD CMP VAL1 LOAD PREPARE and LOAD VAL must not besetatthe 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 8 6 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A Table 8 5 Bits Meaning of the data b
141. goes below a level at which the function of the relays is not guaranteed Active A Error message U uxerr activated Inactive Error message U yxerr not activated 8 60 D300458 1211 BL20 PBDP Integration of the SWIRE Module BL20 E 1SWIRE Industri A Table 8 31 Meaning ofthe parameter bits A default setting Designation Status Byte 3 reserved Reserved Byte 4 reserved Was up to version VN 01 03 Lifeguarding time of the SWIRE slaves lifeguarding 7 WE time up to Lifeguarding time of the SWIRE slaves hek 0x02 Setting of lifeguarding time timeout time up to automatic VN 01 03 OXFF reset of the slaves in the event of communication failure n 0x64 A oo 10ms Default 1s OxFF Lifeguarding off Byte 5 6 SDbpiagSX Input bit communication error slave x Slave diagnostics message from Byte 1 Bit 7 is accepted in the feedback interface as Bit4 Active A SDpiagX is accepted Inactive SDpugex 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 D300458 1211 BL20 PBDP 8 61 Integration of Technology Modules in PROFIBUS DP 8 62 D300458 1211 BL20 PBDP 9 BL20 Approvals for Zone 2 Division 2 Note i The Zone 2 approval certificates for BL20 can be found in a separate manual for approvals D301255 on www turck de D30045
142. h consists of a master usually integrated in the PLC and up to 31 slaves per segment During operation the master constantly scans the connected slave stations Several masters may be connected within a single network this would then be classified as a multi master system In this case they pass on their transmission permission Token Passing PROFIBUS DP uses a bit transmission layer Physical Layer based on the industrially proven RS485 standard 3 1 2 System configuration and device types 3 2 PROFIBUS DP is suited for both mono master or multi master system configuration Thus a high level of flexibility in system configuration is guaranteed The network comprises 126 devices max master or slaves Configurable system parameters include the number of stations the assignment of the station address to the I O addresses data consistence of I O data format of diagnostic messages and the bus parameters used Every PROFIBUS DP system consists of different types of devices One distinguishes between three device types E DP master class 1 DPM1 This is a central control which exchanges data in a defined message cycle with the remote stations slaves Typical devices are for instance programmable logic controllers PLCs or PCs E DP master class 2 DPM2 Devices of this type are engineering configuration or operating devices They are used during set up maintenance and diagnosis to configure the connected devices to evalua
143. he 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 R Radiation coupling A radiation coupling appears when an electromagnetic wave hits a conductive structure Voltages and currents are induced by the collision Typical sources of interference are for example sparking gaps spark plugs commu tators 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 considerably by means of the repeater Root connecting Creating a new potential group using a power distribution module This allows sensors and loads to be supplied individually RS 485 Serial interface in accordance with EIA standards for fast data transmission via multiple transmitters s Serial Type of information transmission by w
144. he SWIRE Module BL20 E 1SWIRE e eese eee ee eee een nnne senes ens sss esses eese eee enooo 50 8 5 1 Data mapping under PROFIBUS DP o oo eect cere reenter nennen nennen nennen nennen nennen nnns 50 ndr A 50 PFOTESS QULPUR na nee ee 52 Diagnostics rare eenn a aeta keneden annae amen aranea anna 53 Parameter 58 D300458 1211 BL20 PBDP 8 1 Integration of Technology Modules in PROFIBUS DP 8 1 Integration of the counter module BL20 1CNT 24VDC 8 1 1 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 Note The parameters modified via the process output data are not retentive The commissioning after a power failure is based on the parameter data of the configuration tool or default configuration The data is transferred in 8 byte format 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 va
145. he 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 Figure 6 2 Gateway 2DI 2DO 2DI 2DO 2DI 1AO BR AI 2DI NO Power supply when using a E gateway with Q E i i L integrated power supply unit or Field supply SBBC B Field supply System supply D300458 1211 BL20 PBDP Guidelines for station planning Figure 6 3 Gateway BR 2DO 2DI 2DO 2DI 1A0 BR Al 2DI NO Possible supply options for EN n Ri Bus Refreshing modules when using a gateway without integrated power supply unit IS SBBC SBBC B Field supply Field supply OL System supply It must be ensured that the same ground potential and ground connections are used If different ground potentials or ground connections are used compensating currents flow via the module bus which can lead to the destruction of the Bus Refreshing module All Bus Refreshing modules are connected to one another via the same ground potential The power to the module bus is supplied via the connections 11 and 21 on the base module Attention A In order to comply with radiation limit values in accordance with EN 55 011 2 000 the supply lines of the BL20 BR 24VDC D module for supplying the gateway with power are to be fed through a ferrite ring PS416 ZBX
146. hich 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 mas ter Shield Conductive screen of cables enclosures and cabinets Shielding Description of all measures and devices used to join installation components to the shield D300458 1211 BL20 PBDP 11 5 Glossary 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 I O components consisting of a number of elements SUB D connector 9 pin connector for connecting the fieldbus to the I O stations Terminating resistance Resistor on both ends of a bus cable used to prevent interfering signal reflections and which provides bus cable matching Terminating resistors must always be the last component atthe 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 Universal Asynchronous Receiver Transmitter UART is a logic circuit which is used to convert an asynchronous serial data sequence to a parallel bit sequence or vice versa Unidirectional Working in one direction D300458 1211 BL20 PBDP 12 Index A APPIOVAal
147. ht hand side physically completes the BL20 station An end bracket mounted into the end plate ensures that the BL20 station remains secure on the mounting rail even when subjected to vibration Figure 2 9 end Plate D300458 1211 BL20 PBDP 2 7 BL20 Philosophy 2 2 7 End bracket A second end bracket to the left of the gateway is necessary as well as the one mounted into the end plate to secure the station Figure 2 10 End bracket 2 2 8 Jumpers Jumpers QVRs are used to bridge a connection level of a 4 wire base module They can be used to connect potentials in relay modules bridging the relay roots thus considerably reducing the amount of wiring Figure 2 11 Jumpers A 2 8 D300458 1211 BL20 PBDP BL20 components 2 2 9 Shield connection gateway If the gateway is wired directly to the fieldbus it is possible to shield the connection using an attachment BL20 SCH 1 on the gateway Figure 2 12 Shield connection gateway 2 2 10 Marking material E Labels for labeling BL20 electronics modules Markers for colored identification of connection levels of BL20 base modules Dekafix connector markers for numbering the mounting slots on BL20 base modules Figure 2 13 en EET IF y D300458 1211 BL20 PBDP 2 9 BL20 Philosophy 2 2 11 Shield connection 2 pole for analog modules The 2 pole shield connection can be used to connect signal cable shielding to the base
148. ia the process output MODE DOI 00 and LOAD DO PARAM 0 1 The output DO2 can also be set before commissioning via the separate parameter data The default setting for DO1 is to display the value of SET_DO1 RES STS 0 gt 1 Initiate resetting of status bits Status bits STS ND STS_UFLW STS OFLW STS_CMP2 STS_CMP1 STS SYN process input are reset Bit RES STS A 1 process input acknowledges that the reset command has been received RES STS can now be reset to O CTRL SYN Release synchronization 1 0 gt 1 rising edge at the physical DI input enables the counter value to be set synchronized once periodically to the load value SW GATE 0 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 configured a positive signal must be present at this input in order to activate the SW gate AND logic operation LOAD DO PARAM Parameter definition of the DO1 physical output and the virtualA DO2 output Q0 1 DO1 and DO2 can indicate the status of data bit SET DO1 and SET DO2 or comparison results The latest telegram MODE DO1 and MODE DOJ2 indicates the function required for DO1 and DO2 D300458 1211 BL20 PBDP
149. iagn sties data rn ace atto e e Re neto DO pre tee dtr hien 52 Status indicators diagnostic messages gateway ecce eee esee eee ee ette no nnns eese eese tenons osse esee eee eene 53 Diagnostic messages via L E DSa a Anaa Aa E aa aAA enne nennen nennen enne nen nennen nns 53 Diagnostic messages via the software eene nennen nns 55 dn J y Q 56 Device related diagnosis tee n e op roi t iie PER op T d eed Pg qnd 56 Device identifier and channel specific diagnosis 57 Description of the gateway diagnostic bits sssssssseee eem nns 58 Module diagnosis muirer ran e vlan hardende HR De ER Lee BC EE Hn 60 Device related diagnostic MESSAGES eee eee eene 60 Channel specific diagnostic messages ssssssssseee eene 68 D300458 1211 BL20 PBDP Introduction Industri A 4 1 Introduction This chapter contains a description of BL20 gateways for the standardized fieldbus PROFIBUS DP The chapter is divided up as follows a description of functions general and specific technical data a description of addressing and status displays and parameter assignment 4 1 1 Function BL20 gateways enable BL20 modules to operate on PROFIBUS DP A gateway is the connection between the BL20 modules and the PROFIBUS DP master It regulates the process data between the I O level and the fieldbus and generates diagnostics
150. iagnostics indication The diagnostics message will then consist of the following elements E Two 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 generated 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 8 17 Meaning and position of the data bits diag nostics Nameoferrortype Position Explanation short open circuit 0 Short open circuit excess temperature at the output DO1 ERR_DO This diagnostics information must be acknowledged with the EXTF_ACK control bit short circuit sensor 1 Short circuit of sensor supply pwr supply This diagnostics information must be acknowledged with the EXTF_ACK control bit sensor pulse wrong 2 This error signal refers to the parameter value Sensor pulses per revolution The latest configuration tools prevent an incorrect value from being entered integration time 3 The value for the integration time is incorrect wrong The
151. ic messages A threshold n ch 0 to 0 measurement value range error A 1 ofthe posi n 3 tive measure ch 3 1 open circuit B ment range end value under flow diagnostic only in value range 4 20 mA B threshold 3 mA only in value range 4 20 mA 2to7 reserved D300458 1211 BL20 PBDP 4 63 Gateways for PROFIBUS DP E BL2O 8Al U I 4PT NI Table 4 48 Diagnostic bit Diagnostic messages BL2O 8Al U I 4PT yte NI A Thresholds n 0 measurement value range error A see IO manual D300717 1 wire break A B B In 3 wire mea En surement with 2 short circuit A B FT UO sensor 3 overflow underflow A and at tempera tures of below 4 bis 6 reserved 177 C the mod ule can not dis 7 hardware failure tinguish between short circuit and wire break In this case a short cir cuit diagnostic is generated BL20 2DO 24VDC 0 5A P Table 4 49 Diagnostic bit Diagnostic messages BL20 2DO byte 24VDC 0 5A P n 0 overcurrent short circuit channel 1 1 overcurrent short circuit channel 2 BL20 2DO 24VDC 0 5A N Table 4 50 Diagnostic bit Diagnostic messages BL20 2DO byte 24VDC 0 5A N n 0 overcurrent short circuit channel 1 1 overcurrent short circuit channel 2 BL20 2DO 24VDC 2A P Table 4 51 Diagnostic bit Diagnostic messages BL20 2DO byte 24VDC 2A P n 0 overcurrent short circuit channel 1 1 overcurrent short circuit channel 2
152. ices 1 3 2 Notes concerning planning installation of this product Danger A All respective safety measures and accident protection guidelines must be considered carefully and without exception 1 4 D300458 1211 BL20 PBDP List of revisions Industri A 1 4 List of revisions In comparison to the previous manual edition the following changes revisions have been made Table 1 1 Chapter Subject Description new changed deleted List of revisions BL20 Approvals for Zone 2 Division 2 X separate manual D301255 Note The publication of this manual renders all previous editions invalid D300458 1211 BL20 PBDP 1 5 About this Manual 1 6 D300458 1211 BL20 PBDP Industri A 2 BL20 Philosophy 2 1 The EHIHECDDCIIS M 2 2 2 BL20 components ssssssssssessnsensnnnnsennnnsensnnnnnsnnnnsensnnnnsnsnnsnennnnnnsnnnnssensssnnsnsnnsnensssnnsnsnnssensnnnnssnnnsnenee 3 2 2 1 Gateways H T 3 Gateways with integrated power supply nnee emere nennen 3 Gateways without power supply sssseeeenmnmeemmeemmemeemnemnnennn enne 3 2 2 2 Power distribution modules 00 eee mener nne nnne nennen 4 2 2 3 Electronics modules iiec aerei Pac Pee RE abe 5 2 2 4 Base modules 6 2 2 5 BL20 ECONOMY zenne e eee celeri Hin indeed 7 2 2 6 EMA plate niaren a ar aa ET iR 7 2 2 7 ENG bracket rae aeg e ac
153. ides the following parameter bytes per channel Table 4 11 Assignment Parameter Value Meaning Module parame name ters BL20 4DI NAMUR Byte Bit A default 0 3 0 input filter x 0 deactivated A settings 1 activated 2 5ms 1 digital input x 0 normal A 1 inverted 2 short circuit monitoring x 0 deactivate A 1 activate 3 short circuit diagnois x 0 deactivate A 1 activate 4 open circuit monitoring x 0 deactivate A 1 activate 5 open circuit diagnosis x 0 deactivate A 1 activate 6 input on diagnostic x 0 output substitute value A 1 hold current value 7 substitute value on diag x 0 off A 1 on BL20 1A1 1 0 4 20MA The module provides the following parameter bytes per channel Table 4 12 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1AI I 0 4 20MA A default 0 0 current mode 0 0 20mA A settings 1 4 20mA 1 value representation 0 integer 15Bit sign A 1 12Bit left justified 2 diagnostic 0 release A 1 block BL20 2A1 1 0 4 20MA 4 24 D300458 1211 BL20 PBDP Setting parameters Industri A The module provides the following parameter bytes per channel Table 4 13 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL2O 2AI I 0 4 20MA A default 0 1 0 current mode 0 0 20mA A settings 1 4 20mA 1 value representation 0 i
154. ids aon AET AR IR FUE aie 8 2 2 8 UM DENS trent T T ene ne en A A ae ea des 8 2 2 9 Shield connection gateway tecti er ee E ee Lee RE LEG ro rn LE RE RE EXER FERE TA lien 9 2 2 10 Marking material in acci bere en itte odd en re hated nage ha Ego uU a laeten exu LaTi 9 2 2 11 Shield connection 2 pole for analog modules ssssssseseee eem emen 10 D300458 1211 BL20 PBDP 2 1 BL20 Philosophy 2 1 2 2 The basic concept BL20 is a modular I O system for use in industrial automation It connects the sensors and actuators in the field with the higher level master BL20 offers modules for practically all applications Digital input and output modules Analog input and output modules E Technology modules counters 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 regulated via an internal module bus Note i The gateway is the only fieldbus dependent module on a BL20 station All other BL20 modules are not dependent on the fieldbus used Flexibility
155. ieldbus to the I O modules It is responsible for handling the entire process data and generates diagnostic information for the higher level master and the software tool Oassistant Gateways with integrated power supply The BL20 gateways BL20 GWBR PBDP 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 1 Gateway BL20 GWBR PBDP Gateways without power supply Note i The gateways without integrated power supply unit need an additional power supply module bus refreshing module which feeds the gateway an the connected I O modules D300458 1211 BL20 PBDP 2 3 BL20 Philosophy 2 2 2 Power distribution modules The power supply for gateways and I O modules is fed to the power distribution modules therefore it is not necessary to supply each individual module with a separate voltage Figure 2 2 Power distribution module 2 4 D300458 1211 BL20 PBDP BL20 components Industri A 2 2 3 Electronics modules Electronics modules contain the functions of the BL20 modules power distribution modules digital and analog input output modules and technology modules Electronics modules are plugged onto the base modules and are not directly connected to the wiring The assignment table in the Section Ordering Information of the Appendix shows the possible combinations of elec
156. imal format Table 10 13 Diagnostics all Modules Parameter 5 Diagnostics all Modules A Default settings FIT un 2 o m o o D300458 1211 BL20 PBDP x X deactivate 10 19 Apendix Table 10 14 Station configuration Parameter 5 Station configura tion A Default ua ua ua settings U U U o o o c c c m m m x gen x u v v 3 3 3 9 9 9 lt lt lt E E E DEE E 8 ES Bl E HE a NE A Lo Ez 10 20 D300458 1211 BL20 PBDP Parameter gateway assignment in hexadecimal format Table 10 15 l Oassistant Force Mode Parameter 5 WOassistant Force Mode A Default settings D300458 1211 BL20 PBDP 10 21 Apendix Gateway Diagnostics Table 10 16 Parameter 5 ubelp jeuueyr reynuapl req lt x x x x x ox x x ox x x x x x x E ls wu ES Q So XL ss es SE SVE AS ees u SL a XxX XxX Kx K XxX Xx D300458 1211 BL20 PBDP 10 22 Conversion table decimal to hexadecimal 10 3 Conversion table decimal to hexadecimal Table 10 17 Decimal hexadecimal oo ol o Bl WN N alu o o N Un w N n m A gt N j a gt e o N N N w N o o Oo N N N N N w gt 6 of Xd al ajs n m A eo N N gt N Ur ur ajajaj u w gt 9 c a Oo Ui N u e 67 u oO gt D300458 1211 BL20 PBDP pl N N n m A w w Ww gt wi N
157. in the BL20 E 1SWIRE on power up SW LED flashing the physical structure of the SWIRE bus must be stored in the BL20 E 1SWIRE 0 Inactive A Manual SWIRE configuration To store the physical structure of the SWIRE bus in the BL20 E 1SWIRE the CFG button of the BL20 E 1SWIRE must be pressed manually only functions if the SW LED is flashing 1 2 Active Automatic SWIRE configuration Ifthe physical structure ofthe SWIRE bus does not match the configuration stored in the BL20 E 1SWIRE on power up the physical structure is stored automatically in the BL20 E 1SWIRE 8 58 D300458 1211 BL20 PBDP Integration of the SWIRE Module BL20 E 1SWIRE Industri A Table 8 31 Designation Meaning ofthe parameter bits A default setting Status Configuration PLC configuration check If the PLC configuration check is activated the configuration stored in the BL20 E 1SWIRE is compared with the SET configuration stored in the PLC Active A The configuration stored in BL20 E 1SWIRE is compared with the SET configuration stored in the PLC Only SWIRE slaves in the SWIRE bus are accepted that have a device ID completely matching the SET configuration Inactive All slaves are mapped in 4Bit INPUT 4Bit OUTPUT without checking the device ID MNA Configuration check Bus or slave oriented configuration check without function if MC 1 Bus based A If the PLC configuration check is activated
158. information on the available cable types can be taken from the respective product catalogue D300458 1211 BL20 PBDP System overview Industri A Installation guidelines When mounting the modules and routing the cables please observe the technical guidelines of the PROFIBUS user organization concerning PROFIBUS DP FMS see www profibus com Checking the PROFIBUS cabling A PROFIBUS cable or the cable segment if repeaters are used can be tested with a few resistance measurements For this the cable should be disconnected from all stations E Resistance between A and B at the beginning of the cable approx 110 Q E Resistance between A and B at the end of the cable approx 110 Q E Resistance between A at the beginning and A at the end of the cable approx 0 Q E Resistance between B at the beginning and B at the end of the cable approx 0 Q E Resistance between shield at the beginning and shield at the end of the cable approx 0 Q If these measurements are successful then the cable can be used according to standards However if there are further disturbances on the bus electromagnetic interference should be considered as cause Please also observe the installation guidelines of the PROFIBUS user organization www profibus com 3 1 7 Diagnostic functions The comprehensive diagnostic functions of PROFIBUS DP allow fast error localization The PROFIBUS DP diagnosis is divided into three levels Tabl
159. ing is always executed successfully if Enable 0 and Quit 1 0 No influence on the module s function RxD_K1 Start address of the module s 8 byte input address range The software SIMATIC STEP 7 assigns the address ranges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 TxD K1 Start address of the module s 8 byte output address range The software SIMATIC STEP 7 assigns the address ranges to the different modules The Hardware Configuration of the software shows the address ranges chosen by the user The addresses are set in the WORD format 2 Bytes Example The decimal number 258 has to be transmitted as the hexadecimal code W 16 102 SendData Start address for storing the transmit data inputs outputs flags data blocks etc Max_Bytes Maximum number of bytes that have to be sent max 65536 bytes D300458 1211 BL20 PBDP 10 3 Apendix Output variables Table 10 2 Variable Meaning Output variables of FBSENDRSxxx Busy 1 Data are actually transmitted 0 No data transmitted at the moment SendDataCnt Number of the transmitted data max 65536 RETVAL Return value of the function status o error code 0 no error 8010h communication er
160. iption Value 10A 1 to 1000 Factor for forming an integration time frequency measurement and number of measured periods for determining an average period 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 event of a 1 1 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 01 outside of limits 10 below lower limit 11 above upper limit Behaviour of the digital outputs DO1 DO2 signal evaluation A B 00A Pulse and In this mode input B can receive a signal for the rotational direction direction The process entry check back interface returns the status rotation direction via STS_DN and STS UP 01 rotary sensor The evaluation options can be set in the BL20 counter module single configuration The following settings are possible Single Double Fourfold 10to 11 reserved D300458 1211 BL20 PBDP 8 23 Integration of Technology Modules in PROFIBUS DP Table 8 16 Designation Description Parameters for measurement Value modes A Default value Sensor Input filter A An input filter at inputs A B and DI can suppress high fre
161. its process input Explanations STS_UP 1 Status direction up STS_DO2 The DO2 status bit indicates the status of digital output DO2 STS_DO1 The DO1 status bit indicates the status of digital output DO1 STS_DI The DI status bit indicates the status of digital input DI STS_GATE 1 Counting operation running STS_ND Status zero crossing Set on crossing zero in counter range when counting without main direction This bit must be reset by the RES_STS control bit STS_UFLW Status lower count limit Set if the count value goes below 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 DO2 01 100r 11 Otherwise STS_CMP2 simply indicates that the output is or was set STS_CMP2 is also set if DO2 SET DO2 1 when the output is not released This bit must be reset by the RES STS control bit STS CMP1 Status comparator 1 This status bit indicates a comparison result for comparator 1 if The output DO1 is released with CTRL_DO1 1 and a comparison is run via MODE_DO1 01 10 or 11 Otherwise STS_CMP1 simply indicates that the out
162. l follow up modules can have different process data lengths The description according to type guarantees the unmistakable identification of the electronics module The grouping into blocks can be carried out with the help of multiple modules to save configuration bytes For example the modules H to J can be described as the module with the identification 3 T BL20 The following overview illustrates the various packing options Table 5 6 Compression method Module Configuration bytes Number of config description uration bytes Modules depending upon the method of H l J Total cid Standard description S BL20 1 2 2 5 Bytes S BL20 Description according to T BL20 5 4 4 13 Bytes type T BL20 Description according to 3T BL20 5 5 Bytes type multiple block Note It should be noted when using multiple modules that this option is only available for modules mounted next to each other This means in contrast to the agreements reached above it is not possible to consider modules that are not mounted next to one another as blocks D300458 1211 BL20 PBDP Connections to automation devices 5 3 Connection to a Siemens S7 PLC The software SIMATIC Manager 5 0 2 0 from Siemens is used to configure the connection of a BL20 gateway with a Siemens S7 PLC 5 3 1 Reading in the GSD file The GSD files for BL20 must be read into the software before you can begin with the i
163. l 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 m Laod 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 M Mass All interconnected inactive components that do not take on a dangerous touch potential in the case of a fault D300458 1211 BL20 PBDP 11 3 Glossary 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 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 engineering Namur initiators are special versions of the two wire initiators Nam
164. limit 0 to 2147483647 2 1 upper count limit 0 to 32767 A Unsigned16 HWORD upper count limit 0 to 65535 A Unsigned 16 LWORD 10 hysteresis 0A to 255 Unsigned8 11 0 7 pulse duration DO1 DO2 OA to 255 Unsigned8 n 2ms D300458 1211 BL20 PBDP 4 37 Gateways for PROFIBUS DP Table 4 26 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1CNT 24VDC counter mode 12 0 substitute value DO 0 OA 1 1 1 diagnostic DO1 0 onA 1 off 12 2 3 function DO1 0 output A 1 on when cnt value gt ref value 2 on when cnt value lt ref value 3 pulse when cnt value ref value 5 6 function DO2 0 output A 1 on when cnt value gt ref value 2 on when cnt value lt ref value 3 pulse when cnt value ref value 13 0 1 signal evaluation A B 0 pulse and direction A 1 rotary sensor single 2 rotary sensor double 3 rotary sensor fourfold 2 sensor input filter A 0 2 5 us 200kHz A 1 25 us 20kHz 3 sensor in put filter B 0 2 5 us 200kHz A 1 25 us 20kHz 4 sensor in put filter DI 0 2 5 us 200kHz A 1 25 us 20kHz 5 sensor A 0 normal A 1 inverted 7 direction input B 0 normal A 1 inverted 4 38 D300458 1211 BL20 PBDP Setting parameters Industri A Table 4 26 Assignment Parameter name Value Meaning Module parame ters Byte
165. line structure with active bus terminators on both ends 3 1 4 Maximum system expansion PROFIBUS DP is suited for connection of a large number of I O points Up to 126 addressable bus nodes enable connection of thousands of analogue and digital I O points within a network PROFIBUS DP allows a maximum of 32 nodes per segment please note that masters and repeaters always count as nodes One segment is defined as the bus section between two repeaters If no repeaters are used the entire network corresponds to one segment Segments must comply with the specified maximum length and the specified transmission rates Up to nine repeaters type REP DP0002 may be connected within a network The maximum length of a bus line within a segment and the number of repeaters are listed in the following table Table 3 1 Maximum System expan sion PROFIBUS DP Communication rate Length ofbusline Max Max no of nodes no of repeaters 9 6 kbps 1200 m 2 126 19 2 kbps 1200 m 2 126 93 75 kbps 1200 m 2 126 187 5 kbps 1000 m 2 126 500 kbps 400 m 4 126 1 5 Mbps 200 m 6 126 12 Mbps 100 m 9 126 Attention AN The maximum number of 32 bus nodes may not be exceeded without a repeater Use of Drop lines Note i The length of drop lines may not exceed 6 6 m at a transmission speed of 1 5 Mbps At a transmission speed of 12 Mbps it is not permitted to use drop lines D300458 1211 BL20 PBDP 3 3 PROFIBUS DP
166. lue dec Diagnostic messages BL20 1RS232 19 parameterization error 20 hardware failure 21 data flow control error 22 frame error 23 buffer overflow 4 72 D300458 1211 BL20 PBDP Diagnosis Industri A BL20 1RS485 422 Table 4 81 Value dec Diagnostic messages BL20 1RS485 422 19 parameterization error 20 hardware failure 21 data flow control error only in RS422 mode 22 frame error 23 buffer overflow BL20 1SSI Table 4 82 Value dec Diagnostic messages BL2O 1SSI 16 SSI group diagnostics 17 open circuit 18 sensor value overflow 19 sensor value underflow 20 parameterization error D300458 1211 BL20 PBDP 4 73 Gateways for PROFIBUS DP 4 74 D300458 1211 BL20 PBDP Industri A 5 Connections to automation devices 5 1 lp n 2 5 2 Electronic device data sheets GSD eee e eee eee eee ee eee ee eee sese sesso eee sesoseeesoeeosee sesso seseseeen 3 Module description according to type nnee eee emen nnns 3 5 2 1 Electronic data sheet file sssssssseeeeen ennemi 3 5 2 2 Compressing module process data ssssssssssseseee eene enne enne nennen nennen nenas 4 5 2 3 Example of compressing module process data nnee eene eene 6 5 2 4 General Note qe ve E e ge dd E sited D Ce eek a ccr a ere a pne E eed ue d
167. lues for Load direct Load in preparation Reference 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 Reference value 1 or Reference value 2 Table 8 1 Bit 7 6 5 4 3 2 1 0 PDOut with Load value Byte direct en 0 X in preparation Reference value 1 X 1 or Reference value 2 2 LOAD LOAD LOAD LOAD LOAD X reserved X X X DO BENE U BEEN vu PARAM VAL2 VAL1 3 EXTF_ CTRL_ SET_ CTRL_ SET_ RES_ CTRL_ SW_ ACK DO2 DO2 DO1 DO1 STS SYN GATE 4 5 Load value direct Load value in preparation 6 Reference value 1 or 7 Reference value 2 8 2 D300458 1211 BL20 PBDP 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 8 2 Bit 7 5 4 3 2 1 0 PDOut with Function and Byte behaviour of DO1 DO2 0 X X reserved 1 X 2 LOAD LOAD CMLOAD CM LOAD LOAD 2 x DO_ P_ P PREPARE VAL PARAM VAL2 VAL1 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 8 3 Control bit Explanations Meaning of the data bits process output A Unlike the physi MODE DO2 cal digital out put DOT output DO2 is only a data value that is indicated with the data bit STS_DO2 of the process input O
168. must be implemented to ensure a safe operating state in the event of a fault or malfunction for example by means of separate limit switches mechanical interlocks etc The electrical installation must be carried out in accordance with the relevant regulations e g with regard to cable cross sections fuses PE All work relating to transport installation commissioning and maintenance must only be carried out by qualified personnel IEC 60 364 and HD 384 and national work safety regulations All shrouds and doors must be kept closed during operation Industri A Table of Contents 1 About this Manual 1 1 DOCUMENTATION DII e 1 2 1 2 Description of symbols used svvansenseonsenveonsensennennsenreensenrennsenseonsensennennsennennsenrennsnnsennennvenrennvenvennenne 1 3 1 3 Overview 1 3 1 Prescribed use 1 3 3 Notes concerning planning installation of this product 1 4 REGIE PE RR 1 5 2 BL20 Philosophy 2 1 The basic CONCEP iieicscaccssssnccveseceseonsucosecsvaceessoceusseeesvocncssucevseetessennssexsescecvessescesexsassecncsvenesdescascsencosexeesesecenserens 2 2 2 2 BL20 components Leeeee eee esee ee eee ee eee ee etes onse osse sse eese sete tensa Posse sese esee sapo Pose Posee eee ette teen osos sese eese e eese eene sess aoo VIP MENC HS C CE M 2 2 2 Power distribution modules 223 Electronics modules
169. n 0 Short circuit open circuit ERR_DO Whenbit7 0 Short circuit in sensor power supply ERR 24VDC counter 2 End of counter range wrong mode 3 Start of counter range wrong 4 Invert Dl latch retr not perm It is not permitted to invert the level of the digital input when using the latch retrigger function 5 Main count direction wrong 6 Operating mode wrong 7 Measurement mode Bit 0 Conter mode active n 0 Short circuit open circuit ERR DO Whenbit7 1 Short circuit in sensor power supply ERR 24VDC Measure 2 Sensor pulse wrong ment mode 3 Integration time wrong 4 Upper limit wrong 5 Lower limit wrong 6 Operating mode wrong 7 Operation mode Bit 1 measurement operation is active BL20 1RS232 Table 4 57 Diagnostic bit Diagnostic messages BL20 1RS232 byte n 0 parameterization error 1 hardware failure 2 data flow control error 3 frame error 4 buffer overflow 4 66 D300458 1211 BL20 PBDP Diagnosis BL20 1RS485 422 Industri A Table 4 58 Diagnostic bit BL20 1RS485 422 byte Diagnostic messages n 0 parameterization error 1 hardware failure 2 data flow control error only in RS422 mode 3 frame error 4 buffer overflow BL20 1SSI Table 4 59 Diagnostic bit Diagnostic messages BL20 155I byte n 0 SSI group diagnostics 1 open circuit 2 sensor value overflow 3 sensor value underflow 4 parameterization error D300458 1211
170. n Value Meaning Meaning of the data bits process input REL_CMP1 0 A comparison ofthe register contents has produced the following result REG SSI POS lt REG CMP1 1 A comparison of the register contents has produced the following result REG SSI POS gt REG CMP1 FLAG CMP1 0 Default status i e the register contents have not yet matched REG SSI POS REG CMP1 since the last reset 1 The contents of the registers match REG SSI POS REG CMP1 This marker must be reset when CLR_CMP1 1 in the process output data STS CMP1 0 A comparison ofthe register contents has produced the following result REG SSI POS z REG CMP1 1 A comparison of the register contents has produced the following result REG_ SSI POS REG CMP1 STS STOP 0 The SSI encoder is read cyclically 1 Communication with the SSI encoder is stopped as STOP 1 process output or ERR PARA 1 ERR PARA 0 The parameter set of the module has been accepted 1 Operation of the module is not possible with the present parameter set STS UFLW 0 A comparison ofthe register contents has produced the following result REG SSI POS 2 REG LOWER LIMIT 1 A comparison of the register contents has produced the following result REG SSI POS lt REG LOWER LIMIT STS OFLW 0 A comparison of the register contents has produced the following result REG SSI POS x REG UPPER LIMIT 1 A comparison ofthe
171. nd FLAG _CMP1 always have the value 0 irrespective of the actual SSI encoder value 1 Comparison active i e the data bits REL CMP1 STS_CMP1 and FLAG CMP1 have a value based on the result of the comparison with the SSI encoder value STOP 0 Request to read the SSI encoder cyclically 1 Request to interrupt communication with the encoder D300458 1211 BL20 PBDP 8 49 Integration of Technology Modules in PROFIBUS DP 8 5 Integration of the SWIRE Module BL20 E 1SWIRE The module can be integrated if the gateway firmware is at least Version 1 51 8 5 1 Data mapping under PROFIBUS DP Process input The field input data is transferred from the connected SWIRE bus to the BL20 E 1SWIRE 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 Table 8 24 Byte Bit 6 Bit 5 Bit 2 Bit 1 Data structure 1 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 8 50 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
172. nents that have a good and direct contact to earth D300458 1211 BL20 PBDP Industr A 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 descriptions 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 coun ter content fluctuating around a given value Should a reference value be within this fluctuating range then the relevant output would be turned on and off in rhythm with the fluctuating signal B 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 components by insulation but can adopt voltage in the event of a fault Inductive coupling Magnetic inductive couplings occur between two cables through which an electrical current is flowing The mag netic effect caused by the electrical currents induces an interference voltage Typica
173. ng 4 12 D300458 1211 BL20 PBDP Fieldbus connections Industri A 4 3 Fieldbus connections 4 3 1 Fieldbus connection via SUB D female connectors SUB D female connectors are provided for gateway communication via the PROFIBUS DP fieldbus BL20 GWBR PBDP 1x SUB D BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S 2x SUB D BL20 GW PBDP 12MB BL20 GW PBDP 12MB STD 1 x SUB D Attention The 12 MBaud gateway needs a specially shielded SUB D connector certified as per PROFIBUS standard for example D9T451 2M to establish the fieldbus connection Note i Use only SUB D connectors which are certified as per PROFIBUS standard The pin assignment of the female connectors is identical The following is an example Figure 4 5 54321 SUB D female connector on the gateway top Y anco d view wu END 9876 Table 4 8 Pin No Signal name Labeling when wiring Description Pin assignment of directly SUB D female connector on 1 PE SHLD Shield connection protective earth gateway 2 not assigned 3 RxD TxD P B Reception transmission data P 4 CNTR P RTS Request to send 5 DGND DGND Data reference potential 6 VP VP 5 V DC for external bus termination 7 not assigned 8 RxD TxD N A Reception transmission data N 9 not assigned Note The fieldbus shielding is established via the metal hood of the male SUB D connector D300458 1211 BL20 PBDP 4 13 Gateways for PROFIBUS DP
174. ng a block of O Order of Type Designation in GSD file Module Module modules with non com module descrip pressed tion according to modules type GW Gateway A BR B 2 DI T BL20 2DI 24VDC P 1 1 C 4 DI T BL20 4DI 24VDC P 1 2 D 2DI T BL20 2DI AVDC P 1 3 E 2 DI F 2 DI G 1AOI T BL20 1AO I 0 4 20MA 3 H 2 DO 0 5A 2 DO 0 5A J 2 DO 0 5A K 2 DI L 1 Al T BL20 1AI U 10 0 10VDC 5 M 2 DO 2A T BL20 2DO 24VDC 2A P 6 5 8 D300458 1211 BL20 PBDP Electronic device data sheets GSD Figure 5 6 Use of module de Al Station Edit Insert PLC View Options Window Help lej xl scription accor ding to type in a Dieke s amp Sef dels SE 22 xel Siemens PLC sys tem a HW Config SIMATIC 300 1 Configuration BL20 Q Address Comment T BL204D1 24VDEP ramde Ir T BL20 2DI 24VDC P 1 T BL2020124VDEP T BL20 1A0 I 0 4 20MA FT BL20 2D0 24VDC 2A P 0 T BL20 141 0 10 0 10VDC 256 257 Press F1 for help MOD 74 T BL20 BR 24VDC D T BL20 2D1 24VDC P 5 2 4 General note Input and output modules are considered separately as blocks This means if on the physical station a number of input modules is followed by a number of output modules and these are again followed by more input modules the software groups the two blocks of input modules into one block of modules In the example On the physical station a group of 3 digital input modul
175. nitial configuration There are two procedures possible for reading in the files Reading in the GSD files before starting the software E Copy the GSD files TRCKFFOD gsd for the BL20 gateway 1 5 Mbaud or the TRCKFFOE gsd for the BL20 gateway 12 MBaud into the Step7 S7data GSD directory Copy the icon files bmp into the Step7 S7 data S7data NSBMP directory E Start the SIMATIC Manager software The BL20 gateways will automatically be entered into the hardware overview following correct installation of the files The hardware overview can be accessed using the Insert Hardware Catalog command Reading in the GSD files after starting the software Proceed as follows to read in the above GSD files if you have already started the software E Create a new or open an existing project E Open the hardware configuration software E Copy the required GSD file using the Options Install New GSD Files command Figure 5 7 Inserting anew GSD file using the Install New GSE Files command ii Window Help Customize Ctrl Alt E Spec Module Configure Network Symbol Table Str oe Edit Catalog Profiles Update Catalog Install New GSE Files Import Station GSE Files E Select the GSD file from the corresponding source directory Figure 5 8 Selecting the GSD file from the corresponding directory Search in Profibus J El e a TRCKFFOE g
176. nly valid if LOAD_DO_PARAM 0 1 The virtual A output DO2 can show the status of the data bit SET_DO2 or comparison results if CTRL_DO2 1 MODE_DO2 defines which function DO2 is to accept 00 The output DO2 shows the status of the control bit SET_DO2 This must be released with CTRL_DO2 1 01 Output DO2 indicates Counter status gt reference value 2 10 Output DO2 indicates Counter status lt reference value 2 11 Output DO2 indicates Counter status reference value 2 A pulse is generated for indicating equal values The pulse duration is defined by byte 2 of this process output s MODE DO1 Only valid if LOAD DO PARAM 0 1 The physical output DO1 can show the status of the data bit SET DO1 or comparison results if CTRL_DO1 1 MODE DO defines which function DO1 is to accept 00 The output DO1 shows the status of the control bit SET DO1 This must be released with CTRL_DO1 1 01 Output DO1 indicates Counter status gt reference value 1 10 Output DO1 indicates Counter status lt reference value 1 11 Output DO1 indicates Counter status reference value 1 A pulse is generated for indicating equal values The pulse duration is defined by byte 2 of this process output Hysteresis value 0 to 255 The reference value 1 2 can be assigned a hysteresis value in order to generate a response at DO1 DO2 with hysteresis This will prevent the excessive on and off switching of DO1 DO2 if the count
177. nostics available B Diagnostic byte module 1 BL20 BR 24VDC D bit 2 Undervoltage field supply In this example the connection between the Bus Refreshing module and the voltage source for the power supply to the field was interrupted As a result the gateway DIA LED indicated an extended diagnosis by flashing red At the same time the LED UL on the Bus Refreshing module was extinguished and a pending diagnosis was indicated by the module s DIA LED flashing red The normal status was restored by re establishing the connection to the field voltage 5 21 Connections to automation devices 5 22 D300458 1211 BL20 PBDP Industri A 6 Guidelines for station planning 6 1 Module arrangement on the mounting rail sss000000000s0n0nnnnnnnnnnnnnnnnnnnnssnnsssnsssnssnssnsnssnsnsnsnnsnsne 2 6 1 1 Random module arrangement eee ee eene nennen nennen nennen nenne nennen nnn nen 2 6 1 2 Complete planning mmm 2 6 1 3 Maximum system extension eiii ed rei nn deter b cd de E a e eveedee natens 2 6 1 4 Overview of the process data diagnostic parameter and configuration bytes based on an exampl sm nn 9 6 2 Power supply 12 6 2 1 Power supply to the gateway nenmeesnsennsnnsnnennnennnnennnennnnnnnennnnnnnnnpnnennnnennnnnnnnnnnennnnnnnnn eene nens 12 6 2 2 Module bus refreshing uie ete eie co ern oes 12 6
178. nteger 15Bit sign A 1 12Bit left justified 2 diagnostic 0 release A 1 block 3 channel 0 activate A 1 deactivate BL20 1AI U 10 0 10VDC The module provides the following parameter bytes per channel Table 4 14 Assignment Parameter Value Meaning Module parame name ters BL20 1AI U 10 Byte Bit 0 10VDC A default 0 0 voltage mode 0 0 10V A settings 1 10 10V 1 value representation 0 integer 15Bit sign A 1 12Bit left justified 2 diagnostic 0 release A 1 block D300458 1211 BL20 PBDP 4 25 Gateways for PROFIBUS DP BL20 2AI U 10 0 10VDC The module provides the following parameter bytes per channel Table 4 15 Module parame ters BL20 2AI U 10 0 10VDC A default settings 4 26 Assignment Parameter Meaning name Byte Bit 0 1 0 voltage mode 0 10V A 10 10V 1 value representation integer 15Bit sign A 12Bit left justified 2 diagnostic release A block 3 channel activate A deactivate D300458 1211 BL20 PBDP Setting parameters BL20 2AI PT NI 2 3 Industri A The module provides the following parameter bytes per channel Table 4 16 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 2AI PT NI 2 3 A default 0 1 0 mains suppression Kx 0 50Hz A settings 1 60Hz 1 value representation Kx 0 integer 15Bit sign A 1 12Bit le
179. nting rail via an additional PE terminal which is available as an accessory Note i For information about introducing a BL20 station into a ground reference system please read chapter 7 Figure 6 9 Gateway BR 2DO 2DI 2DO 2DI PF 2DO 2DI 2DO 2DI Using the C rail as a protective earth 3 m bii m PE terminal TS C rail PE 24 SBBC SBC SBBC SBC 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 D300458 1211 BL20 PBDP 6 19 Guidelines for station planning Attention When relay modules are planned and the C rail is used for a common voltage supply a further power distribution module must be used for the potential isolation to the following modules The C rail can only again be used as a PE following potential isolation Figure 6 10 Gateway BR 2DO 2DI 2DO 2D PF NO NC NO NC Using the C rail as protective earth Nu Bm B u u and for the power supply with relay modules PE terminal 21 11 111 HN HI 21 20T 20T 21 21 21 22002 2212 a e 3 1352513 2308923 13 25 13 25 135 25 13 25 C rail PE Crail 24V DC 24 14 2414 24 14 414 24 14 24 SBBC SBC SBBC SBC SBB SBBC SBCS SBCS SBCS SBCS Cross
180. o the PROFIBUS DP fieldbus is made through a SUB D connector D300458 1211 BL20 PBDP 4 3 Gateways for PROFIBUS DP BL20 GW PBDP 12MB STD This gateway is an Gateway with a maximum transmission rate of 12 MBit s but with restricted functionality It only supports a maximum of 4 BL20 I O modules in block design or a maximum of 15 BL20 modules in total including power distribution modules and planned empty slots The connection to the PROFIBUS DP fieldbus is made through a SUB D connector Note i Please observe that the following I O modules are not supported by the standard gateway BL20 GW PBDP 12MB STD BL20 4DI NAMUR BL20 32DO 24VDC 0 5A P BL20 4AI U I BL20 1RS232 BL20 1RS485 422 BL20 1SSI and all motor starters Attention A The Gateway types BL20 GW PBDP 1 5MB BL20 GW PBDP 1 5MB S BL20 GW PBDP 12MB and BL20 GW PBDP 12MB STD do not have an internal supply unit Install a bus refreshing module with the corresponding base module as the first module after the gateway Figure 4 1 eN Gateway u BL20 GWBR PBDP A Service interface B Type designation C LEDs for BL20 module bus D LEDs for PROFIBUS DP E Screw connec tions for the sys tem supply voltage F PROFIBUS DP SUB D socket _ G Screw connec H tions for the p fieldbus supply voltage H Rotary decimal encoding switch for the fieldbus address 4 4 D300458 1211 BL20 PBDP Introduction Figure 4 2 1 5 MBaud
181. ode 0 20 mA Bit O 1 Current mode 4 20 mA Bit 1 0 Value representation integer 15 Bit sign Bit 1 1 Value representation 12 Bit left justified Module bus station F Bit 0 0 Current mode 0 20 mA Bit O 1 Current mode 4 20 mA Bit 1 0 Value representation integer 15 Bit sign Bit 1 1 Value representation 12 Bit left justified Signedinteger Default value A1 Module bus station G Not configurable Configuration data Module bus station A 2 DI Module bus station B 2 DI Module bus station C 2 DI Module bus station D 4 DI Module bus station E 1 All Module bus station F 1 AO Module bus station G 2 DO 0 5 A D300458 1211 BL20 PBDP Industri A 4 49 Gateways for PROFIBUS DP Table 4 33 Module Value Confi ti T i Configuration byte Offset address Gateway 1 Module bus station 2 DI 0 0x43 0x00 0x20 0x00 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format I length follows 3 manufacturer specific bytes to follow Process data 1 byte DI for module bus station A 2 Module bus station 2 DI 1 0x43 0x00 0x20 0x00 0x01 3 manufacturer specific byte 2 manufacturer specific byte 1 manufacturer specific byte IO length consistency special identification format I length follows 3 manufacturer specific bytes to follow
182. oder has stopped 1 The SSI encoder values are incremented STS_OFLW 0 A comparison of the register contents has produced the following result REG_SSI_POS REG UPPER LIMIT 1 A comparison of the register contents has produced the following result REG SSI POS gt REG UPPER LIMIT STS UFLW 0 A comparison of the register contents has produced the following result REG SSI POS gt REG LOWER LIMIT 1 A comparison of the register contents has produced the following result REG SSI POS lt REG LOWER LIMIT STS STOP 0 The SSI encoder is read cyclically 1 Communication with the SSI encoder is stopped as STOP 1 SSI_DIAG 0 No enabled status signal active SSI_STSx 0 or no status messages of the SSI encoder present 1 At least one enabled status signal is active SSI_STSx 1 SSI_STSO These four bits transfer the status bits of the SSI encoder with the tatus SSI_STS1 messages of the SSI module With some SSI encoders the status bits are transferred together with the position value SSI_STS2 SSI_STS3 ERR_SSI 0 SSI encoder signal present 1 SSI encoder signal faulty e g due to a cable break ERR_PARA 0 The parameter set of the module has been accepted 1 Operation of the module is not possible with the present parameter set RETVAL Return value of the function status or error code 0 Everything OK No error 8xxxh Error Formal oper
183. of a Sync control command from the assigned DP master In this mode all addressed DP slaves freeze their present output status During the following user data transfer cycles the output data are stored by the DP slaves while the output states are retained Only after receipt of the next Sync control command from the master the stored output data are switched through to the outputs The Sync mode is terminated upon an Unsync control command Freeze mode The Freeze control command induces the addressed DP slaves to assume the Freeze mode In this mode the momentary values of the input states are frozen Input data will only be updated upon receipt of the next freeze command from the DP master by the affected devices The Freeze mode is terminated upon an Unfreeze control command 3 1 9 System performance In order to achieve a relatively high level of device interchangeability the PROFIBUS DP system performance has also been standardized It is largely determined by the operating status of the DPM1 This can be either controlled locally or via the bus from the configuration device One distinguishes between three major conditions Table 3 2 Operating modes Operating mode Description Stop There is no data transfer between the DPM1 and the DP slaves The coupling module merely addresses the modules once after power up none of the I O LEDs illuminate Clear The DPM1 reads the input data of the DP slaves and retains th
184. on should be thorough to avoid faults and increase operating reliability Attention Ifthere are more than two empty slots next to one another the communication is interrupted to all following BL20 modules The power to BL20 systems is supplied from a common external source independent of the number of Bus Refreshing modules on the station This avoids the occurrence of potential compensating currents within the BL20 station Maximum system extension A BL20 station can consist of a gateway and a maximum of 74 modules in slice design equivalent to 1 m in length of mounting rail including the end bracket and endplate The limit placed on the maximum possible number of channels is based on the number of bytes of the process data diagnostics parameters as well as the configuration bytes of the BL20 modules these being limited by the field controller used in the BL20 station The following are maximum possible bytes available in a BL20 station E Process data bytes 176 Bytes Diagnostic bytes 64 Bytes 61 Bytes module diagnostics 3 Bytes gateway diagnostics Parameter bytes 117 Bytes 115 Bytes module parameters 2 Bytes gateway parameters E Configuration bytes 176 Bytes Further limitations are imposed by the method of data description standard or according to type or by the method of module description compressed or not compressed The following overview shows the maximum number of channels possible under th
185. onfiguration bytes as well asto compress data to be transmitted leading to a more rapid communication between the fieldbus master and the individual BL20 modules Compressed modules are added as multiple blocks or as follow up modules during the engineering phase Multiple blocks module description according to type identified in the GSD file by 2 T BL20 to 4 T BL20 only 1 process data byte per multiple block Attention A There are no plans for the use of multiple module blocks which exceed the limit of 1 byte process data 3 T BL20 and 4 T BL20 with modules with 4 DI or 4 DO D300458 1211 BL20 PBDP Electronic device data sheets GSD Industri A Follow up modules module descriptions according to type or standard identified in the GSD file by S BL20 or T BL20 their process data bits are added to the process data of the 1 module in the respective block until the limit of 1 byte per process data is reached Attention A The total of the process data lengths of all modules grouped to a block must not exceed 1 byte The required number of process data bytes is calculated from the number of process data of the individual modules and the type of description Example 1 Table 5 1 Module description Module No Total of Number of process data process data bytes bytes for three BL20 2DI 24VDC P 1 2 3 modules Not compressed
186. only E BL20 2AI THERMO PI Table 4 67 Value dec Diagnostic messages BL20 2Al THERMO PI 16 measurement value range error 17 open circuit BL20 4AI U I Table 4 68 Value dec Diagnostic messages BL20 4Al U 16 measurement value range error 17 open circuit BL20 8AI U I 4PT NI Table 4 69 Value dec Diagnostic messages BL20 8AI U I 4PT NI 16 measurement value range error 17 open circuit 18 overcurrent short circuit 19 overflow underflow 23 Hardwarefehler D300458 1211 BL20 PBDP 4 69 Gateways for PROFIBUS DP BL20 E 4A0 U I Table 4 70 Value dec Diagnostic messages BL20 AO U I 16 measurement value range error 19 overflow underflow 23 hardware failure BL20 2DO 24VDC 0 5A P Table 4 71 Value dec Diagnostic messages BL20 2DO 24VDC 0 5A P 16 ovrcurr short circuit gt 1 of K1 4 BL20 2DO 24VDC 0 5A N Table 4 72 Value dec Diagnostic messages BL20 2DO 24VDC 0 5A N 16 overcurrent short circuit 1 ch min BL20 2DO 24VDC 2A P Table 4 73 Value dec Diagnostic messages BL20 2DO 24VDC 2A P 16 ovrcurr shrt circ 1 of K1 4 BL20 4DO 24VDC 0 5A P Table 4 74 Value dec Diagnostic messages BL20 4DO 24VDC 0 5A P 16 ovrcurr shrt circ 1 of K1 4 BL20 16DO 24VDC 0 5A P Table 4 75 Value dec Diagnostic messages BL20 16DO 24VDC 0 5A P 16 ovrcurr shrt circ 1 of K1 4
187. or S Steinkaemper Description Extended GSD file for modular 5 DP slave station BL26 GW PBDP 1 5MB and BL28 GW PBDP 1 5HB S H This extended GSD file supports module process data compressing Modifications Jan 24th 2882 S Steinkaemper U2 2 released gt Profibus_DP a tee Note i The respective actual versions of the GSD file TRCKFFOD gsd for the 1 5 Mbaud gateway as well as the GSD file TRCKFFOE gsd for the 12 Mbaud gateway are available directly from Turck It is also possible to gain updates by downloading the files from the PROFIBUS User Organization s homepage www profibus com or from the Turck homepage www turck com A tailor made GSD file can be generated for corresponding facility structures with the assistance of I Oassistant from Turck l Oassistant generates on demand an adapted GSD file according to the current structure of the BL20 station This GSD file must be subsequently transmitted to the PLC and configuration software of the PROFIBUS DP master You can find a short description of l Oassistant s functions in chapter 9 Please refer to the Online Help supplied with I Oassistant for a detailed description of its operation and functions 5 2 2 Compressing module process data 5 4 The compression of process data of modules of the same type standard module description or of identical type module description according to type serves essentially to reduce the number of c
188. ormed on this condition If automatic error response Auto Clear True is enabled the DPM1 terminates the Operate status switches the outputs of the assigned slaves into the safe status and returns to the operating status Clear Of the The slave carries out response monitoring to detect master or transmission DP slave errors If there is no data exchange during the response monitoring interval with the associated master the slave automatically switches the outputs into the safe status In multi master system operation an additional access protection is required for the inputs and outputs of the slaves in order to ensure that only the authorized master has direct access The slaves provide an input and output image for all other masters so that this map can be read by any master even without access token Ident number Each DP slave and each DPM1 must have an individual ident number It is needed so that the DP master can identify the connected devices directly without creating significant protocol overhead The master compares the ident numbers of the connected DP devices with the ident numbers registered in the configuration data of the DPM2 User data transfer will only be started if the right device types with the right station addresses are connected to the bus This provides additional protection against configuration errors The manufacturer specific ident nos are determined and assigned by the PROFIBUS user organization
189. otection class according to IEC 529 IP20 4 8 D300458 1211 BL20 PBDP Technical data Industri A A Danger 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 Approvals Table 4 2 Approvals Approvals CE CSA UL Base modules Table 4 3 Protection class IP 20 technical data for base modules Measurement data according to VDE 0611 Part 1 8 92 IEC 947 7 1 1989 Rated voltage 250 V Rated current 17 5 A Rated surge 4 kV Pollution severity 2 Insulation stripping length 8 mm 0 32 inch Max wire range 0 5 to 2 5 mm 0 0008 to 0 0039 inch 20 to 12 AWG Crimpable wire e solid core H 07V U 0 5 to 2 5 mm 0 0008 to 0 0039 inch 20to 12 AWG f flexible core H 07V K 0 5 to 1 5 mm 0 0008 to 0 0023 inch 20to 16 AWG f with ferrules according to DIN 46228 1 ferrules crimped gas tight 0 5 to 1 5 mm 0 0008 to 0 0023 inch 20to 16 AWG Plug gauge according to IEC 947 1 1988 A1 TOP connection technology Tension clamp or screw connection 4 2 2 Structure diagram for the gateways D300458 1211 BL20 PBDP 4 9 Gateways for PROFIBUS DP The BL20 gateway has the following structure Figur
190. ounter module BL20 1CNT 24VDC Industri A 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 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 Table 8 15 B7 B6 B5 B4 B3 B2 B1 BO Parameters measurement mode Byte 0 15 16 Byte 1 digital 14 15 X X X X function DI el Byte 2 13 14 X X measurement mode Byte 5 lower limit LWORD 12 13 Byte 4 11 12 Byte 5 10 11 lower limit HWORD Byte 6 upper limit LWORD 9 10 Byte 7 8 9 Byte 8 7 8 Byte 9 6 7 Byte 10 5 6 Byte 11 4 5 Byte 12 diagnostic substitute 3 4 2 x fuco DO1 _ value DOT Byte 13 en sensor sensor sensor 2 3 input B sensor A input filter input filter input filter p DI B A Byte 14 behavior CPU master Group 1 2 X X STOP X X X diagnos tics upper limit HWORD integration time n 10ms sensor pulses per revolution signal evaluation A B Byte 15 X X X X X X X 0 1 2 D3004
191. p view 9 8 7 6 The table below shows the pin assignment when using a PS 2 cable and adapter Table 4 9 PS 2 9 pole serial Pin assignment interface on PC when using PS 2 cable and adapter Pin Standard PS 2 male BL20 Gateway PS 2 Pin Male connector A This connection connector female connector inot supported CLK 5V Gw 46A DTR DSR by all adapter cables 2 GND GND 5 GND 3 DATA 4 n c DATA2 TxD 2 RxD 5 5V CtriIMode 7 RTS 6 n c CLK2 RxD 3 TxD D300458 1211 BL20 PBDP Gateways for PROFIBUS DP Figure 4 9 BL20 connection cable connecting a PCand a BL20 gateway A SUB D female connector B BL20connection cable f C PS 2malecon MEE l nector d 4 4 2 Connection using commercially available cables A further possibility to connect PC and BL20 gateway is to use a commercially available connection and adapter cable The following two cables are necessary E 1xPS 2cable PS 2 male connector PS 2 male connector commercially available keyboard extension cable E 1xadapter cable PS 2 female connector SUB D female connector commercially available extension cable for a PC mouse Figure 4 10 PS 2 female connector on the gateway top view 34 Figure 4 11 12 34 5 9 pole SUB D male connector on PC top view 67 89 4 16 D300458 1211 BL20 PBDP Service interface connection The following graphic of a PS 2 male connector PS 2 male connector connection is a
192. 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 duration measurement averaging over 1 to 1000 periods upper limit wrong 4 The value for the upper limit is incorrect Permissible value range 1 to 16777215 lower limit wrong 5 The value for the lower limit is incorrect Permissible value range 0 to 16777214 D300458 1211 BL20 PBDP 8 25 Integration of Technology Modules in PROFIBUS DP Table 8 17 Name of error type Position Explanation Meaning and position ofthe data bits diag nostics operating mode 6 The value XXXX1 1 for selecting the operating mode is incorrect wrong 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 mode 7 This message is always shown in conjunction with other diagnostics messages and indicates that messages refer to an active measurement mode 8 26 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A 8 1 3 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 ina
193. put is or was set It must be acknowledged with RES STS process output The bit is reset immediately if acknowledgement takes place when the output is still set STS_CMP1 is also set if DO1 SET_DO1 1 when the output is not released This bit must be reset by the RES_STS control bit STS_SYN Status synchronization After synchronization is successfully completed the STS_SYN status bit is set This bit must be reset by the RES_STS control bit D300458 1211 BL20 PBDP 8 7 Integration of Technology Modules in PROFIBUS DP 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 Table 8 6 B7 B6 B5 B4 B3 B2 B1 BO Parameters for count mode Byte 0 15 16 X X counter mode Byte 1 main count synchroni digital gate 14 15 direction zation funcion pl inputDI function Byte 2 13 14 to Byte 5 lower count limit 10 11 Byte 6 9 10 to Byte 9 upper count limit 6 7 Byte 10 y 5 6 hysteresi
194. quency OA 2 5 us 200 kHz A 1 25 us 20 kHz interference and thus increase the accuracy of the counting The limit frequency can be adapted to the application 20 kHz or 200 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 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 continue operating mode operating without restriction 10 DO1 switch A failure of the higher level PLC causes output DO1 to assume the substitute value value specified at Substitute value DO1 11 DO1 hold last A failure of the higher level PLC causes output DO1 to retain the value status in the event of a failure 8 24 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A 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 d
195. r System 1 tg 3 BL20 GV tg 4 SIPART Ba D300458 1211 BL20 PBDP 5 13 Connections to automation devices 5 3 4 Setting gateway parameters To set the gateway parameters double click the corresponding BL20 station In the window which opens click the Assigning Parameters button to open the dialog box where you can set the gateway parameters Figure 5 11 DP Slave Properties x Setting the z parameters ofthe _ Properties Assigning Parameters BL20 gateway Parameter Name Value s Modify Value Lx outputs fieldbus error outputs module exchange error output 0 Value outputs module exchange output 0 integer data format LSB first diagnostics from modules activate gateway diagnostics device related diagnostics station configuration do not allow changes OQassistant Force Mode telease output substitute value hold current value Cancel Help The parameters are displayed in text form by default You can switch to the hexadecimal form by using the Hex Parameters button You can find an assignment table for hexadecimal to text descriptions of the individual parameters in the Appendix Double click a parameter or click the Modify Value button to open the dialog box with the relevant options for setting the parameters The meaning of the gateway parameters are described in the Section Setting Parameters chapter 2 5
196. register contents has produced the following result REG SSI POS gt REG UPPER LIMIT ERR SSI 0 SSI encoder signal present 1 SSI encoder signal faulty e g due to a cable break SSI DIAG 0 No enabled status signal is active SSI_STSx 0 1 At least one enabled status signal is active SSI_STSx 1 D300458 1211 BL20 PBDP 8 47 Integration of Technology Modules in PROFIBUS DP Process output data PDout The field output data is transferred from the BL20 1SSI module to the connected field device The process output data is the data that is output from the PLC to the BL20 1SSI module via a gateway This is transferred in an 8 byte format as follows E 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 1 byte contains the register address of the data to be written to bytes 0 to 3 of this telegram and a write request 1 byte is used for controlling the comparison operations 1 byte contains a Stop bit for interrupting communication with the encoder Figure 8 10 Process output Data image data Process output data PDout SPS gt SSI byte bit 7 bit 6 bit 5 bit 4 bita bit2 bit 1 bito es e temm x x fetes cite lt Sars its Table 8 23 Designation Value Meaning Meaning of
197. rent 0 20 mA PA NE 43 11 current 4 20 mA PA NE 43 12 current 0 20 mA ext range 13 current 4 20 mA ext range 63 deactivated 4 value representation Kx 0 Integer 15Bit sign A 1 12Bit left justified 5 diagnostics Kx 0 release A 1 block 647 substitute value options 0 output substitute value 1 hold current value 2 output min value B 3 output max value B 1 4 parameterized substitute value channel x LOW Byte 7 10 2 5 parametrparameterized substitute value channel x HIGH Byte 8 11 4 36 D300458 1211 BL20 PBDP Setting parameters BL20 1CNT 24VDC Industri A The module provides the following parameter bytes in counter mode Table 4 26 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1CNT 24VDC counter mode A default 0 0 5 counter mode 32 continuous count A settings 33 single action count 34 periodical count 1 0 gate function 0 abort count procedure A 1 interrupt count procedure 1 digital input DI 1 normal A 1 inverted 2 3 function DI 0 inputA 1 HW gate 2 Latch Retrigger when edge pos 3 synchronisation when edge pos 4 synchronisation 0 single action A 1 periodical 5 6 main count direction 0 noneA 1 up 2 down 2to5 lower count limit 2 147 483 648 2 to 0 lower count limit 32768 A to 0 Signed16 HWORD lower count limit 32 768 to 32 767 Signed16 0 A LWORD 6to9 upper count
198. ror hardware error 8020h communication error error in data flow 8040h communication error error in telegram frame 8080h communication error buffer overflow of the module 8300h variable error wrong parameter SendData 8301h variable error wrong data type of parameter SendData 8302h variable error wrong length of parameter SendData RETVALSFC14 see Siemens software manual RETVALSFC15 see Siemens software manual Receive function block FBRECVRSxxx The software block FBRECVRSxxx is a handling block only used to receive data from the BL20 1RS232 module Figure 10 2 Receive function block FBRECVRSxxx 10 4 BOOL gt BOOL gt BOOL gt WORD gt WORD lj ANY j WORD BOOL WORD WORD WORD WORD AAAA D300458 1211 BL20 PBDP Function blocks for S7 Industri A Input variables Table 10 3 Variable Meaning Input variables of FBRECVRSxxx Enable 1 The receive of data s released 0 The receive of data s blocked Quit 1 The error messages are reset Acknowledge of errors The communication is stopped 0 If error messages have occurred they remain valid CLRBuf_Recv 1 Flushing the receive buffer is planned Flushing is always executed successfully if Enable 0 and Quit 1 0 No influence on the module s function RxD_K1 Start address of the module s 8 byte input address range The software SIMATIC STEP 7 assigns the address r
199. s Diagnostics DIAG DAT NORM S DIAG DAT NORM 10 B 2 0000_0000 2 0000 0000 DB99 DBB 2082 Diagnostics DIAG DAT NORM 11 280000 0000 DB99 DBB 2083 Diagnostics DIAG DAT NORM 12 2 0000 0001 B DB99 DBB 2084 Diagnostics DIAG DAT NORM 13 280000 0000 DB99 DBB 2085 Diagnostics DIAG DAT NORM 14 280000 0000 DB99 DBB 2086 Diagnostics DIAG DAT NORM 15 BIN j280000 0000 A Gateway diagnostic byte 1 bit 0 Module diagnostics available B Diagnostic byte module 3 BL 2DO 24VDC 0 5A P bit 0 Overcurrent In this example a short circuit in channel 1 of a digital output module was provoked As a result the DIA LED on the gateway indicated that the gateway was generating an extended diagnosis by flashing red The LED s DIA and 11 of the digital output module lit up red The normal status was restored to the LED indicators by repairing the short circuit D300458 1211 BL20 PBDP Example of diagnostics with a Siemens S7 400 PLC Note The default settings for the gateway parameters set all outputs to zero please refer to the section Setting Parameters chapter 2 It is not possible to diagnose any short circuits which may arise if modules planned for a station are not plugged For this reason it is recommended to set the corresponding gateway parameters to Hold current value Plann
200. s 20kHz 13 3 sensor input filter B 2 5 us 200kHz A 25 us 20kHz 4 sensor input filter DI 2 5 us 200kHz A 25 us 20kHz 5 sensor A normal A inverted 7 direction input B normal A inverted 14 0 group diagnostics release A block 4to5 behaviour CPU master turn off DO1 A STOP proceed with operating mode DO1 switch to substitute value DO1 hold last value 4 40 D300458 1211 BL20 PBDP Setting parameters Industri A BL20 1RS232 The module provides the following parameter bytes Table 4 28 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 1RS232 A default 0 Oto4 bit transfer rate 1 300 Bit s settings 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 6 Disable 1 Constant setting ReducedCtrl The diagnostic messages are shown in Byte 6 of the process input data independently 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 0 7 diagnostics Diagnosis activated diagnosis deactivated This affects the separate fieldbus specific diagnostic message not the diagnosis embedded in the process input data 0 Enable A 1 Inhibit D300458 12
201. s Byte 11 4 5 pulse duration Byte 12 diagnostic substitute 3 4 function DO2 function DO1 DO1 value DO1 Byte 13 direction sensor sensor sensor signal 2 3 sensor A input filter input filter input filter 2 input B evaluation A B p DI B A Pe Byte 14 group 1 2 X X pehayiot CPU X X X diagnos master stop tics Byte 15 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 software package Some parameters cannot be modified online These parameters must be defined before 8 8 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC Industri A commissioning Some parameters can also be modified via the process output after commissioning gt Process output data Note The current count operation is stopped if parameters are changed during operation Table 8 7 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 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 continue operating mode operating without restriction 10 DO1 switch A failure of the higher level PLC causes output DO1 to assume the subs
202. s module exchange 0x00 0x00 0x00 0x00 0x00 output 0 A The gateway switches the outputs of modules to 0 No error information is transmitted output substitute value The gateway switches the outputs of 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 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 configuration 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 exchange process dat The gateway carries on exchanging process data with the other module bus stations No error information is transmitted D300458 1211 BL20 PBDP Setting parameters Industri A Table 4 10 Gateway parameters Parameter name Value A default settings Meaning outputs module exchange error output OA The gateway switches the outputs of the modules to 0 No error information is transmitted ou
203. sd File name TRCKFFOD gsd File type ase Files gs Cancel D300458 1211 BL20 PBDP Connection to a Siemens S7 PLC The GSD files are listed as separate entries in the hardware catalog following correct installation Note i The exact configuration procedure can be found in the operators manual which is supplied with the software 5 3 2 Selecting the BL20 gateway as a slave To insert a BL20 station as a slave select the required entry from the hardware catalog Figure 5 9 E HW Config SIMATIC 300 1 Configuration BL20 pad d Bl Station Edit Insert PLC View Options Window Help 8 x station 1 au aga slave Dele s amp ele i Sf E wel Hardware Catalog PROFIBUS DP Additional Field Devices 2 59 1 0 zy 1 0 MANAGER BL20 G w PBDP 1 5M es a H BL20 Gw PBDP 12MB H BL20 Gw PBDP 12MB E Gateway E SIMATIC Closed Loop Controller Press F1 for help 5 3 3 Example of a mixed usage configuration You can extend the fieldbus structure as you wish in the manner described above thereby mixed structures are possible using PROFIBUS devices from third party manufacturers Figure 5 10 IHW Config SIMATIC 300 1 Configuration BL20 Fieldbus structure gl Station Edit Insert PLC View Options Window Help 8 x with mixed usage njejes EN aj SA wi in Exft ET x PROFIBUS 1 DP Maste
204. sed for analog input and output signals The connection between the shield and the respective base module can be made via a shield connection BL20 ZBW2 which is available as an accessory Figure 7 11 Two pole shield connection for analog modules The shield connection is to be mounted in the corresponding connection level of the base module The following cable diameters are permissible for the shield connection Diameter of the shielding braid max 4 9 mm 0 19 inch Outer diameter of the cable max 6 5 mm 0 26 inch D300458 1211 BL20 PBDP 7 15 Guidelines for electrical installation 7 16 D300458 1211 BL20 PBDP Industri A 8 Integration of Technology Modules in PROFIBUS DP 8 1 Integration of the counter module BL20 1CNT 24VDC cccccccccccccscccccccscccccccccsccccccccccsccccccccscccscccccs 2 8 1 1 Count mode data image iod linke Rasa 2 zu tenni 2 Process input data eet ee bene nni e ea ad a dp a ee nd D EGRE ad e en as 5 Parameters for count mode nnen meer enne enn enne nennen nnns 8 Diagnostics for count mode einander ARE LRUN 13 8 1 2 Measurement mode data image eene eere nennen 15 Process output for measurement mode ssssssseeeeeenee enne 15 Process input for measurement mode sssssssseeeneee eene nennen nnn nnne nnn nnns 19 Parameters for measurement mode nnee nennen nenne enne nennen nennen 21 Diagnostics for measurement mode 0 cece ee
205. sembled Avoid touching the bus connections with bare fingers as this can lead to ESD damage 7 12 D300458 1211 BL20 PBDP Bus connection 7 4 Bus connection The bus connection of BL20 I O modules is established via a 9 pole SUB D connector according to RS 485 DIN 19 245 Part 1 or via direct wiring with a tension clamp terminal on the gateway The assignment of the connections is described fully in chapter 2 If the gateway is wired directly the bus connection must be shielded This can be done for example using the clamping yoke BL20 SCH 1 Figure 7 9 Shield connection for PROFIBUS DP When connecting the gateway via a SUB D male connector the bus connection is shielded by using a metal bus data plug Attention AN Where necessary the bus termination must be made via a bus terminating resistor in a bus data plug for example D9T451 4M Wiring The graphic shows the minimum wiring with shielding between two bus stations using a SUB D connector as an example Connection A Connection B B 3 0 em 0 3 B 5 0 05 A 8 0 08 A Figure 7 10 Deu 1 minimum wiring H Shield x Reference potential Reference potential D300458 1211 BL20 PBDP 7 13 Guidelines for electrical installation Attention The two signal wires must not be reversed 7 14 D300458 1211 BL20 PBDP Two pole shield connection Industri A 7 5 Two pole shield connection Shielded cables can be u
206. side 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 10 3 Hz 1 to 25 000 000 x 10 3 rpm 1 to 100 000 000 ms Status of load function Set if the Load function is running 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 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 The DO1 status bit indicates the status of digital output DO1 The DI status bit indicates the status of digital input DI 1 Measuring operation running 1 The lower measuring limit was undershot The bit must be reset with RES_STS 0 1 1 The upper measuring limit was exceeded The bit must be reset with RES STS 0 1 1 Measuring terminated The measured value is updated with every elapsed time interval The end of a measurement expiry of the time interval is indicated with the status bit STS_CMP1 The bit must be reset with RES STS 0 1 Table 8 14 Bits Meaning of the data bits process input ERR_LOAD STS_LOAD STS_DN STS_UP STS_DO1 STS_DI STS_GATE STS_UFLW STS_OFLW STS_CMP1 8 20 D300458 1211 BL20 PBDP Integration of the c
207. smitted at the moment SendDataCnt Number of the transmitted data max 65536 RETVAL Return values of the function status or error code 0000h no error 8010h communication error hardware error 8020h communication error error in data flow 8040h communication error error in telegram frame 8080h communication error buffer overflow of the module 8100h variable error wrong parameter RecvData 8101h variable error wrong data type of parameter RecvData 8102h variable error wrong length of parameter RecvData 8200h variable error wrong parameter SendData 8201h variable error wrong data type of parameter SendData 8202h variable error wrong length of parameter SendData RETVALSFC14 see Siemens software manual RETVALSFC15 see Siemens software manual D300458 1211 BL20 PBDP 10 9 Apendix 10 1 2 Function block for BL20 1SSI The function block that was created for the SIMATIC S7 PLC system Siemens enables the data bytesto be exchanged between the PLC and the BL20 1SSI module and provides in particular access to the register interface The system function blocks SFC14 and SFC15 from Siemens are used in order to ensure consistent data exchange The return values are transferred transparently and the meaning of the error numbers can be obtained from the manual System software for S7 300 400 Figure 10 4 FB_SSI
208. snsssnsnnsnsnssnsnsnsnsnssnnnsnnnensnnsnsnnsnnnnsnnnnnnne 4 1 3 1 Prescribed USE eddie telnet 4 1 3 2 Notes concerning planning installation of this product annees emen 4 1 4 Description of symbols used sssssssssssonnsnnnnnnnnnnnnnsnsnsnnnnunnnnnnnnnnsnnnsunsnsnnnnnnnnnnnnssssssnnnnnnnnnnnsnnnnssssunes 5 1 5 List of revisions 6 D300458 1211 BL20 PBDP 1 1 About this Manual 1 1 1 2 Documentation concept This manual contains all information about the PROFIBUS DP gateway of the BL20 system The following chapters contain a short BL20 system description a description of the field bus system PROFIBUS DP exact information about function and structure of the BL20 PROFIBUS DP gateway as well as all bus specific information concerning the connection to automation devices the maximum system extension etc The bus independent I O modules for BL20 as well as all further fieldbus independent chapters like mounting labelling etc are described in a separate manual BL20 I O modules TURCK Documentation No English D300717 Furthermore the manual contains a short description of the project planning and diagnostics software for TURCK I O systems the engineering software I O ASSISTANT D300458 1211 BL20 PBDP Description of symbols used Industri A 1 2 Description of symbols used Danger A This sign can be found next to all notes
209. stic bits and bytes for the gateway and the BL20 modules are descripted in chapter 2 The representation of the diagnostic messages in the table VAT1 is updated following a renewed diagnosis Diagnostic messages were provoked for the following examples E Short circuit in a digital output module E Planned but not plugged I O module E Interruption of the field voltage D300458 1211 BL20 PBDP Connections to automation devices 5 5 1 Short circuit in a digital output module Figure 5 14 Diagnosis when a short circuit occurs in an output module 5 20 Table Edi Insert PLC Variable View Options Window Help oela sl Heels lelel ve DB100 DBW o BIN gyo ay ssim moaity 2 0000 0000 0000 0000 lol x DB100 DBu DB99 DBB 2072 2 Diagnostics DIAG DAT NORM 1 BIN HEX 2 0000_0000_o0000_o000 B 16 08 DB99 DBB 2073 Diagnostics DIAG DAT NORM 2 HEX B 16 0C DB99 DBB 2074 Diagnostics DIAG DAT NORM 3 HEX B 16 00 DB99 DBB 2075 Diagnostics DIAG DAT NORM 4 HEX B 16 01 DB99 DBB 2076 Diagnostics DIAG DAT NORM 5 HEX B 16 02 DB99 DBB 2077 Diagnostics DIAG DAT NORM 6 HEX BH16 B2 DB99 DBB 2078 DB99 DBB 2079 Diagnostics Diagnostics DIAG DAT NORM 7 DIAG DAT NORM 8 HEX BIN B 16 05 2 0000 0001 A PRSS DBE 2080 DB99 DBB 2081 Diagnostic
210. substitute value will be 4 5 transmitted ifthe respective parameters ofthe gateway have been set to output substitute value 4 34 D300458 1211 BL20 PBDP Setting parameters Industri A BL20 2AO U 10 0 10VDC The module provides the following parameter bytes per channel Table 4 24 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 2AO U 10 0 10VDC A default 0 3 0 voltage mode 0 0 10VA settings 1 10 10V 1 value representation 0 Integer 15Bit sign A 1 12Bit left justified 3 channel Kx 0 activate A 1 deactivate 1 2 substitute value Ax The substitute value will be 4 5 transmitted if the respective parameters of the gateway have been set to output substitute value D300458 1211 BL20 PBDP 4 35 Gateways for PROFIBUS DP BL20 E 4AO U I Das Modul verf gt pro Kanal ber die folgenden Parameterbytes Table 4 25 Assignment Parameter name Value Meaning Module parameters Byte Bit BL2O E AO U I A default 0 3 0 3 operation mode Kx 0 voltage 10 10 V DC Standard A settings 6 9 B values depend 1 voltage 0 10 V DC Standard ing on the parameteriza 2 voltage 10 10 V DC PA NE 43 tion 3 voltage 0 10 V DC PA NE 43 4 voltage 10 10 V DC ext range 5 current 0 10 V DC ext range 8 current 0 20 mA Standard A 9 current 4 20 mA Standard 10 cur
211. t as follows 2 bytes contain status information 1 byte contains the diagnostics data Four bytes are used to contain the measured values Structure of the data bytes in PROFIBUS DP Table 8 13 Bit 7 6 5 4 3 2 1 0 PDIn X reserved Byte 7 X 6 SIS x X STS UFLW STS_OFLW X CMP1 x 5 SIS SIS X X SIS X SIS 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 2 measured value 1 0 Table 8 14 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 diagnostics bit With the separate diagnostics message bits 3 to 6 describe the parameter errors in more detail 0 The parameter definition is correct as per specification RES STS A 1 Resetting of status bits running The last process output telegram contained RES STS 1 0 The last process output telegram contained RES STS 0 D300458 1211 BL20 PBDP Integration of Technology Modules in PROFIBUS DP Explanations 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 out
212. t 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 Characteristics of a fieldbus are a high transmission security and real time behavior GND Abbreviation of ground potential 0 Ground Expression used in electrical engineering to describe an area whose electrical potential is equal to zero at any given point In neutral grounding devices the potential is not necessarily zero and one speaks of the ground refe rence Ground connection One or more compo
213. t the following diagnosis is a device related diagnosis bit 6 and bit 7 00 the header also contains information about the length of the diagnosis telegram maximum length 64 byte The header byte is included in the telegram length 1 byte header 2 byte gateway diagnosis max 61 byte module diagnosis Byte 8 and gateway diagnosis Byte 9 Byte 8 bit O shows for example if another module in the station sends diagnosis information bit 0 1 or not bit 0 0 Identifier specific diagnosis Byte 10 Byte 10 Header to 18 Besides the information that the following diagnosis is a identifier related diagnosis bit 6 and bit 7 201 the header also contains information about the length of the identifier related part of the diagnosis telegram It always has 9 bytes 9 bytes 1 byte header 8 bytes for the maximum number of 64 possible modules Byte 11 Shows possible diagnosis messages of the modules 0 to 7 Module 0 is the first module following the gateway The module position is indicated by the position of the bit which is set in this byte Example 0000_0100 error at module 2 Byte 12 Shows possible diagnosis messages of module 8 to 15 Byte 18 Shows possible diagnosis messages of module 56 to 63 Channel related diagnosis per module 3 bytes 1 byte header 1 byte channel description 1 byte diagnosis section Channel specific diagnostic messages Byt
214. tatus Comment Data bits SOx relay x 8 52 SOx is transferred as the switch status of the contactor coil from the SWIRE bus master to the appropriate SWIRE slave 0 Off Off Contactor not switched on 1 On On Contactor is switched on D300458 1211 BL20 PBDP Integration of the SWIRE Module BL20 E 1SWIRE Industri A 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 E 2 bytes of gateway diagnostics device related diagnostics E 64 bits of ID specific diagnostics E noo 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 diagnostics bytes of all station modules are attached that support diagnostics D300458 1211 BL20 PBDP 8 53 Integration of Technology Modules in PROFIBUS DP This should be interpreted as
215. te parameters and to scan the device status E DP slave A PROFIBUS DP slave is a peripheral device I Os drives transducers which reads input data and provides output data to the periphery Of course there are also devices which provide only input or only output data The input and output data volume depends on the specific device and may comprise up to 246 bytes input data and 246 bytes output data Single master systems With mono master systems merely a single master on the bus is active during bus operation The PLC is the central control component The slaves are coupled decentrally to the PLC via the transmission medium With this type of system configuration the shortest bus cycle times are achieved D300458 1211 BL20 PBDP System overview Industri A Multi master systems In multi master operation there are several masters on the bus These form independent sub systems consisting of one DPM1 each and the associated slaves or additional configuration and diagnostic devices The slave input and output data can be read by all DP masters Writing of outputs is reserved to a single DP master the assigned DPM1 during configuration Multi Master systems achieve an average bus cycle time In time critical applications you should monitor the bus cycle time via a connected diagnostic tool 3 1 3 Topology PROFIBUS DP communicates via a shielded 2 wire cable according to the RS485 standard The network topology accords to a
216. ted anodized or isolated metal components at the connection point Protect the connection point against corrosion for example with grease caution use only suitable grease D300458 1211 BL20 PBDP Electromagnetic compatibility EMC 73 4 EMC compliant cabinet installation Figure 7 6 EMC compliant cabinet installation Bonding straps Bonding straps connect inactive metal components if it is not possible to create a large surface area contact Use short bonding straps with large surface areas Mounting plates Mounting plates used to hold control components must have a large surface area contact with the cabinet housing Protective conductor rail The protective conductor rail must also be connected over a large surface area to the mounting plates and additionally with an external cable cross section at least 10 mm2 0 015 inch2 to the protective conductor system to avoid interference currents Protective conductor terminal block The protective conductor terminal block must be connected to the protective conductor rail Protective conductor system cable grounding point The cable must be connected over a large surface area with the protective conductor system D300458 1211 BL20 PBDP 7 9 Guidelines for electrical installation 7 3 5 7 3 6 Shielding of cables Shielding is used to prevent interference from voltages and the radiation of interference fields b
217. ted to a decimal value Inthe example Low word hexadecimal FBF1 D300458 1211 BL20 PBDP 8 31 Integration of Technology Modules in PROFIBUS DP 8 32 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 Low word decimal The same principle applies to the High word 20 2 22 23 24 25 26 77 28 2 210 2 212 213 214 25 E In the example High word hexadecimal 0009 High word binary 0000 0000 0000 1001 64 128 256 512 1024 2048 4096 8192 16384 32768 64 497 High word decimal 9 16 32 64 128 256 512 2048 4096 8192 16384 32768 D300458 1211 BL20 PBDP Integration of the counter module BL20 1CNT 24VDC E The calculated values are entered in the appropriate entry lines of the parameter mask for the BL20 counter module measurement mode Fig E 83 Properties DP slave Entering thelower measuring limit Address ID Parameter Assignment asaH igh and Low Parameters Value kad word dez amp Station parameters Ho Device specific parameters measurement mode frequency measurement digital input DI normal unction DI input SEEN js E lower limit LWORD 64497 EI upper limit HWORD jo upper
218. the module s process data 0 PV primary variable 1 SV 2nd variable A 2 TV 3rd variable 3 QV 4th variable Variable VC 6 0 channel mapping VC Defines the channel of which the HART variable is read 0 channel 1 1 channel 2 A 6 7 variable mapping VC similar to variable VA Variable VD 7 0 channel mapping VD similar to variable VA 6 7 variable mapping VD similar to variable B 4 30 D300458 1211 BL20 PBDP Setting parameters Industri A BL20 4AI U I The module provides the following parameter bytes per channel Table 4 20 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 4AI U I A default 0 3 0 range x 0 50Hz A settings 1 60Hz 1 value representation 0 integer 15Bit sign A Kx 1 12Bit left justified 2 diagnostic Kx 0 release A 1 block 3 channel Kx 0 activate A 1 deactivate 4 operation mode x 0 voltage A 1 current D300458 1211 BL20 PBDP 4 31 Gateways for PROFIBUS DP BL20 E 8AI U I 4PT NI The module provides the following parameter bytes per channel Table 4 21 Assignment Parameter name Value Meaning Module parame ters Byte Bit BL20 E 8AI U I 4PT NI A default 0 7 0 5 operation mode Kx 0 voltage 0 10 V DC standard settings B In Pt Ni and R 1 voltage 10 10 V DC standard A measurement only the first of 2 voltage 0 10 VDC PA NE 43 the used chan
219. the process output MODE DO1 00 and LOAD DO PARAM 0 gt 1 The output DO1 can also be set before commissioning via the separate parameter data The default setting for DO1 is to display the value of SET DOI RES STS 0 1 Initiate resetting of status bits The STS_UFLW STS OFLW and STS_CMP1 process input status bits are reset Bit RES STS A 1 process input acknowledges that the reset command has been received RES STS can now be reset to 0 SW GATE 0 gt 1 Measuring is started software release 1 0 Measuring is stopped LOAD DO 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 UPLIM
220. 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 function has been deactivated via the parameter setting 1 Tripped The PKZ of the slave has tripped Note i The error messages U y ERR TYPEerpr TYPEgrRS PKZerp PKZerRSX SDerr and SD RR5SX can be deactivated via the parameter setting D300458 1211 BL20 PBDP 8 57 Integration of Technology Modules in PROFIBUS DP Parameter Parameters must be assigned to the module for correct operation of the application and in order to make it functional Table 8 30 Bit7 Bit 6 Bit5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SWIRE parame ters Byte 1 reserved free free MC MNA Configur Disable free ation Cfg Byte 2 free Unuxerr TY Pere TYPnro PK Zep PKZiro SDerr SDwro Byte 3 reserved Byte 4 reserved lifeguarding time up to version VN 01 03 Byte 5 SCoac98 SCyg4c 7 SCS SCp4cS5 SCS SCy4c 3 SCy4cS2 EO Byte 6 SCpjaa SCpiac SCpiac SCpiac SCoiac SCpiag SCoiac SCoiacS9 S16 S15 S14 13 12 S11 S10 Byte 7 reserved Byte 8 reserved Byte 9 24 Type designation slave 1 16 The following table shows the meaning of the parameter bits Table 8 31 Designation Status Meaning of the parameter bits A default setting Byte 1 Disable Cfg Automatic SWIRE configuration If the physical structure of the SWIRE bus does not match the configuration stored
221. tion in the Electronic Device Data Sheets Each individual module is supplied with a means of identification in the standard electronic device data sheet which makes various forms of identification possible Standard module description The configured list of modules is displayed with standard identification general identification format exception empty slots and modules without process data are displayed in a special identification format Modules cannot be unmistakably identified using this identification Advantage Replacement modules need not be of an identical type to be accepted by the BL20 gateway This means that related modules with identical process data lengths can be used Thus it is possible to exchange a 2 DO 24 V DC module with 0 5A with a 2 DO 24 V DC module with 2A This form of module identification achieves amongst other things a higher measure of flexibility for process parameter and diagnostic data Figure s 1 Standard File Edit Search 2 description ofthe BL28 2D1 24UDC P digital Module S BL28 2DI 254UDC P 6x16 Ext Hodule Prm Data Len 1 input module Ext User Prm Data Const 8 8x88 BL20 2DI 24VDC lEndModule P Module description according to type The configured list of modules is displayed with extended identification special identification format which makes an exact identification of modules possible The BL20 gateway accepts modules
222. titute value value specified at Substitute value DO1 11 DO1 hold last A failure of the higher level PLC causes output DO1 to retain the value Status in the event of a failure Signal evaluation A B 00A Pulse and In this mode input B can control up and down counting direction A 01 rotary sensor single 10 rotary sensor double 11 rotary sensor fourfold Sensor Input filter A An input filter at inputs A B and DI can suppress high frequency OA 2 5 us 200 kHz A 1 25 us 20 kHz interference and thus increase the accuracy of the counting The limit frequency can be adapted to the application 20 kHz or 200 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 D300458 1211 BL20 PBDP 8 9 Integration of Technology Modules in PROFIBUS DP Table 8 7 Designation Description Parameters for count modes Value A Default value sensor A 00A Normal 01 Inverted direction input B OA Normal 1 Inverted function DO1 00A Output 01 On when cnt value fref value 10 On when cnt value F ref value 11 Pulse when cnt value ref value function DO2 00A Output 01 On when cnt value fref value 10 On when cnt value F ref value 11 Pulse when cnt value ref value substitute value DO1 OA 0
223. to operate and transmit Green Firmware not active Re install the firmware or contact flashing your Turck representative 1 Hz and LED IOs Red Green Firmware active gateway hardware Replace the gateway flashing defect 4Hz D300458 1211 BL20 PBDP Additional diagnosis indication only for BL20 GWBR PBDP GW Green Usys Check that the supply voltage is flashing undervoltage within the permissible range 1 Hz or overvoltage U undervoltage lOs Green The configured module bus station corresponds to the physically connected station communication is active Green Station is in the Deactivate the flashing l O ASSISTANTForce Mode O ASSISTANT 1Hz Force Mode Red and Controller is not ready or Vee level is Check the Bus Refreshing module LED GW not within the required range to the right of the gateway and its off wiring If the mains voltage is correctly connected contact your Turck representative 4 53 Gateways for PROFIBUS DP Table 4 34 LED indicators 4 54 LED Status Meaning Remedy Red Module bus is not ready Check the individual BL20 modules for correct mounting Red Non adaptable modification of the Check the physical station for flashing physically connected station defective or incorrectly fitted 1 Hz Compare the planned BL20 station electronics modules with the physical station Red green Adaptable modification of the Check the
224. tput substitute value The gateway switches the outputs of 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 maintain the original values The non configured analog output modules set their outputs to 0 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 configuration 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 exchange process data The gateway carries on exchanging process data with the other module bus stations No error information is transmitted outputs fieldbus error output OA The gateway switches the outputs of the modules to 0 No error information is transmitted output substitute value The gateway switches the outputs of 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 maintain the original values The non configured analog
225. tronics and base modules They can be plugged or pulled when the station is being commissioned or for maintenance purposes without having to disconnect the field wiring from the base modules Figure 2 3 Electronics module in slice design Figure 2 4 Electronics module in block design D300458 1211 BL20 PBDP 2 5 BL20 Philosophy 2 2 4 Base modules The field wiring is connected to the base modules These are constructed as terminals in block and slice designs and are available in the following variations with either tension clamp or screw connections 2 3 wire 2 channel 4 wire 2 channel and 4x 2 3 wire 4 channel The assignment table in the Section Ordering Information of the Appendix shows the possible combinations of electronics and base modules Figure 2 5 Base module with tension clamp connection Figure 2 6 Base module with screw connection Figure 2 7 Base module in block design 2 6 D300458 1211 BL20 PBDP BL20 components 2 2 5 BL20 Economy With the BL20 Economy modules the electronics and connection technology is integrated into a single housing Thus the selection of a base module is unnecessary Within a station the Economy modules can be combined with the modules with separate electronics connection technology provided that the base modules feature tension spring connections Figure 2 8 BL20 Economy 2 2 6 End plate An end plate on the rig
226. tus of slave x Everything o k 1 OFF LINE Status of slave x Slave diagnostics message present D300458 1211 BL20 PBDP 8 51 Integration of Technology Modules in PROFIBUS DP Process output Field output data is output from an BL20 E 1SWIRE to a field device The process output data is the data that is transferred by the PLC via a gateway and the BL20 E 1SWIRE to the SWIRE slaves The transfer is carried out in 8 byte format 4 bits are reserved for each SWIRE slave Table 8 26 Byte Bit 7 Bit 6 Bit5 Bit 4 it3 Bit 2 Bit 1 Bit 0 Data structure 1 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 the same way The meaning of the data of an SWIRE slave depends on the product concerned Process output data of SWIRE DIL slaves The following information can be transferred for SWIRE DIL slaves manufacturer Moeller Switch status of contactor coil on off Meaning of the 4 bit process output data on an SWIRE DIL device Table 8 27 Bit 7 Bit 6 Bit5 Bit 4 Process output for bei SWIRE DIL free free free SOx The following table shows the meaning of the data bits Table 8 28 Designation S
227. ual 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 The constellation of the module bus station set in the configuration software of the corresponding fieldbus master serves as a reference 4 reserved 5 Station configuration error 0 The gateway has prepared the station s configuration to be read out 1 The gateway could not prepare the station s configuration to be read out 6 l O ASSISTANT Force Mode active 0 The fieldbus master can access the parameter diagnostics and process data of the module bus stations 1 The force mode has been activated via the service interface by l O ASSISTANT This separates the fieldbus master from the outputs of the module bus stations No process data exchange is taking place from the fieldbus master to the output modules 7 reserved Note Up to 61 bytes of module specific diagnostic errors can follow D300458 1211 BL20 PBDP 4 59 Gateways for PROFIBUS DP Module diagnosis Device related diagnostic messages BL20 BR 24VDC D Table 4 36 Diagnostic bit Diagnostic messages BL20 BR 24VDC byte D n 0 Module bus undervoltage warning 1 reserved 2 Undervoltage field supply 3 reserved BL20 PF 24VDC D Table 4 37 Diagnostic bit Diagnostic messages BL20 PF 24VDC D byte n 1 reserved 2 reserved 3 undervoltage field supply 4 r
228. ule block when using compressed modules modules which belong together are colored grey D300458 1211 BL20 PBDP Electronic device data sheets GSD Table 5 3 Module Standard module description Example of creatingablockof Order of Type Designation of GSD file Module Module I O modules with Non com standard module pressed description modules GW Gateway A BR B 2 DI S BL20 2DI 24VDC P 1 C 4 DI S BL20 4DI 24VDC P 2 D 2 DI S BL20 2DI 24VDC P 3 1 E 2 DI S BL20 2DI 24VDC P 3 2 F 2 DI S BL20 2DI 24VDC P 3 3 G 1AOI S BL20 1AO 1 0 4 20M A 4 H 2DO0 5A 2 DO 0 5A J 2 DO 0 5A K 2 DI S BL20 2DI 24VDC P 3 4 L 1Al S BL20 1Al U 10 0 10VDC 6 M 2DO2A Figure 5 5 EE HW Config SIMATIC 300 1 Configuration BL20 A d gh Station Edit Insert PLC View Options Window Help module aja m 5 description ina Dlead amp olaf zal x Siemens PLC system 3 T BL20 BR 24VDC D ol SBLOMIMWDEP o 80 jJssL24D MVDCP fi 8D jsBL202D2MVDCN d 1 S8L202D MVDCN 1 SBL202D MVDCN AO SBL201A0IM 4 20MA 256 257 800 jsBL202D024VDC2AP S 8L202002NwDC2AP 3 Press F1 for help D300458 1211 BL20 PBDP 5 7 Connections to automation devices Table 5 4 Module Module desrciption according to Type Example of crea ti
229. ur initiators are characterized by their high immunity to interference and operating reliability due to their special construction low internal resistance few compo nents 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 sla ves Its universal use is realized by the multi master concept PROFIBUS DP address Each PROFIBUS DP module is assigned an explicit PROFIBUS DP address with which it can be queried by the mas ter D300458 1211 BL20 PBDP Industr A 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 t
230. use 4 18 Setting parameters Gateway parameters Module parameters sans caur soon oeens eeens eeeneeeeneesenseeunseevasoevaenenecene Module description in the electronic device data sheets GSD z Example of a PROFIBUS DP COnfiguration ssssssssecsssscsssccssssesssscssccesseccsscceseecsssccessecsnscessscesseccsuecssecssseessuccesuecesseeesseesssceessees Status indicators diagnostic messages gateway cussnssnnssnssnnennsnnsnnnsnnsnnnsnnnnnsnnnsnnssnnsnnnnnsnnnsnnsnnnssnnsnnsnnnnnnnne 4 53 Diagnostic messages via LEDS u un Enns ERE EEE uas eese Es 4 53 Diagnostic messages via the software ennanvonsanvonsenn eenen versen eeoeenneeeseneeeeenseecaenoecaneeeenneecceneeoeanseecaenoeeeenseoeaeneeccenseseen 4 55 Diagnosis M 4 56 Device related diagnosis nn naemen nee eeen ere 4 56 Device identifier and channel specific diagnosis nnn eanans venus ecenaseeennsoeenus eeens en eeennasecennseeennseecenssecennseecens 4 57 Description of the gateway diagnostic bits ecssescccsseeccssseecsseceeesssceessscecssssccssnscesssscessssessssseesseseeessesecsnsseeesneeessneeessnaeeeese 4 58 Connections to automation devices Introduction 5 2 Electronic device data sheets GSD 00000000000000000000000000000n00nnnnnnnnnnnnnnnnnnnnennnonsnnnnnnnnnnennnssnnnsssnssnsnnnne 5 3 Electronic data Kololi di 5 3 Compressing module process
231. vice to the BL20 1SSI module The process input data is the data that is transferred to the PLC from the BL20 1SS1 via a gateway This is transferred in an 8 byte format as follows E 4 bytes are used for representing the data that was read from the register with the address stated at REG RD ADR E When necessary 1 byte represents the register address of the read data and an acknowledgement that the read operation was successful E 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 1byte contains the results of comparison operations with the SSI encoder value 1bytecontains 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 8 44 D300458 1211 BL20 PBDP Integration of the SSI module BL20 1SSI Process input data PDin SSI gt PLC Figure 8 9 Processinputdata Data image REG WRIREG WR SSI SSI SSI SSI AKN STS3 STS2 STS1 STSO
232. ware can be downloaded via the service interface on the gateway using the software tool I O ASSISTANT More information is available in the program s online help Attention AN The station should be disconnected from the fieldbus when downloading Firmware must be downloaded by authorized personnel only The field level must be isolated D300458 1211 BL20 PBDP 6 23 Guidelines for station planning 6 24 D300458 1211 BL20 PBDP Industri A 7 Guidelines for electrical installation 7 1 General n pe U 2 Jic e 2 7 1 1 e peNupge 2 Cable routing outside buildings eene nennen enirn 2 7 1 2 Lightning PrOt CtiONs sns nein en RETRO SERRE eier REEL aen 3 7 1 3 Transmission cables eec redegit ee ru bedi eta bed a aer Ene a a Ee aad 3 7 1 4 enl Xaulm M CL Q 4 7 2 Potential relationships pg 5 7 2 1 Generale een ran needs 5 7 2 2 Potential free installation nn ee eee nennen nennen nnne nennen enn 5 7 2 3 Non isolated installation iie eed end cec Mui e ead a c d E RP aaa 6 7 3 Electromagnetic compatibility EMC s 000000000000000000000000000000000nnnnnssnnssnsnsnsnnnnsnsnnnsnnnsnsnnsnnnnnsssnnee 7 7 3 1 Ensuring electromagnetic compatibility sssssseeeneenneeneenneenmennnee nennen 7 7 3 2
233. wing parameter bytes per channel Table 4 18 Assignment Parameter name Value Meaning Module parame ters BL20 2AIH I Byte Bit A default 0 2 0 channel Kx 0 activate A settings 1 deactivate 1 short circuit diagnostics Kx 0 block 1 release A 2 open circuit diagnostics Kx 0 block 1 release A 3 4 operation mode Kx 0 0 20mA polling of HART status not possible 1 4 20 mA polling of HART status not possible 2 4 20 mA HART active A cyclic polling of HART status activated 3 reserved 1 3 0 1 value representation Kx 0 integer 15 Bit sign A 1 NE 43 243 reserved D300458 1211 BL20 PBDP 4 29 Gateways for PROFIBUS DP Additionally the BL20 2AIH I provides the following parameters for the parameterization of the HART Variables Table 4 19 Assignment Parameter name Value Meaning Module parame ters BL20 2AIH I Byte Bit A default Variable VA settings 4 0 channel mapping VA Defines the channel of which the HART variable is read 0 channel 1 A 1 channel 2 6 7 variable mapping VA Defines which HART variable of the connected sensor is mapped into the module s process data 0 PV primary variable A 1 SV 2nd variable 2 TV 3rd variable 3 QV 4th variable Variable VB 5 0 channel mapping VB similar to variable VA 6 7 variable mapping VB Defines which HART variable of the connected sensor is mapped into
234. ws 3 manufacturer specific bytes to follow Process data 2 bytes AO for module bus station F D300458 1211 BL20 PBDP 4 51 Gateways for PROFIBUS DP 4 52 Diagnostics data Module bus station A No diagnostics data available Module bus station B No diagnostics data available Module bus station C No diagnostics data available Module bus station D No diagnostics data available Module bus station E Bit 0 Measurement value range error Bit 1 Open circuit Module bus station F No diagnostics data available Module bus station G No diagnostics data available D300458 1211 BL20 PBDP Status indicators diagnostic messages gateway Industri A 4 7 Statusindicators diagnostic messages gateway The gateway transmits the following diagnostics the status of the BL20 station the communication via the internal module bus the communication to PROFIBUS DP and the status ofthe gateway Diagnostic messages are displayed in two ways via individual LEDs via the software of the respective fieldbus master for example PLC 4 7 1 Diagnostic messages via LEDs Every BL20 gateway displays the following statuses via LEDs 2 LEDs for module bus communication module bus LEDs GW and IOs 2 LEDs for PROFIBUS DP communication fieldbus LEDs DIA and Bus LED indicators Table 4 34 LED Status Meaning Remedy LED indicators GW Green 5 V DC operating voltage present firmware active gateway ready
235. y cables Therefore use only shielded cables with shielding braids made from good conducting materials copper or aluminum with a minimum degree of coverage of 80 The cable shield should always be connected to both sides of the respective reference potential if no exception is made for example such as high resistant symmetrical analog signal cables Only then can the cable shield attain the best results possible against electrical and magnetic fields A one sided shield connection merely achieves an isolation against electrical fields Attention A When installing please pay attention to the following the shield should be connected immediately when entering the system the shield connection to the shield rail should be of low impedance the stripped cable ends are to be kept as short as possible the cable shield is not to be used as a bonding conductor If the data cable is connected via a SUB D connector the shielding should never be connected via pin 1 but to the mass collar of the plug in connector The insulation of the shielded data cable should be stripped and connected to the shield rail when the system is not in operation The connection and securing of the shield should be made using metal shield clamps The shield clamps must enclose the shielding braid and in so doing create a large surface contact area The shield rail must have a low impedance for example fixing points of 10 to 20 cm apart and be connecte
Download Pdf Manuals
Related Search
Related Contents
Bulletin n°34 - Conseil National de l`Ordre des Médecins Kensington Soft Sleeve for Tablets Partilhe um shot de Felicidade da Oficina de Psicologia! SkyIPCam747W Wireless Night Vision Pan/Tilt Network 1 - Italo de Angelis datasheet: pdf manual with circulation pump EPSON ケータイで文字入力簡単ガイド Copyright © All rights reserved.
Failed to retrieve file