Method of programming and executing object-oriented state machine logic in a controller
First Claim
1. A method of programming a controller for execution of a state machine logic program, the method comprising:
- entering data for a state machine logic program based upon a state diagram into a programming terminal, the diagram representing a plurality of current output states, a present state of a plurality of inputs, and at least one next output state, said programming terminal displaying said data on a screen for observation by a human operator;
translating the data into at least one data structure for execution as part of a state machine logic program in the controller, the data structure including at least one state table;
transferring the data structure from the programming terminal to the controller, the data structure including at least one of a state mask table and an event guard mask table;
loading the data structure into an object in an object-oriented program in the controller; and
executing an object-oriented execution routine in the controller, the controller operating on the data to execute the state machine logic program.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is disclosed for programming and executing a state machine control program represented as a diagram in an HVAC controller. The diagram is converted to tabular data which is entered into one or more spreadsheet pages. The tabular data includes the defined output states, the defined input states and defined transition states, whereby a given output state and a given set of inputs will cause transition to a next output state. The tabular data is translated, through execution of a routine in a macro-instruction language, into a plurality of data structures for downloading into a finite state machine object data structure in the controller, where it will be acted upon by an object-oriented execution module, referred to as a class execute method, which is also present in the controller.
128 Citations
11 Claims
-
1. A method of programming a controller for execution of a state machine logic program, the method comprising:
-
entering data for a state machine logic program based upon a state diagram into a programming terminal, the diagram representing a plurality of current output states, a present state of a plurality of inputs, and at least one next output state, said programming terminal displaying said data on a screen for observation by a human operator;
translating the data into at least one data structure for execution as part of a state machine logic program in the controller, the data structure including at least one state table;
transferring the data structure from the programming terminal to the controller, the data structure including at least one of a state mask table and an event guard mask table;
loading the data structure into an object in an object-oriented program in the controller; and
executing an object-oriented execution routine in the controller, the controller operating on the data to execute the state machine logic program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of programming a VAV controller for execution of a state machine logic program related to HVAC control, the method comprising:
-
entering data for a state machine logic program based upon a state diagram into a programming terminal, the diagram representing a plurality of current output states, a present state of a plurality of inputs, and at least one next output state, said programming terminal displaying said data on a screen for observation by a human operator;
translating the data into at least one data structure for execution as part of a state machine logic program in the controller, the data structure including at least one state table;
transferring the data structure from the programming terminal to the controller, the data structure including an event guard mask table;
loading the data structure into an object in an object-oriented program in the controller; and
executing an object-oriented execution routine in the controller, the controller operating on the data to execute the state machine logic program. - View Dependent Claims (10, 11)
-
Specification