Validity: Rule (read in the whole Rule, write limitedly in the block "ref ... end_ref"), Task (read only).
This variable contains the value to be output as a pair reference on the device specified in the RTE.cfg file.
RTE does not automatically compute this variable. The user will have to calculate this variable in the REF field of the rules (see example).
Syntax |
I32 tref (I32 n) |
---|---|
n |
Axis index. Minimum representable number: 1 Maximum representable number: 32 |
Example
; the register r(201) will contain the value ; of the torque reference of axis 1 r(201) = tref(1) |