@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