×
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

Micrologix 1000?

Micrologix 1000?

Micrologix 1000?

(OP)
I am trying to accomplish a program that counts from 1 to 10 in binary by hitting a momentary pushbutton I:0/5 without using the CTU or CTD commands.

Does anyone know how to pull this off? I thought maybe an add instruction but couldn't get that to work either.

RE: Micrologix 1000?

Forgive me for asking, but is this a classroom or training exercise of some sort?

What happened when you tried using the ADD instruction?

RE: Micrologix 1000?

Here's a hint: Think about how you'd code that in BASIC using "If" statements. Consider what state changes are happening between your two numbers. The ladder code should be very simple from there.

--------------------
How much do YOU owe?
http://www.brillig.com/debt_clock/
--------------------

RE: Micrologix 1000?

You should be able to use the ADD instruction with a one-shot between the input and the add instruction.


                               ADD
    I:0/5       B3:0/0      |--------|
---]  [--------(ons)--------|A: N7:0 |
                            |B:  1   |
                            |D: N7:0 |
                            |--------|  

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