• Attach PLC over VPN failed

    3
    0 Votes
    3 Posts
    1k Views
    D
    Thanks Tomas, its slightly confusing, but it works. In Deploy i must switch to Range instead of broadcast. Petr
  • Modbus: Reset value at Communication Error

    3
    0 Votes
    3 Posts
    2k Views
    D
    Hi Thanks, works perfectly!
  • Dynamic subject / message on sendmail

    3
    0 Votes
    3 Posts
    1k Views
    D
    Thanks, i will have a try
  • HMI broken on IOS devices

    2
    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    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
  • Call function block from st

    2
    3
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    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: [image: 0_1562829190459_f0f1c9ad-8563-4baa-a5ee-d78b797fe4c4-image.png] Best regards, Martin
  • USB-to-RS485 and Power Meter ... can't get it to work

    6
    0 Votes
    6 Posts
    2k 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
  • Set ControllerType input of B31_REVERSE_ON_OFF_CONTROL_SEQUENCE

    1
    0 Votes
    1 Posts
    956 Views
    No one has replied
  • EnOcean USB300

    8
    1
    0 Votes
    8 Posts
    2k Views
    Martin KudláčekM
    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.
  • Files to include for version control

    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    Hi @Matt, the safe way is to include the whole Mervis project directory. Best regards, Martin
  • HMI Cannot add more variables

    8
    0 Votes
    8 Posts
    4k Views
    R
    [image: 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.
  • Mervis DB with Matlab

    mervisdb matlab python
    2
    0 Votes
    2 Posts
    1k 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?
  • Problems with Axon as Modbus Slave

    2
    1
    0 Votes
    2 Posts
    1k Views
    T
    @raubucs Can you share the whole project? Have you tried all of the RS485 lines?
  • Recovery of a program

    2
    0 Votes
    2 Posts
    1k Views
    T
    @mmcreativ Unfortunately the source project is not stored on the PLC so there is no way to recover it.
  • Problems with the onboard IO in Mervis

    2
    0 Votes
    2 Posts
    1k 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.
  • Usage of xG1W-2 with Neuron

    Moved xg1w-2 mervis neuron
    2
    0 Votes
    2 Posts
    2k Views
    Martin KudláčekM
    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
  • Číslo z desetinou čárkou na výstupu Modbus server

    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    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.
  • Vyčítání dat z Axon Modbus server - datové typy

    3
    1
    0 Votes
    3 Posts
    2k Views
    Martin KudláčekM
    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: [image: 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
  • P term cutoff in PID controller

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    51 Views
    No one has replied
  • mervis IDE compilation error

    3
    1
    0 Votes
    3 Posts
    2k Views
    Martin KudláčekM
    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