Bill Linne

MrPLC Member
  • Content count

    157
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Bill Linne

  • Rank
    Sparky

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Northern California
  • Country United States
  1. easy light latch

    Pretty much the same group of folks here as on the other site where you posted this.  And they're not fond of doing homework (unless you show what you've actually tried).
  2. Program Loop

    The main routine will run (and re-run) continuously if the processor is in RUN mode and not faulted.
  3. LIM will work if you multiply RTC Hour X100 and add RTC Min into one memory location (so, N7:5 (for example) becomes 0630 through 2330). That also eliminates the need for a latch. If you want to start later in the day and stop early the next day, just put the later (higher number) in the MIN field of the LIM, and the smaller number (earlier in day) in the MAX field of the LIM instructions. I've controlled many pump routines this way to avoid running pumps when power costs are highest.
  4. The array approach might work better if you store the ORDER of lamps lighting in Array1, and the ORDER of button presses in Array2. Let's say the lamps light 2-3-1-4. Logic detects lamp 2 and moves a 2 into Array1, 0. Then logic detects lamp 3 and moves a 3 to Array1, 2. Etcetera. You obviously will need logic to increment the position to fill in the array. Array1 eventually holds the values 2-3-1-4. Then, the same thing happens with button presses. When the arrays match, start over. This is grossly simplified, but do you get the idea?
  5. Many people on here can help you AFTER you post what you've tried and what problems you are having.
  6. The "Phases" link works fine, and all the buttons on your home page work fine. But still no joy on the new links. Glitch Girl - Sibelius? At least your site didn't cost taxpayers $600M!!
  7. Ron: I had tried clicking the little freckle, the topic name, and the number last night. Seeing your reply this morning, I've tried all those again; still nothing. First attempt today (as last night) was on my iPad. When that failed, I tried my PC, using Google Chrome; no go. Oddly, in Chrome, when I cursor over the left side of the screen, the pointer turns into the miniature magnifying glass, and all I accomplish by clicking is to change the size of the text & icons. They shift from original size to larger, next click they get smaller. etcetera. Then I tried Internet Explorer, and when I move the cursor over the left side of the screen, regardless if I'm over a 'link' or not, the cursor never changes to the little finger, and there is zero response to clicking. I dunno.
  8. Ron: The intro or 'overview' page looks very good. I cannot, however, get any of the topics to 'expand' to more info. Should those links be functional now?
  9. 1762-IT4 Bit Resolution

    Range is 2952 being represented by 65,534 counts. 65,534 divided by 2,952 is 22.199. So roughly 22 counts per degree.
  10. MicroLogix 1400 with 1762-IT4

    I am not familiar with your equipment, but it sounds like you are making the DC power source unhappy. Is it possible to reverse polarity of the sensor?
  11. FIFO/Indirect Addressing Issue

    Jeremy: Thanks for your detailed input. I now understand the operation of the FFU/FFL pair. I've attached the version of my logic that has been running all night and works fine. Using the MOV instruction to "reset" the FFL .POS pointer to zero (when the FFL goes .DN) avoids loss of data in the array. I also had to modify the operation of my SUB instruction, once I better understood that the .POS value is where the next value will be written, not where the last value was written. Thanks again for your help! Bill
  12. FIFO/Indirect Addressing Issue

    Thanks! Some further testing (and another fault!) confirms your reply. Logic is modified accordingly. I used an output branch to handle the one point in the count where +1 (or -1) won't work. And I do need the "running" total, rather than the snapshots.
  13. Good Morning: Using a 1756-L61 running version 17.2, I FAULTED the processor with the attached logic. Fault was not immediate, but didn't take more than a couple minutes. In my haste to get the processor back on-line (plant was running) I did not thoroughly examine the Fault Code, just saw that it was rung 108. So, first question: Does the processor/L5K keep track of historic faults in a file somewhere that I can access? The object of the new logic is to determine tank level decrease in the past hour. It is my first use of FIFO. I see that the FFL and FFU instructions may be used in pairs, but is that a requirement? I don't think the FFU does me any good in this application. Is that correct? Next, am I correctly dealing with the DN bit of the FFL by MOV'ing a zero to .POS of the Control Word? (I did that because the help file states that a major fault occurs if: (starting element + .POS) > FIFO array size). Is there a better way to "reset" the FFU? Last point of confusion is the gray background color behind the actual values in the SUB instruction. Makes me think something is not cool with my indirect addressing. And since that is the rung that faulted the processor, I'm doubly suspicious. I've never faulted with a SUB instruction before. Any hints? Note: I added the AFI to rung 108 in order to bring the processor back on-line. The AFI was not there when the fault occurred. Thanks in advance for any education you can provide. Bill
  14. Why does this timer run?

    Because every time T4:13 goes DN, B3:1/10 is SET (true) for one scan. In the second rung, the fact that B3:1/10 is SET causes P1_START to be RESET (false) for one scan, which starts the entire sequence over again.
  15. MSG instruction will work. Keep in mind DINT is 32 bits and PLC-5 is 16-bit memory. So the data will occupy two words in the PLC-5. Do you need to do this transfer when the data changes in the CLX or would it suffice to have the PLC-5 read the data from the CLX every xx seconds? The answer to this determines whether you use a MSG Write in the CLX or a MSG Read in the PLC-5. If you need more details on MSG configuration, I can help. Let me know which way (Write or Read) you want to do it. Bill