EasyManuals Logo
Home>ABB>Control Unit>FSPS-21

ABB FSPS-21 User Manual

ABB FSPS-21
214 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 #97 background imageLoading...
Page #97 background image
Function blocks for sending DP-V1 messages (Siemens S7)
In IEC 61131-3 compatible systems, function blocks are available for accessing data
non-cyclically. In Siemens S7, SFB 52 "RDREC" can be used for reading and SFB53
"WRREC" for writing data records as follows:
On INDEX: Connect the value 0xB02F, 0xB02E or 0x2F.
On Write record: Set the length of the DP-V1 write request to MLEN.
On Read record: Set the maximum length of the DP-V1 read response.
Connect the DP-V1 message to RECORD.
82 PROFINET IO – Communication protocol
Function blocks for sending DP-V1 messages
(Siemens S7)
In IEC 61131-3 compatible systems, function blocks are available
for accessing data non-cyclically. In Siemens S7, SFB 52
"RDREC" can be used for reading and SFB53 "WRREC" for
writing data records as follows:
On INDEX: Connect the value 0xB02F, 0xB02E or 0x2F.
On Write record: Set the length of the DP-V1 write request to
MLEN.
On Read record: Set the maximum length of the DP-V1 read
response.
Connect the DP-V1 message to RECORD.
Note: The function block names for Siemens 12xx and 15xx series
PLCs are RD_REC and WR_REC, and this naming convention is
also applicable for other blocks.
96h Internal buffer Buffer overflow
A0h Internal communication Communication error between the
module and the drive
RDREC
BOOL --- REQ VALID --- BOOL
DWORD ID BUSY --- BOOL
INT INDEX ERROR --- BOOL
INT MLEN STATUS --- DWORD
LEN --- INT
ANY RECORD-- --RECORD
WRREC
BOOL --- REQ DONE --- BOOL
DWORD --- ID BUSY --- BOOL
INT --- INDEX ERROR --- BOOL
INT --- LEN STATUS --- DWORD
ANY --- RECORD-- --RECORD
Error # Meaning Used at
S7_read_write.pdf
Note:
The function block names for Siemens 12xx and 15xx series PLCs are RD_REC and
WR_REC, and this naming convention is also applicable for other blocks.
For more information on the above function blocks, see document Communication Function
Blocks for PROFIBUS DP and PROFINET IO v2.0 available at www.profibus.com.
Parameter data transfer examples
The following examples show how parameter data is transferred using the DP-V1
mechanisms READ and WRITE.
Only the data block part of the request is presented in the examples. See section Read and
write blocks (page 92).
Example 1a: Reading a drive parameter (array element)
Drive parameters are addressed so that the drive parameter group corresponds to the
Parameter index (PNU), and the drive parameter number within the group corresponds to
the Subindex (IND). In the following example, a value is read from drive parameter 12.04
(0C.04h).
DP-V1 Write request (Read parameter value):
PROFINET IO Communication protocol 97

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ABB FSPS-21 and is the answer not in the manual?

ABB FSPS-21 Specifications

General IconGeneral
BrandABB
ModelFSPS-21
CategoryControl Unit
LanguageEnglish

Related product manuals