Bits And Data Table

You know that we (humans) use a base 10 math system. Computers (which a plc is) cannot use that, they can use base 8 (octal), base 16 (hexadecimal) and base 2 (binary). Base 2 (binary) consists of 2 digits 0 (zero) and 1 (one).

BIT is actually a shortened term that means Binary digIT, the smallest unit of information. A bit can only be a 0 or 1.

With PLC's bits are grouped into word files which are 16 bits in length. These word files are what creates your Data Tables...Binary, Integer, Input, Output etc.

Using an AB as a reference if you view the Binary File for B3:0 then you would see from right to left 0 to 15 which represents the bits, next in line will be B3:1 with 16 bits to use.

What can be confusing is that some Data Files seem to use 2 word files, there are simple reasons for that. Using AB again lets look at an INPUT file which seems to hold 32 bits ie 2 word files that is because in some cases 32 bit cards are used. SO if you are using a rack style system and have a 32 bit input card in slot 1 it makes sense to allow the Input numbers to follow suit Input 1/0 to 1/32.

THis is a very basic overview and others may post more eloquent explanations. Note not all plc's do things like AB but the basis is the same 16 bits create a word or memory file. I used AB references because I think that is what you are using to learn by.
 

Similar Topics

Hello, I am at customer site. The PLC is on and well, ie. no issues. The customer had to resplice a Devicenet cable not too long ago and the...
Replies
3
Views
1,385
Hello there, I'm trying to send the state of a single internal bit (B3:3/8) of my main ML1400 PLC to a different ML1400 over Ethernet using the...
Replies
4
Views
1,755
Is this possible? I'm looking at the "Instruction Logic" of the AOI block (which is the *instance*, correct?) (a VFD AOI called "P_VSD"), and on...
Replies
2
Views
1,555
I am reading 32 bits from a DCS system into a DINT tag. I need to move this data into 4 INT tags. 1st 8 bits to one tag, next 8 bits to another...
Replies
3
Views
1,748
Hello All, Merry Christmas to those of you who celebrate it. I have a Mitsubishi Q02H that I have some set data bits that are lifetime counters...
Replies
1
Views
1,543
Back
Top Bottom