-
Notifications
You must be signed in to change notification settings - Fork 136
4 使用Modbus.Net
luosheng edited this page Jun 7, 2023
·
6 revisions
作为使用者来说,Modbus.Net统一了不同设备的接口,因此即便是通讯协议完全不同的设备,对于使用者而言它们的接口应该是完全一致的。
正因为这样的一个开发初衷,Modbus.Net才从一个单纯的Modbus通讯类库演变成为一个通用框架。
Modbus.Net有两个不同的API调用层级:BaseUtiltiy,BaseMachine,以及一个可以调度任务的MachineJobScheduler,使用者可以以不同的目的分别使用这三种调用方式。
Modbus.Net Hangzhou Delian Science Technology Co.,Ltd. © 2023
-
2 Specification of Modbus.Net main framework
- 2.1 Modbus.Net Architecture
- 2.2 Transmission Control Layer Controller
- 2.3 Transmission Link Layer Connector
- 2.4 Concrete Protocol Layer ProtocolLinker
- 2.5 Abstract Protocol Layer Protocol
- 2.6 Protocol Presentation Layer Utility
- 2.7 Device Application Layer Machine
- 2.8 Task Application Layer MachineJob
-
3 Using Modbus.Net to implement a protocol
- 3.1 Global Tools
- 3.2 Extends Protocol and ProtocolUnit according to protocol specification
- 3.3 Extends Connector to create a link method
- 3.4 Extends Machine and Utility, creating two apis
- 3.5 Extends API methods to Machine and Utility
- 3.6 Extends Formater, Translator and Combiner, Creating Encoding,Decoding,Combining methods for address
- 3.7 Extends Controller, to control message