Skip to content

LuYee6813/plc-integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLC Integration


This repository contains scripts to capture data packets from an Ethernet port, pack its data into Modbus dataframe and send the content to a Mongo database.

First, create a socket object and sniff the IP address and port of the Ethernet port for data collection.

Secondly, once there is a stable socket connection, initiate a loop to receive data from the client and pack it into Modbus register format.

Finally, send the data to the MongoDB database.

Note that you may need to modify the MongoDB connection string to match your specific MongoDB configuration.



Wrap up

  • Scripts in Go and Python for data collection of Ethernet packets

Thank you! ❤️

You can find me on

  • GitHub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 51.2%
  • Python 48.8%