FE-SEAS Rain Inlet Commands
for Firmware FE-SEAS Ver 1.1
Last update: 15 Mar 2001
file: rain-inlet.html
Commands:
- all commands preceded by # and terminated with CR (ENTER)
- responses are terminated by CRLF
- Note: for power controlling commands, 0 = ON and 1 = OFF
C - Close inlet
- responds with 0
- Note: test with STAT command for completion
D - Detect water level in inlet funnel
- responds with a HEX-ASCII byte where bits are SET (1 = DETECTED) on detection, clear
otherwise, as follows:
- Bit 0 - 1st level detection
- Bit 1 - 2nd level detection
- ...etc...
- Bit 7 - 8th level detection
- Note 1: With current hardware, only first 4 levels are used; 4 MSB's always 0
- Note 2: You should never see a higher level detect without ALL lower levels showing detect.
H - request HELP menu
K - Kill inlet motor power
- responds with 1
- Note: stops the motor immediately
M - Motor commands (direct control)
- MEN[=0,1] - request current status or power ON/OFF motor
- eg: MEN=0 starts motor
- returns current setting (i.e. 0 or 1) after request or set
- MDIR[=0,1] - request current status or set direction of motor
- eg: MDIR=0 sets motor direction CW
- returns current setting (i.e. 0 or 1) after request or set
- MLIM[0,1] - request current status of limit switch 0 or 1
- eg: MLIM0 request limit switch 0 status (1 = activated, i.e. at limit = OPEN)
- switch 0 indicates inlet OPEN status, switch 1 indicates inlet CLOSED status
O - Open inlet
- responds with 0
- Note: test with STAT command for completion
P - Pump commands
- P1[=0,1] - request current status or power ON/OFF on Pump 1
- eg: P1=0 starts Pump 1
- returns current setting (i.e. 0(= ON) or 1 (= OFF)) after request or set
- P2[=0,1] - request current status or power ON/OFF on Pump 2
- eg: P2 requests current status (ON or OFF) of Pump 2
- returns current setting (i.e. 0(= ON) or 1 (= OFF)) after request or set
STAT - request HEX status byte
- status bits:
- bit 0 - Motor Direction - 1 = CW = closing
- bit 1 - Motor Enable - 0 = ON
- bit 2 - OPEN limit switch - 1 = activated (inlet OPEN)
- bit 3 - CLOSED limit switch - 1 = activated (inlet CLOSED)
- bit 4 - Pump 1 power - 0 = ON
- bit 5 - Pump 2 power - 0 = ON
- bit 6 - unused - always 0
- bit 7 - unused - always 0
- Some useful status return values:
- 31 - closing
- 39 - closed
- 3B - closed and motor enable OFF
- 30 - opening
- 34 - open
- 36 - open and motor enable OFF
- Example: returns 32 - not closed or open; stopped midway by K command while closing
Revision history:
- Original Release - V1.0 (obsolete)
- 15 Mar 2001 - V1.1 (reverse 'C' and 'O' commands to reflect wiring; update STAT command)