Navigation

    REXYGEN Community Forum

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

    reitinge

    @reitinge

    administrators

    1
    Reputation
    7
    Profile views
    39
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    reitinge Follow
    administrators

    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: DOUT - maximální povolený proud

      Dobrý den,
      máte pravdu. Maximální proud pro DOUT je 1A. Zátěž tedy musí být 12 ohmů a více.

      S pozdravem,
      Reitinger

      posted in General
      R
      reitinge
    • RE: I2C EZO component

      @belgacom You are welcome 🙂

      posted in Communication (RS232
      R
      reitinge
    • RE: I2C EZO component

      @belgacom
      Hi Arnaud,
      congratulations to your first received message! 🙂

      Your problem with publishing message outside of Rexlang is due to the names of your variables. Output 7, 8 and variable message have the same name and this is a problem. Try something like this:

      • Rename outputs:
      double output(7) outMessageDouble;
      string output(8) outMessageStr;
      
      • In the main() method, assign message variable value to output(8) and you can also convert the string value into double and assign it into output(7):
      outMessageStr = message;
      outMessageDouble = str2double(message);
      

      Please resize message variable length from 5 to 6. In the Rexlang, the last char array index contains "end-of-string indicator". If you write something to the last index of the char array, you will have a memory leak problem.

      Cheers,
      Jan

      posted in Communication (RS232
      R
      reitinge
    • RE: Increase HMI size.

      @brunofporto
      Hi Bruno,
      you can find detailed explanation of HMI here.

      posted in REXYGEN HMI Designer
      R
      reitinge
    • RE: I2C EZO component

      Hi Arnaud,
      thanks, I hope you are fine too. Can you post here your actual code from Rexlang, please? When an error occurs, code execution stops, so the outputs may not be updated. We will try to find and fix the Numeric range check error.

      Cheers,
      Jan

      posted in Communication (RS232
      R
      reitinge
    • RE: ALBI FB inside SubSystem

      Hi Kris,
      I just want to let you know that we found a bug and included the fix in a future release.

      Cheers,
      Jan

      posted in Bug reports
      R
      reitinge
    • RE: ALBI FB inside SubSystem

      Hi Kris,
      thanks for reporting this bug. The same behaviour occurs to me. I'll send this error to developers.

      Cheers,
      Jan

      posted in Bug reports
      R
      reitinge
    • RE: Increase HMI size.

      Hi Bruno,
      you can change the size of your HMI in HMI Designer with File -> Document Properties -> Custom size. Please note that the aspect ratio is especially important. The width and height adapt to the monitor to some extent. The aspect ratio remains the same.

      posted in REXYGEN HMI Designer
      R
      reitinge
    • RE: REX Studio Slows PC Performance

      Hi Mike,
      we're sorry you have these problems with Rexygen. We have seen similar behaviour in our larger projects. That is why we are currently working on a new version of Rexygen Studio based on newer technologies. This version should be released soon and should have known bugs from the old version fixed. Please wait for the new version, which should be faster.

      Cheers,
      Jan

      posted in Bug reports
      R
      reitinge
    • RE: RC Servo PWM control.

      You are welcome 🙂

      posted in Monarco HAT
      R
      reitinge