-
基于单片机的数字钟及秒表的设计
本程序是在单片机c51的基础上实现的数字钟和秒表的功能设计。此设计可是在时钟的基础上实现调表,也可以在时钟和秒表之间实现相互换,P2.0,P2.1,P2.2用于选择不同的数码管亮;P2.4用于调表,按下进入调表模式;p2.5使所调位加1; P2.6按键调表恢复数字计数或者秒表恢复数字钟;P2.7按键进入秒表状态。
- 2022-04-06 21:43:29下载
- 积分: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
-
通讯串口编程的一个实例,应用于变电站自动化系统的前置通讯模块...
通讯串口编程的一个实例,应用于变电站自动化系统的前置通讯模块-serial communications programming an example for substation automation system for the front communication module
- 2023-05-25 14:00:03下载
- 积分:1
-
CPCI 2R3
CPCI主规范
CPCI 2R3
CPCI主规范
-CPCI 2R3
CPCI 2.0 R3.0
- 2022-09-22 13:20:03下载
- 积分:1
-
该文档描述了ITU
该文档描述了ITU-T建议H.264视频编码标准的RTP负载类型格式;对采用H.264算法进行视频应用很有帮助。-The document describes the ITU-T recommendation H.264 video coding standard RTP load type format algorithm using H.264 video applications helpful.
- 2022-07-19 07:52:04下载
- 积分:1
-
通过USB控制外部的端口,如程序里演示的遥控小车控制,对摄像头进行控制,是使用了VFW.lib的BCB源代码,希望有心人能有所收获。...
通过USB控制外部的端口,如程序里演示的遥控小车控制,对摄像头进行控制,是使用了VFW.lib的BCB源代码,希望有心人能有所收获。-USB external control ports, such as procedures to demonstrate remote control car, right camera control is the use of VFW.lib the BCB source code, Kind can hope to gain something.
- 2022-08-10 22:45:15下载
- 积分:1
-
在发送和接收短信(短消息服务)消息的命令。
AT commands for sending and receiving SMS (Short Messages Service) messages.
- 2023-04-13 06:35:04下载
- 积分:1
-
tc35i MOBILE phone CIRCUIT tc35i MOBILE phone CIRCUIT
tc35i MOBILE phone CIRCUIT tc35i MOBILE phone CIRCUIT-tc35i MOBILE phone CIRCUITtc35i MOBILE phone CIRCUITtc35i MOBILE phone CIRCUIT
- 2023-06-16 23:00:03下载
- 积分:1
-
是本人编写的串行通信的程序
是本人编写的串行通信的程序- Is serial communication procedure which myself compiles
- 2022-03-03 01:55:08下载
- 积分:1
-
是一个关于解相关多用户检测的matlab源程序以及程序说明
是一个关于解相关多用户检测的matlab源程序以及程序说明
-Is the a on decorrelating multi-user detection matlab source, as well as description of the procedures
- 2022-04-07 00:32:34下载
- 积分:1