Component: Digital Valve (Industrial)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Industrial


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.

FC6 Icon.png Industrial Tanks






Macro reference

GetState

Fc9-comp-macro.png GetState
Returns the current state of the valve. 0 = Closed 1 = Open 
Fc9-bool-icon.png - BOOL Return


SetState

Fc9-comp-macro.png SetState
Sets the current state of the valve. 
Fc9-bool-icon.png - BOOL State
0 = Closed, 1 = Open 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Default State
The initial state of the valve when the runtime starts 
Fc9-type-16-icon.png Current State
The current state of the valve. 
Fc9-type-16-icon.png Orientation
The orientation of the valve on the panel. 
Fc9-type-7-icon.png Clickable
Dictates if the valve handle ca be clicked during runtime to open or close the valve, 
Fc9-type-7-icon.png Flip