Validity: Rule, Task
This keyword gives access to the real speed detected by the transducer (defined in rte.cfg TRD).
Syntax |
REAL cv (I32 n) |
---|---|
n |
Index of the axis whose real speed is to be read. Minimum representable number: 1 Maximum number that can be represented: 32 |
Attributes |
Read only. It is calculated by RTE |
Example
; if the current speed of axis 3 is greater than 2000 ; then the boolean variable lampYellow becomes TRUE if (cv (3) > 2000) lampYellow = TRUE ; In the register rr(123) is stored the value ; of the current velocity of axis 5 rr (123) = cv (5) |