Validity: Rule, Task
This variable identifies the torque reference saturation alarm enable mask(code 13) for individual axes.
Syntax |
I32 tr_ovf_m |
---|---|
Attributes |
Bit-accessible |
If enabled, RTE run-time checks that the torque reference is in the working field of the device configured in the RTE.CFG file.
At switch on, no overflow alarm is enabled (tr_ovf_m = 0).
To enable the tr_ovf_m alarm of the first axis, the first bit of the tr_ovf_m register will need to be written (tr_ovf_m.0 = 1), and so on.
Example
; we enable the alarm for the first axis tr_ovf_m.0 = 1 ; we add axes 13 to 18 tr_ovf_m = tr_ovf_m r_or 0x3F000 ; if bit 16 of the variable tr_ovf_m is equal to 1 ; in sr(1) will be stored the string ; "axis 17 torque reference overflow alarm enabled" _if(tr_ovf_m.16) sr(1) = "axis 17 torque reference overflow alarm enabled" |