Component: Digital Valve (Industrial)
From Flowcode Help
(Redirected from Component: ID 9415f6ca f29a 46cc b3e8 f047cf0c598a)
Jump to navigationJump to searchAuthor | 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 to download the component source project: FC_Comp_Source_Valve.fcfx
Please click here to view the component source code (Beta): 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.
Macro reference
GetState
GetState | |
Returns the current state of the valve. 0 = Closed 1 = Open | |
- BOOL | Return |
SetState
SetState | |
Sets the current state of the valve. | |
- BOOL | State |
0 = Closed, 1 = Open | |
- VOID | Return |