INST.No.INE-863B KR2S
【
Communication Interface
】
Instruction Manual
-28-
2. LRC calculation method
The data from a slave address up to the end of the data are calculated by the following procedure.
1) A message is created in the RTU mode.
2) The data from the start (slave address) to the end are added.
→
X
3) The complement (Bit inversion) of X is taken.
→
X
4) 1 is added. (X=X+1)
5) X is attached at the end of the message as the LRC.
6) The entire data is converted into the ASCII character.
Example) When the data is [02H][07H] , the LRC becomes F7H. Therefore the binary message
becomes [02H][07H][F7H] and the ASCII message becomes [30H][32H][30H][37H][46H][37H].
7-3-6
Precautions at the time of data processing
1)
As the measurement data and the decimal place are assigned to different numbers, it is necessary
to use both information at replaying the data.
2)
As each 1 data can be accessed (changed), precautions are necessary at the time of setting the
associated data including Initialization process of the associated data due to change of a range
number, etc.
3)
Read and write the data in the range stipulated by the reference number. Reading and writing of
reference number not stipulated may have an adverse effect on the instrument operation.
4)
At the reading of continuous reference numbers, the data of the reference number not stipulated
becomes “0”.
5)
At the writing to continuous reference numbers, if error is detected, all the settings become
disabled.
Summary of Contents for KR2S
Page 2: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 124: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 125: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 126: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...
Page 127: ...INST No INE 863B KR2S Communication Interface Instruction Manual ...