• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. SW Q&A
    3. Mervis
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • D

      Dynamic subject / message on sendmail
      • DickesC

      3
      0
      Votes
      3
      Posts
      1287
      Views

      D

      Thanks, i will have a try

    • D

      HMI broken on IOS devices
      • DickesC

      2
      0
      Votes
      2
      Posts
      1071
      Views

      Martin Kudláček

      Hi @dickesc,
      you just did everything you can to fix this - you made a detailed report. I am forwarding this to the developers to have it fixed.

      Thank you for your contribution,
      Martin

    • S

      Call function block from st
      • soren

      2
      0
      Votes
      2
      Posts
      1146
      Views

      Martin Kudláček

      Hello @søren-hedegaard-0,
      you didn't pass any input value to the ph_control_hourly(), so the block doesn't know anything about run_at_time and ph_hourly_feed.

      The call should look this:

      ph_control_hourly(run_at_time := local_run_at_time, ph_hourly_feed := local_ph_hourly_feed, out => local_out_value)

      If you look in to the help (F1) of any built-in FB, you will see a usage and you learn how the ST works:

      0_1562829190459_f0f1c9ad-8563-4baa-a5ee-d78b797fe4c4-image.png

      Best regards,
      Martin

    • D

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

      6
      0
      Votes
      6
      Posts
      2280
      Views

      D

      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

    • A

      Set ControllerType input of B31_REVERSE_ON_OFF_CONTROL_SEQUENCE
      • arolli

      1
      0
      Votes
      1
      Posts
      852
      Views

      No one has replied

    • N

      EnOcean USB300
      • Niklas

      8
      0
      Votes
      8
      Posts
      2260
      Views

      Martin Kudláček

      For the sake of the history: a very old SD card image was in the PLC and the current MervisIDE wasn't able to detect it properly.

    • M

      Files to include for version control
      • Matt

      2
      0
      Votes
      2
      Posts
      1014
      Views

      Martin Kudláček

      Hi @Matt,
      the safe way is to include the whole Mervis project directory.

      Best regards,
      Martin

    • R

      HMI Cannot add more variables
      • robl

      8
      0
      Votes
      8
      Posts
      3854
      Views

      R

      0_1559909211138_034debcb-00d8-4f0f-bf32-e2f79989f461-image.png

      Problem seems to be triggered when replacing an existing function with a similar function, then any new vars stop working, any changed vars stop working, and the function stops returning any output even though it's getting everything valid input.

    • K

      Mervis DB with Matlab
      mervisdb matlab python • • kalophain

      2
      0
      Votes
      2
      Posts
      1197
      Views

      J

      Hi, the mex file is compiled from C++ source code. The MexMain.mexw64 file is compiled for Windows 64bit platform. I do suggest that you use Windows 64bit.

      What version of Matlab do you use?

    • R

      Problems with Axon as Modbus Slave
      • raubucs

      2
      0
      Votes
      2
      Posts
      1012
      Views

      T

      @raubucs Can you share the whole project? Have you tried all of the RS485 lines?

    • MMCreativ

      Recovery of a program
      • MMCreativ

      2
      0
      Votes
      2
      Posts
      1039
      Views

      T

      @mmcreativ Unfortunately the source project is not stored on the PLC so there is no way to recover it.

    • R

      Problems with the onboard IO in Mervis
      • raubucs

      2
      0
      Votes
      2
      Posts
      1055
      Views

      R

      I've found out my problem.
      In the tutorial an neuron was added at the modbus tcp, but i haven't realised, that the neuron is also the PLC.
      Now i have added an ModbusTCP channel with the L505 and now the IO works.

    • K

      Usage of xG1W-2 with Neuron
      xg1w-2 mervis neuron • • kalophain

      2
      0
      Votes
      2
      Posts
      1455
      Views

      Martin Kudláček

      Hi @kalophain,
      that looks like you haven't "Attach the controller". Try following this tutorial: https://kb.unipi.technology/en:sw:01-mervis:creating-new-project-hidden#attaching_to_the_controller

      Best regards,
      Martin

    • B

      Číslo z desetinou čárkou na výstupu Modbus server
      • Beny44

      2
      0
      Votes
      2
      Posts
      1157
      Views

      Martin Kudláček

      Dobrý den @beny44,
      toto se opět vztahuje k Modbusu jako takovému, viz https://forum.unipi.technology/topic/923/vyčítání-dat-z-axon-modbus-server-datové-typy/2

      Čísla s desetinnou čárkou se buď dají přenášet v čisté 32bitové formě (transformace "Identita") a záleží na protistraně, jestli ji zvládne zpracovat. Nebo můžete hodnotu vynásobit třeba 100 a převést na celé číslo (transformace "Násobit 100"). Tím pádem například z teploty 23.96 přes modbus přenesete hodnotu 2396 a na druhé straně ji musíte podělit 100.

      V průmyslu se velmi často používá to násobení/dělení 100.

    • B

      Vyčítání dat z Axon Modbus server - datové typy
      • Beny44

      3
      0
      Votes
      3
      Posts
      1504
      Views

      Martin Kudláček

      A ještě dovětek @beny44. Pokud přidáváte do Modbus server zařízení proměnné, které jsou větší jak 16 bitů, musíte jim ručně udělat místo na dva registry:

      0_1555314353324_ad20c98b-fcf9-427b-b793-8bea2546f76b-image.png

      cislo16bit zabírá pouze jeden registr, proto cislo32bit může být na registru č. 2.
      cislo32bit_2 musí být až na registru č. 4, protože předchozí cislo32bit si zabere registry 2 a 3.
      cislo16bit_2 musí být až na registru č. 5, protože předchozí cislo32bit_2 si zabere registry 4 a 5.

      S pozdravm,
      Martin Kudláček

    • M

      P term cutoff in PID controller
      • Matt

      1
      0
      Votes
      1
      Posts
      1062
      Views

      No one has replied

    • M

      This topic is deleted!
      • msoenen

      1
      0
      Votes
      1
      Posts
      51
      Views

      No one has replied

    • N

      mervis IDE compilation error
      • nordeck

      3
      0
      Votes
      3
      Posts
      1314
      Views

      Martin Kudláček

      Zdravím @nordeck,
      nejsem si úplně jist, čeho chcete dosáhnout nastavením DI a CNT na retain. DI určitě není potřeba nastavovat jako retain, protože jeho stav interní HW ví dřív, než nastartuje Mervis. U CNT chápu, že chcete aby jeho hodnota přežila restart PLC. To se ale nepodaří docílit přes Retain, protože CNT je proměnná interního HW, který když se restartuje, tak Mervisu nabídne hodnotu 0. To by bylo potřeba ošetřit tak, že si hodnotu proměnné CNT budete ukládat do vedlejší SW retain proměnné a její hodnota pak restart přežije.

      S pozdravem,
      Martin Kudláček

    • B

      Web server přístup odepřen
      • Beny44

      1
      0
      Votes
      1
      Posts
      908
      Views

      No one has replied

    • zorro_66

      Automatic restart of the 1-Wire bus
      • zorro_66

      4
      0
      Votes
      4
      Posts
      1857
      Views

      Martin Kudláček

      Hello @zorro_66,
      the problem with 1-Wire bus is, that there are no guarantees about its functionality. You may have 10 sensors on 100m bus working just fine and you can have 5 sensors on 20m that will not work at all.

      The general guidelines are:

      Avoid stub and star topology (e.g. use our 4 wire sensors) Use shielded cable and don't lay the cable along the 230V power lines

      For more detailed information, try reading this paper from Maxim: https://www.maximintegrated.com/en/app-notes/index.mvp/id/148

      Best regards,
      Martin