Exceptions; Crc - Emerson E300 Series Design Manual

Advanced elevator drive / dedicated elevator variable speed ac drive for induction and permanent magnet motors
Hide thumbs Also See for E300 Series:
Table of Contents

Advertisement

Safety
Product
Mechanical
information
information
installation
Master request
Byte
Value
0
0x01
Slave destination node address
1
0x17
Function code 0x17
2
0x40
Start register Pr 00.057
16384 + (100 x 0) + 57 – 1) = 16440 = 0x4038
3
0x38
4
0x00
Number of 16 bit registers MSB
5
0x02
Number of 16 bit registers LSB
6
0x40
Start register Pr 00.054
16384 + (100 x 0) + 54 – 1) = 16437 = 0x4035
7
0x35
0x00
Number of 16 bit registers to write MSB
0x02
Number of 16 bit registers to write LSB
0x04
Length of register data to write (bytes)
0x00 0x00
8-11
Register data 0
0x00 0xC8
16
0x6B
CRC LSB
17
0x61
CRC MSB
Slave response
Byte
Value
0
0x01
Slave destination node address
1
0x17
Function code 0x10
2
0x04
Length of register data in read block (bytes)
0x00 0x00
3-6
Register data 0
0x00 0x00
7
CRC MSB
8
CRC MSB
11.6

Exceptions

The slave will respond with an exception response if an error is detected
in the master request. If a message is corrupted and the frame is not
received or the CRC fails then the slave will not issue an exception. In
this case, the master device will time out. If a write multiple (FC16 or
FC23) request exceeds the slave maximum buffer size then the slave
will discard the message. No exception will be transmitted in this case
and the master will time out.
Exception message format
The slave exception message has the following format:
Byte
0
Slave source node address
Original function code with bit7 set (e.g. FC 0x03 will be
1
returned as 0x83)
2
Exception code
3
CRC LSB
4
CRC MSB
Exception codes
The following exception codes are supported:
Byte
1
Function code not supported
Register address out of range, or request to read too many
2
registers
11.7

CRC

The CRC is a 16 bit cyclic redundancy check using the standard CRC-16
polynomial x16 + x15 + x2 + 1. The 16 bit CRC is appended to the
message and transmitted LSB first.
The CRC is calculated on ALL the bytes in the frame.
E300 Design Guide
Issue Number: 1
Electrical
Getting
User Menu A Commissioning
installation
started
Description
Description
Description
Description
Advanced
Diagnostics Optimization
Parameters
CT MODBUS RTU
Technical Data
483

Advertisement

Table of Contents
loading

Table of Contents