You are not logged in.
Pages: 1
Topic closed
HMI on raspberry pi
Last edited by bailp (2017-06-20 22:15:36)
Offline
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
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
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.
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.
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Edited.
Last edited by bailp (2017-06-20 22:16:52)
Offline
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
Hi Tomas,
Thankyou for the reply, the example was of great assistance & the system is now up and running.
P
Offline
Hi Phil,
glad I could help
Good luck with your project!
Cheers, Tomas
Offline
Pages: 1
Topic closed