xLadder user manual-V2.0.0.6

6.6.3 CTUD

Input/output

Operand

Data type

Constant(C0 — C255)

C xxx

word

CU, CD

Enable bit

Boolean

R

Enable bit

Boolean

PV

VW, IW, QW, MW, LW, SMW, AC, T, C, AIW,constant, *VD, *AC, *LD, SW Integer

CU bit gets a high level and the current value of the

counter plus 1.The bit of CD is converted from 0 to 1 and

the current value minus 1. When the current value is

greater than or equal to the preset value, the counter bit

opens.The maximum value of the counter is 32767, and

the minimum value is - 32768.When R gets a high level, the

counter is restored.

Counter range : C xxx=C0~C255

Attention: The counter number of each counter is different.

Example :

118

Made with FlippingBook - Online magazine maker