REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • M

      REXYGEN License error

      General discussion
      • • • MikeyH
      1
      0
      Votes
      1
      Posts
      1.3k
      Views

      No one has replied

    • M

      TRND block in REXYGEN 3

      REXYGEN Studio
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      341
      Views

      cechuratC

      @MikeyH Hi Mike,

      you are right - this is new in v3. The parameter SigNames is passed to the TRND block and can be read in Watch Mode in REXYGEN Studio (just double-click the TRND block) - see the signal annotation in the right part of a window.
      It is also read by HMI component TRND which displays the information directly to the HMI (you can override the information by editing the HMI component parameters).

      Cheers,
      Tomas

    • M

      Time issue

      REXYGEN Studio
      • • • MikeyH
      1
      1
      Votes
      1
      Posts
      343
      Views

      No one has replied

    • M

      asci conversion

      Modbus TCP
      • • • MikeyH
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      cechuratC

      @MikeyH Hi Mike,

      I'm glad it works for you 😉

      For the "variable decimal point" I would use blocks MUL and CNDR. CNDR configure so it reflects the changing of the gain according to the value.

      You will probably find many other solutions which will lead you to the desired behaviour (e.g. SSW for switching gain according to the value)

      Hope it helps.

      Cheers,
      Tomas

    • M

      HTTP Error in system log

      REXYGEN Studio
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      376
      Views

      cechuratC

      @MikeyH Hi Mike,

      Code "-102" stands for Timeout - see Doc: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/BRef_ENGap3.html#x360-359000C

      How often do you write the values?

      PS: In version 3 we have introduced native support for the PostgreSQL database. Have a look at the documentation if you find it useful: https://download.rexcontrols.cz/partner/testing/rexygen/doc/3.0.0.15811/ENGLISH/MANUALS/PqDrv/PqDrv_ENG.html

      Cheers,
      Tomas

    • M

      Home assistant

      General
      • • • mtomek
      2
      1
      Votes
      2
      Posts
      467
      Views

      cechuratC

      @mtomek Hi Michal,

      if the period of read/write request won't be shorter than a few seconds I would use REXYGEN REST API - see docs: https://www.rexygen.com/doc/ENGLISH/MANUALS/RexRestApi/RexRestApi_ENG.html

      Have a look at the "0302 IoT Integrations" examples folder - it contains some examples on using REST API.

      Cheers,
      Tomas

    • M

      Refrigeration Model

      REXYGEN Studio
      • • • MikeyH
      1
      0
      Votes
      1
      Posts
      314
      Views

      No one has replied

    • M

      Raspberry Pi 5 Compatibility

      General discussion
      • rpi 5 • • MikeyH
      3
      0
      Votes
      3
      Posts
      488
      Views

      M

      @cechurat Hi Thomas,

      Thanks for the replay.

      I'm about to get some pi 5's to run REXYGEN on, so that's good to know. I won't be fitting Monarco HATs to these so no issue there.

      But will be getting one once you release the updated design etc

      Cheers,
      Mike

    • M

      REXYGEN Studio 2.50.12.14711 (x64) freezing

      REXYGEN Studio
      • • • martinpies
      2
      1
      Votes
      2
      Posts
      383
      Views

      cechuratC

      @martinpies Hello Martin,

      Thank you for your feedback. I'm sorry to hear that you are struggling with using REXYGEN Studio. In version 2.50.12 there is a known issue with the closing of diagnostic protocol. The recommended workflow is disconnecting completely from the target (F8) before Compile and Download (F6). In other words - avoid reconnecting to the running target when developing the project.

      Please, let me know your findings.

      Cheers,
      Tomas

    • S

      HW PWM on RPi?

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • • • stepan.ozana
      2
      1
      Votes
      2
      Posts
      514
      Views

      J

      @stepan-ozana Hello, yes PWM flags should work as HW PWM on GPIO12, GPIO13, GPIO18, GPIO19 pins. The functionality should be the same as described here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html
      https://www.electronicwings.com/raspberry-pi/raspberry-pi-pwm-generation-using-python-and-c

      Best regards,
      Jan

    • J

      PT100 thermocouple ADC conversion UniPi

      General
      • • • Jarek
      5
      1
      Votes
      5
      Posts
      791
      Views

      cechuratC

      @jarek If the UniPi you are using have RS485 bus it will work.

    • I

      Database connection with PHPMyAdmin

      Database (MySQL, MariaDB, PostgreSQL, MSSQL)
      • • • IstrateSorin01
      2
      1
      Votes
      2
      Posts
      571
      Views

      cechuratC

      @istratesorin01
      Hi Istrate,

      it seems that the issue is remote access to the Database which is forbidden by default. Have a look at this tutorial: https://webdock.io/en/docs/how-guides/database-guides/remote-access-your-mariadb-mysql-database-ubuntu-focal-mariadb-v106

      Kind regards,
      Tomas

    • M

      How to read/write to MySQL?

      Database (MySQL, MariaDB, PostgreSQL, MSSQL)
      • • • Mateo
      2
      1
      Votes
      2
      Posts
      520
      Views

      cechuratC

      Hi Mateo,

      Thank you for your question. The error you are referring to is not related to the Database connection - it's about the connection between Studio and the target device.

      I recommend you start with simple examples 0404-01 MySQL Simple Export and 0404-02 MySQL Simple Import.

      The most tricky part is remote access to the Database which is forbidden by default. Have a look at this tutorial: https://webdock.io/en/docs/how-guides/database-guides/remote-access-your-mariadb-mysql-database-ubuntu-focal-mariadb-v106

      First, you can try to run the Database on the same target as the REXYGEN is running. Send data locally from REXYGEN to MySQL DB should be done without any issues.

      Let me know if it helped.

      Cheers, Tomas

    • cechuratC

      Announcement of a new pre-release Version 3

      Development tools
      • beta studio • • cechurat
      17
      2
      Votes
      17
      Posts
      2.9k
      Views

      cechuratC

      @mikeyh Hi Mike,

      According to the screenshots provided, I would suspect that the Response timeout parameter in MBDrv is too short - did you try to enlarge it?

      I also use passive tag in my projects and don't face any issues when the communication parameters are correctly set.

      One more question: What is the RS485 Baudrate set in the Monarco Driver?

      Kind regards
      Tomas

    • C

      Delay function in REXLANG

      REXYGEN Studio
      • • • contactform
      3
      0
      Votes
      3
      Posts
      3.4k
      Views

      C

      @jaroslav_sobota said in Delay function in REXLANG:

      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

      The "Sleep()" function in REXLANG should be avoided as it's recommended to write code that executes quickly for optimal performance. Refer to the REXLANG documentation for more details.

    • G

      ASCII Commands Over RS485

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • • • GeorgeDumitru
      19
      1
      Votes
      19
      Posts
      3.2k
      Views

      J

      @georgedumitru I think the best documentation is this thread here on the forum. Byte array reading from communication is also discussed there.

      Another helpful tool is definitely the example located at C:\Program Files\REX Controls\REXYGEN 2.50.12.14711\Examples\0203_Function_Blocks_REXLANG.

    • M

      SSD Storage

      Monarco HAT
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      435
      Views

      cechuratC

      Hi Mike,

      I know that @RexPeter use it on his setups with REXYGEN - maybe he can share some experiences with that.

      Kind Regards,
      Tomas

    • M

      Modbus RTU in REXLANG or Python

      Modbus RTU
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      732
      Views

      J

      Hi Mike,

      I recommend checking out the examples in the 0401_Modbus_RTU folder or take a look at the 0121-10_Monarco_HAT_Modbus_RTU_ADAM-4024 and 0121-11_Monarco_HAT_Modbus_RTU_Loopback_USB examples. These are all provided in REXLANG. Hopefully, these examples will provide some assistance.

      Cheers,
      Jan

    • M

      Modbus over RS485 and USB

      Monarco HAT
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      412
      Views

      J

      @mikeyh
      Hello Mike,

      Yes, it's possible to use both RS485 for RTU on the Monarco and the USB on the RPi for RTU simultaneously. Check out the illustrative example "0121-11_Monarco_HAT_Modbus_RTU_Loopback_USB." This example features two distinct Modbus drivers: one for /dev/ttyAMA0 (Monarco HAT) and another for /dev/ttyUSB0.

      Cheers,
      Jan

    • G

      What is the easyest way to hide the headers completely

      REXYGEN HMI Designer
      • • • Gerritjan1
      4
      1
      Votes
      4
      Posts
      691
      Views

      cechuratC

      @gerritjan1 Hi,

      for now, there is no option to hide the header by the end user. However, our developers can make a custom change for you to hide the header completely as a paid service. If you are interested just let me know and I will get back to you with details.

      Cheers,
      Tomas