Jump to content

Component: Simulation Push Switch (): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray..."
 
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(15 intermediate revisions by 2 users not shown)
Line 15: Line 15:
Simple push button switch with LED indicator with no pin assignment. State can only be determined by simulation macro read. Momentary or latching action can be chosen in the properties.
Simple push button switch with LED indicator with no pin assignment. State can only be determined by simulation macro read. Momentary or latching action can be chosen in the properties.


==Component Pack==
==Component Source Code==


FREE
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_basic_sim_switch.fcfx FC_Comp_Source_basic_sim_switch.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_basic_sim_switch.fcfx FC_Comp_Source_basic_sim_switch.fcfx]


==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
''No detailed description exists yet for this component''


==Examples==
==Examples==




Line 29: Line 59:




==Downloadable macro reference==




==Macro reference==


==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" class="mtx-class-macrohead" | '''Properties'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
|-
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" class="mtx-class-propfolder" | Colours
|-
|-
|-
|-
Line 55: Line 97:
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" class="mtx-class-propfolder" | Additional Settings
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
Line 75: Line 121:
|-
|-
| colspan="2" | Sets the colour of the label. 
| colspan="2" | Sets the colour of the label. 
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
|-
|}
|}

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd
Version 1.1
Category


Simulation Push Switch component

Simple push button switch with LED indicator with no pin assignment. State can only be determined by simulation macro read. Momentary or latching action can be chosen in the properties.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_basic_sim_switch.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_basic_sim_switch.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

Property reference

Properties
Colours
On Colour
The color of the switch indicator when the switch is in the pressed state. 
Off Colour
The color of the switch indicator when the switch is in the none pressed state. 
Auto Off Colour
 
Additional Settings
Startup State
Default state of the indicator when loading the project or starting the simulation runtime. 
Operation
Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off. 
Label
Textual label shown on the panel to mark the component 
Label Colour
Sets the colour of the label.