Chapter 6 CP 240 - M-Bus
Manual VIPA System 200V
6-4
HB97E - CP - Rev. 11/30
Fast introduction
The communication processor CP 240 M-Bus allows the process coupling
to different destination or source systems based upon the M-Bus
communication.
The CP 240 M-Bus is power supplied via the back plane bus. For the
internal communication the VIPA FCs are used. For the project engineering
of the CP 240 M-Bus 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 M-Bus to communicate with the CPU, the system always
requires a hardware configuration.
A general description of the project engineering of the CP 240 is to be
found in chapter "Project engineering".
By placing the CP 240 M-Bus into the "virtual" Profibus system in the
hardware configuration, the required parameters are created automatically.
The parameter area has the following structure:
Byte Function
Values
Default parameter
0 reserved
1 Protocol
F0h:
M-Bus
-
2...15 reserved
You have only to set F0h in Byte 1 as protocol for M-Bus. The other
parameters are reserved 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 the following handling blocks
are used:
Name
FCs Short description
SEND
FC0 Send block
RECEIVE FC1 Receive
block
SYNCHRON_RESET
FC9 Reset and synchronize the CP 240
For M-Bus telegrams that are send from the CPU to the CP 240, you must
prefix every telegram with one byte, which contains the baud rate. This
procedure allows you to communicate with different bus participants during
runtime by using different baud rates.
As a countermove the CP 240 announces back the state of the M-Bus data
transfer via this byte (0: OK - valid answer,
≠
0:error).
The recent GSD-files and libraries are to be found either on the CD-ROM
"SW-ToolDemo" or under ftp.vipa.de. The installation of the CP 240 M-Bus
happens with this approach:
1. Install the GSD-file
VIPA_21X.gsd
in your project-engineering tool.
2. Install the VIPA library
Fx000002_Vxxx.zip
with the handling blocks in
your project-engineering tool.
3. Configure your System 200V, parameterize the CP 240 M-Bus and
program the communication.
4. Transfer your project into the CPU.
Overview
Parameters
Internal
communication
Telegram
structure
Installation
Summary of Contents for CP 240 RS232
Page 1: ...Manual VIPA System 200V CP Order No VIPA HB97E_CP Rev 11 30...
Page 2: ...L...
Page 14: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E CP Rev 11 30...
Page 126: ...Chapter 5 CP 240 EnOcean Manual VIPA System 200V 5 32 HB97E CP Rev 11 30...
Page 144: ...Chapter 6 CP 240 M Bus Manual VIPA System 200V 6 18 HB97E CP Rev 11 30...
Page 148: ...Index Manual VIPA System 200V A 4 HB97E CP Rev 11 30 M Stich...