Browse Source

add diagrams

subDesTagesMitExtraKaese 2 years ago
parent
commit
d1302c01f8

+ 2 - 0
README.md

@@ -22,6 +22,8 @@ Gegeben sind folgende speicherprogrammierbaren Steuerungen, dezentrale Peripheri
     -	CPU: MELSEC iQ-R vlg. R08SFCPU-SET
     -	Feldbus: CC-Link IE Field
 
+![Datenfluss](out/diagrams/datenfluss/Datenfluss.svg)
+
 # Implementierung
 - [Image für Box-PC](box-pc/)
     - Anwendung: [PLC-Connector](box-pc/plc-connector/)

+ 79 - 0
diagrams/benton.plantuml

@@ -0,0 +1,79 @@
+@startuml Benton
+
+!include common.iuml
+
+title Messaufbau Benton-Foundry-LL20
+
+center footer jomueller, 06.2022
+
+
+node Sensoren {
+  object "24V Strommessung" as b {
+    IFM DF2101
+    16 Kanäle 
+    1-10A
+    20ms Interval
+  }
+  object "Energiemessung" as c {
+    3-phasige Zuleitung 480V
+    3x Stromwandler 50A/5A
+  }
+  
+  b -[hidden]- c
+
+}
+
+node "ET200SP CPU" as Interfacemodul {
+
+  object "IO-Link Master" as iolink_master {
+    
+  }
+  object "Energiemeter" as energy_meter {
+    AI Energy Meter
+    U; I; Phase
+  }
+
+  object "Datenbaustein" as DB3 {
+    DB3
+  }
+
+  iolink_master -[hidden]down- energy_meter
+}
+
+node "Steuerung\nCompact Logix" as Steuerung {
+  object Tags {
+    unterteil
+    oberteil
+    auswerfer
+    rolltor
+    schuss
+    hubtisch
+    ...
+  }
+}
+
+node Anwendung {
+  agent "PLC-Connector" as app #FFC5C4
+  database InfluxDB
+  database CSV
+
+  
+}
+
+Sensoren -[hidden]right- Interfacemodul
+
+b <-right-> iolink_master: "  IO-Link"
+c -right-> energy_meter
+c -right-> energy_meter
+
+iolink_master -> DB3
+energy_meter -> DB3
+
+DB3 <-> app: "S7 Protokoll"
+
+Tags <-right-> app: "EtherNet IP"
+
+app -up-> InfluxDB
+app -up-> CSV
+
+@enduml

+ 7 - 0
diagrams/common.iuml

@@ -0,0 +1,7 @@
+skinparam TitleFontSize 24
+allow_mixing
+skinparam linetype ortho
+skinparam NodeBorderColor #7777cc
+skinparam ObjectBackgroundColor #C8C7FF
+skinparam DatabaseBackgroundColor #C8C7FF
+skinparam AgentBackgroundColor #C8C7FF

+ 47 - 0
diagrams/datenfluss.plantuml

@@ -0,0 +1,47 @@
+@startuml Datenfluss
+
+!include common.iuml
+
+title Datenfluss
+
+center footer jomueller, 06.2022
+
+
+node Sensoren {
+  agent "24V Strommessung" as b
+  agent "480V Energiemessung" as c
+  
+  b -[hidden]- c
+
+}
+
+node PLC {
+  agent "PLC-Variablen" as DB3
+  agent Status
+}
+
+node Anwendung {
+  agent "PLC-Connector" as app #FFC5C4
+  database Datenbank
+}
+
+
+node Visualisierung {
+  agent Alarme
+
+  agent Dashboard
+}
+
+Sensoren -[hidden]right- PLC
+
+b -right-> DB3
+c -right-> DB3
+Status -down-> DB3
+
+DB3 -> app
+
+app -> Datenbank
+
+Datenbank -> Visualisierung
+
+@enduml

+ 84 - 0
diagrams/hengli.plantuml

@@ -0,0 +1,84 @@
+@startuml Hengli
+
+!include common.iuml
+
+title Messaufbau Jiangsu-Hengli-LFB65 
+
+center footer jomueller, 06.2022
+
+
+node Sensoren {
+  object "24V Strommessung" as b {
+    IFM DF2101
+    16 Kanäle 
+    1-10A
+    20ms Interval
+  }
+  object "Energiemessung" as c {
+    3-phasige Zuleitung 400V
+    3x Stromwandler 150A/5A
+  }
+  
+  b -[hidden]- c
+
+}
+
+node "ET200SP CPU" as Interfacemodul {
+
+  object "IO-Link Master" as iolink_master {
+    
+  }
+  object "Energiemeter" as energy_meter {
+    AI Energy Meter
+    U; I; Phase
+  }
+
+  object "Datenbaustein" as DB3 {
+    DB3
+  }
+
+  iolink_master -[hidden]down- energy_meter
+
+}
+
+node "Steuerung\nS7-1500" as Steuerung {
+  object Datenbaustein {
+    DB3
+  }
+  object Status {
+    unterteil
+    oberteil
+    auswerfer
+    rolltor
+    schuss
+    hubtisch
+    ...
+  }
+  Status -down-> Datenbaustein
+}
+
+node Anwendung {
+  agent "PLC-Connector" as app #FFC5C4
+  database InfluxDB
+  database CSV
+
+  
+}
+
+Sensoren -[hidden]right- Interfacemodul
+
+b <-right-> iolink_master: "  IO-Link"
+c -right-> energy_meter
+c -right-> energy_meter
+
+iolink_master -> DB3
+energy_meter -> DB3
+
+DB3 <-> app: "S7\nProtokoll"
+
+Datenbaustein <-right-> app: "S7\nProtokoll"
+
+app -up-> InfluxDB
+app -up-> CSV
+
+@enduml

File diff suppressed because it is too large
+ 4 - 0
out/diagrams/benton/Benton.svg


+ 83 - 0
out/diagrams/datenfluss/Datenfluss.svg

@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="328px" preserveAspectRatio="none" style="width:1095px;height:328px;background:#FFFFFF;" version="1.1" viewBox="0 0 1095 328" width="1095px" zoomAndPan="magnify"><defs/><g><rect height="37.9375" style="stroke:#00000000;stroke-width:1.0;fill:none;" width="153" x="464" y="5"/><text fill="#000000" font-family="sans-serif" font-size="24" font-weight="bold" lengthAdjust="spacing" textLength="143" x="469" y="32.2773">Datenfluss</text><!--MD5=[aec5a9ef0112d0cbf74047ddc40dd148]
+cluster Sensoren--><g id="cluster_Sensoren"><polygon points="16,64.9375,26,54.9375,250,54.9375,250,282.9375,240,292.9375,16,292.9375,16,64.9375" style="stroke:#7777CC;stroke-width:1.0;fill:none;"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="240" x2="250" y1="64.9375" y2="54.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="16" x2="240" y1="64.9375" y2="64.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="240" x2="240" y1="64.9375" y2="292.9375"/><text fill="#000000" font-family="sans-serif" font-size="24" font-weight="bold" lengthAdjust="spacing" textLength="125" x="66.5" y="90.2148">Sensoren</text></g><!--MD5=[d638006d9681d35d828cde7dc11d8204]
+cluster PLC--><g id="cluster_PLC"><polygon points="290,64.9375,300,54.9375,460,54.9375,460,282.9375,450,292.9375,290,292.9375,290,64.9375" style="stroke:#7777CC;stroke-width:1.0;fill:none;"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="450" x2="460" y1="64.9375" y2="54.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="290" x2="450" y1="64.9375" y2="64.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="450" x2="450" y1="64.9375" y2="292.9375"/><text fill="#000000" font-family="sans-serif" font-size="24" font-weight="bold" lengthAdjust="spacing" textLength="51" x="345.5" y="90.2148">PLC</text></g><!--MD5=[20b914e54e06ff5f80813e3ab6447f01]
+cluster Anwendung--><g id="cluster_Anwendung"><polygon points="492,187.4375,502,177.4375,779,177.4375,779,279.4375,769,289.4375,492,289.4375,492,187.4375" style="stroke:#7777CC;stroke-width:1.0;fill:none;"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="769" x2="779" y1="187.4375" y2="177.4375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="492" x2="769" y1="187.4375" y2="187.4375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="769" x2="769" y1="187.4375" y2="289.4375"/><text fill="#000000" font-family="sans-serif" font-size="24" font-weight="bold" lengthAdjust="spacing" textLength="159" x="552" y="212.7148">Anwendung</text></g><!--MD5=[6f7f97399f3459a4d8ad2c626077acb8]
+cluster Visualisierung--><g id="cluster_Visualisierung"><polygon points="811,183.9375,821,173.9375,1078,173.9375,1078,282.9375,1068,292.9375,811,292.9375,811,183.9375" style="stroke:#7777CC;stroke-width:1.0;fill:none;"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="1068" x2="1078" y1="183.9375" y2="173.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="811" x2="1068" y1="183.9375" y2="183.9375"/><line style="stroke:#7777CC;stroke-width:1.0;fill:none;" x1="1068" x2="1068" y1="183.9375" y2="292.9375"/><text fill="#000000" font-family="sans-serif" font-size="24" font-weight="bold" lengthAdjust="spacing" textLength="191" x="845" y="209.2148">Visualisierung</text></g><!--MD5=[5d12e840fb55afd9ed7b3559a638e8f7]
+entity b--><g id="elem_b"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="157" x="63.5" y="113.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="137" x="73.5" y="136.9326">24V Strommessung</text></g><!--MD5=[8e9b2d9d80e066cced8e5d90e9bdea61]
+entity c--><g id="elem_c"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="178" x="48" y="232.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="158" x="58" y="255.9326">480V Energiemessung</text></g><!--MD5=[202bc8d4b7f7c0afa362c0cadf823034]
+entity DB3--><g id="elem_DB3"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="114" x="322" y="232.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="94" x="332" y="255.9326">PLC-Variablen</text></g><!--MD5=[e88f9f5b1775d132f0566dd3f47ca5e5]
+entity Status--><g id="elem_Status"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="64" x="347" y="113.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="44" x="357" y="136.9326">Status</text></g><!--MD5=[4541fb81c80c07473fe4b07432ef0971]
+entity app--><g id="elem_app"><rect fill="#FFC5C4" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="124" x="508" y="232.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="104" x="518" y="255.9326">PLC-Connector</text></g><!--MD5=[8b6fad1796f199daf3f7481a3b07466b]
+entity Datenbank--><g id="elem_Datenbank"><path d="M667,238.4375 C667,228.4375 715,228.4375 715,228.4375 C715,228.4375 763,228.4375 763,238.4375 L763,263.7344 C763,273.7344 715,273.7344 715,273.7344 C715,273.7344 667,273.7344 667,263.7344 L667,238.4375 " fill="#C8C7FF" style="stroke:#181818;stroke-width:0.5;"/><path d="M667,238.4375 C667,248.4375 715,248.4375 715,248.4375 C715,248.4375 763,248.4375 763,238.4375 " fill="none" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="76" x="677" y="265.4326">Datenbank</text></g><!--MD5=[f46ee3fe86bf44c0ea9b67698aab33a5]
+entity Alarme--><g id="elem_Alarme"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="67" x="985.5" y="232.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="47" x="995.5" y="255.9326">Alarme</text></g><!--MD5=[63cd45bfe8ce5232e0cf4e791771f97b]
+entity Dashboard--><g id="elem_Dashboard"><rect fill="#C8C7FF" height="36.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="96" x="854" y="232.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="76" x="864" y="255.9326">Dashboard</text></g><!--MD5=[89c5e88c1b3a23b788935d6fc97d11bf]
+link b to c--><!--MD5=[af87c8ce8893bc72e9a45aec53626259]
+link Sensoren to PLC--><!--MD5=[b68b420ddd83952ea7f0b759c1682a6b]
+link b to DB3--><g id="link_b_DB3"><path codeLine="42" d="M220.57,141.9375 C273.8,141.9375 334.5,141.9375 334.5,141.9375 C334.5,141.9375 334.5,227.4475 334.5,227.4475 " fill="none" id="b-to-DB3" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="334.5,232.4475,338.5,223.4475,334.5,227.4475,330.5,223.4475,334.5,232.4475" style="stroke:#181818;stroke-width:1.0;"/></g><!--MD5=[446aa0da4f6323df3c03e85239b3db2b]
+link c to DB3--><g id="link_c_DB3"><path codeLine="43" d="M226.08,250.9375 C226.08,250.9375 316.69,250.9375 316.69,250.9375 " fill="none" id="c-to-DB3" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="321.69,250.9375,312.69,246.9375,316.69,250.9375,312.69,254.9375,321.69,250.9375" style="stroke:#181818;stroke-width:1.0;"/></g><!--MD5=[cdfc3700825667f308cdcac49820de5e]
+link Status to DB3--><g id="link_Status_DB3"><path codeLine="44" d="M379,150.0075 C379,150.0075 379,227.6975 379,227.6975 " fill="none" id="Status-to-DB3" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="379,232.6975,383,223.6975,379,227.6975,375,223.6975,379,232.6975" style="stroke:#181818;stroke-width:1.0;"/></g><!--MD5=[6387076be90827b2a888f9fccd88b033]
+link DB3 to app--><g id="link_DB3_app"><path codeLine="46" d="M436.05,250.9375 C436.05,250.9375 502.92,250.9375 502.92,250.9375 " fill="none" id="DB3-to-app" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="507.92,250.9375,498.92,246.9375,502.92,250.9375,498.92,254.9375,507.92,250.9375" style="stroke:#181818;stroke-width:1.0;"/></g><!--MD5=[4261806ce36c2f898e83f3c49a5a9fa7]
+link app to Datenbank--><g id="link_app_Datenbank"><path codeLine="48" d="M632.33,250.9375 C632.33,250.9375 661.73,250.9375 661.73,250.9375 " fill="none" id="app-to-Datenbank" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="666.73,250.9375,657.73,246.9375,661.73,250.9375,657.73,254.9375,666.73,250.9375" style="stroke:#181818;stroke-width:1.0;"/></g><!--MD5=[8eea88c56023fa3c38550fe0852d63a6]
+link Datenbank to Visualisierung--><g id="link_Datenbank_Visualisierung"><path codeLine="50" d="M763.04,250.9375 C775.39,250.9375 788.0375,250.9375 798.1775,250.9375 C800.7125,250.9375 803.0908,250.9375 805.2685,250.9375 C806.3574,250.9375 807.3961,250.9375 808.3792,250.9375 C808.8708,250.9375 809.3484,250.9375 809.8115,250.9375 C810.043,250.9375 810.2709,250.9375 810.4951,250.9375 C810.6072,250.9375 810.7183,250.9375 810.8285,250.9375 C810.8836,250.9375 810.9385,250.9375 810.9931,250.9375 " fill="none" id="Datenbank-to-Visualisierung" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="810.9931,250.9375,801.9931,246.9375,805.9931,250.9375,801.9931,254.9375,810.9931,250.9375" style="stroke:#181818;stroke-width:1.0;"/></g><rect height="11.6406" style="stroke:#00000000;stroke-width:1.0;fill:none;" width="89" x="496" y="308.9375"/><text fill="#888888" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="89" x="496" y="318.2197">jomueller, 06.2022</text><!--MD5=[ff4c9720cdd68bb94b05c3943fc0e11c]
+@startuml Datenfluss
+
+skinparam TitleFontSize 24
+allow_mixing
+skinparam linetype ortho
+skinparam NodeBorderColor #7777cc
+skinparam ObjectBackgroundColor #C8C7FF
+skinparam DatabaseBackgroundColor #C8C7FF
+skinparam AgentBackgroundColor #C8C7FF
+
+title Datenfluss
+
+center footer jomueller, 06.2022
+
+
+node Sensoren {
+  agent "24V Strommessung" as b
+  agent "480V Energiemessung" as c
+  
+  b -[hidden]- c
+
+}
+
+node PLC {
+  agent "PLC-Variablen" as DB3
+  agent Status
+}
+
+node Anwendung {
+  agent "PLC-Connector" as app #FFC5C4
+  database Datenbank
+}
+
+
+node Visualisierung {
+  agent Alarme
+
+  agent Dashboard
+}
+
+Sensoren -[hidden]right- PLC
+
+b -right-> DB3
+c -right-> DB3
+Status -down-> DB3
+
+DB3 -> app
+
+app -> Datenbank
+
+Datenbank -> Visualisierung
+
+@enduml
+
+PlantUML version 1.2022.5(Sat Apr 30 10:55:52 UTC 2022)
+(GPL source distribution)
+Java Runtime: OpenJDK Runtime Environment
+JVM: OpenJDK 64-Bit Server VM
+Default Encoding: UTF-8
+Language: en
+Country: null
+--></g></svg>

File diff suppressed because it is too large
+ 4 - 0
out/diagrams/hengli/Hengli.svg


Some files were not shown because too many files changed in this diff