M&M FDT 1.2.1 Online Specification
 IFdtCommunication::DisconnectRequest() method information


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

4.5.3.3 IFdtCommunication::DisconnectRequest()


This method can be called in the states:          

HRESULT DisconnectRequest (
[in] FdtUUIDString invokeId,
[in] FdtXmlDocument fieldbusFrame,
[out, retval] VARIANT_BOOL* result
);


Description:
Releases a communication link to a device by an asynchronous function call. For more than one connection to the same device, the link is identified by the communication reference which is part of the fieldbus frame.

Parameters:
invokeIdUnique identifier for the request
fieldbusFrameFieldbus-protocol-specific information how to release the connection specified by a fieldbus specific schema e.g. like FDTHARTCommunicationSchema or FDTProfibusCommunicationSchema


Return Value:
resultTRUE Request sent FALSE Request refused


Behavior:
The method passes an XML document with communication parameters specified by a fieldbus specific schema. Based on this information the method sends the request to the next communication component or to the connected device, terminates all pending requests and returns without waiting for the result. The response will be provided by OnDisconnectResponse().

Comments:
See also chapter FDT ‘Use Cases and Scenarios’.




© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.