Program instructions
7.1 Bit logic
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
171
7.1.2
Immediate inputs
LAD
FBD
STL
Description
LDI bit
AI bit
OI bit
The immediate instruction obtains the physical input value when the
instruction is executed, but the process image register is not updated. An
immediate contact does not wait on the PLC scan cycle to update; it
updates immediately.
The Normally Open Immediate contact is closed (ON) when the physical
input point (bit) state is 1.
The Normally Closed Immediate contact is closed (ON) when the physi-
cal input point (bit) state is 0.
LAD: Normally open and normally closed immediate instructions are
represented by contacts.
FBD: Normally open immediate instructions are represented by the verti-
cal immediate indicator
in front of an input connection.
The Normally closed immediate instruction is represented by the imme-
diate indicator and negation circle
in front of an input
connection.
The immediate indicator cannot be used when a logic flow connection is
used instead of a physical input ( I ) bit address.
FBD box instructions can be used to evaluate physical signals in the
same manner as ladder contacts. The number of inputs for the AND/OR
boxes can be expanded to a maximum of 31 inputs.
STL: The Normally Open Immediate contact is represented by the LDI
(Load Immediate), AI (AND Immediate), and OI (OR Immediate) instruc-
tions. These instructions load, AND, or OR the physical input value with
the top of the logic stack.
A normally Closed Immediate contact is represented by the LDNI (Load
NOT Immediate), ANI (AND NOT Immediate), and ONI (OR NOT Imme-
diate) instructions. These instructions immediately load, AND, or OR the
logical NOT of the value of the physical input value with the top of the
logic stack.
LDNI bi
t
ANI bit
ONI bit
Input / output
Data type
Operand
bit (LAD, STL)
BOOL
I
Input (FBD)
BOOL
I
Содержание 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 ...