You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 16th, 2007, 11:26 AM   #1
goatom
Member
United States

goatom is offline
 
Join Date: Feb 2006
Location: Condon, or
Posts: 29
Integer files

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.
  Reply With Quote
Old March 16th, 2007, 11:37 AM   #2
Ron Beaufort
Lifetime Supporting Member
United States

Ron Beaufort is offline
 
Ron Beaufort's Avatar
 
Join Date: Jul 2002
Location: Charleston, SC
Posts: 5,320
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 ...
__________________

2-B ?
Best regards, ----+----] [----+------------( )----
Ron | |
PLC Training Boot Camp | 2-B |
+----]/[----+

I once was lost, but now am found, was blind, but now I see.


Last edited by Ron Beaufort; March 16th, 2007 at 12:01 PM.
  Reply With Quote
Old March 16th, 2007, 02:23 PM   #3
goatom
Member
United States

goatom is offline
 
Join Date: Feb 2006
Location: Condon, or
Posts: 29
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.
  Reply With Quote
Old March 16th, 2007, 04:16 PM   #4
Sergei Troizky
Member
Canada

Sergei Troizky is offline
 
Join Date: Oct 2004
Location: Montreal
Posts: 686
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.
  Reply With Quote
Old March 16th, 2007, 07:17 PM   #5
OZEE
Member
United States

OZEE is offline
 
Join Date: Mar 2006
Location: Kansas
Posts: 1,695
Quote:
Originally Posted by Sergei Troizky
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...
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
OT..... Securing Laptop Computer Files bikerdude LIVE PLC Questions And Answers 8 July 9th, 2006 08:08 PM
Just a question - I/O Mapping to Integer files sparky64 LIVE PLC Questions And Answers 3 May 17th, 2006 10:13 AM
step 5 for DOS program files Structure netvisor LIVE PLC Questions And Answers 5 December 30th, 2003 08:55 PM
binary conversion, tying arrays to bits with text files (VB source code included) Altair LIVE PLC Questions And Answers 3 May 6th, 2003 01:50 PM
String Files VS Integer Files Steve Meisel LIVE PLC Questions And Answers 5 September 16th, 2002 07:09 PM


All times are GMT -5. The time now is 09:35 PM.


.