Sign in to follow this  
Followers 0
TechJunki

Indirect Address PLC-5

4 posts in this topic

I am trying to use an indirect address in a plc 5 to scan my B100 file at a lenght of 300 bits, I would like to scan this by bit not word, but when I try this "B100/[N7:32]" .. I get an error of "address must be specified to the word level". Am I using the correct syntax, I swear this has worked for me before but it may be one of those days. Any help would be appreciated.. Thanks Edited by TechJunki

Share this post


Link to post
Share on other sites
I think that should work. B100/[N7:0] I just tried it on a 5/40E and it compiled.

Share this post


Link to post
Share on other sites
what type of instruction are you using this address in? ... if it's something like a "compare" instruction, then the "BIT" address won't work ... tip: get the instruction working correctly with just ONE simple/sample bit ... then (and ONLY then) try to manipulate things with the "indirect addressing" idea ... Edited by Ron Beaufort

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