Subroutine THERMOSTAT
Checks or sets the state of a thermostat.
Calling convention:
call thermostat(oper, senselem, flag)
| Arguments | Data type | Input/Output | Description |
|---|---|---|---|
oper |
Character*3 | Call | Indicates whether the thermostat is being interrogated ('GET') or set ('SET'). |
senselem |
Integer | Call | The external (user) number of the sensor element associated with the thermostat. |
flag |
Integer | Call | Indicates the current state ('GET') or the state to be set ('SET') for the thermostat. 0=off, 1=on. |
