xLadder user manual-V2.0.0.6

6.6 Counter

6.6.1 CTU

Input/output Operand

Data type

Constant(C0 — C255)

C xxx

Word

CU

Enable bit Enable bit

Boolean Boolean

R

PV

VW, IW, QW, MW, SMW, LW, AIW, AC, T, C,constant, *VD, *AC, *LD, SW Integer CU bit gets a high level and the current value of the

counter plus 1.When the current value is greater than or

equal to the preset value, the counter bit opens.When R

gets a high level, the counter is restored.The maximum

value of the counter is 32767.

Counter range : C xxx=C0 ~ C255

The counter number of each counter is different.

Example:

116

Made with FlippingBook - Online magazine maker