Thanks, works perfectly!
Thanks, works perfectly!
I am reading some values from a modbus power meter (e.g. active power in watts)
Everything fine so far.
But i have a little problem:
If the power of the power meter fails, mervis gets a communication error.
The PLC value stays at the last value read from the power meter.
How can i "reset" this value to "0" if there is a communication error?
Thanks, i will have a try
I have created a simply HMI.
As you see in this picture there is no problem to load it from a Windows-PC with Chrome.
But on IOS devices the HMI is broken.
The image is not visible, and the two arrows are somewhere else.
I tried iPhones and iPads (with Safari and Chrome), it is the same problem on both of it.
On a Android phone there was no problem.
Is there something i can do to solve it?
I want to send different mails at different events.
So e.g. at event1 the subject of the mail should be subject1, and the message should be message1.
At event2, subject2 and message2....
How can i do that?
Or is it only possilbe if i add one sendbail-block for each event?
Next question: Can i add several variables to the mail message?
e.g. the status of a DI, or values from a power meter (watts, voltage....)
In the meantime i got my Neuron M203.
The UniPi was just for testing.
With the Neuron i can "communicate" with the SDM120-Modbus, but i can get no values.
Can someone help me with the configuration for
The Modbus register map you can find here:
Yes, i have it connected to this port.
And i have tried all the other ports too.
Thanks for the Link
So i have tried the following:
Link Protocol "Serial"
Port Number "USB Port1"
Baud Rate "9600"
Data Bits "8"
Stop Bits "One"
Device Address "1"
Starting Element "30001"
Quantity of Elements "6"
Select the right group
Comm Value "BuiltIn"
ST Type "real"
MultiByte Length "4"
Build and deploy
When i debug it i get "Port initialization Failed (status 53)" i the Port Monitor.
In the Variable Browser i get "Communication Error" and a PLC Value of "0".
So, what can i do next?
I have a UniPi 1.1 and a USB to RS485 Adapter.
With this i would like to meassure values from a SDM120-Modbus power meter.
But i simply can't get it to work.
I tried it in Rexygen, and it was way easier.
In Mervis i don't know where to start.
e.g. where should i put the "connection parameters" (/dev/ttyUSB0)
Is it possible to use a UniPi 1.1 and a PiJuice HAT at the same time?
I want to power only the RPi in case of a power loss.