Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-01-02 09:08 AM
Is it possible to make an image blink with HMI logic? For example, if compressor is OFF because Compressor OFF timer is running (but the compressor would start if not) I could make a logic like this:
xCompWillStart := CompCtrl_OnOFF.xCommand AND ReadWordBit(CompCtrl_OnOff_udiCompMgmtStatus,29);
(I am making some simplifications here just to show the concept, I know this does not work like it is written here)
Then if I am developing for M171 I could write :
IF CompCtrl_onOff.xCompCommand
sysLocalLeds[6] := 1 ;
ELSIF xCompWillStart THEN
sysLocalLeds[6] := 2 ;
ELSE
sysLocalLeds[6] := 0 ;
END_IF;
I know I could generate a PLC logic to change a Status variable from TRUE to FALSE and eventually use that variable to handle the image visibility on the PLC but it demands some extra work at logic development.
I read about animation and image lists (I never actually used them) but it seems to be a similar concept, either one image or another would be displayed depending on the value of an animation variable.
I hope you get the idea of what I am looking for.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-01-02 09:25 AM
You could solve this via a procedur in the HMI part together with the systimer.
At first you need to create a blinker with the system Timer.
Then you could use the BOOL Output of this blinker to change the visibliltiy of the object in a defind ryhtem.
(like 1s)
I would expect that you could find an example in one of the integrated TVDAs.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-01-02 09:25 AM
You could solve this via a procedur in the HMI part together with the systimer.
At first you need to create a blinker with the system Timer.
Then you could use the BOOL Output of this blinker to change the visibliltiy of the object in a defind ryhtem.
(like 1s)
I would expect that you could find an example in one of the integrated TVDAs.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-01-02 10:03 AM
Thanks. You solved my main doubt, I thought I might be missing an easier solution.
I will check the TDVAs.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.