Difference between revisions of "Component: Digital Valve (Industrial)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 14:43, 16 January 2023
Author | Matrix TSL |
Version | 1.0 |
Category | Industrial |
Contents
Digital Valve component
A simple digital valve that can be either open or closed. The valve has component macros to set and get the current state of the valve. The valve can be initialised to be open or closed when starting. The valve can be clicked to open or close via the runtime. Compatible with SCADA interconnecting pipe components.
Component Source Code
Please click here for the component source code: FC_Comp_Source_Valve.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Industrial Tanks
A simple example showing the hoppers, valves and pipes working together. Each tank automatically empties in turn.
Downloadable macro reference
![]() |
GetState |
Returns the current state of the valve. 0 = Closed 1 = Open | |
![]() |
Return |
![]() |
SetState |
Sets the current state of the valve. | |
![]() |
State |
0 = Closed, 1 = Open | |
![]() |
Return |