EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 400

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
400 System Manual, V4.2, 09/2016, A5E02486680-AK
Activating PROFINET IO devices
When you reactivate a PROFINET IO device with D_ACT_DP, the associated PROFINET IO
controller configures the component and assigns parameters (as with the return of a failed
PROFINET IO station). This activation is complete when the component is able to transfer
user data.
If you try to activate a PROFINET IO device that cannot be accessed (for example, because
it was physically separated from the bus) with a D_ACT_DP instruction, the instruction
returns the error code W#16#80A7 after expiration of the configured parameter assignment
time for distributed I/O. The PROFINET IO device is activated and the fact that the activated
PROFINET IO device cannot be accessed results in a corresponding display in the system
diagnostics.
If the PROFINET IO device is accessible again afterwards, this results in standard system
behavior.
Note
Activating a PROFINET IO device can be time
-consuming. If you want to cancel a currently
running activation job, start D_ACT_DP with the same value for LADDR and MODE
= 2. You
repeat the call for D_ACT_DP with MODE = 2 until the successful cancellation of the
activation job is displayed with RET_VAL
= 0.
Parameters
The following table shows the parameters of the D_ACT_DP instruction:
Parameter
Declara-
tion
Data type
Description
REQ IN Bool Level-triggered control parameter
REQ = 1: Run activation or deactivation
MODE IN USInt Job identifier
Possible values:
0: Request information on whether the addressed component
is activated or deactivated (output using RET_VAL parameter)
1: Activate the PROFINET IO device
2: Deactivate the PROFINET IO device
LADDR IN HW_DEVICE Hardware identifier of the PROFINET IO device (HW_Device)
The number can be taken from the properties of the PROFINET IO
device in the Network view or from the "System constants" tab of
the standard tag table.
If both the identifier for the device diagnostics as well as the ID for
operating state transitions are specified there, you must use the
code for the device diagnostics.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals