Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-02-27 21:42:47

bailp
Member
Registered: 2016-02-27
Posts: 9

HMI on Raspberry PI

HMI on raspberry pi

Last edited by bailp (2017-06-20 22:15:36)

Offline

#2 2016-02-28 12:42:58

josar
Member
From: Czech Rep.
Registered: 2015-11-03
Posts: 17

Re: HMI on Raspberry PI

Hi Phil,
Advantech ADAM 6217 is a Modbus TCP slave, it will work.

To remember the MAX and MIN values in your algorithm, you can use the REL function block in combination with the SHLD function block.

Displaying 24 numbers in your HMI is no problem. Or would you prefer some graphical form?

Offline

#3 2016-02-28 12:48:24

bailp
Member
Registered: 2016-02-27
Posts: 9

Re: HMI on Raspberry PI

Hi there,

Any help would be greatly appreciated, yes, could you post some graphical information.

Thanks,

Last edited by bailp (2017-06-21 18:56:45)

Offline

#4 2016-03-02 22:45:57

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: HMI on Raspberry PI

Hi Phil and josar,
thanks for this topic. Here is the algorithm to store the minimum and maximum of a signal.

The SHLD_MAX function block is set to "Hold last value" mode. When the incoming signal is lower than the previous value, the SHLD_MAX block is commanded by the REL_LT block to hold the previous value (maximum). When the incoming signal is greater than the maximum, it passes through the SHLD_MAX function block and sets the new maximum.

The same holds for the minimum, only "upside down".

The MP_RESET function block is meant for resetting the extremes. For one cycle (rising edge) it forces the incoming signal to pass through the SHLD function blocks which resets the minimum and maximum to the current value of the signal.

mini_minmax.png
mini_minmax_trend.png

Here the files:
minmax_exec.mdl
minmax_task.mdl

Displaying the signal and the outputs of the SHLD function blocks in an HMI screen is relatively easy, isn't it?

Hope this helps. If there is some clarification needed, do let me know.

Offline

#5 2016-12-19 21:56:04

bailp
Member
Registered: 2016-02-27
Posts: 9

Re: HMI on Raspberry PI

Edited.

Last edited by bailp (2017-06-20 22:16:52)

Offline

#6 2016-12-22 13:56:44

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: HMI on Raspberry PI

Hi Phil,

there is an example on integrating ADAM 6217 module with REX via Modbus:
ADAM_6217_example_20161222-1330.zip

Some info about RexHMI can be found in this topic: /viewtopic.php?id=286 - links to documentation, setup recommendations, etc.

Any custom features are out of scope our free support provided here on forum. Please, contact our sales department sales(at)rexcontrols.com with your requirements for price calculation. We will be happy to help you to get your project up & running.

Regards, Tomas

Offline

#7 2017-01-09 08:28:11

bailp
Member
Registered: 2016-02-27
Posts: 9

Re: HMI on Raspberry PI

Hi Tomas,

Thankyou for the reply, the example was of great assistance & the system is now up and running.

P

Offline

#8 2017-01-09 09:30:06

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: HMI on Raspberry PI

Hi Phil,

glad I could help smile

Good luck with your project!

Cheers, Tomas

Offline

Board footer

Powered by FluxBB