next up previous
Next: The trigger Token Up: The Available Tokens Previous: The spin Token


The toggle Token

The toggle token is a graphical entity that simulates a latching contact switch. For example, this button can be used to enable a subfunction of a control algorithm.

When activated (button appears pressed down) the value taken by this entity is ``1''. When clicked again, this entity takes the value of ``0'', while graphically the button appears to be out.

The basic usage of this token is as follows:

toggle 'label', state, ID

where the arguments are defined as follow:



Michael Barabanov 2001-06-19