![VIPA System 200V IM Series Manual Download Page 127](http://html1.mh-extra.com/html/vipa/system-200v-im-series/system-200v-im-series_manual_1029241127.webp)
Manual VIPA System 200V
Chapter 3 Profibus DP
HB97E - IM - Rev. 06/29
3-95
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 System 200V IM Series
Page 1: ...Manual VIPA System 200V IM Order No VIPA HB97E_IM Rev 06 29...
Page 2: ...Lerrzeichen...
Page 6: ...About this manual Manual VIPA System 200V Subject to change to cater for technical progress...
Page 10: ...Contents Manual VIPA System 200V iv HB97E IM Rev 06 29...
Page 18: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E IM Rev 06 29...
Page 136: ...Chapter 3 Profibus DP Manual VIPA System 200V 3 104 HB97E IM Rev 06 29...
Page 338: ...Chapter 8 Ethernet coupler Manual VIPA System 200V 8 34 HB97E IM Rev 06 29...
Page 344: ...Chapter 9 Bus expansion modules IM 260 IM 261 Manual VIPA System 200V 9 6 HB97E IM Rev 06 29...