ArticleslgStudy

computer science

PLEXIL

PLEXIL is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand PLEXIL rather than just read about it. In short: PLEXIL (Plan Execution Interchange Language) is an open source technology for automation, created and currently in development by NASA. Overview PLEXIL is a programming language for representing plans for automation.

Key takeaways

  • PLEXIL belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect PLEXIL to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of PLEXIL from memory before moving on to harder problems.

Reference excerpt

PLEXIL (Plan Execution Interchange Language) is an open source technology for automation, created and currently in development by NASA.

Overview PLEXIL is a programming language for representing plans for automation. PLEXIL is used in automation technologies such as the NASA K10 rover, Mars Curiosity rover's percussion drill, Deep Space Habitat and Habitat Demonstration Unit, Edison Demonstration of Smallsat Networks, LADEE, Autonomy Operating System (AOS) and procedure automation for the International Space Station. The PLEXIL Executive is an execution engine that implements PLEXIL and can be interfaced (using a provided software framework) with external systems to be controlled and/or queried. PLEXIL has been used to demonstrate automation technologies targeted at future NASA space missions. The binaries and documentation are widely available as BSD licensed open source from GitHub.

Nodes The fundamental programming unit of PLEXIL is the Node. A node is a data structure formed of two primary components: a set of conditions that drive the execution of the node and another set which specifies what the node accomplishes after execution. A hierarchical composition of nodes is called a plan. A plan is a tree divided in nodes close to the root (high level nodes) and leaf nodes that represent primitive actions such as variable assignments or the sending of commands to the external system. Node Types: As of September 2008 NASA has implemented seven types of nodes.

List nodes: List nodes are the internal nodes in a plan. These nodes have child nodes that can be of any type. Command nodes: These nodes issue commands that drive the system. Assignment nodes: Performs a local operation and assigns a value to a variable. Function call nodes: Accesses external functions that perform computations, but do not alter the state of the system. Update nodes: Provides information to the planning and decision support interface. Library call nodes: These nodes invoke nodes in an external library. Empty nodes: Nodes that contain attributes and do not perform any actions. Node states: Each node can be in only one state. They are:

Inactive Waiting Executing Finishing Iteration_Ended Failing Finished Nodes transitions:

SkipCondition T : The skip condition changes from unknown or false to true. StartCondition T : The start condition changes from unknown or false to true. InvariantCondition F/U : Invariant condition changes from true to false or unknown. EndCondition T : End condition changes to true. Ancestor_inv_condition F/U : The invariant condition of any ancestor changes to false or unknown. Ancestor_end_condition T : The end condition of any ancestor changes to true. All_children_waiting_or_finished T : This is true when all child nodes are either in node state waiting or finished. Command_abort_complete T : When the abort for a command action is completed. Function_abort_complete T : The abort of a function call is completed. Parent_waiting T : The (single) parent of the node transitions to node state waiting. Parent_executing T : The (single) parent of the node transitions to node state executing. RepeatCondition T/F : the repeat condition changes from unknown to either true or false.

See also List of robotics software

References

External links PLEXIL at NASA PLEXIL Manual PLEXIL at GitHub

See also Spacecraft command language Cybernetics Space exploration

Worked examples

Example 1 — a first encounter with PLEXIL

Start with the simplest possible case. Write down what PLEXIL claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to PLEXIL before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about PLEXIL ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of PLEXIL

In research
PLEXIL appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses PLEXIL in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
PLEXIL is common in secondary-school and first-year university syllabi. It links to neighbouring topics Domain-specific programming languages, Robotics software, so understanding it makes those chapters shorter.
In everyday life
Look for PLEXIL outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “PLEXIL” →

How to study PLEXIL in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what PLEXIL means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain PLEXIL out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is PLEXIL in simple terms?

PLEXIL (Plan Execution Interchange Language) is an open source technology for automation, created and currently in development by NASA. Overview PLEXIL is a programming language for representing plans for automation.

Why does PLEXIL matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study PLEXIL?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on PLEXIL.

Tags

  • Domain-specific programming languages
  • Robotics software

Keep exploring