Difference between revisions of "Component: Rotary Switch (Switch)"
From Flowcode Help
Jump to navigationJump to search| Line 15: | Line 15: | ||
A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.  | A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.  | ||
| − | ==Component   | + | ==Component Source Code==  | 
| − | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_RotarySwitch10-16.fcfx FC_Comp_Source_RotarySwitch10-16.fcfx]  | |
==Detailed description==  | ==Detailed description==  | ||
| + | |||
| + | |||
''No detailed description exists yet for this component''  | ''No detailed description exists yet for this component''  | ||
==Examples==  | ==Examples==  | ||
| + | |||
| + | |||
| Line 81: | Line 85: | ||
|-  | |-  | ||
| colspan="2" |    | | colspan="2" |    | ||
| + | |-  | ||
| + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]  | ||
| + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Pins  | ||
| + | |-  | ||
|-  | |-  | ||
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]  | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]]  | ||
| Line 101: | Line 109: | ||
|-  | |-  | ||
| colspan="2" |    | | colspan="2" |    | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|}  | |}  | ||
Revision as of 17:50, 9 November 2022
| Author | Matrix TSL | 
| Version | 1.0 | 
| Category | Switch | 
Contents
Rotary Switch component
A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.
Component Source Code
Please click here for the component source code: FC_Comp_Source_RotarySwitch10-16.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| SetPosition | |
| Sets the current position of the rotary switch. | |
| Position | |
| Return | |
| GetPosition | |
| Reads the current position of the rotary switch. | |
| Return | |
Property reference
| Properties | |
| Num Positions | |
| Common Type | |
| Pins | |
| Pin 1 | |
| Pin 2 | |
| Pin 4 | |
| Pin 8 | |