A software state event machine for software based process control systems permits
state and events to be unified within a common set of data structures for one or
more tasks sharing common state numbers. This method reduces overall memory requirements
in systems with extensive states and events among multiple tasks.