Jump to content

Component: Logo Indicator (Indicators): Difference between revisions

From Flowcode Help
XML import
 
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(21 intermediate revisions by 2 users not shown)
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
| Indicators
| Indicators
|}
|}
==Logo Indicator component==
A simple component to display multiple icons relating to the state of a machine or process. Includes icons such as: tick, cross, alert, stop, go and coloured lights.
==Component Source Code==
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_IndicatorLogo.fcfx FC_Comp_Source_IndicatorLogo.fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_IndicatorLogo.fcfx FC_Comp_Source_IndicatorLogo.fcfx]
==Detailed description==






==[[File:Component Icon 9f9ffa92_a20d_4ba8_94e1_04e45bdea154.png|Image]] Logo Indicator component==
 
A simple component to display multiple icons relating to the state of a machine or process.
 
Includes icons such as: tick, cross, alert, stop, go and coloured lights.
 
 
 
 
 
 
 
 
''No detailed description exists yet for this component''


==Examples==
==Examples==
''<span style="color:red;">No additional examples</span>''




==Downloadable macro reference==


''This component does not contain any downloadable macros''


==Simulation macro reference==


===<span style="font-weight: normal;"><u><tt>AssignLogo</tt></u></span>===
Sets the logo displayed on the indicator.


'''Parameters'''


:[[Variable Types|BYTE]] ''LogoIdx''
::Logo Index: 1=Tick, 2=Cross, 3=Exclamation, 4=Green, 5=Amber, 6=Red, 7=Stop, 8=Go




'''Return value'''


:''This call does not return a value''








==Property reference==
<span style="font-weight: normal;"><u>Default Icon</u></span>


This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''DefaultIcon''.


Icon that is automatically loaded when starting the runtime or reopening the project.


The Don't Modify setting will leave the icon in it's last written state.


<span style="font-weight: normal;"><u>Show Title</u></span>


This property is of type ''True or false'' and can be referenced with the variable name ''ShowTitle''.


Decides if the component title is shown


<span style="font-weight: normal;"><u>Title Colour</u></span>


This property is of type ''Color picker'' and can be referenced with the variable name ''TitleColour''.


Title Label Color


<span style="font-weight: normal;"><u>Title Text</u></span>
''<span style="color:red;">No additional examples</span>''
 
 
 
 
 
 
 
 


This property is of type ''Line of text'' and can be referenced with the variable name ''TitleText''.


Title Label Text


<span style="font-weight: normal;"><u>Title Scale</u></span>


This property is of type ''Floating point'' and can be referenced with the variable name ''TitleScale''.
==Macro reference==


Controls the size of the title text on the panel, default 1.2
===AssignLogo===
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''AssignLogo'''
|-
| colspan="2" | Sets the logo displayed on the indicator.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | LogoIdx
|-
| colspan="2" | Logo Index: 1=Tick, 2=Cross, 3=Exclamation, 4=Green, 5=Amber, 6=Red, 7=Stop, 8=Go&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''
|}
 
 
==Property reference==
 
{| 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" | [[File:Fc9-type-16-icon.png]]
| width="90%" | Default Icon
|-
| colspan="2" | Icon that is automatically loaded when starting the runtime or reopening the project. The Don't Modify setting will leave the icon in it's last written state.&nbsp;
|-
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" class="mtx-class-propfolder" | Title
|-
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Show Title
|-
| colspan="2" | Decides if the component title is shown&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | Title Colour
|-
| colspan="2" | Title Label Color&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-10-icon.png]]
| width="90%" | Title Text
|-
| colspan="2" | Title Label Text&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Title Scale
|-
| colspan="2" | Controls the size of the title text on the panel, default 1.2&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Title Offset
|-
| colspan="2" | Distance above component center to draw the title&nbsp;
|}

Latest revision as of 14:37, 13 July 2026

Author Matrix TSL
Version 1.0
Category Indicators


Logo Indicator component

A simple component to display multiple icons relating to the state of a machine or process. Includes icons such as: tick, cross, alert, stop, go and coloured lights.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

AssignLogo
Sets the logo displayed on the indicator. 
- BYTE LogoIdx
Logo Index: 1=Tick, 2=Cross, 3=Exclamation, 4=Green, 5=Amber, 6=Red, 7=Stop, 8=Go 
- VOID Return


Property reference

Properties
Default Icon
Icon that is automatically loaded when starting the runtime or reopening the project. The Don't Modify setting will leave the icon in it's last written state. 
Title
Show Title
Decides if the component title is shown 
Title Colour
Title Label Color 
Title Text
Title Label Text 
Title Scale
Controls the size of the title text on the panel, default 1.2 
Title Offset
Distance above component center to draw the title