Reset – Phonetics Sensaphone ISACC 5000 User Manual

Page 100

Advertising
background image

100

Sensaphone

®

ISACC Instruction Manual

RESET

Summary:

int reset(n);

int n;

Input number

Description:

The reset function resets the values automatically maintained by the system for an
input specified by n. If the input is analog, reset resets the max and min values. If the
input is a pulse counter, reset sets the pulse count to zero. If the input is a dry contact,
reset has no effect.

Return value:

The reset function always returns a zero.

Example:

If input 7 is a pulse counting input, this program will initiate an alarm 7 condition if
input 7 is greater than 100, and reset the counter to zero.

main()

{

if (input(7) > 100)

{

reset(7);

alarm(7);

}

}

Advertising
This manual is related to the following products: