-
example MSComm
MSComm串口通信示例-example MSComm
- 2022-05-17 07:04:57下载
- 积分:1
-
The code is on the regular shutdown procedure, can help understand the timing an...
本代码是关于定时关机的程序,能帮助理解定时关机的原理及实现过程-The code is on the regular shutdown procedure, can help understand the timing and realization of the principles of the shutdown process
- 2022-03-10 03:44:11下载
- 积分: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
-
Remoting广播源码,主要应用于局域网信息广播,可用作视频点播开发的参考...
Remoting广播源码,主要应用于局域网信息广播,可用作视频点播开发的参考-Remoting radio source, mainly for the LAN information broadcasting, Video-on-Demand can be used as a reference for the development of
- 2022-08-22 17:26:55下载
- 积分:1
-
一个简单的dll库,封装了串口通信的链接,发送,接收。对这方面有兴趣的来学习。...
一个简单的dll库,封装了串口通信的链接,发送,接收。对这方面有兴趣的来学习。-A simple dll library encapsulates the serial communication link, send, receive. In this regard are interested to learn.
- 2022-05-07 04:12:20下载
- 积分:1
-
用MATLAB产生GOLD序列,大家可以学习一下~
用MATLAB产生GOLD序列,大家可以学习一下~-GOLD sequence generated using MATLAB, we can learn from you ~
- 2022-02-18 14:58:41下载
- 积分:1
-
USB硬件设备检测到USB硬件检测
usb硬件设备的检测 usb硬件设备的检测-usb hardware devices detected usb hardware detection
- 2022-05-19 09:26:51下载
- 积分:1
-
c8051f340单片机UART 通信
开发工具Keil ,采用单片机C8051F340。主要实现功能,通过485级联通信,采取上位机(串口调试软件)发码的方式,给各从机发指令,每个从机有固定的地址,从机接到指令后进行相应的操作并返回一串码。若发送的码有误,则返回错误指示码。
- 2022-01-26 00:15:18下载
- 积分:1
-
微软亚洲研究院:大规模移动自组网中的服务定位
微软亚洲研究院:大规模移动自组网中的服务定位-Microsoft Research Asia : large-scale mobile network from the service-orientation
- 2022-07-26 09:32:09下载
- 积分:1
-
让数据库输出XML,并且在.net体系下调用出来。
这个系统的数据层是用SQL server数据库,中间层就用SQL自带的工具“在 IIS 中配置SQL X...
让数据库输出XML,并且在.net体系下调用出来。
这个系统的数据层是用SQL server数据库,中间层就用SQL自带的工具“在 IIS 中配置SQL XML 支持”实现就可以了。
-SQL XML
- 2023-08-11 15:30:03下载
- 积分:1