论文部分内容阅读
为了将WorldFIP现场总线技术与传统的开关量控制方法结合起来,介绍了基于WorldFIP的开关量I/O模件,讨论了开关量I/O模件的工作原理及软、硬件的开发设计。模件基于ARM9核心的平台,为实现软PLC虚拟机提供了充分的硬件支持。输入电路有过电压保护的功能,大大减小了现场的安装调试过程中造成的模件损坏。软PLC系统的分为中间码编辑环境和运行环境两部分。编辑环境使用已有的FIPCON软件,运行环境在模件实现,软PLC虚拟机是其主要部分,它采用解释的方式实现中间码的执行。中间码连接了编辑环境和运行环境,在借鉴其它方法的基础上采用了一种相对简单的文法。在开发过程中,对软件和硬件进行了调试和相关测试,最终以解释执行方式实现了开关量的控制。
In order to combine the WorldFIP fieldbus technology with the traditional switch control method, this paper introduces the switch I / O module based on WorldFIP, discusses the working principle of switch I / O module and the development and design of software and hardware. The module is based on ARM9 core platform and provides sufficient hardware support for realizing soft PLC virtual machine. Input circuit has the function of over-voltage protection, greatly reducing the on-site installation and commissioning caused by the module damage. Software PLC system is divided into middle code editing environment and operating environment of two parts. Editing Environment Using the existing FIPCON software, the operating environment is implemented in modules. The soft PLC virtual machine is the main part of it. It implements the implementation of middle code in an interpreted way. The middle code is connected to the editing environment and the operating environment. Based on other methods, a relatively simple grammar is adopted. In the process of development, the software and hardware were debugged and related tests, and finally the implementation of the way to achieve the switch control.