MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

40 Excellent

About b_carlton

  • Rank
  • Birthday 08/31/50

Contact Methods

  • Website URL http://www.theplcguy.com
  • ICQ 0

Profile Information

  • Gender Male
  • Location Yakima, Washington
  • Country United States

Recent Profile Visitors

5415 profile views
  1. RSLogix500 Ladder Problem

    You have logically thown out the need for the parallel NEQ and EQU tests on N7:0 and N7:1. Just leave the tests for EQU N7:0 N7:2 and EQU N7:1 N7:3
  2. RSLogix500 Ladder Problem

    Since you mentioned RSLogix 500 I'll stick with N registers. Gather the bits in to two N registers (lets say N7:0 and N7:1) in the manner suggested by Joe E. In RSLogix500 this would look like XIC Bit0 N7:0/0 etc    (After N7:0/15 you would need to switch to N7:1/0  etc) Make sure to start out somewhere with a CLR of these two N registers. The movement of the bits into tthe N registers would have to happen every scan. For this you will also need two other N registers. Lets say N7:2 and N7:3   You can CLR these also if you wish but the only possible problem would be on the very first scan. It sounds like you want the timer to be on if any of these 22 are on. You want it to reset if any bit changes state. So the rung to the timer enable would look like: NEQ N7:0 0      EQU N7:0 N7:2   EQU N7:1 N7:3 ------------ Timer NEQ N7:1 0 (Note - two NEQs are in parallel) and another rung to store the bits to make the transition check possible: ------------  MOV N7:0 N7:2   and on a branch in parallel with this  MOV N7:1 N7:3
  3. Round Robin Code

    Make your lane ratios variable. On any lane whose 50% indication is true (remember to add a timer for each to ignore minor gaps between items) begin to increase its ratio. Once the 50%% indication is clear for an amount of time begin lowering the ratio back down toward 1. You'll have to experiment with times and amounts to avoid going way overboard by locking a lane out or giving one exclusive priority. An 'almost empty' indicator for each might help also.   On second reading I think you were describing a single feeder filling three lanes. I was thinking three lanes merging into a common conveyor. But the general idea applies with variable ratios except that you would increase the ratio slightly on the lanes whose 50% indicator is not true.
  4. V Memory

    The CTRIO module has its own manual. Download and read it. It has a lot of examples. When Directsoft is installed it has the option for loading example programs also. I believe there arre some CTRIO examples in there.
  5. Help: Basic Program Question

    Is a compare instruction considered a math instruction?
  6. V Memory

    I provide a bit of information for those working with Directsoft who have Allen Bradley experience. It starts here - http://theplcguy.com/ABtoAD/Introduction.htm As part of this I provide a table of AB to DL memory usage here - http://theplcguy.com/ABtoAD/DL06%20Memory%20Types.html Let me know if I can help in other ways.
  7. V Memory

    That's a very open question. Do you have experience with any other PLCs? The 'V' memory is generally not assigned by type except for counter and timer accumulators and various system locations. The manual for the specific CPU details these.  
  8. MR

    Highlighting a table I made for my site (thePLCguy)
  9. Does the unit documentation specifically mention that it supports Ethernet IP? I saw something about TCP/IP but that's not the same thing.
  10. Problem adding a box under a rung

    Which programming package are you using?
  11. TT pulse bit

    Search for the base timer name without the '.TT'
  12. SLC500 - resetting the time

    Disconnect the Panelview fromthe PLC. Reset the time to that currently in  the PC as described in the first post. Return the PLC to RUN. Wait a while See if the time in the PLC registers change. This should isolate if the Panelview is causing a problem or  is simply displaying the result of a change caused by something else.

    The file (#3) you have set in HSC:0.PFN is typically called when an interrupt condition (hitting High Preset, Low Preset for example) occurs. Try moving this code into ladder 2 and see if it executes as you wish.
  14. RSLOGIX 500 String

    Type the following including spaces Line 1\0aLine 2 After pressing ENTER you should see Line 1^JLine2 So the backslash is the lead in to the hex value of the character.
  15. The copy of multiple items only works if the items are adjacent to each other in both the source and destination. Check the card documentation as RSLogix 5000 table doesn't always follow the actual sequence from memory. You probably will have to transfer them separately.