Component: Hopper (Industrial)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Industrial |
Contents
Hopper component
A simple hopper that can be used to store produce. The hopper has component macros to set and get the current level of produce. The hopper can be initialised to be full or empty when starting. Compatible with SCADA interconnecting pipe components.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Hopper.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Hopper.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
AdjustLevel
AdjustLevel | |
Allows the lelev in the hopper to be adjusted up or down. | |
- FLOAT | Adjustment |
- VOID | Return |
GetLevel
GetLevel | |
Returns the current amount of produce in the hopper. | |
- FLOAT | Return |
IsEmpty
IsEmpty | |
Check to see if the hopper is currently empty. Returns 0 if not empty or 1 if empty. | |
- BOOL | Return |
IsFull
IsFull | |
Check to see if the hopper is currently full. Returns 0 if not full or 1 if full. | |
- BOOL | Return |
SetLevel
SetLevel | |
Sets the current amount of produce in the hopper. | |
- FLOAT | Level |
The amount of produce in the hopper. | |
- VOID | Return |