@carvin Hi carvin,
thanks for your feedback. I would suggest to use the SRTF function block with some certain subsystem (e.g. "sybsystem_slow") within your fast task.
Would that solve your issue?
Cheers,
Tomas
@carvin Hi carvin,
thanks for your feedback. I would suggest to use the SRTF function block with some certain subsystem (e.g. "sybsystem_slow") within your fast task.
Would that solve your issue?
Cheers,
Tomas
@stepan-ozana Hi Stepan,
Thank you for your question. It is possible to set the start of task execution as soon as the previous task ends. More details in TASK documentation: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/TASK.html#x26-250002
Information between tasks should be always sent via Inports and Outports if possible (SETPx function blocks can introduce undesired inverse of priorities when sending data between tasks).
Second part - "on demand" execution:
Thanks for sharing your solution! It is also possible to use SRTF function block (Set run-time flags):
Doc: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/SRTF.html#x21-200002
If you need any assistance just let me know.
Cheers,
Tomas
Hi Carvin,
Thanks for the question. With all the provided information I don't see anything suspicious. Please, can you share the whole project (mdl files at minimum) just to see all other information and configuration which are not visible from the screenshot?
Just be aware that arrays and vectors in REXYGEN are connected by references so the flow of "information" is different from ordinary "wire" flow where the wire starts somewhere and goes somewhere else. Contrary reference contains the same data in every instance.
Kind regards,
Tomas
@gninaus Hi Guenther,
the fix is available in our daily build repository: https://download.rexcontrols.cz/partner/daily/
Feel free to test it and report back.
Kind Regards,
Tomas
Hi Guenther,
Thank you for your bug report. Our developers fixed that immediately. The fix is now under test, and I will let you know once it is publicly available.
Thank you for your understanding.
Cheers,
Tomas
@Scoobsalamander Hi Kris, thanks for your question!
We are still missing the converter from EtherCAT XML files to our driver which is crucial for EtherCAT setup. Do you have any EtherCAT IO modules in your mind? We can prepare a basic example for you so you can modify it according to your needs. What do you think?
Please, note that the Raspberry Pi is not the best piece of HW for challenging tasks and short communication periods
Cheers,
Tomas
@Tourneur Hi,
glad you made it work!
Yes, it is possible to make a custom component (separate SVG file). For more details see example "0301-12 HMI with External file".
Cheers,
Tomas
@Tourneur Hi! What a progress - great!
You just need to change the pivot point by means of the Inscape editor. Feel free to Google any Inkscape-related documentation on this (e.g. https://www.tutorviacomputer.com/inkscape/rotate-flip-objects/)
Note: Once the object is "animated" by REXYGEN Extension I recommend you to delete the object, change the pivot point and make the animation again.
Good luck!
Tomas
@stepan-ozana Thanks for sharing your solution with the community!
Good luck with your project.
Tomas
@Tourneur Hi! For the gauge sketched at the beginning of this topic you don't need any hand coding and the old forum post is overkill.
Just have a look at the example 0301-08 HMI Animation DEMO and read HMI documentation - Chapter 3.3.1 Group Animation: https://www.rexygen.com/doc/ENGLISH/MANUALS/RexHMI/RexHMI_ENG.html#x1-180003.3.1
Kind regards,
Tomas
@stepan-ozana Hi Stepan,
thanks for your question. It is not possible to call REXYGEN function blocks within the PYTHON block. The implementation of this functionality is not scheduled yet.
Kind regards,
Tomas
@Tourneur Hi! Thanks for your question. Yes, this is possible using basic animations. The green line will rotate according to the desired signal.
Have a look at the example: 0301-08 HMI Animation DEMO.
Kind regards,
Tomas
@MikeyH Hi Mike,
thanks for sharing the solution with the community!
Good luck with your project.
Cheers,
Tomas
@MikeyH Hi Mike,
Thanks for your question. I can confirm that using EPC FB is the right way. I don't see anything wrong - maybe just "sudo" is not necessary in this case. Just put the rising edge to the "EXEC" input and it should run the command.
Does the System log say anything?
Cheers,
Tomas
@MikeyH Hi Mike,
there is a new beta version available (same location: https://download.rexcontrols.cz/partner/testing/) - the fixes of issues reported above should be part of the version available.
Kind regards,
Tomas
@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:
RexArc --help
python archive_timezone_converter.py input.csv output.csv offset
Parameters meaning:
Script file: archive_timezone_converter.py
Let me know if it helps.
Cheers, Tomas
@MikeyH Hi Mike,
which values are you missing? The archive viewer in Diagnostics should show all values stored in the archive. From your screenshot (first one) it seems to me that the values between 10:40 and 13:30 weren't stored for some reason (RexCore not running?).
TRND block shows data stored after RexCore restart and to the maximum buffer length set in TRND configuration.
Cheers, Tomas
@MikeyH Hi Mike,
all the timestamps in REXYGEN are stored in UTC. REXYGEN Tools often use Local timezone and convert the timestamps to the Local time (e.g. System Log, DWM Archives, etc.). However export from Archives will be always in UTC.
Cheers,
Tomas
@MikeyH Hi Mike,
the deletion of archives is possible manually directly on the target device only - have a look at the old forum post: https://www.rexygen.com/oldforum/viewtopic.php@pid=481.html
EDIT: There is a function block ACLEAR for deletion of the specified archive/s. When the archive is stored in RAM memory it is deleted completely with any mode settings.
When using Disk Archive the behaviour of the mode parameter is as follows:
1 = Delete today
2 = Delete yesterday
4 = Delete older records than yesterday
(it can be combined bitwise: e.g. 3 = today + yesterday; 7 = entire archive)
Cheers,
Tomas