detection pulse with a couple of rungs

mulderm

Member
Join Date
Jun 2003
Location
Netherlands
Posts
298
Hello,

I use a PLC/5 and RSLogix5 software.
How Can I detect a input pulse (I:00/00) with some program-code?
The pulse that I must detect is a false to true and
then from true to false type.

mulderm
 
Here is a snip from a PLC5 program where it is required that the operator remove the part at the end of a cycle and insert a new part. It requires that a dark operate photo eye first turn OFF, then back ON. Inverting the logic may give you what you want.

You could also use an OSF instruction.



PARTDETECTION209A.GIF
 
Last edited:
Mulderm, I also saw your post on the other borad....

The instructions you used in your solution (in line OSR) are SLC500 instructions - where as on the PLC 5 OSR is an output instruction.

In the PLC5 I would do that function like this with an OSF.

XIC I:0001/00 OSF B3:0/2 1 B3:0
XIC B3:0/1 OTL B3:0/0

Here is how I implemented a falling edge one shot in a ML1000 on a vacuum furnace. In this case, I could not use XIO B3/17 OSR ??? in this application because it would produce a single shot output on the first scan as well, which was not acceptable in this application. B3/17 had to first actually be on, then off. When that condition is met, B3/25 will be on for a single scan. This takes advantage of scan order to accomplish the falling edge single shot.

OSF90a80298.GIF
 
You are great Alaric.
This example is exactly what I mean, much better als
using a counter what I have used.
Many thanks,

mulderm
 

Similar Topics

Hello, I work for a beverage company that uses a laser coder to print date codes on bottles. We have a problem where occasionally the photo-eye...
Replies
8
Views
2,555
I have a FX3U clone that I am failing to get a simple Structured Text example working on and would really appreciate some help. I created a...
Replies
30
Views
1,029
I have an application where I want to use a safety relay in combination with a flame detector as the sensing element. The flame detector has relay...
Replies
23
Views
1,119
Hi Lads, I want to implement a flood prevention system with my domestic water pump. The intention is to have the water pump cut off on a daily...
Replies
7
Views
1,087
Does anyone know of a counter block (either PLC or PAC) that allows configuration of the input signal, such that it can be set to count up/down on...
Replies
11
Views
729
Back
Top Bottom