User's Manual
Table Of Contents
- Contents
- Chapter 1. Introduction
- Chapter 2. Using the addSWITCH
- Chapter 3. Performing Advanced Functions
CHAPTER3
Commandsforcontrollingthevalves
41
n is the desired run-time in seconds (max. 65535, approximately 18h)
and d is the startup delay in seconds (max. 65535, approximately
18h, the recommended minimum is 1s).
WARNING Do not use any other commands described here to control the valves.
Readingstatusinformation
Using the PORT 0 command, the actual status can be read back. For
details on the returned value see Table 4.
Table 3. addSWITCH Commands
Requested action addSWITCH A724 command
Open Valve 1 for n
seconds
PORT 212 d n
Open Valve 2 for n
seconds
PORT 213 d n
Open Valve 3 for n
seconds
PORT 214 d n
Open Valve 4 for n
seconds
PORT 215 d n
Close Valve 1 (before time
n has elapsed)
PORT 164
Close Valve 2 (before time
n has elapsed)
PORT 165
Close Valve 2 (before time
n has elapsed)
PORT 166
Close Valve 2 (before time
n has elapsed)
PORT 167
Table 4. addSWITCH Status Information
Return value
(decimal)
Return value
(binary)
Status
240 1111 xxxx idle
224 1110 xxxx VALVE 1 active
208 1101 xxxx VALVE 2 active