REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. MikeyH
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 70
    • Posts 194
    • Best 3
    • Controversial 0
    • Groups 0

    Topics created by MikeyH

    • M

      MBM error

      Modbus RTU
      • • • MikeyH
      4
      0
      Votes
      4
      Posts
      31
      Views

      cechuratC

      @MikeyH Hi Mike,

      This is related to the communication timeout - inspect data length with respect to baudrate and timeouts.

      All REXYGEN error codes here in Docs: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/BRef_ENGap3.html#x488-487000C

      Cheers,
      Tomas

    • M

      Error 106

      REXYGEN Studio
      • • • MikeyH
      3
      0
      Votes
      3
      Posts
      34
      Views

      cechuratC

      @MikeyH Hi Mike,

      This error is triggered when something is preventing Studio from writing to the Project location. Do you have all related folders available for read and write?

      If the issue persists, can you share a minimal project with us? Thanks

      Cheers, Tomas

    • M

      SPI comms for MCP41X

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • • • MikeyH
      1
      0
      Votes
      1
      Posts
      27
      Views

      No one has replied

    • M

      Bytes to bit

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

      M

      sorry, I've just worked it out using the Bitwise demultiplexer

      f8e2817e-be2b-4795-8b4f-ac8a5581218b-image.png

    • M

      HMI Designer 3.2.5

      REXYGEN HMI Designer
      • • • MikeyH
      10
      0
      Votes
      10
      Posts
      1.2k
      Views

      M

      @cechurat Hi Tomas,

      I will try and record this this week, sorry for the delay.

      Cheers,
      Mike

    • M

      Update REXcore etc on Monarco

      Development tools
      • • • MikeyH
      3
      0
      Votes
      3
      Posts
      441
      Views

      M

      @cechurat Hi Tomas,

      That worked thank you, I used apt-get which didn't seem to update the REX stuff.

      Thank you
      Mike

    • M

      Raspberry pi 5 with Book worm

      General discussion
      • • • MikeyH
      8
      0
      Votes
      8
      Posts
      2.2k
      Views

      M

      @Jan-Reitinger Hi Jan,

      Awesome thank you. I'll give it a try this week and let you know.

      Cheers,
      Mike

    • M

      RPi internet issues with REXYGEN 3.0

      REXYGEN Studio
      • • • MikeyH
      8
      0
      Votes
      8
      Posts
      1.1k
      Views

      M

      @Jan-Reitinger Hi Jan,

      All sorted, thank you.

      Cheers,
      Mike

    • M

      Run Linux command

      REXYGEN Studio
      • • • MikeyH
      5
      0
      Votes
      5
      Posts
      715
      Views

      M

      @cechurat Hi Tomas,

      No problem, and thank you for your help as always.

      Cheers,
      Mike

    • M

      REXYGEN License error

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

      No one has replied

    • M

      Delete Archives

      REXYGEN Studio
      • • • MikeyH
      8
      0
      Votes
      8
      Posts
      1.0k
      Views

      cechuratC

      @MikeyH Hi Mike,

      thanks for the report. It seems that the Archive viewer in Diagnostics is limited to the 16 signals.

      I have prepared a Python script for converting the Archive timezone - find it attached.

      How to use the script:

      export the REXYGEN archive using the RexArc command line utility. For details execute command RexArc --help put the exported file in the same directory as the Python conversion script run the conversion script using the following command: python archive_timezone_converter.py input.csv output.csv offset

      Parameters meaning:

      input.csv - original file exported using RexArc output.csv - output file offset - The timezone offset to apply (in hours).

      Script file: archive_timezone_converter.py

      Let me know if it helps.

      Cheers, Tomas

    • M

      TRND block in REXYGEN 3

      REXYGEN Studio
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      340
      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
      341
      Views

      No one has replied

    • M

      HTTP Error in system log

      REXYGEN Studio
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      375
      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

      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

      REXYGEN 3.0.0

      REXYGEN Studio
      • • • MikeyH
      9
      0
      Votes
      9
      Posts
      1.2k
      Views

      cechuratC

      @MikeyH Hi Mike,

      Please, make sure to tick the "GenerateRexHMI" parameter as well.

      Cheers,
      Tomas

    • M

      Refrigeration Model

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

      No one has replied

    • M

      Raspberry Pi 5 Compatibility

      General discussion
      • rpi 5 • • MikeyH
      3
      0
      Votes
      3
      Posts
      486
      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

      Modbus over RS485 and USB

      Monarco HAT
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      411
      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

    • M

      Modbus RTU in REXLANG or Python

      Modbus RTU
      • • • MikeyH
      2
      0
      Votes
      2
      Posts
      729
      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