• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (09): 1662-1667.

• 论文 • Previous Articles     Next Articles

A token-ring-like real-time response algorithm
of Modbus/TCP message based on μC/OS-II             

SUN Zhonghao,ZHOU Xingshe,ZHANG Kailong   

  1. (School of Computer Science,Northwestern Polytechnical University,Xi’an 710072,China)
  • Received:2012-12-20 Revised:2013-04-24 Online:2014-09-25 Published:2014-09-25

Abstract:

Modbus/TCP industrial Ethernet standard cannot guarantee the realtime capability by itself. A token ring scheduling algorithm is designed, which uses priority to achieve the realtime response to highpriority Modbus/TCP messages. Based on that, a weighted token ring scheduling algorithm and a weightvariable token ring scheduling algorithm are developed to meet the customizable and changeable time delay demands. Finally, the response delay on a μC/OSII+ARM7 platform is measured to be 1.15±0.15ms, which is superior to most current researches that aim at improving the realtime capability of Modbus/TCP, and what’s more, it reaches the level of POWERLINK working in open mode.

Key words: Modbus/TCP;industrial Ethernet;μC/OS-II;real-time capability;token-ring