-
本程序包括一组子程序和中断程序,通过S7
本程序包括一组子程序和中断程序,通过S7-200自由端口功能来产生从Modbus RTU. 它支持下列Modbus功能:----1.读输出(线圈)----2.读输入(触点)----3.读保持寄存器(V 存储器).----4.读输入寄存器----5.写单路输出----6.写单路保持寄存器----15.写多路输出----16.写多路保持寄存器-this includes a subroutine and the interruption procedure for the adoption of the S7-200 free port functions to generate from the Modbus RTU. It supports the following functions : a Modbus. Reading output (2) coil. Reading input (contact)---- 3. Reading maintain registers (V memory ).---- 4. Reading input register---- 5. write single-output---- 6. write to maintain the single-route Register---- 15. write multiple output---- 16. write multiple maintain registers
- 2022-09-13 08:20:03下载
- 积分:1
-
modbus 源代码,功能 0x03,实施 0x10
modbus 源代码,功能 0x03,0x10 实施 ;
- 2022-08-16 05:30:27下载
- 积分:1
-
some articles about Wirless sensor web
some articles about Wirless sensor web
- 2022-02-21 23:28:08下载
- 积分:1
-
This is the NS2 in the code article 802.16
这是有关NS2中802.16的代码的文章-This is the NS2 in the code article 802.16
- 2022-04-18 21:39:56下载
- 积分:1
-
使用Modem发送网上传呼
使用Modem发送网上传呼 -Using modem to send network ca
- 2022-03-18 02:10:10下载
- 积分:1
-
此仿真程序是目前论坛里面最完整的仿真源码,并且经本人调试运行,完全没有错误,有很高的研究价值。为各位搞仿真和做OFDM系统相关论文的研究生,而没有全面仿真程序的...
此仿真程序是目前论坛里面最完整的仿真源码,并且经本人调试运行,完全没有错误,有很高的研究价值。为各位搞仿真和做OFDM系统相关论文的研究生,而没有全面仿真程序的人提供本程序。此程序包含52个仿真模块,可以仿真出52个仿真图。-This simulation program is the forum inside the most complete source of emulation and debugging, as I run, there is no error, has high research value. For you to do engage in OFDM system simulation and related post-graduate theses, and no comprehensive simulation program provide the program. This program contains 52 simulation module can be a simulation simulation Figure 52.
- 2022-07-20 21:39:18下载
- 积分:1
-
Intercom 是一个 Unix系统上灵活的语音传输软件。支持标准音频压缩比如GSM, G.711, and G.72x和其他音频编码。Intercom专为高...
Intercom 是一个 Unix系统上灵活的语音传输软件。支持标准音频压缩比如GSM, G.711, and G.72x和其他音频编码。Intercom专为高速网络设计来传输高品质的语音,也支持窄带传输。-Intercom is a Unix system flexible voice transmission software. Support audio compression standards such as GSM, G.711, and G.72x and other audio coding. Intercom specifically designed for high-speed network to deliver high-quality voice, also support narrowband transmission.
- 2022-03-12 15:20:24下载
- 积分:1
-
这是关于G.729的声音编解码程序。
这是关于G.729的声音编解码程序。- This is arranges the decoding procedure about the G.729 sound.
- 2022-03-10 13:12:45下载
- 积分:1
-
simulink model to demodulate fm signal
simulink model to demodulate fm signal
- 2022-08-17 05:25:46下载
- 积分:1
-
移植国外STM32F103 MODBUS RTU代码
应用背景
STM32和维纶触摸屏通信,编译可以直接下载通信。波特率9600.测试是可以直接使用的了。需要增加什么功能就自己添加了。
功能码
定 义
操 作(二进制)
0x01
读开关量输出
读取一路或多路开关量输出状态数据
0x02
读开关量输入
读取一路或多路开关量状态输入数据
0x03
读取保存寄存器
读取一个或多个保存寄存器的数据
0x04
读取输入寄存器数据
读取输入一个或多个寄存器的数据
0x05
强置单线圈
强置一个逻辑线圈的通断状态
0x06
写单路寄存器
把一组二进制数据写入单个寄存器
0x10
写多路寄存器
把多组二进制数据写入多个寄存器
0X0F
写开关量输出
写多个开关量
控制一路继电器“合/分”输出
关键技术
这个代码要在keil4.7的编译环境下才能编译通过。直接可以下载使用,移植于国外的MODBUS的开源通信协议。和硬件的485配套使用。
ModBus协议定义了一个控制器能认识使用的消息结构,而不管它们是通过何种网络进行通信的,它制定了消息域的格局和内容的公共格式,
描述了一个控制器请求访问其它设备的过程,回应来自其它设备的请求,以及如何侦测并记录错误信息。
通过此协议,控制器相互之间、控制器经由网络(例如以太网)和其它设备之间可以完成信息和数据的交换与传送,
使各种不同的公司和厂家的可编程顺序控制器(PLC)、RTU、SCADA系统、DCS或与兼容ModBus协议的第三方设备之间可以连成工业网络,
构建各
- 2022-12-08 01:10:04下载
- 积分:1