0% found this document useful (0 votes)
1K views9 pages

Delta PLC Application Exercises - Ladder Diagram

PLC Applications, practical exercises

Uploaded by

Jari Abbas
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)
1K views9 pages

Delta PLC Application Exercises - Ladder Diagram

PLC Applications, practical exercises

Uploaded by

Jari Abbas
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

PLC Application

Exercises
These exercises are extracted from DVP-PLC Manual
2. Counter Design Examples

2.1 Product Mass Packaging

X0

Y0

X1

Control Purpose:

Once the photoelectric sensor detects 10 products, the robotic arm will begin to pack up.
When the action is completed, the robotic arm and the counter will be reset.

Devices:

Device Function

X0 Photoelectric sensor for counting products. X0 = ON when products are detected.


X1 Robotic arm action completed sensor. X1 = ON when packing is completed.
C0 Counter: 16-bit counting up (general purpose)
Y0 Robotic arm for packing

Control Program:

DVP-PLC Application Examples 2-1


2. Counter Design Examples

Program Description:

Once the photoelectric sensor detects a product, X0 will go from OFF to ON once, and C0
will count for one time.
When the present value in C0 reaches 10, the Normally Open contact C0 will be closed. Y0
= ON, and the robotic arm will begin to pack.
When the packing is completed, the robotic arm action completed sensor will be enabled. X1
will go from OFF to ON and RST instruction will be executed. Y0 and C0 will be reset for the
next packing task.

2-2 DVP-PLC Application Examples


2. Counter Design Examples

2.2 Daily Production Record (16-bit Counting Up Latched Counter)

X1

Clear Daily Q uantity C ompletion


X0 456

Control Purpose:

The production line may be powered off accidentally or turned off for noon break. The
program is to control the counter to retain the counted number and resume counting after
the power is ON again.
When the daily production reaches 500, the target completed indicator will be ON to remind
the operator for keeping a record.
Press the Clear button to clear the history records. The counter will start counting from 0
again.

Devices:

Device Function

X0 Photoelectric sensor. Once detecting the products, X0 will be ON.


X1 Clear button
C120 Counter: 16-bit counting up (latched)
Y0 Target completed indicator

DVP-PLC Application Examples 2-3


2. Counter Design Examples

Control Program:

Program Description:

The latching counter is demanded for the situation of retaining data when power-off.
When a product is completed, C120 will count for one time. When the number reaches 500,
target completed indicator Y0 will be ON.
For different series of DVP-PLC, the setup range of 16-bit latching counter is different. C112
~ C127 for ES/EX/SS series, C96 ~ C199 for SA/SX/SC series and C100 ~ C199 for EH
series.

2-4 DVP-PLC Application Examples


2. Counter Design Examples

2.3 Products Amount Calculation (32-bit Counting Up/Down Counter)

Entry Exit

Control Purpose:

This program is used for monitoring the product amount in the warehouse by photoelectric
sensors at both entry and exit. When the amount reaches 40,000, the alarm will be enabled.

Devices:

Device Function
Photoelectric sensors for monitoring incoming goods. X0 = ON when incoming
X0
detected.
Photoelectric sensors for monitoring outgoing goods. X1 = ON when outgoing
X1
detected.
M1216 Counting mode of C216(ON: counting down)
C216 32-bit counting up/down counter
Y0 Alarm

DVP-PLC Application Examples 2-5


2. Counter Design Examples

Control Program:

Program Description:

The key of this example is using the 32-bit addition/subtraction flag M1216 to control the
counting up/ down of C216. When X0 goes from OFF to ON, M1216 = OFF, and C216 will
count up; when X1 goes from OFF to ON, M1216 = ON, C216 will count down.
When the present value of C216 reaches 40,000, C216 = ON, and the alarm Y0 will be
enabled.

2-6 DVP-PLC Application Examples


2. Counter Design Examples

2.4 24-hour Clock Operated by 3 Counters

Hour Minute Second

Control Purpose:

Using 3 counters together with the flag of M1013 (1s clock pulse) to operate a 24-hour clock.
Devices:
Device Function

C0 count per second


C1 count per minute
C2 count per hour
M1013 1s clock pulse

Control Program:

DVP-PLC Application Examples 2-7


2. Counter Design Examples

Program Description:

The key of operating a 24-hour clock is to use M1013 (1s clock pulse). When the program is
executed, C0 will count once per second. When the counted number reaches 60(1 minute),
C0 = ON. C1 will count once, and C0 will be reset at the same time; similarly, when the
counted number in C1 reaches 60(1 hour), C1 = ON. C2 will count once, and C1 will be
reset at the same time. Furthermore, when the present value in C2 reaches 24, C2 will be
reset, and the 24-hour counting process will start again.

The 24-hour clock operates by using C0 to count “second”, C1 to count “minute” and C2 to
count “hour.” In this clock, the value of “second”, “minute” and “hour” can be read by C0, C1
and C2 correspondingly. When the set value of C2 is 12, the clock will be a 12-hour clock.

2-8 DVP-PLC Application Examples

You might also like