beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 324

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-40

Program Example 2:

1. Robot arm control (by IST instruction):

a) Motion request: Separate the big ball and small ball and move them to different boxes. Configure the control

panel for the control.

b) Motions of the robot arm: descending, clipping ball, ascending, right shifting, releasing ball, ascending, left

shifting.

c) I/O

devices:

Y0

Y1

Y2

Y3

Left-limit X1

Upper-limit X4

Lower-limit X5

Right-limit X2

(big)

Right-limit X3

(small)

Big

Small

Ball size

sensor X0

2. Operation

modes:

Manual operation: Turn On/Off of the load by a single button.

Zero return: Press the zero return button to automatically zero-return the machine.

Auto operation:

a) Single step operation: Press “auto start” button for every one step forward.

b) One cycle operation: Press “auto start” button at the zero point. After a cycle of auto operation, the operation

will stops at the zero point. Press “auto stop” button in the middle of the operation to stop the operation and

press “auto start” to restart the operation. The operation will resume until it meets the zero point.

c) Continuous operation: Press “auto start” button at the zero point to resume the operation. Press “auto stop” to

operate until it meets the zero point.

3. The

control

panel:

X15

X16

X17

X20

X21

X22

X23

X24

X25

Step X12

One cycle
Operation X13

Continuous
Operation X14

Manual

Operation X10

Zero Return X11

Start Power

Stop Power

Start Zero Return

Auto Start

Auto Stop

Right

Shift

Left

Shift

Release

Ball

Clip

Ball

Descend

Ascend

a) Ball size sensor X0.

b) Robot arm: left limit X1, big ball right limit X2, small ball right limit X3, upper limit X4, lower limit X5.

c) Robot arm: ascending Y0, descending Y1, right shifting Y2, left shifting Y3, clipping Y4.

Start Circuit

M1000

IST

X10

S20

S80

X0

M1044

X1 Y4