parallelbgls / Modbus.Net

A high extensible hardware communication platform using C#
MIT License
382 stars 136 forks source link

Mark: 1.4.1 Guide. This issue will be closed when doc complete #21

Open parallelbgls opened 1 year ago

parallelbgls commented 1 year ago
  1. Do not use any api except IMachineMethodDatas and IUtilityMethodDatas. Those apis are not tested. If you want to use, download source code and reference project.
  2. When using 1.4.1, you need to copy appsettings.default.json in Modbus.Net to your project and let it to copy content and update when new. Otherwise Modbus.Net will not work.
  3. You should first look MachineJob in samples before 1.4.1 doc complete.
parallelbgls commented 5 months ago

Your first Modbus.Net project should follow these steps in the newest version.

  1. Copy appsettings.default.json in root directory of your project.
  2. Create a file called appsettings.json in root directory of your project.
  3. Add
    {
    "Modbus.Net": {
    }
    }

    in appsettings.json.

  4. Write codes and test.