Siemens SIMATIC PROFINET Function Manual page 217

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

Advertisement

Rules for the call sequence of "ReconfigIOSystem"
● Always supply the instruction "ReconfigIOSystem" with the same control data record
(CTRLREC input parameter)!
● Call sequence following POWER OFF -> POWER ON transition:
– ReconfigIOSystem call with MODE 1 (optional).
– ReconfigIOSystem call with MODE 2 (mandatory, even without previous
– ReconfigIOSystem call with MODE 3 (mandatory).
● Call sequence following STOP > RUN transition:
– ReconfigIOSystem call with MODE 1 (optional).
– ReconfigIOSystem call with MODE 2 (mandatory, even when configuration was
– ReconfigIOSystem call with MODE 3 (mandatory).
● Call sequence for reconfiguration in RUN state:
– ReconfigIOSystem call with MODE 1 (mandatory).
– ReconfigIOSystem call with MODE 2 (mandatory).
– ReconfigIOSystem call with MODE 3 (mandatory).
Explanations and recommendations concerning the rules
● If you do not list an IO device to be configured as optional IO device in the control data
record or data block resp. this IO device does not form part of the configuration and does
not take part in data exchange with the CPU.
● If you do not activate any optional IO device at all and work with the loaded configuration
without reconfiguration, you still have to follow the proceeding described in the above
section and transmit the control data record to the CPU.
The control data record has the simple structure with the following tags:
– Version (High Byte =1, Low Byte = 0)
– Number of optional devices to be activated = 0
– Number of port interconnections that are set in the user program = 0
● Following a STOP > RUN transition and following a POWER-OFF > POWER-ON
transition, all IO devices are deactivated automatically. For this reason, no
ReconfigIOSystem call with MODE 1 is required for configuration control to function
properly.
If you use your project as a universally valid sample for programming the configuration
control, we still recommend to perform the ReconfigIOSystem call with MODE 1 prior to
any reconfiguration. This way, the sample can also be used for reconfigurations in RUN
mode.
PROFINET with STEP 7 V14
Function Manual, 09/2016, A5E03444486-AG
reconfiguration!).
modified in STOP state). Otherwise not required).
Functions
5.9 Standard machine projects
217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents