Modbus Micro Service - device service for connecting Modbus devices to EdgeX.
Users can refer to the document to learn how to use this device service.
The ProfilesDir
and DevicesDir
in the configuration.toml are empty string by default.
To use the example Profile and Device in this repository, please fill './res/profiles' and './res/devices'
to ProfilesDir
and DevicesDir
respectively.
modbus.test.device.profile.toml
and modbus.test.devices.toml
will be loaded and created when the Device Service starts up.
Users can modify those files or add additional Profile YAML or Device TOML to meet their needs.
Build and run the Modbus simulator
$ cd simulator
$ go build
$ ./simulator
Modbus TCP address: 0.0.0.0:1502
Start up a Modbus TCP simulator.
This component is packaged as docker image and snap.
For docker, please refer to the Dockerfile and Docker Compose Builder scripts.
For the snap, refer to the snap directory.
Users can refer to the document to set up the Modbus RTU device.
- Chat: https://edgexfoundry.slack.com
- Mailing lists: https://lists.edgexfoundry.org/mailman/listinfo