Class Bds40


  • public class Bds40
    extends Bds
    56-bit MB Field is structured in the following format
    
     LSB |1-------|2----------|14------|15---------|27------|28---------|40--------|48------|49----|50---|51---|52--------|54------|55------|
         | STATUS |  MCP ALT  | STATUS |  FMS ALT  | STATUS |    BARO   | RESERVED | STATUS | VNAV | ALT | APP | RESERVED | STATUS | SOURCE |
     MSB |-------1|---------13|------14|---------26|------27|---------39|--------47|------48|----49|---50|---51|--------53|------54|------56|
     
    Status flags
    • MCP/FCU Status - (bit 1) indicates if MCP/FCU Selected altitude is available
    • FMS Status - (bit 14) indicates if FMS Selected altitude is available
    • Baro Status - (bit 27) indicates if barometric pressure setting is valid
    • MCP/FCU Mode Status - (bit 48) indicates if MCP/FCU mode bits are available
    • Target source altitude - (bit 54) indicates if the selected altitude source is available. This is not the same as the information stored in bit 1 see information below on MCP/FCU Altitude

    MCP/FCU Selected altitude

    This information which represents the real “aircraft intent,” when available, represented by the altitude control panel selected altitude, the flight management system selected altitude, or the current aircraft altitude according to the aircraft’s mode of flight (the intent may not be available at all when the pilot is flying the aircraft).

    Source is determined using Target Altitude Source (bit 55-56) and is only available if status bit (bit 54) is set to 1. See SelectedAltitudeSource for more details

    Note: LSB (1 bit) = 16feet with a range 0 - 65520 feet, this class considers altitudes above 50000ft as invalid / error.

    FMS Selected altitude

    This field when available indicates the FMS selected altitude. This field could differ when selects a different altitude on the MCP/FCU panel

    Example: FMS has VNAV altitude set at 32000ft, the aircraft is at 26000ft and instructed to climb to 30000ft. At this moment the pilot selects 30000ft on the MCP/FCU which is transmitted in the MCP/FCU field. The FMS selected altitude field is transmitting 32000ft, the Target Altitude Source flag is set to MCP.

    Note: LSB (1 bit) = 16feet with a range 0 - 65520 feet, this class considers altitudes above 50000ft as invalid / error.

    Barometric Pressure Setting

    When status flag (bit 27) is set to false indicates the information is valid and van be used

    Note: LSB (1 bit) = 0.1mb with a range 0 - 410mb. You need to add 800mb to receive the real baro steting

    MCP/FCU Mode bits

    Only available if Status (bit 48) is set.

    • VNAV Mode (bit 49) - Indicates if VNAV navigation is engaged
    • ALT Hold Mode (bit 50) - Indicates if altitude hold is enabled
    • APP Mode (bit 51) - Indicates if Apprach mode is selected
    • Constructor Detail

      • Bds40

        public Bds40​(short[] data)
    • Method Detail

      • apply

        public void apply​(Track track)
        Specified by:
        apply in class Bds
      • reset

        protected void reset()
        Specified by:
        reset in class Bds
      • isStatusMcp

        public boolean isStatusMcp()
      • isStatusFms

        public boolean isStatusFms()
      • isStatusBaro

        public boolean isStatusBaro()
      • isStatusMcpMode

        public boolean isStatusMcpMode()
      • isStatusTargetSource

        public boolean isStatusTargetSource()
      • getSelectedAltitude

        public int getSelectedAltitude()
      • getFmsAltitude

        public int getFmsAltitude()
      • getBaro

        public double getBaro()
      • isAutopilotVnav

        public boolean isAutopilotVnav()
      • isAutopilotAltitudeHold

        public boolean isAutopilotAltitudeHold()
      • isAutopilotApproach

        public boolean isAutopilotApproach()