feat(ocp): added zechettis stuff in

This commit is contained in:
2025-09-22 22:39:57 -05:00
parent bc6485ca9a
commit 4ab43d91b9
5 changed files with 244 additions and 225 deletions

View File

@@ -0,0 +1,27 @@
import { createPlcMonitor } from "../../../utils/plcController.js";
export const zechettiConnect = () => {
const config: any = {
controllers: [
{
id: "Z1",
ip: "192.168.193.97",
slot: 0,
rpi: 250,
tags: ["N7[0]"],
},
{
id: "Z2",
ip: "192.168.193.111",
slot: 0,
rpi: 100,
tags: ["N8[0]"],
},
],
};
const monitor = createPlcMonitor(config);
// Start
monitor.start();
};