My AB 5/25 output won't come on

dmargineau,

OK, now I have a clear picture of what you are doing.

XIC STOP BST XIC START ONS XYZ NXB XIC OUTPUT BND XIO FIRST SCAN OTE OUTPUT

Comments
The ONS does nothing useful as far as asynchronous scan of the Panelview is concerned. Asynchronous scan problems are related to mulitple references to the same address in the program. If the program will respond badly if the same address is true in one place and false in another on the same scan, you have an asyncronous scan problem. Putting a oneshot after the address reference does nothing to help this. Buffering the address by copying it to another address at the start of the scan as suggested in the Caution section will help. However, the logic shown has no weakness to asynchronous scan of the STOP and START bits so this really isn't relevant.

If your block transfers are triggering so slowly that you can "miss" a pushbutton, that's a different problem. If that is the case and you increased the pushbutton "down" time on the panelview so that you don't miss a press, now the ONS on the Start serves a purpose. It allows you to Stop even if the Start is still on. I've seen this configuration several times.

The First Scan XIO also only does anything useful if the Start bit is stuck on for the first scan. Since the Output OTE is always turned off by the prescan, the only way the rung can be on for the first scan is if the Start bit is on.

Here is my preferred way to do this:

XIO STOP BST XIC START NXB XIC OUTPUT BND BST OTE OUTPUT NXB OTU STOP NXB OTU START BND

Both pushbuttons in the Panelview are NO momentary. NC pushbuttons make a difference when wired, but over a network it doesn't matter.

The basic idea here is that the Panelview doesn't have to "turn off" pushbuttons at all, the PLC does it right after they are responded to. You can leave the pushbutton delays long if you need to without any overlap problems. And, you will never have a pushbutton "stuck on" no matter what happens to the Panelview or the network it is communicating over. And I definitely have seen Panelview pushbutton bits (and other HMIs) get stuck on. Wonderware seems to be especially vunerable to this.

An alternative to the OTU instructions (if they just drive you crazy) is to simply clear the entire input space from the Panelview at the end of the scan. FFL can be handy for this. That has slightly more potential to "miss" a button press, but in practice it is not that much of a problem.

One last thing, I am NOT picking on you. Your comment caught my attention and I wanted to understand what you were saying. If I have misunderstood you at all, please clarify. I'm always open to new ways of doing things and I hope the discussion proves useful to someone.
 
None taken...:D

Thank you for "splitting" it down to the core...👨🏻‍🏫...Every now and then maybe we should challenge the way we've been doing "things" just because that's the way it's been done since the beggining of time (PLC2/3/5 era)...

Actually, for any MOTOR STARTER PLC5 DNet/RIO PV application I had ever developped I have been using a "single button Push-START, Push-Again-STOP" approach, which flip/flops a pair of logically interlocked B "coils" (AND ONS AND NOT-FIRST SCAN). The two buffer B bits (B START and B STOP) are the ones which are turning the physical output ON and OFF (latched via Starter Auxiliary Contact Input).

The first post of the thread sounded to me to be a timing issue...That's why the "wild goose chase"...

Yes, it proved to be the elementary "un-called soubroutine", however, it's been quite refreshing exploring other approaches to the legacy programming...:)

Thanks again, I guess I have found yet another way to skin the poor cat...:p
 

Similar Topics

Hey guys, I have a 1756 OW16I series A card. I am trying to energize bit 15 to pull in a coil on a motor contactor. Our panel is configured in...
Replies
13
Views
9,895
Hi, I am trying to get an external counter to count how many times the program goes through a sequence. There is a normally open contact that...
Replies
15
Views
2,784
Hi There, I have a filler with a coriolis flowmeter that has died. the filler requires a pulsed output (manufacturer wont edit the program) is...
Replies
13
Views
210
Hey all, I am starting a new project for a customer and I am adding in solenoid valves. Once added, I noticed there was a lack of an Output...
Replies
0
Views
83
Hi, The hardware is: Click Plc model # CO-O1DD1-O HMI model # S3ML-R magnetic-inductive flow meter model # FMM100-1001. I will set the flow meter...
Replies
4
Views
180
Back
Top Bottom