3 Function Principle of the Application Example
Function Principle of the Application
3
Example
Program overview
Figure 3-1: Program overview
Main [OB1]
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.
Note
For more information on the commands DPWR_DAT and DPRD_DAT refer to
the Online Help of the TIA Portal.
Drehzahlachse mit SINA_SPEED
Entry-ID: 109485727,
V1.0,
SINA_SPEED
[FB 285]
User program
06/2017
DPWR_DAT
DPRD_DAT
Instructions
InstSina
Speed
[DB 285]
Data blocks
8