Anda di halaman 1dari 2

Top

Contact Us

Back

VOL. 18

Selection of operation mode

Example

Selecting fully-automatic or individual operation mode

Outline

ce
pie
gw
or k
ctin

FullyIndividual
automatic

Eje

gw
or k
ctin
Eje

Processing
machine 2

Processing
machine 1

pie
ce
Co
nfir
wo
rkp ming
iec
es
etti
ng
Pro
ces
sin
g3

pie
ce
Co
nfir
wo
m
rkp ing
iec
es
etti
ng
Pro
ces
sin
g2

gw
or k
ctin
Eje

Co
n
wo firmin
r kp
iec g
es
etti
ng
Pro
ces
sin
g1

On a production line with multiple processing machines, the fully-automatic or individual operation mode is selected. (fully-automatic operation mode allows workpieces to be transferred sequentially to each machine, while
individual operation mode allows each machine to be operated by pressing a pushbutton.)

Processing
machine 3

Selector switch
0000

Pushbutton for
individual operation

0007

0008

0009

Programming Technique
Points are as follows:
1. Sequential processing is controlled.
2. Because one process is controlled using two inputs (fully-automatic and individual), a double-input coil is applied.

The STG instruction and JMP instruction are optimal for controlling the process shown
above.
For the STG instruction, one coil can be used as the output for 2 relays as shown below.
1000
STG

0001

1001

0500

1001
STG

0002

1000

0500

By programming internal relays 1000 and 1001 not to turn ON simultaneously, the ON/OFF of 0500 can be controlled using the STG instruction for internal relays 1000 and 1001.

Top

Back

Contact Us

VOL. 18 Selection of operation mode


Programming Example
2008

0000

1000
SET

0000

1100
SET

0001
0002
0003

1000
STG

0001

0500

0002

0501

0004

0502

0006

When power is turned ON, STG 1000 (fully-automatic operation


mode) is selected when the input for the selector switch turns ON.
At this time, STG 1100 (individual operation mode) is selected
when the input for the selector switch turns OFF.
Fully-automatic operation mode
Control of processing machine 1:
After confirmation of workpiece setting, processing, and
confirmation of workpiece ejection are completed, execution is
transferred to STG 1001 (processing machine 2).

1001
JMP

1201
0004
0005

ENDS
1001
STG

0003

The STG instruction for the fully-automatic operation mode is


canceled.
Control of processing machine 2:
After confirmation of workpiece setting, processing, and
confirmation of workpiece ejection are completed, execution is
transferred to STG 1002 (processing machine 3).

1002
JMP

1201
0006
0007

ENDS
1002
STG

0005

1000
JMP

The STG instruction for the fully-automatic operation mode is


canceled.
Control of processing machine 3:
After confirmation of workpiece setting, processing, and
confirmation of workpiece ejection are completed, execution is
transferred to STG 1000 (processing machine 1).

1201
0008
0009

ENDS
1100
STG

0007

0001

0500

0008

0003

0501

0009

0005

0502

The STG instruction for the fully-automatic operation mode is


canceled.

0010
0011
1200
0012
0000
0013
C000
0014

0000:
0001:
0002:
0003:
0004:
0005:
0006:
0007:
0008:
0009:
0500:
0501:
0502:

Tips

1200
DIFU
1201
DIFU

ENDS
1000
SET
1100
SET

1200
1201

Description of terminals
Mode selector switch
Confirming workpiece setting (processing machine 1)
Confirming workpiece ejection (processing machine 1)
Confirming workpiece setting (processing machine 2)
Confirming workpiece ejection (processing machine 2)
Confirming workpiece setting (processing machine 3)
Confirming workpiece ejection (processing machine 3)
Pushbutton switch for individual operation (processing machine 1)
Pushbutton switch for individual operation (processing machine 2)
Pushbutton switch for individual operation (processing machine 3)
Processing output (processing machine 1)
Processing output (processing machine 2)
Processing output (processing machine 3)

Individual operation mode


Control of processing machine 1: After workpiece setting is
confirmed, each workpiece is processed by pressing the
pushbutton switch.
Control of processing machine 2: After workpiece setting is
confirmed, each workpiece is processed by pressing the
pushbutton switch.
Control of processing machine 3: After workpiece setting is
confirmed, each workpiece is processed by pressing the
pushbutton switch.
The STG instruction for the individual operation mode is
canceled.
The STG instruction for the individual operation mode is
canceled, and the fully-automatic operation mode is selected.
The STG instruction for the fully-automatic operation mode is
canceled and the individual operation mode is selected.

To repeat a cycle of fully-automatic operation several times, add the following step to the
above program as the 11th line of the program.
Example
To repeat a cycle of fully-automatic operation 5 times:
C000

#00005 C000
C000
0006

ENDS

The number of times that input 0006 turns on, indicating the completion of one cycle operation (completion of machine 3 process), is counted. When the count value reaches the
preset value, the entire process operation is terminated. (To restart operation, turn ON input
0000 again.)

Anda mungkin juga menyukai