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 #267 background imageLoading...
Page #267 background image
Manual VIPA CPU 21x Chapter 9 Deployment CPU 21xSER-1
HB103E - Rev. 05/45 9-9
Data that the CPU has to provide for the Modbus master are stored in a
FIFO send buffer (first in first out) with a size of 2x256Byte. In opposite to
the other protocols the data remain in the send buffer until they are reques-
ted by the Modbus master via a read command (function code 01h, 03h).
If the interface receives data from the master (function code 05h, 06h, 10h)
these are stored in a FIFO receive buffer with a size of 2x256Byte and may
there be read by the CPU.
The embedding of the data into the Modbus protocol happens
automatically.
Please regard that the Modbus master may access the IN res. OUT buffer
by according presetting of the read function code. By means of a read
access to the IN buffer (function code 02h, 04h) the master may read data
that it has sent to the Modbus slave before. The data remain in the buffer
until they are overwritten by the Modbus master.
The following picture shows the communication principle. More information
is also to be found in the chapter "Modbus slave function codes" further
below.
Protocol FIFO buffer
256Byte
256Byte
256Byte
256Byte
IN
OUT
RS232C/RS485
InterfaceProgram
SER_RCV
SFC 218
CFG
RECEIVE
SEND
SER_SND
SFC 217
SER_CFG
SFC 216
CPU 21xSER-1
Read
01h, 02h,
03h, 04h
Write
05h, 06h,
10h
Modbus-Maste
r
05h, 06h, 10h
02h, 04h
01h, 03h
Principles for
Modbus Slave

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