Sign in to follow this  
Followers 0
EkremVK

How to Detect Pulse Presence? Pulse Catch?

4 posts in this topic

Hi all!

I need help with detecting the presence of a pulse signal on an input.

I have a İQ-F FX5U PLC, and a sensor generating a pulse signal with 500 Hz frequency. When the sensor detects nothing, it outputs just flat 0 volts. But if it detects something, it outputs a 500 Hz pulse signal with a varying duty cycle (the duty cycle depends on the condition of detection but that is not relevant, I don't need that). I only need to detect whether there is a pulse signal on the input or there is just nothing.

I thought of using Pulse Catch Function which I've never used before, but I couldn't comprehend how it exactly works. Looking at the image below; since there will be always a pulse signal on the input when the sensor detects something, "Input Device" will always be ON. And when the sensor detects nothing, there will be no pulse signal on the input, so the "Input Device" will be OFF. But what is that Input Device exactly? Is it a relay? An output? Or is it the result of an instruction (which I've found nothing as such)?

So, if anyone can help me with this Pulse Catch Function or another solution, I would be glad.

Adsız.png

Edited by EkremVK
Adding additional information

Share this post


Link to post
Share on other sites

Anyone? I still couldn't figure out, nor the technical support.

Share this post


Link to post
Share on other sites

hi.

I think you can use SPD command. [SPD  X0 K100 D5]   counts inputs in X0  during 100ms and put in to data register D5.

After that you can use [> d5 k20]  . If data register d5 is greater then 20 you can switch some device on . Im using gx3 for programming. and that code works for fx5uc.spd.thumb.PNG.98957490fcbf34f71899ec1409

 

Share this post


Link to post
Share on other sites
LD X0
OUT M0
[END]

where M0 is a desired signal of presence the pulse sequence at X0 input

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0