REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • S

      Permanently setting REXYGEN clock

      Monarco HAT
      • • • sadilekivan
      4
      0
      Votes
      4
      Posts
      532
      Views

      S

      @jaroslav_sobota

      Hello,

      Selecting the HW clock seems to fix the problem, I did try this as my first solution because it was obvious to try and get the time from the Real-time circuit, but I could swear it had some issues. Must have been some other mistake I fixed along the way.

      Anyway, everything works as intended, thanks for the swift support with the command, it proved the time was set correctly just read from the wrong source.

    • S

      HMI group animation not hiding/refreshing from the start when used with X, expression type

      REXYGEN HMI Designer
      • • • sadilekivan
      4
      0
      Votes
      4
      Posts
      483
      Views

      cechuratC

      @sadilekivan We always recommend to upgrade both Development Tools and REXYGEN Runtime Core. However, wait for the release of version 2.50.10 first.

      Thank you for understanding.

      Regards, Tomas

    • E

      Contributed Driver: PCA9685 16-channel Pulse-Width Modulation/Servo Control Chip

      General
      • pca9685 i2c pwm driver • • enovikoff
      4
      0
      Votes
      4
      Posts
      728
      Views

      jaroslav_sobotaJ

      @enovikoff Thank you, I'll see what can be done in this direction.

      Jaroslav

    • R

      Archive Export

      REXYGEN Studio
      • archive rexarc • • RSanders
      4
      0
      Votes
      4
      Posts
      431
      Views

      cechuratC

      @kotrbus Hi Pavel, there is just RexArc for now. We are aware that it does not have that much publicity - we would like to improve it in next release.

      Cheers,
      Tomas

    • B

      Solved Python FB

      REXYGEN Studio
      • • • belgacom
      4
      0
      Votes
      4
      Posts
      396
      Views

      R

      @belgacom
      Hi Arnaud, was this problem caused by downloading to a local computer instead of a Raspberry too? Btw. when you installed Rexygen studio, did you check the Python function blocks option?
      54ccfd91-5ecc-41a7-83f4-1ad29fea161d-image.png

    • A

      dygraph - color labels and scale of both axes.

      REXYGEN HMI Designer
      • hmi designer dygraph css custom • • Apollo
      4
      0
      Votes
      4
      Posts
      762
      Views

      cechuratC

      Awesome! Thanks for feedback 😉

      Cheers,
      Tomas

    • R

      SMTP Block

      Bug reports, Feature requests
      • smtp e-mail notification • • Ricky-Rat
      4
      0
      Votes
      4
      Posts
      857
      Views

      cechuratC

      @mtomek Hi Michal,
      thank you for sharing your findings with the community.
      Google uses more secure version of TLS which does not support the SMTP function block. Seznam apparently didn't upgrade the security yet.

      Kind Regards,
      Tomas

    • A

      Solved Extra parameters for REXLANG inside Subsystem?

      REXYGEN Studio
      • • • Apollo
      4
      0
      Votes
      4
      Posts
      441
      Views

      cechuratC

      @apollo said in Extra parameters for REXLANG inside Subsystem?:

      'll try with the GetExt function, so I'll need to create a CNS, which inherits the parameter, in the same level as where my REXLANG FB is located and use a relative path (e.g. .CNS:scv ) in the C-program, correct?

      Yes, this is correct.

      Kind Regards,
      Tomas

    • S

      Initialization of string in REXLANG

      REXYGEN Studio
      • • • Scoobsalamander
      4
      0
      Votes
      4
      Posts
      834
      Views

      S

      @reitinge I did try this before but then I can't even compile due to an error.

      23345552-af28-4c1c-b9d1-6a4c22f5c625-image.png

      But apparently it was because I did the initialization of this string inside the main routine.
      Bizarre that it is throwing a warning for the string 'stringTemp' and not for the long variable 'index'.
      Both are only used inside the main routine.

      This is the complete code which is now running without a warning :

      //assigning inputs to variables, these variables are READ-ONLY double input(0) inputGLAS; double input(1) inputGFT; double input(2) inputPMD; double input(3) inputRA; double input(4) inputTEXT; double input(5) inputP_K; //assigning variables to outputs, these variables are WRITE-ONLY string output(0) stringOUT; //value to send to y0 output char stringTemp[80]; //the init procedure is executed once when the REXLANG function block initializes long init(void) { return 0; } //the main procedure is executed repeatedly (once in each sampling period) long main(void) { long index = 0; //char stringTemp[80]; stringTemp=""; strcat(stringTemp,"Vergeet+niet+volgend+vuilnis+buiten+te+zetten+:+"); if (inputGLAS!=0) { strcat(stringTemp,"Glas"); index=index+1; } if (inputGFT!=0) { if (index!=0) { strcat(stringTemp,",+"); } strcat(stringTemp,"GFT"); index=index+1; } if (inputPMD!=0) { if (index!=0) { strcat(stringTemp,",+"); } strcat(stringTemp,"PMD"); index=index+1; } if (inputRA!=0) { if (index!=0) { strcat(stringTemp,",+"); } strcat(stringTemp,"Restafval"); index=index+1; } if (inputTEXT!=0) { if (index!=0) { strcat(stringTemp,",+"); } strcat(stringTemp,"Textiel"); index=index+1; } if (inputP_K!=0) { if (index!=0) { strcat(stringTemp,",+"); } strcat(stringTemp,"Papier+en+Karton"); } stringOUT=stringTemp; return 0; } //the exit procedure is executed once when the task is correctly terminated // (system shutdown, downloading new control algorithm, etc.) long exit(void) { /* PUT YOUR CODE HERE */ return 0; }
    • R

      Solved Read and Write Modbus register on HMI

      Modbus RTU
      • • • RexPeter
      4
      0
      Votes
      4
      Posts
      704
      Views

      R

      @rexpeter
      Hi Peter,
      no problem. I'm glad, it's works.

      Cheers,
      Jan

    • P

      UniPi 1.1.

      General discussion
      • • • pancirm
      4
      0
      Votes
      4
      Posts
      621
      Views

      R

      @pancirm Hi Michal,
      I just tested AI1 and AI2 on our UniPi v1.1 and REXYGEN 2.50.10.12481 and everything seems to work. Do you have the possibility to test the same configuration on a different UniPi 1.1? Alternatively, could you try to reinstall the current UniPi using the instructions from here? To install Rexygen with the UniPi 1.1 driver, I used the following instructions on a fresh raspberry image:

      wget -nc https://download.rexcontrols.com/scripts/rex-install-unipi1_1.sh chmod +x rex-install-unipi1_1.sh sudo ./rex-install-unipi1_1.sh

      Jan

    • P

      Solved Pressure to volume calculation, piecewise-LIN

      REXYGEN Studio
      • • • pocket_brewing
      4
      0
      Votes
      4
      Posts
      423
      Views

      cechuratC

      @pocket_brewing Thanks for getting back to us. I'm glad I could help.

      Kind Regards,
      Tomas

    • M

      Archive download

      REXYGEN Studio
      • rexarc archive • • MikeyH
      4
      0
      Votes
      4
      Posts
      475
      Views

      cechuratC

      @mikeyh RexArc command line utility is installed along with the REXYGEN Development Tools (see the installation folder - default: C:\Program Files\REX Controls\REXYGEN 2.50.11.13762\Bin\RexArc.exe)

      Kind Regards,
      Tomas

    • B

      Memory through 2 different lvl

      REXYGEN Studio
      • • • belgacom
      4
      1
      Votes
      4
      Posts
      414
      Views

      J

      @belgacom Hello Armaud,
      using multiple REXLANG blocks in one task should generally not be a problem. However, it depends on how computationally intensive the programs in the REXLANG blocks are. Please try to set a longer task period and look at Diagnostics in the watch mode. I am mainly talking about time statistics. Check the:
      Target -> Diagnostics -> task name -> Task -> Enable
      We are especially interested in max time and average time. Please note that times are in milliseconds.

      Cheers,
      Jan

    • M

      Solved Degrees to compass direction

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

      cechuratC

      Hi Mike,

      Thanks for your feedback - I'm glad I could help.

      Kind Regards.
      Tomas

    • J

      HMI on PC (localhost)

      REXYGEN HMI Designer
      • • • Jackobocze
      4
      0
      Votes
      4
      Posts
      387
      Views

      R

      @jackobocze Hi,
      when you use the RPi driver, you have to always upload the program to the RPi. In the HMI Designer on the PC, you can then connect to the running executive on the RPi and browse the aliases & connection strings as @cechurat mentioned. To develop the HMI in this case, you ideally already need to have both a PC and RPi available. Another option is to fill connection strings manually.

    • H

      REXduino and TSC2007

      Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
      • • • hrabalo
      4
      1
      Votes
      4
      Posts
      536
      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

    • G

      What is the easyest way to hide the headers completely

      REXYGEN HMI Designer
      • • • Gerritjan1
      4
      1
      Votes
      4
      Posts
      329
      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

    • M

      asci conversion

      Modbus TCP
      • • • MikeyH
      4
      0
      Votes
      4
      Posts
      985
      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

    • S

      Calling REXYGEN block from PYTHON

      General
      • • • stepan.ozana
      4
      0
      Votes
      4
      Posts
      254
      Views

      cechuratC

      @stepan-ozana Thanks for sharing your solution with the community!

      Good luck with your project.

      Tomas