-
假定你需要你的程序能够停止线程,你需要一个告诉线程何时停止的方法,这个可以实现。...
假定你需要你的程序能够停止线程,你需要一个告诉线程何时停止的方法,这个可以实现。-assume you need you can stop the process threads, you need a thread when told to stop, this can be achieved.
- 2022-04-21 20:13:36下载
- 积分:1
-
给出了纠错编码中BCh码BMA迭代译码方法的整个流程及仿真程序...
给出了纠错编码中BCh码BMA迭代译码方法的整个流程及仿真程序-Error-correcting code is given in the BMA Code BCh iterative decoding methods and the whole process simulation program
- 2022-03-18 01:37:36下载
- 积分: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
-
卷积码(2,1,6),完整的工程文件,已经调试通过
卷积码(2,1,6),完整的工程文件,已经调试通过-Convolutional code (2,1,6), complete engineering documents have been debugging through
- 2022-02-14 05:33:54下载
- 积分:1
-
这是一本使用opc客户端编程的简单实例并包含说明.入门级介绍...
这是一本使用opc客户端编程的简单实例并包含说明.入门级介绍-This is a opc client-side programming using simple examples and includes instructions. Entry-level introduction
- 2022-03-06 02:36:08下载
- 积分:1
-
i2c How To Use It guide
i2c How To Use It guide
- 2023-04-25 18:20:03下载
- 积分: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
-
一个TAPI的示例程序,用来演示TAPI的调用过程。通过MODEM拨打电话...
一个TAPI的示例程序,用来演示TAPI的调用过程。通过MODEM拨打电话-examples of a TAPI procedures used to demonstrate the process called TAPI. Through telephone calls MODEM
- 2022-08-05 22:43:34下载
- 积分:1
-
Chinese RFC documents, without translation, the right to study very helpful!
中文RFC文件,无需翻译,对学习很有帮助!
- 2022-01-25 23:23:38下载
- 积分:1
-
sockt编程,不用说了吧,经常用的,可以为大家省很多事。
sockt编程,不用说了吧,经常用的,可以为大家省很多事。-sockt programming, needless to say the bar, often used can be a lot of things for the U.S. Province.
- 2022-02-01 23:40:53下载
- 积分:1