Difference between revisions of "Component: Solenoid Template (Mechatronics)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/solenoid_base.fcfx FC_Comp_Source_temp/solenoid_base.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/solenoid_base.fcfx FC_Comp_Source_temp/solenoid_base.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 56: | Line 56: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 63: | Line 65: | ||
==Macro reference== | ==Macro reference== | ||
− | === | + | ===SetState=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetState''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Trun the solenoid on or off using a boolean value. |
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
− | | width="90%" | | + | | width="90%" | State |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | The new state for the solenoid to take. |
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 82: | Line 84: | ||
− | === | + | ===SetTarget=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTarget''' |
+ | |- | ||
+ | | colspan="2" | Choose an extermal object to move along with the solenoid's actuator | ||
+ | |- | ||
|- | |- | ||
− | | | + | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE |
+ | | width="90%" | Object | ||
|- | |- | ||
+ | | colspan="2" | An object to be moved by the solenoid | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 96: | Line 103: | ||
− | === | + | ===TurnOff=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOff''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | De-activate the solenoid |
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Line 115: | Line 117: | ||
− | === | + | ===TurnOn=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TurnOn''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Activate the solenoid |
|- | |- | ||
|- | |- |
Revision as of 12:04, 3 February 2023
Author | Matrix Ltd |
Version | 1.1 |
Category | Mechatronics |
Contents
Solenoid Template component
Base component for constructing solenoids. These take a single input pin and move an actuator between two positions depending on the pin state.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/solenoid_base.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/solenoid_base.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SetState
![]() |
SetState |
Trun the solenoid on or off using a boolean value. | |
![]() |
State |
The new state for the solenoid to take. | |
![]() |
Return |
SetTarget
![]() |
SetTarget |
Choose an extermal object to move along with the solenoid's actuator | |
![]() |
Object |
An object to be moved by the solenoid | |
![]() |
Return |
TurnOff
![]() |
TurnOff |
De-activate the solenoid | |
![]() |
Return |
TurnOn
![]() |
TurnOn |
Activate the solenoid | |
![]() |
Return |