![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831116.webp)
Chapter 5 Programming Concepts
XBC E-Type Main Unit
5-22
Ver. 1
5.2.6 Counter processing
The counter counts the rising edges of pulses driving its input signal and counts once only when the input signal
is switched from off to on. XGB series have 4 counter instructions such as CTU, CTD, CTUD, and CTR. The
followings shows brief information for counter operation. Refer to the ‘XGB Instruction Manual’ for details.
•
Up counter increases the current value.
•
Down counter decreases the current value.
•
Up/Down counter compares the input value from both counters input.
•
Ring counter increase the current value and the current value is cleared as 0 when the current value
reaches the preset value.
1. Renewal of counter’s current value and contact On/Off
a. Up counter
i. Up counter increases the current value at the rising edges of input.
ii. The counter output contact (Cxxx) is turned On when the current value reaches
the preset value. When the reset input is tuned On, the counter output contact
(Cxxx) is turned Off.
b. Down counter
i. Down counter decreases the current value at the rising edges of input.
ii. The counter output contact (Cxxx) is turned On when the current value reaches
the preset value. When the reset input is turned On, the counter output contact
(Cxxx) is turned Off.
c. Up/Down counter
i. The current value is increased with the rising edge of up-count input signal and
decreased with the rising edge of down-count input signal. The counter output
contact (Cxxx) is turned On when the current value is same as or more than
current value. The counter output contact (Cxxx) is turned Off when the current
value is same as or less than current value.
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...