-
Notifications
You must be signed in to change notification settings - Fork 137
1.1 Basic Architecture
Modbus.Net has two parts: protocol development part and protocal using part.
The main framework of Modbus.Net is composed by a interface chain. Users should only use interfaces, abstract classes or abstract classes derived by decrete protocol modules. These interfaces or abstract classes defines common using interfaces and developement interfaces.
Projects like Modbus.Net.Modbus is the specific protocol implementation for Modbus.Net, users can only create instance from modules but not suggest to using decrete methods. The reason is that the main target of Modbus.Net want to combine any type of machine into some same calling functions, so we only want ending users calling abstract or common methods from Modbus.Net.
There are some samples in project. These samples are developed by Siemens Protal V18 and can be communicated using Modbus TCP and Profinet at the same time. If you want to use these projects, open Portal projects using Protal V18 then modified hardware configuration and download it into simulation or real PLCs. Then modify IP and running corresponded sample in Modbus.Net project.
Root folder of samples are located in /Samples.
Portal V18 projects are located in /Samples/Automation Projects.
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