Difference between revisions of "Component: Reed Switch (Magnetic)"
From Flowcode Help
Jump to navigationJump to search| (3 intermediate revisions by the same user not shown) | |||
| Line 57: | Line 57: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 63: | Line 71: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===ReadState=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 76: | Line 85: | ||
| + | ===SetTarget=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 94: | Line 104: | ||
| + | ===WaitUntilHigh=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 107: | Line 118: | ||
| + | ===WaitUntilLow=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 118: | Line 130: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
Latest revision as of 13:12, 7 February 2023
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Magnetic |
Contents
Reed Switch component
Simple on off switch triggered by the proximity of another object.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Reed_Switch.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Reed_Switch.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ReadState
| ReadState | |
| Get the current collision state. The 'Polarity' property will affect whether a collision is represented by a high or low state. | |
| Return | |
SetTarget
WaitUntilHigh
WaitUntilLow