EasyManuals Logo

VIPA CPU 21 Series User Manual

VIPA CPU 21 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #223 background imageLoading...
Page #223 background image
Manual VIPA CPU 21x Chapter 7 Deployment of the CPU 21xDP
HB103E - Rev. 05/45 7-31
The application program in the CPU 214DPM has two tasks that are
handled by two OBs:
• to test communications by means of the control byte.
Load the input byte from Profibus and transfer the value to the output
module.
OB 1 (cyclic call)
L B#16#FF
T AB 20 Control byte for Slave-CPU
L B#16#FE Load control value 0xFE
L EB 10 Was the control byte transferred
<>I correctly from the slave CPU?
BEB No -> End
-------------------------------
Data exchange via Profibus
L EB 11 Load input byte 11 (output data
of the CPU214DP) and
T AB 0 transfer to output byte 0
BE
• Read counter value from MB 0, decrement, save in MB0 and put it out to
CPU 214DP via Profibus.
OB 35 (timer-OB)
L MB 0 Counter from 0xFF to 0x00
L 1
-I
T MB 0
T AB 21 Transfer into output byte 21
(input data of CPU214DP)
BE
At this point the programming of the CPU 214DPM is completed. The
Profibus communication has also been defined for both sides.
Transfer your project into the CPU 214DPM via MPI by means of the
PLC-
functions.
Application
program in the
CPU 214DPM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VIPA CPU 21 Series and is the answer not in the manual?

VIPA CPU 21 Series Specifications

General IconGeneral
BrandVIPA
ModelCPU 21 Series
CategoryControl Unit
LanguageEnglish

Related product manuals