Manual VIPA CPU 21x Chapter 9 Deployment CPU 21xSER-1
HB103E - Rev. 05/45 9-27
This is the course a communication between master and slave happens:
Using this Send DB the master sends 16Byte user data to the slave with
address 5:
DB10.DBD 0
DW#16#05100000
with 05 →
10 →
0000 →
Command telegram
slave address 05h
function code 10h (write n words)
Offset 0000h
DB10.DBD 4
DW#16#000810A0
with 0008 →
10 →
A0 →
Command telegram + 1 data byte
Word count 0008h
Byte count 10h
Start 16Byte data with A0h
DB10.DBD 8
DW#16#A1A2A3A4
data byte 2 ... 5
DB10.DBD 12
DW#16#A5A6A7A8
data byte 6 ... 9
DB10.DBD 16
DW#16#A9AAABAC
data byte 10 ... 13
DB10.DBD 20
DW#16#ADAEAF00
with ADAEAF →
00 →
data byte 14 ... 16 + 1Byte not used
data byte 14 ... 16
not used by the module
If there is no error the following data are transferred to the master by the
slave:
DB11.DBD 0
DW#16#05100000
with 05 →
10 →
0000 →
Respond telegram
slave address 05h
function code 10h (no error)
Offset 0000h
DB11.DBD 4
DW#16#000810A0
with 0008 →
10 →
00 →
Respond telegram + 1 Data byte
Word count 0008h
Byte count 10h
Start 16Byte data with 00h
(irrelevant for write command)
DB11.DBD 8
DW#16#00000000
data byte 2 ... 5
DB11.DBD 12
DW#16#00000000
data byte 6 ... 9
DB11.DBD 16
DW#16#00000000
data byte 10 ... 13
DB11.DBD 20
DW#16#00000000
with ADAEAF →
00 →
data byte 14 ... 16 + 1 Byte not used
data byte 14 ... 16
not used by the module
The course of a
communication
Master Send block
as DB10
Master Receive
block as DB11