• Optical Instruments
  • Vol. 35, Issue 1, 70 (2013)
LI Huiyan1, FEI Peng2, and SHEN Yuming1
Author Affiliations
  • 1[in Chinese]
  • 2[in Chinese]
  • show less
    DOI: 10.3969/j.issn.1005-5630.2013.01.014 Cite this Article
    LI Huiyan, FEI Peng, SHEN Yuming. A design of communication processor module based on Modbus/TCP protocol[J]. Optical Instruments, 2013, 35(1): 70 Copy Citation Text show less

    Abstract

    To realize the functions of communications processor module, an embedded TCP/IP protocol stack was proposed based on the uC/OS-II real-time operating system and the hardware platform of ARM7 kernel, which can support multi-threaded real time application by transplanting the LwIP to ARM development platform. On the communication application layer, the Modbus frames was embedded to the TCP frames, and the Modbus/TCP protocol communication structure model was analyzed, in order to ultimately achieve the embedded Modbus/TCP communication protocol simply and reliably. The results indicated that the Modbus/TCP data transfer between client and server was realized stably and effectively by combining with Modbus/TCP protocol and establishing several thread functions.