Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

"Latchgate" object problem

I have created some additional latchgate objects (4) into a long running process that I programmed about three years ago.  After adding them to my process they work as designed, as long as the process remains open/running. 
 
When you close Lookout and then re-open Lookout and the process the Latchgate object will Latch "ON" before it is supposed too.  If I go into edit mode/object explorer and open the "properties" dialouge box and then close the "properties" dialouge box of each of my 4 latchgates they will function normally, I do not have to make any changes to the logic.
 
Anybody know what is going on????
 
(Example of one of the newly created Latchgate objects)
LatchGate_InterlockLockPinA

Turn On:  Fieldpoint1.Sw_StopPinA_Extended<1 and (Sequencer_VertMillingA.D or Sequencer_VertMillingA.E or Sequencer_VertMillingA.I or Sequencer_VertMillingA.J or Sequencer_VertMillingA.K or Sequencer_VertMillingA.L or Sequencer_VertMillingA.O or Sequencer_VertMillingA.S)

Turn Off:  Pb_ResetLockpinA

0 Kudos
Message 1 of 4
(5,571 Views)

Do you mean that after you open the lookout process the Latchgate will be ON, but it should be OFF?

Create another expression of Fieldpoint1.Sw_StopPinA_Extended<1 and (Sequencer_VertMillingA.D or Sequencer_VertMillingA.E or Sequencer_VertMillingA.I or Sequencer_VertMillingA.J or Sequencer_VertMillingA.K or Sequencer_VertMillingA.L or Sequencer_VertMillingA.O or Sequencer_VertMillingA.S).  Then reopen the process. See when the Latchgate is unexpectedly "ON", what's the status of that expression. If the expression is False, this behaviour is wrong.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 4
(5,561 Views)

Ryan

The "latchgate" does not go high upon starting the process.  The purpose of this latchgate is to monitor the extended position of the stop-pin, during certain states of a programmed "sequencer" object. 

State #3(output-C) of the sequencer extends the stop-pin.  The goto-4(output-D) data member of the sequencer is connected to the stop-pin extended switch.    The stop-pin extended switch sends the sequencer to state #4, output-D. 

The latchgate will go high when the stop-pin extended switch makes/closes.  The ON expression never "trues".

This will happen every time I reset the latchgate and start the sequencer object,  until I go into edit mode/object explorer and open the properties window for the latchgate(s).  All I have to do is open & close the properties dialouge window for the 4 latchgates and then they will function as designed, until I close the process and reopen it.  Then I have to do it all over again.

Chip Howell 

Amtec Corporation

256-319-6210                                                                                                                                                                                                    

0 Kudos
Message 3 of 4
(5,554 Views)
I'm not able to reporduce it.
If LatchGate turns ON, when ON expression is false, it may be a bug.
Can you make a simple example to show it? If it can be reproduced by a simple process, we can narrow down the problem. Or tell me how you configure the sequencer object and latchgate object, by screenshot or example.
Ryan Shi
National Instruments
0 Kudos
Message 4 of 4
(5,537 Views)