-
连接Modem的源代码
连接Modem的源代码-linking the source code Modem
- 2023-03-09 09:55:02下载
- 积分:1
-
这是关于短信协议的电子书,我费了老大劲才找到的资料,供大家分享。希望能对搞GPRS通信和嵌入式的朋友有所帮助...
这是关于短信协议的电子书,我费了老大劲才找到的资料,供大家分享。希望能对搞GPRS通信和嵌入式的朋友有所帮助-This is the agreement on the text message e-books, I charge the oldest frozen find information for everyone to share. The hope is to engage GPRS communications and embedded friends help
- 2022-03-14 23:56:54下载
- 积分:1
-
主要介绍3G手机开发,希望能给大家提供帮助
主要介绍3G手机开发,希望能给大家提供帮助-Mainly introduces the development of 3G mobile phones, could you help
- 2022-07-17 08:50:49下载
- 积分: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
-
communications related knowledge : shortwave, spread spectrum, mobile
通信相关知识:短波、扩频、移动-communications related knowledge : shortwave, spread spectrum, mobile
- 2022-07-18 09:14:09下载
- 积分:1
-
adsp fft the standard source code, support adsp 211XX, series, high efficiency
adsp的fft标准源代码,支持adsp 211XX,系列,效率很高-adsp fft the standard source code, support adsp 211XX, series, high efficiency
- 2022-03-13 05:10:18下载
- 积分:1
-
c++编写的串口的收发程序,以单独的类的方式实现。
c++编写的串口的收发程序,以单独的类的方式实现。-c++ prepared to send and receive serial process to a separate category of ways.
- 2022-05-21 02:08:03下载
- 积分:1
-
串口通信程序中串行口设置源代码,简单方便,容易看懂
串口通信程序中串行口设置源代码,简单方便,容易看懂-Serial communication serial port to set the program source code, simple and convenient, easy to understand
- 2023-07-18 06:40:02下载
- 积分:1
-
introde handset software and it is good to moblie learning
introde handset software and it is good to moblie learning -introde handset software and it is good to moblie learning
- 2023-05-12 08:20:03下载
- 积分: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