Chapter 1 Principles Manual VIPA CPU 21x
1-12 HB103E - Rev. 05/45
The project engineering of network connections via Ethernet for the
CPU 21x-2BT02 can be carried out with WinNCS from VIPA and for the
CPU21x-2BT10 with SIMATIC Manager using NetPro.
The CP communication for the CPU 21x-2BS12 or CPU 21x-2BS32 is
accomplished via a send buffer and a receive buffer with a size of 256Byte.
Parameterization at runtime has to be carried out with the SFC 216
(SER_CFG). For all protocols except ASCII the parameters have to be
stored in a DB. Writing or reading the send buffer respectively receive
buffer can be controlled with the SFC 217 (SER_SND) respectively with the
SFC 218 (SER_RCV).
The CP of the CPU 21x-2BS02 is directly connected to the CPU part
through a Dual-Port-RAM, also called "page frame". At the CPU this page
frame is available as standard CP interface. Communication on the
respective protocols is controlled by connection commands which have to
be programmed in the user application.
At this the VIPA-SFCs 230 ... 238 are used.
The parameter transfer to the communication processor (CP) is done at
runtime using a SEND (SFC 230) with order number 201. The parameters
have to be stored in a DB whose set-up depends on the desired protocol.
To activate the parameters a RESET (SFC 234) has to be carried out with
order no. 0 after the SEND.
Note!
Please regard that the commands SEND, RECEIVE, FETCH and RESET
require a preceding "VKE"=1 otherwise they are not executed.
The project engineering of CANopen master will be done with WinCoCT
(Windows CANopen Configuration Tool) from VIPA.
Please export your project as wld file from WinCoCT, which can be
imported into the Hardware Configurator from Siemens. Therefor please
start a virtual Profibus system "VIPA_CPU21x" and integrate the CPU
21xCAN (VIPA 21x-2CM02) at slot 0.
Project
engineering
CPU 21xNET
Project
engineering
CPU 21xSER-1
Project
engineering
CPU 21xSER-2
Project
engineering
CPU 21xCAN