This optional method writes the I&M2 field IM_Date remanent to the PROFINET device and sets the Date variable accordingly.
Signature
SetDate (
[in] DateTime IM_Date
);
Argument |
Description |
IM_Date |
New I&M2 | IM_Date to be written remanent to the device. |
Method Result Codes
ResultCode |
Description |
Bad_InvalidArgument |
The Server is not able to apply an argument. |
Bad_UnexpectedError |
The Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure. |