This function is used to read or set (instruction) the preset value of the timer.
Reading:
Syntax |
real tm_pt (timer name) |
---|---|
name |
Name of the timer of type timer |
Result |
Returns the value, in milliseconds, of timer preset |
Validity |
Rule, Task |
Note |
Writing (Instruction):
Syntax |
tm_pt (timer name, real presetTm) |
---|---|
name |
Name of the timer of type timer |
presetTm |
Value of the preset, in milliseconds, to be set |
Validity |
Rule, Task |
Note |
Example usage:
|