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 #156 background imageLoading...
Page #156 background image
Program instructions
7.1 Bit logic
S7-200 SMART
156 System Manual, 09/2015, A5E03822230-AC
Logic Stack example: LAD networks transformed into STL code
LAD
STL
Network 1
LD I0.0
LD I0.1
LD I2.0
A I2.1
OLD
ALD
= Q5.0
Network 2
LD I0.0
LPS
LD I0.5
O I0.6
ALD
= Q7.0
LRD
LD I2.1
O I1.3
ALD
= Q6.0
LPP
A I1.0
= Q3.0
7.1.5
NOT
LAD
FBD
STL
Description
NOT
The Not instruction (NOT) inverts the state of the power flow input.
LAD
: The NOT contact changes the state of power flow input. When
power flow reaches the NOT contact, it stops. When power flow does
not reach the NOT contact, it supplies power flow.
FBD
: The NOT instruction is represented as a graphical negation (bub-
ble) symbol on Boolean box input connectors and functions as a logic
state inverter.
STL
: The NOT instruction changes the value on the top of the stack
from 0 to 1, or from 1 to 0.
See also
Bit logic input examples (Page 162)

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