Sign in to follow this  
Followers 0
CoolBreeze

Word issue

3 posts in this topic

I am having trouble try to access the individual bits in word D101. What I want to do is move a 1 into D101.1 and then when I recieve an index signal I want to transfer the 1 to D101.2, and so forth all the way up to bit 12 or D101.C. Then on I need to a way to say if D101.4 is equal to 1, start cycle. I can figure out how to move a 1 into D101.1, but I can't get the equal statement.

Share this post


Link to post
Share on other sites
I think i figured it out, I need to put a 1 into D101, and then move D101 into an empty 16 bit M word. then I can monitor the M bits.

Share this post


Link to post
Share on other sites
You can do that, or you can use bit shift commands. Of course you neglected to mention which PLC, so we can't tell you the exact commands to use. That and you don't need compares. Write ladder logic... SET D101.1, LD D101.C, etc.

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