文档介绍:中文摘要
论文以松下FP1系列PLC为研究对象,协议,有关远程测控系统开发,以及PLC指令的机器代码进行系统研究,并在此基础上开发B/S 模式的Web远程测控系统。
论文首先介绍了PLC的运用领域和发展前景;协议进行了系统的研究分析,以实验统计的方式,得出了PLC基本指令的机器代码表;,开发了PLC与上位机的人机界面,简单实现了上位机对PLC端口,寄存器,定时器以及布尔命令的读写功能。接下来又介绍了通讯原理和通讯模式,,比较分析了DateSocket 通讯,TCP通讯和Web通讯的优缺点。最后基于Web通讯技术实现了PLC与上位机的远程通讯。
本文技术对进一步研发PLC与上位机通讯系统提供了一定的借鉴作用。
关键字:松下PLC;上位机;串口通讯;指令机代码;;Web服务器
Design munication System Between PLC puter
ABSTRCT
The paper see the PLC of FP1 series made by Panasonic as the research object, studying for the protocol, the development of remote monitoring and control system, as well as the machine code represented the mand ,and finally build a remote measurement and control system based on the Web in the model of B/S.
Firstly, the application fields and development prospects are introduced in this paper. Secondly, the protocol is studied in a systematic way. Meanwhile, the machine code table of the PLC mand was found in statistical methods by conducting serious experiments. Thirdly, a PC interface lining to PLC was constructed based on ,and it can implement some function simply ,such as read or write the PLC ports ,registers, timers, or the mand and so on. Then the paper introduces munication principle munication mode, munication function in , do parative analysis of the munication, munication and Web in advantages and disadvantages. Finally, the PC interface realizes the long-munication between the host PC and PLC based on Web.
The technology studied in this thesis provides some reference function for the development munications system between PLC and host PC
KEYWORDS:Panasonic PLC; Host PC; munication; Machine Code; ; Web Server
目录
中文摘要 一-2
ABSTRCT 一-3
目录 一-4
第一章绪论 一-5
PLC概述 一-5
PLC在控制领域的发展前景 一-6
PLC与上位机通讯概述 一-7
通讯系统设计方案 一-7
通讯方式选择 一-7
通讯软件设计方式选择 一-7
网络通讯选择 一-8
第二章 PLC的通讯协议 一-10
引言 一-10
Labview与上位机通讯 一-10
。 一-10
一-11