S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
169
Program instructions
7
7.1
Bit logic
7.1.1
Standard inputs
LAD
FBD
STL
Description
LD bit
A bit
O bit
Test a bit value in memory (M, SM, T, C, V, S, L) or process image
register (I or Q).
LAD: Normally open and normally closed switches are represented
by a contact symbol. If power flow is present on the left-side and the
contact is closed, then power flows through the contact to the right-
side connector and to the next connected element.
•
The Normally Open (N.O.) LAD contact is closed (ON) when the
bit is equal to 1.
•
The Normally Closed (N.C.) LAD contact is closed (ON) when the
bit is equal to 0.
FBD: Normally open instructions are represented by AND/OR boxes.
Box instructions can be used to evaluate Boolean signals in the same
manner as ladder contact networks. Normally closed instructions are
also represented by boxes. A normally closed instruction is created
by placing the negation circle
, on a binary input sig-
nal connector. The number of inputs for the AND/OR boxes can be
expanded to a maximum of 31 inputs.
STL: The normally open contact is represented by the LD (load), A
(AND), and O (OR) instructions. These instructions load, AND, or OR
the value of the addressed bit with the top bit of the logic stack. The
normally closed contact is represented by the LDN (Load NOT), AN
(AND NOT), and ON (OR NOT) instructions. These instructions load,
AND, or OR the logical NOT of the addressed bit value with the top
bit of the logic stack.
LDN bit
AN bit
ON bit
Input / output
Data type
Operand
bit (LAD, STL)
BOOL
I, Q, V, M, SM, S, T, C, L,
Input (FBD)
BOOL
I, Q, V, M, SM, S, T, C, L, Logic flow
Output (FBD)
BOOL
I, Q, V, M, SM, S, T, C, L, Logic flow
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...