background image

Safety information 

Manual VIPA System 200V 

 

 

HB97E - CP - Rev. 11/30 

Safety information 

 

The System 200V is constructed and produced for: 

• 

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) 

 

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:

 

 

• 

Modification to the process control system should only be carried out 
when the system has been disconnected from power! 

 

• 

Installation and modifications only by properly trained personnel 

 

• 

The national rules and regulations of the respective country must be 
satisfied (installation, safety, EMC ...) 

 

National rules and regulations apply to the disposal of the unit!

 

 
 
 

 

 

Applications 
conforming with 
specifications 

 

Documentation 

 

Disposal 

Содержание CP 240 RS232

Страница 1: ...Manual VIPA System 200V CP Order No VIPA HB97E_CP Rev 11 30...

Страница 2: ...L...

Страница 3: ...nual were verified with respect to the hard and software However we assume no responsibility for any discrepancies or errors The information in this manual is verified on a regular basis and any requi...

Страница 4: ...ller using the components of the System 200V Chapter 3 Project engineering In this chapter you will find information about the basic approach with the project engineering of the CP 240 Besides the inc...

Страница 5: ...nication Handling blocks 3 12 RK512 communication Indicator word ANZW 3 17 Chapter 4 CP 240 serial 4 1 System overview 4 2 Fast introduction 4 3 Structure 4 4 ASCII STX ETX 3964 R RK512 Basics 4 10 AS...

Страница 6: ...P Rev 11 30 Chapter 6 CP 240 M Bus 6 1 System overview 6 2 Basics 6 3 Fast introduction 6 4 Structure 6 5 Communication principle 6 6 Overview of M Bus telegrams 6 8 Example for M Bus deployment 6 13...

Страница 7: ...ng guides are available in the manual an overall table of contents at the beginning of the manual an overview of the topics for every chapter an index at the end of the manual The manual is available...

Страница 8: ...one 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 th...

Страница 9: ...ous options of configuring central and decentral systems are presented in a summary The chapter also contains the general specifications of the System 200V i e dimensions installation and environmenta...

Страница 10: ...e to become inoperable or unusable Modules that have been damaged by electrostatic discharges may fail after a temperature change mechanical shock or changes in the electrical load Only the consequent...

Страница 11: ...nstalled directly on a 35mm mounting rail Bus connectors inserted into the mounting rail provide the interconnecting bus The following figure illustrates the capabilities of the System 200V System 200...

Страница 12: ...to 4 rows In combination with a Profibus DP master and slave the PLC CPUs or the PC CPU form the basis for a Profibus DP network in accordance with DIN 19245 3 The DP network can be configured with W...

Страница 13: ...9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA...

Страница 14: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E CP Rev 11 30...

Страница 15: ...d installation guidelines This chapter contains the information required to assemble and wire a controller consisting of Systems 200V components Topic Page Chapter 2 Assembly and installation guidelin...

Страница 16: ...You may use the following standard 35mm mounting rails to mount the System 200V modules 35 mm 27 mm 15 mm 1 5 mm 35 mm 27 mm 7 5 mm 1 mm System 200V modules communicate via a backplane bus connector...

Страница 17: ...7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I...

Страница 18: ...4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0 1 2 3 4 5 6 7 VIPA 221 1BF00 X 2 3 4 1 2 3 4 5 6 7 8 9 I0 DI 8xDC24V SM 221 0...

Страница 19: ...odule PC CPU and bus coupler 1 2 4 3 Modules are to install adjacent to each other Gaps are not permitted between the modules since this would interrupt the backplane bus A module is only installed pr...

Страница 20: ...er left location with the installation of your header module like CPU PC or bus coupler and install the peripheral modules to the right of this 1 2 4 3 Insert the module that you are installing into t...

Страница 21: ...ed clip at the bottom by which the module can be removed from the rail Insert a screwdriver into the slot as shown The clip is unlocked by pressing the screwdriver in an upward direction Withdraw the...

Страница 22: ...ng and power cables In contrast to screw terminal connections spring clip wiring is vibration proof The assignment of the terminals is contained in the description of the respective modules You may co...

Страница 23: ...ction shows the wiring procedure from above Insert a screwdriver at an angel into the square opening as shown Press and hold the screwdriver in the opposite direction to open the contact spring Insert...

Страница 24: ...e follow all the important dimensions of the System 200V 1tier width HxWxD in mm 76 x 25 4 x 74 2tier width HxWxD in mm 76 x 50 8 x 74 80 mm 60 mm 74 mm 88 mm ca 110 mm 84 mm 85 mm 76 62 mm 76 mm 2 77...

Страница 25: ...ly and installation guidelines HB97E CP Rev 11 30 2 11 84 46 mm 88 mm 4 66 mm 27 mm 8 cm 76 mm 24 mm 11 mm 85 mm 89 mm 89 mm 27 mm 8 cm 76 mm 12 cm 125 mm 91 mm 65 mm 24 mm 5 mm 11 mm 85 mm Function m...

Страница 26: ...causing illegal interference to the environment All System 200V components were developed for applications in harsh industrial environments and they comply with EMC requirements to a large degree In...

Страница 27: ...lines must be screened Analog lines must be screened Where low amplitude signals are transferred it may be advisable to connect the screen on one side of the cable only Attach the screening of cables...

Страница 28: ...where it is not possible to install equipotential bonding conductors analog signals in the mV or A range are transferred foil type shields static shields are used Always use metallic or metallized cov...

Страница 29: ...according chapter After a fast introduction you will get information about how to include GSD files and block libraries into the Siemens SIMATIC Manager The chapter closes with a description of the s...

Страница 30: ...AF03 V1 2 and create a Profibus subnet Add to the master system the slave system VIPA_CPU21x from the hardware catalog This is listed in the hardware catalog under Profibus DP Additional field devices...

Страница 31: ...VIPA specific blocks may be found at www vipa de as downloadable library at the service area with Downloads VIPA LIB The library is available as packed zip file If you want to use VIPA specific block...

Страница 32: ...ed into CPU serial e g Green Cable or MMC Start the hardware configurator from Siemens with a new project and insert a profile rail from the hardware catalog At the first available slot you place the...

Страница 33: ...EUERB_S MB2 Control bits Send_FC STEUERB_R MB1 Control bits Receive_FC U M 3 0 as long as no start up no SEND RECEIVE processing BEB CALL FC 1 Receive data ADR 0 1st DW in SEND RECEIVE_DB _DB DB11 Rec...

Страница 34: ...sively for the deployment at VIPA System components The Green Cable allows you to transfer project serially from point to point execute firmware updates of the CPUs and field bus master Important hint...

Страница 35: ...ou may set the periphery address Number of the data block which contains the data to send Word variable that contains the number of the data word from where on the characters for output are stored Num...

Страница 36: ...lling the CP 240 You define the periphery address via the hardware configuration Number of the data block which contains the data Word variable that contains the number of the data word from where on...

Страница 37: ...data loss Periphery address with which you may call the CP 240 Via the hardware configuration you may set the periphery address This parameter presets the status of RTS res DTR which you may activate...

Страница 38: ...the CP in_out STEUERB_S BYTE internal use in_out STEUERB_R BYTE internal use Periphery address with which you may call the CP 240 Via the hardware configuration you may set the periphery address Numbe...

Страница 39: ...LOCK BOOL internal use in_out FEHLER_EMPF BOOL internal use out PAFE BYTE Return Code 00 OK Periphery address with which you may call the CP 240 Via the hardware configuration you may set the peripher...

Страница 40: ...ived by the CP and the user data were transmitted to the PLC the flag Order ready of the indicator word is set and the communication to the CP is finished This function is cyclically be called as long...

Страница 41: ...that data are overwritten after receipt by new data the deployment of the coordination flag may be useful With FFFFh the coordination flag is deactivated Indicator word Information concerning the ord...

Страница 42: ...gets an error number from the CP Then the error number is transferred to the indicator word and the bit Order ready with error is set Then the communication to the CP is finished Declaration Name Type...

Страница 43: ...may be accessed by the indicator word More may be found at RK512 communication Indicator word ANZW At proper function all bits of this bit memory byte are 0 At errors an error code is entered The erro...

Страница 44: ...in_out FEHLER BOOL internal use Periphery address with which you may call the CP 240 Via the hardware configuration you may set the periphery address Indicator word Information concerning the order c...

Страница 45: ...it 1 order is running 0 SEND FETCH released 1 SEND FETCH blocked Bit 2 Order ready without errors Bit 3 Order ready with errors Bit 7 Bit 4 not used In this byte error messages of the CP are entered T...

Страница 46: ...ering a new order is convenient Bit 2 Order ready without errors Set Per plug in when the according order has been commissioned without errors Delete Per plug in when the according order is triggered...

Страница 47: ...cessor CP 240 with different communication protocols that are explained in the following Topic Page Chapter 4 CP 240 serial 4 1 System overview 4 2 Fast introduction 4 3 Structure 4 4 ASCII STX ETX 39...

Страница 48: ...back plane bus Power supply by back plane bus PW ER TxD RxD CP 240 RS232C X 2 3 4 VIPA 240 1BA20 R S 2 3 2 C PW ER TxD RxD CP 240 RS485 X 2 3 4 VIPA 240 1BA20 R S 4 8 5 PW ER TxD RxD CP 240 X 2 3 4 VI...

Страница 49: ...roject engineering For the parameterization you may send 16Byte parameter data to the CP that are differently assigned depending on the chosen protocol The parameterization happens via the hardware co...

Страница 50: ...1 2 R S 4 8 5 PW ER TxD RxD CP 240 X 4 5 6 VIPA 240 1CA21 1 2 R S 4 2 2 4 8 5 Front view CP 240 RS232 240 1BA20 CP 240 RS485 240 1CA20 CP 240 RS422 485 240 1CA21 1 LED status indicator 2 9pin serial D...

Страница 51: ...s transmission of diagnostic bytes TxD green Transmit data RxD green Receive data 9pin D type plug Pin Designation Signal description 1 DCD Data Carrier Detect Data can be received 2 RxD Receive Data...

Страница 52: ...RxD 3 2 GND 5 RTS CTS 7 8 shield CP240 Periphery DSR 6 DCD 1 DTR 4 RI 9 TxD RxD 3 2 GND 5 RTS CTS 7 8 shield CP240 Periphery DTR 4 DCD 1 DSR 6 RI 9 TxD RxD 3 2 GND 5 RTS CTS 7 8 shield DTR 6 DCD 1 DSR...

Страница 53: ...9 n c Logical conditions as voltage difference between 2 twisted lines Serial bus connection Full duplex Four wire operation RS422 Half duplex Two wire operation RS485 Line length 250m at 115 2kbit s...

Страница 54: ...s carries the isolated 5V supply with the respective ground on pin 5 M5V You may use this isolated voltage to provide defined static voltage levels on the signaling lines by means of resistors and ens...

Страница 55: ...s carries the isolated 5V supply with the respective ground on pin 5 M5V You may use this isolated voltage to provide defined static voltage levels on the signaling lines by means of resistors and ens...

Страница 56: ...Receive block FC11 ASCII_FRAGMENT to handle on big telegrams to the CPU in blocks as soon as they have been received For this the block length is 12Byte With ASCII fragmented the CP doesn t wait unti...

Страница 57: ...3964R NAK Negative Acknowledge Note When a DLE is transferred as part of the information it is repeated to distinguish between data characters and DLE control characters that are used to establish and...

Страница 58: ...haracter follows an STX When the QVZ expires after a message following the BCC byte or when a character other than DLE is received the attempt to establish the connection and the message are repeated...

Страница 59: ...02h STX 03h ETX 10h DLE 15h NAK When ZVZ expires during the reception the driver will send a NAK and wait for another connection request The driver also sends a NAK when it receives an STX while it is...

Страница 60: ...27 When the data exceeds 128Byte additional messages will be sent Structure of additional messages Byte xx Error code 3 FF 00 Flag for next reaction message 0 1 2 00 Byte FF 00 Flag for next message 0...

Страница 61: ...xy Next message Next reaction message with N 4 127 The coordination flag is set in the partner PLC in active mode when a message is being received This occurs for input as well as for output commands...

Страница 62: ...terface When the communication processor receives data via the interface the data is stored in a ring buffer 1024Byte The CPU via the data channel may read the received data The exchange of received t...

Страница 63: ...he back plane bus is asynchronous a software handshake is used between the CP 240 and the CPU The register for the data transfer from the CP 240 has a width of 16Byte The bytes 0 to 3 word 0 and 2 are...

Страница 64: ...est length 6 in Byte 2 3 to the CP 240 The user data is stored in the send buffer and the value 6 is send back to the CPU via Byte 2 3 The CPU receives the 6 and sends back a 0 via Byte 2 3 The CP 240...

Страница 65: ...00Baud 01h 150Baud 02h 300Baud 03h 600Baud 04h 1200Baud 05h 1800Baud 06h 2400Baud 07h 4800Baud 08h 7200Baud 09h 9600Baud 0Ah 14400Baud 0Bh 19200Baud 0Ch 38400Baud 0Dh 57600Baud 0Fh 76800Baud 0Eh 11520...

Страница 66: ...TX 02h STX ETX 2 Bit 1 0 Data bits 00b 5 Data bits 01b 6 Data bits 10b 7 Data bits 11b 8 Data bits 11b 8 Data bits Bit 3 2 Parity 00b none 01b odd 10b even 11b even 00b none Bit 5 4 Stop bits 01b 1 10...

Страница 67: ...3964 04h 3964R 05h 3964 RK512 06h 3964R RK512 03h 3964 2 Bit 1 0 Data bits 00b 5 Data bits 01b 6 Data bits 10b 7 Data bits 11b 8 Data bits 11b 8 Data bits Bit 3 2 Parity 00b none 01b odd 10b even 11b...

Страница 68: ...800Baud 06h 2400Baud 07h 4800Baud 08h 7200Baud 09h 9600Baud 0Ah 14400Baud 0Bh 19200Baud 0Ch 38400Baud 0Dh 57600Baud 0Fh 76800Baud 0Eh 115200Baud Default 0 9600Baud The protocol to be used This setting...

Страница 69: ...the information bits are expanded by the parity bit The value of the parity bit 0 or 1 completes the value of all the bits to obtain a pre arranged state If the parity was not specified the parity bit...

Страница 70: ...When you select 1 as number of start flags the contents of the 2 nd start flag byte 8 is ignored Range 0 2 Default 1 The ASCII value of the start character that precedes a message to signify the star...

Страница 71: ...you can set the maximum number of repetitions for the request telegram by means of the parameter DBL If these attempts are unsuccessful the transmission is interrupted Range 0 255 Default 6 A communi...

Страница 72: ...and the respond telegrams of a slave has the same structure Start ID Slave address Function code Data Flow control End ID A request may be addressed to a certain slave or send as broadcast message to...

Страница 73: ...ed During one block cycle of the RECEIVE block up to 16 coherent 8Byte block may be handled on at the back plane bus If the 8Byte blocks are not coherent every changes 8Byte block requires one block c...

Страница 74: ...0b 7 Data bits 11b 8 Data bits 11b 8 Data bits Bit 3 2 Parity 00b none 01b odd 11b even 00b none Bit 5 4 Stop bits 01b 1 10b 1 5 11b 2 01b 1 Stop bit Bit 7 6 reserved 00b none 3 reserved 0 0 4 Address...

Страница 75: ...II 0Dh Modbus slave short with RTU 1Ch Modbus slave long with ASCII 1Dh Modbus slave long with RTU For every character frame there are 3 data formats available The data formats are different in the nu...

Страница 76: ...top bits are appended to each character and signify the end of the character Default 13h Data bits 8 Parity none Stop bit 1 Set here in slave mode the Modbus slave address Range 1 255 Default 1 This m...

Страница 77: ...has the following approach Start the Siemens SIMATIC Manager Install the GSD file VIPA_21x gsd in the hardware catalog Create a virtual Profibus system in the hardware configurator with the CPU 315 2D...

Страница 78: ...h and connect both systems via the serial interface Configure the master section The parameterization of the CP 240 as Modbus master happens via the hardware configuration Additionally you need a PLC...

Страница 79: ...ppens via the hardware configuration Additionally you need a PLC user application for the communication build up with the following structure OB 1 Call of FC0 SEND with error For this an area starting...

Страница 80: ...are executed in sequence 1 slave Send command telegram to slave address 1 slave Receive respond telegram from slave address 1 slave Interpret respond telegram 2 slave Send command telegram to slave ad...

Страница 81: ...ens by means of the ranges 0x 1x 3x and 4x 0x and 1x gives you access to digital Bit areas and 3x and 4x to analog word areas For the CP 240 from VIPA is not differentiating digital and analog data th...

Страница 82: ...s place from the point of view of the master Here data which were sent from master to slave up to their target are designated as output data OUT and contrary slave data received by the master were des...

Страница 83: ...mand telegram Slave address Function code Address 1 Bit Number of Words Check sum CRC LRC 1 Byte 1 Byte 1 Word 1 Word 1 Word Respond telegram Slave address Function code Number of read Bytes Data 1 wo...

Страница 84: ...dress 1 Bit Number of Bits Number of Bytes Data 1 Byte Data 2 Byte Check sum CRC LRC 1 Byte 1 Byte 1 Word 1 Word 1 Byte 1 Byte 1 Byte 1 Byte 1 Word max 250 Byte Respond telegram Slave address Function...

Страница 85: ...fer is full or an error occurred in the receive section ERROR03 F OVERF Error frame overflow The telegram end wasn t recognized or maximum telegram length exceeded ERROR04 F INCOM Error frame incomple...

Страница 86: ...configuration tool Adjust the transfer parameters accordingly Select Modbus Master RTU at Protocol Edit the OB1 and coordinate the module addresses with the addresses of the parameterization Transfer...

Страница 87: ...which address on the 16Byte for in and output are stored in the CPU Please regard that you have to change the addresses that you are changing here also in the SEND and RECEIVE blocks Dialog for Modbu...

Страница 88: ...ck the received telegram is stored ABD W 16 0 Starting with this Byte Offset the tel starts in _DB ANZ MW22 Telegram length received length in Byte EMFR M1 1 Reception status 1 Telegram fully received...

Страница 89: ...ct the module 240 1CA20 Via double click you reach the parameterization Dialog for address entry Here you may set from which address on the 16Byte for in and output are stored in the CPU Dialog for Mo...

Страница 90: ...ABAC Data byte 10 13 DB10 DBD 20 DW 16 ADAEAF00 with ADAEAF 00 Data byte 14 16 1 byte not used Data byte 14 16 not used by the module DB11 DBD 0 DW 16 05100000 with 05 10 0000 Response telegram Slave...

Страница 91: ...E R R O DB11 DBD 4 DW 16 52000120 with 52 0001 20 Respond telegram R 0001h 1 as Word DB11 DBD 8 DW 16 4E4F2044 with 4E 4F 20 44 Respond telegram N O D DB11 DBD 12 DW 16 41544100 with 41 54 41 00 Respo...

Страница 92: ...data Input data 16Byte Output data 16Byte Parameter data 16Byte Dimensions and Weight Dimensions WxHxD in mm 25 4x76x78 Weight 80g Electrical Data VIPA 240 1CA20 Number of channels 1 Voltage supply 5V...

Страница 93: ...SCII fragmented STX ETX 3964 R 3964 R with RK512 Modbus Master Slave Plugs Interfaces 9pin D type plug for RS422 485 RS485 signals RxD TxD N A RxD TxD P B RS422 signals TxD N A RxD N A TxD P B RxD P B...

Страница 94: ...2 characters parameterizable 3964 3964R Telegram length max 1024Byte Baud rate 150 300 600 1200 1800 2400 4800 7200 9600 14400 19200 38400 57600 76800 115200 Block proof sign only 3964R Priority low h...

Страница 95: ...clusion of the communication processor CP 240 with EnOcean transceiver module Topic Page Chapter 5 CP 240 EnOcean 5 1 System overview 5 2 Basics 5 3 Fast introduction 5 4 Structure 5 5 Communication p...

Страница 96: ...X 2 3 4 VIPA 240 1EA20 ANT Type Order number Description CP 240 EnOcean VIPA 240 1EA20 CP with EnOcean radio transceiver module TCM 120 Portable antenna VIPA 240 0EA00 Portable antenna with SMA plug M...

Страница 97: ...ocedure 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...

Страница 98: ...te 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...

Страница 99: ...ommunication processor gets its voltage supply 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 shown...

Страница 100: ...d a pin The SMA jack at the CP is with its male thread and the calyx the complement for assembly The portable antenna is a short rod antenna that is mounted without cable directly at the module via th...

Страница 101: ...nsferred 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...

Страница 102: ...ed 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 responds with a 0 at Byte 2 3 After the CPU received this 0 it may send a ne...

Страница 103: ...Ocean 1 switch with EnOcean transmitter Project engineering tool SIMATIC Manager from Siemens with transmitting cable Build up the System 200V Load the example project if necessary adjust the peripher...

Страница 104: ...ID Byte 0 and 1 10 0 Status BYTE Status 12 0 END_STRUCT 12 0 Reserve BYTE 13 0 SENDEN_LAEUFT BOOL Still transmitting 13 1 LETZTER_BLOCK BOOL Last block has been sent 13 2 FEHL_KOM BOOL Error during tr...

Страница 105: ...RD ID byte 0 and 1 10 0 Status BYTE Status 12 0 END_STRUCT 12 0 Reserve BYTE 13 0 EMP_LAEUFT BOOL Still receiving 13 1 LETZTER_BLOCK BOOL Last block has been received 13 2 FEHL_EMPF BOOL Error during...

Страница 106: ...AFE EMPFANG_en_ocean Pafe error byte GEEM EMPFANG_en_ocean GEEM received amount internal ANZ_INT EMPFANG_en_ocean ANZ_INT reception length internal EMPF_LAEUFT EMPFANG_en_ocean EMP_LAEUFT receiving da...

Страница 107: ...en_ocean Empfangsfach IDbyte2_3 L W 16 3267 Only the last 7Bit T SEND_en_ocean Empfangsfach IDbyte0_1 are relevant for addr L 6 and are ORed in the T SEND_en_ocean Empfangsfach Status CP 240 with the...

Страница 108: ...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...

Страница 109: ...TM module received original or repeated message HRC 0x0A 6byte Modem Telegram original or repeated 6DT 0x0B Modem Acknowledge Telegram MDA Bit 7 Bit 0 DataBytes2 DataBytes1 DataBytes0 0x00 for RPS 1BS...

Страница 110: ...epeated telegram RP_COUNTER 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 message ha...

Страница 111: ...n 2 buttons pressed simultaneously SA 0 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 Numbe...

Страница 112: ...always 0 DATA_BYTE3 as follows 7 0 RID UD PR SR Reserved RID 2 bit Rocker ID from left A to right D 0 1 2 and 3 UD 1 bit UD 1 O button UD 0 I button PR 1 bit PR 1 Button pushed PR 0 Button released SR...

Страница 113: ...t 0 In total there are 15 telegrams 0xA5 0x5A 0x8B 0x89 0xA5 0x5A 0x8B 0x89 EnOcean 0xA5 0x5A 0x8B 0x89 TCM120 0xA5 0x5A 0x8B 0x89 Version 0xA5 0x5A 0x8B 0x89 Version number in ASCII 0xA5 0x5A 0x8B 0x...

Страница 114: ...message response if after a TCT command the operation could not be carried out successfully by the TCM Bit 7 Bit 0 When this command is sent to the TCM the base ID range number is retrieved though an...

Страница 115: ...ly 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 ERR_IDRANG...

Страница 116: ...Bit 7 Bit 0 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 a...

Страница 117: ...interface Bit 7 Bit 0 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 Performs a reset of the TCM mi...

Страница 118: ...e ID previously stored in EEPROM Bit 7 Bit 0 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 i...

Страница 119: ...N Modem state 0x00 modem OFF Modem ID MSB most significant modem ID byte Modem ID LSB least significant modem ID byte Bit 7 Bit 0 This command requests the TCM to send its current software version num...

Страница 120: ...it 7 Bit 0 When a 6DT modem telegram has been sent the TCM waits for a modem acknowledge MDA telegram This error message is generated if no acknowledge was received before the timeout 100ms Bit 7 Bit...

Страница 121: ...ended 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 This telegram is sent automatically through the s...

Страница 122: ...sage is generated The radio telegram is not delivered Bit 7 Bit 0 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...

Страница 123: ...s are taken over as ID base The remaining 7 bits you may specify via your user application during runtime and herewith address multiple actuators With RD_IDBASE the current ID base of your module may...

Страница 124: ...te 1 new ID base IDBaseByte0 Byte 0 new ID base Bit 6 0 irrelevant X irrelevant X irrelevant 0x8B 0x58 OK ID base was set To take over the ID base during runtime you have to execute a reset via FC 9 O...

Страница 125: ...0 Frequency modulation type transmitter power 868 3MHz ASK max 10mW Transmission range 300m free area Aerial external 50 aerial mountable Type portable or with 150cm cable and magnetic socket Connecti...

Страница 126: ...Chapter 5 CP 240 EnOcean Manual VIPA System 200V 5 32 HB97E CP Rev 11 30...

Страница 127: ...e assembly and the inclusion of the CP 240 M Bus for communication with energy and excise counters Topic Page Chapter 6 CP 240 M Bus 6 1 System overview 6 2 Basics 6 3 Fast introduction 6 4 Structure...

Страница 128: ...Manual VIPA System 200V 6 2 HB97E CP Rev 11 30 System overview PW ER TxD RxD CP 240M Bus X 2 3 4 VIPA 240 1FA20 M Bus M M Type Order No Description CP 240 M Bus VPA 240 1FA20 CP with M Bus interface C...

Страница 129: ...ty inversion secure standardized bus system acc DIN EN 1434 3 Short circuit resistant M Bus interface Current gas water and heat counter can be integrated Data is read electronically Connection of up...

Страница 130: ...ed and not evaluated With the help of VIPA FCs you control the communication between CPU and CP 240 M Bus For this send and receive data have each a reserved 2048Byte buffer Together with a CPU 21x th...

Страница 131: ...the CP gets its voltage supply via the back plane bus and thus supplies the connected M Bus modules up to 6 slaves may be connected The slaves must be connected in parallel M M The communication proce...

Страница 132: ...to the CP 240 This recognizes the telegram type due to the length definition supplements it with the according telegram bytes and handles the telegram on to the send buffer The CP 240 compiles these...

Страница 133: ...and the according rest length 6 in Byte 2 3 to the CP 240 The user data is stored in the send buffer and the value 6 is send back to the CPU via Byte 2 3 The CPU receives the 6 and sends back a 0 via...

Страница 134: ...data area to read from Please regard that every M Bus telegram has to be prefixed by one byte that specifies the baud rate to use At error free reception the Byte 0 of the receive DB contains 00h A va...

Страница 135: ...00 0000 40 short frame This causes an initialization of the slaves terminal equipment and correlates a deletion of the FCB bits and an acknowledgment by the single character E5h SND_UD 01F1 0011 53 73...

Страница 136: ...o 250 are available Not configured new slaves have the primary address 0 The addresses 254 and 255 are to be used as broadcast address Using 255 the master sends information to all participants but do...

Страница 137: ...e 2400 User group July 93 BCh Set baud rate 4800 User group July 93 BDh Set baud rate 9600 User group July 93 BEh Set baud rate 19200 BFh Set baud rate 38400 B1h Output RAM content Techem suggestion B...

Страница 138: ...baud rate to use Telegram via M Bus storage in DB 68h 68h Start 00h Response 00h L field 08h C field RSP_UD 03 L field 02h A field address 02h 68h 68h Start 72h CI field response variable length 08h C...

Страница 139: ...isition device with M Bus interface Project engineering tool SIMATIC Manager from Siemens with transfer cable Build up the System 200V Load the example project adjust the periphery address if necessar...

Страница 140: ...nde BOOL Telegram transmitted completely 260 1 LB BOOL Last block has been sent 260 2 SL BOOL Still transmitting 260 3 Fehl BOOL Error during transmission 260 4 Senden_Start BOOL Start bit 261 0 PAFE...

Страница 141: ...fer value CI field Data MB104 Transfer telegram length RET_VAL MW106 Return value Senden_Start M99 0 Start order U M 99 0 Order running BEB L MW 106 Return of send function L W 16 2000 Ready without e...

Страница 142: ...ta PAFE DB10 DBB261 Error byte FRG DB10 DBX260 4 Send release GESE DB10 DBW256 Internal variable ANZ_INT DB10 DBW258 Internal variable ENDE_KOM DB10 DBX260 0 Internal variable LETZTER_BLOCK DB10 DBX26...

Страница 143: ...e Bus voltage pause level 30V Max bus negative bias 9mA Rigid bit threshold 11mA Short circuit firmness permanent Shutdown level at overcurrent 50mA Minimum shutdown time 50ms Thevenin resistance 100...

Страница 144: ...Chapter 6 CP 240 M Bus Manual VIPA System 200V 6 18 HB97E CP Rev 11 30...

Страница 145: ...5 6 Basics 5 3 Communication principle 5 7 Components 5 5 Examples 5 9 exchange module 5 29 Fast introduction 5 4 Handling blocks 5 4 LEDs 5 5 Parameter 5 4 set ID Base 5 29 Software handshake 5 8 Str...

Страница 146: ...0 EnOcean 5 4 CP 240 M Bus 6 4 CP 240 Modbus 4 3 CP 240 serial 4 3 FCs 3 3 ASCII_FRAGMENT FC 11 3 11 FETCH_RK512 FC 2 3 12 RECEIVE FC 1 3 8 S R_ALL_RK512 FC 4 3 16 SEND FC 0 3 7 SEND_RK512 FC 3 3 14 S...

Страница 147: ...Bus connector 2 2 Centralized system 1 4 Components 1 4 Decentralized system 1 4 Disturbances 2 12 EMC 2 12 Basic rules 2 13 Environmental conditions 1 5 Installation guidelines 2 12 Overview 1 3 1 5...

Страница 148: ...Index Manual VIPA System 200V A 4 HB97E CP Rev 11 30 M Stich...

Отзывы: