Description: 一般使用PC Based Controller 都是当作现场设备的一种,也就是要接受
主系统的命令,做一些操作控制。以Modbus 来看属于Slave 的角色,随
时等待接收Modbus Master 的Query Message,然后依据内容做控制,最后
将控制结果以Response Message 回传。本章将以ICP 7524 及ICP 7188E5 等
两种设备分别设计Modbus RTU、ASCII 及Modbus/TCP 的Slave 应用程序,
读者可以将此两种程序的架构再延伸设计至各种实际应用程序。-Generally used as a PC Based Controller is a field device, which is the main system to accept orders, make a number of operational control. Modbus is a look at the role of Slave, Modbus Master at any time waiting to receive the Query Message, and then to do based on the contents of control, the final results will be controlled in order to return the Response Message. This chapter will be ICP 7524 and ICP 7188E5 equipment design, such as two Modbus RTU, ASCII and Modbus/TCP the Slave application, readers can use this framework for the two procedures designed to further extend the range of practical applications. Platform: |
Size: 946176 |
Author:xiaogao |
Hits:
Description: 一个不错的modbus源码,含有master和slave两部分-Modbus a good source, containing two parts of master and slave Platform: |
Size: 312320 |
Author:路保虎 |
Hits:
Description: 100 java实现modbus 从站、主站-This project represents a Modbus implementation in 100 Java. It can be used to implement Modbus masters and slaves in various flavors:
Serial:
ASCII, RTU (Master only), BIN
IP:
TCP,UDP
The design of this library is fully object oriented, based on abstractions which should support easy understanding, reusability and extensibility.
Platform: |
Size: 868352 |
Author:hemu |
Hits:
Description: 这是基于STC2052单片机的C51源码,内容是实现modbus总线RTU方式的主机程序。总线通讯采用RS485.-This is based on STC2052 MCU C51 source code, content is the way to achieve modbus host bus RTU program. Bus communication using RS485. Platform: |
Size: 83968 |
Author:居锦武 |
Hits:
Description: Delphi的ModbusTcp开发控件,需要Indy支持,包括主站和从站的控件-he Delphi Modbus library is a Modbus Class I Delphi implementation of a Modbus
master and slave over TCP/IP (ModbusTCP). Serial I/O (RTU or ASCII) is not
supported. Platform: |
Size: 245760 |
Author:孙宏 |
Hits:
Description: 不借助其它底层Modbus控件,直接操作底层通讯代码,实现Modbus读写“保持寄存器”数据,支持串口通讯、TCP通讯两种方式。代码只作演示,可做进一步封装,也可稍作修改,用于非标准的Modbus通讯。本代码使用了一个第三方控件SPComm,开发测试环境为Delphi7+Win7,我一直想摆脱Modbus控件(MBAXP Modbus Master ActiveX Control
),最近自己开发了这个DEMO,分享给大家。(Without other underlying Modbus controls, the direct operation of the underlying communication code, the realization of Modbus read and write, "keep register" data, support for serial communication, TCP communication two ways. The code is for demonstration only, can be further encapsulated, and can be modified slightly for nonstandard Modbus communications. This code uses a third party control SPComm, development test environment for Delphi7+Win7, I always want to get rid of Modbus control (MBAXP Modbus Master ActiveX Control
) recently developed this DEMO and shared it with you.) Platform: |
Size: 264192 |
Author:tao60
|
Hits:
Description: 本例程为 RS485 MODBUS 主站例程。可以通过按键发送相应的 MODBUS 命令,然后等待从站应答
(或超时)退出等待。
程序使用串口 3( USART1)与从机通讯,执行结果通过串口 1( USART1)送到计算机的串口。可以
通过 PC 机的串口终端软件观察程序执行结果(This routine is the RS485 MODBUS master station routine. You can send the corresponding MODBUS commands through keystrokes, and then wait for the slave station to answer.
(or timeout) exit the wait.
The program uses serial port 3 (USART1) to communicate with slave computer, and the execution result is sent to the computer's serial port through serial port 1 (USART1). Sure
Observe the execution result of the program through the serial port terminal software of PC.) Platform: |
Size: 347136 |
Author:answer哈哈 |
Hits:
Description: STM32作为主机通过modbus协议实现读取三个从机的数据,三个从机的站号分别为1,2,3。(STM32 is used as the host to read the data of three slaves through Modbus protocol. The station numbers of three slaves are 1, 2 and 3 respectively.) Platform: |
Size: 4372480 |
Author:保护地球 |
Hits: