IEEE Paper On Modbus
IEEE Paper On Modbus
IEEE Paper On Modbus
Abstract: Flotation level control is a very important part in the flotation mineral separation process. This article
introduces one application of the Modbus RTU protocol which used in the flotation liquid level control system, discusses
the S7-300's programming ideas and methods which based on the form of communication, and optimize the
communication strategy. The practical application shows that the system of flotation liquid level control which based on
Modbus RTU protocol can get better control effect, and ensure a good target for the mineral separation.
Key Words: Modbus RTU Protocol, Liquid-level Control, UDC3200, CP341, The Flotation Process
978-1-4673-5534-6/13/$31.00 2013
c IEEE 3603
on connected different types of bus or network equipment. station imme- diately receive the data. The first frame of
There has two kinds of transfer mode in Modbus system: messages which send by the host station is the address
ASCII (American information exchange code) and RTU frame, and the address field is 1b. The slave device address
(remote terminal unit), each Modbus system can only use could be 0-247 (Dec). The subordinate station records the
one model, not combination[3]. The definition of the two address and determine to perform the function. To use the
kinds of modes shows on table 1 and table 2[4]. function code control to exchange data in Modbus system,
which is the 2nd byte of each transmitted communication
message frame. The master station send the request which
use the function code to tell slave-machine what to do; and
the subordinate station response the request, who return a
function code like the host sending which shows that the
subordinate station has response the master station and has
done the operation. The master station or the subordinate
station uses CRC-16 check method to distinguish the
receiving information. The error detection domain content
is obtained by detecting whether the message's content is
long or not. CRC domain attached to the messages' end,
added from low byte to high byte.
4 Conclusion
In this project, it achieves stable communication between
the process controller and CP341 by the optimized design
based on Modbus protocol. Huize concentrator practice
shows that the set of level control and technical solutions
used in the flotation units fully able to meet the
technological requirements of the zinc germanium ore
flotation, equipment operation is reliable, accurate slurry
liquid level to ensure a good index of mineral separation.
The next step is to design a set of algorithms, completion of
the PID parameters self tuning in order to achieve more
excellent control effect.
REFERENCES
[1] Z.M. Shao and Y. Gao, Study and application of
process control system for flotation in copper conce-
ntrator, Mining & etallurgy,Vol.21,No.1, 2012.
[2] Siemens(China)Ltd., CP340/CP341/CP440/CP441
Communication and Programming, [Online] Available:
http://www.ad.siemens.com.cn/, 2005.
[3] Modbus Organization, Modbus application protocol
speci¿cation, [Online]. Available: http://www.modbus.org,
2006.
[4] Modbus Organization, Modbus over Serial Line
Fig 3. The program flow diagram Speci¿cation and Implementation Guide,
[Online].Available: http://www.modbus.org, 2006.
3.4 CRC Checking Realize [5] Y.P. Jang and H. Zhang, A Motor temperature measur-
It is very important to check message frame CRC for the ement system based on the Modbus RTU protocol Achieved
host station and the slave. The program of check CRC is the in the field of raw materials Jingtang, Metallurgical Industry
Automation, S2, 2010
prerequisite of the communication program operation
successful. The salve RTU station can correctly answer the [6] Honeywell International Inc., UDC3200 Universal Digital
Controller Product Manual, 2008.
request of the master and the master also receive data
correctly if the result of CRC checking. The CRC domain is [7] Siemens(China) Ltd. CP341 Modbus RTU Polling
MultiSlav- es, [Online] Available:
2 bytes, including 16 bit binary value. At first, the CRC call
http://www.ad.siemens.com.cn/, 2009.
the 16 bit register which filled with "1", then call a process
[8] H.F. You, Communication Between Single Chip Microco-
to deal the value of each register which is continuous 8 bit
mputer and Touch-Screen by Modbus, PC in industry contr-
in the message. Only the 8 bit of each character have a good ol, 63-65, 2008.
effective to CTC, not the start bit, not the end bit, not the [9] F. Xu, The application of Modbus protocol in Qujiang mine
parity bit. Every 8 bit character do a or operation with the gas power generation project ,Coal Engineering, 124- 126 ,
content of register when the CRC execute, and the result 2011.
move to the lowest effective bit with o filled in the highest [10] Q. Chen , Non-driver Application of Modbus Protocol in
effective bit. To test the LSB, if the result is 1, the register's S7-300, Computer Engineering, Vol.35, No.11, 254-259,
value deal or with the preset value; if 0, do nothing. The 2009.
whole process will repeat 8 times. [11] Y.H. Shi, J.W. Wu, S.J. Lian, H.B. Tang, The application of
Modbus RTU in the management system of boundary switch,
Smart grid and advanced power equipment Symposium
academic annual meeting, 2011.