
Chapter 4. Basic instructions
4-5
The motor operation (Example of LOAD, AND, OR, OUT instructions)
1. Operation
There are three push- button switches - PB0, PB1, and PB2. When PB1 is pushed, a motor will start to
rotate with a forward (clockwise) direction. It will start to rotate with a reverse (counterclockwise) direction
when the PB2 is pushed. The PB0 is emergency stop switch and the motor will stop operation when the
PB0 is pushed.
2. System structure
3. Program
0
1
2
3
0
1
2
3
<
Stop
>
PB0
<
Forward
>
PB1
Digital input
module
[ P03 ]
Digital output
module
[ P06 ]
<
Reverse
>
PB2
Mag. S/W
Mag. S/W
M
Forward rotation
Reverse rotation
Motor
(
P060
)
P031
P060
(
P061
)
P032
P061
P030
P032
P061
P030
P031
P060
[
END
]
0000
0006
0011
·
Forward operation, Set an interlock
with reverse operation (P032, P061)
P032
P061
·
Reverse operation. Set an interlock
with forward operation (P031, P062)
P031
P060
[ Self -locking circuit ]
Once the P031 is switched on, the
P060 will be turned on and it will
keep itself as the on state until the
P030 is switched on.
Remark
P031
(
P060
)
P060
P030
0000