Siemens SIMATIC ET 200AL System Manual page 1186

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

Example: Data record structure for the assignment of partner ports
For the data record structure, you need the HW identifications of the ports.
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".
As the input parameter RECORD of the instruction "ReconfigIOSystem" is of the VARIANT
data type, you first have to create a data type for the data block.
In the following sections, you find a description of the structure of the PLC data type as well
as of the structure of the data block based on this type.
Selecting derived configuration
For the following selected configuration it is shown below what the data record must look like
so that the IO devices are interconnected in the planned order by the user program.
Figure 5-89
Example configuration: Customizing arrangement of IO devices in the user program
This example is based on the flexible configuration from the previous section (Page 236)
with the settings for the respective partner ports described there.
The partner ports in the specific derived configuration have been defined so that it is possible
to name the HW identifications of the ports involved.
The following table only contains those devices whose ports can be defined by the user
program. Only these devices are relevant for the data record structure.
Device
IO device_1
IO device_2
IO device_2
PROFINET with STEP 7 V15
Function Manual, 12/2017, A5E03444486-AH
Local port
Partner port setting
p2 = Port 2
Partner is set by user
program
HW identifier: 251
p1 = Port 1
Partner is set by user
program
HW identifier: 281
p2 = Port 2
Partner is set by user
program
HW identifier: 311
Functions
5.9 Standard machine projects
Partner port of the selected confi-
guration
Port 1 of IO device_3
HW identifier: 261
Port 2 of IO device_3
HW identifier: 291
Port 1 of IO device_4
HW identifier: 321
239

Advertisement

Table of Contents
loading

Table of Contents