ph_getothertimer PowerHome formula function (Deprecated)
Description
Retrieves an internal timer value from a controller.
Syntax
ph_getothertimer ( controller, timer )
Argument |
Description |
controller
|
The ID of the controller.
|
timer
|
The number of the timer whose value you wish to retrieve.
|
Return value
Long. Returns the value of the timer you requested. –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.
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 retrieve. Values will be in the range of 0 to 65535 for the CPU-XA/Ocelot.