Skip to content

Commit

Permalink
Merge branch 'master' of github.com:emdem/ModbusSim
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre committed Aug 30, 2016
2 parents a5bfc89 + 1821108 commit 295c63b
Show file tree
Hide file tree
Showing 3 changed files with 401 additions and 11 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ If you get a 200 OK, in the other terminal window you should see the following i
127.0.0.1 - - [13/Jul/2016 11:22:28] "GET / HTTP/1.1" 200 -
modbus_tk.simulator is running...
```

To interact with the API via browser, navigate to:
```
http://127.0.0.1:5002/api
```

It is possible to interact with the simulator via the console here to issue commands to add slaves/changes values/add blocks.

You can dump/load the state of all slaves or individual slaves or even registers all via the REST API. You can confirm this by visiting the following url in your browser:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ flask
modbus_tk
pyserial
watchdog
flasgger
Loading

0 comments on commit 295c63b

Please sign in to comment.