b_carlton

MrPLC Member
  • Content count

    1207
  • Joined

  • Last visited

Community Reputation

61 Excellent

About b_carlton

  • Rank
    User
  • Birthday 08/31/50

Contact Methods

  • ICQ 0

Profile Information

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

Recent Profile Visitors

10051 profile views
  1. Soft

    I am curious what you mean by changing your question to 'soft'
  2. Soft

    Search the manual for your CPU for the GTS and SBR instructions. The subroutine is inserted after the main program END instruction. The subroutine is started with the SBR instruction and ended with an RT (return)  instruction. You may use a RTC (return conditional) if your subroutine requires it) Unlike many other programming languages there is no structure for passing or returning values, The subroutine is identified by a constant provided as an argument to the SBR instruction. You invoke the subroutine from within the main program using the GTS instruction with the same numeric argument as the target subroutine. I don't remember if you can use the GTS from inside another subroutine. Otherwise the operation is similar to other language subroutines. On invocation the main code stops, the code within the subroutine is executed, then the processing of the main program continues from the instruction immediately after the GTS.
  3. The actual program will be fairly easy using comparison contacts. A catch will be that when an output is turned off to halt the flow of one of the components there will be some still falling. You'll have to experiment and find the amount to anticipate, probably different for each component.  
  4. P2-550 order operation based on inputs

    I think the description of the system implies that the supply method will soon be inadequate for the processing speeds. I don't think that just program modifications will make up for that.
  5. The way I implement a ramp is with a timer whose preset is the total ramp time. At any point the output is FinalOutput * (Timer accumulator/Timer preset)
  6. Click PLC and Remote Access via Secomea SiteManager

    Try using Modbus if available.
  7. It may have been lost on the site during the changeover. That far back it was probably on my work computer. I'm retired now (2016). I only have RSLogix 500 micro lite now. Sorry.
  8. Bits or Coils in Click C0-10DD2E-D

    There's a bit more flexibility in the Do-more line. That software is free like the Click and includes a simulator so you can check it out for no cost.
  9. Find a Tag in RSLogix 5000

      I think you meant Local:7:I.Data.4.  (Swapped 4 and 7)
  10. Yes, timers and counters in the SLC500 and Micrologix worlds consist of 3 16 bit words One contains the preset time/count. Another contains the current time/count. The third is used as individual bits and, at least in the timer, a small numeric section to compare with the system real-time clock. Refer to chapter 8 in this manual for more info.   https://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1766-rm001_-en-p.pdf  
  11. The SLC500 and Micrologic do not have the ability to set up user defined structures. They have some items (counters, timers, strings and others) which are structures. In the Compactlogix User-defined types (UDT) can be set up. Google for UDT and RSLogix.
  12. Ethernet Information

    First a link to the air pressure manual would be helpful.
  13. up-down counter

    Whatever works in your application is right.
  14. up-down counter

    I found it easiest in a similar application to just do the ADD and SUB blocks and not use a counter at all. Actually mine was 4 separate Up counts and one Down count input. With the complexity it was more understandable to group the 5 rungs together with 4 up counts followed by the one down count.
  15. up-down counter

    If using ADD or SUB make sure to one-shot the conditions to do the ADD/SUB only once for each.