Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Development tools
    3. REXYGEN Studio
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • cechurat

      Default login and password, error 123
      credentials • • cechurat

      1
      0
      Votes
      1
      Posts
      656
      Views

      No one has replied

    • cechurat

      Annotations in REXYGEN Studio
      studio • • cechurat

      1
      0
      Votes
      1
      Posts
      543
      Views

      No one has replied

    • cechurat

      Automatic restart after power cycle
      power cycle reboot • • cechurat

      1
      0
      Votes
      1
      Posts
      556
      Views

      No one has replied

    • C

      Delay function in REXLANG
      • contactform

      2
      0
      Votes
      2
      Posts
      2105
      Views

      jaroslav_sobota

      Hi Tobby,
      why do you need such a function?

      There is the Sleep() function in REXLANG, but it is highly recommended not to use it. You should write your REXLANG code so that it executes as fast as possible. For details see REXLANG documentation.

      Best regards,
      Jaroslav

    • M

      SWR Block
      • MikeyH

      3
      0
      Votes
      3
      Posts
      740
      Views

      M

      Hi Jaroslav,

      Awesome, thank you for your help.

      Cheers

      Mike

    • M

      CMP Block
      • MikeyH

      5
      0
      Votes
      5
      Posts
      1111
      Views

      M

      Thanks Jaroslav,

      So using a not block would be the preferred way for making it work for cooling.

      Cheers

      Mike

    • C

      Looping 3 LEDs on 3 different pins
      • contactform

      2
      0
      Votes
      2
      Posts
      588
      Views

      cechurat

      Hi Sid,

      thank you for your question. Custom made solution is far beyond our "free of charge" support. However here are some function blocks which might help you achieve your goal:

      TIMER_ - Multipurpose timer
      BINS – Controlled binary sequence generator
      EDGE_ - Falling/rising edge detection in a binary signal

      If there is anything unclear, let us know.

      Regards, Tomas

    • M

      String Selection for HMI simple logger
      • MikeyH

      2
      0
      Votes
      2
      Posts
      632
      Views

      cechurat

      Hi Mike,

      not sure if I understand correctly what is the issue. Can you provide more information?
      Can you share screenshot of the project part and a sketch of desired behaviour?
      Is the issue about setting binary inputs sequentially which produces more logs to be written?

      Thanks.

      Cheers, Tomas

    • S

      HMI not working with RPi+touchscreen
      • stepan.ozana

      4
      0
      Votes
      4
      Posts
      991
      Views

      cechurat

      Thank you for update. If you encounter any strange behaviour again, please, let us know.
      Good luck with your project!

      Cheers, Tomas

    • C

      Help with function blocks
      • contactform

      6
      0
      Votes
      6
      Posts
      1094
      Views

      cechurat

      Hi Phil,

      let me answer your questions:

      ad 1) Yes, in order to count time connect CNI=1 to "ti" input as you proposed.
      ad 2) Correct, "Y" should contain time.
      ad 3) Exactly.

      It also assumes that your boolean signal from pushbutton is connected to input "u".

      For more details about the INTE function block see docs: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/INTE.html#x81-800005

      Cheers, Tomas

    • R

      Comparing 2 strings
      • RexPeter

      5
      0
      Votes
      5
      Posts
      970
      Views

      cechurat

      @rexpeter You are welcome 😉 Glad I could help.

      Cheers, Tomas

    • M

      Logging Bools
      • MikeyH

      5
      0
      Votes
      5
      Posts
      672
      Views

      M

      Ok, thanks Jaroslav.

      I'll use a combination of the ALB and what I currently have to achieve both. This way I'll get both live HMI and logged alarms.

      Cheers

      Mike

    • M

      Cooling and Heating
      • MikeyH

      5
      0
      Votes
      5
      Posts
      584
      Views

      jaroslav_sobota

      Hi Mike,
      I see. In that case the simplest approach is to use the TSE block (three state element), which moreorless combines two comparators with hysteresis.
      0_1571645853248_rexygen_tse_cooling_heating.png

      Kind regards
      Jaroslav

    • R

      Smith Predictor
      • ryanastiefes

      10
      0
      Votes
      10
      Posts
      1752
      Views

      jaroslav_sobota

      @ryanastiefes Dear Ryan,
      I have used PID Control Laboratory at www.pidlab.com.

      0_1571646428904_pidlab-pi-controller.png

      Hope this helps.

      Best regards
      Jaroslav

    • G

      Database value as parameter
      • GeorgeDumitru

      2
      0
      Votes
      2
      Posts
      309
      Views

      cechurat

      Hi George,

      if I understand correctly you are trying to write (change) parameter inside function block (TIMER_:pt) from the running project, right?

      Have a look at function block called SETP*: https://www.rexygen.com/doc/PDF/ENGLISH/BRef_ENG.pdf#page=307

      This group of blocks enables you to remotely change parameters (Real, Integer, Bool) of function blocks.

      If this is not answering your question, please, let me know 🙂

      Regards, Tomas

    • S

      MVD block for 3-way valve actuator
      • Scoobsalamander

      4
      0
      Votes
      4
      Posts
      434
      Views

      jaroslav_sobota

      Hi Kris,
      you are right, it is necessary to force the valve to fully closed position once in a while. The SRTF function block is not the best one for your needs. I'd go for the ATMT state machine or simply use an ISSW switch to send logic 1 to the DN (CLOSE) input.

      Jaroslav

    • C

      Putting source files into target device
      • contactform

      2
      0
      Votes
      2
      Posts
      287
      Views

      jaroslav_sobota

      Hi,
      this is possible. Put the PROJECT block into your project main file (the one with EXEC block) and tick the SourcesOnTarget parameter.
      0_1575385871267_rexygen-source-files-on-target.png

      Hope this helps, let me know.

      Jaroslav

    • B

      Folder name --> avoid compilation error
      • bigmanvstrashman

      2
      0
      Votes
      2
      Posts
      228
      Views

      jaroslav_sobota

      Hi Emmanuel,
      you are right, I can replicate the problem. I'll forward this to our developers.

      Thanks for reporting the issue and the workaround!

      Best regards
      Jaroslav

    • C

      Counting minutes in REXYGEN
      • contactform

      9
      0
      Votes
      9
      Posts
      729
      Views

      jaroslav_sobota

      Hello Martijn,
      this will save the total number of run-minutes to database everytime the RUN input drops to OFF (FALSE):
      0_1576604316928_rexygen-hour-meter-database.png

      See example 0404-01 and Database connection driver manual for details.

      Hope it helps.

      Jaroslav

    • H

      Json array decoding
      • hubert

      2
      0
      Votes
      2
      Posts
      209
      Views

      cechurat

      Hi Hubert,

      thank you for your question. It would be much more easier to answer if you can share project files which shows the example of such JSON string and function block settings.

      If you want to access JSON array, just use "[x]" notation, i.e. weather[0].main (means field "main" in 1st item of "weather" array) - see "0302-04 OpenWeatherMap API" example.

      Hope it helps.

      Regards, Tomas

    This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

    There is also an outdated REXYGEN community forum.

    Powered by NodeBB.