Powerful Instructions Make Programming Easy; Providing The Basic Instructions You Expect - Siemens SIMATIC S7-1200 Manual

Easy book
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents
6.3

Powerful instructions make programming easy

6.3.1

Providing the basic instructions you expect

Bit logic instructions
The basis of bit logic instruction is contacts and coils. Contacts read the status of a bit, while
the coils write the status of the operation to a bit.
If you use a coil with the same address in more than one program location, the result of the
last calculation in the user program determines the status of the value that is written to the
physical output during the updating of the outputs.
Normally Open
Contact
The basic structure of a bit logic operation is either AND logic or OR logic. Contacts
connected in series create AND logic networks. Contacts connected in parallel create OR
logic networks.
You can connect contacts to other contacts and create your own combination logic. If the
input bit you specify uses memory identifier I (input) or Q (output), then the bit value is read
from the process-image register. The physical contact signals in your control process are
wired to input terminals on the PLC. The CPU scans the wired input signals and updates the
corresponding state values in the process-image input register.
You can specify an immediate read of a physical input using ":P" following the tag for an
input (such as "Motor_Start:P" or "I3.4:P"). For an immediate read, the bit data values are
read directly from the physical input instead of the process image. An immediate read does
not update the process image.
Easy Book
Manual, 11/2011, A5E02486774-04
6.3 Powerful instructions make programming easy
Normally Closed
The Normally Open contact is closed (ON) when
Contact
the assigned bit value is equal to 1.
The Normally Closed contact is closed (ON) when
the assigned bit value is equal to 0.
Programming made easy
Contacts test the binary status of
the bit, with the result being "power
flow" if on (1) or "no power flow" if
off (0).
The state of the coil reflects the
status of the preceding logic.
97

Hide quick links:

Table of Contents
loading

Table of Contents