| |||
Interfaces and Methods - Schemas - FDT Specification - Quicklinks - Abbreviations | |||
| Up to FDT Specification 4.1 Overview of the FDT interfaces 4.2 FDT Objects 4.2.1 FDT Object Model 4.2.2 DTM State Machine 4.10 General Concepts 4.10.1 Task Related FDT Interfaces 4.10.2 Return Values of Interface Methods 4.10.3 Dual Interfaces 4.10.4 Unicode 4.10.5 Asynchronous vs. Synchronous Behavior 4.10.6 ProgIds 4.10.7 Slave Redundancy 4.10.8 Field Bus Scanning and DTM Assignment | 4.10.5 Asynchronous vs. Synchronous BehaviorIn general each function call is synchronous. Within FDT there are two
special cases of asynchronous behavior.
While a DTM has opened its user interface, the DTM uses the asynchronous behavior at the communication interface. The time a communication function call needs to return depends on the system topology and the bus protocol and would block an application for seconds. Dividing a communication function call to a request and a response function causes a non-blocking behavior without the pain of multi-threading implementation. The DTM sends its request or several requests without being disturbed by incoming responses. When a response is available, the DTM gets a notification and can receive the response from the communication component. Due to this mechanism, on one hand a DTM should not implement a timeout control and on the other hand the communication has to provide a response for each request. Only a response can contain the timeout information. | ||
© 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. | |||