Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. DickesC
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    DickesC

    @DickesC

    0
    Reputation
    10
    Posts
    345
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    DickesC Follow

    Best posts made by DickesC

    This user hasn't posted anything yet.

    Latest posts made by DickesC

    • RE: Modbus: Reset value at Communication Error

      Hi

      Thanks, works perfectly!

      posted in Mervis
      D
      DickesC
    • Modbus: Reset value at Communication Error

      Hi

      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

      posted in Mervis
      D
      DickesC
    • RE: Dynamic subject / message on sendmail

      Thanks, i will have a try

      posted in Mervis
      D
      DickesC
    • HMI broken on IOS devices

      Hi

      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.

      0_1562848081825_pc-chrome.jpg

      But on IOS devices the HMI is broken.
      The image is not visible, and the two arrows are somewhere else.

      0_1562848125928_iPhone.jpg

      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?

      Thanks

      posted in Mervis
      D
      DickesC
    • Dynamic subject / message on sendmail

      Hi

      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....)

      Thanks

      posted in Mervis
      D
      DickesC
    • RE: USB-to-RS485 and Power Meter ... can't get it to work

      Hi

      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

      • Modbus Group Parameters
      • Comm. Value Mapped Type
      • ST Type
      • Data Offset
      • MultiByte Lenght

      The Modbus register map you can find here:

      https://bg-etech.de/download/manual/SDM120C-Modbus-DE.pdf
      http://www.eastroneurope.com/media/_system/tech_specs/3914/SDM120 PROTOCOL.pdf

      Thanks

      posted in Mervis
      D
      DickesC
    • RE: USB-to-RS485 and Power Meter ... can't get it to work

      Hi

      Yes, i have it connected to this port.
      And i have tried all the other ports too.

      posted in Mervis
      D
      DickesC
    • RE: USB-to-RS485 and Power Meter ... can't get it to work

      Thanks for the Link

      So i have tried the following:

      • add a channel

      Protocol "Modbus"
      Link Protocol "Serial"
      Port Number "USB Port1"
      Baud Rate "9600"
      Data Bits "8"
      Parity "None"
      Stop Bits "One"

      • add a device

      Device Address "1"

      • add a group to the device

      Starting Element "30001"
      Quantity of Elements "6"

      • add a Data Point

      Select the right group
      Comm Value "BuiltIn"
      ST Type "real"
      MultiByte Length "4"

      • Set Autogen

      • 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?

      Thanks

      posted in Mervis
      D
      DickesC
    • USB-to-RS485 and Power Meter ... can't get it to work

      Hi

      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)

      Any help?

      Thanks

      posted in Mervis
      D
      DickesC
    • UniPi 1.1 and PiJuice HAT ?

      Hi

      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.

      Thanks

      posted in Other Peripherals
      D
      DickesC