×
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

One shot

One shot

One shot

(OP)
Here is my delimann.......In my first line of code whenever the pulse count is 7000 the force decreases by 50. The problem is that my count could be 7000 for a second and plc could scan through the codes execute X numbers of times in a second. Meaning that you would be subtracting 50 times X number of times before it goes to 7001. How do i make sure that my initial settings will not be overwriting my changes every program cycle. Any inputs will greatly be appreciated.

i know i can use one shot function .....use one shot function without overwriting the initial setting???? any help will greatly by appreiciated

RE: One shot

If count>=7000 and temp1=0 then force=force-50
If count>=7000 then temp1=1 else temp1=0

One shot code....

RE: One shot

Just use a regular coil for B3:3/11. Do not use a latch instruction.

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