Jump to content

Recommended Posts

Posted
I am using OP270 along with S7 300 in a small plant for visualization and message display. I want to change the colour of the plant elements according to thier status and failures. There is a status word for each part, in which each bit means a failure or status of a particular part. i had drawn the parts with vector graphics available in protool. and had assigned different colors in the "attirbutes" tab. Now if any one of bit is high the screen elements changes to appropriate color. But if more than one bit is high then it remains in basic color. But i want it show the color change according to the priority, if more than one failures are there simultaneously. Anybody can help me in this regards.....

Posted (edited)
Hi shenbagaraj. You have to plan how the colors shall display. If more than one bit can be active at a time, then obviously you cannot use animation on bits ("binary"). You can keep the way you control the bits, and then carefully map out all combinations and define the animations by value ("integer"). If you have 3 bits there will be 2^3=8 combinations (0-7) for example. Alternatively you have a number of possible animations, and you take care to only trigger one at a time in your PLC code. Edited by JesperMP
Posted
I did think about using it as a decimal value but it is 16bit long and hell lot of combinations!!!! Thats why i chose binary option. Any other ways to animate it........? However thanks for your reply..
Posted (edited)
You only have to define the bit combinations that you actually use. For 3 bits that is 8 combinations. The three mentioned ways are what is possible for color and flashing animation. Edited by JesperMP

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...