![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831194.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-77
Ver. 1
6.18 Counter Instruction
6.18.1 Characteristics of Counter
1) Basic Characteristics
(1) Counter increases/decreases present value whenever rising edge of pulse is input. If setting value is reached,
it makes Output On.
(2) Counter has 4 instructions based on counter functions.
Instruction
Designations
Operation characteristics
CTD
Down Counter
If counter decreases from setting value by 1 and reaches 0
whenever pulse is input, Output is On
CTU
Up Counter
If counter increases setting value by 1 and exceeds setting value
whenever pulse is input, Output is On
CTUD
Up-Down
Counter
If pulse is input in Up terminal, counter increases by 1. If present
value reaches setting value, Output is On. And if pulse is again input,
present value is On
CTR
Ring Counter
If counter increases setting value by 1 and reaches setting value
whenever pulse is input, Output is On. And if pulse is again input,
present value is On
Up to 256 Counters for XGB can be used regardless of its type. Set value range available is 0~65,535.
Repeated use of the same counter number is impossible. If the same counter number is used repeatedly,
regardless of index used, it will be processed as repeated use, which makes Program Download
unavailable.
C0001 D00010
[Z000] [Z003]
M00020
CT
U
CTD C0001 1000
M0002
1
If the same C0001 is used regardless of index
used, it will be processed as repeated use,
which makes program download unavailable.
0
4
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...