-
测试串口程序,包括收发信息,16进制机制
测试串口程序,包括收发信息,16进制机制-a program which can test series, include sending and receiving message, hex mechanism
- 2022-01-22 08:39:25下载
- 积分:1
-
我编的串口通读链接库,采用压缩BCD码,传送产率特高
我编的串口通读链接库,采用压缩BCD码,传送产率特高-I read through the series of serial-link library, using compressed BCD code, send the yield of high
- 2023-04-28 22:00:03下载
- 积分:1
-
UDP
一个基于UDP的网络编程,我自己写的,希望对大家有帮助-UDP-based network programming, I wrote it myself, in the hope that everyone has to help
- 2023-04-07 02:30:04下载
- 积分:1
-
C++实现的串口通信类,已经封装好的,希望有帮助。
C++实现的串口通信类,已经封装好的,希望有帮助。-C++ Realize the serial communication type has a good package, I hope have helped.
- 2023-07-31 00:00:02下载
- 积分:1
-
Learning process and thread examples enhance the understanding of processes and...
学习进程和线程的例子,增强对进程和线程的理解和应用。-Learning process and thread examples enhance the understanding of processes and threads and applications.
- 2022-06-17 12:22:23下载
- 积分:1
-
As the field of Qt Embedded GUI has been more and more popular, for beginners, e...
Qt作为嵌入式领域的GUI已经越来越流行,对于初学者,尤其是linux的新手,往往遇到这样那样的问题,本文档用最易懂的语言一步一步带你走入Qt的世界。-As the field of Qt Embedded GUI has been more and more popular, for beginners, especially newcomers to linux are often encountered in this kind of problem, the document with the most easy-to-understand language, step by step with you into the world of Qt.
- 2022-08-13 00:19:47下载
- 积分:1
-
早期的飞信源代码,用微软的集成网络开发工具开发的
早期的飞信源代码,用微软的集成网络开发工具开发的-Early flying source code, using Microsoft" s integrated Web development tool development
- 2023-02-01 23:50:04下载
- 积分:1
-
c# plc modibus 通信
c# 串口 以太网通信 modibus 连接 plc
从文本框输入负数 -2 补码=反+1=进位+原数
Vb 清除输入缓冲区 输出缓冲区 c#用不用清除??哪个函数??
//發送二進制數據 ??????????????
private void SendBytesData(SerialPort serialPort)
{ ////从 文本框取得数据 如果负数 -2 怎么办????
byte[] bytesSend = Encoding.Default.GetBytes(txtSend.Text);
spcom.Write(bytesSend, 0, bytesSend.Length);
}
通过MODBUS TCP读写PLC源码
功能模块一:读写PLC主模块
using System;
using System.Net;
using System.Net.Sockets;
public static void WriteWord(int mwAddress,int mwValue)
{写字到以太网
if (init_plc() == 0)
{
try
{
hi = mwAddress / 256;
low = mwAddress - hi * 256;
hi1 = mwValue / 256; ///////////16bit
low1 = mwValue - hi * 256;
sendBuf[7] = 6;
sendBuf[8] = (byte)hi;
sendBuf[9] = (byte)low;
sendBuf[10]
- 2022-07-10 15:42:30下载
- 积分:1
-
Turbo编码与编码
turbo codeing and encodeing
- 2023-08-12 00:30:02下载
- 积分:1
-
matlab code monto carlo binary shift keying
matlab code monto carlo binary shift keying
- 2022-03-16 23:48:34下载
- 积分:1