0% found this document useful (0 votes)
12 views9 pages

Exercises PLC

The document contains exercises involving logic operations and PLC programming concepts. The exercises cover topics like simplifying logic expressions, identifying logic functions, representing logic operations in ladder logic and statement list, emulating logic functions, and programming counters and sequencers.

Uploaded by

Sindy Condo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views9 pages

Exercises PLC

The document contains exercises involving logic operations and PLC programming concepts. The exercises cover topics like simplifying logic expressions, identifying logic functions, representing logic operations in ladder logic and statement list, emulating logic functions, and programming counters and sequencers.

Uploaded by

Sindy Condo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Exercise No. 7.

1 :

The logic below is given:

& >=1
A A C
=
B
Please analyse it and simplify it !

Exercise No. 7.2 :

Which function is fulfilled by the logic below ?

& >=1
B A C
=
C

Exercise No. 7.3 :

a) What does the representation of


- the conjunction (AND function) of the inputs I0.0, NOT
I0.1 and I0.2

and

- the assignment of the result of the logic operation RLO


to the output Q0.0

in the form of a statement list (STL) of a PLC look like?

b) What does the representation of

- the disjunction (OR function) of the inputs I1.0, I1.1,


NOT I1.2

and

- the assignment of the RLO to the output Q0.1 and to the


Memory bit M 9.1

in the form of a statement list (STL) of a PLC look like?


Exercise No. 7.4 :

The contactor circuit below is given:

L1

S1

S2 K1 S3 K2

K1 K1

K2

K1 H1 K2 H2

Power Supply
+ 24 V
-
K1
S1 I 1.0 Q 3.0
I O
S2 H1
I 1.1 n u Q 2.0
p t K2
S3 I 1.2 u P p Q 3.1
t L u H2
s t Q 2.1
C
s

Please find the PLC internal circuit in Function Block Diagram (FBD)
which is equivalent to the contactor circuit !
Exercise No. 7.5 :

Please create the LAD representation of a two staged boolean operation


which complies with the following description:

The result of the OR operation with the inputs I 25.7 and I 26.0
is to be linked into an AND operation with the inputs I 10.6 und
I 10.7. The result is to be assigned to the output Q 8.0.

Exercise No. 7.6 :

How is the antivalence operation (XOR) to be emulated, if it is not


contained in the basic operation pool of a certain PLC?

a) STL

b) LAD

c) FBD
Exercise No. 7.7 :

The statement list below is given in STL:

A I0.0
AN M5.0
S M5.0
AN I0.0
R M5.0

Was happens here ? Can this be done simpler ?


Exercise No. 7.8 :

Pulse switch

Problem: Substitution of a contactor circuit by a PLC

L1

S1
K3

K2 K1 K2

K3 K1 K3 K2 K1 K3

K1 K2 K3 H0

List of Variables
Symbol absolute Comment
S1 I 1.0 Momentary-contact switch
H0 Q 2.2 Lamp
K1 M 0.0 Memory bit
K2 M0.1 Memory bit
K3 M0.2 Memory bit

Functional description: If the pushbutton S1 is pressed, the contactor


K1 is switched on as long as the pushbutton is pressed. At the same
time the contactor K3 is switched on and holds itself and the lamp H0
is on. If the pushbutton S1 is pressed again, contactor K2 is switched
on. Thereby contactor K3 drops and the lamp is off. The procedure can
be repeated arbitrarily.

Please create:

a) the Hardware configuration

b) the LAD

The pushbutton is wired to the input I 1.0. Contactors are to be


emulated by memory bits. The output Q 2.2 is directly connected to the
lamp.
Exercise 7.9 :

For the control function displayed in a timing diagram the STL is to


be generated.

a)
I1

I2

Q1

b)
I1

I2

Q1

Exercise 7.10 : Contactors locked back to back without direct


switching over

A function diagram of a motor control circuit is given:


L1

E1 E3 E2

1 1

& &

A11 A12

a) Please specify the hardware configuration when using a PLC !

b) Please develop the statement list (STL)!


Exercise No. 7.11 :

The function ‘Back to back locking without direct switching over’


known from exercise No. 7.10 is to be implemented by means of R/S-
Flipflops.

Problem: FBD in PLC representation, LAD


Exercise No. 7.12 :

Please give a sequence of statements for a so called momentary pulse


in STL ?

(A momentary pulse is the logic "1"-state of a boolean variable for


exactly one program cycle as a reaction to the rising edge of another
boolean variable)
Exercise No. 7.13 :

The feed track in the parts delivery system should always contain
enough parts to make sure that the picking and placing process can
operate continuously without waiting for parts. When the upper level
switch sees a part for longer than 1 second the motor of the hopper
feeder should be switched off. It should be switched on if the lower
level sensor sees no part for longer than one second.

A lamp indicates a failure state. This failure state is set in case of


a congestion. It is reset by a pushbutton. The motor may not be on in
case of a failure.

Wanted: Logic in FBD


Exercise No. 7.14 :

- intentionally left blank -


Exercise No. 7.15 :

How can you program in the STL language a limitation of a integer


variable to a upper limit ULIMIT and a lower limit LLIMIT?

The input variable is the data word DW0, the output variable is DW1.

Statements to use: L, T, JMP, JMPC, GT, LT

Exercise No. 7.16 : Multiplexer

According to the value of a boolean variable SWITCH either the one


(REF1) or the other reference value (REF2) for a control loop shall be
active.

Please specify a selection logic in STL !

Timer function

Exercise No. 7.17 :

An error indication shall be output at Q 0.0, if the value of a word


variable MW200 exceeds a limit value LIMIT for a predefined time t.
The error indication shall be stored in M 20.0. The Flipflop can be
reset by the acknowledgement input I 5.3.

How does the FBD representation of the logic look like?


Counters
Exercise No. 7.18 : Person counter

A Up-/Down-Counter is to be programmed. The persons in a room are to


be counted. For this purpose the entrance to the room is equipped with
two light barriers which are installed in a way that during the
passage through the entrance first one and then both light barriers
are interrupted. From that arrangement the counting signal is derived.
The sketch shows the counting direction.

Th e
light barriers provide a “1" signal, if the beam is interrupted. The
turnstile at the entrance is blocked if the room is occupied.

For resetting the counter a pushbutton S3 is to be used. H6 is for


room lighting. It is only on if there is someone in the room. K1
serves for the turnstile control. The maximum number of persons in the
room is 10.

From the timing sequence of the interruption of the beams of light we


can find out the counting direction. If light barrier A is interrupted
first, then the counting direction is upward. In case of counting
direction “downward” the light barrier B is interrupted first.

Preconditio n f o r
counting is, that at least one light barrier (in our example the light
barrier A) is interrupted. If now the state of signal B changes from
“0" to “1" we count upward. If B changes from “1" to “0" we count
downward. If only one light barrier is interrupted, counting is
prohibited.

Here the preconditi


on for counting is not fulfilled (Signal state “1" for A and edge for
light barrier B).
Exercise No. 7.19 :

Static sequence processor

Static sequence processors are systems which switch over output


signals from one output to the other or switch on new outputs
depending on input pulses.
A sequence processor, built up with R/S-Flipflops, is to be developed.
A rising edge, generated e.g. by a limit switch, given to the clock
input I 0.1 switches the output Q 10.0 on. When the logic state of the
input I 0.1 changes from "1"- to "0"-Signal afterwards, the outputs Q
10.0 and Q 10.1 have "1"-Signal etc.

The input I 0.2 resets the sequence processor.

Power Supply
+ 24 V
-

I 0.1 Q10.0
I O
I 0.2 n u Q10.1
p t
u S p Q10.2
t P u
s S t etc.
s

.....
Problem: Creation of the program in FBD
Sequence Control

Exercise No. 7.20 :

With one pushbutton (Input I 0.0) a device shall be switched on and


off (Memory bit M10.0).

Please develop a sequencer program in FBD (Assumption: One step is


active at the beginning).
Exercise No. 7.21 :

Please draw the timing diagrams for the command types mentioned in the
chapter "Action block" of the lesson.

Exercise 7.22 :

Please develop the raw structure of a sequential control for a traffic


light for pedestrians. The traffic light is exclusively controlled by
time (not any buttons).

You might also like