×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

dumb question

dumb question

dumb question

(OP)
Hello
First time poster looking for advice on a PLC program.

Goal
1. record time a sensor is on
2. delay signal for 3 seconds
3. send signal to motor and have it run for as long as the sensor did

Should I use a retentive time or use both on and off delays?

thank you!

RE: dumb question

There is no such thing as a dumb question. Now to answer your question, there are several ways to do what you want. One way is to use one on delay timer and one off delay timer, both set to three seconds. The on delay starts the motor, and the off delay stops it. This is probably the simplest way.

RE: dumb question

It seems to me you should have a timer with a long setpoint to measure the "Sensor ON Time".
On the transition from ON to OFF copy the "Sensor ON Time" elapsed time to the setpoint of the "Motor Run Timer".
Clear the "Sensor ON Timer" elapsed time.
Wait 3 seconds "Delay Timer" then run the motor until "Motor Run Timer" expires.
Hope this helps
Roy

RE: dumb question

(OP)
Good start for me. Just getting my feet wet with this stuff. Many thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources