• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Autobrake problem

Messages
371
Country
france
Hi,

In my A320 FMS project, I have created a XML gauge to the autoland.

All works fine exept one thing : I can't disable automatically the autobrake.

My cockpit use an autobrake with the 4 position :

- Light (Autobrake value = 2)
- medium (Autobrake value = 3)
- High (Autobrake value = 4)
- RTO (Autobrake value = 0)

When disable, Autobrake value = 1


When I land, I activate on of my autobrake switch.

Autoland works, and When the aircraft rolls under 20 Knots, I disable autopilot (that works) and I want disable autobrake.

So, I have wrote in the xml autoland gauge the following code :

Code:
(A:AUTO BRAKE SWITCH CB, enum) 2 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }
(A:AUTO BRAKE SWITCH CB, enum) 3 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }
(A:AUTO BRAKE SWITCH CB, enum) 4 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }


When the aircraft arrives under 20 knots, the right autobrake switch is disable, but the brakes stay in function. I must push the Toe brakes of my rudder to disable the brakes.

Have you an idea, to how solves this problem ?

Thanks

Francois
 
Last edited:
One possibility is that the autobrake control command may lower the setting, but not actually release the brakes. Perhaps a quick application of the brakes in the code (if possible?) might release them?
 
One possibility is that the autobrake control command may lower the setting, but not actually release the brakes. Perhaps a quick application of the brakes in the code (if possible?) might release them?

I thought the solution of pressing the brakes by the code, but I did not find XML command for that :mad:
 
EDIT: Corrected per re-reading the SDK:
(A:AUTO BRAKE SWITCH CB,enum)

0 = RTO
1 = OFF
2 = LOW
3 = MED
4 = HIGH
 
Last edited:
hi N4gix

1 is the disable autobrake position. I am sure. The autobrake code works since more one year on my gauge.

When autobrake is set to 0, you are in RTO mode; so If you engage the reverses when you roll, the brakes are swith on.

Actually, all works to engage autobrake, but I can't disable it after land by xml; here is my problem.

is there a K event to simulate the toe brake ?

François
 
is there a K event to simulate the toe brake ?

You are correct. It has been years since I last looked at the autobrake events and variables... :o

For triggering the 'toe brakes off' via commands try:

-16383 (>K:AXIS_LEFT_BRAKE_SET)
-16383 (>K:AXIS_RIGHT_BRAKE_SET)

Sets left brake position from axis controller (e.g. joystick). -16383 (0 brakes) to +16383 (max brakes)
 
The only problem I have with those brake commands (in FS9) is if used, it often disables the keyboard brake command - . (period) or the equivalent on my yoke.
 
Many thanks bill, it works perfectly now ! :)


Extract of my autoland gauge about disable the autobrake when the aircraft is near to stop :

Code:
(A:AUTOPILOT TAKEOFF POWER ACTIVE, bool) 0 ==
(A:VELOCITY BODY Z, knots) 17 < and
(A:AUTOPILOT NAV1 LOCK, bool) 1 == and if{
			(A:AUTO BRAKE SWITCH CB, enum) 4 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }
			(A:AUTO BRAKE SWITCH CB, enum) 3 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }
			(A:AUTO BRAKE SWITCH CB, enum) 2 == if{ 1 (>K:DECREASE_AUTOBRAKE_CONTROL) }
			5000 (>K:AXIS_LEFT_BRAKE_SET)
			5000 (>K:AXIS_RIGHT_BRAKE_SET)
			(A:AUTOPILOT NAV1 LOCK, bool) 1 == if{ -16383 (>K:AXIS_LEFT_BRAKE_SET) }
			(A:AUTOPILOT NAV1 LOCK, bool) 1 == if{ -16383 (>K:AXIS_RIGHT_BRAKE_SET) }
			1 (>K:AUTOPILOT_OFF)
			1 (>K:AP_ALT_HOLD_OFF)
			0 (>L:Nav1_engaged,bool)
			1 (>K:AP_NAV1_HOLD_OFF)
			1 (>K:AP_LOC_HOLD_OFF)
			1 (>K:AP_APR_HOLD_OFF)
			0 (>L:GLIDE_SLOPE Engaged, bool)
			0 (>L:ILS Mode,bool)
			0 (>K:AXIS_ELEV_TRIM_SET)
			0 (>K:AXIS_ELEVATOR_SET)
			0 (>G:Var2)
			0 (>G:Var1)
			0 (>L:Descent,bool)
			0 (>L:Land,bool)
			0 (>L:Flare,bool)
			0 (>L:RollOut,bool)
			}

I must simulate a pressure on the brakes before release them.

Thanks

Francois
 
Back
Top