---
# System prepended metadata

title: EdgeX Modbus vt20
tags: [Edgex]

---

EdgeX Modbus vt20


### Slave
**409在address:1182**
![](https://hackmd.io/_uploads/rkOXt3mGp.png)


### Master
**409在address:1182**
![](https://hackmd.io/_uploads/rkvcp27Gp.png)


### Device profile 
**實際在1181**
![](https://hackmd.io/_uploads/ryqdY37Ma.png)

### EdgeX Core command
    http://localhost:59882/api/v3/device/name/vt20/V80_1?ds-pushevent=true&ds-returnevent=true
![](https://hackmd.io/_uploads/ryU8Y2mGp.png)

### EdgeX Core data
    http://localhost:59880/api/v3/event/device/name/vt20
![](https://hackmd.io/_uploads/B1QAanQfp.png)


---

https://www.epochconverter.com/

modbus performance test

http://localhost:59880/api/v3/event/all?offset=0&limit=100

http://localhost:59880/api/v3/reading/device/name/vt20/resourceName/V80_0?offset=0&limit=20

http://localhost:59880/api/v3/reading/device/name/vt20/resourceName/V80_1?offset=0&limit=20

http://localhost:59880/api/v3/reading/device/name/vt20/resourceName/V281_0?offset=0&limit=20

----

100 tags,  autoevent: 1s, 每個readings間隔約10秒
50 tags, autoevent: 1s, 每個readings間隔 5秒
10 tags, autoevent: 1s, 每個readings間隔 1秒
10 tags, autoevent: 10ms, 每個readings間隔 1秒

---

50tags在同一個resourcecommand, autoevent 10ms, 每個readings 間隔0.8秒
50tags在同一個resourcecommand, autoevent 1s, 每個readings 間隔1.8秒

13ms each tags

---


100tags在同一個resourceCommand, autoevent 10ms, 每個event 間隔0.20-0.23秒
100tags在同一個resourceCommand, autoevent 1s, 每個event 間隔1.17-1.21秒

100個tags 每個tag一個autoevent  每100個需0.37-0.44秒