IM300 Intelligent Power Monitoring Instrument
63
01H: read the output status of the relay.
02H: read the input status of remote.
03H: read register data.
04H: read the input data of register.
05H: single relay output.
06H: write a single register.
10H: write multiple registers.
55H: read the switch amount SOE information.
56H: read the alarm of SOE information.
Data code
:
Data length is uncertain, data domain is the main station and slave station to read
and write register to carry on data exchange.
Error code
:
The error codes supported by IM300 include the following:
Error code
Name
Explain
01
Illegal function code
Function code not supported by
sub-station.
02
Illegal address
The
register
address
not
supported by the sub-station.
03
Illegal data
Master
station
data
not
supported by sub-station.
Check:
The data may be interfered with and changed during the transmission. The check
can detect whether the data has changed during the transmission, and ensure that the
host or the terminal does not respond to the erroneous data. The 16-bit cyclic
redundancy check (CRC16) is used for verification. The procedure for calculating
CRC-16 is described below.
The relevant byte in the frame is defined as a string of binary data (0,1). The 16th
checksum is obtained as follows: The stream of data streams is multiplied by 216 and
then divided by the generator polynomial (X16 + X15 + X2 + 1), which is expressed
in binary as 1100000000000101, the quotient is ignored and the remainder of 16 bits
is the CRC value . When calculating CRC-16 values, modulo two or XOR algorithms
are used for all arithmetic operations. The CRC-16 checksum is generated as follows:
①
Omit the most significant bits of the generator, and reverse the order of the
Summary of Contents for IM300 Series
Page 1: ...IM300 Operational Manual ...
Page 109: ...CNABB CNIIB IM300 201903 REV C ...