Warning
The main branch of this repository contains work-in-progress development code for the upcoming release, and is not guaranteed to be stable or working. It is only compatible with the main branch of edgex-compose which uses the Docker images built from the main branch of this repo and other repos.The source for the latest release can be found at Releases.
For latest documentation please visit https://docs.edgexfoundry.org/latest/microservices/device/services/device-s7/Purpose
S7 Micro Service - device service for connecting Siemens S7(S7-200, S7-300, S7-400, S7-1200, S7-1500) devices by ISO-on-TCP
to EdgeX.
- This device service is contributed by YIQISOFT
- The sevice has tested on S7-300, S7-400, S7-1200
- Single Read and Write
- Multiple Read and Write
- High performance, more 2000 items per second(depends on S7 model)
- Use
S7-Device01
sample device configuration,interval
should be less thanIdelTimeout
- S7-1200 and S7-1500 preferred
- Create multiple connections to one S7 device use different device name
- Use
- A Siemens S7 series device with network interface
- Enable ISO-on-TCP connection on the S7 device
-
Clone the device-rest-go repo with the following command:
git clone https://github.com/edgexfoundry/device-s7.git
-
Build a docker image by using the following command:
make docker
-
Alternatively the device service can be built natively:
make build
Currently, the NATS Messaging capability (NATS MessageBus) is opt-in at build time. This means that the published Docker images do not include the NATS messaging capability.
The following make commands will build the local binary or local Docker image with NATS messaging capability included.
make build-nats
make docker-nats
This component is packaged as docker images.
Please refer to the Dockerfile and Docker Compose Builder scripts.
Apache-2.0