-
驱动例,优秀代码。
driver example, excellent code.
- 2022-02-27 02:10:15下载
- 积分:1
-
华为GTM900C程序代码
#include "config.h"
INT8U RBUF;
INT8U TDAT,RDAT;
INT8U TCNT,RCNT;
INT8U TBIT,RBIT;
BOOLEAN TING,RING;
BOOLEAN TEND,REND;
INT8U uc_rxdIndex,uc_rxdDealIndex;
INT8U uc_uartBuf[UART_BUF_LEN];
INT8U uc_uartRecFifoLen; /* 接收FIFO中的数目 */
BOOLEAN b_uartRecFifoFlag;
INT16U us_allSendCnt;
INT8U uc_sendCnt;
//INT8U * pSendBuf;
INT8U * p_pSendBuf[P_SEND_BUF_LEN]; /* 要发送的数据的指针 */
INT8U uc_pSendBufLen[P_SEND_BUF_LEN]; /* 每个指针包含的数据长度 */
INT8U uc_pSendBufIndex;
INT8U uc_pSendBufDealIndex;
- 2022-02-21 22:52:47下载
- 积分:1
-
利用DSP HPI实现PC程序与DSP程序间的数据交换,Mailbox起辅助作用。当对DSP存储区进行大量持续访问时这种方式很适合。...
利用DSP HPI实现PC程序与DSP程序间的数据交换,Mailbox起辅助作用。当对DSP存储区进行大量持续访问时这种方式很适合。-PC procedures and the procedures for DSP data exchange, Mailbox play a supporting role. When the DSP storage area sustained extensive interview this approach is well suited.
- 2023-09-02 19:55:03下载
- 积分:1
-
rs码的编码,里面包含了诸如有限域的生成构造等很多有用的算法...
rs码的编码,里面包含了诸如有限域的生成构造等很多有用的算法-rs encoding code, which contains a limited domain such as the generation of structure, and many other useful algorithms
- 2022-01-26 08:32:19下载
- 积分: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
-
ui form windows csharp
ui form windows csharp
- 2022-03-19 04:34:56下载
- 积分:1
-
NetTERM V4.2一个不错的通信调试工具
NetTERM V4.2一个不错的通信调试工具-NetTERM V4.2 a good debugging tool for communication
- 2022-06-02 16:11:59下载
- 积分:1
-
这个脚本页面
this the scripts page-this is the scripts page
- 2022-02-06 16:49:31下载
- 积分:1
-
Can take advantage of multiple antenna transmitter sends separate signals, while...
发射机可以利用多个天线分别发送信号,而接收机则利用多个天线来接收和恢复原始信息。
- 2022-01-26 04:59:12下载
- 积分:1
-
QT实现简易UDP传输
资源描述
UDP是轻量级,不可靠,面向数据报的,无连接的协议,也能够与可靠性不是非常重要的情况下。
在Qt平台下编程,实现简易的本地主机的UDP报文传输。
QUdpSocket类用来发送和接受UDP数据包,这里的Socket简单来说就是一个IP地址和一个Port端口号,其中IP地址制定了网络中的一台主机,而端口号制定了该主机上的网络程序,这样使用套接字就可以实现网络上两台应用程序之间的通信。
- 2022-03-03 07:38:27下载
- 积分:1