PLC Bit Type Instructions Guide
PLC Bit Type Instructions Guide
Instruction NC
Output activation instruction
-Tarea 1: Arranque directo de un motor trifásico
K1M K2M K3M
1
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
CONCEPT
These instructions work with
single-bit data.
2
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
3
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
THE NORMALLY OPEN INSTRUCTION If the button is held down now, it will have
the following states:
Ix.y La instrucción Normalmente Abierta
examine a memory location of the
PLC in the input module to see if 3 I0.3 Q0.2 2
there is continuity in the collector
associate. V V ON
4
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
If the button is pressed now, it will have The NO button is connected to terminal 5 of
the following states: input module.
The lamp is connected to terminal 4 of the module
4 I0.4 Q0.3 3 of outputs.
Instruction I0.5 is TRUE.
F F OFF The instruction Q0.4 is TRUE.
V V ON
5
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
Qx.y An Output Activation Instruction is If now the output Q0.5 is true, the output Q0.0
TRUE if at least one exists the input will be true and the output Q0.1 will be false.
series association of instructions Q0.5
true, that it reaches that exit.
Qx.y V V V V
If an Output Activation Instruction
Q0.5 Q0.0
it is TRUE, the states of its
respective contacts will change from
Qx.y V V
state; that is, a Qx.y contact.
Q0.5 Q0.1
NORMALLY OPEN (F), it will close
(V); and a contact Qx.y NORMALLY F F
CLOSED (V), it will open (F).
6
ELECTRICIAN
CONTROL COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISES
For the following exercises, determine what is necessary to do to turn on the lamps, according to the
next PLC connection.
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
7
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: TYPE BIT INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISE 1 EXERCISE 3
F F F F F
I0.7 I0.2 I0.6
F F V
For the Q0.5 lamp to light up: For the lamp of Q0.1 to turn on:
Close the button of I0.1 and that of I0.2 Open the button I0.7
Open the I0.7 button and close the I0.2 button. Close the I0.2 button
EXERCISE 2 EXERCISE 4
I0.1 I0.2 Q0.6 I0.1 I0.2 Q0.0
F V F F V F
I0.7 I0.7
F F
I0.0
For the Q0.6 lamp to light up:
Close the I0.1 button
Open the button of I0.7
F
For the lamp of Q0.0 to turn on:
Close the I0.1 button
Open the button I0.7
Close the button of I0.0
8
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISE 5
EXERCISE 7
I0.1 I0.2 Q0.5 I0.6 I0.2 Q0.0
F F F F V F
I0.1 I0.7
I0.2 I0.7
F V
F V
For the Q0.5 lamp to turn on:
I0.7
Close the button I0.2 and I0.1
Close the button at I0.1
F
EXERCISE 6 For the Q0.0 lamp to turn on:
Open the button I0.6
I0.1 I0.5 I0.2 Q0.6 Close the button of I0.2
Open the button I0.7
F V F F
I0.7 I0.1
F V
For the Q0.6 lamp to turn on:
Close the button I0.1 and the button I0.2
Open the I0.7 pushbutton and close the I0.2 pushbutton.
9
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISE 8 EXERCISE 9
I0.1 I0.7 Q0.0 I0.1 I0.2 Q0.5
F F F V F F
I0.2 Q0.5
F F
I0.2 I0.5 In order for the Q0.5 lamp to turn on, close the I0.2 button and
let it go.
Then, to turn off the Q0.5 lamp, close the button of
F F I0.1 and let it go
F V F
I0.1 I0.2
V F
For the lamp of Q0.6 to light up, close the button of I0.1 or the
of I0.2
By pressing both buttons at the same time, you will not be able to turn it on.
that lamp.
10
ELECTRICIAN
Commands by Programmable Logic Controllers I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISE 11 EXERCISE 13
F F V F F F V F F
I0.1 I0.2 I0.5
V F F
To turn on the Q0.5 lamp, close the buttons of I0.0 I0.1
I0.0 and I0.1 or close the buttons of I0.0 and I0.2
F V
EXERCISE 12
I0.2 I0.0
I0.0 I0.1 I0.2 Q0.6
F V
F F V F
I0.1 I0.2 For the Q0.6 lamp to turn on:
Close the button I0.1, open the button I0.5 and open
the button of I0.7
Open the I0.5 button and open the I0.7 button
V F Close the button I0.0 and open the button I0.7
I0.1 Close the button I0.2 and open the button I0.7
11
ELECTRICIAN
CONTROLS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
EXERCISE 14
F F F
I0.5
F
I0.0 I0.6 I0.2 Q0.6
F F F F
I0.7
When the I0.2 button is pressed, the Q0.6 lamp will turn on.
When closing the I0.1 button, no lamp turns on. If to
continuation, when the I0.2 button is pressed, the will light up
Q0.5 and Q0.6 lamps.
When opening the I0.7 push button, no lamp turns on.
When closing the I0.0 button and opening the I0.6 button, it will not turn on.
some lamp. If the button I0.2 is then closed,
It will only turn on the lamp of Q0.6.
12
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
FUNCTION AND
TIMING DIAGRAM
The AND function associates one instruction in series with another.
instruction.
I0.0
Application
13
ELECTRICIAN
CONTROL COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 0.6 7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V L
60Hz N
14
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
Application
I0.7
It is desired to turn on an exterior pilot light when
if a push button is pressed inside or when Q0.5
activate a photoelectric cell.
Operation Operation F F
desired from the from PLC I0.7
installation
When the is triggered When it is true the F
interior push button input I0.6
Considering NA receivers connected to the PLC:
Or when it is activated Or when it is true the
photoelectric cell entry I0.7
If I0.6 closes and I0.7 does not close, it turns on
The outer pilot is The output Q0.5 is
Q0.5.
turn on true. If I0.6 and I0.7 are not closed, Q0.5 does not turn on.
If I0.6 does not close and I0.7 closes, it turns on
Q0.5.
If I0.6 and I0.7 are closed, Q0.5 lights up.
15
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V L
60Hz N
16
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
F3F
L1
It needs to be controlled remotely. L1
three-phase induction motor squirrel cage type L2
squirrel via a remote control impulse
L3 F2F
initial, which will be displayed with a
march signal lamp.
F2F
STOP MARCH
U V W
L2
START OVERLOAD K1M H1 H2
M
CONTROL PANEL
3
17
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
TIME DIAGRAM
I0.1
18
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
19
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
L1
A motor needs to be controlled remotely.
L2
three-phase squirrel cage induction by a
initial impulse command with reversal of rotation, the L3
which will be visualized with two lamps of
signaling: one for right turn and another for F1F
left march.
RIGHT U V W
LEFT
LEFT OVERLOAD M
3
Control Panel
20
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
Q0.5 Q0.0
F2F
Q0.6 Q0.1
K2M K1M
L2
K1M H1 K2M H2 H3
21
ELECTRICIAN
CONTROLS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
PLC VARIABLES
22
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
23
ELECTRICIAN
CONTROLS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
L1 STRENGTH SCHEME
CONDITIONS
L2
L3
A three-phase induction motor of type must be stopped.
squirrel cage, subjected to a reversal circuit
turn with prior stop, using the injection technique F1F UDC
of direct current. + -
F2F
STOP/BRAKE RIGHT
RIGHT LEFT U V W
LEFT OVERLOAD M
3
CONTROL PANEL
24
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
S1Q
Q0.6 Q0.1
I0.0 Q0.2
L2
K1M H1 K2M H2 K3M H3
25
ELECTRICIAN
Commands by Programmable Logic Controllers I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
VARIABLES PLC
26
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M 0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
27
ELECTRICIAN
CONTROL BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
TASK N° 04. DIRECT START WITH REVERSAL OF ROTATION WITHOUT PRIOR STOP OF A THREE-PHASE MOTOR
L1
It is necessary to control an induction motor remotely.
L2
three-phase squirrel cage type by means of a control
initial impulse with reverse turn without prior stop, the L3
which will be displayed with two signaling lamps:
one for right gear and another for left gear. F1F
K1M K2M
STOP RIGHT
Face to Face
RIGHT LEFT
U V W
LEFT OVERLOAD
M
CONTROL PANEL
3
28
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
F3F
L1 I0.0 I0.1 I0.2 I0.5 Q0.6 Q0.5
F2F
Q0.5
Q0.6
I0.0 Q0.0
S3Q
K2M K1M
L2
K1M H1 K2M H2 H3
29
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
PLC VARIABLES
30
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 .2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
31
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
CONDITIONS
STOP
UP DOWN
UP
OVERLOAD
DOWN
32
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
F3F
SCHEME OF FORCE AND COMMAND L1
L1 F2F
L2
L3
S1Q
F1F
FC1
S2Q K1M K2M
K1M K2M
K2M K1M
F2F S3Q
U V W FC2
M
3
L2
K1M H1 K2M H2 H3
33
ELECTRICIAN
COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
I0.0 I0.1 I0.2 Q0.6 I0.7 I1.1 Q0.5 NAME TYPE OF ADDRESS COMMENT
DATA
F2F BOOL %I0.0 NC contact of thermal relay
I0.4
S1Q BOOL %I0.1 NC stop button
I0.0 I0.1 I0.6 Q0.5 I0.3 I0.5 Q0.6 FC1C BOOL %I0.5 Final year NC lower limit
34
ELECTRICIAN
CONTROL COMMANDS BY PROGRAMMABLE LOGIC CONTROLLERS I INDUSTRIAL
CHAPTER II: BIT TYPE INSTRUCTIONS
S7 1200–CPU 1214C–AC/DC/RLY - SIEMENS 2017 PLC I
220V L
60Hz N
L1 N L+ M 1M .0 .1 .2 .3 .4 .5 .6 .7 .0 .1 .2 .3 .4 .5 2M 0 1
24V
SIEMENS
SINAMICS S7 1200
CPU 1214C AC/DC/RLY
1L .0 .1 0.2 .3 .4 2L .5 .6 .7 .0 .1
220V N
60Hz L
35
Heracleo Cuba Soto
Lima, 17 de mayo de 1959
National University of Engineering (UNI) Lima - Peru
36