Salicru CV50-008-4F User Manual page 109

Cv50 series
Table of Contents

Advertisement

Baud rate (BPS)
2400
4800
It is recommended to use shielded cables and make the shield layer as the grounding wires during RS485
remote communication.
In the cases with less devices and shorter distance, it is recommended to use 120Ω terminal resistor as the performance
will be weakened if the distance increase even though the network can perform well without load resistor.
9.3.2 RTU mode
9.3.2.1 RTU communication frame format
If the controller is set to communicate by RTU mode in MODBUS network every 8bit byte in the message includes
two 4Bit hex characters. Compared with ACSII mode, this mode can send more data at the same baud rate.
Code system
· 1 start bit
· 7 or 8 digital bit, the minimum valid bit can be sent firstly. Every 8 bit frame includes two hex characters
(0...9, A...F)
· 1 even/odd check bit . If there is no checkout, the even/odd check bit is inexistent.
· 1 end bit (with checkout), 2 Bit(no checkout)
Error detection field
· CRC
The data format is illustrated as below:
11-bit character frame (BIT1~BIT8 are the digital bits)
Start bit
BIT1
10-bit character frame (BIT1~BIT7 are the digital bits)
Start bit
BIT1
In one character frame, the digital bit takes effect. The start bit, check bit and end bit is used to send the digital bit
right to the other device. The digital bit, even/odd checkout and end bit should be set as the same in real application.
The MODBUS minimum idle time between frames should be no less than 3.5 bytes. The network device is detecting,
even during the interval time, the network bus. When the first field (the address field) is received, the corresponding
device decodes next transmitting character. When the interval time is at least 3.5 byte, the message ends.
The whole message frame in RTU mode is a continuous transmitting flow. If there is an interval time (more
than 1.5 bytes) before the completion of the frame, the receiving device will renew the uncompleted message
and suppose the next byte as the address field of the new message. As such, if the new message follows the
previous one within the interval time of 3.5 bytes, the receiving device will deal with it as the same with the
previous message. If these two phenomena all happen during the transmission, the CRC will generate a fault
message to respond to the sending devices.
The standard structure of RTU frame:
START
T1-T2-T3-T4 (transmission time of 3.5 bytes)
ADDR
Communication address: 0~247(decimal system)(0 is the broadcast address)
03H: read slave parameters
CMD
06H: write slave parameters
DATA (N-1)
The data of 2*N bytes are the main content of the communication as well as the core of
data exchanging
...
Communication Protocol
Max. transmission
distance (m)
1800
1200
BIT2
BIT3
BIT4
BIT2
BIT3
BIT4
Baud rate (BPS)
9600
19200
BIT5
BIT6
BIT7
BIT5
BIT6
Max. transmission
distance (m)
800
600
Check
BIT8
End bit
bit
Check
BIT7
End bit
bit
109 - 144

Advertisement

Table of Contents
loading

Table of Contents