How to add ECAM warnings for an aircraft

  • I’d like to try adding some ECAM alert messages to the A380, but I don't have much experience. I tried modeling them after the A350's, but it didn't work. Is there anyone knowledgeable in this area who could help?

    Additionally, can we port the display screen visuals from one aircraft to another?🤔

  • The ECAM alerts are triggered in the physics section of the aircraft TMD file and need to match up with the abnormal procedures in the checklist.tmd file to be displayed on the ECAM screen.

    The visuals are pretty much the same exact system on the A380 and A350 already. But the contents are defined as described above.

    Regards,
    Jan

  • I’d like to try adding some ECAM alert messages to the A380, but I don't have much experience. I tried modeling them after the A350's, but it didn't work. Is there anyone knowledgeable in this area who could help?

    Additionally, can we port the display screen visuals from one aircraft to another?🤔

    I added all the real world Memos and ECAM normal and abnormal messages to the A350 took me weeks... Can send it to you, you should be able to adapt to the A380 quite easily.

    Memos are handled inside the system.tmd, abnormal and clickable ECAM messages live in the checklist file.

    You also have to register the ECAM stuff in two separate places

    I'll be home in a few hours

    Btw, since the A380 is quite similar to the A350, am happy to share any of the tedious stuff I've worked on, saves you the hassle

  • Here's a basic guide taken from notes and my checklist/system files. But as mentioned, I've done all the hard work, so I could just give you the A350 to convert to the A380. The remaining tricky part would be hooking up to each system. As mentioned, it took ages, and was mind-numbing since I had to reference the FCOM and QRH to check for mistakes. AI is great for referencing the FCOM/FCTM, so you don't have to keep flicking through each section to confirm your system logic is correct.


    Here’s a quick example of how I’ve been adding ECAM messages and checklists to the Aerofly A350.

    This is deliberately kept simple. The actual aircraft files can get quite complicated once you start adding flight phases, delays, multiple conditions etc., but this shows the basic structure.

    Important: make a backup first, and keep the original first line of the TMD/TMC file intact.

    1. Adding a simple ECAM memo

    For this example we'll make a memo called:

    TEST SYSTEM ON

    First you need something in system.tmd that decides when the memo should appear.

    For testing you can just use a constant:

    Code
    <[constant][MyTestMemoActive][]
        <[string8][Input][1.0]>
    >

    1.0 means ON. Change it to 0.0 and the memo disappears.

    Now add the actual FWC memo:

    Code
    <[flight_warning_computer_a380_memo][MyTestMemo][]
        <[string8][Text][TEST SYSTEM ON]>
        <[string8][Input][MyTestMemoActive.Output]>
    >

    You then add the matching memo to the PrimaryMemoChecklists section of checklist.tmc:

    Code
    <[tmchecklist_memo][MyTestMemo][]
        <[string8][InputID][MyTestMemoActive.Output]>
        <[string8][Text][TEST SYSTEM ON]>
    >

    That's basically the minimum needed.

    Obviously in a proper mod you wouldn't normally leave the input permanently at 1.0. You would connect it to a switch, system condition, fault, hydraulic pressure, engine state etc.

    For example:

    Code
    <[logic_and][MyTestMemoActive][]
        <[string8][Inputs][
            SomeSwitch.Output
            SomeOtherCondition.Output
        ]>
    >

    Both conditions would then need to be true before the memo appears.


    2. Adding an ECAM abnormal/caution

    This one is slightly different because we're now creating an actual FWC message.

    Again, we'll use a simple test trigger:

    Code
    <[constant][MyTestFault][]
        <[string8][Input][1.0]>
    >

    Then create the ECAM caution:

    Code
    <[flight_warning_computer_a380_message][MyTestCaution][]
        <[int][Severity][2]>
        <[int][StyleIDHeader][4]>
        <[int][StyleIDDescription][2]>
        <[stringt8c][SystemPageName][wheel]>
        <[string8][Header][BRAKES]>
        <[string8][Description][TEST FAULT]>
        <[string8][Input][MyTestFault.Output]>
    >

    That would give you an ECAM along the lines of:

    BRAKES
    TEST FAULT

    Severity 2 is being used here as a caution.

    You can also tell it which SD page is associated with the fault. In this example I've used:

    Code
    <[stringt8c][SystemPageName][wheel]>

    Change that to the appropriate page for whatever system you're working on.

    Now go into the AbnormalChecklists section of checklist.tmc and add the procedure:

    The important bit here is:

    Code
    <[stringt8c][InputID][MyTestCaution.Output]>

    That connects the abnormal checklist to the FWC caution you made in system.tmd.

    When the caution activates, the procedure can then appear with it.

    The EnableSet controls which FWC flight phases the procedure is allowed to appear in.

    For a first test I normally allow all phases as above, prove that it works, then restrict the phases afterwards.


    3. Adding a normal checklist

    Normal checklists are easier because they don't necessarily need a fault or system trigger.

    Find:

    Code
    <[tmchecklist_collection][NormalChecklists][]

    and add something like:

    That gives you a straightforward manually operated normal checklist.

    You can go much further and make individual items sensed, so the aircraft automatically ticks them when a switch or system reaches the correct state, but I would get the basic checklist displaying first before adding that.

    A couple of things I've learnt while doing this

    Keep every object name unique. Duplicate object names are a very easy way of getting strange behaviour or stopping the aircraft loading altogether.

    Start with a really simple 1.0 / 0.0 test condition. Once you know the ECAM or checklist itself works, connect it to the real aircraft logic.

    Also don't try adding the fault logic, flight phase logic, delays, checklist, STATUS messages and ten other things all at once. Add one bit, load the aircraft, test it, then move on.

    The useful relationship to remember is basically:

    Code
    SYSTEM CONDITION
          |
          v
    system.tmd
    FWC MESSAGE
          |
          v
    checklist.tmc
    ABNORMAL PROCEDURE

    and for a simple memo:

    Code
    SYSTEM CONDITION
          |
          +----> system.tmd FWC memo
          |
          +----> checklist.tmc memo display

    Once you've got that working, you can replace the simple test constant with almost anything in the aircraft: hydraulic pressure, generator state, switch position, engine condition, brake temperature, fuel quantity etc.

    These examples are based on the current A350 file structure, so I'd recommend copying an existing nearby ECAM/checklist entry and modifying it rather than inserting code completely at random in the file.