Home
Manual - VIPA Controls America
Contents
1. Assembly possibilities hoizontal assembly vertical rni ber a assembly py alla T Il ol 9 g Yi gt Y 8 Y m AO 2 3 A A VENI i Note Chapter 1 Basics and Assembly Please regard the allowed environmental temperatures e horizontal assembly from 0 to 60 C e vertical assembly from 0 to 40 C e lying assembly from 0 to 40 C The horizonta
2. 000000000090 000000000090 3 00000000090 z 0600000009090 s N S 0600000009090 fa 600000000090 60000000090 y i Assembly regarding e Use bus connectors as long as possible od e Sort the modules with a high current consumption right beside the head ption module In the service area of www vipa com a list of current consumption of every System 200V module can be found MB HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V
3. backplane bus WWE B 201 Os INR E gt Xx 2 VIPA 201 1AA00 Structure e Profile rail 35mm dimensions e Dimensions of the basic enclosure 1tier width HxWxD in mm 76x25 4x74 in inches 3x1x3 2tier width HxWxD in mm 76x50 8x74 in inches 3x2x3 Installation Please note that you can only install head modules like the CPU the PC and couplers at slot 1 or 1 and 2 for double width modules A double width SIJE K q EX Head module l Use Uesel LEE E i single width A O Com on MENO 7 a EGE SE flee Note zr om zm 2m zm Information about the max
4. DB SEND_en_ocean ABD W 16 0 ANZ W 16 B PAFE SEND_en_ocean Pafe FRG SEND_en_ocean Senden_start GESE SEND_en_ocean GEEM ANZ_ INT SEND_en_ocean ANZ_INT ENDE_KOM SEND_en_ocean ENDE_KOM LETZTER_BLOCK SEND_en_ocean SENDEN_LAEUFT SEND_en_ ocean FEHLER KOM SEND en ocean LETZTER_BLOCK SENDEN_LAEUF T FEHL_KOM HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Overview of the EnOcean telegrams General structure The following table shows the general structure of an EnOcean telegram Send and receive telegrams have the same structure They only differ in the ID Bit 7 Bit O These bytes are automatically created at transmission and hidden at reception Ox0B OxOB ID for reception telegram Ox6B 0x06 ID for send telegram See table supported ORG formats DataBytes3 Data from a sensor res to an actuator ID of the transceiver module With SET_IDBASE you may alter the ID up to 10 times Status information of the according sensor Checksum Is automatically created at transmission and hidden at reception During transmission the actual ID base of the module replaces the ID base in the telegram General At the following pages all telegrams are listed that are supported by the CP 240 EnOcean This description has been taken directly out of the documentation by courtesy of EnOcean Note Please regard that the first two synchronization bytes an
5. X ChkSum HB97E CP RE_240 1EA20 Rev 12 42 3 33 Chapter 3 Deployment Manual VIPA System 200V Exchange module and set ID base Overview Since the ID base of every module is different you have in case of replacement the option to change the ID base of a module for up to 10 times by means of a SET_IDBASE telegram Consequently the newly adjustment of the actuators to the replacement module is no longer necessary After successful transfer of the ID base you have either to reboot your CPU or reset it via FC 9 Please regard that only the upper 25 bits are taken over as ID base The remaining 7 bits you may specify via your user application during runtime and herewith address multiple actuators ID base request With RD_IDBASE the current ID base of your module may be requested RD_IDBASE OxAB ID for transmission telegram 0x58 ORG ID for RD_IDBASE X Irrelevant X Irrelevant INF_IDBASE RD_IDBASE reports back the current ID base of the module in form on an INF_IDBASE telegram The telegram has the following structure Ox8B ID for reception telegram 0x98 ORG ID for INF_IDBASE IDBaseByte3 Byte 3 current ID base IDBaseByte2 Byte 2 current ID base IDBaseByte1 Byte 1 current ID base IDBaseByte0 Byte 0 current ID base Bit 6 0 irrelevant X irrelevant X irrelevant 3 34 HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment SET_IDBASE Possible respond telegram In case of replacement send
6. Reserved RID 2 bit Rocker ID from left A to right D 0 1 2 and 3 UD 1 bit UD 1 gt O button UD 0 gt I button PR 1 bit PR 1 gt Button pushed PR 0 gt Button released SR 1 bit SR 1 gt Store SR 0 gt Recall see note Reserved 3 bit for future use Note The SR bit is used only when the lower 3 bits from ID BYTEO B 111 scene switch and RID x 0 indicates that the memory buttons MO M6 are operated in the handheld remote control If ORG 0x0A Modem telegram Please note the different structure of modem telegrams with 6 data bytes and 2 address bytes for the ID of the receiving modem See A 1 1 HB97E CP RE_240 1EA20 Rev 12 42 3 23 Chapter 3 Deployment Manual VIPA System 200V Command Telegrams and Messages INF_INIT After a power on a hardware reset or a RESET command the TCM informs the user through several of these telegrams about the current status The messages have the general syntax as shown The information contained by the bytes marked as X should be decoded according to ASCII code 3 24 Bit 7 Bit 0 Ox5A PKB O OKBD ChkSum In total there are 15 telegrams OxA5 0x5A 0x8B 0x89 OXA5 0x5A 0x8B 0x89 OXA5 0x5A 0x8B 0x89 OXA5 0x5A 0x8B 0x89 OXA5 0x5A 0x8B 0x89 OXA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89 OxA5 Ox5A 0x8B 0x89
7. Overview This manual describes the System 200V CP 240 EA20 that are available from VIPA It contains detailed descriptions of the CP with EnOcean Transceiver module Chapter 1 Basics and Assembly The focus of this chapter is on the introduction of the VIPA System 200V Here you will find the information required to assemble and wire a controller system consisting of System 200V components Besides the dimensions the general technical data of System 200V will be found Chapter 2 Hardware description This chapter contains a description of the construction and the interfaces of the communication processor CP 240 with EnOcean Transceiver module Chapter 3 Deployment Here you will find the deployment of the communication processor CP 240 EnOcean HB97E CP RE_240 1EA20 Rev 12 42 1 About this manual Objective and contents Target audience Structure of the manual Guide to the document Availability Icons Headings Manual VIPA System 200V This manual describes the System 200V CP 240 1EA20 from VIPA It contains a description of the construction project implementation and usage This manual is part of the documentation package with order number HB97E CP and relevant for Product Order number as of state HW CP 240 EnOcean VIPA CP 240 1EA20 The manual is targeted at users who have a background in automation technology The manual consists of chapters Every chapter provides a self contained de
8. OxA5 Ox5A 0x8B 0x89 EnOcean TCM120 Version Version number in ASCII Bdrate 0x40 9600 baud Modem ON or OFF RxID modem ID in ASCII Mode Run PrgMem OK or CORRUPT HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment OK Standard message used to confirm that an action was performed correctly by the TCM Bit 7 Bit 0 0x5A X ChkSum ERR Standard error message response if after a TCT command the operation could not be carried out successfully by the TCM Bit 7 Bit 0 ChkSum RD IDBASE When this command is sent to the TCM the base ID range number is retrieved though an INF IDBASE telegram Bit 7 Bit 0 HB97E CP RE_240 1EA20 Rev 12 42 3 25 Chapter 3 Deployment Manual VIPA System 200V SET_IDBASE With this command the user can rewrite its ID range base number The most significant ID byte is IDBaseByte3 The information of the 25 most significant bits is stored in EEPROM The allowed ID range is from 0xFF800000 to OXFFFFFFFF Bit 7 Bit 0 IDBaseByte3 IDBaseByte2 X ChkSum 32 0 25 most significant bis 0 0 0 0 0 0 0 ID range base This command can only be used a maximum number of 10 times After successfully ID range reprogramming the TCM answers with an OK telegram If reprogramming was not successful the TCM answers sending an ERR telegram if the maximum number of 10 times is exceeded or an ER
9. The consignment doesnt include an antenna but you may optional order a portable antenna or a magnetic socket antenna with 150cm cable Both antennas are provided with a SMA plug The coaxial build SMA plug straight medium adaptor is a miniature HF plug with threaded connector that excels by high HF denseness In the standard version the plug has a swivel nut with female thread and a pin The SMA jack at the CP is with its male thread and the calyx the complement for assembly Portable antenna The portable antenna is a short rod antenna that is mounted without cable directly at the module via the SMA plug The antenna may be angled and turned into any direction sr 145 112 all measures in mm HB97E CP RE_240 1EA20 Rev 12 42 2 3 Chapter 2 Hardware description Manual VIPA System 200V Magnetic socket antenna Power supply LEDs 2 4 The magnetic socket antenna with 150cm cable is convenient for mounting into a cabinet Due to the magnetic socket you may install the antenna to any steel surface The connection of the magnetic socket antenna to the CP 240 EnOcean happens via the antenna cable of 150cm with SMA plug 95 29 gt all measures in mm The communication prozessor receives power via the back plane bus The communication processor is provided with 4 LEDs to monitor the operating status The meaning and the according colors are show
10. a SET_IDBASE telegram with the following structure from your CPU to the module transceiver Use the address of the module you want to replace as new ID base OxAB ID for transmission telegram 0x18 ORG ID for SET_IDBASE IDBaseByte3 Byte 3 new ID base IDBaseByte2 Byte 2 new ID base IDBaseByte1 Byte 1 new ID base IDBaseByte0 Byte 0 new ID base Bit 6 0 irrelevant X irrelevant X irrelevant 0x8B 0x58 To take over the ID base during runtime you have to execute a reset via FC 9 Otherwise the new ID base is available after a reboot of the CPU lt OK ID base was set In case of an error you receive one of the following messages Here the old ID base remains valid ERR More than 10 ID base changes are not permitted ERR IDRANGE ID base is outside the valid range OxFF800000 OxFFFFFFFF Control your ID settings and send the telegram once more ft HB97E CP RE_240 1EA20 Rev 12 42 3 35 Chapter 3 Deployment Manual VIPA System 200V 3 36 HB97E CP RE_240 1EA20 Rev 12 42
11. and automotive e Minimal energy reguirements e Support of several transmitters in the immediate environs e Telegram length 0 5ms e Transfer reach up to 300m e Mono and bi directional communication e Easy extensibility As modulation procedure EnOcean uses the incoherent amplitude modulation ASK The error likeliness is nearly the same compared with the frequency modulation at identical interference signal level The digital amplitude modulation allows the realization of energy saving transmitters because here only the 1 Bits are transferred The transfer of a data telegram takes about 0 5ms To enhance data security every telegram is repeated two times within 40ms whereat the time lag between every repetition is perchancely This fast multiple sending allows that many neighborhood transmitters may be working parallel together on one radio frequency with a low error ratio EnOcean uses IDs for the addressing An ID is an compound of D base and a freely configurable bit area Since the EnOcean modules are delivered by VIPA with a different D base with extensive projects it is recommended to note all D base of the modules So on error an module can be replaced and the appropriate D base can be taken For this details can be found at Exchange module and set ID base HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Fast introduction Overview Approach Preparation Hardware c
12. lines must be laid isolated When transmitting signals with small amplitudes the one sided laying of the isolation may be favorable Lay the line isolation extensively on an isolation protected earth con ductor rail directly after the cabinet entry and fix the isolation with cable clamps Make sure that the isolation protected earth conductor rail is connected impedance low with the cabinet Use metallic or metalized plug cases for isolated data lines e In special use cases you should appoint special EMC actions Wire all inductivities with erase links Please consider luminescent lamps can influence signal lines e Create a homogeneous reference potential and ground all electrical operating supplies when possible Please take care for the targeted employment of the grounding actions The grounding of the PLC is a protection and functionality activity Connect installation parts and cabinets with the System 200V in star topology with the isolation protected earth conductor system So you avoid ground loops If potential differences between installation parts and cabinets occur lay sufficiently dimensioned potential compensation lines HB97E CP RE_240 1EA20 Rev 12 42 1 15 Chapter 1 Basics and Assembly Manual VIPA System 200V Isolation of conductors Electrical magnetically and electromagnetic interference fields are weakened by means of an isolation one talks of absorption Via the isolation rail that is connect
13. responds with a 0 at Byte 2 3 After the CPU received this 0 it may send a new telegram to the CP 240 The telegrams stored in the send buffer are immediately transmitted via EnOcean Every EnOcean telegram has a size of 14Byte When the CP 240 receives a telegram this is stored in the receive buffer For every telegram the 11Byte of user data are handled over to the CPU via the back plane bus into Byte 4 to 14 and the length i e 11 into Byte 0 1 The first two sync bytes and the Checksum are deleted The CPU stores the user data and responds with the value 11 at Byte 0 1 The CP acknowledges this with a 0 at Byte 0 1 and thus announces that the transfer has been completed As soon as new data may be transferred the CPU answers with 0 With the reception of 0 the CP 240 may send a new telegram to the CPU HB97E CP RE_240 1EA20 Rev 12 42 3 13 Chapter 3 Deployment Manual VIPA System 200V Example for EnOcean deployment Overview Requirements Approach Dearchive the project Project structure 3 14 In the following example an EnOcean communication send and receive is build up Furthermore the sample illustrates how you may easily establish the control over communication processes by using the handling blocks At need you may receive the example project from VIPA The following components are required for the sample 1 System 200V consisting of CPU 21x and CP 240 EnOcean 1 switch with EnOcean tran
14. 7E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Description of STATUS field IMPORTANT NOTE PTM Type 1 PTM Type 2 Note for telegrams from PTM 100 piezo transmitters If ORG 0x05 Telegram from a PTM switch module 7 0 Reserved T21 NU RP COUNTER Reserved 2 bit Do not care T21 1 bit T21 0 gt PTM type 1 T21 1 gt PTM type 2 Note In transmission the TCM 120 always sets 121 1 gt it is only possible to transmit PTM type 2 telegrams NU 1 bit NU 1 gt N message NU 0 gt U message RP_COUNTER 4 bit 0 15 Repeater level 0 is original message Within toggle switch applications using the RCM 120 or TCM 120 serial receiver mode in combination with the TCM 110 repeater module please ensure that no serial command interpretation error may occur at the connected control unit A toggle signal means that the same telegram from e g PIM 100 PTM 200 or STM 100 is sent for switching something on and off If e g the light is switched on by means of a RCM 120 receiving the button telegram from a PTM 100 the repeated telegram delay lt 100ms may switch off the light again It is therefore mandatory to interpret the RP_COUNTER field as described in the RCM 120 User Manual If a repeated telegram RP COUNTER gt 0 is received it has to be verified if the same telegram with a lower RP_COUNTER state has already been received in the previous 100 ms In this case the repeated messa
15. ECEIVE FC 9 SYNCHRON_RESET Synchronization between CPU and CP 240 The handling blocks are available as library and may be integrated into the Siemens SIMATIC Manager like shown above A more detailed description of the handling blocks is to be found on the following pages Your PLC program should be build up with the following structure OB1 CALD EC 9 ADR 0 TIMER NR T2 ANL M3 0 NULL M3 1 RESET M3 2 STEUERB_S MB2 STEUERB_R MB1 U M SKO BEB CALL FC 1 ADR 0 DB DB11 ABD W 16 14 ANZ MW1 0 EMFR M1 0 PAFE MB12 GEEM MW100 ANZ_INT MW1 02 empf_laeuft M1 1 letzter_block M1 2 fehl empf M1 3 U M L0 R M ENS CALL FC 0 ADR 0 DB DB10 ABD W 16 14 ANZ MW1 4 FRG M2 0 PAFE MB16 GESE MW1 04 ANZ INT MW106 ende_kom M2 1 letzter block M2 2 senden laeuft M2 3 fehler kom M2 4 OB100 UN M S M wW W O O HB97E CP RE_240 1EA20 Rev 12 42 Calk alela ron 1st DW in SEND EMPF DB Delay time Synchron Start up TUNNING Interim flag Execute module reset PACONTEOL bits Send FC Control bits Receive FC as long as no start up no SEND RECEIVE processing Receive data 1st DW in SEND RECEIVE_DB Receive_DB telegram lst DW receive buffer DW20 Amount of received data Reception ready Error byte Internal data Internal data Internal data Internal data Internal data Reception ready delet
16. LAEUFT receiving data internal LETZTER_BLOCK EMPFANG_en_ocean LETZTER_BLOCK FEHL EMPF lt EMPFANG en ocean FEHL EMPF ein aus NOP BEA HB97E CP RE_240 1EA20 Rev 12 42 Fall data received Error an the reception routine M 720 no telegram received then end M 7 0 delete reception bit EMPFANG en ocean Empfangsfach IDbyte0 1 switch ID W 16 1C7A Please enter here the ID of your switch e_a2 This can be taken from DB 11 DBW 8 0 5 ID switch on EMPFANG en ocean Empfangsfach Datenbyte3 Byte with ID 4 ID in Low nipple Proof if switch is pushed ein fi ID switch of Proof if switch is pushed aus 0 A 0 0 Function on 0 A 0 0 Function off 3 17 Chapter 3 Deployment FC 101 3 18 Manual VIPA System 200V allocate send data send ID ORG ID Only the last 7Bit are relevant for addr and are ORed in the CP 240 with the here stored ID Base send from data byte 0 on always 11Byte L B 16 6B F SEND_en_ocean Empfangsfach RX_TX_Kennung L B 16 5 E SEND_en_ocean Empfangsfach ORG L Bf1642 T SEND_en_ocean Empfangsfach Datenbyte3 L 0 T SEND en ocean Empfangsfach Datenbyte2 T SEND en ocean Empfangsfach Datenbytel T SEND_en_ocean Empfangsfach Datenbyte0 T SEND_en_ocean Empfangsfach IDbyte2_3 L W 1613267 T SEND en ocean Empfangsfach IDbyte0 1 L 6 Bn SEND en ocean Empfangsfach Status CALL FCO ADR 2 256
17. P RE_240 1EA20 Rev 12 42 3 15 Chapter 3 Deployment Manual VIPA System 200V DB11 Receive data block Addr Label Type Comment OO STRUCT o o 100 Empfangsfach ato ORG BYTE 20 Datenbyte3 Dbyie2_3 Dbyie0_ 10 0 CNI E BYTE II Ii 4181 LETZTER BLOCK FEHL_EMPF 50 Reo BOON CEI BOLT 152 Res02 BOON 1153 Reo BOO 154 Re o O o 1155 Res BOON 1156 Reo BOLT 160 180 20 0 Reserve ARRAYS po BYTE ee C E SSCS 3 O HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V PLC program Chapter 3 Deployment The example already contains the PLC application and the hardware configuration The following blocks are used OB 1 CALL FC 9 Re boot or Reset ADR 256 Address of the module TIMER NR T2 ANL M3 0 NULL M3 1 RESET M3 2 STEUERB_S MB4 STEUERB_R MB6 U M 3 0 Reception can only be started BEB after execution of FC 9 SYNCHRON_RESET CALL FC 100 Call of reception FC OB 100 de T MB 1 delete order bit UN M 3 0 Initialize re boot S M 3 0 FC 100 CALL FC 1 ADR 256 Address of the module DB EMPFANG_en_ocean DB with received data ABD W 16 0 1 DBB received data ANZ W 16 B ceception length always 11 EMFR M7 0 all data received PAFE EMPFANG_en_ocean Pafe error byte GEEM lt EMPFANG en ocean GEEM received amount internal ANZ INT lt EMPFANG en ocean ANZ INT reception length internal EMPF LARUFT EMPFANG en ocean EMP_
18. PA CPU identifies the system as central periphery system e Within this slave system you place your modules in the plugged sequence Start with the CPU at the first plug in location e Then include your System 200V modules and at the correct place the CP 240 EnOcean e Parameterize your CP 240 EnOcean HB97E CP RE_240 1EA20 Rev 12 42 3 3 Chapter 3 Deployment Manual VIPA System 200V Parameters Internal communication 11Byte telegram for EnOcean communication 3 4 By placing the CP 240 EnOcean in the hardware configuration into the virtual PROFIBUS system the required parameters are automatically created The parameter area has the following structure Default parameter 0 reserved jp oo go o 1 Protocol EOh EnOcean o 2 15 reserved o You have only to set EOh in Byte 1 as protocol for EnOcean The other parameters are reserved and not evaluated With the help of VIPA FCs you control the communication between CPU and CP 240 For this send and receive data have each a reserved 2048Byte buffer which may handle up to 150 telegrams Together with a CPU 21x the following handling blocks are used SEND send block RECEIVE SYNCHRON RESET reset and synchronization of the CP 240 Always use telegrams with a length of 11Byte for the communication At the transmission the CP 240 EnOcean extends the 11Byte automatically with 2 synchronization bytes and a Checksum to 14Byte res cuts the 14Byte tele
19. Pe AS ME NAS number of pluggable modules col A m and the max current at the backplane bus can be found in the Technical Data of the according head module Please install modules with a high current consumption direct ly beside the head module sim OOOOOOOONONO BEEBE EEE gt eeeeeeeeee 15 BERBER O O A z _ eeceoeeeoee ERE EERE e e0 000005600 Cia e m m m um 0 9 TO seme MA HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Dimensions Dimensions 1tier width HxWxD in mm 76 x 25 4 x 74 Basic enclosure 2tier width HxWxD in mm 76 x 50 8 x 74 Installation dimensions RK WAALS N oS eA N A N a OR hy ne m a VA V 80 mm 3 N V J 3 ANAA Installed and wired dimensions In Output sa mm g
20. RE_240 1EA20 Rev 12 42 3 29 Chapter 3 Deployment Manual VIPA System 200V INF MODEM _ Informs the user about the TCM current modem status The information STATUS provided is the following Modem status ON or OFF and modem ID stored Modem state 0x01 modem ON Modem state 0x00 modem OFF Modem ID MSB most significant modem ID byte Modem ID LSBzleast significant modem ID byte Bit 7 Bit 0 0xA8 Modem status Modem ID MSB Modem IDLSB j ChkSum RD_SW_VER This command requests the TCM to send its current software version number This information is provided via an INF SW VER telegram by the TCM Bit 7 Bit 0 0xA5 0x5A 0xAB 0x4B o ChkSum_ ChkSum 3 30 HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment INF SW VER Informs the user about the current software version of the TCM Bit 7 Bit 0 0x5A l Example Version 1 0 1 16 TCM SW Version Pos 1 1 TCM SW Version Pos 2 0 TCM SW Version Pos 4 TCM SW Version Pos 3 1 TCM SW Version Pos 4 16 ERR MODEM NO When a 6DT modem telegram has been sent the TCM waits for a modem TWANTEDACK acknowledge MDA telegram This error message is generated if an MDA with the right modem ID is received after the timeout 100ms or if there is more than one MDA received Bit 7 Bit 0 0x8B X ChkSum ERR MODEM _ When a 6DT modem telegram has been sent the TCM waits for a modem NOTACK acknowledge MDA
21. R_IDRANGE telegram if the ID range base is not within the allowed range INF_IDBASE This message informs the user about the ID range base number Bit 7 Bit 0 IDBaseByte3 IDBaseByte3 is the most significant byte IDBaseByte2 IDBaseByte1 IDBaseByte0 X 3 26 HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment SET_RX_SENSITIVITY RD_RX_SENSITIVITY INF_RX_SENSITIVITY This command is used to set the TCM radio sensitivity In LOW radio sensitivity signals from remote transmitters are not detected by the TCM receiver This feature is useful when only information from transmitters in the vicinity should be processed An OK confirmation telegram is generated after TCM sensitivity has been changed Bit 7 Bit O 0x5A Sensitivity 0x00 Low sensitivity Sensitivity 0x01 High sensitivity This command is sent to the TCM to retrieve the current radio sensitivity mode HIGH or LOW This information is sent via an INF_RX_ SENSITIVITY command Bit 7 Bit 0 ChkSum This message informs the user about the current TCM radio sensitivity Bit 7 Bit 0 Sensitivity Sensitivity 0x00 Low sensitivity x Sensitivity 0x01 High sensitivity ChkSum HB97E CP RE_240 1EA20 Rev 12 42 3 2 7 Chapter 3 Deployment Manual VIPA System 200V SLEEP If the TCM receives the SLEEP command it works in an energy saving mode The TCM will not wake up before a hardware reset is made or a WAKE
22. VIPA System 200V CP Manual HB97E_CP RE_240 1EA20 Rev 12 42 October 2012 VIPA Copyright O VIPA GmbH All Rights Reserved This document contains proprietary information of VIPA and is not to be disclosed or used except in accordance with applicable agreements This material is protected by the copyright laws It may not be reproduced distributed or altered in any fashion by any entity either internal or external to VIPA except in accordance with applicable agreements contracts or licensing without the express written consent of VIPA and the business management owner of the material For permission to reproduce or distribute please contact VIPA Gesellschaft fur Visualisierung und Prozessautomatisierung mbH OhmstraBe 4 D 91074 Herzogenaurach Germany Tel 49 91 32 744 0 Fax 49 9132 744 1864 EMail info vipa de http www vipa com Note Every effort has been made to ensure that the information contained in this document was complete and accurate at the time of publishing Nevertheless the authors retain the right to modify the information This customer document describes all the hardware units and functions known at the present time Descriptions may be included for units which are not present at the customer site The exact scope of delivery is described in the respective purchase contract CE Conformity Declaration Hereby VIPA GmbH declares that the products and systems are in compliance with the es
23. YNCHRON block has been set in the start up OB before Declaration Name Type Comment in ADR INT Logical Address in TIMER NR WORD No of timer for idle time in out ANL BOOL restart progressed in_out NULL BOOL internal use in_out RESET BOOL 1 Reset the CP in_out STEUERB S BYTE internal use in out STEUERB R BYTE internal use ADR Periphery address with which you may call the CP 240 Via the hardware configuration you may set the periphery address TIMER_NR Number of the timer for the delay time ANL With ANL 1 the handling block is informed that a STOP START res NETZ AUS NETZ EIN has been executed at the CPU and now a synchronization is required After the synchronization ANL is automatically set back NULL Parameter is used internally RESET RESET 1 allows you to set back the CP out of your user application STEUERB_S Here you have to set the bit memory byte where the control bits ENDE KOM LETZTER BLOCK SENDEN LAEUFT and FEHLER_KOM for the SEND FC are stored STEUERB_R Here you have to set the bit memory byte where the control bits LETZTER BLOCK EMPF_LAEUFT and FEHLER_EMPF for the RECEIVE FC are stored Chapter 3 Deployment Manual VIPA System 200V Communication principle Send and receive data Communication via back plane bus Tasks of the CPU The CPU writes data via the back plane bus which is to be sent into the according data channel The communication processor enters t
24. d the Checksum of received telegrams are not stored in the CP 240 At transmission the 11Byte user data are automatically supplemented with these bytes to a total size of 14Byte HB97E CP RE_240 1EA20 Rev 12 42 3 19 Chapter 3 Deployment Description of ORG field in H_SEQ instead of 0 for an RX_TELEGRAM ORG Description RRT TRT Acronym 0x05 Telegram from a PTM switch module received RPS 0x06 0x07 0x08 Ox0A Ox0B original or repeated message 1 byte data telegram from a STM sensor module received 1BS original or repeated message 4 byte data telegram from a STM sensor module received 4BS original or repeated message Telegram from a CTM module received HRC original or repeated message 6byte Modem Telegram original or repeated 6DT Modem Acknowledge Telegram MDA Serial command Bit 7 Bit 0 encoding for RPS 0xA5 1BS 4BS HRC 0x0B RX_TELEGRAM 0x6B TX_TELEGRAM po ORG O O DataBytes3 DataBytes2 DataBytes1 DataBytes0 0x00 for RPS 1BS HRC IDBytes2 ChkSum Serial command Bit 7 Bto Serial command Bit 7 encoding for 6DT Manual VIPA System 200V The TX_TELEGRAM and RX_TELEGRAM telegrams have the same structure The only difference is that a TX_TELEGRAM is identified by 3 encoding for MDA OxA5 3 20 0x0B RX TELEGRAM Ox6B TX TELEGRAM 0x0B RX TELEGRAM Ox6B TX TELEGRAM Oo A O DataBytes5 DataBytes4 DataBytes3 o Status Status O HB9
25. ded into hardware configurator from Siemens e The project can be transferred into CPU serial e g Green Cable or MMC Hardware e Start the hardware configurator from Siemens with a new project and configuration insert a profile rail from the hardware catalog e At the first available slot you place the CPU 315 2DP 6ES7 315 2AF03 V1 2 from Siemens e lf your CPU 21x has an integrated PROFIBUS DP master you may now connect it to PROFIBUS and include your DP slaves e Create a PROFIBUS subnet if not present yet e Add the system VIPA_CPU21x to the subnet You will find this in the hardware catalog under PROFIBUS DP gt Additional field devices gt IO gt VIPA_System_200V Assign the PROFIBUS address 1 to this slave e n your configurator place the CPU 21x which you are using always on the 1 slot by taking it from the hardware catalog e Then you include your System 200V modules in the plugged sequence and your CP 240 at the according place e f necessary parameterize your CP 240 e Save your project BR Station Edt Insert PLC Yew Options Widow Help olaia 8 a e doda DS v 3 6 HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V PLC program Chapter 3 Deployment For the communication between CPU and CP 240 shown in the text below the following handling blocks are used Data output CPU to CP 240 Receive data from CP 240 SEND R
26. e description of the respective modules You may connect conductors with a diameter from 0 08mm up to 2 5mm max 1 5mm for 18pole connectors The following figure shows a module with a 10pole connector 1 Locking lever 2 Pin no at the module 3 Pin no at the connector MO 14 Wiring port o 5 Opening for screwdriver CI Im 300 XJOugonoR a O Note The spring clip is destroyed if you push the screwdriver into the wire port Make sure that you only insert the screwdriver into the square hole of the connector HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Wiring procedure y e Install the connector on the module until it locks with an audible click al E For this purpose you press the two clips together as shown tih ua The connector is now in a permanent position and can easily be wired ne ei ecT AS HE t The following section shows the wiring procedure from top view V 9 e Insert a screwdriver at an angel into the square opening as shown y e Press and hold the screwdriver in the opposite direction to open the contact spring e Insert the s
27. e reception ready Send data 1st DW in SEND RECEIVE_DB Send_DB telegram lst DW send buffer DW20 Amount of data to send Set send ready IJET ror byte Internal data Internal data Internal data Internal data Internal data Internal data FFStart up CPU cunning 3 Chapter 3 Deployment Manual VIPA System 200V Transfer project What is the Green Cable Q A A A 3 8 The data transfer happens via MPI If your programming device is not provided with a MPI interface you may also use a Serial point to point transfer from your PC to MPI with the help of the Green Cable from VIPA The Green Cable has the order no VIPA 950 0KB00 and may only be used with the VIPA CPUs with MP interface Please regard for this also the hints for the usage of the Green Cable in the basics e Connect your PG with the CPU e Via PLC gt Load to module in your project engineering tools you transfer the project into the CPU e Plug in a MMC and transfer your user application to the MMC by means of PLC gt Copy RAM to ROM e During the write process the MC LED at the CPU is blinking Due to system reasons a successful write process is announced too early Please wait until the LED extinguishes The Green Cable is a green connection cable made exclusively for the deployment at VIPA System components The Green Cable allows you to e transfer project serially from point to point e execute firmware
28. ed conductive with the rack interference currents are shunt via cable isolation to the ground Hereby you have to make sure that the connection to the protected earth conduc tor is impedance low because otherwise the interference currents may appear as interference cause When isolating cables you have to regard the following e f possible use only cables with isolation tangle e The hiding power of the isolation should be higher than 80 e Normally you should always lay the isolation of cables on both sides Only by means of the both sided connection of the isolation you achieve high quality interference suppression in the higher frequency area Only as exception you may also lay the isolation one sided Then you only achieve the absorption of the lower frequencies A one sided isolation connection may be convenient If the conduction of a potential compensating line is not possible analog signals some mV res uA are transferred foil isolations static isolations are used e With data lines always use metallic or metalized plugs for serial couplings Fix the isolation of the data line at the plug rack Do not lay the isolation on the PIN 1 of the plug bar e At stationary operation it is convenient to strip the insulated cable interruption free and lay it on the isolation protected earth conductor line e To fix the isolation tangles use cable clamps out of metal The clamps must clasp the isolation extensively and have w
29. ed out when the system has been disconnected from power Installation and hardware modification only by properly trained personnel The national rules and regulations of the respective country must be satisfied installation safety EMC Disposal National rules and regulations apply to the disposal of the unit HB97E CP RE_240 1EA20 Rev 12 42 3 Safety information Manual VIPA System 200V o HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Chapter 1 Overview Contents Basics and Assembly The focus of this chapter is on the introduction of the VIPA System 200V Here you will find the information required to assemble and wire a controller system consisting of System 200V components Besides the dimensions the general technical data of System 200V will be found Topic Page Chapter 1 Basics and Assembly c00ccococcccncnccnncoconnnnononannonananenananennnnos 1 1 Safety Information for US8rS c coonccccccnccccncccccncconnnonnnnnnnnnononononononanonos 1 2 SYStemi UN CN e devete ji 1 3 DIMENSIONS amn is 1 5 mMStalato N na opi te ele a a ose obde 1 7 Demounting and module exchange 1 11 ao AP O EO RODE EO 1 12 Installation guidelines 1 14 Generada ei 1 17 Chapter 1 Basics and Assembly Manual VIPA System 200V Safety Information for Users Handling of electrostatic sensitive modules Shipping of electrostatic sens
30. ell contact e Lay the isolation on an isolation rail directly after the entry of the cable in the cabinet Lead the isolation further on to the System 200V module and don t lay it on there again Please regard at installation At potential differences between the grounding points there may be a compensation current via the isolation connected at both sides Remedy Potential compensation line HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly General data Structure e Profile rail 35mm dimensions e Peripheral modules with recessed labelling e Dimensions of the basic enclosure 1tier width HxWxD in mm 76x25 4x74 in inches 3x1x3 2tier width HxWxD in mm 76x50 8x74 in inches 3x2x3 Reliability e Wiring by means of spring pressure connections CageClamps at the front facing connector core cross section 0 08 2 5mm or 1 5 mm 18pole plug e Complete isolation of the wiring when modules are exchanged e Every module is isolated from the backplane bus e ESD Burst acc IEC 61000 4 2 IEC 61000 4 4 to level 3 e Shock resistance acc IEC 60068 2 6 IEC 60068 2 27 1G 12G e Class of protection IP20 Environmental e Operating temperature 0 60 C conditions e Storage temperature 25 470 e Relative humidity 5 95 without condensation e Ventilation by means of a fan is not required HB97E CP RE_240 1EA20 Rev 12 42 1 17 Chapter 1 Basics and Assembly Ma
31. ge has to be discarded PTM switch modules of Type 1 e g PTM 100 do not support interpretation of operating more than one rocker at the same time N message received gt Only one pushbutton was pressed U message received gt No pushbutton was pressed when activating the energy generator or more than one pushbutton was pressed PTM switch modules of Type 2 allow interpretation of operating two buttons simultaneously N message received gt Only one or two pushbuttons have been pressed U message received gt No pushbutton was pressed when activating the energy generator or more than two pushbuttons have been pressed Due to the mechanical hysteresis of the piezo energy bow in most rocker switch device implementations pressing the rocker sends an N message and releasing the rocker sends a U message If ORG 0x06 0x07 0x08 or 0x0A 7 0 RP_COUNTER Reserved 4 bit Do not care RP COUNTER 4 bit Repeater level 0 original message 1 repeated message HB97E CP RE 240 1EA20 Rev 12 42 3 21 Chapter 3 Deployment Manual VIPA System 200V Description of DATA_BYTE 3 0 3 22 If ORG 0x05 and NU 1 N message from a PTM switch module DATA BYTE2 0 always 0 DATA BYTE3 as follows 7 0 RID UD PR SRID_ SUD SA RID 2 bit Rocker ID from left A to right D 0 1 2 and 3 decimal UD 1 bit UD 1 gt O button UD 0 gt I button PR 1 bit PR 1 gt energy bow pressed PR 0 gt energ
32. gram to 11Byte at reception HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Include GSD and FCs Project engineering via GSD Include GSD Installing blocks Retrieve library Open library and transter blocks to project The address allocation and he parameterization of the CP 240 happens by means of the Siemens SIMATIC Manager in form of a virtual PROFIBUS system Since the PROFIBUS interface is software standardized the inclusion of a GSD file enables the guaranteed functionality of running in the SIMATIC Manager from Siemens at any time Transfer your project via MPI into CPU The following steps are required for the installation of the GSD e In the service area of www vipa com a GSD file for the System 200V may be found Load the zip file to your PC e Start your un zip application with a double click on the file and un zip the files to work directory e Copy the GSD file VIPA_21X GSD into your GSD directory siemens step s data gsd e Start the hardware configurator from Siemens e Close all projects e Select Options gt Install new GSD file e Set here VIPA_21X gsd Now the modules of the System 200V from VIPA are integrated into the hardware catalog and may be used The VIPA specific blocks may be found at www vipa com as downloadable library at the service area The library is available as packed zip file If you want to use VIPA specific blocks you have to import
33. hapter 3 Overview Contents Deployment Here you will find the deployment of the communication processor CP 240 EnOcean Topic Page Chapter 3 Deployment ciceseshscs rst iectactocsadusteciactoiendvabvestuchocsidwenwneds 3 1 DAS ne aut 3 2 Fast IMIOGUCION arca odias 3 3 Hede GSO and FEOS 3 5 PrOjECvSNGINCET viii 3 6 Standard handling blocks 3 9 Communication prinCIple sceri 3 12 Example for EnOcean deployment 3 14 Overview of the EnOcean telegrams 3 19 Exchange module and Set ID base 3 34 HB97E CP RE 240 1EA20 Rev 12 42 3 1 Chapter 3 Deployment Manual VIPA System 200V Basics EnOcean Properties Amplitude modulation Security by means of telegram repetition IDs for addressing 3 2 EnOcean is a battery free radio system that has been developed by the company EnOcean in 2001 Due to the short signal length of 0 5ms and 10mW transmitting power the radio system technique has an energy requirement of 50uWs For this the system uses the energy of smallest changes of pressure and temperature as power supply for the sensors The reach of the sensors is up to 300m out of doors Additionally every transmitter gets an unigue 32Bit address as ID during manufacturing The modules are using the internationally accredited SRD freguency band an 869 MHz Main points of usage of EnOcean are building automation industrial production
34. hem into a ring buffer 2048Byte and transmits them then via EnOcean When the communication processor receives data via EnOcean the data is stored in a ring buffer 2048Byte The received data may now be read telegram by telegram 11Byte from the CPU via the data channel The exchange of received telegrams via back plane bus happens asynchronously When a complete telegram has been arrived via EnOcean it is stored in the buffer The length of the ring buffer limits the maximum number of telegrams At full buffer new telegrams are ignored Out of the telegrams of 14Byte length telegram by telegram 11Byte user data are transferred to the CPU via back plane bus The first two sync bytes and the Checksum are not handled over A telegram that is to send has to be transferred to the CP 240 This supplements the telegram with the first two sync bytes and the Checksum and handles the telegram on to the send buffer The CP 240 compiles these blocks in the send buffer and sends it via the EnOcean transceiver as soon as the telegram is complete Since the data transfer via back plane bus happens asynchronously a software handshake is used between CP 240 and CPU The registers for the data transfer from the CP 240 have a width of 16Byte For the handshake the Bytes 0 to 3 word 0 and 2 are reserved The following picture shall illustrate this Communications processor REC EnOcean HEH 14 zlot yte lt Byte 4 lt E TxD Cn
35. in of 1 2 4 or 8tier width The following figure shows a 1tier connector and a 4tier connector bus The bus connector is to be placed on the profile rail until it clips in its place and the bus connections look out from the profile rail 290 0AAT0 290 0AA20 290 0AMO 290 OKAGO HB97E CP RE 240 1EA20 Rev 12 42 1 7 Chapter 1 Basics and Assembly Manual VIPA System 200V Installation on a The following figure shows the installation of a 4tier width bus connector in profile rail a profile rail and the slots for the modules The different slots are defined by guide rails EPERE 1 Head module i double width i i E 2 Head module o single width 3 Peripheral module 4 Guide rails OA AMM O CMA CA e CAMA SGeeadgeeee OXKAXAXKAXA COMO CO AKA TECE EA CO OKXAAXXKXKAK 7 7
36. ing the product If you are unable to locate a customer service center contact VIPA as follows VIPA GmbH OhmstraBe 4 91074 Herzogenaurach Germany Telephone 49 9132 744 1150 Hotline EMail support vipa de Manual VIPA System 200V Contents Contents PADOUU TIS Manada ci dais 1 Safety MIOMA O lia 2 Chapter 1 Basics and Assembly nana 1 1 Safety Information for Users e 1 2 SS SM CONC A A A ME AE OE nt 1 3 DIMENSION Sosa e elek ee Nje ei ato ee 1 5 MUS TAN ATION espana id is lid bin 1 7 Demounting and module exchange cooccconccccnccconcononccconanonnncnnnccnnnnnnos 1 11 WINN Leia dis 1 12 l ASTallation GUIANA SS talado 1 14 E inn ae a ee oaethiaGaeeks 1 17 Chapter 2 Hardware description ccoooccconncccococcnnanonenanronannrcnnanonnanos 2 1 A AN 2 2 SUCE as 2 3 Technical DA da imi 2 5 Chapter 3 Deployment escisss sacncinc asociando 3 1 A a RR V 3 2 FASLINNOOUCUOM ricini cie 3 3 INnGIUGE GS Dain FOS AAA o E 3 5 Project engineering instado iii 3 6 standard Nanding block Sima tao es La 3 9 Communication PACO sica dde dias 3 12 Example for EnOcean deployment ne 3 14 Overview of the EnOcean telegrams 3 19 Exchange module and set ID base 3 34 HB97E CP RE 240 1EA20 Rev 12 42 Contents Manual VIPA System 200V li HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V About this manual About this manual
37. itive modules Measurements and alterations on electrostatic sensitive modules 1 2 VIPA modules make use of highly integrated components in MOS Technology These components are extremely sensitive to over voltages that can occur during electrostatic discharges The following symbol is attached to modules that can be destroyed by electrostatic discharges The Symbol is located on the module the module rack or on packing material and it indicates the presence of electrostatic sensitive equipment It is possible that electrostatic sensitive equipment is destroyed by energies and voltages that are far less than the human threshold of perception These voltages can occur where persons do not discharge themselves before handling electrostatic sensitive modules and they can damage components thereby causing the module to become inoperable or unusable Modules that have been damaged by electrostatic discharges can fail after a temperature change mechanical shock or changes in the electrical load Only the consequent implementation of protection devices and meticulous attention to the applicable rules and regulations for handling the respective equipment can prevent failures of electrostatic sensitive modules Modules must be shipped in the original packing material When you are conducting measurements on electrostatic sensitive modules you should take the following precautions e Floating instruments must be discharged before use e In
38. l assembly always starts at the left side with a head module then you install the peripheral modules beside to the right You may install up to 32 peripheral modules Please follow these rules during the assembly e Turn off the power supply before you install or remove any modules e Make sure that a clearance of at least 60mm exists above and 80mm below the middle of the profile rail e Every row must be completed from left to right and it has to start with a head module 1 Head module double width 2 Head module single width 3 Peripheral modules 4 Guide rails e Modules are to be installed side by side Gaps are not permitted between the modules since this would interrupt the backplane bus e A module is only installed properly and connected electrically when it has clicked into place with an audible click Slots after the last module may remain unoccupied A maximum of 32 modules can be connected at the back plane bus Take attention that here the maximum sum current of 3 5A is not exceeded HB97E CP RE_240 1EA20 Rev 12 42 1 9 Chapter 1 Basics and Assembly Manual VIPA System 200V Assembly procedure iza gt RQ OOQEAAAAA AAA gt v SS XM AA Install the profile rail Make sure that a clearance of at least 60mm exists above and 80mm below the middle of the profi
39. le rail Press the bus connector into the profile rail until it clips Securely into place and the bus connectors look out from the profile rail This provides the basis for the installation of your modules Start at the outer left location with the installation of your head module and install the peripheral modules to the right of this 2 3 1 Head module eee double width 0000 CO KE EH li Gi EEEIEE 00040000 SGGGGGGEG6G l a V00AAAAAAA VOUAAAAA Gea ggggags m 2 Head module single width 3 Peripheral module 5 EEEE A VOVATAAAA Seeeeegaeae a EEEIEE i 4 Guide rails 4 Insert the module that you are installing into the profile rail at an angle of 45 degrees from the top and rotate the module into place until it clicks into the profile rail with an audible click The proper connection to the backplane bus can only be guaranteed when the module has properly clicked into place Attention Power must be turned off before modules are installed or rem
40. les like CPU and bus coupler Periphery modules like l O function und communication modules With a head module CPU respectively bus interface and DC 24V power supply are integrated to one casing Via the integrated power supply the CPU respectively bus interface is power supplied as well as the electronic of the connected periphery modules The modules are direct installed on a 35mm profile rail and connected to the head module by a bus connector which was mounted on the profile rail before Most of the periphery modules are equipped with a 10pin respectively 18pin connector This connector provides the electrical interface for the signaling and supplies lines of the modules 1 3 Chapter 1 Basics and Assembly Manual VIPA System 200V With the System 200V the DC 24V power supply can take place either externally or Power supplies pozove 4 via a particularly for this developed power lde supply cO ME The power supply may be mounted on the q eae profile rail together with the System 200V x modules It has no connector to the back a plane bus eae 9 47 VIPA 207 1BA00 Expansion The expansion modules are complemen modules tary modules providing 2 or 3wire con OM 201 4 nection facilities swan The modules are not connected to the
41. n in the following table PW Green Signalizes a present operating voltage ER Signalizes an error by buffer overflow transmit data RxD Green receive data HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 2 Hardware description Technical Data Current consumption powerloss________ _____________ Status information alarms diagnostics Functionality Sub D interfaces Electrically isolated MPI MPL MP2 MPI RS232 Ra O E EN O E ESA AAA PAE opo PAT oj ooo Point to point interface PH Point to pointcommunication PtP communication AO Interface isolated S PH RS232 interface RS422 interface RS485 interface Transmission speed ming Cable length max S o Point to pointprotocol______________ ____________ ASCII protocol o o STX ETX protocol S o 3964 R protocol S o O RK512 protocol S o USS masterprotocolh HF Modbus master protocol S Modbus slave protocol __ S PETT o Housing um Mechanical data zz HB97E CP RE_240 1EA20 Rev 12 42 2 5 Chapter 2 Hardware description Manual VIPA System 200V 2 6 Environmental conditions Storage temperature 25 Cto 70 C Certifications po UL508 certification Note Please regard that for the usage of the module national guidelines must be kept The adherence of these guidelines is incumbent on the user HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment C
42. nual VIPA System 200V 118 o AB97E CP RE_240 1EA2O Rev 12 42 Manual VIPA System 200V Chapter 2 Hardware description Chapter 2 Hardware description Overview This chapter contains a description of the construction and the interfaces of the communication processor CP 240 with EnOcean Transceiver module Contents Topic Page Chapter 2 Hardware descriptiON occconnccconnccconoccnnocrcnannronannnnnannnnnanos 2 1 PODEMOS ene siete van o ob ado E 2 2 o A a EO TE aa RE O RE RO A 2 3 TEM e e O Le O 2 5 HB97E CP RE_240 1EA20 Rev 12 42 2 1 Chapter 2 Hardware description Manual VIPA System 200V Properties CP 240 EnOcean e CP with EnOcean radio transceiver module 240 1EA20 e 16Byte Parameter data e Voltage supply via back plane bus e The TCM 120 Transceiver module works at 868 3MHz a p NE 240 1EA20 Order data Type CP 240 EnOcean VIPA 240 1EA20 CP with EnOcean radio transceiver module TCM 120 Portable antenna VIPA 240 0EA00 Portable antenna with SMA plug Magnetic socket VIPA 240 0EA10 Magnetic socket antenna with 150cm cable and antenna SMA plug 2 2 HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 2 Hardware description Structure CP 240 EnOcean CP 240 EnOcean 1 LED Status monitor 240 1420 dl 2 SMA antenna jack ns with male thread and calyx PW ER Jee TxD RxD VIPA 240 1EA20 Interface ANT T SMA Antenna Antennas
43. omation tasks CPU 215 SM 221 H DI 8xDC24V RN ST om au Oem 2 IND MMC Ji em 3 PW 2 0 WW 4 SF O 30M 5 FC Celi 4 em ci MC PIS OM 7 tej 6 o Ms O Y li 9 DC N iglo 2 x2 pasel VIPA 215 1BA03 VIPA 221 1BF00 Components Power supplies Head modules SOS WWE RNA NAS 314 VIPA 214 1BC03 Periphery modules DI 16xDC24V n SM 221 DI 8xAC 48V AOBA 109 MN A 1 2 3 4 150g 5 6 7 8 9 NEAR INC GA Meji o hoariri ohonni o z NI VIPA 221 1FF30 n 1 X12 VIPA 221 1BH10 314 HB97E CP RE_240 1EA20 Rev 12 42 Extension modules sus MA INE PARRA ANNO The System 200V consists of the following components Head modu
44. onfiguration The communication processor CP 240 EnOcean enables the process coupling to different destination or source systems based upon the wireless EnOcean communication The CP 240 EnOcean is supplied with voltage via the back plane bus For the internal communication the VIPA FCs are used For the project engineering of the CP 240 EnOcean together with a CPU 21x in the Siemens SIMATIC Manager the inclusion of the GSD VIPA_21x gsd is required To enable the CP 240 EnOcean to communicate with the CPU a hardware configuration for the system is always necessary A general description for the project engineering of the CP 240 is to be found in Project engineering e Start the Siemens SIMATIC Manager with a new project e Include the VIPA_21x gsd For this use a GSD version V 1 67 or higher e Include the block library by extracting Vipa_Bibliothek_Vxxx zip and de archiving VIPA ZIP e Open the library and transfer the corresponding FCs into your project Please follow for the hardware configuration the steps described in the manual HB97 CPU e Configure a PROFIBUS DP master system with the Siemens CPU 315 2DP 6ES7 315 2AF03 V1 2 and create a PROFIBUS subnet e Add to the master system the slave system VIPA CPU21x from the hardware catalog This is listed in the hardware catalog under PROFIBUS DP gt Additional field devices gt I O gt VIPA_System_200V e Assign the address 1 to the slave system With this the VI
45. oved HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Demounting and module exchange O ad Co MAN N N EN y hs 2 4 ta SS a e Remove if exists the wiring to the module by pressing both locking lever on the connector and pulling the connector e The casing of the module has a spring loaded clip at the bottom by which the module can be removed e The clip is unlocked by pressing the screwdriver in an upward direction e Withdraw the module with a slight rotation to the top Attention Power must be turned off before modules are installed or removed Please regard that the backplane bus is interrupted at the point where the module was removed Chapter 1 Basics and Assembly Manual VIPA System 200V Wiring Overview Most peripheral modules are equipped with a 10pole or a 18pole connector This connector provides the electrical interface for the signaling and supply lines of the modules The modules carry spring clip connectors for interconnections and wiring The spring clip connector technology simplifies the wiring requirements for signaling and power cables In contrast to screw terminal connections spring clip wiring is vibration proof The assignment of the terminals is contained in th
46. received characters are stored ANZ Word variable that contains the amount of received bytes EMFR By setting of EMFR the handling block shows that data has been received Not until setting back EMFR in the user application new data can be received PAFE At proper function all bits of this bit memory byte are 0 At errors an error GEEM ANZ_INT LETZTER_BLOCK EMPF_LAEUFT FEHLER_EMPF 3 10 code is entered The error setting is self acknowledging i e after elimination of the error cause the byte is set back to 0 again The following errors may occur 1 Data block not present 2 Data block too short 3 Data block number outside valid range These parameters are internally used They serve the information exchange between the handling blocks For the deployment of the SYNCHRON_ RESET FC9 the control bits LETZTER BLOCK EMPF_LAEUFT and FEHLER_EMPF must always be stored in a bit memory byte HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment SYNCHRON _ RESET Synchronization and reset FC 9 The block must be called within the cyclic program section This function is used to acknowledge the start up ID of the CP 240 and thus the synchro nization between CPU and CP Furthermore it allows to set back the CP in case of a communication interruption to enable a synchronous start up Note A communication with SEND and RECEIVE blocks is only possible when the parameter ANL of the S
47. ress in DB BLOCK_DB DB No of DB containing data to send in ABD WORD No of 1 data word to send in ANZ WORD No of bytes to send in out FRG BOOL Start bit of the function in out GESE WORD internal use in out ANZ INT WORD internal use in out ENDE KOMM BOOL internal use in out LETZTER BLOCK BOOL internal use in out SENDEN LAEUFT BOOL Status of function in out FEHLER KOM BOOL internal use out PAFE BYTE Return Code 00 lt OK ADR Periphery address with which you may call the CP 240 Via the hardware configuration you may set the periphery address _DB Number of the data block which contains the data to send ABD Word variable that contains the number of the data word from where on the characters for output are stored ANZ Number of the bytes that are to be transferred FRG enable send PAFE GESE ANZ_INT ENDE_KOM LETZTER BLOCK SENDEN LAEUFT FEHLER KOM At FRG lt 1 the data defined via DB ADB and ANZ are transferred once to the CP addresses by ADR After the transmission the FRG is set back again When FRG 0 at call of the block it is left immediately At proper function all bits of this bit memory byte are 0 At errors an error code is entered The error setting is self acknowledging i e after elimination of the error cause the byte is set back to 0 again The following errors may occur 1 lt Data block not present 2 Data block too short 3 Data block number outside valid range These parameters are internally
48. scription of a specific topic The following guides are available in the manual e an overall table of contents at the beginning of the manual e an overview of the topics for every chapter The manual is available in e printed form on paper e in electronic form as PDF file Adobe Acrobat Reader Important passages in the text are highlighted by following icons and headings Danger Immediate or likely danger Personal injury is possible Attention Damages to property is likely if these warnings are not heeded Note Supplementary information and useful tips HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Safety information Safety information Applications The CP 240 is constructed and produced for conforming with specifications 8 all VIPA System 200V components communication and process control general control and automation applications industrial applications operation within the environmental conditions specified in the technical data installation into a cubicle Danger This device is not certified for applications in in explosive environments EX zone Documentation The manual must be available to all personnel in the project design department installation department commissioning operation The following conditions must be met before using or commissioning the components described in this manual Hardware modifications to the process control system should only be carri
49. sential requirements and other relevant provisions Conformity is indicated by the CE marking affixed to the product Conformity Information For more information regarding CE marking and Declaration of Conformity DoC please contact your local VIPA customer service organization Trademarks VIPA SLIO System 100V System 200V System 300V System 300S System 400V System 500S and Commander Compact are registered trademarks of VIPA Gesellschaft fur Visualisierung und Prozessautomatisierung mbH SPEED7 is a registered trademark of profichip GmbH SIMATIC STEP SINEC TIA Portal S7 300 and S7 400 are registered trademarks of Siemens AG Microsoft und Windows are registered trademarks of Microsoft Inc USA Portable Document Format PDF and Postscript are registered trademarks of Adobe Systems Inc All other trademarks logos and service or product marks specified herein are owned by their respective companies Information product support Contact your local VIPA Customer Service Organization representative if you wish to report errors or questions regarding the contents of this document If you are unable to locate a customer service center contact VIPA as follows VIPA GmbH OhmstraBe 4 91074 Herzogenaurach Germany Telefax 49 9132 744 1204 EMail documentation vipa de Technical support Contact your local VIPA Customer Service Organization representative if you encounter problems with the product or have questions regard
50. smitter Project engineering tool SIMATIC Manager from Siemens with transmitting cable Build up the System 200V Load the example project if necessary adjust the periphery address and transfer the project into the CPU Follow these steps in the Siemens SIMATIC Manager e Start the Siemens SIMATIC Manager e To extract the file Enocean zip select File gt de archive e Choose the example file Enocean zip and set s7proj as destination directory e Open the extracted project The project already contains the PLC application and the hardware configuration and has the following structure ES EnOcean CA Programme Siemens Step757Pro en_ocean m A Enlicean 2 System data wo OBI y 06100 Ei EnOcean to FCO yy FC1 do FCS JE CPU 315 2 DP q FC100 q FC101 io DETO E 33 57Program 1 30811 MA yat of By Sources HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Data blocks The example uses the following data blocks DB10 Send data block Addr Label Type Comment STRT O RX_TX Kennung ao oe BYTE 30 Datenbyte2 Data byte 0 80 TDbyte0_ 10 0 Status IO LEG BYTE ee Stil transmitting 13 2 FEHL KOM 13 3 Transfer complete 50 Resoo BOO SCS 157 Resot BO 152 Reo BOL o 169 Recs BOO IN CI o 165 Re BOL o 156 Res BO 18 0 Amount of sent data 20 0 Resevet ARRAMO BO O OO o E IE zo EN STRUCT HB97E C
51. struments must be grounded Modifying electrostatic sensitive modules you should only use soldering irons with grounded tips Attention Personnel and instruments should be grounded when working on electrostatic sensitive modules HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V System conception Chapter 1 Basics and Assembly The System 200V is a modular automation system for assembly on a 35mm profile rail By means of the peripheral modules with 4 8 and 16 channels this system may properly be adapted matching to your X 2 314 VIPA 221 1BFOO SM 221 DI 8xDC24V l b gt ns wp oO eceeeoeeecee EER ERE EEE EE By h ih SM 221 SM 221 DI 8xDC24V DI 8xDC24V 1 eu 1 eu 1 2 0 0 E 2 O o m 2 34 1 ewm gt em 3 4 2 H 4 20M 4 5 3 OM 5 3 MH 5 6 4 HE 6 40M 6 7 5 ME 7 5 0M 7 s Jo 00M s o I s 9 7 9 7 0 E 9 0 e zih o o VIPA 221 1BF00 VIPA 221 1BF00 Overview aut
52. t modules p 74 mm 24 mm gt NAR a 88 mm gt h ca 110 mm HB97E CP RE_240 1EA20 Rev 12 42 1 5 Chapter 1 Basics and Assembly Manual VIPA System 200V Function modules 4 89 mm gt Extension modules Sa v 11 mm PREN S ROK ON NAS NES So NA si SN N 24 mm gt DN EX AWS Soe P NONA AS cc NNN AM 76 mm m NON AS SS TN NON e a O NN Ko v CPUSs here with a Simm EasyConn from lt 85 mm VIPA v 11 mm 24 mm gt a 76 mm 65 mm MQ A AM v 125 mm 146 HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Installation General The modules are each installed on a 35mm profile rail and connected via a bus connector Before installing the module the bus connector is to be placed on the profile rail before Profile rail For installation the following 35mm profile rails may be used py lt bikih gt me da ti i emo emo Description 290 1AF00 35mm profile rail Length 2000mm height 15mm 290 1AF30 35mm profile rail Length 530mm height 15mm Bus connector System 200V modules communicate via a backplane bus connector The backplane bus connector is isolated and available from VIPA
53. t Byte 2 3 RxD Cnt Byte 0 1 2048Byte V Bus MC i NE te 14 Senja a yte i Byte 4 11Byte 14Byte 14Byte TxD Cnt Byte 2 3 RxD Cnt Byte 0 1 2048Byte Soft handshake via Byte 0 3 3 1 2 HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment Software handshake Example transmitting data w o handling blocks Example receiving data without handling blocks For the deployment of the CP 240 together with a System 200V CPU VIPA offers handling blocks that enable a comfortable software handshake For the deployment of the CP 240 without handling blocks the following text shows the functionality for transmitting and receiving data with an example An EnOcean telegram contains 11Byte user data At the transmission the CPU writes for every telegram 11Byte user data into the Bytes 4 to 14 and into Byte 2 3 the length of the telegram i e 11 The CP 240 receives the data via the back plane bus To acknowledge the telegram the CP 240 writes the value 11 length of the telegram back to the CPU into Byte 2 3 At reception of this 11 in Byte 2 3 the CPU sends back a 0 at Byte 2 3 Thereupon the user data in the CP 240 are supplemented to 14Byte with 2 sync bytes at the beginning and the Checksum at the end and stored in the send buffer After this the CP
54. telegram This error message is generated if no acknowledge was received before the timeout 100ms Bit 7 Bit 0 X X ChkSum_ ChkSum HB97E CP RE_240 1EA20 Rev 12 42 3 31 Chapter 3 Deployment Manual VIPA System 200V ERR MODEM _ When the TCM receives an original not repeated MDA telegram with the DUP ID same modem ID as its own it sends this message through the serial port and informs that at least 2 TCMs have the same modem ID This is not necessarily a problem and may even be intended On the other hand it may also indicate that there is another installation building in the vicinity where the same modem ID is in use Bit 7 Bit 0 0x8B X ChkSum ERR_SYNTAX This telegram is sent automatically through the serial port after the TCM has detected a syntax error ina TCT telegram Errors can occur in the H_SEQ LENGTH ORG or CHKSUM fields bytes Bit 7 Bit 0 UN VN gt gt ChkSum_ ChkSum 3 32 HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment ERR_TX_ When a radio telegram intended to be sent has an ID number outside the IDRANGE ID range this error message is generated The radio telegram is not delivered Bit 7 Bit 0 0xA5 0x5A 0x8B 0x22 ChkSum ERR IDRANGE This message is generated when the user tries to change the ID range base using the SET IDBASE command to a value outside the allowed range from OxFF800000 to OXFFFFFFFF Bit 7 Bit 0
55. telegram is sent via the serial interface Bit 7 Bit 0 OxAB X ChkSum WAKE If the TCM receives the WAKE command it wakes up from sleep mode In contrast to all other telegrams this telegram is only one byte long Bit 7 Bit 0 RESET Performs a reset of the TCM micro controller When the TCM is ready to operate again it sends an ASCII message INF INIT containing the current settings Bit 7 Bit 0 X ChkSum 3 28 HB97E CP RE 240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment MODEM_ON Activates TCM modem functionality and sets the modem ID An OK confirmation telegram is generated The modem ID is the ID at which the TCM receives messages of type 6DT The modem ID and modem status ON OFF is stored in EEPROM The modem ID range is from 0x0001 to OxFFFF IF 0x0000 is provided as modem ID the modem is activated with the ID previously stored in EEPROM Bit 7 Bit 0 OxAB 0x28 Modem ID MSB Modem ID LSB MODEM OFF Deactivates TCM modem functionality When this command has been sent an OK command should be received confirming that the modem status is OFF The modem ID is not erased Bit 7 Bit 0 Ox5A X X ChkSum RD MODEM _ This command requests the TCM to send information about its current STATUS modem current status The requested information is reported to the user through an INF_MODEM_STATUS telegram Bit 7 Bit 0 ChkSum X X ChkSum_ HB97E CP
56. the library into your project Start your un zip application with a double click on the file Vipa Bibliothek _ Vxxx zip and copy the file vipa zip to your work directory It is not necessary to extract this file too To retrieve your library for the SPEED7 CPUs start the SIMATIC manager from Siemens Open the dialog window for archive selection via File gt Retrieve Navigate to your work directory Choose VIPA ZIP and click at Open Select a destination folder where the blocks are to be stored OK starts the extraction After the extraction open the library Open your project and copy the necessary blocks from the library into the directory blocks of your project Now you have access to the VIPA specific blocks via your user application HB97E CP RE_240 1EA20 Rev 12 42 3 5 Chapter 3 Deployment Manual VIPA System 200V Project engineering General The address allocation and he parameterization of the directly plugged System 200V modules happens by means of the Siemens SIMATIC Manager in form of a virtual PROFIBUS system You transfer your project into the CPU serial via the MPI interface or directly via MMC Requirements For the project engineering of the CPU a thorough knowledge of the SIMATIC Manager and the hardware configurator from Siemens is required For the project engineering the following preconditions must be fulfilled e SIMATIC Manager from Siemens is installed at PC res PG e GSD files are inclu
57. tors e Bus system e Current supply e Protected earth conductor Depending on the spreading medium lead bound or lead free and the distance to the interference cause interferences to your control occur by means of different coupling mechanisms One differs e galvanic coupling e capacitive coupling e inductive coupling e radiant coupling HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 1 Basics and Assembly Basic rules for In the most times it is enough to take care of some elementary rules to EMC guarantee the EMC Please regard the following basic rules when installing your PLC e Take care of a correct area wide grounding of the inactive metal parts when installing your components Install a central connection between the ground and the protected earth conductor system Connect all inactive metal extensive and impedance low Please try not to use aluminum parts Aluminum is easily oxidizing and is therefore less suitable for grounding e When cabling take care of the correct line routing Organize your cabling in line groups high voltage current supply signal and data lines Always lay your high voltage lines and signal res data lines in separate channels or bundles Route the signal and data lines as near as possible beside ground areas e g suspension bars metal rails tin cabinet e Proof the correct fixing of the lead isolation Data lines must be laid isolated Analog
58. tripped end of the wire into the round opening You can use wires with a diameter of 0 08mm to 2 5mm 1 5mm for 18pole connectors e By removing the screwdriver the wire is connected safely with the plug connector via a spring a A Note Wire the power supply connections first followed by the signal cables inputs and outputs HB97E CP RE_240 1EA20 Rev 12 42 1 13 Chapter 1 Basics and Assembly Manual VIPA System 200V Installation guidelines General What means EMC Possible interference causes The installation guidelines contain information about the interference free deployment of System 200V systems There is the description of the ways interference may occur in your control how you can make sure the electromagnetic digestibility EMC and how you manage the isolation Electromagnetic digestibility EMC means the ability of an electrical device to function error free in an electromagnetic environment without being interferenced res without interferencing the environment All System 200V components are developed for the deployment in hard industrial environments and fulfill high demands on the EMC Nevertheless you should project an EMC planning before installing the components and take conceivable interference causes into account Electromagnetic interferences may interfere your control via different ways e Fields e O signal conduc
59. updates of the CPUs and field bus master Important hints for the deployment of the Green Cable Non observance of the following hints may cause damages to the system components For damages caused by non observance of these hints and at incorrect usage VIPA does not assume liability Hints for the operating range The Green Cable may exclusively be deployed directly at the supposed jacks of the VIPA components adapter plugs are not permissible For example you have to pull a plugged MPI cable before connecting a Green Cable At this moment the following components supports the Green Cable VIPA CPUs with MP I jack as well as the field bus master from VIPA Notes to the lengthening The lengthening of the Green Cable with another Green Cable res the combination with other MPI cables is not permissible and causes damages to the connected components The Green Cable may only be lengthened with a 1 1 cable all 9 pins are connected 1 1 HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Standard handling blocks Chapter 3 Deployment SEND FC 0 This FC serves the data output from the CPU to the CP 240 Here you define the send range via the identifiers DB ADB and ANZ Via the bit FRG the send initialization is set and the data is send After the data transfer the handling block sets the bit FRG back again Declaration Name Type Comment in ADR INT Logical Add
60. used They serve the information exchange between the handling blocks For the deployment of the SYNCHRON RESET FC9 the control bits ENDE KOM LETZTER BLOCK SENDEN LAEUFT and FEHLER KOM must always be stored in a bit memory byte HB97E CP RE_240 1EA20 Rev 12 42 3 9 Chapter 3 Deployment RECEIVE FC 1 Manual VIPA System 200V This FC serves the data reception of the CP 240 Here you set the reception range via the identifiers DB and ADB When the output EMFR is set a new telegram has been read completely The length of the telegram is stored in ANZ After the evaluation of the telegram this bit has to be set back by the user otherwise no further telegram may be taken over by the CPU Declaration Name Type Comment in ADR INT Logical Address in DB BLOCK DB DB No of DB containing received data in ABD WORD No of 1 data word received out ANZ WORD No of bytes received out EMFR BOOL 1 data received reset by user in_out GEEM WORD internal use in_out ANZ INT WORD internal use in_out EMPF_LAEUFT BOOL Status of function in_out LETZTER BLOCK BOOL internal use in_out FEHLER_EMPF BOOL internal use out PAFE BYTE Return Code 00 lt OK ADR Periphery address for calling the CP 240 You define the periphery address via the hardware configuration _DB Number of the data block which contains the data ABD Word variable that contains the number of the data word from where on the
61. y bow released SRID 2 bit Second Rocker ID from left to right 0 1 2and3 SUD 1 bit Second SUD 1 gt O button SUD 0 gt button SA 1 bit SA 1 3 Second action 2 buttons pressed simultaneously SA 0 gt No second action If ORG 0x05 and NU 0 U message from a PTM switch module DATA BYTE2 0 always 0 DATA BYTE3 as follows 7 0 BUTTONS PR Reserved BUTTONS 3 bit Number of simultaneously pressed buttons as follows PTM 100 PTM200 0 0 Buttons 0 0 Button 1 2 Buttons 1 not possible 2 3 Buttons 2 not possible 3 4 Buttons 3 3 or 4 buttons 4 5 Buttons 4 not possible 5 6 Buttons 5 not possible 6 7 Buttons 6 not possible 7 z 8 Buttons 7 not possible PR 1 bit PR 1 gt energy bow pressed PR 0 gt energy bow released Reserved 4 bit for future use If ORG 0x06 Telegram from a 1 Byte STM sensor DATA BYTE2 0 always 0 DATA_BYTE3 Sensor data byte HB97E CP RE_240 1EA20 Rev 12 42 Manual VIPA System 200V Chapter 3 Deployment If ORG 0x07 Telegram from a 4 Byte STM sensor DATA BYTE3 Value of third sensor analog input DATA BYTE2 Value of second sensor analog input DATA _BYTE1 Value of first sensor analog input DATA BYTEO Sensor digital inputs as follows 0 Reserved DI_3 DI_2 DI_1 DI_O If ORG 0x08 Telegram from a CTM module set into HRC operation DATA_BYTE2 0 always 0 DATA BYTE3 as follows 7 0 RID UD PR SR
Download Pdf Manuals
Related Search
Related Contents
PRONTO IRC PRFB-A, PRFB-V Régulateurs communicants pour MANUALE d`installazione e d`utilizzazione (岡山) 「身のまわりの電磁波と健康影響について」 The gstat Package Service Manual - Frank`s Hospital Workshop Service Manual - Appliance Factory Parts Safer`s SAVON INSECTICIDE DÉTRUIT LES Fisher-Price 79595 Instruction Sheet GPS Chart Plotter USER MANUAL - SI Copyright © All rights reserved.
Failed to retrieve file