5 Application example
5.3 Cyclic and acyclic communication with TIA Portal
DX-NET-PROFINET2-2
01/22 MN040062EN
www.eaton.com
101
5.3 Cyclic and acyclic communication with TIA Portal
The following Siemens function blocks are used in this chapter:
•
SINA_SPEED – for cyclic communication
•
FB286 – for acyclic communication
Cyclic communication: SINA_SPEED – process data access
The SINA_SPEED function block is used for cyclic communication with the
variable frequency drive.
The SINA_SPEED block can be used to monitor the process data and to
control the variable frequency drive. In addition, the communication status
between the controller and the variable frequency drive is monitored and
checked.
Acyclic communication: FB286 – read or write several parameters
Function block FB286 is used for parameter access.
The parameters can be read and the values changed using the FB286
function block.
5.4 Configuration of the IP address, peripheral addresses and device names
The TIA Portal software automatically assigns addresses and names for
proper communication. These can be changed manually.
IP address
The address in the TIA Portal and the actual IP address of the
DX-NET-PROFINET2-2 device must match.
▶
Follow the instructions described in
Peripheral addresses
The peripheral address ranges for the data to be exchanged between a
Siemens controller and the DX-NET-PROFINET2-2 device are defined in the
configuration.
The following section looks at these hardware addresses. If you change
them, you will need to adjust the program accordingly.
Device names
If necessary, the device name is adjusted in the PLC configuration. This is
illustrated using the example below in the section “Access to cyclic process
data”.
→
The SINA_SPEED function block can be called from a standard
library in the TIA Portal.
→
Function block FB286 is part of the TIA Portal software and can
be called from a standard library in the TIA Portal.