Skip to content

SouquieresAdam/ot-to-it

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a sample of communication for OT to IT World.

Purpose

This project is composed of several projects :

  • OpcServer : An sample OPC Server with 20 productions machines :
RootFolder
├── Factory
    ├── Machine_1
        ├── id_x
        ├── Fabrication_Date_1
        ├── Fabrication_Id_1
        ├── Fabrication_Weight_1
        ├── Operations
            ├── Curing
                ├── Curing_Duration_1
            ├── Mixing
                ├── Mixing_Duration_1
...
    ├── Machine_20
        ├── id_20
        ├── Fabrication_Date_20
        ├── Fabrication_Id_20
        ├── Fabrication_Weight_20
  • OpcSimulator : Simulate production for each machine. It randomly changes Id, Date, and Weight.
  • kafak-connect-plc4j : Just a dockerfile that allows to build a container image based on kafka connect plus add pl4j lib

The repository provides a docker-compose file that allows to build OpcServer and OpcSimulator, and next run a Kafka cluster, plus image based on each projects.

Execution

The project can be simply executed with Docker-Compose :

docker-compose up -d

OPC Server tags

Once docker-compose is up, you will be able to connect to the OpcServer with a client. opcua-commander is a good one. More information https://github.com/node-opcua/opcua-commander

opcua-commander -e opc.tcp://localhost:62541/Quickstarts/ReferenceServer

Kafka cluster

Kafka object are viewable with akhq to the following url : AKHQ

About

Sample of code to allow kafka communication between ot and it world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.4%
  • Dockerfile 1.5%
  • Shell 0.1%