Validity: Rule, Task
This variable contains the current time present on the CLOCK/CALENDER supplied with the Robox axis controls.
Syntax |
I32 hour |
---|---|
Minimum representable number |
00 |
Maximum representable number |
23 |
Attributes |
Read only |
The TIME directive must be used to set the time (hours-minutes-seconds).
Example
; if the the value of the variable hour is greater than 18 ; then in the string register sr(1) will be stored ; the string "Time to go home!" if(hour > 18) sr(1) = "Time to go home!" |