Jump to content

Component: Switch Rotary 0 - 15 (Switch)

From Flowcode Help
Revision as of 14:09, 2 September 2026 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix TSL
Version 1.1
Category Switch


Switch Rotary 0 - 15 component

Version information

Library Version, Component Version, Date, Author, Info


Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetPosition

GetPosition
Reads the position of the switch as a number between 0 and NumPositions-1 
- BYTE Return


SetPosition

SetPosition
Sets the switch position 
- BYTE Position
The new state of the switch (true=on, false=off) 
- VOID Return


Property reference

Properties
Type
Choose output connection type: - Encoded (Binary Coded Decimal / Hex) - Conventional (non-encoded direct connections) 
Num Positions
The number of positions available on the switch (between 2 and 16) 
Pin 1
Pin connection / bit 0 of encoded value 
Pin 2
Pin connection / bit 1 of encoded value 
Pin 3
Pin connection / bit 2 of encoded value 
Pin 4
Pin connection / bit 3 of encoded value 
Common
The common pin connection 
Component Label
Customise the text label or use the component name 
Appearance
Show Position Numbers
Show or hide the numbers around the switch 
Style
Visual style for the switch 
Pointer
The type of pointer to display 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Switch_Rotary_0_-_15_2dgi.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Switch_Rotary_0_-_15_2dgi.fcfx