I'm making a programmable limit switch interface in WinCC Flexible. A PLS works like the old cam switches. Each turn is 360deg and the operator can set an output to come on and off up to 3 times per rev. So I will have 6 variables 3 for ON 3 for OFF. Thats the easy part. I want to make a graphic that will show these setpoints.
My first thought was to make a line chart 360 points long. Make ON 1 and OFF 0 and show a nice square wave type look. The problem with this is the trend screen in flex would have to be a buffer bit trend and you have to get the data from the PLC (array of 360). So I would have to make a script in Flex to loop through the array then send to the PLC then upload them into the trend. That would be a lot of data to pass back and forth.
Second idea was to put a bunch of lines next to each other making a solid bar 360 long. Make ON green lines and Off red lines. I can change the color in the animation setting but I can't set the variable to an array.
Third idea was like the second. Use 360 lines and use the animation to move the On lines up 25 pixels to get a square wave look. But same problem with not letting me select an array for the animation.
My last idea was to make a red circle and have slices of pie green for the On states. But I can't even think of a way to make this one work.
My first idea is the only one that I see that can work. Anyone have any other ideas?
My first thought was to make a line chart 360 points long. Make ON 1 and OFF 0 and show a nice square wave type look. The problem with this is the trend screen in flex would have to be a buffer bit trend and you have to get the data from the PLC (array of 360). So I would have to make a script in Flex to loop through the array then send to the PLC then upload them into the trend. That would be a lot of data to pass back and forth.
Second idea was to put a bunch of lines next to each other making a solid bar 360 long. Make ON green lines and Off red lines. I can change the color in the animation setting but I can't set the variable to an array.
Third idea was like the second. Use 360 lines and use the animation to move the On lines up 25 pixels to get a square wave look. But same problem with not letting me select an array for the animation.
My last idea was to make a red circle and have slices of pie green for the On states. But I can't even think of a way to make this one work.
My first idea is the only one that I see that can work. Anyone have any other ideas?