Hello,
Is there a way to send existing devices via modbus to a PLC, for example I want to retrieve an existing temperature reading via a plc.
Thank you in advance
Domoticz as slave
Moderator: leecollings
- psubiaco
- Posts: 203
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Domoticz as slave
You can write a simple script that is activated when a device changes, and if the changed device is the temperature sensor of your interest, call an external program that send data to your PLC by RS485/Modbus.
Several libs for ModBus are available, in Linux. If Domoticz runs in windows/mac, maybe you'll find a modbus lib as well.
Regards.
Paolo
Several libs for ModBus are available, in Linux. If Domoticz runs in windows/mac, maybe you'll find a modbus lib as well.
Regards.
Paolo
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
- Posts: 2
- Joined: Wednesday 04 May 2022 12:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz as slave
Hello Paolo.
my knowledge of Domoticz/linux is not very good yet, I am more involved with PLCs.
Do you maybe have an example so I have something to start with.
thanks for your time
Dennis
my knowledge of Domoticz/linux is not very good yet, I am more involved with PLCs.
Do you maybe have an example so I have something to start with.
thanks for your time
Dennis
Who is online
Users browsing this forum: No registered users and 0 guests