Counter, up (ctu), C.2.4 counter, up (ctu) – Nematron Pointe Controller User Manual

Page 355

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

353

The Elapsed Time output (ET) shows the time passed since IN became on; in other
words, it shows the current value of the Timer itself. When the Timer reaches PT,
ET remains equal to PT until it is reset. When the Timer is reset to 0, ET is reset to
0.

Configuration Reference

The parameters of this block are described in the following table:

Param

Name

Config

Var Type

Description

IN

Input
State

no

-

The state of the rung (off/on)
received from the left.

Q

Output
State

no

-

The state of the rung (off/on)
passed to the right.

TIMER

Timer

req

Timer

The Timer variable on which the
function is based.

PT

Preset
Time

opt

%IUD

%QUD

%MUD

Numeric

The length of the delay, in msecs. If
no Preset Time is defined, then the
preset value of Timer variable is
used.

ET

Elapsed
Time

opt

%QUD

%MUD

The time elapsed since the Input
State became on, in msecs. In most
instances, the Elapsed Time equals
the current value of the Timer
variable.

C.2.4 Counter, Up (CTU)

When used in a Ladder Diagram, the CTU block increments a counter by 1. It also
sets a “done bit when the counter reaches a preset value.

Select the

tool (from the

Timers and Counters Blocks

toolbar) and click on a

ladder rung to insert the following block:

Once the block is inserted, you can double-click on it to

configure

it.

Advertising