Difference between revisions of "Component: Rotary Switch (Switch)"
From Flowcode Help
Jump to navigationJump to search| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 37: | Line 41: | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:13, 20 January 2023
| 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
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 | |