<< ld_limited_integrator4 basic_ldblocks ld_lin_awup_controller >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_limitedcounter

ld_limitedcounter

A resetable, limited counter block

Calling Sequence

[sim, out] = ld_limitedcounter(sim, events, count, reset, resetto, initial, lower_b, upper_b)

Description

count * - signal

reset * - signal

resetto * - signal

initial - constant

out * - output

increases out by count (out = out + count), but count is always between lower_b and upper_b

if reset &gt; 0.5 then

out = resetto

initially out is set to initial


Report an issue
<< ld_limited_integrator4 basic_ldblocks ld_lin_awup_controller >>