a little direction please

harvniu

Member
Join Date
Jan 2013
Location
Illinois
Posts
4
I was wondering if someone could help me by pointing me in the right direction as far as a problem I have. I am using Prologix Simulator and have to program a way to:

Time when a sensor is activated and depending on how long it is activated determines where this "package" is going (diverter)
 
Harvniu,

What PLC brand and model of PLC does your Prologix Simulator emulate? (All PLCs do not have the same instructions).

Do you have or can you make a sketch of your package conveyor, sensor, and diverter? With a good sketch, showing distance AND time needed for package to travel from sensor to diverter, then it should be solvable.
 
It simulates AB Micrologix. The timer is:less than 2 sec. represents a narrow package and 2 sec. to 5 sec. represents a wide package.

I originally put a RTO in there with some compare functions but have trouble resetting the timer when the sensor is not activated. I'm probably going the wrong route with that.

Thank you
 
So you have two package sizes to detect, Narrow and Wide.

1. Use a RTO timer T4:0 with a time base of 0.01. (2 seconds = "200"). Set your Preset Timer Value to "600".
When package is past the sensor, stop timer. (If you trigger timer with sensor ON, then the timer will stop automatically).
2. Use a Comparison Instruction: If timer T4:0/ACC is < 200, OTL B3:0/0 "NARROW PACKAGE".
3. If timer T4:0/ACC is >= 200, OTL B3:0/1 "WIDE PACKAGE".
4. When B3:0/0 or B3:0/1 is ON, then reset T4:0.
5. Now you finish the logic by adding the diverter output, a timer to control the diverter duration, a sensor that shows WHEN package arrrives at the diverter, and 2 OTU instructions to unlatch the NARROW PACKAGE or WIDE PACKGE bits when the Diverter Timer DN bit goes ON.
6. Your next assignment will involve 2 or more different-sized packages on the conveyor at the same time. How will you be able to track the size of each one as it arrives at the diverter? Start thinking about that future assignment now, so you will not be surprised later!

PACKAGE DETECTOR- AB MICROLOGIX.jpg
 
Last edited:

Similar Topics

I am new to PLCs and am taking classes at the local college. I am interested in eventually starting my own business as an automation...
Replies
1
Views
1,263
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
259
Hi, Need a little bit guiding using SISTEMA software. As I understand a subsystem consist of components and are the same category. I'm confused...
Replies
11
Views
2,668
Good morning everyone, I've got 2 servo driven axes that each use a Heidenhain glass slide to the motion controller for position and velocity...
Replies
4
Views
1,416
RSLogix 500, what is the little image next to the ladder in the project tree? it looks like a little blue bug with a red dot on its back. just...
Replies
5
Views
2,060
Back
Top Bottom