CD Automation srl
CD3000E-3PH from 25A to 500A
User’s Manual
48
13
MODBUS communication
The serial communication port of the thyristor unit is two-wire RS485 type.
This port use an half-duplex system.
When a Unit must transmit active the transmission line, and when there are not units in transmission
the outputs are fixed to high impedance.
The serial communication port allows to communicate between the thyristor units and a MASTER device
(ex. an computer or a terminal). The cable must be rated for use to data transfer
13.1
MODBUS RTU Protocol
The communication is based on the standard industrial MODBUS RTU with the following restrictions:
•
The Baud rate can be 4800-9600-19200 Baud (Standard 19200).
•
The Preset Multiple Registers (Funct. 16) is limited to the writing of a single parameter
for message.
The following MODBUS functions are supported:
Function
Description
03
Read Holding Registers
16
Preset Multiple Registers
The unit support the Broadcast messages:
It' possible send a Broadcast messages using the address 0, all the units respond at the
message without sending back any reply.
13.2
Message Format
The transmission format is a 1 bit start, 8 date bit, and 1 bit stop with no parity verification.
Each message terminate after a said time of "time out", equal at 3.5 time of a character transmission,
where there are not transitions on the transmission line.
The first Byte of each message is always the address of the unit that is a value from 1 to 255 or 0 for the
broadcast messages, the second is always the function number, and the rest of the message depends of
the function demand.
When a Slave receive an message, the unit send an answer with the same structure but
with the information demanded.
Each message is followed by CRC (Cyclic Redundancy Check) with two byte. The CRC identify the
incongruity situations of the message, in this case the receiver ignore the message.
The CRC is calculated in accordance with a formula that imply a recursive division of the data by a
polynomial.
The polynomial divisor is:
2
16
+ 2
15
+ 2
2
+ 1(Hex 18005)
but is modified in two ways:
•
Since the bits order are reversed, then the binary pattern is also reversed, and the most significant
bit (MSB) is the right-most bit.
•
Since interest only the remainder, the right-most bit could be discarded.
Therefore, the polynomial divisor has value: Hex A001
Normal bit order:
Most significant bit
Least significant bit
Most significant Byte
Least significant Byte
Reversed bit order:
Least significant bit
Most significant bit
Least significant Byte
Most significant Byte
N.B.: With the reversed bit order, also the CRC16 returns the with the reversed bit order
Содержание CD3000 E-3PH
Страница 2: ......