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

      Announcement of a new pre-release Version 3

      Development tools
      • beta studio • • cechurat
      17
      2
      Votes
      17
      Posts
      3.8k
      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.6k
      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
      4.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
      520
      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
      862
      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
      540
      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
      850
      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

    • C

      Communication with USBRLY82

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • serial rexlang • • contactform
      2
      0
      Votes
      2
      Posts
      727
      Views

      cechuratC

      Hi George,

      Thanks for your question. You need to create a kind of state machine which basically does the following (one line = one task period):

      Write() - send a read request to the device Read() - save received data and length into a global buffer/variable and distinguish if the received message is complete Retry and repeat Read() if the previously received message was not complete

      You will need to introduce a timeout - it can happen that you lost some data so there should be some timeout when you say "Message incomplete, resend the read request".

      Cheers,
      Tomas

    • G

      Conditional exectution of code block.

      REXYGEN Studio
      • • • Gerritjan1
      9
      0
      Votes
      9
      Posts
      1.7k
      Views

      J

      @gerritjan1 I've observed that you are currently using the flags MTM__readBlock_ReadEnable and MT__writeBlock2_WriteEnable. However, in a previous post, you mentioned flags named MTM__readBlock1 and MTM__writeBlock1. It is important to ensure that the flag names correlate properly. Therefore, for MTM__readBlock1, the corresponding enabling flag should be MTM__readBlock1_ReadEnable, and for MTM__writeBlock1, the enabling flag should be MTM__writeBlock1_WriteEnable.

    • S

      Post editing is not possible

      Bug reports, Feature requests
      • • • Serg
      2
      0
      Votes
      2
      Posts
      2.3k
      Views

      cechuratC

      @serg Hi Serg, thanks for reporting. This is not a bug. 3600 seconds is 60 minutes. If you want to edit your post after 60 minutes just write a new post underneath.

      Cheers, Tomas

    • S

      Is certificate expired?

      Bug reports, Feature requests
      • • • Serg
      6
      0
      Votes
      6
      Posts
      1.2k
      Views

      S

      Closed. Solved in another way. Thanks support!

    • M

      Floating Run Time License

      General
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      557
      Views

      J

      @mikeyh Hi Mike,
      I'm sorry for the late reply. Unfortunately, we do not have a floating licenses yet. We are counting on something similar in the future, but I'm irfaid it will take some time.
      Cheers,
      Jan

    • S

      Licensing error after OS update

      General
      • • • sblackmo
      3
      1
      Votes
      3
      Posts
      621
      Views

      S

      The problem was indeed a licensing issue, it is now solved thanks to Rexygen support - excellent customer service as always.

    • H

      REXduino and TSC2007

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • • • hrabalo
      4
      1
      Votes
      4
      Posts
      1.1k
      Views

      cechuratC

      @hrabalo Hi,

      Thanks for getting back to us. I'm glad it works for you now.

      Good luck with your project.

      Cheers, Tomas

    • C

      Problem rex-odbc and libmaodbc/libmyodbc

      Database (MySQL, MariaDB, PostgreSQL, MSSQL)
      • • • chytra
      6
      1
      Votes
      6
      Posts
      1.3k
      Views

      C

      @jan-reitinger
      Great! Installation completed successfully! Thank you.

    • G

      measuring relative quadrature encoder movement.

      REXYGEN Studio
      • • • Gerritjan1
      2
      0
      Votes
      2
      Posts
      663
      Views

      cechuratC

      @gerritjan1 Hi,

      have a look at function block "ABSROT". It might help you solve your task. Just set the lolim and hilim parameters as a range of the counter output.

      Let us know if you managed get the desired behaviour.

      Cheers,
      Tomas

    • H

      REXduino 4-wire touchscreen

      General
      • • • hrabalo
      2
      0
      Votes
      2
      Posts
      811
      Views

      cechuratC

      Hi!
      Thanks for reaching out. In general, it is possible.
      However, you would need to edit the sketch for REXduino in order to read out the touch position and communicate it to REXYGEN which could be pretty challenging (depending on your programming skills). It would require knowledge of the REXduino communication mechanism which is not documented (except the code).

      What about posting the touch position information via REST API to REXYGEN? Example "0302-11 ESP8266 REST API" might be used as a hint.

      Kind Regards,
      Tomas

    • R

      Change IP address for ModBus TCP/IP from HMI

      REXYGEN HMI Designer
      • • • RexPeter
      3
      1
      Votes
      3
      Posts
      974
      Views

      cechuratC

      @rexpeter Hi Peter,

      I have an update on your Topic. It is possible to change the Slave IP address by configuring "Address" parameter (e.g. GoTo flag "MTM__1_Address" in your case).

      f8a090e9-9a03-4eec-9c12-a64115101392-image.png

      Cheers,
      Tomas

    • J

      HMI group color change

      REXYGEN HMI Designer
      • • • Jackobocze
      3
      1
      Votes
      3
      Posts
      710
      Views

      J

      @reitinge Thank you, everything works as I wish.

    • M

      Error message when downloading

      General
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      553
      Views

      R

      @mikeyh
      Hi Mike,
      do you have the same versions of REXYGEN on your Raspberry Pi and PC? Can the RPi be pinged from your computer?

      Cheers,
      Jan