![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831158.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-41
Ver. 1
[Example 4-1] Forward/Reverse Operation of Motor [LOAD, AND, OR, OUT]
1) Operation
Press push button PB1 to rotate motor clockwise, or PB2 to rotate motor counterclockwise.
Rotation direction can be changed even if the motor is not stopped. Press push button PB0 to
stop the motor.
2) System Diagram
P
R
O
G
R
A
M
Mag. S/W
Mag. S/W
M
Motor
<Motor stop>
PB0
<Clockwise>
PB1
<Counterclockwise>
PB2
Clockwise
Counterclockwise
Digital Input Module
P00003
Digital Output Module
P00006
0
1
2
.
.
.
.
.
0
1
2
.
.
.
.
.
3) Program Example
[Ladder Program]
0
6
( )
P00060
P00031
P00060
P00030
P00032
P00061
( )
P00061
P00032
P00061
P00030
P00031
P00060
END
12
*1)
*2)
[Mnemonic Program]
Step Mnemonic Operand
0
LOAD
P00031
1
OR
P00060
2
AND NOT
P00030
3
AND NOT
P00032
4
AND NOT
P00061
5
OUT
P00060
6
LOAD
P00032
Step Mnemonic Operand
7
OR
P00061
8
AND NOT
P00030
9
AND NOT
P00031
10
AND NOT
P00060
11
OUT
P00061
12
END
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...