![IBA PROFIBUS ibaBM-DP Manual Download Page 145](http://html1.mh-extra.com/html/iba/profibus-ibabm-dp/profibus-ibabm-dp_manual_3210857145.webp)
ibaBM-DP
Manual
Issue 1.7
145
2.
Generate a RECEIVE-DB13 (or any free DB number) in your S7 project.
3.
Enter the content of OB1. Define the local variables and call up SFC14 (DP receive)
and SFC15 (DP send), both blocks from S7 standard library, in OB1 or any other FC.
The unscaled temperature (0 - 32767) is saved as an INT value in DB12.DBW6 (in
the first memory range for analog signals) and is to be transferred to ibaLogic!
Fig 116
:
Example for transfer of 32 bytes transmitting (DB12, SFC15) and
receiving data (DB13, SFC14) in S7-PLC
4.
In your program you have to adjust the peripheral input/output address in network 3
and 4 (LADDR- parameter) with the DP input/output addresses in the HW-configura-
tion (column I-/ Q- Address).
Note
Do not forget the offset of the data set in the PROFIBUS message.
Example: In order to address the first analog value in mode 8, please consider an offset
of 6 Bytes / 3 Words. (see tables in section 13.2.8)
For more information, see chapter 13.2.1.