---
# System prepended metadata

title: PLC 空載性能測試
tags: [TCCI]

---

PLC 空載性能測試
===

###### tags: `TCCI`

### 記憶體配置
- ### KV-8000
    - ![](https://i.imgur.com/foK15nB.png)
----
- ### R04CPU
    - ![](https://i.imgur.com/Ux18QeP.jpg)
----
- ### Fx5U
    - ![](https://i.imgur.com/hHRQk1i.jpg)
    - ![](https://i.imgur.com/4l0LbwY.jpg)
----

- ### Q03UDE
    - ![](https://i.imgur.com/nennzaa.jpg)

----

- ### S7-1500
    - ![](https://i.imgur.com/VZQUz7J.png)
    - ![](https://i.imgur.com/NC8oIYq.png)


---

### 測試設備

:::success

- MODEL: MSI GP62-6QE
- CPU: i7_6700HQ
- RAM: 24GB
- SSD: JAJS600M2TB

- 網路設備
    - Router
        - XY-C5 1G
    - SW
        - QNAP 2.5G
            - QWS-1105-5T
        - TP-LINK 1G 8P
            - TL-SG1008D
            - TL-SG1008
:::


---

### 網路架構

```graphviz
digraph hierarchy {

                nodesep=1.0 // increases the separation between nodes
                
                node [color=Red,fontname=Courier,shape=box] //All nodes will this shape and colour
                edge [color=Blue, style=dashed,dir=both] //All the lines look like this

                PC->QWS_1105_5T
                QWS_1105_5T->TL_SG1008D
                TL_SG1008D->XY_C5
                XY_C5->TL_SG1008
                TL_SG1008->
                {rank=same;KV_8000 S7_1500 R04 FX_5U Q03UDE}  // Put them on the same level
}
```

---

### 測試結果

#### 西門子 S7-1500 PLC 性能測試
    - 測試方式
:::info

- #### 每一個 DB 讀取 640 個 byte，連續讀取 1000次，切換 35 個 DB
:::
- TEST1
    - ![](https://i.imgur.com/dSajX4D.png)
    - ![](https://i.imgur.com/KDgVtmP.png)
----
- TEST2
    - ![](https://i.imgur.com/nMgoNVy.png)
    - ![](https://i.imgur.com/07Xepg2.png)


----

:::info
- #### TEST3
- #### 一個 DB 讀取 640 個 byte 切換 35 個 DB，測試 1000次
:::
- ![](https://i.imgur.com/d6AflOk.png)
- ![](https://i.imgur.com/3yYbDkw.png)

----

:::info
- #### TEST4
- #### 讀取 14 個 DB，寫入 21 個 DB
- #### 測試 1000次
:::
- ![](https://i.imgur.com/LR88Bgr.png)
- ![](https://i.imgur.com/cjXhTNs.png)


---

#### 綜合 PLC 測試結果
- 測試方式
:::info
- #### 讀取起始位置 D 長度如下列 次數 1000次
:::

- 100
    - ![](https://i.imgur.com/m1Y1Lky.png)

- 200
    - ![](https://i.imgur.com/q6rqhsG.png)

- 300
    - ![](https://i.imgur.com/gPaqH55.png)
    - ![](https://i.imgur.com/rpuXZ6A.png)



- 700
    - ![](https://i.imgur.com/3WlDIh5.png)

- 1,000
    - ![](https://i.imgur.com/cdIxB2t.png)

- 2,000
    - ![](https://i.imgur.com/8V6XywW.png)

- 5,000
    - ![](https://i.imgur.com/VBGwKYn.png)

- 10,000
    - ![](https://i.imgur.com/dwKvD0S.png)

- 12,000
    - ![](https://i.imgur.com/VRJczWd.png)
    - ![](https://i.imgur.com/dm1Jc9s.png)
