CPU ADAM 821x
Chapter 6 Deployment of the CPU 821xDP
ADAM 8000 Manual CPU 821x – Rev 1.1
6-27
Example
This example is intended to show the communication between a master
CPU 8214DPM and a slave CPU 8214DP.
The counters are to communicate via the Profibus and to be displayed at
the output module of the respective partner.
The CPU 8214DPM shall count from FFh...00h and transfer the count
cyclically into the output area of the Profibus master. The master has then
to transfer this value to the slave of the CPU 821xDP.
The value received shall be saved in the peripheral input area of the CPU
and monitored at the output module (at address 0) via the backplane bus.
On the other hand, the CPU 8214DP should count from 00h to FFh. This
count shall also be saved in the output area of the CPU slave and be
transferred to the master via Profibus.
This value shall be monitored at the output module (address 0) of the CPU
8214DPM.
CPU 821x DPM DO 8
Z1
Z2
Counter Z1:
FFh ... 00h
Adr.:4
Z1
Z2
CPU 821x DP
DO 8
Z2
Z1
Counter Z2:
00h ... FFh
Adr.:3
Master
Slave
CPU 821xDPM
Counter: MB 0 (FFh...00h)
Profibus address:
4
Input area:
Address 10
length: 2 Byte
Output area:
Address 20
length: 2 Byte
CPU 821xDP
Counter: MB 0 (00h...FFh)
Profibus address:
3
Input area:
Address 30
length: 2 Byte
Output area:
Address 40
length: 2 Byte
Parameter data:
Address 50
length: 24 Byte (fixed)
Diagnostic data:
Address 60
length: 6 Byte (fixed)
Status data:
Address 100
length: 2 Byte (fixed)
Objective
Detailed
description of the
objective
Configuration data