Hi,
I have already read several posts regarding the dynamic display of images in the HMI. Unfortunately, there were no satisfactory results. My setup: captured images of a code reader are saved directly on the PLC via SFTP. I would like to display the most recent image in the HMI. I have two options for selecting the file names for the codereader: 1. either a constant name (CapturedImage.jpg), whereby the files are overwritten, or 2. a variable name (CapturedImage_0001.jpg) with a consecutive number, for example.
How can this dynamic image be displayed in the HMI in a user-friendly way?
I currently use a workaround: I use an image list with two images: IdleImage and CapturedImage.
The IdleImage is displayed during the scanning process and the CaptureImage after the scanning process. The IdleImage is constant and does not change during the runtime. CapturedImage is overwritten via SFTP after a scan. To display the images, the image list is linked as a dynamic property in a button.
The image list is linked to an integer variable in the PLC. This variable changes between 0 and 1.
IF xStartScan THEN
iCurrentMeasureImage := 0;
END_IF
IF xScanFinished THEN
iCurrentMeasureImage := 1;
END_IF
By changing the image, the CapturedImage can be overwritten and displayed. I don’t think this is the most optimal way.
Hi!
According to my experience, you note the most suitable approach to the goal, based on embedded eHMI tools.
BR
Hi,
I can only agree with you, this is a good workaround.
You cannot use dynamic images with simple on-board tools. The images are stored in PLCnext Engineer during project planning. There is no object or dynamic that provides this functionality.
I will pass the topic on to our development department, it would be good to have an object or dynamic that makes dynamic screen changes possible beyond the application.