Integer files

goatom

Member
Join Date
Feb 2006
Location
Condon, or
Posts
29
I am studying a Rss file from one of our machine centers that has a Micrologix 1000 processor. In my practice programming sessions I have been using Binary Bits (B file) to control ladder functions. The person who wrote this program appears to have used the N file for ladder programs. Some of the XIO and XIC components have addresses in the N file. From what I can tell there are no whole numbers used for any of the decesions on any of the rungs.


Is this a standard practice in programming and if so is it better than using the B bit files? Or why use the N as opposed to the B files?

Just when I think I have a clue someone throws me a bone.
 
a bit is a bit is a bit ... the only difference is that the bits in the binary files may be numbered sequentially ... example: B3/412; B3/413; B3/414; etc. ... with the integer files you have to specify the :WORD and then the /BIT to get the addressing job done ... but as long as the addressing is done correctly, then either type of bit can be used for something like a "seal-in" rung or an OSR (One-Shot Rising) status bit, etc. ...

going further ... there is one BIG difference between types of bits ... an Input bit (one whose address starts with I: ) is sort of special ... that's because its status gets updated at the first part of each processor scan cycle ... Step I ... do I have current? ... yes or no? ... what's in the box? ... a 1 or a 0 ...
 
Last edited:
Bits and bones

Thanks again Ron. Your skills are outstanding in explaining this voodo. I have discovered that a N bit puts out the same amount of smoke as the B bit and have a better understanding each time I work on this.
 
There is actually a difference in ladder monitoring radix for B (monitored in binary radix) and N (monitored in decimal radix) words.
Still no difference for bits in this aspect.
 
Sergei Troizky said:
There is actually a difference in ladder monitoring radix for B (monitored in binary radix) and N (monitored in decimal radix) words.
Still no difference for bits in this aspect.


That's not a problem -- you can set it to monitor B's as decimal and N's as binary if you want to...
 

Similar Topics

Hello, I am new to the Allen Bradley connected components workbench software. I am working with an AB panelview component Hmi and would like to...
Replies
0
Views
1,217
Hi, new guy here! I'm going through a program on RSLogix 500 and it uses N files quite a bit. I'm trying to understand how the different words...
Replies
4
Views
2,159
This will be too simple for you programmers. I am relearning programming skills for Rockwell software. I've got the basic instructions relearned...
Replies
9
Views
8,488
The standard Micrologix 1000 PLC comes with N7:0 as integer data file, how can I add 2 more integer files, let say N9:0 and N10:0? I'm using...
Replies
15
Views
12,509
Hey folks, I want to be able to do a mass subtract of integer files... N10 (length of 110) - (minus) N12 (length of 110) = (move to) N13...
Replies
7
Views
2,390
Back
Top Bottom