06-16-2008 06:45 AM
06-16-2008 07:08 AM
06-16-2008 07:28 AM - edited 06-16-2008 07:30 AM
I misunderstood your question... I thought you wanted to know how to change the Front Panel switch in your VI to adapt to the PLC Status LED.
So since I did a very simple example, I will leave it here..
Have a look at the attached example. You can set the switch on the Front Panel (represented by the switch on the left), it will change the PLC Status LED.
The switch on the right is there for convenience for this example simply to simulate changing the Status LED externally. You would need to provide an event which reads the PLC Status LED and sets the FP Switch according to its status.. I simulated this inside the Timeout Event.
Is this the type of scenario that you were looking for?
RayR
06-16-2008 08:54 AM
06-16-2008 09:03 AM
Hi Steffen,
here it is for 8.0
Mike
06-16-2008 10:10 AM
06-16-2008 09:37 PM
06-16-2008 09:41 PM
Isn't that what the attached example does?
Lemme check if Mike changed anything in the example..
06-16-2008 09:44 PM
The converted VI to LV8 is the same as the original.. so maybe I misunderstood something.
Do you mean that if the FP button is set to ON, the LED becomes ON, but also the remote switch becomes ON?? If not, then I don't understand what is missing from the example..
Or are you referring to your code.. If so, can you post it?
RayR
06-17-2008 03:22 AM