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
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......