b_carlton
MrPLC Member-
Content count
1207 -
Joined
-
Last visited
Community Reputation
61 ExcellentAbout 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
-
I am curious what you mean by changing your question to '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.
-
tanmanx liked a post in a topic: RSLogix 5000 IO Mapping
-
Question About PLC Programming for a Concrete Batch Plant
b_carlton replied to domster2003's topic in Automation Direct
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. -
P2-550 order operation based on inputs
b_carlton replied to hightekkrednek@gmail.com's topic in Automation Direct
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. -
Ramp program for rslogix500
b_carlton replied to Aarif's topic in Allen Bradley / Rockwell Automation
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) -
Click PLC and Remote Access via Secomea SiteManager
b_carlton replied to pcmccartney1's topic in Automation Direct
Try using Modbus if available. -
last 10 pcs average cycle time
b_carlton replied to eccan's topic in Allen Bradley / Rockwell Automation
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. -
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.
-
Guest liked a post in a topic: Gender Neutral Electrical Connector
-
Find a Tag in RSLogix 5000
b_carlton replied to Frankeer's topic in Allen Bradley / Rockwell Automation
I think you meant Local:7:I.Data.4. (Swapped 4 and 7) -
How to create structures and arrays of existing atomic data
b_carlton replied to gazroo's topic in Allen Bradley / Rockwell Automation
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 -
How to create structures and arrays of existing atomic data
b_carlton replied to gazroo's topic in Allen Bradley / Rockwell Automation
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. -
First a link to the air pressure manual would be helpful.
-
Joe E. liked a post in a topic: up-down counter
-
Whatever works in your application is right.
-
gavin44 liked a post in a topic: 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.
-
gavin44 liked a post in a topic: up-down counter
-
gavin44 liked a post in a topic: up-down counter
-
If using ADD or SUB make sure to one-shot the conditions to do the ADD/SUB only once for each.