EasyManuals Logo

AccuEnergy Acuvim II series User Manual

AccuEnergy Acuvim II series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #242 background imageLoading...
Page #242 background image
234
in the data eld, and the data to be written into the registers.
If no error occurs, the data eld of a response from a slave to a master contains
the data requested. If an error occurs, the eld contains an exception code that
the master application can use to determine the next action to be taken. The
data eld can be nonexistent (of zero length) in certain kinds of messages.
Error Check Field
Every message includes an error checking eld which is based on the Cyclical
Redundancy Check (CRC) method. The CRC field checks the contents of the
entire message. It is applied regardless of any parity check method used for
the individual characters of the message. The CRC field is two bytes long,
containing a 16-bit binary value. The CRC value is calculated by the transmitting
device, and is appended to the message.
The receiving device recalculates the CRC value during reception of the
message, and compares the calculated value to the actual value it received in
the CRC eld. If the two values are not equal, an error will be reported. CRC
calculation is first started by preloading the whole 16-bit register to 1’s. The
process begins by applying successive 8-bit bytes of the message to the current
contents of the register. Only the eight bits of data in each character are used
for generating the CRC. Start and stop bits, and the parity bit, do not apply
to the CRC. When generating the CRC, each 8-bit character is exclusive ORed
with the register contents. The result is shifted towards the least signicant bit
(LSB), with a zero lled into the most signicant bit (MSB) position. The LSB is
extracted and examined, if the LSB equals to 1, the register is exclusive ORed
with a preset, xed value; if the LSB equals to 0, no action will be taken. This
process is repeated until eight shifts have been performed. After the last (eighth)
shift, the next 8-bit byte is exclusive ORed with the register's current value,
and the process repeats for eight more shifts as described above. After all the

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AccuEnergy Acuvim II series and is the answer not in the manual?

AccuEnergy Acuvim II series Specifications

General IconGeneral
BrandAccuEnergy
ModelAcuvim II series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals