Planning your application chapter 4 – Rockwell Automation 2711 PANELBUILDER SOFTWARE USER MANUAL User Manual
Page 92

Planning Your Application
Chapter 4
4-17
Binary—when you select the binary data type, the object’s PLC address
will be a contiguous bit string 1 to 16 bits long. The range of values you
can access will depend on the number of bits you assign. You can
position a binary data address anywhere within a PLC word (any ”start
bit”). It is possible for the binary data address to extend into the next
word, but not past the end of a rack assignment or block transfer file.
The remaining bits in that word, on either side of the binary data
address, can be used for other PLC data types.
Table 4.F
Number of States Supported by Specific Number of Bits for Binary Data Types
Number of Binary States
Bits Required
БББББББББББ
БББББББББББ
1-2
ББББББББББББ
ББББББББББББ
1
БББББББББББ
БББББББББББ
3-4
ББББББББББББ
ББББББББББББ
2
БББББББББББ
БББББББББББ
5-8
ББББББББББББ
ББББББББББББ
3
БББББББББББ
БББББББББББ
9-16
ББББББББББББ
ББББББББББББ
4
БББББББББББ
БББББББББББ
17-32
ББББББББББББ
ББББББББББББ
5
БББББББББББ
БББББББББББ
33-64
ББББББББББББ
ББББББББББББ
6
БББББББББББ
БББББББББББ
65-128
ББББББББББББ
ББББББББББББ
7
БББББББББББ
БББББББББББ
129-256
ББББББББББББ
ББББББББББББ
8
БББББББББББ
БББББББББББ
257-512
ББББББББББББ
ББББББББББББ
9
БББББББББББ
БББББББББББ
513-1024
ББББББББББББ
ББББББББББББ
10
БББББББББББ
БББББББББББ
1025-2048
ББББББББББББ
ББББББББББББ
11
БББББББББББ
БББББББББББ
2049-4096
ББББББББББББ
ББББББББББББ
12
БББББББББББ
БББББББББББ
4097-8192
ББББББББББББ
ББББББББББББ
13
БББББББББББ
БББББББББББ
8193-16384
ББББББББББББ
ББББББББББББ
14
БББББББББББ
БББББББББББ
16385-32768
ББББББББББББ
ББББББББББББ
15
БББББББББББ
БББББББББББ
32769-65536
ББББББББББББ
ББББББББББББ
16
Signed Integer always occupies one 16-bit word. Positive integers are
stored in straight binary format while negative integers are stored in
two’s complement format. The range of data values is from –32,768 to
+32,767.
BCD (Binary Coded Decimal)—if you select the BCD data type, the
object’s PLC control word will be a contiguous bit string of either 4, 8,
12, 16, 20, 24, 28, or 32 bits. The exact number of bits required will
depend on the maximum value required for the object. The first bit in a
BCD bit string can be aligned on any bit in a PLC word, but you would
typically use bit zero. It is possible for the BCD bit string to extend into
the next word, but not past the end of a rack assignment or block
transfer file.