10-03-2008 12:41 PM
I am bench testing my application with a DL05. This has been a great way to learn the Lookout application. Ex: PB, high/low bit conditions representing the same PB's color and text state (PB object with no text description, just color background and with it use a logical expression with text and transparent background). Also, multi state text and background color representation using only logical expressions. This way I do not have to develop bitmap graphics (only have the coloring book MSPaint) for text with variable background color.
Animations: I need the animation (condensor fanpic1 - which I have rotating with a green background - 1 row 4 columns ) to appear upon a Y2 high bit and not visible upon a low. Also, on the Y2 low bit (condensor fanpic2 - which is not rotating with a gray background - using multistate low = condensor fanpic2 high = null graphic) visible. I have tried several scenarios in trying to make animation (condensor fanpic1) not visible/transparent. No succes. It (condensor fanpic1) is always present regardless of high/low state.
I have tested live communications between PB's, pumps, texts, and variable numeric diplays and inputs to various dicrete and Vmemory addresses. K-Sequence protocol. Working well.
Please help,
Brad
10-03-2008 01:16 PM
You are tring to hide the Animator object correct? In the animation tab in properties, there is an expression field for visible.
Mike
10-03-2008 02:58 PM
Yes. So obvious and simple, duh! With your help. The visible tab works great for the animation.
I should have seen that. Here is probably another obvious one for you concerning the same concept. I want the non rotating (condensor_fanpic2) to be visible when Y2 is low.
I first tried with a Display Multistate if: PLC_RS232.Y2=0 and (graphic space) = condensor_fanpic2; Else if:PLC_RS232.Y2=0 and (graphic space) = null. It remains not visible, regardless.
A Logical Expression however works: PLC_RS232.Y2 ON = null and OFF = condensor_fanpic2 visiblility and non-visibilty works great. Opposite state with my animation visibility and non-visibility.
Why won't a Display Multistate described above work with just 2 discrete states assigned?
Brad
10-03-2008 03:07 PM
For a 2-state display dont use the multistate, more memory intensive. Create an Expression, for the On and Off Display use Custom.
In the multistate is there a graphic selected for "Else"?
Mike
10-03-2008 04:01 PM
Another duh! That makes complete sense, once I tried a memory address and put whatever graphic per PLC_RS232.V100=0-4 at each bit. Can't use it as a 2 state with a discrete.
I forced each bit at V100, one at a time, and each graphic displayed correctly.
Thanks again,
Brad
10-03-2008 04:06 PM
No problem, good luck on the project.
Mike