Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!

Industrial Ethernet to Serial IoT Bridge: SCADA Integration

A novel design of an industrial DIN rail Power over Ethernet (PoE) to Serial device was developed based on WIZ750SR with SCADA integration.

AdvancedFull instructions providedOver 1 day3,963

Things used in this project

Hardware components

WIZ750SR
WIZnet WIZ750SR
×1

Software apps and online services

Rapid Scada

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

RS-232 COVER STL

RS-232 COVER STL

RS-232 BASE STL

RS-232 BASE STL

DIN RAIL Assy

3D View DIN RAIL Assy

pdf view

DIN RAIL BOX

STL file of the Din Rail Box

DIN RAIL COVER

STL cover of Din rail

Schematics

Schematic

Schematic POE to RS232 bridge

The RS232 version schematic.

Code

Device Driver DLL

C#
This is the device library ready for installation
No preview (download only).

Satec template

XML
Modbus template for rapid scada
<?xml version="1.0" encoding="utf-8"?>
<DevTemplate>
  <Settings>
    <ZeroAddr>false</ZeroAddr>
    <DecAddr>true</DecAddr>
    <DefByteOrder2 />
    <DefByteOrder4 />
    <DefByteOrder8 />
  </Settings>
  <ElemGroups>
    <ElemGroup active="true" tableType="HoldingRegisters" address="255" name="Basic Register Set">
      <Elem name="V1/V12 Voltage" type="ushort" byteOrder="" />
      <Elem name="V2/V23 Voltage" type="ushort" byteOrder="" />
      <Elem name="V3/V31 Voltage" type="ushort" byteOrder="" />
      <Elem name="I1 Current" type="ushort" byteOrder="" />
      <Elem name="I2 Current" type="ushort" byteOrder="" />
      <Elem name="I3 Current" type="ushort" byteOrder="" />
      <Elem name="kW L1" type="short" byteOrder="" />
      <Elem name="kW L2" type="short" byteOrder="" />
      <Elem name="kW L3" type="short" byteOrder="" />
      <Elem name="kvar L1" type="short" byteOrder="" />
      <Elem name="kvar L2" type="short" byteOrder="" />
      <Elem name="kvar L3" type="short" byteOrder="" />
      <Elem name="kVA L1" type="ushort" byteOrder="" />
      <Elem name="kVA L2" type="ushort" byteOrder="" />
      <Elem name="kVA L3" type="ushort" byteOrder="" />
      <Elem name="Power factor L1" type="short" byteOrder="" />
      <Elem name="Power factor L2" type="short" byteOrder="" />
      <Elem name="Power factor L3" type="short" byteOrder="" />
      <Elem name="Total PF" type="short" byteOrder="" />
      <Elem name="Total kW" type="short" byteOrder="" />
      <Elem name="Total kvar" type="short" byteOrder="" />
      <Elem name="Total kVA" type="ushort" byteOrder="" />
      <Elem name="In (neutral) Current" type="ushort" byteOrder="" />
      <Elem name="Frequency" type="ushort" byteOrder="" />
      <Elem name="Maximum kW import sliding window demand" type="ushort" byteOrder="" />
      <Elem name="kW import accumulated demand" type="ushort" byteOrder="" />
      <Elem name="Maximum kVA sliding window demand" type="ushort" byteOrder="" />
      <Elem name="kVA accumulated demand" type="ushort" byteOrder="" />
      <Elem name="I1 Maximum ampere demand" type="ushort" byteOrder="" />
      <Elem name="I2 Maximum ampere demand" type="ushort" byteOrder="" />
      <Elem name="I3 Maximum ampere demand" type="ushort" byteOrder="" />
      <Elem name="kWh import (low)" type="ushort" byteOrder="" />
      <Elem name="kWh import (high)" type="ushort" byteOrder="" />
      <Elem name="kWh export (low)" type="ushort" byteOrder="" />
      <Elem name="kWh export (high)" type="ushort" byteOrder="" />
      <Elem name="+kvarh net (low)" type="ushort" byteOrder="" />
      <Elem name="+kvarh net (high)" type="ushort" byteOrder="" />
      <Elem name="-kvarh net (low)" type="ushort" byteOrder="" />
      <Elem name="-kvarh net (high)" type="ushort" byteOrder="" />
      <Elem name="V1/V12 Voltage THD" type="ushort" byteOrder="" />
      <Elem name="V2/V23 Voltage THD" type="ushort" byteOrder="" />
      <Elem name="V3/V31 Voltage THD" type="ushort" byteOrder="" />
      <Elem name="I1 Current THD" type="ushort" byteOrder="" />
      <Elem name="I2 Current THD" type="ushort" byteOrder="" />
      <Elem name="I3 Current THD" type="ushort" byteOrder="" />
      <Elem name="kVAh (low)" type="ushort" byteOrder="" />
      <Elem name="kVAh (high)" type="ushort" byteOrder="" />
      <Elem name="Present kW import sliding window demand" type="ushort" byteOrder="" />
      <Elem name="Present kVA sliding window demand" type="ushort" byteOrder="" />
      <Elem name="PF (import) at Max. kVA sliding window demand" type="ushort" byteOrder="" />
      <Elem name="I1 Current TDD" type="ushort" byteOrder="" />
      <Elem name="I2 Current TDD" type="ushort" byteOrder="" />
      <Elem name="I3 Current TDD" type="ushort" byteOrder="" />
    </ElemGroup>
  </ElemGroups>
  <Cmds>
    <Cmd tableType="HoldingRegisters" multiple="false" address="100" byteOrder="" cmdNum="5" name="Relay" />
  </Cmds>
</DevTemplate>

WIZ750SR repo

WISZ750SR customized repo for PULSE INPUT option

Rapid Scada WIZ750SR driver

This is the source code of KpWiznet driver for rapid scada

Credits

Manuel Alejandro Iglesias Abbatemarco

Manuel Alejandro Iglesias Abbatemarco

17 projects • 77 followers
Embedded Firmware Engineer

Comments