12.07.2015 Views

Altistart 22 - Schneider Electric

Altistart 22 - Schneider Electric

Altistart 22 - Schneider Electric

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modbus FunctionError managementException responsesAn exception response is returned by a slave when it is unable to perform the request which is addressed to it.Format of an exception response:Slave Response ErrorCRC16no.codecodeLo1 byte 1 byte 1 byte 2 bytesHiResponse code: request function code + 16#80.Error code:1 = The function requested is not recognized by the slave2 = The bit or word addresses indicated in the request do not exist in the slave3 = The bit or word values indicated in the request are not permissible in the slave4 = The slave has started to execute the request but cannot continue to process it completelyCRC16 calculationThe CRC16 is calculated on all the message bytes by applying the following method:Initialize the CRC (16-bit register) to 16#FFFF.Enter the first to the last byte of the message:CRC XOR —> CRCEnter8 timesMove the CRC one bit to the rightIf the output bit = 1, enter CRC XOR 16#A001—> CRCEnd enterEnd enterThe CRC obtained will be transmitted with the low order bytes sent first, followed by the high order ones (unlike the other data contained inModbus frames).XOR = exclusive OR.72 BBV51330 08/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!