Hi guys, I've got a couple of questions regarding wincc programing, I'd appriciate any help.
1. I'm using one of the images from the image library in wincc and I want it to appear on the screen in a different color than the default. I go to the properties and change the background color and it all works fine. But when I use more than a single instance of that image and try to set different colors for each one, they all end up appearing in the same color. Is there a way to fix this?
2. Lets suppose I have ten drives connected to my plc via profinet. There is a sequence of words received by the plc which describes the current state of the drive/motor. If I use simotion scout I can see the exact words that are sent, I have the meaning of each bit of the word and instead of just seeing "1" or "0" there's a led which is on or off correspondingly. How can I create the same window in the HMI?
Whenever a button which represents a motor is pressed, I want a window to pop up which has 16 images of leds in it. If I have 16 different leds for each drive and there are 10 drives it means I have to configure 10*16 leds to show the value of the corresponding bit of the drive, which might be quite annoying... Is there some efficient method of doing that? Some kind of VB script, perhaps?
Thanks.
1. I'm using one of the images from the image library in wincc and I want it to appear on the screen in a different color than the default. I go to the properties and change the background color and it all works fine. But when I use more than a single instance of that image and try to set different colors for each one, they all end up appearing in the same color. Is there a way to fix this?
2. Lets suppose I have ten drives connected to my plc via profinet. There is a sequence of words received by the plc which describes the current state of the drive/motor. If I use simotion scout I can see the exact words that are sent, I have the meaning of each bit of the word and instead of just seeing "1" or "0" there's a led which is on or off correspondingly. How can I create the same window in the HMI?
Whenever a button which represents a motor is pressed, I want a window to pop up which has 16 images of leds in it. If I have 16 different leds for each drive and there are 10 drives it means I have to configure 10*16 leds to show the value of the corresponding bit of the drive, which might be quite annoying... Is there some efficient method of doing that? Some kind of VB script, perhaps?
Thanks.