|
| This method can be called in the states: |
|
Description:The communication component has to observe that the transaction communication calls of the block started with SequenceBegin() and closed by SequenceEnd() are finished during the period of time defined by the sequence time. The block supports asynchronous read/write and data exchange requests.
|
Parameters:
Return Value:| result | TRUE Loading of sequences supported FALSE Function not supported |
Behavior:After a successful sequence start the last communication component or at least the hardware itself collects all sent transaction request. This can be a sequence containing several TransactionRequest() calls on one connection. The collection of pending requests is closed by IFdtCommunication::SequenceEnd(). The fieldbusFrame parameter of this method has to contain the element ‘sequence’ (see schemas). This element contains the following attributes: Attribute Description sequenceTime Period of time in [ms] for the whole sequence delayTime Minimum Delay time in [ms] between two consecuitive communication calls communicationReference Identifier for the communication link. In case of a sequence time > 0 the communication component has to check, if the execution time of the complete sequence is less or equal the sequence time. In case of a delay time > 0 the last communication component, which has collected the communication calls, has to wait the defined time after each command before it sends the next. The communication component decides according to the associated hardware whether it can support this function. The method returns FALSE if the last of the following communication components, possibly caused by the associated hardware, does not supported this functionality. The actual communication starts with the call to IFdtCommunication::SequenceStart(). For each TransactionRequest there must be a TransactionResponse. As soon as the Communication-DTM detects that the SequenceTime has expired it will send TransactionResponses for any pending Requests with a CommunicationError "sequenceTimeExpired".
|
Comments:
|