| cmdPTMR_SET | Index |
Command Code:
The Packet:
| 0 | 1 | 2 | 3 | 4 | ||||
| address | 3 | cmdPTMR_SET | Timer ID | SPXTIME |
| Timer ID - | Index of the timer. |
| SPXTIME - | Scratch pad index for 2-byte time value. |
Description:
This command starts a software timer. It retrieves the time setting from the scratch pad. The delay is specified in units of 0.1ms. The maximum delay is 6.5535 seconds. After the timer expires, it can activate a reflex. There is no reply packet. A timer ID that is out of range will generate an error message. Attempting to set a timer that has already been set will generate an error message.
Setting a time value of 0 will generate an error message.
See the discussions of Timer and Scratch Pad usage for more details.