摘要
在MatPLC环境下设计了一个输入模块、一个输出模块和一个MatPLC配置文件。输入模块通过驱动程序从PCI卡中读取数据,传送到MatPLC内核的全局变量中,输出模块从内核全局变量读取数据并进行逻辑运算,再输出到PCI卡。将它们编译通过,并进行测试,最终实现软PLC对外围IO端口的读写。
Under the MatPLC environment, design an input model, an output model and a MatPLC config file. Input model reads data from PCI card via drive progress, then transmits it to generic variables of MatPLC core, output model gets the data from the core then make logical operations and transmit it to the PCI card. These translated tested procedures all finally get outer IO read -write achieved with PLC.
出处
《仪表技术》
2008年第1期36-37,40,共3页
Instrumentation Technology