<< 点击显示目录 >> 主页 振动监测 > X20(c)CM4810使用手册 > 寄存器说明 - Register description > Flat 流 - Flatstream > Flat流通信 - Flatstream communication > X2X 链路上的转发功能示例 - Example of Forward functionality on X2X Link > 功能原理 - Function principle |
X2X Link communication cycles through 5 different steps to transfer a Flatstream sequence. At least 5 bus cycles are therefore required to successfully transfer the sequence.
X2X链路通信循环通过5个不同的步骤来传输Flat流序列。因此,至少需要5个总线周期才能成功地传输序列。
Step I 第一步 |
Step II 第二步 |
Step III 第三步 |
Step IV 第四步 |
Step V 第五步 |
|
---|---|---|---|---|---|
Actions 执行 |
Transfer sequence from transmit array, increase SequenceCounter
从发射数组中转移序列 增加 SequenceCounter |
Cyclic matching of MTU and module buffer
MTU和模块缓冲区的循环匹配 |
Append sequence to receive array Adjust SequenceAck
将序列追加到接收数组 调整SequenceAck |
Cyclic matching of MTU and module buffer
循环匹配MTU和模块缓冲区 |
Check SequenceAck
检查SequenceAck |
Resource 资源 |
Sender (task to transmit)
发送者 (要传送的任务) |
Bus system (direction 1)
总线 (方向 1) |
Recipient (task to receive)
接收者 (要接收的任务) |
Bus system (direction 2)
总线 (方向 12) |
Sender (task for Ack checking)
发送者 (检查Ack的任务) |
Fig.: Comparison of transfer without/with Forward
图: 无转发/有转发的传输比较
Each of the 5 steps (tasks) requires different resources. If Forward functionality is not used, the sequences are executed one after the other. Each resource is then only active if it is needed for the current sub-action.
With Forward, a resource that has executed its task can already be used for the next message. The condition for enabling the MTU is changed to allow for this. Sequences are then passed to the MTU according to the timing. The transmitting station no longer waits for an acknowledgment from SequenceAck, which means that the available bandwidth can be used much more efficiently.
In the most ideal situation, all resources are working during each bus cycle. The receiver still has to acknowledge every sequence received. Only when SequenceAck has been changed and checked by the transmitter is the sequence considered as having been transferred successfully.
5个步骤(任务)中的每一个都需要不同的资源。如果不使用转发功能,这些序列会一个接一个地执行。每个资源只有在当前的子行动中需要时才会被激活。
使用转发功能,一个已经执行了任务的资源可以用于下一个消息。启用MTU的条件被改变以允许这样做。然后,序列会根据时序传递给MTU。发送站不再等待SequenceAck的确认,这意味着可以更有效地使用可用带宽。
在最理想的情况下,所有资源在每个总线周期内都在工作。接收者仍然必须确认收到的每一个序列。只有当SequenceAck被改变并被发射端检查时,序列才被认为已经成功传输。