
Manual VIPA System 200V
Chapter 3 Deployment IM 253DP
HB97E - IM - RE_253-xDPxx - Rev. 12/44
3-57
The user application in the CPU 21x has 2 tasks to execute, shared
between two OBs:
•
Test the communication via control byte.
Load the input byte from PROFIBUS and monitor the value at the output
module.
OB 1 (cyclic call)
L B#16#FF
T QB 20
control byte for slave CPU
L B#16#FE
load control value 0xFE
L IB 10
control byte from slave
<>I
CPU correct?
BEC
no -> End
-------------------------------
Data transfer via PROFIBUS
L IB 11
load input byte 11 (output data
of the CPU214DP) and
T QB 0
transfer to output byte 0
BE
•
Read counter value from MB 0, decrement it, store in MB 0 and transfer
it to the CPU 21xDP via PROFIBUS.
OB 35 (Time-OB)
L MB 0
counter from 0xFF to 0x00
L 1
-I
T MB 0
T QB 21
Transfer to output byte 21
(input data of the CPU214DP)
BE
Transfer your project with the hardware configuration into the CPU and
execute the program. The hardware configuration of CPU 214 and DP
master is now finished.
The following pages describe the project engineering of the CPU 214DP.
User application in
the CPU 214
Transfer project and
execute
Summary of Contents for IM 253 DP Series
Page 1: ...VIPA System 200V IM Manual HB97E_IM RE_253 xDPxx Rev 12 44 November 2012...
Page 4: ...Contents Manual VIPA System 200V ii HB97E IM RE_253 xDPxx Rev 12 44...
Page 8: ...Safety information Manual VIPA System 200V 4 HB97E IM RE_253 xDPxx Rev 12 44...
Page 26: ...Chapter 1 Basics and Assembly Manual VIPA System 200V 1 18 HB97E IM RE_253 xDPxx Rev 12 44...
Page 100: ...Chapter 3 Deployment IM 253DP Manual VIPA System 200V 3 60 HB97E IM RE_253 xDPxx Rev 12 44...