Siemens S7-1200 System Manual page 205

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

NOT logic inverter
Table 7- 5
Invert RLO (Result of Logic Operation)
LAD
FBD
Output coil and assignment box
The coil output instruction writes a value for an output bit. If the output bit you specify uses
memory identifier Q, then the CPU turns the output bit in the process-image register on or
off, setting the specified bit equal to power flow status. The output signals for your control
actuators are wired to the Q terminals of the CPU. In RUN mode, the CPU system
continuously scans your input signals, processes the input states according to your program
logic, and then reacts by setting new output state values in the process-image output
register. The CPU system transfers the new output state reaction that is stored in the
process-image register, to the wired output terminals.
Table 7- 6
Assignment and negate assignment
LAD
FBD
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
SCL
Description
NOT
For FBD programming, you can drag the "Negate binary
input" tool from the "Favorites" toolbar or instruction tree and
then drop it on an input or output to create a logic inverter on
that box connector.
The LAD NOT contact inverts the logical state of power flow
input.
SCL
out := <Boolean
expression>;
out := NOT
<Boolean
expression>;
If there is no power flow into the NOT contact, then there
is power flow out.
If there is power flow into the NOT contact, then there is
no power flow out.
Description
In FBD programming, LAD coils are transformed into
assignment (= and /=) boxes where you specify a bit
address for the box output. Box inputs and outputs can be
connected to other box logic or you can enter a bit
address.
You can specify an immediate write of a physical output
using ":P" following the Q offset (example: "%Q3.4:P").
For an immediate write, the bit data values are written to
the process image output and directly to physical output.
Basic instructions
7.1 Bit logic operations
205

Advertisement

Table of Contents
loading

Table of Contents