文件名称:Modbus
介绍说明--下载内容来自于网络,使用问题请自行百度
使用STC15F2K602S 实现了Modbus通信协议。
本Modbus程序实现了保持寄存器区32个功能寄存器64字节的读写功能,可用于实现32个int型数据的通信
写寄存器支持单个寄存器的写指令 使用功能号06 如:01 06 00 00 00 08 88 0C
读寄存器支持多个寄存器都指令,使用功能号03 如:01 03 00 01 00 01 D5 CA
方便朋友们直接移植到其他单片机 里面附带TA6932的显示驱动,将寄存器的内容显示在6932驱动的LED上(The Modbus communication protocol is implemented with STC15F2K602S.
This Modbus program realizes the function of reading and writing 64 registers of 32 registers in the register area, and can be used to realize the communication of 32 int data
Write registers support single register write instructions using function number 06, such as: 01060000000888 0C
Read register supports multiple registers with instructions, using function number 03, such as: 010300010001 D5 CA
Convenient friends are directly transplanted to other SCM, with TA6932 display driver, the register content displayed on the 6932 drive LED)
本Modbus程序实现了保持寄存器区32个功能寄存器64字节的读写功能,可用于实现32个int型数据的通信
写寄存器支持单个寄存器的写指令 使用功能号06 如:01 06 00 00 00 08 88 0C
读寄存器支持多个寄存器都指令,使用功能号03 如:01 03 00 01 00 01 D5 CA
方便朋友们直接移植到其他单片机 里面附带TA6932的显示驱动,将寄存器的内容显示在6932驱动的LED上(The Modbus communication protocol is implemented with STC15F2K602S.
This Modbus program realizes the function of reading and writing 64 registers of 32 registers in the register area, and can be used to realize the communication of 32 int data
Write registers support single register write instructions using function number 06, such as: 01060000000888 0C
Read register supports multiple registers with instructions, using function number 03, such as: 010300010001 D5 CA
Convenient friends are directly transplanted to other SCM, with TA6932 display driver, the register content displayed on the 6932 drive LED)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
modbus.__i
modbus.C
modbus.h
modbus.LST
modbus.OBJ
STARTUP.A51
STARTUP.LST
STARTUP.OBJ
STC15Fxxxx.H
ta6932.__i
ta6932.c
ta6932.h
ta6932.LST
ta6932.OBJ
timer.__i
timer.c
timer.h
timer.LST
timer.OBJ
config.h
delay.c
delay.h
delay.OBJ
GPIO.__i
GPIO.c
GPIO.h
GPIO.LST
GPIO.OBJ
ignite
ignite.hex
ignite.lnp
ignite.M51
ignite.Opt
ignite.plg
ignite.Uv2
ignite_Opt.Bak
ignite_Uv2.Bak
main.__i
main.c
main.LST
main.OBJ
modbus.C
modbus.h
modbus.LST
modbus.OBJ
STARTUP.A51
STARTUP.LST
STARTUP.OBJ
STC15Fxxxx.H
ta6932.__i
ta6932.c
ta6932.h
ta6932.LST
ta6932.OBJ
timer.__i
timer.c
timer.h
timer.LST
timer.OBJ
config.h
delay.c
delay.h
delay.OBJ
GPIO.__i
GPIO.c
GPIO.h
GPIO.LST
GPIO.OBJ
ignite
ignite.hex
ignite.lnp
ignite.M51
ignite.Opt
ignite.plg
ignite.Uv2
ignite_Opt.Bak
ignite_Uv2.Bak
main.__i
main.c
main.LST
main.OBJ
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.