addressing

The table 'B3' is composed of 16 bit words. There are two ways allowed to refer to a single bit. By the word which contains the bit then which bit in the word, or by which bit it is considering all the words to be strung end to end. The first bit being zero (0). Which of these types is your first reference? Whis is of the second type?

Note, I'm answering this way because it seems so much like a student type question. If not, this still should help.
 
Yes they are the same. B3 is a binary file that has 16 bits per word. It is number 0-15 reading right to left.

B3:0 = 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 = 1 16 bit word.
B3:1 = 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 = 1 16 bit word.
B3:2 = 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 = 1 16 bit word.

I hope you can see the pattern forming here. If you look at the second roll. The first bit that is underlined. This address can be written as b3:1/0 or b3/16. If you look at the third roll bit 10 that is underline. This is read as b3:2/10 or B3/42.

If you open the B3 file in RSLogix and move your mouse pointer over the bits, it should give there address as B3/??. In the programming area if you right click, choose properties, Address display. You can play around with the different ways to display an address.

I would have included a picture but I'm new here myself.

I hope this answer your question.
Pat
 
Patrick your explanation is perfect. I had often wondered why, but never questioned it, now I have the answer to my unasked question. Thanks.
 

Similar Topics

I just tried to update a L61-v20 program to an L81-v34 and I found that addressing a REAL to the bit level is no longer allowed? Can any one...
11
Replies
155
Views
Hello all. I have an Omron CS1G that has an NTH25 connected to it. The touchscreen went out on the NTH25 and I need to upload the program so I can...
0
Replies
148
Views
Hi all, Can someone help me understand the addressing of D4-HSC outputs please? I have an old machine without any documentation of elements or...
8
Replies
389
Views
how is the example indirect address done in RSLOGIX5000 for Contrologix ver 20 B90[N32:13] Thanks for any input
39
Replies
1,520
Views
So we have been asked to come up with a solution for a problem. The original PLC (SLC5/04) used DH+ to communicate to the Touchscreen we are using...
10
Replies
728
Views
Top