Functions
5.2 Intelligent IO devices (I-devices)
PROFINET with STEP 7
Function Manual, 05/2021, A5E03444486-AL
149
Enabling the I-device function at a PROFINET interface
You use the instruction "D_ACT_DP" to enable an inactive I-device function:
•
Via the symbolic name or the hardware identification of the I-device of the respective
PROFINET interface as LADDR parameter, in the example, HW identification 260
•
Via the MODE parameter = 1
Result:
After enabling, the I-device can exchange data with a higher-level IO controller.
If at least one IO controller is missing or the connection does not exist, "Hardware component
removed or missing" is entered in the diagnostic buffer of the I-device CPU.
Note
Temporary access errors
Enabling the I-device function in the user program can result in temporary access errors
"I/O data failure in hardware component", for example, because access to the I/O data of the
I-device is already possible even though the data has not been declared as valid by the
IO controller yet.
These messages are incoming and outgoing error events that can be neglected.
The behavior of IO controller and I-device in case of a station failure and station return still
applies as described in the section Diagnostics and alarm response (Page 1).
Calling up the status information of an I-device with the instruction "D_ACT_DP"
You are requesting the status information of an I-device:
•
Via the hardware identification of the I-device of the respective PROFINET interface as
LADDR parameter, in the example, HW identification 260
•
Via the MODE parameter = 0
The status is returned in the RET_VAL parameter:
•
RET_VAL = 0x0000: "D_ACT_DP" was completed without errors (disabling an inactive
I-device/enabling an active I-device)
•
RET_VAL = 0x0001: I-device is enabled
•
RET_VAL = 0x0002: I-device is disabled
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......