EasyManuals Logo

Siemens Simatic S7 Series User Manual

Siemens Simatic S7 Series
75 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #11 background imageLoading...
Page #11 background image
10
BCD While it is necessary for PLCs to use binary values, humans
often need to see values represented in decimal. As a result,
some input and output devices provide a decimal display where
each decimal digit corresponds to four PLC binary inputs or
outputs. The most common system used by input and output
devices of this type is referred to as
binary-coded decimal
(BCD).
One example of a BCD device is a type of four-digit
thumbwheel switch. Each thumbwheel digit controls four
PLC inputs. This means that for a four-digit thumbwheel, 16
inputs are required. Because each thumbwheel digit only
needs to represent decimal values from 0 through 9, only ten
corresponding binary values are required for each digit.
0
2
0
5
0000 0010 0000 0101
Decimal
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
BCD
Hexadecimal Hexadecimal is another system used in PLCs. The ten digits
of the decimal system are used for the first ten characters of
the hexadecimal system. The first six letters of the alphabet are
used for the remaining six characters.
The hexadecimal system is used in PLCs because it allows the
status of a large number of binary bits to be represented in a
small space such as on a computer screen or programming
device display. Each hexadecimal character represents the exact
status of four binary bits.
Hexadecimal Number System
16 digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
Base 16
Weights Powers of base 16 (1, 16, 256, 4096, ...)
Hexadecimal
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
A 1 0 1 0
B 1 0 1 1
C 1 1 0 0
D 1 1 0 1
E 1 1 1 0
F 1 1 1 1
Binary
Hexadecimal Example
Binary Equivalent
0 0 1 1 1 0 1 0 0 0 1 0 1 1 1 1
F
3
A
2
www.siemenssupply.com

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals