-
以太网通信基于TCP、UDP的客户端服务端实现
资源描述软件包括2个对话框,一个是服务端,一个是客户端,可以实现基于TCP或UDP的网络通信。扩展性强,可以将其文件拷贝到自己工程进行修改。
- 2022-02-22 07:17:10下载
- 积分:1
-
采用udp协议实现的客户端和服务端的互发消息,传输视频功能...
采用udp协议实现的客户端和服务端的互发消息,传输视频功能-Udp protocol implementation with client and service side of each other news of their impending transfer video capabilities
- 2023-03-01 00:35:04下载
- 积分:1
-
云台解码器派尔高D协议,已经包含所有命令,想对来说一般都能看的懂,无特别之处,此版本非变异版本,属于原版!...
云台解码器派尔高D协议,已经包含所有命令,想对来说一般都能看的懂,无特别之处,此版本非变异版本,属于原版!-PTZ decoder Pelco D protocol, already contains all the orders, would like to look for the knowledge generally available and no special feature of this version of non-variant version, belongs to the original!
- 2022-05-22 10:04:37下载
- 积分:1
-
M进制调制,包含。文件和。cpp文件。MPSK似乎越来越大…
M进制调制,包含.h文件和.cpp文件。MPSK似乎越来越被广泛运用了-M ary modulation, contains. H files and. Cpp file. MPSK seems more and more extensive use of the
- 2023-05-15 06:20:03下载
- 积分:1
-
SerialPort Class to use to send and receive serial data to complete a small prog...
使用SerialPort类完成串口数据收发的小程序-SerialPort Class to use to send and receive serial data to complete a small program
- 2022-05-13 13:57:05下载
- 积分:1
-
自己总结的椭圆检测算法的比较。对每种算法都说出来了优劣来...
自己总结的椭圆检测算法的比较。对每种算法都说出来了优劣来-Summing up their own elliptical detection algorithm comparison. Of each algorithm has advantages and disadvantages that come out to
- 2022-12-29 18:35:03下载
- 积分:1
-
编码器工作原理绝对脉冲编码器:APC
增量脉冲编码器:SPC
编码器工作原理绝对脉冲编码器:APC
增量脉冲编码器:SPC
-goode werf sdfvsdf wqete gerg
- 2022-01-24 16:49:09下载
- 积分: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
-
on various platforms Socket Programming good Dongdong.
介绍各种平台进行SOCKET编程的好东东。-on various platforms Socket Programming good Dongdong.
- 2022-10-12 11:50:03下载
- 积分:1
-
This is a source of UWB is not only an indication as to the use of reference pap...
这是一个超宽带的源码, 不仅有使用说明还有论文参考-This is a source of UWB is not only an indication as to the use of reference papers
- 2022-03-19 19:23:54下载
- 积分:1