Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
Disconnect your Autothrottle THE CORRECT WAY (Read 3598 times)
violinvelocity
Full Member
*
Offline



Posts: 22
Joined: Feb 8th, 2018
Disconnect your Autothrottle THE CORRECT WAY
May 1st, 2020 at 2:48am
Print Post  
This applies to the 757 as well, however I'm not sure if it is the same IPC code.

I've noticed that the FSUIPC and P3D standard control for "Auto Throttle Arm" turns off the autothrottle arm switch in the aircraft.

However, this is not an appropriate way to disconnect the auto throttles for making a manual landing. We only turn off this switch during an abnormal situation- when directed by a checklist.

If you want to hand-fly (AP and A/T off), you'll actually click the small button on the side of the throttles- which will disconnect the A/T , and a second press will cancel the caution.

The way to accomplish this with a joystick button push is through a lua file. Place the below folder into your modules folder, or C:\Users\*name*\Documents\Prepar3D v4 Add-ons\FSUIPC6

Now you can assign a button on your hardware device to "Lua ATdisconnect" instead of trying to find the button with your mouse during a high workload time.

Copy the text below into a new text file, and save as "ATdisconnect.lua" - make sure the extension reads "lua"- and throw that in your FSUIPC folder.

ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(500)
ipc.writeLvar('L:P05_007_BUT',0)

  
Back to top
 
IP Logged
 
Alex T
Senior Member
*
Offline



Posts: 415
Location: Boston, MA
Joined: Jun 21st, 2015
Gender: Male
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #1 - May 1st, 2020 at 3:16am
Print Post  
violinvelocity wrote on May 1st, 2020 at 2:48am:
This applies to the 757 as well, however I'm not sure if it is the same IPC code.

I've noticed that the FSUIPC and P3D standard control for "Auto Throttle Arm" turns off the autothrottle arm switch in the aircraft.

However, this is not an appropriate way to disconnect the auto throttles for making a manual landing. We only turn off this switch during an abnormal situation- when directed by a checklist.

If you want to hand-fly (AP and A/T off), you'll actually click the small button on the side of the throttles- which will disconnect the A/T , and a second press will cancel the caution.

The way to accomplish this with a joystick button push is through a lua file. Place the below folder into your modules folder, or C:\Users\*name*\Documents\Prepar3D v4 Add-ons\FSUIPC6

Now you can assign a button on your hardware device to "Lua ATdisconnect" instead of trying to find the button with your mouse during a high workload time.

Copy the text below into a new text file, and save as "ATdisconnect.lua" - make sure the extension reads "lua"- and throw that in your FSUIPC folder.

ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(500)
ipc.writeLvar('L:P05_007_BUT',0)



Thanks this is great! I'd been using a macro until now to push the quick disconnect buttons, I'll try this.
  
Back to top
YouTube  
IP Logged
 
Gjl1995
Full Member
*
Offline



Posts: 11
Joined: Jan 3rd, 2018
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #2 - May 3rd, 2020 at 7:50pm
Print Post  
hi there would you know if it is different for fsuipc 5.

i've made the .lua file with the lvar text, placed it in my modules and assigned it in fsuipc. however it has no result when i press the button that was assigned and the autothrothle is still active?

Gr gerben lei

  
Back to top
 
IP Logged
 
Desmond
Full Member
*
Offline



Posts: 5
Joined: May 22nd, 2021
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #3 - May 22nd, 2021 at 1:00am
Print Post  
Hi there, I've been struggling with this from months...
The lua script doesn't work for me (Neither in the 757 nor in the 767), but the animation of the button pressed is displayed. I have this problem also with other momentary switches like the Go Around one.

Code
Select All
ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(500)
ipc.writeLvar('L:P05_007_BUT',0)
 



However, others lvar such as lights work properly, like this:

Code
Select All
-- Beacon lights
ipc.writeLvar('O20_002_BUT',1) 



I believe I'm missing something but I cannot find it Sad
  
Back to top
 
IP Logged
 
Tim Capps
Senior Member
*
Offline


Defense Lawyer & US Navy
JAG (ret), Writer

Posts: 1070
Location: Southern Illinois
Joined: May 21st, 2009
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #4 - Jun 10th, 2021 at 6:45pm
Print Post  
Brilliant! You learn something new every day.
  

PC: i9 10900K @ 3.8 GHz | 32GB DDR4 3200 | 10GB RTX 3080 | 32” Asus TUF VG32VQ Curved Monitor | Samsung 2TB SSD HD | Win 10 Pro 64 - Flight Sim P3Dv5.2 |
Back to top
 
IP Logged
 
CaptKornDog
Full Member
*
Offline



Posts: 12
Joined: Apr 4th, 2011
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #5 - May 2nd, 2022 at 7:28pm
Print Post  
Desmond wrote on May 22nd, 2021 at 1:00am:
Hi there, I've been struggling with this from months...
The lua script doesn't work for me (Neither in the 757 nor in the 767), but the animation of the button pressed is displayed. I have this problem also with other momentary switches like the Go Around one.

Code
Select All
ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(500)
ipc.writeLvar('L:P05_007_BUT',0)
 



However, others lvar such as lights work properly, like this:

Code
Select All
-- Beacon lights
ipc.writeLvar('O20_002_BUT',1) 



I believe I'm missing something but I cannot find it Sad


Did you ever find a solution to this?  I see the animation of the AT disconnect button clicking as well but seemingly no function.

Thanks.
  
Back to top
 
IP Logged
 
Desmond
Full Member
*
Offline



Posts: 5
Joined: May 22nd, 2021
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #6 - May 7th, 2022 at 5:38pm
Print Post  
Yes ! This disconnects the AT:

Code
Select All
ipc.writeLvar("klid", 2605007) 



I use this whole code to have the animation too

Code
Select All
ipc.writeLvar("klid", 2605007)
ipc.writeLvar('L:P05_007_BUT',1)
ipc.sleep(300)
ipc.writeLvar('L:P05_007_BUT',0) 

  
Back to top
 
IP Logged
 
CaptKornDog
Full Member
*
Offline



Posts: 12
Joined: Apr 4th, 2011
Re: Disconnect your Autothrottle THE CORRECT WAY
Reply #7 - May 14th, 2022 at 5:42am
Print Post  
Thanks very much, that seemed to work.  Still battling the AT kicking back on and going full thrust on rollout but this seems to at least click the disconnect buttons correctly in the air; thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top