GE DS200RTBAG3AFB继电器端子板
当在接收机处用相同的多项式除CRC时,如果没有发生传输错误,则包含CRC的结果消息将产生零余数。如果PQM Modbus从设备接收到CRC-16计算指示错误的传输,则从设备不会对传输做出响应。CRC-16错误表示传输的一个或多个字节被错误接收,因此应忽略整个传输,以避免PQM执行任何错误操作。CRC-16计算是用于错误检测的行业标准方法。在没有标准CRC-16计算例程可用的情况下,这里包括一种算法来帮助程序员。7.1.6 CRC-16算法一旦完成以下算法,工作寄存器“A”将包含要传输的CRC值。注意,该算法要求特征多项式是反向位序的。特征多项式的MSbit被丢弃,因为它不影响余数的值。
The resulting message including CRC, when divided by the same polynomial at the receiver, results in a zero remainder if no transmission errors have occurred. If a PQM Modbus slave device receives a transmission in which an error is indicated by the CRC-16 calculation, the slave device will not respond to the transmission. A CRC-16 error indicates that one or more bytes of the transmission were received incorrectly and thus the entire transmission should be ignored in order to avoid the PQM performing any incorrect operation. The CRC-16 calculation is an industry standard method used for error detection. An algorithm is included here to assist programmers in situations where no standard CRC-16 calculation routines are available. 7.1.6 CRC-16 Algorithm Once the following algorithm is complete, the working register "A" will contain the CRC value to be transmitted. Note that this algorithm requires the characteristic polynomial to be reverse bit ordered. The MSbit of the characteristic polynomial is dropped since it does not affect the value of the remainder.