boeing-777-shortcode-hue

WordPress Shortcode for FMA Annunciations, FMC Messages & the MCP (Aviation)

This post won’t interest anybody other than a select few individuals that post technical articles to a few aviation websites I’m involved with. However, the code is very generic and can easily be modified to suit your own specific needs.

The purpose of the shortcode is to emulate indications one would expect to see in glass cockpit Boeing aircraft. I wanted to replicate the general look of the indications or switches that are presented to the pilot. Most notably, I wanted to emulate the Flight Mode Annunciations (as displayed on the FMA), basic modes that one would select on the Mode Control Panel (MCP), and I wanted a basic means of formatting text to resemble FMC buttons or CDU text. Used in blog posts and technical articles, the visual representation is far more likely to reinforce a principle in the mind of the reader.

Flight Mode Annunciations (FMA)

The Flight Mode Annunicator, or FMA, is the aircraft’s way of communicating the current mode of autoflight or operation. The FMA indicates to the crew where the aircraft is obtaining thrust, lateral navigation and pitch information (or guidance) for flight.

For example, the FMA indication of SPD | LNAV | VNAV PATH indicates that the thrust mode controls speed (via an FMC value), the lateral navigation of the aircraft is determined by an active lateral track, and VNAV PATH indicates that vertical navigation is commanded by a vertical FMC profile. Of course, sometimes it’s necessary for authors to discuss one mode of operation in isolation of any other… in which case they could render that information as, for example, VNAV SPD.

The Flight Mode Annunciation (FMA) at the top of the Primary Flight Display (PFD)

The Shortcode

For the three FMA indications, the author would simply insert the following shortcode into the HMTL view of their post editor:

[fma thrust="SPD" roll="LNAV" pitch="VNAV PATH"]

If the author wanted to output only a single FMA indication, they would simply insert the following into their HTML post editor:

[fma pitch="VNAV SPD"]

If you wanted to represent an armed mode rather than the current active mode (such as FLARE – note text is white rather than green), you would do so by specifying the fontcolor in your shortcode.

[fma pitch="FLARE" fontcolor="#ffffff"]

The Mode Control Panel (MCP)

It’s often necessary to render MCP ‘switches’ in a post. Styling the text to look like the actual MCP switch leaves little doubt that the text relates directly to a switch in the aircraft. For example, when referring to the Level Change switch on the MCP, we could do so as LVL CHG.

The Boeing 777 Mode Control Panel (MCP)

Having multiple styling options ensures we don’t confuse, for example, an MCP LNAV switch with an LNAV FMA annunciation.

To style text with the feel of the MCP, the following shortcode should be used:

[mcp]LVL CHG[/mcp]

FMC Messages

I generally represent the FMC keyboard or CDU scratchpad by way of a simple grey style. For example, I could quickly style the FMC cruise button as  CRZ  or VNAV page as  VNAV .

To style text with the feel of a FMC key or CDU scrathpad text, the following shortcode should be used:

[fmc]VNAV[/fmc]

Formatting Options

Any of the parameters in the shortcode can be altered to change the look and feel of text. For example, the shortcode below would render  text like this .

[fmc bgcolor="#ffffc4" bordercolor="#999999"]text like this[/fmc]

By changing the default options in the shortcode, you can easily create your own default formatting.

Full Width FMA Annunciations

Sometimes it’s necessary to feature FMA indications the full width of your post. Rather than using a screenshot of an image, I’m using shortcode to emulate the FMA with armed modes in addition to active modes. Consider the following example (that you wouldn’t expect to see in the aircraft… it’s just an example).

SPD
 
|
LNAV
ROLLOUT
|
VNAV PATH
FLARE

If you’re one of the few that requires this kind of functionality in your post, get in touch with me.

The Code

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

FMA Shortcode

MCP Shortcode

FMC (CDU) Shortcode

Download the Code

Download the code here.

Shortt URL for this post:

2 comments

  1. Pingback: WordPress shortcode to emulate FMA annunications, FMC and scratchpad keys/buttons, and MCP switches

  2. Pingback: Boeing 737 Transition: Week 2, 3 and 4

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">