Difference between revisions of "Component: Relay (BL0183) (E-blocks 2)"
From Flowcode Help
Jump to navigationJump to search(4 intermediate revisions by the same user not shown) | |||
Line 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 57: | Line 67: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===Relay1SwitchOff=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 70: | Line 81: | ||
+ | ===Relay1SwitchOn=== | ||
{| 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;" | '''Relay1SwitchOn''' |
|- | |- | ||
− | | colspan="2" | Switch | + | | colspan="2" | Switch on the relay, connecting the common pin to the normally open pin. |
|- | |- | ||
|- | |- | ||
Line 83: | Line 95: | ||
+ | ===Relay2SwitchOff=== | ||
{| 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;" | '''Relay2SwitchOff''' |
|- | |- | ||
− | | colspan="2" | Switch | + | | colspan="2" | Switch off the relay, disconnecting the common pin from the normally open pin. |
|- | |- | ||
|- | |- | ||
Line 96: | Line 109: | ||
+ | ===Relay2SwitchOn=== | ||
{| 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;" | '''Relay2SwitchOn''' |
|- | |- | ||
| colspan="2" | Switch on the relay, connecting the common pin to the normally open pin. | | colspan="2" | Switch on the relay, connecting the common pin to the normally open pin. | ||
Line 107: | Line 121: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 15:00, 17 May 2023
Author | Matrix Ltd |
Version | 1.0 |
Category | E-blocks 2 |
Contents
Relay (BL0183) component
The Relay is a digital normally open switch capable of switching much higher voltages and currents than your normal Microcontroller outputs. When set to HIGH, the LED will light up and the relay will close allowing current to flow. The peak voltage capability is 250V at 10 amps. Simulated component, green indiacator is on when the relay is active.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EBlocks2_Relay_BL0183_2d.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBlocks2_Relay_BL0183_2d.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Relay1SwitchOff
![]() |
Relay1SwitchOff |
Switch off the relay, disconnecting the common pin from the normally open pin. | |
![]() |
Return |
Relay1SwitchOn
![]() |
Relay1SwitchOn |
Switch on the relay, connecting the common pin to the normally open pin. | |
![]() |
Return |
Relay2SwitchOff
![]() |
Relay2SwitchOff |
Switch off the relay, disconnecting the common pin from the normally open pin. | |
![]() |
Return |
Relay2SwitchOn
![]() |
Relay2SwitchOn |
Switch on the relay, connecting the common pin to the normally open pin. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Output Mode |
![]() |
Switch1 |
![]() |
Port |
![]() |
Relay1 Pin |
![]() |
Relay2 Pin |