3 Function Principle of the Application Example
Drehzahlachse mit SINA_SPEED
Entry-ID: 109485727, V1.0, 06/2017
Siemens AG 2017 All rights reserved
3 Function Principle of the Application
Example
Program overview
Figure 3-1: Program overview
User program Data blocks
Main [OB1]
SINA_SPEED
[FB 285]
InstSina
Speed
[DB 285]
DPWR_DAT
DPRD_DAT
Instructions
3.1 Data exchange to the SINAMICS drive
Commands DPWR_DAT and DPRD_DAT
The “SINA_SPEED” block establishes the cyclic communication to a SINAMICS
drive. To do this, the block accesses the following command:
DPWR_DAT (writing consistent data of a DP standard slave)
DPRD_DAT (reading consistent data of a DP standard slave)
These instructions ensure that the consistency is maintained across the entire
process data, i.e. all elements of the process data of a device are from the same
bus cycle or are transferred within a bus cycle.
For more information on the commands DPWR_DAT and DPRD_DAT refer to
the Online Help of the TIA Portal.