Home
COMPACTplus / PROFIsafe
Contents
1. esssssseseseeeeeeeeeneeen ener 38 8 24 Device exchange eoe oet een UH ombre 38 9 Tests 39 10 Error r0 nipi 2 39 11 Technical data reete rea iunc rdi aa cora ia rU a inan ce Rin in za Rin de aa Rond E in Nilo Ge RR RUM iras Adnau Da red inia Ladung 41 11 1 General system data of the PROFIsafe Receiver eese 41 11 2 PROFIsafe SOrviCeS me 41 11 3 Dimensions weights response times esee einen eene nennen nnn nnn nnne 42 11 3 1 Safety light curtains recien a 42 11 3 2 Multiple light beam safety devices ooooconocccnnonccccononcncnanancnn nono ncnnnan cnn nano menn 43 11 93 3 Muting transceiver cocina alias 43 12 vupem E 44 12 1 Scope of delivery iii A o Pesce vetu sae Eaa 44 12 2 Accessories ordering information eeeeeee eee eee sesenta nnn nannten nnn 44 12 3 EC Declaration of Conformity cccsecsseesseeeeseeeeseeeeseeensneenseeensneseseesnanesaseesseeessenesseeeneneseaees 45 COMPACT plus PROFIsafe Leuze electronic 1 1 General COMPACT plus Safety Light Curtains Multiple Light Beam Safety Devices and Muting Transceivers are type 4 Active Opto electronic Protective Devices AOPDs in accordance with EN IEC61496 1 and pr 5EN IEC61496 2 and SIL3 in accordance with IEC61508 COMPACT plus PROFlsafe is the PROFIBUS DP version of this devi
2. COMPACT plus PROFIsafe Leuze electronic 2 1 2 2 Safety notes Dangers if the safety notes are not observed Leuze electronic products have been developed and manufactured with stringent application of recognized technical regulations The protective function of these devices can however be impaired if the devices are used improperly or are not used according to their specified application In this case danger areas cannot be or cannot be fully protected Dangers to life and limb emerge which are present in the machinery or system environs Operating conditions and proper use COMPACT plus PROFlsafe are used for safeguarding danger points danger areas as well as safeguarding access and perimeter areas A safety distance must be maintained between the protective field and the danger point This is calculated using the formulas in the specific machine related European C standards or in the general B1 standard EN 999 However COMPACTplus PROFIsafe are not suitable as protective devices if it can be expected that objects could be projected from the machine or hot or dangerous liquids could splash out They are also not suitable for machines with long stopping times Leuze electronic provides suitable door interlock switches safety switches for such cases both with and without guard interlocking Warning With use of the COMPACTplus PROFIsafe it must be ensured that the response time of the device is increased by 20 ms for the r
3. 2 Leuze electronic the sensor people Safety Light Curtains Multiple Light Beam Safety Devices and Muting Transceivers 4 Leuze electronic compactpius 43 Leuze electronic comPACT us Subject to change without prior 604131 2009 02 Connecting and Operating Notes on the Connecting and Operating Instructions This connecting and operating instructions manual contains information on the proper use of COMPACT plus PROFIsafe in accordance with its intended purpose All the information contained herein in particular the safety notes must be carefully observed AN Notes regarding safety and warnings are marked by this symbol Notes regarding important pieces of information are marked by this symbol O This connecting and operating instructions manual must be stored carefully lt must be available for the entire operating time of the COMPACT plus PROFIsafe Leuze electronic GmbH Co KG is not liable for damage resulting from improper use of its equipment Knowledge of these instructions is an element of the knowledge required for proper use O Reprints and reproduction in whole or in part are permitted only with the explicit permission of Leuze electronic GmbH Co KG Liebigstrasse 4 82256 Fuerstenfeldbruck Germany Phone 49 8141 5350 0 Telefax 49 8141 5350 190 info O leuze de www leuze com 2 COMPACT plus PROFIsafe Leuze electronic Contents AA ANO 5 11 Certificatio
4. Nosots soto 0 00 L4 Joo Sequ Nr t 0 0 No alarm differentiation with acknowledgement sequence no 0 7 Table 4 5 2 Update alarm of the COMPACT plus Receiver Leuze electronic COMPACT plus PROFIsafe 23 5 1 5 1 1 5 1 2 24 Display elements Display on the receiver LEDs In addition to the LEDs in the display area of the receiver the display of which is independent of the function package and is described in the connecting and operating instructions for the function package two LEDs with the following meaning are also available at the front in the PROFIBUS connection cap State of the connection with PROFIBUS OFF PROFIBUS connection is set up ON Receiver is not ready yet Flickering approx 10 Hz Receiver is waiting for PROFIBUS connection setup Flashing approx 2 Hz Internal error in the receiver bus operation not possible Function of the bus termination integrated into the connection cap OFF Bus termination switched off factory setting ON Bus termination switched on Table 5 1 1 LED in the connection cap 7 segment display In addition to the permanent display types described in the connecting and operating instructions for the function package and in the SafetyLab operating instructions the PROFIBUS receiver s 7 segment display can e display the number of the selected parameter set which can be switched over via the safe PLC program and the Proxy FB e display the PRO
5. in the F CPU In the SIMATIC manager double click on FC1 and check if FB1 is called up Open FB with the safety program e g FB110 and define a network per receiver for the re integration after an error ACK REQ gt ACK REI For this switch the input signal ACK REQ of the receiver on the output ACK REI via an AND block This can be performed for sensors automatically as described as the safe OSSD signal is routed before the output to an actor via a restart interlock in the safety program so that the actor does not start automatically Metzwerk 3 1 ACKNOWLEDGEMENT REINTEGRATION Automatic Reintegration LG ACK R amp EI LG ACK R EQ Fig 7 3 1 Re integration of the PROFIsafe Receiver SIMATIC Manager menu Options gt Edit safety program first Compil button then if fault free translated to F CPU Download In the SIMATIC Manager in the tree structure go to S7 Program gt Blocks Click on a free position in the right window with the right mouse button and select Insert New Object Variable Table Double click here and select in the variable table at least the first cyclic input byte of the PAE of the receiver via menu Insert Range of Variables Animate the variables table via Leuze electronic COMPACT plus PROFIsafe 31 7 4 32 menu Variable gt Monitor or by clicking the corresponding symbol in the toolbar With interruption and release of the protective field at least th
6. 150 25 5 25 5 225 27 7 27 7 300 29 9 25 5 450 32 12 27 7 27 7 600 35 15 29 9 25 5 750 38 18 30 10 26 6 26 6 900 42 22 32 12 27 7 27 7 1050 45 25 33 13 28 8 25 5 1200 48 28 35 15 29 9 25 5 1350 51 31 37 17 29 9 26 6 1500 55 35 38 18 30 10 26 6 1650 58 38 40 20 31 11 27 7 1800 61 41 42 22 32 12 27 7 2100 45 25 33 13 28 8 2400 48 28 35 15 29 9 2700 51 31 37 17 29 9 3000 55 35 38 18 30 10 Table 10 3 1 Safety light curtains response times 42 COMPACTplus PROFIsafe Leuze electronic 11 3 2Multiple light beam safety devices Beam t H7 Response time of the AOPD in ms MultiScan factor H 7 FS distance t PFH7 Response time of the protective field in ms at H 7 FS mm Number of beams 2 Number of beams 3 Number of beams 4 t H7 t PFH7 t H7 t PFH7 t H7 t PFH7 500 39 19 400 39 19 300 39 19 Table 10 3 2 Multiple light beam safety devices response times 11 3 3Muting transceiver Beam t H8 Response time of the AOPD in ms MultiScan factor H 8 FS distance t PFH8 Response time of the protective field in ms at H 8 FS mm Number of beams 2 t H8 t PFH8 600 40 20 500 40 20 Table 10 3 8 Muting transceiver response times Leuze electronic COMPACT plus PROFIsafe 43 12 12 1 12 2 44 Appendix Scope of delivery In addition to the scope of delivery which is defined in the connecting and operatin
7. 51 21 A sogment displaya kon tirada dba 24 E ea E LeEco AE U ii T dni 25 6 Installation and connection s sssssnssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnann nnana 26 T UNDE the ECU 28 Tel Setting ai 28 LAT Response time acetil Redd en aed 28 1 12 MAS ies 3 eel cececs inte Sekt eee mn REED 29 FAS Fsparameters Heed Hee eed ey a ead n 29 ye enini me SG 30 7 3 PrOGTAMIMING mm 31 7 4 Diagnostics data nro ererka tria Ge ck aaa ENS Gk TRE DR CAKE SV VA RENR EN DR RAE SUV E ER REA ERE a RR 32 Leuze electronic COMPACT plus PROFIsafe 3 8 Initial OperatiON 33 8 1 Design examples connmmmnnccconnnncccnnncnnrrrcr 33 ett Plug and Play codi ee roit tite ete rede d ci detiene 33 8 1 2 Parameter saving via Proxy FB cooooccccinoncccnnonnncnnnoncnnnonnnnnnnnn cnn rnnr emere rennen 34 8 1 3 Parameter switchover agni apeina a a nennen nnne tenent nnnm nnne innen 35 8 1 4 Administration of several Proxy FBs oonomocccnnonccononcccnononnccnnnnnnn nano cnn rra ocn naar rr rare 36 8 1 5 Reading in individual beam data eee enn 37 8 2 Scenarios with Proxy FB eeeeeeeeeeeeeeseeeeene nenne nenne nene n nn tma sinn ssi rre rre natns sena sana 37 8 21 ita Setups artesa 38 8 2 2 Parameter change in the receiver eene 38 8 2 8 Parameter switchover by the F PLC
8. 8 2 Scenarios with Proxy FB Without Proxy FB the parameters with initial setup and with each device exchange must be set with the help of the methods listed at the beginning of chapter 7 A rapid re parametering on run time is not possible The scenario is different with the use of the Proxy FB The integration of the Proxy FB in the standard part of the user program is beneficial when the parametering is performed via teaching in with the SafetyKey or using SafetyLab The following scenarios are then possible e Initial setup of a new system e Changing of the parametering of a receiver that is known to the master e Normal start with a correctly parameterized receiver e Switchover of the parametering in normal operation e First start after a device exchange The behavior of Proxy FBs in the PLC and the receiver is explained in the following for these cases Leuze electronic COMPACT plus PROFIsafe 37 8 2 1 8 2 2 8 2 3 8 2 4 38 Initial setup There are no valid parameter sets available to the Proxy FB in the PROFIBUS master The receiver runs in factory setting and has already been parametered by either teaching in or using SafetyLab The DIP switches must be in the L position It goes to the normal operating mode without the parameters having to be transferred to the Proxy FB The STATE output of the LG PROXY has the value 1 If the factory setting does not correspond with the requirements of the use the receiver can
9. a device exchange e after the teaching in using SafetyKey or key lock with devices with the Blanking function package upload of the new parameter set with changed protective field e after the parametering has ended with SafetyLab version 1 1 or higher upload of a modified parameter set e with switchover of the parameter set by the PLC download of the parameter set requested by the safe PLC program If the parameter set is switched over by the failsafe program while the receiver is in the parametering mode with SafetyLab or by teaching in then the cyclic input data is set to zero Leuze electronic COMPACT plus PROFIsafe 21 4 4 22 Identification amp maintenance functions I M is a concept for manufacturer and sector independent standardized identification of field devices The field device provides specific information in an electronic nameplate which can be primarily accessed online with initial operation and maintenance The access to the data of the field device is made via the acyclic DP V1 access mechanisms RD_REC and WR_REC with fixed index 255 and slot 1 The reading and writing is made on an 18M parameter set consisting of 64 bytes The receiver supports the I amp M functions I amp MO to I amp M4 for master class 1 and 2 The 18M registers are written acyclic via slot 1 and index 255 with WR_REC and read with RD_REC The access is only possible via PROFIBUS i e the values given below cannot be entered by the
10. be switched over the green LED lights in this case Leuze electronic COMPACT plus PROFIsafe 27 7 1 7 1 1 28 Setting up the F CPU In principle the receiver can work together with every safty PLC that has a PROFIsafe interface The projecting and programming required for integration into a user program is described in the following on the basis of the S7 300F series and the STEP7 software from Siemens STEP7 version V5 2 SP2 or higher is required Parametering the receiver can be performed as follows e Using switches in the device see the connecting and operating instructions for the device e Using SafetyKey for the Blanking function package the adjustment with the optional Proxy FB LG PROXY is performed after removing the SafetyKey e With SafetyLab from version V1 1 Detailed information in this respect can be found in the connecting and operating instructions for the device and in the SafetyLab operating instructions Setting values Response time The safety relevant response time of a safety circuit on the basis of PROFIsafe results from the response time of the receiver and the PROFIsafe watchdog time which is set during the projecting in accordance with the calculation on the PLC shown below Only a calculation formula can be provided here for the response time of the sensor together with the F PLC The specific times depend on the respective application setup and parametering of the receiver and the
11. by the user Each access to these registers is made by a WR REC call with a subsequent RD REC call An access is terminated after the RD REC call before this the values are not accepted by the receiver As two masters can access the I amp M register at the same time it is ensured that with an access WR REC and RD REC call come from the same master the second master to access receives the BUSY error message An RD REC call without a previous WR REC call is also answered with an error message A possibly unterminated access is interrupted by a new complete one The acyclic data exchange with the receiver is not influenced by access to the I amp M register COMPACTplus PROFIsafe Leuze electronic Note 4 5 The writeable I amp M registers I amp M1 to I amp M4 are not safed by the Proxy FB After a device exchange this data must therefore by written into the replacement device again Alarms Diagnostics Alarm The diagnostics alarm is switched off as standard and can be switched on as required via the parametering Errors or warnings from the receiver are reported via the PROFIBUS as diagnostics alarms Each new error is messaged as a new occurring alarm Constantly present errors with standing connection are only messaged once With connection interruption and renewed transfer to the cyclic data traffic the last error that occurred is reported again as a coming alarm if it is still present A short term occurring external error e
12. cycle time of the F CPU and the bus Ty 2 MAX TT WDmin Interface Master Minimum projectable PROFIsafe watchdog time in the master Wdmin Cycle time of the PROFIsafe interface of the receiver 20 ms Interface Cycle time of the PROFIsafe program part on the PLC mostly determined by OB35 Master JAAHA Cycle time of the PROFIBUS depends on baud rate number of slaves etc Bus The PROFIsafe watchdog time T projected on the PLC must be set to values greater than Twomin The resolution of the PROFIsafe watchdog time in the receiver is 20 ms which means that the actual watchdog time of the receiver can only be integral numbers of a multiple of 20 ms Intermediary values must be rounded off e g 41 ms gt 60ms The safety relevant response time consequently results for Ton To Two Tes Safety relevant response time from protective field penetration or bus errors up to the OSSD bit in the F CPU is safely switched off Von Response time of the protective field function of the receiver depends on number of beams and parametering of multiple scanning and display in SafetyLab screen MultiScan see chapter 10 3 Two PROFIsafe watchdog time projected in the master Warning It must be observed that because of the extension of the response time compared with a receiver without PROFIBUS Interface mostly greater safety distances are required In the overall system the response time of the actor and t
13. delay of the receiver Leuze electronic COMPACT plus PROFIsafe 41 11 3 Dimensions weights response times While the dimensions and weights correspond with those in the connecting and operating instructions for the device the factory setting of the response time of the receiver is 20 ms response time of the PROFIsafe Interface greater than that of the corresponding device with transistor output See chapter 7 1 1 for calculation of the overall response time of a safety circuit Regardless of the function package this is provided in the following for all device versions and corresponds with the value t xx on the 7 segment display of the receiver in the factory setting with the start up as well as the information on the nameplate With a change of the multiscan using SafetyLab from version V1 1 the additional response time is displayed here which corresponds with t xx with the start up The response time of the protective field required for calculating the response time of the projected safety circuit is shown separately in the following tables in the column t PFHx 11 3 1Safety light curtains Protective t H1 Response time of the AOPD in ms MultiScan factor H 1 FS field height t PFH1 Response time of the protective field in ms at H 1 FS mm Resolution Resolution Resolution Resolution 14 mm 30 mm 50 mm 90 mm tHi tPF Hi t H1 t PFH1 t H1 t PFH1 tHi t_PFH1
14. e Via the menu Station gt Save and Compile the program structure is defined and the program container is generated e Via the menu PLC gt Download or the corresponding button in the toolbar load the hardware configuration in the F CPU After downloading and re starting the CPU no bus errors should be present the red LEDs BF 1 and BF 2 on the F CPU are off COMPACT plus PROFIsafe Leuze electronic 7 3 Programming To evaluate and to generate the safe cyclic data of the receiver in order to write to the receiver there must be a safety program in the F CPU It can only be generated and loaded in the SIMATIC environment via a special menu and is usually started via the OB35 cyclic interrupt For a simple program that firstly serves for displaying the cyclic data in a variables table the following steps are required after the configuration has been completed In the SIMATIC manager s tree structure go to S7 Program gt Blocks click a on free position in the right window with the right mouse button and select Insert New Object Organization Block gt OB35 Also create OB56 OB82 OB83 to OB88 accordingly The last ones are error OBs that assure that the CPU does not stop immediately in case of the occurence of certain errors Instead the corresponding error OB is called and a diagnostic alarm is triggered In many cases this intercepts the error without stopping the CPU This is especially interesting when the
15. example to automatically compare the parameter set or read out individual beam data from the receiver Warning The acyclic data exchange is not safe Data that has been read in via acyclic telegrams must therefore not be used safety relevant Acyclic reading is only possible via the user program in the master if the following conditions are met e The receiver is in the normal operating mode e The optional Proxy FB has finished the data adjustment The BUSY output of the Proxy FB should be evaluated by the user program for this As long as the Proxy FB works an acyclic command generated by the user program leads on this receiver to the interruption of the Proxy FB with an error message Acyclic commands generated by the user program must therefore be synchronized by the user program with the Proxy FB Register 103 67hex slot 1 via RD REC is responded for reading out the beam status data The reply telegram to this RD REC has a 10 byte header followed by a variable number of useful data bytes The structure of the header is insignificant for the evaluation of the beam data The up to 31 bytes that follow contain the determined number of beams and the beam status of the up to 240 beams of the receiver each in one bit per beam ESTE Number of Number of beams actually available in the device with cascading beams devices the sum of all beams of host and guest One bit per beam 0 beam interrupted 1 beam free Table 4 2
16. plus PROFIsafe Leuze electronic 8 1 8 1 1 Initial operation Design examples The following steps for setting up different complex systems are explained using a few examples For this purpose the appropriate project for the F CPU used should be dearchived from the CD ROM If the Proxy FB is to be used then it can be simply copied from the appropriate example project into your own project Plug and Play In simple applications the Proxy FB can be dispensed with Only the cyclic data exchange is used in order to transfer the safe signals After the PROFIBUS address is set on the receiver the receiver connected to PROFIBUS and the PLC program prepared in accordance with chapters 7 2 and 7 3 the safe program part must only be supplemented by the appropriate function blocks This is explained using 2 typical applications Example 1 Various protective fields are taught into a light curtain with the Blanking function package via a 2 channel key switch on run time that is already expected the factory setting on L1 and L2 After a device exchange the required protective field is taught in again or the parameter plug in module is plugged into the replacement device so that a parameter saving is not required via the Proxy FB A safety door switch S6 R is connected on L3 and L4 with which the access to the rear area of the machine is safe This safety circuit already acts with the internal linking in the receiver on its OSSD bit and must
17. that are connected with one another has another PROFIBUS adaress The following value must therefore be set in the engineering tools F Dest Add HexH 16 HexL 1000 The bus termination can be switched on in the connection cap via a slide switch The switched on green LED on the front of the cap displays the activated bus termination a b c Hexadecimal switch HexH Hexadecimal switch HexL Slide switch for the PROFIBUS termination shown in position On left position Off Fig 6 0 1 Addressing and bus termination The connection to PROFIBUS and the power supply is performed via cable tails with M12 connection plugs and sockets COMPACT plus PROFIsafe Leuze electronic LED red diagnostics of the PROFIBUS connection via flashing codes LED green PROFIBUS display bus termination activated Fig 6 0 2 Connection of the PROFIsafe Receiver Plug socket assignment Plugi Plug Socket3 PA input output Lengh 06m Lengh 04m Lengi 02m Table 6 0 1 PROFIsafe Receiver connection assignment The receiver must be supplied with 24 V DC via plug 1 Suitable cables optionally shielded can be found in the accessories chapter 11 2 Shielded standard PROFIBUS cables with the appropriate b coded M12 PROFIBUS plug socket must be connected to plug 2 and socket 3 If the receiver is the last device on the PROFIBUS strand then the internal switch for the bus termination must
18. user with SafetyLab 18 MO IM INDEX 65000 Bytes Meaning Manufacturer specific 10 Not used 0 MANUFACTURER ID 2 294 for Leuze electronic ORDER ID 20 Device order number SERIAL NUMBER 16 Device serial number HARDWARE REVISION 2 Hardware version of the receiver is displayed as with SafetyLab e g 12 SOFTWARE REVISION 4 Firmware version of the receiver is displayed as with SafetyLab e g V4 20 REVISION_COUNTER 2 Counts every re parametering with SafetyLab or by teaching in the protective field but not the parameter download by the Proxy FB PROFILE_ID 2 Ox3E00 PROFILE SPECIFIC TYPE 2 0x0000 IM VERSION 2 1 0 IM SUPPORTED 2 I amp MO to I amp M4 0x001e I amp M1 IM INDEX 65001 Bytes Meaning Pre emption Manufacturer specific 10 Not used 0 TAG FUNCTION 32 Text Space TAG LOCATION 22 Text Space 1 amp M2 IM INDEX 65002 Bytes Meaning Pre emption Manufacturer specific 10 Not used 0 INSTALLATION DATE 16 Text Space RESERVED 38 Text Space 1 amp M3 IM INDEX 65003 Bytes Meaning Pre emption Manufacturer specific 10 Not used 0 DESCRIPTOR 54 Text Space 1 amp M4 IM INDEX 65004 Bytes Meaning Pre emption Manufacturer specific 10 Not used 0 SIGNATURE 54 Binary 0 Table 4 4 1 Supported I amp M functions The I amp MO register can only be read by the user while the I amp M1 to I amp MA4 registers can be read and written
19. 1 Format of the useful data of the telegram for reading out the individual beam data Beginning with bit 1 0 for beam 1 bit 1 7 for beam 8 In the user data from byte 1 on each beam is assigned one bit The number of userl bytes n is calculated according to n Int number of beams 7 8 If unused bits remain in the last byte then these are filled with O The correct length of the delivered data bytes is in byte 10 number of beams in the reply telegram A program example for reading out the individual beam data can be found in chapter 8 1 5 Acyclic read and write commands are only accepted if they are correctly received Faulty commands are answered with an NRS PDU The errors including the subsequent faulty communication with the Proxy FB are coded as follows Error code Inadmissible index only the indices assigned to the registers are allowed Oxb1 Inadmissible data set lengths with the writing the lengths must correspond precisely with the length of the register i Ea l False PROFIsafe destination address Leuze electronic COMPACT plus PROFIsafe 17 4 3 18 Error Meaning code DP slot not equal to slot info in header DP index not equal to index info in header Unknown error internal error Resource currently occupied with teach in or SafetyLab Internal error 18M Table 4 2 2 Error codes in NRS PDU These error messages have no influence on the safe cyclic d
20. ATA DR DataRecord S O F parameter Factory setting value of a parameter with delivery from the factory which can be changed with switches and or SafetyLab GSD Electronic device datasheet that contains the communication parameters of a device Master Control unit in a bus system distributes the bus access right to slaves T wn m Optical PC adapter Cable connection between the optical parametering and diagnostics interface of the receiver and the RS232 interface of a PC OSSD Output Signal Switching Device safety relevant switching output PAA Process Image Outputs memory zone in the CPU where PROFIBUS takes the cyclic output data and writes them to the slaves without programming in the user program Process Image Inputs memory zone in the CPU where PROFIBUS writes the cyclic input data fetched from the slaves without programming in the user program PDU Protocol Data Unit PLC Programmable Logic Controller software component the PROFIsafe driver automatic parameter adjustment with the receiver WindowsQ PC Slave The unit that is subordinate in matters communication to the master only sends replies on the bus to requests by the master Start restart Prevents automatic start after the supply voltage has been turned off after interlock the protective field has been penetrated or activation of the external safety circuit Upload Transfer of parameters from a slave to the master Table 1 2 2 Terms
21. BUS address 1000 and must be set accordingly in the projecter tool Safe watchdog monitoring time can be set in milliseconds of 20 to 1000 default 20 The F WD Time must always be calculated with the projecting with larger values according to the formula F WD Time min 2 max 20ms t 4 Bus Cycle Time For calculating the response time of the system for the set F WD Time the response time of the protective field function T of the receiver must also be calculated in accordance with the nameplate and MultiScan factor and information in SafetyLab chapter 7 1 1 F Par CRC Must be correctly seized by the PROFIsafe projecting tool with CRC1 for the F parameter block Table 7 1 1 F parameters for the COMPACT plus Receiver Leuze electronic COMPACTplus PROFIsafe 29 7 2 30 Warning As the start value for the CRC calculation of the cyclic PROFIsafe data changes with changes to the F parameters the entire safety program must then be translated and loaded again chapter 7 3 If parameter sets are already saved by the Proxy FB then these must be generated again The F parameters should therefore be correctly set at the beginning of the projecting and then should be changed as little as possible or not at all Configuring With the following steps a STEP7 project is created and prepared so that the safe input data of the receiver in the PAE process mapping of an S7 300F for use by a safe user program is available an
22. CPU controls several independant production lines and the failure of one device should not influence other lines Highlight modules and via the menu PLC Download load in the F CPU Define function blocks for the safety program For this select Insert New Object Function Block Define a function module e g FB110 and possibly award a symbolic name An F language must be selected as generation language F FBD for example Create a function which is called cyclically with the set cycle time in OB35 For this select Insert New Object gt Function Define function as FC1 with the generation language F CALL In the SIMATIC manager open the LAD STL FBD editor for OB35 by double clicking at this icon and define at least one network with the sub program call CALL FC1 Save and highlight the defined modules and load them in the F CPU Call up menu Options Edit Safety Program In the opened window click on the Run time groups button and enter a password In the next window now assign the FB with the safety program e g FB110 and a data module e g DB110 to the function FC1 or create this first Close the window with Ok Click on the Compile button The generation of the framework for the safety program that has now started can take some time The two CRC in the top part of the window must be identical afterwards Click on the Download button to load the safety program framework that has just been created
23. FIBUS address which is set via 2 hexadecimal switches in the connection cap This display must be selected in SafetyLab from version 1 1 as permanent display so that it appears constantly on the 7 segment display after the startup Regardless of this the PROFIBUS address is briefly displayed during the startup directly after the auto test display 88 with the display code Ax xx whereby x xx is the decimally presented value of the PROFIBUS address Note The red green LED in the receiver display for displaying the switching status of the OSSD safety output is independent of the type of connection While it can be assumed for example that in a device with relay output with switched on green LED the relays are actually switched on and therefore the load circuit is closed with a PROFIsafe device the data transfer can be damaged so that the OSSD bit does not reach the F CPU although the green LED signals the OSSD or state Errors of this kind are shown on the 7 segment display with the display code b followed by a digit The effects on the cyclic input data see chapter 4 1 which is delivered by the receiver to the PLC depend on the type of error COMPACT plus PROFIsafe Leuze electronic 5 2 Code Meaning Effect on cyclic data OSSD b1 False sequential number or false CRC2 in the cyclic data Are passivated b2 PROFIsafe watchdog timeout has expired Are passivated b3 The PLC has set
24. Isafe 11 4 1 4 1 1 12 Function COMPACT plus PROFIsafe receivers supports both the cyclic and acyclic data transfer Cyclic means that in every bus cycle input and output data is exchanged between the safe master and COMPACT plus PROFlsafe The description of input and output data refers here to the perspective of the PROFIsafe master e Input data is read by the master therefore it is the output data of the COMPACT plus Receiver e Output data is written by the master and is therefore control signals for the COMPACT plus Receiver COMPACT plus PROFIsafe also supports the acyclic commands RD REC and WR REC in order to be able to transport larger data blocks with a master on request without constantly loading the cyclic real time operation heavily Cyclic data exchange The cyclic data traffic is started following successful setup of the connection with the master The input data is set to safe values until the receiver has started up and where required its parameter set has been adjusted by the Proxy FB see chapter 4 3 Cyclic input data The receiver provides the safe master input user data with a 4 byte length PROFIsafe itself requires a further 4 bytes so that 8 bytes must be reserved in the PAE process mapping for the receiver The first byte O of the cyclic telegram has a fixed structure while the significance of bytes 1 2 and 3 can be changed with SafetyLab up from version 1 1 Tab 4 1 1 shows the factory set
25. OFIBUS DP gt Additional Field Devices gt General drag the COMPACT plus icon on to the PROFIBUS If COMPACT plus is not available here then make it available via the menu Options gt Install New GSD e Define the PROFIBUS address in HW Config per receiver so that it concurs with the setting per hex switch in the connection cap To do this open the Properties DP Slave window by double clicking on the symbol of the COMPACTplus receiver Set the address here via the PROFIBUS button and the Parameters register card Close the window by OK button e Select the receiver with a single click and double click in the table in the lower part of the window of HW Config on the corresponding line for slot 1 On the Address ID register card define the Start Address of the cyclic bytes in PAE Input and PAA Output so that they do not overlap with the memory area of another device The receiver seizes 8 bytes of input and output data each On the PROFIsafe register card double click on F Dest Add and in the opened window set the value to HW Address 1000 e g 1007 if the address 07 has been set per hex switch Set the watchdog time F WD Time to a sufficiently large value in accordance with the calculation formula in chapter 7 1 1 e g 150 ms When setting the cycle time of the F Program the response time of the local modules and other PROFIsafe devices must also be observed Close the window with the OK button
26. OFIsafe receivers Furthermore 16 cyclic output bits M1 to M16 are also available instead of just five control inputs M1 to M5 in the receivers with conventional connection In the diagnostics mode SafetyLab from version V1 1 displays the received and sent cyclic data on a separate PROFIBUS register card Although the factory setting of the cyclic input data has been selected so that in many cases a change to the data structure is not necessary chapter 4 1 the assignment of the bits in the bytes 1 to 3 for internal signals can be changed via the PROFIsafe parametering Very specific adjustments to the application are consequently possible Note Only SafetyLab from version V1 1 can be used for parametering as older versions do not link with the PROFIsafe Receiver A detailed description of the software can be found in the SafetyLab operating manual Leuze electronic COMPACT plus PROFIsafe 25 N in 26 L Installation and connection COMPACT plus PROFIsafe Receivers have an integrated PROFIsafe Interface i e all components for safe connection to PROFIBUS DP are contained in the device a separate connection unit is therefore not required The connection to PROFIBUS is made via cable tails with M12 connection technology As PROFIBUS must be looped through the device because of the high 12 MBd data rate a PROFIBUS input cable and a PROFIBUS output cable and a 24 V power supply cable are required per unit Unaffected by t
27. PU presets a parameter set number DATASET NUMBER in the safe program The selection is made as it is done later on run time of the application e The receiver must now be parametered by teaching in via SafetyKey or using SafetyLab from version 1 1 in the usual way e After the parametering has been completed the parameter set is taken over by the Proxy FB into the F CPU For conveniently checking the selection of the current parameter set on run time its number can be shown on the 7 segment display as permanent display The selection of this type of display is made via SafetyLab Note The user data user name and password is also adjusted as parameters of the receiver by the Proxy FB With generation of the parameter sets it must therefore be ensured that all users are defined first The definition of a new user after some parameter sets have already been saved by the Proxy FB therefore requires that the already stored parameter sets are saved again with the new user Otherwise the new user can only access those parameter sets for which he has been defined Administration of several Proxy FBs Each COMPACT plus PROFIsafe receiver requires its own Proxy FB in the non safe user program Heavy loading of PROFIBUS and user programs can in particular occur with the start up of a large system with many Proxy FBs as all receivers try to compare their parameter sets with their Proxy FBs at the same time the danger of exceeding the permitted cy
28. a a PROFIBUS slave The automatic cyclic exchange is performed by PROFIBUS Acyclic data exchanges can be used by the master that has set the parameters of the slave with the RD_REC and WR_REC functions The acyclic data traffic is applied for example with the transfer of parameter sets from the master to COMPACT plus PROFIsafe download and from COMPACT plus PROFIsafe to the master upload Independently of this acyclic write and read commands can also be generated by the user program Alarms are a special case in this respect They are registered within the cyclic data traffic in the PROFIBUS status byte with the master which collects the actual alarm information from the registering slave using an acyclic telegram This information is written by the master in a storage area reserved for alarms SAP51 and can be evaluated by the application program An aptly named device description data file GSD is required for projecting each PROFIBUS DP class 1 master and each slave It is delivered by the master and slave manufacturer and describes their properties from the PROFIBUS point of view PROFIsafe PROFIsafe is a functional extension of PROFIBUS DP and it enables safe bus components to be operated together with non safe standard components on the same bus PROFIsafe devices do not require any changes in the existing hardware components and can be added to existing systems without any difficulty The PROFIsafe driver is a T V ce
29. address of the receiver in the process mapping PAE PAA A hex gt The receiver writes the 4 cyclic input bytes from PAE address 10 and reads its 4 cyclic output bytes from PAA address 10 BUSY OUT BOOL FALSE Display of the activity state of the FB can be used in conjunction with the PROXY_START_ENABLE inputs of other FBs for controlling the processing sequence and limitation of the cycle time 0 Not active 1 Active STATE OUT BYTE B 16 0 Display of the device state Code Description 0 No error 1 Data invalid 2 Read data PLC LG 3 Write data PLC LG 4 Process successfully completed 5 Write CRC PLC LG 9 Timeout of 20s exceeded 10 to 52 Error at position xx in the sequence COMPACT plus PROFIsafe Leuze electronic Parameter Declaration Data type Initial value Description ERROR_NUMBER_FB OUT WORD Wi160 The FB s error code can be decrypted using the following table If an RET VAL is at the ERROR CODE SFC output in case of an error the option exists here of determining the correct SFC and reading the appropriate help text into the respective SFC descriptions Error Description code 101 SFC 51 error look up error message in the help 102 CPU 3xx or 4xx could not be identified 201 DATASET_NUMBER has been described with the value 0 202 The DB access is no lon
30. afe program only implements the EDM function The two OSSD signals must therefore only be AND ed in the F CPU for a control signal for the Wrapper Enable main drive The EDM function must also be programmed which is not shown here DENEN Output Safety Control Signal Stop the Machine if at least one of the Light Grids is switched off amp Wrapper LG1_055D Enable LG2 OSSD Fig 8 1 2 Safe program part without restart interlock Parameter saving via Proxy FB If the parameters of the receiver are to be taught in with SafetyKey or set with SafetyLab and these are automatically loaded in a spare device with a device exchange then the integration of the Proxy FB LG PROXY in the standard part of the PLC program is necessary All DIP switches in the device must be in the factory delivery position L so that the receiver accepts the data of the Proxy FB Proceed as follows for the integration of the Proxy FB in your PLC program e Integrate example library of the supplied CD ROM via menu File gt Retrieve and save under Step7 gt S7LIBS e Open example project copy LG PROXY and add to the target project e g as FB10 e Open OBI in the standard program add new network and drag from Blocks into the network e Define instance DB e g DB10 and select the unlinked checkbox e Double click on the DB and give as type ARRAY 0 16383 for the small memory area with 4 parameter sets per DB and BYTE under this for la
31. ametered and opened 1 The signal given out is 1 safety circuit is closed or not parametered 2 5 BEAM_ Status of the internal Beam signal 1 and Beam signal 2 2 6 SIGNAL1 BEAM_ SIGNAL2 COMPACT plus PROFIsafe Leuze electronic Byte Name Meaning Bit No beam has been parametered with Beam signal x or no beam is interrupted with Beam signal x parametering 1 At least one beam has been parametered with Beam signal x and is interrupted 2 7 UNLOCK Internal start restart interlock is ready for unlocking ABLE The internal start restart interlock is either not active or not ready for unlocking 3 0 1 The internal start restart interlock is active and locked All safety conditions for unlocking have been met i e e the active protective field is free see bit 0 2 e optional safety circuit is closed bit 2 4 OP Shows the currently set operating mode binary coded only updated in the 3 1 MODE Cycle control function package with values between 0 and 7 otherwise 0 TI REQ Status of the Teaching in function only updated in the Blanking function package otherwise 0 boo o Teaching in is not active Teaching in has been activated e g using SafetyKey key lock PC and SafetyLab or safe PLC via cyclic output bit OVRD Shows the activation of teaching in override only updated in the Blanking function package Os o Teaching in override not active Teaching in ove
32. an be clearly identified using specific internal values As these values are stored in the Proxy FB memory area a device exchange can be detected The parameter set saved by the Proxy FB is automatically transferred to the receiver The Proxy FB saves the new identification values and goes to the normal operating mode If a Proxy FB has saved a parameter set once then a new same model receiver is always overwritten with the parameter set of the old receiver as it is thought of as an exchange device If work is to be carried out on the already awarded PROFIBUS address with a new receiver and new parametering then e the receiver must first be made known to the Proxy FB by connecting it to the PROFIBUS The old parameter set is automatically transferred to the new receiver e the receiver must subsequently be re parametered using SafetyLab or SafetyKey If the parametering has finished the new parameters are automatically transferred to the Proxy FB COMPACT plus PROFIsafe Leuze electronic 9 Tests The tests required in the connecting and operating instructions for the individual function packages apply These depend on the type of application 10 Error diagnostic The receiver distinguishes between error perturbation codes Ex xx and fault failure codes Fx xx Only error codes provide you with information about events or conditions that you can eliminate If the receiver shows a fault code it must be replaced For this rea
33. arameter set the receiver requests its Proxy FB in the master via the PROXY_REQUEST input bit to send it the appropriate parameter set The requested parameter sets must be generated beforehand during the initial operation and be stored in the storage area of the Proxy FB on the F CPU The following for example can therefore be easily carried out Leuze electronic COMPACT plus PROFIsafe 15 e A protective field switchover e Changing of MultiScan factors e Activation deactivation of the internal restart interlock e Activation deactivation of safety circuits e Changing the muting types or filter times e Switchover of fixed cycle operating modes by the higher level PLC e As well as all other parameters that can be set via SafetyLab If the digit O is in the output byte O then there is no switchover of the parameters as the Proxy FB is deactivated by this only the set parameter set applies as according to the factory setting for example The bits M1_IN to M16_IN in the bytes 1 and 2 are available in the receiver for any control purposes The assignment of a bit to a control function is made with SafetyLab from version 1 1 It is used for example as e Start button signal for unlocking the internal start restart interlock e Control signal for protective field parameters e g for program controlled activation and deactivation of fixed blanking on run time e Muting release signal e Muting sensor signal M5 e Release sig
34. ata An entry in the error memory is not made and a diagnostics alarm is not activated see chapter 4 5 The code b9 is displayed in the 7 segment display for all of these errors see chapter 5 1 2 The display is retained until an error free telegram has been written or read Proxy Function Block LG PROXY The receiver with PROFIsafe Interface can be operated with or without the proxy function block Proxy FB LG PROXY It is sufficient for the safe cyclic data exchange to address the device correctly and to integrate it into the hardware configuration The LG PROXY Proxy function block works as a substitute for a receiver in a safety PLC of the Siemens S7 300 or S7 400 series It runs in the standard part of the user program and administers the parameter adjustment between the receiver with PROFIsafe interface and the F CPU so that an automatic parametering is possible when exchanging a device The advantage in user programs that have the Proxy FB integrated is that the necessary parametering can be performed automatically when exchanging a device and the maintenance personnel must therefore only set the correct PROFIBUS address on the hex switches in the connection cap A complete re parametering of the receiver during run time is also possible within seconds by the PLC loading a parameter set DATASET NUMBER requested by the user program in the device and therefore realizing for example protective field switchovers The LG PROXY s
35. be parametered at the usage location via the optical PC adapter with SafetyLab Case 8 2 2 is then present When setting the receiver via the switches S1 S6 on the parameter module the integration of the Proxy FB is not beneficial as the parameters are neither transferred to the F CPU nor can they be loaded by the F CPU into the device error message E17 Parameter change in the receiver The receiver is re parametered with connected PROFIBUS by teaching in with the SafetyKey or with SafetyLab After all parameters have been set and checked the receiver goes to its normal operating mode with cyclic data exchange When the parametering has been completed the new parameter set is sent to the Proxy FB in the PROFIBUS master This parameter adjustment is performed automatically in the background any parameter set that may already be saved in the Proxy FB is overwritten Parameter switchover by the F PLC The parameter switchover is performed with presetting of the number of the parameter set to be selected in the cyclic output byte 0 With a change of this value the receiver detects a deviation from the currently set parameter set and requests a download of the selected parameter set by the Proxy FB via the PROXY REQUEST bit in the cyclic input bit 0 0 This already knows the number of the requested data set through its input DATASET NUMBER provided DATASET NUMBER is linked with the first cyclic output byte Device exchange The receiver c
36. can also generate aptly named broadcast telegrams send to address 127 which are simultaneously received and evaluated by all slaves but not acknowledged In modular slaves slot and channel can also be provided in the PROFIBUS address telegram in addition to slave PROFIBUS DP recognizes two types of masters e Class 1 Master This is the central component for the polling bus access procedure for the data exchange with the input output devices slaves It defines the data rate at which the slaves usually automatically adapt and control the token exchange with other masters Typical class 1 masters are PLCs and control PCs e Class 2 Master These are mostly used as projecting or visualizing devices and serve as help tools with the system start and the diagnostics Several class 2 masters can be operated simultaneously on PROFIBUS DP Leuze electronic COMPACT plus PROFIsafe 9 3 2 AN YA Z AN 10 The data exchange between class 1 master and slave can be performed cyclic or acyclic Cyclic data is read in each bus cycle into the process mapping memory of the master and written from there into the slaves A programming is not required rather there is only a projecting e assignment of the data of the master process mapping for the corresponding data in the PROFIBUS slaves The PLC program simply accesses the data in the process mapping memory regardless of whether this data is read in or written out locally in the PLC or vi
37. ce with safe coupling in accordance with the PROFIsafe profile The term Receiver is used synonymous in the following with Transceiver as all PROFIBUS functions in the transceiver corresponding with those of the receiver The transmitter is not dealt with as it has absolutely no PROFIBUS functionalities and can be used in any connection version see Connecting and operating instructions for the function package chapter 7 Certifications Leuze electronic GmbH amp Co KG in D 82256 F rstenfeldbruck has a certified quality assurance system in accordance with 1809000 2000 COMPACTplus PROFIsafe has been developed and produced in compliance with applicable European directives and standards The EC prototype test in accordance with EN IEC 61496 part 1 and part 2 and SIL3 in accordance with IEC61508 has been granted by T V S ddeutschland Group Zertifizierstelle RidlerstraBe 65 D 80339 Munich Company Product Leuze electronic COMPACT plus PROFIsafe 5 1 2 Symbols and terms Symbols used Warning notice This symbol indicates possible dangers Please pay especially close attention to these instructions Notes on important information Table 1 2 1 Symbols Terms used AOPD Active Opto electronic Protective Device Contactor Also called External Device Monitoring EDM dynamically monitors the Monitoring EDM positive guided normally closed contacts of downstream relays contactors or valves DB
38. cle time is great In order to keep the load low and to also control the sequence of the start up the Proxy FBs can be controlled so that only one Proxy FB works at any one time If the adjustment with its receiver has finished it releases the next Proxy FB The control is performed via the inputs PROXY START ENABLE and the outputs BUSY The PROXY MANAGEMENT function to be created by the user must read in all BUSY outputs and check if one of the bits 1 If this is the case then the PROXY START ENABLE inputs of all inactive Proxy FBs must be set 0 only the control input of the currently active LG PROXY remains 1 If all BUSY outputs O all PROXY START ENABLE inputs are set 1 PROXY MANAGEMENT LG PROXY 1 PROXY START ENABLE BUSY LG PROXY 2 PROXY START ENABLE BUSY LG PROXY n PROXY START ENABLE BUSY Fig 8 1 3 Administration of the activation of several LG PROXY COMPACT plus PROFIsafe Leuze electronic 8 1 5 Reading individual beam data In addition to the safety function which is based on the safe cyclic data exchange the statuses of the individual beams of the receiver can be read out via an acyclic RD_REC call As the acyclic data traffic is also used by the Proxy FB and can be damaged if the parts of the parameter set expected by the receiver do not arrive in the correct order the reading out of the individual beam data must be sy
39. correct setting S1 to S6 parameterization with SafetyLab E 18 Transmitter test signal received for longer Close jumper between terminal 3 and than 3 seconds 4 in transmitter connection cap E 20 Electromagnetic interference Interference suppression for power supply and or signal lines E 21 Electromagnetic interference Interference suppression for power supply and or signal lines E 22 Overvoltage gt 31VDC Reduce power supply lower than 31V E 30 Feedback contact of external device Check line or replace contactor monitoring is not opening E 31 Feedback contact of external device Check line or replace contactor monitoring is not closing E 32 Feedback contact of external device monitor Check line or replace contactor not closed E 39 Start button pressed too long or line shorted Release start button or remove short to 24VDC circuit to 24VDC E 40 Safety circuit on L3 L4 has short to GND Eliminate short E 41 Safety circuit on L3 L4 has short to 24VDC Eliminate short E 42 Safety circuit on L3 L4 simulaneousness Exchange sensor safety switch error E 43 Override circuit on L3 L4 has short to GND Eliminate short E 44 Override circuit on L3 L4 has short to 24V Eliminate short E 45 Override circuit on L3 L4 not closed Connect override switch Leuze electronic COMPACT plus PROFIsafe 39 40 Code Ursache Bedeutung MaBnahme zur Fehlerbehebung E 46 Override circuit on L3 L4 simu
40. d the PAA output data can be written into the receiver It is a precondition that the PROFIBUS address of the receiver is already set and known Warning It must be ensured that the PROFIBUS addresses of all receivers only exist once in the automation system as well as in those with several PROFIBUS strands It is therefore ensured that the F Dest Add chapter 7 1 3 of each receiver also only appears once system wide and is therefore unambiguous e Start SIMATIC Manager if required define new project with the available F CPU e Select SIMATIC x00 in the tree structure and call up the configuration tool HW Config by double clicking on Hardware in the right window Change to HW Config e Define all modules in the rack and at least one PROFIBUS strand e Double clicking on the F CPU opens its Properties window e Select on the Protection register card the 2 Write Protection radiobutton award a password and select the CPU Contains Safety Program checkbox e Enter the desired cycle time of the safety program e g 60 ms on the Cyclic Interrupt register card for OB35 Its influence on the response time of the safety circuit in accordance with chapter 7 1 1 must be observed here e On the Retentive Memory register card at least the retentive bytes required by the Proxy FB must be defined in accordance with chapter 4 3 if the Proxy FB is to be used e From the right window of HW Config from PR
41. d in their design and construction Owen 01 02 2009 Dr Harald Gr bel General Manager You can also download this EC Declaration of Conformity from the Internet under http www leuze com compactplus profisafe Leuze electronic COMPACT plus PROFIsafe 45
42. e bit Ix 2 PFF must now change with operation without restart interlock also the bit Ix 1 OSSD STATE see chapter 4 1 For further information see the corresponding documentation on safe programming on STEP7 Diagnostics data The diagnostics telegram can be evaluated for checking the status of the connection between the F CPU and the receiver The diagnostics data is delivered as status PDU in which the following 5 bytes after the first 6 bytes standard diagnostics are delivered s 2 1 0 fofi 0 Length of the PDU status is 5 including header olololo 1 Typeisstatusmessage ojojo ojo Noses ofololo o No status differentiation x Diagnostic data in status PDU of the COMPACT plus Receiver Error numbers for error in F parameters byte 11 0 No error 64 Error with F_Destination Address 65 False F_Destination Address 66 False F_Source Address 67 False F_Watchdog Time setting 68 False SIL setting 69 False CRC length 70 False F_Block_ID or F_ParVersion 71 False CRC1 via the F parameters If one of the abovementioned errors occurs then the connection setup is rejected For diagnostics purposes the abovementioned error numbers are also stored in the receiver so that they can be displayed via SafetyLab from version 1 1 register card PROFIBUS line PROFIBUS Diagnostic Errors in the standard parameters can only be detected in the PLC diagnostics or with a bus monitor not however with SafetyLab COMPACT
43. espective function compared with the information for the version with semiconductor output in the connecting and operating instructions Added to this is the influence of the cycle time of the PROFIBUS and the safety PLC in accordance with the information in chapter 7 1 2 which under certain circumstances considerably increase the necessary safety distance to the danger point The applicable requirements for machine safety apply when using COMPACTplus PROFIsafe in particular e Machine Directive 98 37 EC and e Machine Utilization Directive 89 655 EEC and the corresponding applicable national regulations in the individual member states It is the responsibility of the manufacturer and the operator of the machine or equipment on which the optical safety device is installed to observe these rules and regulations The local authorities in charge e g health and safety at work authorities are available to answer questions concerning safety The following conditions for use must be observed The installation electrical connection and the required test before initial operation and regular tests must only be carried out by specialist personnel Knowledge of the safety notes in these connecting and operating instructions is a constituent part of this competence Notes on the electrical connection can be found in chapter 6 COMPACT plus PROFIsafe corresponds with safety category 4 in accordance with EN954 1 To maintain this level of safety all d
44. failsafe values Are processed in the PLC as 0 b4 PROXY REQUEST is set and the Proxy FB is not yet started or not yet terminated there may still be invalid parameters in the receiver Are set to 0 b5 At least one of the DIP switches is not in the left position L the download of the Proxy FB generates E17 Are set to 0 b6 The function package of the parameter set to be loaded by the Proxy FB does not suit the receiver connected to it Are set to 0 b7 The number of beams of the connected receiver does not concur with the parameter set of the Proxy FB Are set to 0 b8 There is no valid parameter set in the Proxy FB the receiver must be parametered again Are set to 0 b9 The last acyclic command was faulty and was not processed None Table 5 1 2 PROFIBUS fault codes causes and reactions SafetyLab Software The SafetyLab PC software is used for local diagnostics and parametering and is connected via the opto magnetic interface of the receiver above the 7 segment display and with the cable delivered with the software via an RS232 interface The cable of the PC adapter on the receiver goes in the direction of the connection cap A strong magnet in the PC adapter ensures not just for mechanism stops but also signals the receiver at the same time that the PC adapter is connected All displays and settings in devices without PROFIsafe Interface are also possible in the corresponding PR
45. fe cyclic output data The value 0 means that the Proxy FB is not used PROXY_REQUEST IN BOOL FALSE Input for the Proxy_Request Bit is linked directly with the corresponding safe cyclic input bit 0 0 PROXY_START_ENABLE IN BOOL FALSE Allows the release and temporary blocking of the LG_PROXY FB e g via the BUSY signal of an already active LG_PROXY It can consequently be ensured that only one LG_PROXY works at one time in order not to influence the cycle time too heavily after Switching on 0 LG PROXY blocked 1 LG_PROXY released WRITE_DISABLE IN BOOL FALSE Prevents data records in the PLC from being overwritten e g in order not to take over later manipulations to the parameters of the receiver 0 No write protection 1 Write protection activated DATASET_PER_DB IN BOOL FALSE Decides which DB type is to be used for saving the parameter sets O 4 data records per DB S7 315F 1 16 data records per DB S7 317F S7 416F FIRST_DB IN WORD W 16 0 Number of the first parameter set DB e g 64 hex gt DB 100 is the first parameter set DB RANGE_OF_DB IN BYTE B 16 0 Number of DBs available for accepting the parameter sets 3 hex gt 3 DBs are available for data records START_ADDR_RETENTIVIT Y_M IN WORD W 16 0 Limits of the retentive bytes used by LG_PROXY A hex gt 10 retentive bytes are used IN_OUT_ADDRESS IN WORD W 16 0 Input output byte
46. g instructions for the device in accordance with the function package of the receiver and its resolution the PROFIsafe receivers are also delivered with e A CD ROM with GSD file Proxy FB example projects and this additional connecting and operating instructions Accessories ordering information In addition to the accessories that are defined in the connecting and operating instructions for the function package of the receiver the following accessories can also be ordered separately Item Item Description number 429071 CB M12 5000S 5GF Cable for power supply with straight M12 socket shielded 5 pole length 5 m 429073 CB M12 10000S 5GF Cable for power supply with straight M12 socket shielded 5 pole length 10 m 429075 CB M12 15000S 5GF Cable for power supply with straight M12 socket shielded 5 pole length 15 m 520073 SLAB SWC SafetyLab parametering and diagnostics software incl PC cable RS232 IR 520072 CB PCO 3000 PC cable RS232 IR adapter Table 11 2 1 Accessories ordering information COMPACT plus PROFIsafe Leuze electronic 12 3 EC Declaration of Conformity Leuze electronic GmbH Co KG In der Braike 1 73277 Owen Teck Germany The manufacturer declares that the safety components of series COMPACT plus PROFIsafe in the form in which they are marketed by us conform with the relevant basic safety and health requirements of the EC directives and that the standards were use
47. ger in the parameterized DB area 203 SFC 83 error look up error message in the help 204 SFC 20 error look up error message in the help 301 SFC 59 error look up error message in the help 401 SFC xx error enquiry about error message with the manufacturer 402 SFC 58 error look up error message in the help 501 SFC 59 error look up error message in the help 502 Overwriting the parameter sets in the PLC is not possible WRITE_DISABLE is set 503 Data or decision code invalid LG PROXY is terminated 601 Error in LG PROXY 701 SFC 58 error look up error message in the help 801 SFC 59 error look up error message in the help 901 SFC 84 error look up error message in the help 902 SFC 20 error look up error message in the help 1001 SFC 58 error look up error message in the help 1101 SFC xx error enquire about error message with the manufacturer 1102 SFC 58 error look up error message in the help ERROR CODE SFC OUT WORD W 16 0 Display for the RET_VAL in the event of an error the correct SFC can be determined using the table above Table 4 3 1 Inputs and outputs of the LG_PROXY functions module Activation of the LG_PROXY is performed by setting the PROXY_REQUEST bit bit 0 0 in the cyclic input data by the receiver As this bit must be linked with the PROXY_REQUEST input of the LG_PROXY this now starts with the parameter adjustment This happens e after the receiver has been switched on if required download of the PLC after
48. gory Type 4 in acc with EN IEC 61496 1 SIL 3 in acc with IEC 61508 Supply voltage 24 V DC 20 external power supply with secure mains supply isolation Residual ripple of supply voltage 5 96 within the limits of Uv Power consumption 150 mA Uv 28 8V 420926 160 mA Uv 24V 170 mA Uv 19 2V 20 Protection type IP65 Ambient temperature operation 0 50 C Ambient temperature storage 20 60 C Relative humidity 15 95 96 without condensation PROFIBUS data rate 9 6 kBd 12 MBd PROFIBUS connection M12 plug b coded Additional response time of the PROFIsafe part of the receiver 20 ms Cable tail lengths PROFIBUS input 0 4 m PROFIBUS output 0 2 m Power supply 0 6 m Power supply cable lengths 11 2 PROFIsafe services 100m Version of the PROFIsafe driver V2 supports PROFIsafe profile V1 and V2 Cyclic data 4 user data bytes of input data 4 user data bytes of output data Acyclic data For reading out the switching state of the individual beams Saving the parameters in the F CPU Via Proxy FB module for e S7 315F e S7 317F e S7 416F Number of parameter sets can be switched over via safe program in the F CPU Max 255 depending on the available storage space on the F CPU Safety output restart delay The greater of the two values from e Watchdog time in the F CPU 20 ms e Restart
49. he PROFIsafe connection the local interface remains in its versions in accordance with chapter 7 1 of the connecting and operating instructions of the device to which the control and indication signals must be connected depending on the function package The installation using sliding nuts and mounting brackets or in a device column is performed identically to that of a device with conventional connection which is also described in the connecting and operating instructions for the function packages The PROFIBUS address must be set before installation of the device After the connection cap has been removed the two hexadecimal switches HexH and HexL are accessible with which the PROFIBUS address can be set HexL sets the lower value 4 bit HexH the higher value 4 bit of the PROFIBUS address Addresses above decimal 126 Hex 7E are inadmissible This is prevented by the highest value bit 7 not being evaluated The settings 127 Hex 7F and 255 Hex FF must not be used The factory setting is address 4 The PROFIBUS address set is displayed by the receiver with the start up on its 7 segment display with Ax xx and can be optionally selected with SafetyLab from version V1 1 as permanent display Warning The aptly named F Destinationaddress required for the PROFIsafe protocol must not be set separately but rather results from the PROFIBUS address 1000 The user must therefore ensure that every receiver in every one of the PROFIBUS strands
50. he stop time of the machine must be taken into account COMPACT plus PROFIsafe Leuze electronic 7 1 2 GSD file The GSD file describes the standard communication parameters of a PROFIBUS device and is read in by the STEP7 engineering tool If COMPACT plus cannot be found in the right window of HW Config under PROFIBUS DP Additional Field Devices General then the GSD must be imported via the menu Options gt Install New GSD 7 1 3 F parameters The PROFIsafe specification requires the definition of the following F parameters which can be defined for the receiver in the following areas F parameter Meaning F Check SeqNr adjustable as 0 or 1 default 0 PROFIsafe V1 e 0 the sequential number is not included in the CRC e 1 the sequential number is included in the CRC PROFIsafe V2 Value not relevant since the sequential number is always included in the CRC calculation F SIL Cannot be set fixed on 2 for SIL3 F_Check iPar Cannot be set fixed on 0 for no i parameter F_Block_ID Cannot be set fixed on 0 F_CRC_Length PROFIsafe V1 must be set on 1 for 2 Byte CRC PROFIsafe V2 must be set on 0 for 3 Byte CRC F_Par_Version PROFIsafe V1 0 PROFIsafe V2 1 F_Source_Add Preset by the F CPU from the point of view of the receiver can be set from 1 to 65534 F_Dest_Add F_WD_Time 1000 to 1126 default 1004 The F_Dest_Add is formed in the COMPACT plus Receiver from the PROFI
51. laneousness Exchange switch error E 50 Muting time limit exceeded Initiate Muting Restart E 51 Undercurrent on Muting indicator L5 Replace or connect correct indicator check line between lamp and L5 E 52 Overcurrent on Muting indicator L5 Replace or connect correct indicator check line between lamp and L5 E 53 Short circuit or wrong sequence on control Eliminate short or enter correct signal input for muting timer enable signal sequences E 54 Override time limit exceeded After AutoReset device will continue with normal operation E 56 External operating mode selection switch or Check connections jumper not correctly connected E 70 Display module not compatible with the Plug in original display module with receiver s hardware correct parameter set E 71 Display module not compatible with the Plug in original display module with receiver s firmware correct parameter set E 72 SafetyLab not compatible with the receiver s Use updated version of SafetyLab firmware E 73 Parameter set from Proxy FB not Setup again the parameter set by compatible with the receiver s firmware teach in or SafetyLab and upload to Proxy FB E 95 Error in beam parameterization Correct beam parameterization by SafetyLab or teach in again E 177 PROFIBUS error Contact your manufacturer E 187 Table 10 0 1 Diagnostic receiver COMPACTplus PROFIsafe Leuze electronic Technical data 11 1 General system data of the PROFIsafe Receiver Safety cate
52. meter set during run time the Proxy FB must be integrated in accordance with chapter 8 1 2 and the number of the parameter set to be selected must also be changed depending on the current processing step e viathe input DATASET NUMBER of the Proxy FB e and therefore simultaneously via the safe cyclic output byte O chapter 4 1 2 The receiver recognizes the change compared with the previously saved parameter set and requests a parameter set that is appropriate for the new number from the Proxy FB via the PROXY REQUEST bit The Proxy FB reacts to this by downloading the requested parameter set Warning During the download the OSSD bit is set to 0 The parameter switchover is therefore suitable for adjustment to different work pieces after a brief stop phase a few seconds but not however for the switchover of the protective field during a dangerous movement which continuously requires OSSD STATE 1 Leuze electronic COMPACT plus PROFIsafe 35 8 1 4 36 Warning It is the task of the safe program to ensure that the correct parameter set is selected for the correct time and is available as a numerical value between 1 and 255 Before the parameter set of the receiver can be switched over on run time all parameter sets must be defined and checked in the receiver during the initial setup phase so that they can then be taken over into the F CPU The following procedure is necessary for each parameter set for this purpose e The F C
53. nal for the last cycle of a cycle control The last byte 3 is reserved and has currently no function The 4 cyclic output user bytes of the receiver have the following structure Byte Symbolic name A e 0 0 DATASET NUMBER 0 BitO to Bit7 number of the requested parameter set This byte must be connected with use of the Proxy FB chapter 4 3 with its input DATASET NUMBER 0 4 DATASET NUMBER 4 The content of this byte must be set in the safe part of the aoe 0 6 DATASET_NUMBER_6 Control inputs for any functions in the receiver the assignment of which is made with SafetyLab from version 1 1 Factory setting is e M1 IN Machine interface input start button l e M2_IN Feedback circuit contactor monitoring input e M3 IN to M16 IN No control function assigned Reserved currently no function Table 4 1 2 Fixed assignment of the cyclic output bits is identical for all function packages COMPACT plus PROFIsafe Leuze electronic 4 2 Acyclic data exchange reading of individual beam data The acyclic data exchange is used advantageously when relatively rare large data volumes have to be transferred The total bus load can consequently be maintained comparably small which ensures the real time behavior of the cyclic telegrams For the acyclic data transfer a specific time slot is reserved between the cyclic telegrams With the RD_REC and WR_REC commands acyclic PROFIBUS data can be transferred here in order for
54. nchronized with the activation of the Proxy FB For this the BUSY output of the Proxy FB assigned to the receiver to be read out has to be checked before the call up of RD REC in order to prevent the reading out of the individual beam data being performed at the same as an adjustment with the Proxy FB as the parameter adjustment is consequently interrupted While the individual beam data is being read out the PROXY START ENABLE input of the LG_PROXY should be set 0 to securely prevent the proxy activity from starting The reading is performed in a DB that has been provided an address and length via the RECORD parameter One bit is required per beam As a light curtain can have a maximum of 240 beams the required data block will be a max of 40 bytes 10 byte header 30 bytes of 8 bit data To define the size the DB e g DB12 is double clicked in STEP7 and the type is defined with ARRAY O0 40 of the type BYTE ae cmm m En After the control inputs and outputs of the LG PROXY have been processed the call up of the RD REC function is performed CALL RD REC REQ M10 1 IOID B 16 54 54 input or input output LADDR W 16 0 PAE address of cyclic data O RECNUM B 16 67 l Register index 2103 RET VAL MW3 BUSY A16 6 Display BUSY on output A16 6 RECORD P DB12 DBX0 0 BYTE40 The REQ input M10 1 in the example should be controlled via an edge signal to ensure that only one individual call is generated
55. ns ii ads 5 1 2 Symbols and CMS a 6 EET Mic ccoo il niaaa 7 2 1 Dangers if the safety notes are not observed ssessssuusernnnnenunnnnnnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnnnn nnne 7 2 2 Operating conditions and proper use esee esee enne reee 7 2 3 Organizational MeasureS ono 8 2 31 iDocumentatiori rt pe eerte ro havo o tarte e Ep rr beet t 8 2 32 Safety regulations ias 8 23 3 Qualified personnel ia 8 23 4 ROS ii Db ee t ee ie cive deas 8 2 95 Disposal ed b ed e db d ee e d ues 8 3 System design and possible uses ooooccoccnncconnnaccccnnnnnccnnnnnncanancnnnnnnnnnennnn nn cane rra mannen nannan anneanne mannen 9 3 1 PROFIBUS DP EPL 9 A O 10 3 3 COMPACT plusi PROFISate iii ii 11 4 FUN CHON cit decidan di 12 44 Cyclic data exchange enisi ic e e e ea ni 12 431 1 GCyclicinput data 5 2 ence n bote e ee eee de 12 44 2 Cyclic output data ocio teen ede dede dices enero aide 15 4 2 Acyclic data exchange reading of individual beam data eese 17 4 3 Proxy Function Block LG PROXY eseeeeeeeeeiseeeeeseenee eene nnn nns nnna n nnn nnns n annnm nnns nnns nana 18 4 4 Identification 8 maintenance functions eeeeeeeee esee esee cnc 22 4 5 O O 23 5 Display elements X9 24 5 1 Display on the receiver connnmmnciinnicnnnncnnanccrcncrcn cr 24 5 1 1 LEDs24
56. of devices of different manufacturers without special interface adjustments and is suitable for both fast time critical applications and for complex communications tasks Continuous technical further developments ensure that PROFIBUS will continue to be the future oriented industrial communications system RS 485 MBP IS or fiber optic cables are available as transmission technologies depending on the area of application Up to 126 stations can be connected to PROFIBUS DP which share the transmission medium in time division multiplex The projectable data transmission rate is 9 6 KBd to 12 MBd whereby the maximum attainable rate is limited by the cable length The RS485 cabling which is used the most requires a termination of the cable ends with a defined resistance combination Master Token Transfer a PROFIBUS DP Slave 1 Slave 2 Slave n Fig 3 1 1 PROFIBUS DP functional principle The bus access is controlled via a master slave protocol with overlaid token passing A master station generates a request here to a communications related subordinate slave station which reacts to the master request with a reply or acknowledgement telegram Only the master that currently owns the token may generate request telegrams The bus control right is cyclically exchanged with the token between the master stations In addition to peer to peer communication between a master and a slave a master
57. oint safeguarding e Safety light curtains with a preferred 50 or 90 mm resolution for horizontal danger area safeguarding e 2 3 and 4 beam multiple light beam safety devices and muting transceivers for vertical access guarding and perimeter guarding Various function packages such as e Blanking for applications with beam blanking e Muting for brief usage appropriate bridging of the protective field in order for example to enable material transport through the protective device or e Cycle control for safety relevant control of a machine are used for the optimum adjustment to the respective technological requirements Each COMPACT plus receiver and transceiver has a local interface for connecting control operating and display elements which are located close to the protective device and a machine interface for the integration into the machine s main control circuit The machine interfaces with e Transistor output e Relay output e ASlsafe AS Interface Safety at Work are described in the connecting and operating instructions for the individual function packages Note Because of the complexity of the PROFIsafe Interface this connecting and operating instructions for receivers with PROFIsafe connection is provided separately and replaces the description of the machine interfaces in chapter 7 of the connecting and operating instructions for the respective function packages Leuze electronic COMPACTplus PROF
58. ownstream elements of the safety chain up to stopping the dangerous movement must be set up at least in accordance with safety category 4 Leuze electronic COMPACT plus PROFIsafe 7 2 3 2 3 1 2 3 2 2 3 3 2 3 4 2 3 5 The applicable requirements for machine safety apply when using COMPACT plus PROFIsafe The responsible local authorities e g health and safety at work authorities are available to answer questions related to safety issues The following conditions for use must generally be observed e Work on electrical equipment must only be performed by skilled electrical personnel e A system test may only be performed when no danger will result for any persons e Initial operation maintenance and parameter setting must only be performed by skilled personnel Knowledge e ofthe connecting and operating instructions for the receiver s function package e of the safety notes of this supplementary information for the connecting and operating instructions e and the SafetyLab operating instructions if required is part of this competence Warning Adjustments and changes on the COMPACTplus PROFIsafe can cause a loss of safety functions Organizational measures Documentation All details of this supplementary information for the connecting and operating instructions must be observed Ensure that you keep the connecting and operating instructions and this supplementary information carefully stored in an appropriate
59. place They should always be available Safety regulations Observe the locally applicable legal provisions and the regulations of the health and safety at work authorities Qualified personnel The installation initial operation and maintenance of the devices must only be performed by qualified skilled personnel Electrical work must only be performed by skilled electrical personnel who also possess the necessary knowledge of the SafetyLab software if necessary Repairs Repairs especially in opening the housing must only be performed by the manufacturer or by persons authorized by the manufacturer Setting parameters via the DIP switches in the device and the PROFIBUS address via the rotary switch in the connection cap are exceptions in this respect In both cases only the connection cap has to be removed Disposal Note Electronic scrap is special refuse You must observe local regulations with its disposal COMPACTplus PROFIsafe does not contain any batteries or other materials that would have to be removed before disposal of the device COMPACT plus PROFIsafe Leuze electronic 3 1 System design and possible uses PROFIBUS DP PROFIBUS is a manufacturer independent open field bus standard with a wide range of applications in the area of production and process automation Manufacturer independence and openness are guaranteed by the international standards EN50170 IEC61158 and IEC61784 PROFIBUS enables the communication
60. ree and correspond with the parametering User error The receiver is intact and shows a error code E xx on its 7 segment display the user must check the activation of the sensors and signal elements the cabling and the parametering 0 7 FAILURE Shows a device error lo N Normal operation device is fault free LN Device fault The receiver shows a failure code F xx on its 7 segment display and must be replaced Leuze electronic COMPACT plus PROFIsafe 13 Byte Name Meaning Bit 1 0 M3 OUT Status signal outputs M3 M4 and M5 1 1 M4 OUT Parametering defines which internal signals are given out here The 1 2 M5 OUT assignment can be changed with SafetyLab Factory setting for all function packages is e M3 OUT Active protective field free ready for unlocking corresponds with the bits 0 2 and 0 4 e M4_OUT Fault error dirt collective signal corresponds with the bits 0 3 0 6 0 7 e M5 OUT Reserved no function As M3_OUT and M4_OUT are already covered by byte O this assignment can be changed without loss of information with SafetyLab lo The signal given out is 0 The signal given out is 1 1 3 L1 IN Logical signal state of the L1 and L2 inputs while complying with the possible 1 4 L2 IN inverting of the physical signal set with SafetyLab but without time filtering of the muting sensor signals function depends on the function package ME Logical input signal is O Logical input signal is 1 L2 OUT Stat
61. rge blocks for up to 16 parameter sets select ARRAY 0 65535 e Inthe safety program e g in FB110 set output byte DATASET_NUMBER fix to 1 Exactly one parameter set is consequently available for the receiver COMPACT plus PROFIsafe Leuze electronic 8 1 3 e Prepare some input bits in the standard program before calling the Proxy FB SET M 1000 0 M 1000 1 M 10002 e Call the Proxy FB in OB1 CALL LG PROXY DB10 DATASET NUMBER ABO PROXY_REQUEST E0 0 PROXY_START_ENABLE M1000 0 WRITE_DISABLE M1000 1 DATASET_PER_DB M1000 2 FIRST_DB W 16 64 RANGE_OF_DB B 16 1 START_ADDR_RETENTIVITY_M W 16 14 IN_OUT_ADDRESS W 16 0 BUSY LG_PROXY BUSY STATE LG_PROXY STATUS ERROR_NUMBER_FB LG_PROXY ENBR FB ERROR_CODE_SFC LG_PROXY ECODE FC It is assumed for the abovementioned FB call that the cyclic bytes begin from address 0 in the PAE and PAA gt the number of the selected parameter set is in the first output byte ABO the PROXY_REQUEST bit is in the cyclic input bit EO O If the parametering of the receiver is changed by teaching in with SafetyKey or with SafetyLab then the new parameter set is automatically saved by the Proxy FB on the F CPU For this the receiver signals the Proxy FB via the PROXY REQUEST bit that new data is ready for being backed up This reads it transparently for the user from the receiver and saves the parameter set Parameter switchover In order to switch over the para
62. rride active Muting Bypass active MLAMP_ Shows undercurrent on monitored lamp L5 WARN 0 Monitored muting lamp on L5 is fault free Undercurrent on lamp output L5 MUTING_ Muting restart for free moving of a muting line RESTART Not active Muting restart has been activated Table 4 1 1 Factory setting of the cyclic input bits is identical for all function packages 3 2 3 5 MUTING_ Shows the activation of muting or bypass only updated in the Muting and ACTIVE Cycle control function package o Muting Bypass not active 4 1 2 Cyclic output data COMPACTplus PROFIsafe receivers expects 4 byte output data from the safe master PROFIsafe itself requires a further 4 bytes so that 8 bytes must be reserved in the PAA process mapping for the receiver The data structure itself is fixed the assignment of this control data can be assigned specific functions bit wise with SafetyLab from version 1 1 The first byte O is an exception It is the parameter set number which is set by the program in the F CPU and requests the receiver to use a specific parameter set defined during the setup of the application which is saved in the master The master can consequently switchover the complete parameter set during the operation in conjunction with the Proxy FB For safety reasons the switchover must be initiated by the safe master With detected deviation of the requested parameter set from the currently present p
63. rror message Ex xx is present for at least 10s a SoftReset is then performed PROFIsafe continues to run If the error is not more present after the SoftReset then a going alarm is sent Serious internal errors can possibly no longer activate an alarm The sequence mode for 8 alarms is supported which means up to 8 alarms are intermediately stored in the PROFIBUS slave until they have been processed by the PROFIBUS master The alarm PDU is coded as follows Meaning te 7 3 2 0 9569 210 Length of alarm PDU incl header regardless of alarm 2 lofolololololo 1 Type is diagnostics alarm 3 jo oJojojojo o o Nosots sot 0 me No alarm differentiation with acknowledgement sequence no 0 7 x xixix xixi x x Failure or error code as displayed in the 7 segment display of the receiver x 0 Byte 5 is an error code Ex xx user application error x 1 Byte 5 is a failure code Fx xx device failed Table 4 5 1 Alarm PDU of the COMPACT plus Receiver Update Alarm The update alarm is switched off as standard and can be switched on as required via the parametering If a class 2 master is accessed after a C2 initiate for the first time writing on the receiver this is communicated to the class 1 master via the update alarm The alarm PDU is coded as follows te 7 6 5 4 3 2 1 ol 1 lolololo o 1 olo Length of the alarm PDU including header 4 bytes 2 jo oJojojo r t o Tweisupdateaarm S 3 jo ojJojojojo o o
64. rtified software component It sits at the top of the communication layers on the PROFIBUS DP stack The safety of the data transfer is achieved with a special structure of the user data in which in addition to the actual safety data a control byte a sequential number and an additional check sum are embedded among others The aptly named F Destination address enables the unambiguous addressing of a PROFIsafe device including in systems with several PROFIBUS strands therefore possibly with several slave addresses for the same kind of devices Only the cyclic data is safely transferred i e processed by the PROFIsafe driver before or after the transfer Warning Because only the OSSD bit is safely O also in case of failures the other cyclic input data must only be used for safety relevant purposes in the safety PLC if the OSSD Bit 1 Acyclically read or written data is not transferred safely and must therefore not be used for safety elevant purposes COMPACT plus PROFIsafe Leuze electronic 3 3 COMPACT plus PROFIsafe COMPACT plus are type 4 active opto electronic protective devices They consist of a number of light beams that are synchronized with one another which either consist of a transmitter and a receiver unit or a transceiver unit and a deflecting mirror so that the light beam devices form a rectangular protective field The difference is made between e Safety light curtains with 14 or 30 mm resolution for vertical danger p
65. s must be reserved per parameter set The start address of the retentive bytes is communicated to the LG PROXY via the START ADDR RETENTIVITY M input COMPACT plus PROFIsafe Leuze electronic Example Definition of the requirement for remanent flags 4 parameter sets X 2 retentive bytes 8 retentive bytes The starting point must be added before the number of retentive bytes is entered in the HW config e g 8 retentive bytes 10 starting point 18 number of retentive bytes from byte O If several COMPACTplus PROFIsafe are installed in one PROFIBUS system and several LG PROXY are used in the F CPU then these should be synchronized with one another in order to prevent overruns of the cycle time of the user program with simultaneous activation of several parameter adjustment processes To do this the PROXY START ENABLE inputs and the BUSY outputs the parameter adjustment is running of all LG PROXY can be linked in such a way that only one LG PROXY is released at one time Chapter 8 1 4 The parameter sets are stored in the DBs Depending on the number of parameter sets to be administered two different size DB types can be used While the smaller DB with 16 KByte takes up to 4 parameter sets and is therefore adapted to the memory model of the S7 315F the larger for S7 317F and S7 416F in 64 KByte can store up to 16 parameter sets The definition of the block sizes is made in DATASET PER DB D Note It must be ensured that a
66. son only error codes are listed below Code Ursache Bedeutung MaBnahme zur Fehlerbehebung LEDs and 7 segment displays are not lit Check 24 V supply voltage check for polarity and connection cable Replace the receiver if necessary 8 8 Is constantly lit 2 hardware fault Replace receiver F x x Internal hardware failure Replace receiver E 1 Short circuit between OSSD1 and OSSD2 Remove short circuit E2 Overload on OSSD1 Connect correct load E 3 Overload on OSSD2 Connect correct load EA Overvoltage on OSSD1 use correct power supply load E5 Overvoltage on OSSD2 use correct power supply load E 6 Circuit against GND on OSSD1 remove short circuit E7 Circuit against 24V on OSSD1 Remove short circuit E 8 Circuit against GND on OSSD2 Remove short circuit E 9 Circuit against 24V on OSSD2 Remove short circuit E 10 DIP switch not correctly positioned Correct switch positions E 11 Host Guest s longer than 240 beams Connect correct guest device s E 12 Guest connected on run time Connect guest s and restart E 13 Guest removed on run time Connect guest s before power on E 14 Undervoltage at power supply line Check replace power supply E 15 Reflections at configuration interface Protect interface optically E 16 Fault on an input or output Connect signal lines correctly E 17 Error in parameterization or incorrect switch Move switch to position L or
67. sufficiently big data module is available for the Proxy FB e 16 KByte for S7 315F DATASET PER DB 0 e 64 KByte for S7 317F and S7 416F DATASET PER DB 1 If several DMs are required then these must be located in a closed tape the number of which is communicated to the Proxy FB via the input value RANGE OF DB LG PROXY is also delivered with the example project on the CD the USER password in both cases CPU and user program is cust If the LG PROXY is used with the 416F CPU the data modules for the data records cannot be set to UNLINKED with 300 F CPUS it is better to set the data modules for data records to UNLINKED LG PROXY uses SFCs for the communication via PROFIBUS Error messages of these SFCs and error codes of the LG PROXY are provided to the user program via ERROR NUMBER FB and ERROR CODE SFC If the parameter ERROR CODE SFC is not equal to zero the corresponding SFC can be determined using ERROR NUMBER FB in the following table The decryption of the SFC error code is possible with the SIMATIC reference handbook System software for S7 300 400 system and standard functions Leuze electronic COMPACT plus PROFIsafe 19 LG_PROXY expects the following input variables IN and delivers the following output variables OUT Data type_ Initial value Description DATASET_NUMBER IN BYTE B 16 0 Input for the number of the parameter set maximum 255 must always be linked with the first byte of the sa
68. task here is to administer the parameter sets on the PLC This is performed in the non safe part of the PLC program via acyclic writing and reading The user must store the parameter set number in the first cyclic output byte via a safe selection procedure in the safety program Notes on the programming with Distributed Safety can be found in the S7 Distributed Safety Projecting und Programming manual The parameter exchange is possible in both directions from the PLC to the receiver and vice versa The complete parameter set which can be set with the optional diagnostics and parametering software SafetyLab as well as other data that ensures that the correct device is connected are adjusted and switched over here One instance of the LG PROXY must be provided per receiver It can be used for the following CPUs e S7 315F e S7 317F e S7 416F The Proxy FB only exists in one version although the memory models of the individual CPUs are very different LG_PROXY checks in which CPU it runs and automatically sets itself on the memory model of the respective CPU Note The integration of the LG PROXY is not beneficial if the receiver is parametered with DIP switches as in this case the parameters loaded per software are not accepted and the receiver goes to error E17 LG PROXY forces the resetting of the cyclic input data to zero if all switches are not set to position L With use of the LG PROXY functions module 2 retentive byte
69. the parameter adjustment has begun If an error occurs during the adjustment it goes back to 1 During the parameter adjustment the bit 0 1 OSSD STATE is set to 0 0 Prox FBmustnotperormaparameteradjustment receiver by the Proxy FB OSSD_ Provides the receivers safety output state STATE t safety switching output OSSD is switched off 1 The OSSD is switched on Provides the status of the protective field while complying with beam zones with blanking or reduced resolution The protective field is not free i e e normal beams without blanking are interrupted or e blanked objects are not at the expected position or do not have the expected size or e objects in beam zones with reduced resolution are too big 1 The protective field is evaluated as free Shows whether at least one beam is weak as the result of bad alignment or dirt has been detected The weak beam signal is time filtered for this over 10 minutes lo No dirt or bad alignment At least one beam is badly aligned or the front screen is dirty RSI_ Start restart interlock locked LOCKE The start restart interlock is not locked Dio hi 1 The start restart interlock is locked PC CON Shows an active connection to a PC with SafetyLab via the optical NECTED parametering and diagnostics interface No PC with SafetyLab connected PC connected with SafetyLab and active connection to the device ERROR Shows a user error Il d cabling are fault f
70. therefore no longer be integrated into the switch off logic in the safety program The light curtain runs without internal restart interlock S3 L as this is implemented with the safety program on the F CPU The emergency STOP buttons are read in distributed in the system via ET200S and AND ed to a central switch off signal which is integrated in the release circuit of the machine to be protected The EDM contactor monitoring is also implemented by the F CPU as it generates the release signal A static contactor monitoring is shown via an electrical series connection with the Acknowledge Button A separate input for the feedback contacts of the contactors is therefore not provided The following program part must also be included in the safety program Or Emergency Stop Stop by reset A2 2 to if one input is off restart after acknowledgement A10 2 Acknowled ge Button LG1_ossp Q E STOP Fig 8 1 1 Safety program part with restart interlock Leuze electronic COMPACT plus PROFIsafe 33 8 1 2 34 Example 2 A packing machine e g a wrapper has a switch off circuit the main drive of the wrapper and a palette run in and run out area Each area is protected by a muting transceiver with deflection mirror In addition to the complete muting functionality each transceiver has its own internal restart interlock activated in order to enable free moving after a fault with the local start button while the s
71. ting which can be used unchanged in many applications Not only the OSSD state but rather all bits are functionally safe and can be further processed by the safe PLC program when the OSSD bit 1 The status signal bits Lx OUT and Mx OUT in particular which with devices with transistor output relay output or ASIsafe can exclusively be used as non safe signal outputs open up many new application options in addition to the direct access to internal signals with PROFIsafe Warning The bit 0 1 OSSD STATE must however always be used for releasing the safety circuit as only this bit is set safely to O when a device fault has occurred The other cyclic input data can therefore only be evaluated when the bit OSSD STATE 1 The diagnostics information about a device failure is available in the non safe standard program the safe cyclic bits are only passivated PROFIsafe also ensures that the delay of the reactivation of this bit is as big as the watchdog time Tw chapter 7 1 1 set in the F CPU even if a smaller value has been selected with SafetyLab This is required to be sure that OSSD switch off shorter than the cycle time of the F CPU are detected by the F CPU in every case and a restart interlock that is programmed here switches off safely COMPACT plus PROFIsafe Leuze electronic _ See chapter 4 3 for details REQUES Signals to the optional Proxy FB on the F CPU that a parameter adjustment is necessary The bit is set to O after
72. us signal output L2 no function in FS assignment of an internal signal is possible with SafetyLab a The signal given out is 0 The signal given out is 1 L3_INO Logical signal state of the TriState input L3 while complying with the possible inverting of the physical signal set with SafetyLab but without time filtering of the muting sensor signals function depends on the function package Logical input signal is 0 Logical input signal is 1 L3 IN1 Activation of the TriState state of L3 input only valid if the TriState test has been activated depending on function package and setting by SafetyLab Ed Input is on 24 V or GND Input is open LA INO As bit 1 6 L3 INO but for L4 2 L5 IN Logical signal state of the L5 input while complying with the possible inverting of the physical signal set with SafetyLab factory setting for all function packages is Input local start button io Logical input signal is O L5 OUT Status signal L5 output Factory setting depends on the function package e Blanking Teach in Override activated e Muting Muting activated e Cycle control Number of remaining cycle interventions o Thesignalgivenoutiso ERE 1 5 1 6 1 7 L4_IN1 As bit 1 7 L3_IN1 but for L4 2 E 2 3 24 1 The signal given out is 1 ESC Switching state of the additional contact based safety circuit signal is log 1 when not active hc The signal given out is 0 safety circuit is par
Download Pdf Manuals
Related Search
Related Contents
Service Manual HD THLR rangecard user manual 4 月開催オークションで Patek Philippe と Rolex の人気モデルや映画 Valueline VLAB21930B Samsung MV800 Vartotojo vadovas BENUTZERHANDBUCH Copyright © All rights reserved.
Failed to retrieve file