This example demonstrates how to use a Activity Program to manage the process of starting and stopping an engine. An Engine State variable keeps track of what state the engine is and is used by the activity diagram to decide what the next operation needs to be. The Engine State is moved from one to another by button presses and engine RPM, The Activity Program executes every 250mSec off of a repeating timer.
Since the engine state is designed to run in sequential order to prevent button presses from skipping steps, instead of directly firing an activity, they set a variable that then gets processed in due order.
To operate this example follow the on-screen instructions.
Download the example created for a PV780B in 2.9.23044.
Comments
0 comments
Please sign in to leave a comment.