DAEnetIP3
User Manual
-
73
-
Example 2: CRC16 for DAEnetIP3 [00] is disabled. DAEnetIP3 [00]
receives TCP/IP data with serial address 00. Data is sent over the serial
line to DAEnetIP3 [01] without added CRC16 checksum. DAEnetIP3 [00]
performs respond. DAEnetIP3 [00] receives the response over the serial
network and send it over the TCP/IP.
Example 3: CRC16 for DAEnetIP3 [00] is enabled. DAEnetIP3 [00]
receives TCP/IP data with serial address 01. Data is sent over the serial
line to DAEnetIP3 [01] with added CRC16 checksum. DAEnetIP3 [01]
performs respond. DAEnetIP3 [00] receives the response over the serial
network and send it over the TCP/IP.
Example 4: CRC16 for DAEnetIP3 [00] is enabled. DAEnetIP3 [00]
receives TCP/IP data with serial address 01. Data is sent over the serial
line to DAEnetIP3 [01] with added CRC16 checksum. DAEnetIP3 [01]
performs respond. However when data is sent back to DAEnetIP3 [00]
over the serial line, some bit is wrong during serial communication.
DAEnetIP3 [00] checks this and the TCP/IP response is error code E3.
Example 5: CRC16 for DAEnetIP3 [00] is enabled. DAEnetIP3 [00]
receives TCP/IP data with serial address 01. Data is sent over the serial
line to DAEnetIP3 [01] with added CRC16 checksum. However some bit
is wrong during serial communication. DAEnetIP3 [01] checks this and
the respond to DAEnetIP3 [00] is error code E3. This error DAEnetIP3
[00] sends back (propagates) to the TCP/IP.
Example 6: CRC16 for DAEnetIP3 [00] is disabled (but CRC16 for
DAEnetIP3 [01] is enabled. DAEnetIP3 [00] receives TCP/IP data with
serial address 00. Data is sent over the serial line to DAEnetIP3 [01]
without added CRC16 checksum. DAEnetIP3 [01] checks the CRC16
checksum and notice that there is CRC16 error. So the response that
DAEnetIP3 [01] performs response over the serial line with error code E3.
DAEnetIP3 [00] retransmits this error (E3) response over the TCP/IP
network.
Example 7: CRC16 for DAEnetIP3 [00] is enabled. DAEnetIP3 [00]
receives data with serial address 00 from the serial line. It checks the
CRC16, remove the checksum and resent the data over the TCP/IP
network. The data may be received by remote host application and
notification may be indicated. DAEnetIP3 [00] sends answer back to the
serial line.
Example 8: CRC16 for DAEnetIP3 [00] is enabled. DAEnetIP3 [00]
receives data with serial address 02 from the serial line. Because the
serial address is not 00, but 02, then the data is just passed over the
TCP/IP network.
Generally DAEnetIP3 performs/checks CRC16 checksum calculations:
Only if this is enabled by the user (setting the CRC16 enable parameter
from web: Serial Port -> CRC16.
Only for the serial line (UART).
A good online tool for CRC16 calculation is:
http://www.lammertbies.nl/comm/info/crc-calculation.html