Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. reitinge
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 93
    • Best 1
    • Groups 0

    reitinge

    @reitinge

    1
    Reputation
    14
    Profile views
    93
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    reitinge Follow

    Best posts made by reitinge

    • RE: RC Servo PWM control.

      Hi Bruno,
      the Monarco HAT has hardware PWM and therefore does not need to create PWM in software using a PWM block. Documentation to the PWM on Monarco HAT can be found on page 16 in Monarco technical specification https://www.monarco.io/docs/Monarco-HAT-Hardware-Reference-Manual.pdf.
      All you need to do is set the PWM frequency (in your case to 50 Hz) and calculate the actual duty cycle for one channel according to the equation:

      Duty_cycle = pulse_width/period_length
      

      Take a look at example 0121-05_Monarco_HAT_PWM_output to find out how to set the frequency and duty cycle for PWM1 (for example).

      Hope, this will be helpfull.
      Cheers
      Jan.

      posted in Monarco HAT
      R
      reitinge

    Latest posts made by reitinge

    • RE: Power Over Ethernet

      Hi Mike,
      sorry for the late reply. To be honest, I haven't tried Monarco HAT with PoE HAT. However, by specification, HAT devices are not generally stackable. Monarco HAT should be powered by 10-30 VDC. PoE HAT supplies only 5 VDC. So I don't think it will work.
      Cheers,
      Jan

      posted in Monarco HAT
      R
      reitinge
    • RE: Licensing

      @mikeyh
      Hi Mike,
      at the moment, it is really not possible to reactivate a license from a 32-bit OS to a 64-bit one. We are currently preparing this option and it should be available in the near future. I sent you an email with some additional information.
      Cheers Jan

      posted in General
      R
      reitinge
    • RE: REXduino - Communication failure between Raspberry PI and Arduino_MEGA

      @mtomek Hi Michal,
      I think you can track the PIN number where error occurs when you configure the system log, as described in the last point of the Troubleshooting section described here: https://github.com/jaroslavs/REXduino/blob/master/REXduino_User_Guide.pdf.

      Cheers,
      Jan

      posted in General
      R
      reitinge
    • RE: IEC 61850 Protocol using Rexygen

      @pedrowirya
      Hi Pedro, as far as I know, IEC 61850 in Rexygen is not supported in any way. If there is some Python library, it would be possible to use a Python block (documentation here: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/PYTHON.html#x276-27500016).

      Cheers,
      Jan

      posted in General discussion
      R
      reitinge
    • RE: REXLANG include file

      @relaxc Hello,

      • C code has certain limitations in the REXLANG block. A detailed description of the block is available here: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/REXLANG.html#x274-27300015.
      • Examples for using the REXLANG block are available in the installation. By default on the C:\Program Files\REX Controls\REXYGEN 2.50.10.13491\Examples\0203_Function_Blocks_REXLANG path.
      • Compilation takes place only when translating the whole project in Rexygen Studio.
      • Unfortunately, .so or .dll files are not supported in REXLANG .
      • In REXYGEN, it is possible to call standard C language scripts with linked .so or .dll files. Scripts can be executed using the EPC block (documentation here).
      • If you can use Python instead of C, take a look at the Python block (documentation here).

      Cheers,
      Jan

      posted in REXYGEN Studio
      R
      reitinge
    • RE: REXduino - Communication failure between Raspberry PI and Arduino_MEGA

      @mtomek Hi Michal,
      according to REXduino_slave.ino, the errors mean:

      49 52 - Error command - wrong pin number
      51 49 - Serial bus buffer is full
      49 50 - Error command - unknown command

      Unfortunately, I can't say remotely what happened. Have this errors been repeated? Has there been an error 52 51 since the last time?

      Cheers,
      Jan

      posted in General
      R
      reitinge
    • RE: REXLANG_Rexduino compile error on 2.5.10 version

      @pedrowirya Dear Pedro,
      thank you for information. I'm glad, everything is working now.

      Best regards,
      Jan

      posted in Bug reports
      R
      reitinge
    • RE: REXLANG_Rexduino compile error on 2.5.10 version

      @pedrowirya Dear Pedro,
      please download the latest version of REXduino block library from git repository. You need to upload a new version of REXduino_slave.ino to your Arduino. Next, please copy the new version of the Arduino_UNO block into your REXYGEN project. The error should disappear. Also look at this thread, where a similar problem was solved.

      Cheers,
      Jan

      posted in Bug reports
      R
      reitinge
    • RE: Monarco Hat RTC

      @mikeyh Dear Mike,
      we have published new REXYGEN pre-release version 2.50-next (2.50.10-13491) which is now available for testing. This version contains fix for the archive bug.

      If you want to update your older REXYGEN-next version, just update and upgrade with

      sudo apt update
      sudo apt upgrade rexygen-runtime
      

      Best regards,
      Jan

      posted in Monarco HAT
      R
      reitinge
    • RE: Monarco Hat RTC

      @mikeyh Hi Mike,
      I'm sorry, I tested deleting archives on our working version of REXYGEN, where this problem has already been fixed. I have now spoken to the main developer, who should publish a new version of REXYGEN-next in a few days.

      I'll let you know when the new -next version is released. There, the problem with writing to the deleted archive will be solved.

      Cheers,
      Jan

      posted in Monarco HAT
      R
      reitinge