ph_setothertimer PowerHome formula function (Deprecated)
Description
Sets an internal timer on the specified controller.
Syntax
ph_setothertimer ( controller, timer, value )
Argument |
Description |
controller
|
The ID of the controller.
|
timer
|
The number of the timer whose value you wish to set.
|
value
|
The value you wish to set the timer to.
|
Return value
Integer. Returns a 0 if successful. - 1 is returned if the controller is not available, - 2 is returned if the controller does not support timers, - 3 is returned if the timer is out of range, - 4 is returned if the value is out of range.
Usage
Currently only supported by the CPU-XA/Ocelot controller. To use this function with the CPU-XA/Ocelot, specify the ID of the controller whose type is CPU-XA/Ocelot. The "timer" must be a number from 0 to 63 corresponding to the internal timer of the CPU-XA/Ocelot you wish to set. The "Value" must be in the range of 0 to 65535 for the CPU-XA/Ocelot.