Validity: Rule, Task
This keyword provides access to a real volatile system register (8-byte IEEE format).
Syntax |
REAL rr (I32 n) |
---|---|
n |
Index of the volatile register rr. Minimum representable number: 1 Maximum representable number: RTE.CFG keyword: num_rr |
Notes |
The contents are lost at power off. At next switch on it is placed = 0 |
Registers rr are written to and read from all TASKs and RULEs.
Example
; in rr(1) will be stored the value 3.3567722 rr(1) = 3.3567722 ; in rr(2) will be stored the value ; of the arcotangent of the value contained in rr(1000) rr(2) = atan(rr(1000)) |