-
ComPort Library是一套用来编写串口通讯程序的控件。它包含5个控件:TComPort, TComDataPacket, TComComboBox,...
ComPort Library是一套用来编写串口通讯程序的控件。它包含5个控件:TComPort, TComDataPacket, TComComboBox, TComRadioGroup and TComLed。利用这些工具(当然还有DELPHI开发环境),你能更快更简单地开发串口通讯程序。包含Delphi上下文相关的帮助文件和源代码(4000行)。功能无限制。源代码:包含。适用语言:CB3 CB4 CB5 D3 D4 D5-ComPort Library is a set of procedures for the preparation of serial communication control. It contains five controls: TComPort, TComDataPacket, TComComboBox, TComRadioGroup and TComLed. Use of these tools (of course, DELPHI development environment), you can faster and easier development of serial communication program. Delphi contains context-sensitive help files and source code (4000 lines). Features unlimited. Source code: contains. Applicable language: CB3 CB4 CB5 D3 D4 D5
- 2022-04-30 06:20:59下载
- 积分:1
-
通过ftp方式下载指定的文件
通过ftp方式下载指定的文件- Document assigns which through ftp way downloading
- 2022-04-27 03:16:59下载
- 积分:1
-
winzip的源程序
winzip的源程序-winzip source
- 2022-08-24 22:58:16下载
- 积分:1
-
关于串口通讯的类,很方便的读写串口进行通讯。
关于串口通讯的类,很方便的读写串口进行通讯。-On the serial communication class, it is easy to read and write serial port to communicate.
- 2022-06-17 12:52:25下载
- 积分:1
-
GSM basic principles of theory and knowledge related to environmental documentat...
GSM原理理论及相关基础知识文档幻灯片微软环境-GSM basic principles of theory and knowledge related to environmental documentation Microsoft Slide
- 2022-01-22 11:38:37下载
- 积分:1
-
atsc transmitter implement
c++实现的地面数字电视ATSC标准,从加扰到网格编码调制均测试可用。ATSC的英文全称是Advanced Television Systems Committee(美国高级电视业务顾问委员会)。该委员会于1995年9月15日正式通过ATSC数字电视国家标准。ATSC制信源编码采用MPEG-2视频压缩和AC-3音频压缩;信道编码采用VSB调制,提供了两种模式:地面广播模式(8VSB)和高数据率模式(16VSB)。
- 2022-07-01 09:13:26下载
- 积分:1
-
在dos下读写pci卡
在dos下读写pci卡-pci card reader
- 2022-01-28 12:48:04下载
- 积分:1
-
An instant messaging tool, similar to Tencent, Tencent with the basic functions,...
一个即时通信工具,类似于腾讯,具备腾讯的基本功能,可以聊天,传送文件,使用微软推荐的数据库-An instant messaging tool, similar to Tencent, Tencent with the basic functions, you can chat, transfer files, use the Microsoft recommended database
- 2022-06-14 23:45:29下载
- 积分:1
-
12路usb数据采集程序,配合usb采集卡使用,简单、方便!
12路usb数据采集程序,配合usb采集卡使用,简单、方便!-Route 12 usb data collection procedures with the use of USB Capture Card, a simple and convenient!
- 2022-02-03 18:52:10下载
- 积分:1
-
MODBUS RTU 51与维纶触摸屏通信例程。
应用背景51和维纶触摸屏的通信。MODBUS RTU 51与维纶触摸屏通信例程。支持的功能码:位:01(读)、05(写),字:03(读)、06(写)还有与数码管显示输入的数据!注释的也比较详细。个人觉得移植性也比较好。各种的单片机上可以移植修改,关键技术51单片机与威纶通触摸屏通讯说明
本程序仅作为一个通信示例程序,实际使用需要根据需要修改。
请使用EB8000 V3.45以上软件打开触摸屏程序,程序为压缩后的触摸屏程序,请使用EB8000软件 工具——压缩/解压缩 菜单下的工具先进行解压缩;单片机使用Keil uVision3 V3.50编译
一、硬件连接
使用ATMEl 89S52单片机。
二、软件
1、通讯环境
触摸屏设置为主站,即PLC 类型 MODBUS RTU,通讯参数设为“9600,N,8,1”。
2、触摸屏程序,需要读取八个位,以及八个字,每次最少读取16个位,字可以一次读取一个也可以一次读取八个。
有0X1-0X8八个位切换开关,6X1-6X8八个字输入元件,支持的功能码:位:01(读)、05(写),字:03(读)、06(写)
当没有写操作时,屏不断的向单片机发送如下码(16进制显示):
01 01 00 00 00 10 3D C6 (位读取)
01 03 00 00 00 08 44 0C (字读取)
此时,如果不给屏发送相应返回值的话,屏就会提示“PLC no response”
3、51单片机程序思路及说明
- 2022-02-02 15:58:29下载
- 积分:1