EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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 #61 background imageLoading...
Page #61 background image
PLC concepts
4.2 Accessing data
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
61
The following table shows the range of integer values that can be represented by the
different sizes of data.
Table 4- 3 Decimal and hexadecimal ranges for the different sizes of data
Representation
Byte (B)
Word (W)
Double Word (D)
Unsigned Inte-
ger
0 to 255
16#00 to 16#FF
0 to 65,535
16#0000 to 16#FFFF
0 to 4,294,967,295
16#00000000 to 16#FFFFFFFF
Signed Integer -128 to +127
16#80 to 16#7F
-32,768 to +32,767
16#8000 to 16#7FFF
-2,147,483,648 to +2,147,483,647
16#8000 0000 to 16#7FFF FFFF
Real (IEEE 32-
bit Floating
Point)
Not applicable
Not applicable
+1.175495E-38 to +3.402823E+38 (positive)
-1.175495E-38 to -3.402823E+38 (negative)
Data in other memory areas (such as T, C, HC, and the accumulators) are accessed by
using an address format that includes an area identifier and a device number.
4.2.1
Accessing memory areas
I (process-image input)
The CPU samples the physical input points at the beginning of each scan cycle and writes
these values to the process image input register. You can access the process image input
register in bits, bytes, words, or double words:
Table 4- 4 Absolute addressing for I memory
Bit:
I
[byte address].[bit address]
I0.1
Byte, Word, or Double Word: I
[size][starting byte address]
IB4,
IW7,
ID20
Q (process-image output)
At the end of the scan cycle, the CPU copies the values stored in the process image output
register to the physical output points. You can access the process image output register in
bits, bytes, words, or double words:
Table 4- 5 Absolute addressing for Q memory
Bit:
Q
[byte address].[bit address]
Q1.1
Byte, Word, or Double Word: Q
[size][starting byte address]
QB5, QW14,
QD28

Table of Contents

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