Validity: Rule, Task
This keyword gives access to the real acceleration detected by the transducer (defined in rte.cfg TRD).
Syntax |
REAL ca (I32 n) |
---|---|
n |
Index of the axis whose real acceleration 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 acceleration of axis 1 ; is greater than half the maximum acceleration ; in the string register sr(1) is stored: ; "The axis is subjected to half the MAX acceleration" if(ca(1)>(max_acc(1)/2)) sr(1) = "Axis is subjected to half the MAX acceleration" |