Java实现计算机与OMRONPLC串口通信
· 84 · 工业仪表与 自动化装置 2010年第 1期
Java实现计算机与oMRONPLC串口通信
吴兴军.胡汉春
(北京西动车所;西南交通大学机械工程学院,成都610031)
摘要:OMRONCJ系列PLC在工业 自动化领域中应用广泛。PLC与计算机 串口通信在分布式
控制系统、数据采集系统等方面得到充分应用。通过 PLC串口硬件配置,端 口参数设置,PLC串口
程序设计,Java串口包的设置和Java计算机端串口通信程序编写实现计算机与PLC的串口通信。
关键词:PLC;分布式控制系统;串口通信;
中图分类号:TN91 文献标志码 :A 文章编号:1000—0682(2010)01—0084—03
SerialcommunicationbetweencomputerandOMRON PLC realizedbylanguageofJava
wuXingjun,HUHanchun
(MechanicalSchoolofSouthwestJiaotong( ,Chengdu610031,China)
Abstract:OMRONCJseriesPLC iswidelyusedintheindustrialautomation.Serialcommunication
betweenPLCandcomputerisextensivelyusedindistributedcontrolsystem,dataacquisitionsystem and
SOon.Byhardwareconfigurati