Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micrologix 1000?

Status
Not open for further replies.

kd8cfw

Electrical
Jul 11, 2006
1
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.
 
Replies continue below

Recommended for you

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

What happened when you tried using the ADD instruction?
 
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?
--------------------
 
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 |
|--------|
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor