EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Page 158

LS Industrial Systems XBC-DR10E
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-41 Ve r. 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/WMag. 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
END12
*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

Table of Contents

Related product manuals