Wednesday, January 4, 2012

Difference between RTU and ASCII





ASCII Mode:
When tools are setting up to correspond on a network of Modbus with ASCII (American Standard Code for Information Interchange) mode, every 8 bit byte in a communication is transferred as 2 characters of ASCII. The main benefit of this mode is that it enables intervals time of up to one second to happen between characters without causing an error.
The format for every byte in mode of ASCII is:
The System Coding: characters of ASCII 0–9, Hexadecimal, A–F One character of hexadecimal included in every character of ASCII in the message
Bits: one set off bit 7 data bits, smallest amount important bit sent initial bit for level or parity of odd; if parity is used there is no bit or there is no parity1 stop bit, if no parity used 2 bits.
The Field of Error Check is Longitudinal Redundancy Check

RTU Mode:
In the other word, when tools are setting up to correspond on a network of Modbus with RTU mode, every 8–bit byte in a communication consists two 4 bit characters of hexadecimal. The key benefit of this mode is that its better character solidity enables better data through than ASCII for the same baud rate.
Every message has to be sent in a constant stream. The format for every byte in mode of RTU is:
The System Coding: the binary 8 bit, the character of hexadecimal 0–9, A–F characters of Two hexadecimal comprised in every 8 bit field in the message
Bits: one set off bit 8 data, minimum important bit transmitted original 1 bit for level or odd parity; if the parity is used, there is no bit for no parity 1 stop bit; if no parity there is used 2 bits.
The Field of Error Check is Cyclical Redundancy Check.


Labels:

Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to program-plc.blogspot.com




We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !