The Message Format 6-7Normal Response MessageA normal response message for the loop-back test should be identical to the command message.Fault Response MessageThe fault response message contains the same slave address as the command message,indicating to the master which slave is responding.The function code of a fault response message is actually a value of 80h plus the original functioncode of 08h. This indicates to the master that the message is a fault response message, instead ofa normal response message.The error code indicates where the error occurred in the command message. A complete listing ofthe error codes is shown in Chapter 8, Troubleshooting and Error Codes.A CRC-16 value is generated from a calculation using the values of the address, function code, anddata sections of the message. The procedure for calculating a CRC-16 value is described at the endof this chapter. When the master receives the fault response message it calculates a CRC-16 valueand compares it to the one in the CRC-16 field of the fault response message. If these two CRC-16values are the same the master has received the proper fault response message.01hSLAVE ADDRESS80h + FUNC. CODE 88h01h87hC0hCRC-16LOWERUPPERERROR CODEDATA01hSLAVE ADDRESSFUNCTION CODE 08h00h00hA5h37hDAh8DhTESTCODECRC-16UPPERLOWERUPPERLOWERLOWERUPPER