Difference between revisions of "Component: Airplane Landing Gear (Scenarios)"

From Flowcode Help
Jump to navigationJump to search
(XML import - Pre 8.0 release)
Line 1: Line 1:
 
+
{| style="width:50%"
 
 
{| width="50%"
 
 
|-
 
|-
| width="20%" style="color: gray;" | Author
+
| width="20%" style="color:gray;" | Author
 
| Matrix TSL
 
| Matrix TSL
 
|-
 
|-
| width="20%" style="color: gray;" | Version
+
| width="20%" style="color:gray;" | Version
| 1.0 (Release)
+
| 1.0
 
|-
 
|-
| width="20%" style="color: gray;" | Category
+
| width="20%" style="color:gray;" | Category
 
| Scenarios
 
| Scenarios
 
|}
 
|}
  
  
 
+
==Airplane Landing Gear component==
==[[File:Component Icon a05022fd_6fa1_499d_b885_a7d983e7bfdf.png|Image]] Airplane Landing Gear component==
 
 
A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.
 
A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.
  
==Examples==
+
==Component Pack==
There is a detailed walk through of the scenario detailed at the link below to go with this component.
 
  
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]]
+
MODELS
  
==Downloadable macro reference==
+
==Detailed description==
  
''This component does not contain any downloadable macros''
+
''No detailed description exists yet for this component''
  
==Simulation macro reference==
+
==Examples==
  
===<span style="font-weight: normal;"><u><tt>FrontDoors</tt></u></span>===
 
Will allow the front doors to open.
 
  
'''Parameters'''
+
There is a detailed walk through of the scenario detailed at the link below to go with this component.
  
:[[Variable Types|BYTE]] ''Direction''
+
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]]
::Drops the door down or close them. 0 = Close 1 = Open
 
  
 +
==Downloadable macro reference==
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoors'''
 +
|-
 +
| colspan="2" | Will allow the front doors to open.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Direction
 +
|-
 +
| colspan="2" | Drops the door down or close them. 0 = Close 1 = Open&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:''This call does not return a value''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorCloseSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement.  Assigned variable of a Bool is recommended&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
===<span style="font-weight: normal;"><u><tt>FrontDoorCloseSwitch</tt></u></span>===
 
Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. 
 
  
Assigned variable of a Bool is recommended
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearDownSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Parameters'''
 
  
:''This macro has no parameters''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorLocks'''
 +
|-
 +
| colspan="2" | Will unlock or lock the rear doors &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | OpenOrClose
 +
|-
 +
| colspan="2" | Open =1 Close =0&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearUpSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:[[Variable Types|BYTE]]
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorOpenSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement.  Assigned variable of a Bool is recommended&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
===<span style="font-weight: normal;"><u><tt>LandingGearDownSwitch</tt></u></span>===
 
Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement.
 
  
Assigned variable of a Bool is recommended
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorLocks'''
 +
|-
 +
| colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | OpenOrClose
 +
|-
 +
| colspan="2" | Open =1 Close=0&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Parameters'''
 
  
:''This macro has no parameters''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGear'''
 +
|-
 +
| colspan="2" | Retracts and drops the landing gear.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Direction
 +
|-
 +
| colspan="2" | Drop the wheel down or retracts them. 0 = Retracts 1 = Drop&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorCloseSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:[[Variable Types|BYTE]]
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoors'''
 +
|-
 +
| colspan="2" | Will allow the rear door to open  &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Direction
 +
|-
 +
| colspan="2" | Drop the door down or close them. 0 = Close 1 = Open&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
===<span style="font-weight: normal;"><u><tt>RearDoorLocks</tt></u></span>===
 
Will unlock or lock the rear doors
 
  
'''Parameters'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorOpenSwitch'''
 +
|-
 +
| colspan="2" | Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:[[Variable Types|BYTE]] ''OpenOrClose''
 
::Open =1 Close =0
 
  
  
'''Return value'''
 
  
:''This call does not return a value''
+
==Property reference==
  
 
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===<span style="font-weight: normal;"><u><tt>LandingGearUpSwitch</tt></u></span>===
+
|-
Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement.
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
Assigned variable of a Bool is recommended
+
|-
 
+
|-
'''Parameters'''
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''  
:''This macro has no parameters''
+
|-
 
+
|-
 
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
'''Return value'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''  
 
+
|-
:[[Variable Types|BYTE]]
+
|}
 
 
 
 
===<span style="font-weight: normal;"><u><tt>FrontDoorOpenSwitch</tt></u></span>===
 
Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement.
 
 
 
Assigned variable of a Bool is recommended
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|BYTE]]
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>FrontDoorLocks</tt></u></span>===
 
Will lock or unlock the front doors depending on the number given to the paremeter.
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|BYTE]] ''OpenOrClose''
 
::Open =1 Close=0
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>LandingGear</tt></u></span>===
 
Retracts and drops the landing gear.
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|BYTE]] ''Direction''
 
::Drop the wheel down or retracts them. 0 = Retracts 1 = Drop
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>RearDoorCloseSwitch</tt></u></span>===
 
Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement.
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|BYTE]]
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>RearDoors</tt></u></span>===
 
Will allow the rear door to open
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|BYTE]] ''Direction''
 
::Drop the door down or close them. 0 = Close 1 = Open
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>RearDoorOpenSwitch</tt></u></span>===
 
Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement.
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|BYTE]]
 
 
 
 
 
 
 
 
 
==Property reference==
 
''This component does not contain any properties''
 

Revision as of 16:29, 7 January 2022

Author Matrix TSL
Version 1.0
Category Scenarios


Airplane Landing Gear component

A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.

Component Pack

MODELS

Detailed description

No detailed description exists yet for this component

Examples

There is a detailed walk through of the scenario detailed at the link below to go with this component.

Airplane Landing Gear Scenario

Downloadable macro reference

Fc9-comp-macro.png FrontDoors
Will allow the front doors to open. 
Fc9-u8-icon.png - BYTE Direction
Drops the door down or close them. 0 = Close 1 = Open 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png FrontDoorCloseSwitch
Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png LandingGearDownSwitch
Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png RearDoorLocks
Will unlock or lock the rear doors  
Fc9-u8-icon.png - BYTE OpenOrClose
Open =1 Close =0 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png LandingGearUpSwitch
Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FrontDoorOpenSwitch
Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FrontDoorLocks
Will lock or unlock the front doors depending on the number given to the paremeter. 
Fc9-u8-icon.png - BYTE OpenOrClose
Open =1 Close=0 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png LandingGear
Retracts and drops the landing gear. 
Fc9-u8-icon.png - BYTE Direction
Drop the wheel down or retracts them. 0 = Retracts 1 = Drop 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png RearDoorCloseSwitch
Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement.  
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png RearDoors
Will allow the rear door to open  
Fc9-u8-icon.png - BYTE Direction
Drop the door down or close them. 0 = Close 1 = Open 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png RearDoorOpenSwitch
Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement.  
Fc9-u8-icon.png - BYTE Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations