Siemens SIMATIC PROFINET Function Manual page 215

With step 7 v14
Hide thumbs Also See for SIMATIC PROFINET:
Table of Contents

Advertisement

The data record is to be stored in a data block and to be transmitted to the PROFINET
interface of the IO controller in the user program using the instruction "ReconfigIOSystem".
Figure 5-84
Creating data block
In this example, the control data record is created in a data block. The data block is
structured as follows:
Line 2: Array definition: Array of type Word with 4 elements. Array of Word is permitted as
the data type.
Line 3: Version of the data record (currently: V1.0).
Line 4: Number of optional IO devices to be activated (here: 1).
Line 5: List of the hardware identifiers of the IO devices, inserted here as system constants.
Line 6: Number of port interconnections that are set in the user program (here: 0).
Line 7: Additional data records (optional)
Figure 5-85
PROFINET with STEP 7 V14
Function Manual, 09/2016, A5E03444486-AG
IO device_2 is configured as optional IO device.
Once the data record is transmitted and the configuration is activated using the instruction
"ReconfigIOSystem" IO device_2 is included in the configuration and participates in the data
exchange with the IO controller.
Example: Activating an optional IO device
Data block with control records
Functions
5.9 Standard machine projects
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents