10/2/2024 2:45 PM | |
Joined: 2/26/2024 Last visit: 10/16/2024 Posts: 50 Rating: (0) |
Hi, How can the attached dynamic svg animated (in rotation) when running the HMI program? |
10/3/2024 1:35 PM | |
Joined: 11/13/2018 Last visit: 10/14/2024 Posts: 35 Rating: (5) |
Hello AutoGen_8472461, You don't need to search for the element or set an attribute You need to write a value between 0 and 360 in the variable ‘value’. You can vary that value based on the time. The trigger (clock icon) allows you to choose when the script should be executed (e.g. every 100ms). I recommend taking a look at: Tips and Tricks for Scripting |
10/3/2024 1:50 PM | |
Joined: 2/26/2024 Last visit: 10/16/2024 Posts: 50 Rating: (0) |
Hello MindFlayer, Would you be able to provide an example on what you are trying to convey? Thanks. |
10/10/2024 10:28 AM | |
Joined: 2/25/2016 Last visit: 10/16/2024 Posts: 13 Rating: (5) |
Hello,
2. Add a small script directly in the “Rotation - angle” field. Cons: animation works jerkily.
3. animation inside the svghmi widget. Pros: very smooth animation, convenient control
By the way how to make such animation, you can make a request in Youtube something like this “svghmi animation wincc unified”. There is a detailed video about it there. And if you are interested, I can tell you more about each option if you have any questions. And a couple of examples of how it can look like: AttachmentRotaryAnimation.avi (8 Downloads) |
Follow us on