Manual VIPA System 200V
Chapter 4 CP 240 - serial
HB97E - CP - Rev. 11/30
4-3
Fast introduction
The communication processors CP
240 enable the serial process
connection to different destination or source systems. Depending on the
module they are provided with an RS232 or an RS485 interface
respectively an RS422/485 interface.
The CP 240 modules are supplied with operating voltage via the back
plane bus.
For the internal communication the VIPA FCs are to be used. Here the data
is transferred with a maximum block size of 12Byte.
For the project engineering of the CP 240 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 to communicate with the CPU, a hardware
configuration for the system must always be executed.
A general description for the project engineering of the CP 240 is to be
found in the chapter "Project 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 configuration in the
Siemens SIMATIC Manager by including a protocol specific CP 240.
After the inclusion of the GSD the CP 240 is available with the following
protocols:
•
ASCII
•
STX/ETX
•
3964(R) and RK512
•
Modbus (master, slave)
The serial communication happens via the deployment of handling blocks
in the PLC user application. These handling blocks may be downloaded
from ftp.vipa.de or received as part of the CD-ROM VIPA "ToolDemo".
Depending on the protocol the following handling blocks are used:
ASCII
STX
3964
RK512
Modbus
FC
Name
x x
x FC0
SEND_ASCII_STX_3964
x x
x FC1
RECEIVE_ASCII_3964
x FC2
FETCH_RK512
x FC3
SEND_RK512
x FC4
S/R_ALL_RK512
x x x
FC9
SYNCHRON_RESET
x
FC11
ASCII_FRAGMENT
Note!
A communication with SEND and RECEIVE blocks is only possible if the
parameter ANL of the SYNCHRON block has been set in the start-up-OB
before.
Overview
Parameters
Protocols
Communication
Содержание CP 240 RS232
Страница 1: ...Manual VIPA System 200V CP Order No VIPA HB97E_CP Rev 11 30...
Страница 2: ...L...
Страница 14: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E CP Rev 11 30...
Страница 126: ...Chapter 5 CP 240 EnOcean Manual VIPA System 200V 5 32 HB97E CP Rev 11 30...
Страница 144: ...Chapter 6 CP 240 M Bus Manual VIPA System 200V 6 18 HB97E CP Rev 11 30...
Страница 148: ...Index Manual VIPA System 200V A 4 HB97E CP Rev 11 30 M Stich...