Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PMDG 747-8 TCAS logic not correct

Featured Replies

Hello,

In the module for the PMDG 747-8 the TCAS-logic is not correct.

When selecting "TCAS MODE TA/RA" the switch goes all the way right to the "ALT"-position.

I have changed as follow (in bold and blue) and works fine, but maybe you can change it in a following release?

 

-- ## Ped TCAS ###############

-- $$ TCAS Selector

function PMDG_TCAS_show ()
    ipc.sleep(10)
    TcasVar = ipc.readLvar("switch_1296_74X")
    acftname = ipc.readSTR("3D00", 35)
    if string.find(acftname,"747-4",0,true) then

    if TcasVar == 0 then TcasTxt = "STBY"
    elseif TcasVar == 10 then TcasTxt = "ALT"
    elseif TcasVar == 20 then TcasTxt = "XPDR"
    elseif TcasVar == 30 then TcasTxt = "TA"
    elseif TcasVar == 40 then TcasTxt = "TARA"
    end

    elseif string.find(acftname,"747-8",0,true) then

    if TcasVar == 0 then TcasTxt = "STBY"
    elseif TcasVar == 10 then TcasTxt = "XPDR"
    elseif TcasVar == 20 then TcasTxt = "TA"
    elseif TcasVar == 30 then TcasTxt = "TARA"
    elseif TcasVar == 40 then TcasTxt = "ALT"
    end

    end

    if _MCP1() then
            DspShow ("TCAS", TcasTxt)
        else
            DspRadioShort(TcasTxt)
    end
end


function TCAS_MODE_stby ()
    ipc.control(PMDGBaseVariable +1296,0)
    PMDG_TCAS_show ()
end

function TCAS_MODE_alt ()
    ipc.control(PMDGBaseVariable +1296,4)
    PMDG_TCAS_show ()
end

function TCAS_MODE_xpndr ()
    ipc.control(PMDGBaseVariable +1296,1)
    PMDG_TCAS_show ()
end

function TCAS_MODE_TA ()
    ipc.control(PMDGBaseVariable +1296,2)
    PMDG_TCAS_show ()
end

function TCAS_MODE_TARA ()
    ipc.control(PMDGBaseVariable +1296,3)
    PMDG_TCAS_show ()
end

function TCAS_MODE_inc ()
    ipc.control(PMDGBaseVariable +1296,256)
    PMDG_TCAS_show ()
end

function TCAS_MODE_dec ()
    ipc.control(PMDGBaseVariable +1296,128)
    PMDG_TCAS_show ()
end

function TCAS_TEST ()
    ipc.control(PMDGBaseVariable +1297,1)
    DspShow ("TCAS", "on", "TCAS", "on")

end
 

I'm using Linda 3.0.9

Edited by Headley

Regards,

William Vrielynck

  • Author

Hi Guenter,

I see in this threat that you have changed the TCAS rotary.

The problem i mentioned is in the latest version 1.5 (downloaded today 02/10/2018).

Regards,

William Vrielynck

Ah, ok, I have just changed the TCAS_show function, but not the TCAS_Modes itself

 

I have to test it against the 744, because there is a difference to the 748. Should then fit for both versions

Thanks for the hint

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.