Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Override Alarm ValueDescription
0Auto Off
1Auto On
2Manual On
3Manual OFOff
4Motion


With everything explained the Inputs and Outputs are the following,

...

  • StateEbbValve → INT
  • StateFlowValve→ INT
  • OUT → BOOL
  • LevelGuardOut→ BOOL
  • OutEbbValve → TIME
  • OutFlowValve → TIME
  • TimeRemaining→ TIME
  • ModeEbb → BOOL
  • ModeFlow → BOOL

...

INTERNAL VARIABLES

  • LevelGuard→ LEVELGUARD
  • EbbDuration→ TON
  • FlowDuration→ TON
  • FlowValve → MOTORVALVE
  • PULSE_1 → PULSETHREESECONDS
  • PULSE_2 → PULSETHREESECONDS
  • PULSE_3 → PULSEFOURSECONDS
  • EbbValveOpen → TOF
  • EbbValve→ MOTORVALVE
  • TimerMotionInt1 → TON
  • TimerMotionDur1 → TOF
  • TimerMotionInt1 → TON
  • TimerMotionDur1 → TOF
  • HighLowSelect → HIGHLOWSELECT

...

Variable Decleration:

CODE:

References:

Lagomarsino, V. (2019) 'Hydroponics: The power of water to grow food', Science in the News, 26 September. Available at: https://sitn.hms.harvard.edu/flash/2019/hydroponics-the-power-of-water-to-grow-food/ (Accessed: 28 May 2024)