STOBER
8 | Commissioning
11/2019 | ID 442710.03
35
8.2.8
Programming acyclical communication services
To be able to transfer parameters acyclically, PROFINET provides the
Read record
and
Write record
services.
The services are controlled using SIMATIC function blocks RDREC and WRREC. You can either integrate this into the PLC
program yourself or load and parameterize one of the example projects provided for download by STOBER in the TIA Portal.
Information
In the context of the latter, observe the documentation belonging to the example projects.
1.
To get the latest project version, switch to the download area on the STOBER website
http://www.stoeber.de/en/downloads/
TIA Portal V14
in the search field.
ð
The TIA Portal V14 project (examples for generation 6) is displayed in the result list.
2.
Start the download and save the TIA _Portal_V14_de.zip file to your PC.
3.
Unpack the ZIP file.
ð
The ZIP file contains two ZAP14 files (SAT_DriveBased_V14_1200 and SAT_DriveBased_V14_1500) for Siemens
controllers SIMATIC S7-1200 and SIMATIC S7-1500.
4.
TIA Portal:
Select
Project
>
Retrieve
and navigate to the directory where you saved the example projects.
5.
Open the ZAP14 file SAT_DriveBased_V14_1500.
ð
The example project is loaded in the TIA project view.
6.
Project tree
>
Devices
tab:
Open the folder of the IO controller >
Program blocks
7.
G6_Read_Acyclic
and
G6_Write_Acyclic
function blocks:
Parameterize the blocks as described in the documentation of the example program.
Information
Note that only one acyclic access per device may be active at the same time! When using the services in combination with
internal function blocks, access coordination must be resolved in the application.
In the example project provided by STOBER, the
xLockAcyclic
bit coordinates simultaneous acyclic access to a drive
controller. The bit locks the communication for other blocks. Every block that acyclically accesses a drive controller locks
access using the
xLockAcyclic
bit and enables it again by resetting the bit as soon as the data exchange has ended.