![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831201.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-84
Ver. 1
2) Program Example
(1) If present value is the same as set value with count up to P00030 contact, P00060
Output will be On.
(2) It will be counted Down due to P00031 contact’s Rising edge of the pulse.
(3) If Reset Condition is met, Output will be Off, and counter’s present value “0”.
(4) Increment and Decrement Counter is possible by F00099 (Always On status) of Counter Enabled signal.
[Ladder Program]
CTUD C0000 P00030 P00031 20
FOOO99
P00032
( )
C0000
C0000
( )
P00060
R
[Time Chart]
P00032
C0000
Setting
Value
P00030
P00060
P00031
[Example 8.11] Adjustment Control of the Number of Motor Operation [CTUD]
(1) Operation
For 4 motors to be controlled, press push button PB1 to increase operation motor number by 1, and press PB2
to decrease by 1. When 4 motors are operated, press PB1 to stop all the motors. When 1 motor is operated,
press PB2 to make no motor operate.
(2) System Diagram
.
.
1
2
3
.
.
P
r
o
g
r
a
m
M3
M2
M1
PB1
PB2
M4
0
.
0
1
2
3
.
.
.
Digital output
Module
Digital Input
Module
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...