详情 - Details

<< 点击显示目录 >>

主页  振动监测 > X20(c)CM4810使用手册 > 寄存器说明 - Register description  > Flat 流 - Flatstream  > Flat流通信 - Flatstream communication > Flat流模式的寄存器 - Registers for Flatstream mode >

详情 - Details

 

It is recommended to store transferred messages in separate receive arrays.

After a set MessageEndBit is transmitted, the subsequent segment should be added to the receive array. The message is then complete and can be passed on internally for further processing. A new/separate array should be created for the next message.

 

建议将传输的消息存储在独立的接收数组中。

在设定的MessageEndBit被传送后,应该将随后的段添加到接收数组中。然后消息就完成了,可以在内部传递以进行进一步处理。应该为下一条消息创建一个新的/单独的数组。

Information:

注意:

当使用 MultiSegmentMTU(多段MTU) 传输时,几个小的消息可能是一个序列的一部分。在程序中,必须确保有足够数量的接收数组可以被管理。只有在整个序列被应用后,才允许调整确认寄存端。

 

If SequenceCounter is incremented by more than one counter, an error is present.

如果SequenceCounter的增量超过了一个计数端,就会出现错误。

Note:

注意:

This situation is very unlikely when operating without "Forward" functionality.

在没有 "Forward" 功能的情况下,这种情况是非常不可能的。

 

In this case, the receiver stops. All additional incoming sequences are ignored until the transmission with the correct SequenceCounter is retried. This response prevents the transmitter from receiving any more acknowledgments for transmitted sequences. The transmitter can identify the last successfully transferred sequence from the opposite station's SequenceAck and continue the transfer from this point.

 

在这种情况下,接收端会停止。所有其他传入的序列都被忽略,直到重新尝试具有正确SequenceCounter的传输。这种响应可以防止发射端收到任何更多的对传输序列的确认。发射端可以从对面站的SequenceAck中识别最后成功传输的序列,并从这一点继续传输。

 

Acknowledgments must be checked for validity.

必须检查确认的有效性。

If the receiver has successfully accepted a sequence, it must be acknowledged. The receiver takes on the value of SequenceCounter sent along with the transmission and matches SequenceAck to it. The transmitter reads SequenceAck and registers the successful transmission. If the transmitter acknowledges a sequence that has not yet been dispatched, then the transfer must be interrupted and the channel resynchronized. The synchronization bits are reset and the current/incomplete message is discarded. It must be sent again once the channel has been resynchronized.

如果接收方成功地接受了一个序列,就必须确认它。接收方接受与传输一起发送的SequenceCounter的值,并将SequenceAck与之匹配。发送方读取SequenceAck并登记成功的传输。如果发射端确认了一个尚未发送的序列,那么传输必须被中断,通道重新同步。同步位被重置,当前/未完成的消息被丢弃。一旦信道重新同步,它必须再次发送。